Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(react): 实体页筛选浮层岛 entity-filter

longmeidao1c72b2bdb59d
diff --git a/frontend/src/islands.ts b/frontend/src/islands.ts
index 6b78890c5..e205869dd 100644
--- a/frontend/src/islands.ts
+++ b/frontend/src/islands.ts
@@ -37,6 +37,7 @@ export interface IslandContracts {
'cover-crop': ReactBundle.CoverCropProps;
'data-cleanup': ReactBundle.DataCleanupProps;
duplicates: ReactBundle.DuplicatesProps;
+ 'entity-filter': ReactBundle.EntityFilterProps;
'entity-hero': ReactBundle.EntityHeroProps;
'follow-manage': ReactBundle.FollowManageProps;
index: ReactBundle.IndexProps;
@@ -67,6 +68,7 @@ const REGISTRY: { [N in IslandName]: Island } = {
'cover-crop': { react: 'cover-crop' },
'data-cleanup': { react: 'data-cleanup' },
duplicates: { react: 'duplicates' },
+ 'entity-filter': { react: 'entity-filter' },
'entity-hero': { react: 'entity-hero' },
'follow-manage': { react: 'follow-manage' },
index: { react: 'index' },
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index 59812a42a..b6c0aa392 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -8,11 +8,13 @@ import type { IndexProps } from './index/index-data';
import type { CatalogGridProps } from './catalog-grid/types';
import type { JunkQueueProps } from './junk-queue/junk-queue';
import type { EntityHeroProps } from './entity-hero/entity-hero';
+import type { EntityFilterProps } from './entity-filter/entity-filter';
export type { IndexProps };
export type { CatalogGridProps };
export type { JunkQueueProps };
export type { EntityHeroProps };
+export type { EntityFilterProps };
export interface AccessState { mode: 'open' | 'password' | 'legacy' | 'locked'; revision: string }
@@ -377,6 +379,7 @@ export interface ReactPages {
'cover-crop': ReactPage<CoverCropProps>;
'data-cleanup': ReactPage<DataCleanupProps>;
duplicates: ReactPage<DuplicatesProps>;
+ 'entity-filter': ReactPage<EntityFilterProps>;
'entity-hero': ReactPage<EntityHeroProps>;
'follow-manage': ReactPage<FollowManageProps>;
index: ReactPage<IndexProps>;
diff --git a/frontend/src/react/components/filter-glass.tsx b/frontend/src/react/components/filter-glass.tsx
index db8705be1..963c2959e 100644
--- a/frontend/src/react/components/filter-glass.tsx
+++ b/frontend/src/react/components/filter-glass.tsx
@@ -5,7 +5,8 @@
* 也在那一条上。吸到顶栏下沿那一刻由 `use-stuck.ts` 标 `data-stuck`,影换成抬起来那一档。
* 胶囊键 30px 高、透明底、一圈 `--glass-low`,
* 悬停换成 `--glass-rim` 边加 `--glass-pick-fill` 底——玻璃上的键不是 BoardUI 那种实心按钮。 */
-import { useRef, type ReactNode } from 'react';
+import { useRef, type ReactNode, type Ref } from 'react';
+import { cx } from '@/utils/cx';
import { useStuck } from './use-stuck';
@@ -21,22 +22,43 @@ export function FilterGlass({ title, children }: { title: string; children: Reac
);
}
-/** 两排的那一副:首页与标签页的筛选浮层。上排是一行横滚的筛选药丸,下排是读数和这一屏的
- * 视图控件。几何同旧 `.board-filter-frame`:上排 48px 高、8px/12px 内边距,下排最矮 46px、
- * 格间 12px。整块吸在顶栏下沿,粘住时仍是同一块玻璃。 */
+/** 两排的那一副:首页、标签页与实体页的筛选浮层。上排是一行横滚的筛选药丸,下排是读数和
+ * 这一屏的视图控件。几何同壳的 `.board-filter-frame`:上排 48px 高、8px/12px 内边距,下排最矮
+ * 46px、格间 12px。整块吸在顶栏下沿,粘住时仍是同一块玻璃。
+ *
+ * 实体页那一副的几何差一点(上排格间 6px、下排最矮 48px),上排也不是整排一起滚——左端的
+ * 媒体键钉住,只有里面那一格滚。这些由调用方在 `className`/`topClassName`/`bottomClassName`
+ * 里改写,`cx` 合并时后写的赢。`panes` 是直接挂在浮层根上的那几块滑动玻璃
+ * (`use-view-glide.ts`),`attrs` 给根补壳要认的标记(窄屏让位认 `data-filter-frame`)。
+ * `busy` 标在下排上:读数在等这一趟取数,下排里认它的动效(换批键描线)跟着走。 */
export function FilterGlassRows(
- { label, topLabel, top, bottom }: { label: string; topLabel: string; top: ReactNode; bottom: ReactNode },
+ { label, topLabel, top, bottom, className, topClassName, bottomClassName, panes, attrs, busy, bottomRef }: {
+ label: string;
+ topLabel: string;
+ top: ReactNode;
+ bottom: ReactNode;
+ className?: string;
+ topClassName?: string;
+ bottomClassName?: string;
+ panes?: ReactNode;
+ attrs?: Record<`data-${string}`, string>;
+ busy?: boolean;
+ bottomRef?: Ref<HTMLDivElement>;
+ },
) {
const glass = useRef<HTMLDivElement>(null);
useStuck(glass);
return (
- <div ref={glass} role="group" aria-label={label} data-filter-glass data-glass-pane=""
- className="sticky top-topbar z-10 mb-5.5 flex flex-col">
+ <div ref={glass} role="group" aria-label={label} data-filter-glass data-glass-pane="" {...attrs}
+ className={cx('sticky top-topbar z-10 mb-5.5 flex flex-col', className)}>
+ {panes}
<div role="group" aria-label={topLabel} data-filter-row="top"
- className="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2">
+ className={cx('flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2',
+ topClassName)}>
{top}
</div>
- <div data-filter-row="bottom" className="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2">
+ <div ref={bottomRef} data-filter-row="bottom" aria-busy={busy || undefined}
+ className={cx('flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2', bottomClassName)}>
{bottom}
</div>
</div>
@@ -50,11 +72,11 @@ const FILTER_PILL = 'flex h-7.5 flex-none cursor-pointer items-center gap-1.75 r
+ ' outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring';
export function FilterPill(
- { children, pressed, onPress, ...data }:
- { children: ReactNode; pressed: boolean; onPress(): void } & Record<`data-${string}`, string>,
+ { children, pressed, onPress, className, ...data }:
+ { children: ReactNode; pressed: boolean; onPress(): void; className?: string } & Record<`data-${string}`, string>,
) {
return (
- <button type="button" {...data} aria-pressed={pressed} className={FILTER_PILL}
+ <button type="button" {...data} aria-pressed={pressed} className={cx(FILTER_PILL, className)}
onClick={onPress}>
{children}
</button>
diff --git a/frontend/src/react/components/use-view-glide.ts b/frontend/src/react/components/use-view-glide.ts
new file mode 100644
index 000000000..566c5e214
--- /dev/null
+++ b/frontend/src/react/components/use-view-glide.ts
@@ -0,0 +1,98 @@
+/* 一排「你在哪儿」的键下面那块滑动玻璃(React 这一侧;首页与关注页那几排归壳的 `GLIDE_ROWS`)。
+ *
+ * 玻璃是一个常驻节点:由组件画在浮层根上、只建一次,换筛选、换视图都只挪它,不重建——换了
+ * 元素,动画就从头起跑,看到的只是瞬移。位移与抻长交给遗留层的 `moveGlidePane`,全站只有这一种
+ * 动法;这里只管「此刻落在哪一枚上」:
+ *
+ * - 按下去立刻滑到那一枚(壳当场推新的按下态,这里跟着 `pressed` 变);
+ * - 悬停时滑到指针下那一枚,离开这一排回到按下的那一枚(触摸不跟);
+ * - 这一排横滚或窗口改尺寸时只重量、不动画;
+ * - 这一排量不出宽度(被 `hidden` 收起、祖先 `display:none`)或目标滚出了可视区,玻璃收起。
+ *
+ * 坐标以浮层根(玻璃的父元素)为原点,扣掉中间每一层的滚动量,同壳的 `viewGlideGeometry`:
+ * 玻璃住在滚动层外面,纵向回弹不会被横滚容器切平。 */
+import { useCallback, useEffect, useLayoutEffect, useRef, type PointerEvent, type RefObject } from 'react';
+import { moveGlidePane } from '@peach/legacy/ui';
+
+interface Box { x: number; y: number; w: number; h: number }
+
+function geometry(pill: HTMLElement, host: HTMLElement): Box | null {
+ if (!host.contains(pill)) return null;
+ let x = 0;
+ let y = 0;
+ for (let node: HTMLElement | null = pill; node && node !== host; node = node.offsetParent as HTMLElement | null) {
+ x += node.offsetLeft;
+ y += node.offsetTop;
+ }
+ const rect = pill.getBoundingClientRect();
+ for (let node = pill.parentElement; node && node !== host; node = node.parentElement) {
+ x -= node.scrollLeft;
+ y -= node.scrollTop;
+ if (node.scrollWidth > node.clientWidth && getComputedStyle(node).overflowX !== 'visible') {
+ const viewport = node.getBoundingClientRect();
+ if (rect.right <= viewport.left || rect.left >= viewport.right) return null;
+ }
+ }
+ return { x, y, w: pill.offsetWidth, h: pill.offsetHeight };
+}
+
+/** `pane` 是玻璃节点,`row` 是这一排;`pressed` 是这一排里按下那一枚的选择器。`key` 变了
+ * (按下态换了、这一排出现或收起)就带动画落到新的按下项上。返回的两个处理器接在键与排上。 */
+export function useViewGlide(
+ pane: RefObject<HTMLElement | null>, row: RefObject<HTMLElement | null>, pressed: string, key: unknown,
+) {
+ const last = useRef<Box | null>(null);
+ const place = useCallback((target: HTMLElement | null, animate: boolean) => {
+ const glass = pane.current;
+ const line = row.current;
+ /* 玻璃是浮层根的直接子元素,根是吸顶定位的,所以根就是它的定位基准。不读 `offsetParent`:
+ 收起着的玻璃那一项是 null。 */
+ const host = glass?.parentElement;
+ if (!glass) return;
+ const active = line && line.offsetWidth ? target ?? line.querySelector<HTMLElement>(pressed) : null;
+ const box = active && host ? geometry(active, host) : null;
+ if (!box || !box.w) {
+ glass.hidden = true;
+ return;
+ }
+ /* 从收起到出现是第一次落位,不从上一次的旧坐标飞进来。 */
+ const from = glass.hidden ? null : last.current;
+ glass.hidden = false;
+ last.current = box;
+ moveGlidePane(glass, animate ? from : null, box, 'x');
+ }, [pane, row, pressed]);
+
+ /* 首次落位不动画;往后按下态一变就滑过去。放在布局阶段:画出来的第一帧玻璃就在位上。 */
+ const placed = useRef(false);
+ useLayoutEffect(() => {
+ const glass = pane.current;
+ if (glass && !placed.current) glass.hidden = true;
+ place(null, placed.current);
+ placed.current = true;
+ }, [place, key]);
+
+ /* 横滚、改尺寸只重量。滚动事件不冒泡,所以在浮层根上按捕获阶段接住这一排里任何一层的滚动。 */
+ useEffect(() => {
+ const host = pane.current?.parentElement;
+ let frame = 0;
+ const remeasure = () => {
+ if (frame) return;
+ frame = requestAnimationFrame(() => { frame = 0; place(null, false) });
+ };
+ host?.addEventListener('scroll', remeasure, { capture: true, passive: true });
+ addEventListener('resize', remeasure, { passive: true });
+ return () => {
+ cancelAnimationFrame(frame);
+ host?.removeEventListener('scroll', remeasure, { capture: true });
+ removeEventListener('resize', remeasure);
+ };
+ }, [pane, place]);
+
+ const hover = useCallback((event: PointerEvent<HTMLElement>) => {
+ if (event.pointerType !== 'touch') place(event.currentTarget, true);
+ }, [place]);
+ const leave = useCallback((event: PointerEvent<HTMLElement>) => {
+ if (event.pointerType !== 'touch') place(null, true);
+ }, [place]);
+ return { hover, leave };
+}
diff --git a/frontend/src/react/entity-filter/entity-filter-page.tsx b/frontend/src/react/entity-filter/entity-filter-page.tsx
new file mode 100644
index 000000000..c4dbb4f02
--- /dev/null
+++ b/frontend/src/react/entity-filter/entity-filter-page.tsx
@@ -0,0 +1,239 @@
+/* 实体资料页资料卡下面那一整块:交集条,加一块两排的玻璃浮层(上排视图键、观看状态与标签,
+ * 下排读数与这一屏的排序、版式和换一批)。三种视图(名册、作品、照片)共用这一块,下排按视图换内容。
+ *
+ * 状态全在壳里:这一页的筛选、当前视图、排序与读数都当 props 递进来,点下去的动作回壳,壳在发
+ * 请求之前先推一份新的按下态,所以 `aria-pressed` 与滑动玻璃当场就到位,不等这一趟取数。
+ *
+ * 两排「你在哪儿」各有一块滑动玻璃(视图键那块是圆的),由 `use-view-glide.ts` 挪;它们是浮层根上
+ * 的常驻节点,换筛选、换视图都只挪不重建。源文件那两枚键仍由遗留层拼(照片详情里复用的是同一对),
+ * 那一格用 `dangerouslySetInnerHTML`,React 不拥有里面的节点。 */
+import { useEffect, useRef, useState, type RefObject } from 'react';
+import { Radio, RadioGroup } from 'react-aria-components';
+import { icon } from '@peach/legacy/core';
+import { spinnerHtml } from '@peach/legacy/ui';
+
+import { FilterGlassRows, FilterPill } from '../components/filter-glass';
+import { SEGMENTED_GLASS_TRACK, SEGMENT_GLASS } from '../components/segmented';
+import { spriteGlyph } from '../components/sprite-glyph';
+import { useViewGlide } from '../components/use-view-glide';
+import {
+ videoOnly, type EntityComboItem, type EntityFilterActions, type EntityFilterHelpers, type EntityFilterProps,
+ type EntityPhotoHead, type EntityVideoHead, type EntityView, type EntityViewKeys, type SegmentOption,
+} from './entity-filter';
+
+const Sep = () => <span data-entity-sep="" aria-hidden="true" />;
+
+export function EntityFilterPage(props: EntityFilterProps) {
+ const { view, views, state, states, tags, combo, actions, helpers } = props;
+ const onVideos = videoOnly(view);
+ const statePane = useRef<HTMLSpanElement>(null);
+ const mediaPane = useRef<HTMLSpanElement>(null);
+ const stateRow = useRef<HTMLDivElement>(null);
+ const mediaRow = useRef<HTMLDivElement>(null);
+ const scroll = useRef<HTMLDivElement>(null);
+ const tagRow = useRef<HTMLDivElement>(null);
+ const bottomRow = useRef<HTMLDivElement>(null);
+ const stateGlide = useViewGlide(statePane, stateRow, '[data-entity-state][aria-pressed="true"]', `${view}:${state}`);
+ const mediaGlide = useViewGlide(mediaPane, mediaRow, '[data-media-view][aria-pressed="true"]', `${view}:${!!views}`);
+
+ /* 标签那一格是 `overflow-x:auto` 加隐藏滚动条:能滚,但鼠标没有一个够得着的入口,所以登记全站
+ 横向行那套拖动加滚轮映射。窄屏下滚的是外面那层(观看状态跟着一起走),两层都登记:登记在
+ 不滚的那一层上是空转,少登记一层就会在某一个宽度上滚不动。下排窄屏下整条横滚,同一套。 */
+ useEffect(() => {
+ helpers.wireDrag(tagRow.current);
+ helpers.wireScroller(scroll.current);
+ helpers.wireDrag(bottomRow.current);
+ }, [helpers]);
+
+ return (
+ <>
+ <Combo items={combo} hidden={!onVideos} actions={actions} />
+ <FilterGlassRows label="筛选与排序" topLabel="媒体与标签"
+ attrs={{ 'data-filter-frame': '', 'data-entity-filter-glass': '' }}
+ topClassName="gap-1.5 overflow-visible"
+ bottomClassName="min-h-12" bottomRef={bottomRow} busy={props.busy}
+ panes={<>
+ <span ref={statePane} data-view-glide="" aria-hidden="true" />
+ <span ref={mediaPane} data-view-glide="round" aria-hidden="true" />
+ </>}
+ top={<>
+ {views ? (
+ <>
+ <ViewKeys keys={views} view={view} row={mediaRow} glide={mediaGlide} onView={actions.setView} />
+ {onVideos ? <Sep /> : null}
+ </>
+ ) : null}
+ <div ref={scroll} data-entity-scroll="">
+ <div ref={stateRow} role="group" aria-label="观看状态" data-entity-states="" hidden={!onVideos}
+ onPointerLeave={stateGlide.leave}>
+ {states.map((option) => (
+ <button key={option.k} type="button" data-entity-state={option.k} data-entity-press=""
+ aria-pressed={state === option.k} onPointerEnter={stateGlide.hover}
+ onClick={() => { if (state !== option.k) actions.setState(option.k) }}>
+ {option.label}
+ </button>
+ ))}
+ <Sep />
+ </div>
+ {/* 标签只在作品视图出:计数数的是作品,摆到名册或照片上对不上号,点一下还会把视图拨回作品。 */}
+ <div ref={tagRow} data-entity-tags="">
+ {onVideos ? tags.map((tag) => (
+ <FilterPill key={tag.k} data-entity-tag={tag.k} data-entity-press="" pressed={tag.selected}
+ onPress={() => actions.toggleTag(tag.k)}>
+ {tag.label}<span data-count-badge={tag.k}>{tag.n.toLocaleString()}</span>
+ </FilterPill>
+ )) : null}
+ </div>
+ </div>
+ </>}
+ bottom={<Head {...props} />}
+ />
+ </>
+ );
+}
+
+/** 名册、视频、照片三个互斥视图共用一组圆键:它们回答的是同一个问题。键名带上数目,悬停读得到。 */
+function ViewKeys({ keys, view, row, glide, onView }: {
+ keys: EntityViewKeys;
+ view: EntityView;
+ row: RefObject<HTMLDivElement | null>;
+ glide: ReturnType<typeof useViewGlide>;
+ onView(view: EntityView): void;
+}) {
+ const buttons: { value: EntityView; text: string; count: number; symbol: string; kind: string }[] = [];
+ if (keys.people) buttons.push({ value: 'people', text: keys.people.label, count: keys.people.count, symbol: keys.people.icon, kind: 'people' });
+ buttons.push({ value: 'videos', text: '视频', count: keys.videos.count, symbol: 'play', kind: 'video' });
+ if (keys.photos) buttons.push({ value: 'photos', text: '照片', count: keys.photos.count, symbol: 'pics', kind: 'image' });
+ return (
+ <div ref={row} role="group" aria-label={keys.label} data-entity-media="" onPointerLeave={glide.leave}>
+ {buttons.map(({ value, text, count, symbol, kind }) => {
+ const title = `${text} ${Math.max(0, count || 0).toLocaleString()}`;
+ return (
+ <button key={value} type="button" data-media-view={value} data-media-icon={kind}
+ aria-pressed={view === value} aria-label={title} title={title} onPointerEnter={glide.hover}
+ onClick={() => onView(value)} dangerouslySetInnerHTML={{ __html: icon(symbol) }} />
+ );
+ })}
+ </div>
+ );
+}
+
+/** 生效的作品筛选。跟浮层分开摆在它上面:它说的是「现在加了哪些」,一颗一颗撤得掉。 */
+function Combo({ items, hidden, actions }: { items: EntityComboItem[]; hidden: boolean; actions: EntityFilterActions }) {
+ return (
+ <div data-entity-combo="" hidden={hidden}>
+ {items.length ? (
+ <>
+ {items.map((item) => (
+ <span key={`${item.kind}:${item.key}`} data-combo-chip="">
+ {item.label}
+ <button type="button" aria-label={`撤掉 ${item.label}`}
+ onClick={() => (item.kind === 'untag' ? actions.toggleTag(item.key) : actions.clearFilter(item.key))}>
+ ✕
+ </button>
+ </span>
+ ))}
+ <button type="button" data-combo-clear="" onClick={actions.clearAll}>全部清除</button>
+ </>
+ ) : null}
+ </div>
+ );
+}
+
+/** 下排:读数,加这一种视图自己的那几枚控件。名册只有读数。 */
+function Head(props: EntityFilterProps) {
+ const { view, readout, busy, video, photo, actions, helpers } = props;
+ return (
+ <>
+ {view === 'photos' && photo?.back ? (
+ <button type="button" data-photo-back="" onClick={actions.photoBack}>
+ <span className="contents" dangerouslySetInnerHTML={{ __html: icon('chevron-left') }} /><span>全部照片</span>
+ </button>
+ ) : null}
+ <Readout text={readout} busy={busy} />
+ {view === 'videos' && video ? <VideoControls head={video} actions={actions} /> : null}
+ {view === 'photos' && photo ? <PhotoControls head={photo} actions={actions} helpers={helpers} /> : null}
+ </>
+ );
+}
+
+/** 读数:`视频 · N`、`艺人 · N`、`照片 · N 张`。等这一趟取数时换成一条微光,宽度同骨架那一条。 */
+function Readout({ text, busy }: { text: string; busy: boolean }) {
+ return (
+ <h3 data-entity-readout="">
+ {busy
+ ? <span data-skeleton="count" aria-hidden className="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen" />
+ : text}
+ </h3>
+ );
+}
+
+/** 玻璃上的分段开关:卡片版式、图片布局。选中那一格是浮层选中态那块料。 */
+function Segments({ label, value, options, onChange }: {
+ label: string; value: string; options: readonly SegmentOption[]; onChange(value: string): void;
+}) {
+ return (
+ <RadioGroup aria-label={label} orientation="horizontal" value={value} onChange={onChange}
+ data-entity-layout="" className={SEGMENTED_GLASS_TRACK}>
+ {options.map(([option, text, symbol]) => {
+ const Glyph = spriteGlyph(symbol);
+ return (
+ <Radio key={option} value={option} aria-label={text} data-glass-segment="" className={SEGMENT_GLASS}>
+ <span title={text} className="contents"><Glyph className="size-4" /></span>
+ </Radio>
+ );
+ })}
+ </RadioGroup>
+ );
+}
+
+function Shuffle({ onPress, busy = false }: { onPress(): void; busy?: boolean }) {
+ return (
+ <button type="button" data-entity-batch="" title="换一批" aria-label="换一批" aria-busy={busy || undefined}
+ aria-disabled={busy || undefined} onClick={() => { if (!busy) onPress() }}
+ dangerouslySetInnerHTML={{ __html: busy ? spinnerHtml('正在换一批') : icon('shuffle') }} />
+ );
+}
+
+/** 作品视图:换一批、JAV 语境下的卡片版式,排序键一律排在最末,挨着它说明的那批内容。 */
+function VideoControls({ head, actions }: { head: EntityVideoHead; actions: EntityFilterActions }) {
+ return (
+ <span data-entity-sorts="">
+ <Shuffle onPress={() => void actions.reshuffle()} />
+ {head.jav ? (
+ <Segments label="JAV 卡片版式" value={head.jav.layout} options={head.jav.options} onChange={actions.setJavLayout} />
+ ) : null}
+ {head.sorts.map((sort) => {
+ const Arrow = spriteGlyph(sort.dir === 'asc' ? 'arrow-up' : 'arrow-down');
+ return (
+ <button key={sort.key} type="button" data-entity-sort={sort.key} data-entity-press=""
+ aria-pressed={sort.pressed} aria-label={sort.ariaLabel || undefined} onClick={() => actions.setSort(sort.key)}>
+ {sort.label}{sort.pressed && sort.dir ? <Arrow className="size-3.5" /> : null}
+ </button>
+ );
+ })}
+ </span>
+ );
+}
+
+/** 照片视图:这一排不给排序键(账本里图片只有文件名、体积和来源),只放换一批、图片布局,
+ * 在一个图集里再加那两枚源文件键。换一批的键自己转圈,等到新的一面墙回来。 */
+function PhotoControls({ head, actions, helpers }: {
+ head: EntityPhotoHead; actions: EntityFilterActions; helpers: EntityFilterHelpers;
+}) {
+ const [shuffling, setShuffling] = useState(false);
+ const tools = useRef<HTMLSpanElement>(null);
+ const toolsHtml = head.back ? helpers.sourceToolsHtml(head.setId) : '';
+ useEffect(() => { if (tools.current && toolsHtml) helpers.wireSourceTools(tools.current) }, [helpers, toolsHtml]);
+ const shuffle = () => {
+ setShuffling(true);
+ actions.reshuffle().finally(() => setShuffling(false));
+ };
+ return (
+ <span data-entity-sorts="">
+ {head.shuffle ? <Shuffle onPress={shuffle} busy={shuffling} /> : null}
+ <Segments label="图片布局" value={head.layout} options={head.layouts} onChange={actions.setPhotoLayout} />
+ {toolsHtml ? <span ref={tools} data-entity-srctools="" dangerouslySetInnerHTML={{ __html: toolsHtml }} /> : null}
+ </span>
+ );
+}
diff --git a/frontend/src/react/entity-filter/entity-filter.css b/frontend/src/react/entity-filter/entity-filter.css
new file mode 100644
index 000000000..408ede490
--- /dev/null
+++ b/frontend/src/react/entity-filter/entity-filter.css
@@ -0,0 +1,397 @@
+/* 实体资料页的交集条与筛选浮层(`entity-filter-page.tsx`)。
+ *
+ * 取值与首页那块浮层同一套:`web/board.css` 里 `.board-filter-frame` 的几排覆盖层,
+ * `web/css/03-filterbar.css` 的 `.pill`、`.sep`、`.combo`,`web/css/12-cards.css` 的 `.sorts`。
+ * 浮层的料与吸顶在 `../styles.css` 的 `[data-filter-glass]`,滑动玻璃的形状与材质在 `web/board.css`
+ * 的 `[data-view-glide]`。骨架(`entitySkeletonHtml`)用遗留类名 `.entitytagbar`、`.entitycollectionhead`
+ * 画,几何在 `web/board.css` 与 `web/css/07-entity.css`;这里的行高、内边距都要和它对得上,骨架换成
+ * 真浮层时高度才不跳。
+ *
+ * 选择器全用 `data-*`:遗留样式表不分层、排在后面,写遗留类名会被接管。颜色读遗留层的 `--glass-text`、
+ * `--glass-low`、`--ink-2` 这组:它们在 `:root` 上算好再继承进来,和页面其余部分同一档。 */
+
+/* ── 宿主 ──
+ * 宿主(`[data-entity-filter]`)和 React 根那一层都不生成盒子:浮层要吸顶,吸住的范围是它父元素
+ * 的盒子,父元素只裹着它自己的话一格都走不动。两层让开之后它的父元素就是 `#index`,和骨架里
+ * 那块 `.board-filter-frame` 同一个。这两条写在 `web/css/07-entity.css`。 */
+
+.peach-react [data-entity-filter-glass] {
+ z-index: 60;
+ font: var(--board-body);
+ letter-spacing: normal;
+}
+
+/* 全站焦点环(`01-base.css`)把 React 子树排除在外,这里自己画同一副。 */
+.peach-react :is([data-entity-filter-glass], [data-entity-combo]) :is(button, [role="radio"]):focus-visible {
+ outline: 2px solid var(--tungsten);
+ outline-offset: 2px;
+}
+
+/* 按住立刻缩到 96%,松开交给弹簧,同 `board.css` 里 `.pill`、`.sorts button` 那一条。 */
+.peach-react [data-entity-press] {
+ transition: scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);
+}
+.peach-react [data-entity-press]:active {
+ scale: .96;
+ transition: scale .06s ease-out;
+}
+
+/* ── 上排 ──
+ * 最左端是这一页的视图键,住在滚动层外、任何宽度下都不滚;观看状态与标签住在里面。宽屏只有标签
+ * 那一格横滚,窄屏(760px 以下)换成里外整段一起滚,只有视图键还钉着。 */
+.peach-react [data-entity-sep] {
+ flex: none;
+ width: 1px;
+ height: 19px;
+ margin: 0 3px;
+ background: var(--field-ring-hover);
+}
+
+.peach-react [data-entity-media] {
+ display: inline-flex;
+ flex: none;
+ align-items: center;
+ gap: 2px;
+}
+
+/* 自己不铺底:选中那一枚的填充由那块圆的滑动玻璃给。字形压在玻璃上面,滑过去时才不被一路盖暗。 */
+.peach-react [data-media-view] {
+ position: relative;
+ z-index: 1;
+ display: grid;
+ flex: 0 0 30px;
+ place-items: center;
+ width: 30px;
+ height: 30px;
+ border-radius: 50%;
+ color: color-mix(in srgb, var(--glass-text) 60%, transparent);
+ cursor: pointer;
+}
+.peach-react [data-media-view]:hover,
+.peach-react [data-media-view][aria-pressed="true"] {
+ color: var(--glass-text);
+}
+.peach-react [data-media-view] svg {
+ display: block;
+ width: 20px;
+ height: 20px;
+ fill: none;
+ stroke: currentColor;
+ stroke-width: 2;
+}
+.peach-react [data-media-view][data-media-icon="image"] svg {
+ fill: currentColor;
+ stroke: none;
+}
+
+.peach-react [data-entity-scroll] {
+ position: relative;
+ display: flex;
+ flex: 1;
+ align-items: center;
+ gap: 6px;
+ min-width: 0;
+}
+
+.peach-react [data-entity-states] {
+ display: flex;
+ flex: none;
+ align-items: center;
+ gap: 6px;
+}
+
+/* 四枚观看状态同样不铺底,选中那一枚下面垫的是方的那块滑动玻璃。 */
+.peach-react [data-entity-state] {
+ position: relative;
+ z-index: 1;
+ display: inline-flex;
+ flex: none;
+ align-items: center;
+ justify-content: center;
+ height: 30px;
+ padding: 0 10px;
+ border-radius: 999px;
+ color: color-mix(in srgb, var(--glass-text) 60%, transparent);
+ font-size: 13px;
+ line-height: 20px;
+ white-space: nowrap;
+ cursor: pointer;
+}
+.peach-react [data-entity-state]:hover,
+.peach-react [data-entity-state][aria-pressed="true"] {
+ color: var(--glass-text);
+}
+
+.peach-react [data-entity-tags] {
+ display: flex;
+ flex: 1;
+ flex-wrap: nowrap;
+ align-items: center;
+ gap: 6px;
+ min-width: 0;
+ overflow-x: auto;
+ overflow-y: hidden;
+ overscroll-behavior-inline: contain;
+ scrollbar-width: none;
+}
+.peach-react [data-entity-tags]::-webkit-scrollbar { display: none; }
+
+/* 标签 30px 高、13px 字,没加上去时一圈 `--glass-low` 实线,悬停线换 `--field-ring`、字提到
+ * `--ink`;加上去之后是浮层上「这一项已生效」那块料。计数是附注,11px 等宽、降一档字色。 */
+.peach-react [data-entity-tag] {
+ gap: 0;
+ border-style: solid;
+ color: var(--glass-text);
+}
+.peach-react [data-entity-tag][aria-pressed="false"]:hover {
+ border-color: var(--field-ring);
+ color: var(--ink);
+}
+.peach-react [data-entity-tag][aria-pressed="true"] {
+ border-color: transparent;
+ background: linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);
+ backdrop-filter: var(--glass-pick);
+ box-shadow: inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);
+}
+.peach-react [data-entity-tag] [data-count-badge] {
+ margin-left: 6px;
+ color: color-mix(in srgb, var(--glass-text) 55%, transparent);
+ font-family: "Cascadia Mono", Consolas, ui-monospace, "Microsoft YaHei UI", "PingFang SC", monospace;
+ font-size: 11px;
+}
+.peach-react [data-entity-tag]:is(:hover, [aria-pressed="true"]) [data-count-badge] {
+ color: color-mix(in srgb, var(--glass-text) 80%, transparent);
+}
+
+@media (max-width: 760px) {
+ .peach-react [data-entity-scroll] {
+ overflow-x: auto;
+ overflow-y: hidden;
+ overscroll-behavior-inline: contain;
+ scrollbar-width: none;
+ }
+ .peach-react [data-entity-scroll]::-webkit-scrollbar { display: none; }
+ .peach-react [data-entity-scroll] > [data-entity-tags] {
+ flex: 0 0 auto;
+ min-width: auto;
+ overflow: visible;
+ }
+}
+
+/* ── 下排:内容区头 ──
+ * 读数照首页那条 `10,471 个符合` 写:12px、常规字重、比标签低一档。排序键 30px 高、12px 字、
+ * 7px 圆角;生效那枚回到满字色加半档字重,其余退到六成。换一批是动作不是参数,走蓝色强调档。 */
+.peach-react [data-entity-readout] {
+ flex: 0 0 auto;
+ margin: 0;
+ color: var(--ink-2);
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 20px;
+ letter-spacing: normal;
+ white-space: nowrap;
+}
+
+.peach-react [data-entity-sorts] {
+ display: flex;
+ flex-wrap: nowrap;
+ align-items: center;
+ gap: 4px;
+ min-width: 0;
+ margin-left: auto;
+ /* 横滚容器会把里面东西的落影从上下两边裁掉:分段器滑块最远那层影落在 14px 外。上下各留出
+ 这 14px 再用负外边距收回,排在行里还是 30px 高。 */
+ margin-block: -14px;
+ padding: 14px 2px;
+ overflow-x: auto;
+ scrollbar-width: none;
+}
+.peach-react [data-entity-sorts]::-webkit-scrollbar { display: none; }
+
+.peach-react [data-entity-sort] {
+ display: inline-flex;
+ flex: 0 0 auto;
+ align-items: center;
+ height: 30px;
+ min-height: 30px;
+ padding: 0 8px;
+ border-radius: 7px;
+ color: color-mix(in srgb, var(--glass-text) 62%, transparent);
+ font-size: 12px;
+ line-height: 20px;
+ white-space: nowrap;
+ cursor: pointer;
+}
+.peach-react [data-entity-sort]:hover { color: var(--glass-text); }
+.peach-react [data-entity-sort][aria-pressed="true"] {
+ color: var(--glass-text);
+ font-weight: 500;
+}
+.peach-react [data-entity-sort] svg {
+ flex: none;
+ width: 14px;
+ height: 14px;
+ margin-left: 5px;
+}
+
+.peach-react [data-entity-batch] {
+ display: inline-grid;
+ flex: 0 0 auto;
+ place-items: center;
+ width: 36px;
+ height: 30px;
+ min-height: 30px;
+ border-radius: 7px;
+ background: var(--board-blue);
+ box-shadow: var(--elevation-xs);
+ color: #fff;
+ font-size: 12px;
+ font-weight: 600;
+ cursor: pointer;
+}
+.peach-react [data-entity-batch]:hover {
+ background: var(--board-blue-hover);
+ color: #fff;
+}
+.peach-react [data-entity-batch] svg {
+ width: 16px;
+ height: 16px;
+ fill: none;
+ stroke: currentColor;
+ stroke-width: 2;
+}
+.peach-react [data-entity-batch][aria-busy="true"] { cursor: wait; }
+/* 等新的一批时换批键自己画那两条交叉箭头,动效写在 `#i-shuffle` 的两条线上(`12-cards.css`),
+ 忙态只负责把两个自定义属性传下去。 */
+.peach-react [data-filter-row="bottom"][aria-busy="true"] [data-entity-batch] svg {
+ --strand-dash: 100;
+ --strand-cycle: 2.2s;
+}
+
+/* 分段器两侧各让 6px,跟换一批和排序键分开:它答的是「这批东西怎么摆」,不是同一排里的又一枚键。 */
+.peach-react [data-entity-layout] { flex: none; gap: 2px; margin: 0 6px; }
+.peach-react [data-entity-layout] svg { width: 16px; height: 16px; }
+.peach-react [data-entity-layout] [data-glass-segment][data-selected] {
+ backdrop-filter: var(--glass-pick);
+}
+
+/* 触屏上这一排的键放到 36px 高,下排跟着长到 52px,同首页浮层那条。 */
+@media (pointer: coarse) {
+ .peach-react :is([data-entity-sort], [data-entity-batch]) { height: 36px; }
+}
+
+/* 图集里的「全部照片」:高度跟同一排的排序键对齐,那圈线和字色跟着玻璃取。 */
+.peach-react [data-photo-back] {
+ display: flex;
+ flex: none;
+ align-items: center;
+ gap: 4px;
+ height: 30px;
+ padding: 0 10px 0 6px;
+ border: 1px solid var(--glass-low);
+ border-radius: var(--control-radius);
+ color: var(--glass-text);
+ font-size: 12px;
+ white-space: nowrap;
+ cursor: pointer;
+}
+.peach-react [data-photo-back]:hover { background: var(--overlay-5); }
+.peach-react [data-photo-back] svg {
+ width: 15px;
+ height: 15px;
+ fill: none;
+ stroke: currentColor;
+ stroke-width: 2;
+}
+
+/* 源文件那两枚键与状态行是遗留层拼的(`sourceTools`),这一排不换行:状态行不能像在详情里那样
+ 独占一整行,否则右边的东西会被挤到看不见。 */
+.peach-react [data-entity-srctools] { display: contents; }
+.peach-react [data-entity-srctools] > * { flex: none; margin: 0; }
+.peach-react [data-entity-srctools] [aria-live] { flex: none; }
+
+/* 浮层下半在手机上仍是一横条:读数在左,控件跟在右边,装不下就整条往右滚。 */
+@media (max-width: 760px) {
+ .peach-react [data-entity-filter-glass] > [data-filter-row="bottom"] {
+ flex-wrap: nowrap;
+ gap: 10px;
+ overflow-x: auto;
+ overflow-y: hidden;
+ overscroll-behavior-inline: contain;
+ scrollbar-width: none;
+ touch-action: pan-x pan-y;
+ }
+ .peach-react [data-entity-filter-glass] > [data-filter-row="bottom"]::-webkit-scrollbar { display: none; }
+ .peach-react [data-entity-sorts] {
+ flex: none;
+ width: max-content;
+ max-width: none;
+ overflow: visible;
+ }
+}
+
+/* 窄屏往下滚时浮层让出顶栏下沿,往回滚再落下来;`--filter-free-top` 与标记由壳的
+ `updateMobileFilterScroll` 写。 */
+@media (max-width: 760px) {
+ .peach-react [data-entity-filter-glass][data-filter-free] { top: var(--filter-free-top); }
+}
+
+/* ── 交集条 ──
+ * 每一颗都是一个已经加上去的筛选,照详情面板里的标签画:8px 圆角、一圈线、`--picked` 的面,
+ * 名字后面一颗撤掉它的键。从无到有时高度自己长出来,不把底下的浮层一下推走四十像素。 */
+.peach-react [data-entity-combo] {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 6px;
+ height: auto;
+ margin: 0 0 10px;
+ overflow: hidden;
+ font: var(--board-body);
+ interpolate-size: allow-keywords;
+ transition: height .22s cubic-bezier(0, 0, .2, 1), margin-bottom .22s cubic-bezier(0, 0, .2, 1);
+}
+.peach-react [data-entity-combo]:empty {
+ height: 0;
+ margin-bottom: 0;
+}
+@media (prefers-reduced-motion: reduce) {
+ .peach-react [data-entity-combo] { transition: none; }
+}
+.peach-react [data-combo-chip] {
+ display: inline-flex;
+ align-items: center;
+ min-height: 30px;
+ padding: 0 0 0 11px;
+ overflow: hidden;
+ border: 1px solid var(--line);
+ border-radius: var(--tag-radius);
+ background: var(--picked);
+ color: var(--ink-2);
+ font-size: var(--fs-md);
+ line-height: 20px;
+}
+.peach-react [data-combo-chip] button {
+ display: grid;
+ place-items: center;
+ width: 28px;
+ height: 28px;
+ margin-left: 5px;
+ color: var(--muted);
+ font-size: var(--fs-xs);
+ font-weight: 400;
+ cursor: pointer;
+}
+.peach-react [data-combo-chip] button:hover {
+ background: color-mix(in srgb, var(--drop) 12%, transparent);
+ color: var(--drop);
+}
+.peach-react [data-combo-clear] {
+ display: inline-flex;
+ align-items: center;
+ min-height: 28px;
+ padding: 0 6px;
+ color: var(--muted);
+ font-size: var(--fs-xs);
+ cursor: pointer;
+}
diff --git a/frontend/src/react/entity-filter/entity-filter.ts b/frontend/src/react/entity-filter/entity-filter.ts
new file mode 100644
index 000000000..055f0c235
--- /dev/null
+++ b/frontend/src/react/entity-filter/entity-filter.ts
@@ -0,0 +1,117 @@
+/* 实体资料页的交集条、玻璃筛选浮层与内容区头(ADR-0031 第 10d 步):数据形状。
+ *
+ * 壳(`web/app.js` 的 `openEntity` 一族)拥有这一页的筛选、路由和取数:按下态、标签的按下与
+ * 计数、读数、排序项都由壳算好当 props 递进来,岛只画。筛选一变壳就用 `updateIsland` 推一份
+ * 新的,不重挂;按下去的反馈(`aria-pressed` 与玻璃滑动)靠的是壳在发请求之前先推一次。
+ * 动作全部回壳,岛不自己拼请求。 */
+
+/** 这一页此刻摆的是哪一类东西。 */
+export type EntityView = 'people' | 'videos' | 'photos';
+
+/** 左端那一组视图键。只有一类东西时壳不给(`null`):一枚孤零零的键没有可切的对象。 */
+export interface EntityViewKeys {
+ /** 这一组的无障碍名:有名册时是「页面视图」,否则是「媒体类型」。 */
+ label: string;
+ /** 名册键:事务所页是艺人,片商页是旗下厂牌。 */
+ people: { label: string; count: number; icon: string } | null;
+ videos: { count: number };
+ photos: { count: number } | null;
+}
+
+/** 一枚标签胶囊。`label` 已按壳的 `tagLabel` 译好,`n` 是这一页里带这个标签的视频数。 */
+export interface EntityFilterTag {
+ k: string;
+ label: string;
+ n: number;
+ selected: boolean;
+}
+
+/** 交集条上的一颗:`clear` 撤掉创作者/厂牌/归属那一条,`untag` 撤掉一个标签。 */
+export interface EntityComboItem {
+ kind: 'clear' | 'untag';
+ key: string;
+ label: string;
+}
+
+/** 一枚排序键。`ariaLabel` 播报的是点下去会得到什么(同首页那一排),`dir` 只在选中那枚上有值。 */
+export interface EntitySortKey {
+ key: string;
+ label: string;
+ pressed: boolean;
+ dir: 'asc' | 'desc' | '';
+ ariaLabel: string;
+}
+
+/** 分段开关的一格:值、名字和雪碧图里的字形。 */
+export type SegmentOption = readonly [value: string, label: string, symbol: string];
+
+/** 作品视图的表头:排序键,JAV 语境下多一组卡片版式。 */
+export interface EntityVideoHead {
+ sorts: EntitySortKey[];
+ jav: { layout: string; options: readonly SegmentOption[] } | null;
+}
+
+/** 照片视图的表头。`back` 为真是在一个图集里:左边一枚「全部照片」,右边多两枚源文件键。 */
+export interface EntityPhotoHead {
+ back: boolean;
+ /** 本地图片有几张;只有样张时是 0,换一批那枚键不出。 */
+ shuffle: boolean;
+ layout: string;
+ layouts: readonly SegmentOption[];
+ /** 图集的 id,源文件键按它定位;整页照片墙时为 0。 */
+ setId: number;
+}
+
+export interface EntityFilterActions {
+ /** 换视图(名册/视频/照片)。 */
+ setView(view: EntityView): void;
+ /** 四枚观看状态里的一枚。 */
+ setState(state: string): void;
+ toggleTag(tag: string): void;
+ /** 撤掉交集条上的一颗创作者/厂牌/归属。 */
+ clearFilter(key: string): void;
+ /** 交集条末尾的「全部清除」。 */
+ clearAll(): void;
+ setSort(key: string): void;
+ /** 换一批。视频视图由读数骨架说「在等」,照片视图的键自己转圈,等到这个 Promise 落定。 */
+ reshuffle(): Promise<void>;
+ setJavLayout(layout: string): void;
+ setPhotoLayout(layout: string): void;
+ /** 图集里的「全部照片」。 */
+ photoBack(): void;
+}
+
+/** 仍由遗留层给的接线与 HTML。 */
+export interface EntityFilterHelpers {
+ /** 横滚行接上拖动与滚轮(`wireDrag`)。 */
+ wireDrag(row: Element | null): void;
+ /** 只接滚轮与两端渐隐、不接拖动(`wireHorizontalScroller`):窄屏下才溢出的外层用它。 */
+ wireScroller(row: Element | null): void;
+ /** 图集那两枚源文件键(`sourceTools`):定位与目录对账,照片详情里复用的是同一对。 */
+ sourceToolsHtml(setId: number): string;
+ /** 把上面那两枚接到 `revealSource`/`syncMissing`;`done` 在对账改动了这一组之后重开它。 */
+ wireSourceTools(root: Element): void;
+}
+
+export interface EntityFilterProps {
+ kind: string;
+ name: string;
+ view: EntityView;
+ views: EntityViewKeys | null;
+ /** 当前观看状态:''、fresh、later、flagged。 */
+ state: string;
+ states: readonly { k: string; label: string }[];
+ tags: EntityFilterTag[];
+ combo: EntityComboItem[];
+ /** 表头左边那一句;`busy` 时换成骨架。 */
+ readout: string;
+ busy: boolean;
+ video: EntityVideoHead | null;
+ photo: EntityPhotoHead | null;
+ actions: EntityFilterActions;
+ helpers: EntityFilterHelpers;
+}
+
+/** 只在作品视图上成立的那几样(观看状态、标签、交集条)。照片和名册上它们数的都是视频,
+ * 点下去还会把视图拨回视频,所以那两档只留视图键。 */
+export const videoOnly = (view: EntityView): boolean => view === 'videos';
diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsx
index 05760425d..35261e40b 100644
--- a/frontend/src/react/entry.tsx
+++ b/frontend/src/react/entry.tsx
@@ -18,6 +18,7 @@ import { prefetchDataCleanup } from './data-cleanup/data-cleanup';
import { DataCleanupPage } from './data-cleanup/data-cleanup-page';
import { prefetchDuplicates } from './duplicates/duplicates';
import { DuplicatesPage } from './duplicates/duplicates-page';
+import { EntityFilterPage } from './entity-filter/entity-filter-page';
import { EntityHeroPage } from './entity-hero/entity-hero-page';
import { prefetchFollowManage } from './follow-manage/follow-manage';
import { FollowManagePage } from './follow-manage/follow-manage-page';
@@ -113,6 +114,8 @@ export const pages: Bundle.ReactPages = {
/* 资料卡要的 `/api/entity` 与新作由壳取好当 props 递进来,首屏没有要取的东西。换头像的
候选也不在这里预取:资料页每进一次就打一遍图库的话,多数时候没人点开它。 */
'entity-hero': { prefetch: async () => {}, mount: mounter(EntityHeroPage) },
+ /* 筛选、读数与排序项都由壳算好递进来,挂上就是最终样子。 */
+ 'entity-filter': { prefetch: async () => {}, mount: mounter(EntityFilterPage) },
/* 首屏只取来源清单与凭据状态,地址栏指着「订阅源」时连它一起取。检查更新与查找那两趟
后台任务的快照不在首屏里:它们常年躺着上一趟的回执,等它们只会让首屏多一个往返。 */
'follow-manage': {
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index b27f5640c..a1f3b0efc 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -18,6 +18,7 @@
@import "./components/media-card.css";
@import "./junk-queue/junk-queue.css";
@import "./entity-hero/entity-hero.css";
+@import "./entity-filter/entity-filter.css";
@source "./";
/* 扫描不分代码与注释:这几个词各在注释里出现过,生成出来就和旧样式表的 `.ring`、`.grid`、
diff --git a/frontend/test/islands.test.ts b/frontend/test/islands.test.ts
index d2cffd9bb..45da0fb71 100644
--- a/frontend/test/islands.test.ts
+++ b/frontend/test/islands.test.ts
@@ -40,7 +40,7 @@ async function until(ok: () => boolean, what: string): Promise<void> {
describe('island 注册表', () => {
it('登记的名字就是遗留路由能挂载的名字', () => {
expect(islandNames()).toEqual([
- 'catalog-grid', 'cover-crop', 'data-cleanup', 'duplicates', 'entity-hero', 'follow-manage', 'index', 'junk-queue', 'library-processing', 'playlists',
+ 'catalog-grid', 'cover-crop', 'data-cleanup', 'duplicates', 'entity-filter', 'entity-hero', 'follow-manage', 'index', 'junk-queue', 'library-processing', 'playlists',
'scraping', 'quality-goals', 'review', 'configuration', 'configuration-summary', 'activity', 'stats', 'taste']);
});
diff --git a/frontend/test/react/entity-filter.test.tsx b/frontend/test/react/entity-filter.test.tsx
new file mode 100644
index 000000000..283b05744
--- /dev/null
+++ b/frontend/test/react/entity-filter.test.tsx
@@ -0,0 +1,182 @@
+/* 实体页筛选浮层岛:三种视图下各摆出哪些键、点下去交给壳的是什么、照片换一批的忙态。
+ *
+ * 滑动玻璃的落位、吸顶、窄屏横滚与让位、骨架接管时的几何由 `frontend/e2e/entity-filter.test.ts`
+ * 在真浏览器里量;jsdom 没有布局,这里不断言玻璃。 */
+import { act } from 'react';
+import { describe, expect, it, vi } from 'vitest';
+
+import { EntityFilterPage } from '../../src/react/entity-filter/entity-filter-page';
+import {
+ videoOnly, type EntityFilterActions, type EntityFilterHelpers, type EntityFilterProps,
+} from '../../src/react/entity-filter/entity-filter';
+import { click, mount, settle } from './render';
+
+const STATES = [{ k: '', label: '全部' }, { k: 'fresh', label: '没看过' }, { k: 'later', label: '稍后看' }, { k: 'flagged', label: '已标记' }];
+const LAYOUTS = [['big', '大图', 'maximize'], ['small', '小图', 'layout-grid']] as const;
+
+function actions(patch: Partial<EntityFilterActions> = {}): EntityFilterActions {
+ return {
+ setView: vi.fn(), setState: vi.fn(), toggleTag: vi.fn(), clearFilter: vi.fn(), clearAll: vi.fn(),
+ setSort: vi.fn(), reshuffle: vi.fn(async () => {}), setJavLayout: vi.fn(), setPhotoLayout: vi.fn(),
+ photoBack: vi.fn(), ...patch,
+ };
+}
+
+function helpers(patch: Partial<EntityFilterHelpers> = {}): EntityFilterHelpers {
+ return { wireDrag: vi.fn(), wireScroller: vi.fn(), sourceToolsHtml: () => '', wireSourceTools: vi.fn(), ...patch };
+}
+
+function props(patch: Partial<EntityFilterProps> = {}): EntityFilterProps {
+ return {
+ kind: 'performer', name: '篠田ゆう', view: 'videos',
+ views: { label: '媒体类型', people: null, videos: { count: 24 }, photos: { count: 18 } },
+ state: '', states: STATES,
+ tags: [{ k: '巨乳', label: '巨乳', n: 1200, selected: false }, { k: '中出', label: '中出', n: 36, selected: true }],
+ combo: [{ kind: 'untag', key: '中出', label: '中出' }, { kind: 'clear', key: 'studio', label: '厂牌 S1' }],
+ readout: '视频 · 24 · 中出', busy: false,
+ video: {
+ sorts: [
+ { key: 'release', label: '发行时间', pressed: true, dir: 'desc', ariaLabel: '按发行时间从旧到新排序' },
+ { key: 'rating', label: '评分', pressed: false, dir: '', ariaLabel: '按评分从高到低排序' },
+ ],
+ jav: { layout: 'big', options: LAYOUTS },
+ },
+ photo: null, actions: actions(), helpers: helpers(), ...patch,
+ };
+}
+
+const $ = (host: HTMLElement, selector: string) => host.querySelector<HTMLElement>(selector);
+const $$ = (host: HTMLElement, selector: string) => [...host.querySelectorAll<HTMLElement>(selector)];
+
+describe('只在作品视图上成立的那几样', () => {
+ it('观看状态、标签与交集条只跟作品视图走', () => {
+ expect(videoOnly('videos')).toBe(true);
+ expect(videoOnly('photos')).toBe(false);
+ expect(videoOnly('people')).toBe(false);
+ });
+});
+
+describe('作品视图', () => {
+ it('视图键、观看状态、标签与计数、交集条、排序与版式都摆出来,按下态照 props', async () => {
+ const host = await mount(<EntityFilterPage {...props()} />);
+ expect($$(host, '[data-media-view]').map((key) => [key.dataset.mediaView, key.getAttribute('aria-pressed')]))
+ .toEqual([['videos', 'true'], ['photos', 'false']]);
+ expect($(host, '[data-media-view="photos"]')?.getAttribute('aria-label')).toBe('照片 18');
+ expect($(host, '[data-entity-states]')?.hidden).toBe(false);
+ expect($(host, '[data-entity-state=""]')?.getAttribute('aria-pressed')).toBe('true');
+ expect($$(host, '[data-entity-tag]').map((tag) => [tag.textContent, tag.getAttribute('aria-pressed')]))
+ .toEqual([['巨乳1,200', 'false'], ['中出36', 'true']]);
+ expect($(host, '[data-entity-combo]')?.hidden).toBe(false);
+ expect($$(host, '[data-combo-chip]').map((chip) => chip.firstChild?.textContent)).toEqual(['中出', '厂牌 S1']);
+ expect($(host, '[data-entity-readout]')?.textContent).toBe('视频 · 24 · 中出');
+ expect($(host, '[data-entity-sort="release"]')?.querySelector('svg')).not.toBeNull();
+ expect($(host, '[data-entity-sort="rating"]')?.querySelector('svg')).toBeNull();
+ expect($(host, '[data-entity-sort="rating"]')?.getAttribute('aria-label')).toBe('按评分从高到低排序');
+ expect($(host, '[data-entity-layout][aria-label="JAV 卡片版式"]')).not.toBeNull();
+ expect($(host, '[data-photo-back]')).toBeNull();
+ });
+
+ it('点下去都回壳:换视图、换状态、标签、交集条撤一颗或全清、排序、换一批', async () => {
+ const shell = actions();
+ const host = await mount(<EntityFilterPage {...props({ actions: shell })} />);
+ await click($(host, '[data-media-view="photos"]')!);
+ await click($(host, '[data-entity-state="later"]')!);
+ await click($(host, '[data-entity-state=""]')!);
+ await click($(host, '[data-entity-tag="巨乳"]')!);
+ await click($(host, '[aria-label="撤掉 中出"]')!);
+ await click($(host, '[aria-label="撤掉 厂牌 S1"]')!);
+ await click($(host, '[data-combo-clear]')!);
+ await click($(host, '[data-entity-sort="rating"]')!);
+ await click($(host, '[data-entity-batch]')!);
+ expect(shell.setView).toHaveBeenCalledWith('photos');
+ // 已经按下的那一枚再点不发请求。
+ expect(shell.setState).toHaveBeenCalledTimes(1);
+ expect(shell.setState).toHaveBeenCalledWith('later');
+ expect(shell.toggleTag).toHaveBeenNthCalledWith(1, '巨乳');
+ expect(shell.toggleTag).toHaveBeenNthCalledWith(2, '中出');
+ expect(shell.clearFilter).toHaveBeenCalledWith('studio');
+ expect(shell.clearAll).toHaveBeenCalledTimes(1);
+ expect(shell.setSort).toHaveBeenCalledWith('rating');
+ expect(shell.reshuffle).toHaveBeenCalledTimes(1);
+ });
+
+ it('等这一趟取数时读数换成微光,下排标 aria-busy', async () => {
+ const host = await mount(<EntityFilterPage {...props({ busy: true })} />);
+ expect($(host, '[data-entity-readout] [data-skeleton="count"]')).not.toBeNull();
+ expect($(host, '[data-filter-row="bottom"]')?.getAttribute('aria-busy')).toBe('true');
+ });
+
+ it('横滚行登记给遗留层的拖动与滚轮', async () => {
+ const wiring = helpers();
+ const host = await mount(<EntityFilterPage {...props({ helpers: wiring })} />);
+ expect(wiring.wireDrag).toHaveBeenCalledWith($(host, '[data-entity-tags]'));
+ expect(wiring.wireDrag).toHaveBeenCalledWith($(host, '[data-filter-row="bottom"]'));
+ expect(wiring.wireScroller).toHaveBeenCalledWith($(host, '[data-entity-scroll]'));
+ });
+
+ it('只有一类东西时没有视图键,也不画它后面那道分隔线', async () => {
+ const host = await mount(<EntityFilterPage {...props({ views: null })} />);
+ expect($(host, '[data-entity-media]')).toBeNull();
+ expect($$(host, '[data-entity-filter-glass] [data-filter-row="top"] > [data-entity-sep]')).toHaveLength(0);
+ });
+});
+
+describe('照片与名册视图', () => {
+ it('照片视图收起观看状态、标签与交集条,下排只有换一批与图片布局', async () => {
+ const host = await mount(<EntityFilterPage {...props({
+ view: 'photos', readout: '照片 · 18 张', video: null,
+ photo: { back: false, shuffle: true, layout: 'masonry', layouts: [['fixed', '固定比例', 'layout-grid'], ['masonry', '瀑布流', 'columns-2']], setId: 0 },
+ })} />);
+ expect($(host, '[data-entity-states]')?.hidden).toBe(true);
+ expect($$(host, '[data-entity-tag]')).toHaveLength(0);
+ expect($(host, '[data-entity-combo]')?.hidden).toBe(true);
+ expect($$(host, '[data-entity-sort]')).toHaveLength(0);
+ expect($(host, '[data-entity-layout][aria-label="图片布局"]')).not.toBeNull();
+ expect($$(host, '[data-entity-batch]')).toHaveLength(1);
+ expect($(host, '[data-photo-back]')).toBeNull();
+ });
+
+ it('照片换一批:键自己转圈、再按不重发,等壳的 Promise 落定才复原', async () => {
+ let finish = () => {};
+ const shell = actions({ reshuffle: vi.fn(() => new Promise<void>((resolve) => { finish = resolve; })) });
+ const host = await mount(<EntityFilterPage {...props({
+ view: 'photos', video: null, actions: shell,
+ photo: { back: false, shuffle: true, layout: 'fixed', layouts: [['fixed', '固定比例', 'layout-grid']], setId: 0 },
+ })} />);
+ await click($(host, '[data-entity-batch]')!);
+ expect($(host, '[data-entity-batch]')?.getAttribute('aria-busy')).toBe('true');
+ await click($(host, '[data-entity-batch]')!);
+ expect(shell.reshuffle).toHaveBeenCalledTimes(1);
+ await act(async () => { finish(); });
+ await settle();
+ expect($(host, '[data-entity-batch]')?.hasAttribute('aria-busy')).toBe(false);
+ });
+
+ it('图集里左边一枚「全部照片」,右边接上源文件键;只有样张时没有换一批', async () => {
+ const shell = actions();
+ const wiring = helpers({ sourceToolsHtml: (id) => `<button type="button" data-src="${id}">定位</button>` });
+ const host = await mount(<EntityFilterPage {...props({
+ view: 'photos', video: null, actions: shell, helpers: wiring, readout: '夏の日 · 12 张',
+ photo: { back: true, shuffle: false, layout: 'fixed', layouts: [['fixed', '固定比例', 'layout-grid']], setId: 42 },
+ })} />);
+ expect($$(host, '[data-entity-batch]')).toHaveLength(0);
+ expect($(host, '[data-entity-srctools] [data-src="42"]')).not.toBeNull();
+ expect(wiring.wireSourceTools).toHaveBeenCalledWith($(host, '[data-entity-srctools]'));
+ await click($(host, '[data-photo-back]')!);
+ expect(shell.photoBack).toHaveBeenCalledTimes(1);
+ });
+
+ it('名册视图下排只有读数,名册键在最左', async () => {
+ const shell = actions();
+ const host = await mount(<EntityFilterPage {...props({
+ kind: 'agency', view: 'people', readout: '艺人 · 3', video: null, actions: shell,
+ views: { label: '页面视图', people: { label: '艺人', count: 3, icon: 'user-round' }, videos: { count: 24 }, photos: null },
+ })} />);
+ expect($$(host, '[data-media-view]').map((key) => key.dataset.mediaView)).toEqual(['people', 'videos']);
+ expect($(host, '[data-media-view="people"]')?.getAttribute('aria-pressed')).toBe('true');
+ expect($(host, '[data-entity-media]')?.getAttribute('aria-label')).toBe('页面视图');
+ expect($$(host, '[data-filter-row="bottom"] > *').map((node) => node.tagName)).toEqual(['H3']);
+ await click($(host, '[data-media-view="videos"]')!);
+ expect(shell.setView).toHaveBeenCalledWith('videos');
+ });
+});
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index c7d6784ec..ae510f5b0 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto;box-shadow:0 12px 24px -4px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000008c),0 4px 8px -2px var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#00000073)}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto;box-shadow:0 12px 24px -4px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000008c),0 4px 8px -2px var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#00000073)}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react [data-entity-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react [data-entity-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass][data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 6685a7d3d..d6e288adb 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -1,30 +1,30 @@
import { LOC as e, brandIcon as t, entityPath as n, esc as r, fmtDur as i, fmtSize as a, foldName as o, icon as s, linkMarkUrl as c, mapLimit as l, officialLinkText as u, requestErrorMessage as d, siteMarkUrl as f } from "/js/core.js";
-import { MEDIA_SOURCE_ICONS as p, attachOverlayScrollbar as m, confirmModal as h, fitSkeleton as g, indexSkeletonHtml as _, loadingDotsHtml as v, noteHtml as y, popBadges as b, popCount as x, setCollapseOpen as S, spinnerHtml as C } from "/js/ui-components.js";
+import { MEDIA_SOURCE_ICONS as p, attachOverlayScrollbar as m, confirmModal as h, fitSkeleton as g, indexSkeletonHtml as _, loadingDotsHtml as v, moveGlidePane as y, noteHtml as b, popBadges as x, popCount as S, setCollapseOpen as C, spinnerHtml as w } from "/js/ui-components.js";
//#region \0rolldown/runtime.js
-var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescriptor, D = Object.getOwnPropertyNames, O = Object.getPrototypeOf, k = Object.prototype.hasOwnProperty, A = (e, t, n) => () => {
+var T = Object.create, E = Object.defineProperty, D = Object.getOwnPropertyDescriptor, O = Object.getOwnPropertyNames, k = Object.getPrototypeOf, A = Object.prototype.hasOwnProperty, j = (e, t, n) => () => {
if (n) throw n[0];
try {
return e && (t = e(e = 0)), t;
} catch (e) {
throw n = [e], e;
}
-}, j = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), M = (e, t) => {
+}, M = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), N = (e, t) => {
let n = {};
- for (var r in e) T(n, r, {
+ for (var r in e) E(n, r, {
get: e[r],
enumerable: !0
});
- return t || T(n, Symbol.toStringTag, { value: "Module" }), n;
-}, N = (e, t, n, r) => {
- if (t && typeof t == "object" || typeof t == "function") for (var i = D(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !k.call(e, s) && s !== n && T(e, s, {
+ return t || E(n, Symbol.toStringTag, { value: "Module" }), n;
+}, ee = (e, t, n, r) => {
+ if (t && typeof t == "object" || typeof t == "function") for (var i = O(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !A.call(e, s) && s !== n && E(e, s, {
get: ((e) => t[e]).bind(null, s),
- enumerable: !(r = E(t, s)) || r.enumerable
+ enumerable: !(r = D(t, s)) || r.enumerable
});
return e;
-}, P = (e, t, n) => (n = e == null ? {} : w(O(e)), N(t || !e || !e.__esModule || !k.call(e, "default") ? T(n, "default", {
+}, te = (e, t, n) => (n = e == null ? {} : T(k(e)), ee(t || !e || !e.__esModule || !A.call(e, "default") ? E(n, "default", {
value: e,
enumerable: !0
-}) : n, e)), ee = (e) => k.call(e, "module.exports") ? e["module.exports"] : N(T({}, "__esModule", { value: !0 }), e), F = /* @__PURE__ */ j(((e) => {
+}) : n, e)), P = (e) => A.call(e, "module.exports") ? e["module.exports"] : ee(E({}, "__esModule", { value: !0 }), e), F = /* @__PURE__ */ M(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;
function h(e) {
return typeof e != "object" || !e ? null : (e = m && e[m] || e["@@iterator"], typeof e == "function" ? e : null);
@@ -105,7 +105,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
}
throw e;
}
- function P(e, r, i, a, o) {
+ function ee(e, r, i, a, o) {
var s = typeof e;
(s === "undefined" || s === "boolean") && (e = null);
var c = !1;
@@ -121,30 +121,30 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
case n:
c = !0;
break;
- case d: return c = e._init, P(c(e._payload), r, i, a, o);
+ case d: return c = e._init, ee(c(e._payload), r, i, a, o);
}
}
- if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), P(o, r, i, "", function(e) {
+ if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), ee(o, r, i, "", function(e) {
return e;
})) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(j, "$&/") + "/") + c)), r.push(o)), 1;
c = 0;
var l = a === "" ? "." : a + ":";
- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += P(a, r, i, s, o);
- else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += P(a, r, i, s, o);
+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += ee(a, r, i, s, o);
+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += ee(a, r, i, s, o);
else if (s === "object") {
- if (typeof e.then == "function") return P(N(e), r, i, a, o);
+ if (typeof e.then == "function") return ee(N(e), r, i, a, o);
throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
}
return c;
}
- function ee(e, t, n) {
+ function te(e, t, n) {
if (e == null) return e;
var r = [], i = 0;
- return P(e, r, "", "", function(e) {
+ return ee(e, r, "", "", function(e) {
return t.call(n, e, i++);
}), r;
}
- function F(e) {
+ function P(e) {
if (e._status === -1) {
var t = e._result, n = t();
n.then(function(t) {
@@ -156,7 +156,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
if (e._status === 1) return e._result.default;
throw e._result;
}
- var te = typeof reportError == "function" ? reportError : function(e) {
+ var F = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -176,9 +176,9 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
n.types = t === null ? null : t.types, T.T = n;
try {
var r = e(), i = T.S;
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, te);
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, F);
} catch (e) {
- te(e);
+ F(e);
} finally {
t !== null && n.types !== null && (t.types = n.types), T.T = t;
}
@@ -190,21 +190,21 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
} else ne(re.bind(null, e));
}
- var I = {
- map: ee,
+ var ie = {
+ map: te,
forEach: function(e, t, n) {
- ee(e, function() {
+ te(e, function() {
t.apply(this, arguments);
}, n);
},
count: function(e) {
var t = 0;
- return ee(e, function() {
+ return te(e, function() {
t++;
}), t;
},
toArray: function(e) {
- return ee(e, function(e) {
+ return te(e, function(e) {
return e;
}) || [];
},
@@ -213,7 +213,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
return e;
}
};
- e.Activity = f, e.Children = I, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
+ e.Activity = f, e.Children = ie, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
__proto__: null,
c: function(e) {
return T.H.useMemoCache(e);
@@ -272,7 +272,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
_status: -1,
_result: e
},
- _init: F
+ _init: P
};
}, e.memo = function(e, t) {
return {
@@ -319,9 +319,9 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
}, e.useTransition = function() {
return T.H.useTransition();
}, e.version = "19.3.0";
-})), te = /* @__PURE__ */ j(((e, t) => {
+})), ne = /* @__PURE__ */ M(((e, t) => {
t.exports = F();
-})), ne = /* @__PURE__ */ j(((e) => {
+})), re = /* @__PURE__ */ M(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
function r(e, n, r) {
var i = null;
@@ -336,25 +336,25 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
};
}
e.Fragment = n, e.jsx = r, e.jsxs = r;
-})), re = /* @__PURE__ */ j(((e, t) => {
- t.exports = ne();
-})), I = /* @__PURE__ */ P(te(), 1), L = re(), ie = I.createContext(void 0), ae = (e) => {
- let t = I.useContext(ie);
+})), ie = /* @__PURE__ */ M(((e, t) => {
+ t.exports = re();
+})), I = /* @__PURE__ */ te(ne(), 1), L = ie(), ae = I.createContext(void 0), oe = (e) => {
+ let t = I.useContext(ae);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, oe = ({ client: e, children: t }) => (I.useEffect(() => (e.mount(), () => {
+}, se = ({ client: e, children: t }) => (I.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, L.jsx)(ie.Provider, {
+}), [e]), /* @__PURE__ */ (0, L.jsx)(ae.Provider, {
value: e,
children: t
-})), se = {
+})), ce = {
setTimeout: (e, t) => setTimeout(e, t),
clearTimeout: (e) => clearTimeout(e),
setInterval: (e, t) => setInterval(e, t),
clearInterval: (e) => clearInterval(e)
-}, ce = new class {
- #e = se;
+}, le = new class {
+ #e = ce;
setTimeoutProvider(e) {
this.#e = e;
}
@@ -371,31 +371,31 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
this.#e.clearInterval(e);
}
}();
-function le(e) {
+function ue(e) {
setTimeout(e, 0);
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/utils.js
-var ue = typeof window > "u" || "Deno" in globalThis;
-function R() {}
-function z(e, t) {
+var R = typeof window > "u" || "Deno" in globalThis;
+function z() {}
+function de(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function de(e) {
+function fe(e) {
return typeof e == "number" && e >= 0 && e !== Infinity;
}
-function fe(e, t) {
+function pe(e, t) {
return Math.max(e + (t || 0) - Date.now(), 0);
}
-function pe(e, t) {
+function me(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function me(e, t) {
+function he(e, t) {
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
if (o) {
if (r) {
- if (t.queryHash !== ge(o, t.options)) return !1;
- } else if (!ve(t.queryKey, o)) return !1;
+ if (t.queryHash !== _e(o, t.options)) return !1;
+ } else if (!ye(t.queryKey, o)) return !1;
}
if (n !== "all") {
let e = t.isActive();
@@ -403,105 +403,105 @@ function me(e, t) {
}
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
}
-function he(e, t) {
+function ge(e, t) {
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
if (a) {
if (!t.options.mutationKey) return !1;
if (n) {
- if (_e(t.options.mutationKey) !== _e(a)) return !1;
- } else if (!ve(t.options.mutationKey, a)) return !1;
+ if (ve(t.options.mutationKey) !== ve(a)) return !1;
+ } else if (!ye(t.options.mutationKey, a)) return !1;
}
return !(r && t.state.status !== r || i && !i(t));
}
-function ge(e, t) {
- return (t?.queryKeyHashFn || _e)(e);
+function _e(e, t) {
+ return (t?.queryKeyHashFn || ve)(e);
}
-function _e(e) {
- return JSON.stringify(e, (e, t) => Ce(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
+function ve(e) {
+ return JSON.stringify(e, (e, t) => we(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
}
-function ve(e, t) {
+function ye(e, t) {
if (e === t) return !0;
if (typeof e != typeof t) return !1;
if (e && t && typeof e == "object" && typeof t == "object") {
if (Array.isArray(e) && Array.isArray(t)) {
if (t.length > e.length) return !1;
- for (let n = 0; n < t.length; n++) if (!ve(e[n], t[n])) return !1;
+ for (let n = 0; n < t.length; n++) if (!ye(e[n], t[n])) return !1;
return !0;
}
let n = Object.keys(t);
- for (let r of n) if (!ve(e[r], t[r])) return !1;
+ for (let r of n) if (!ye(e[r], t[r])) return !1;
return !0;
}
return !1;
}
-var ye = Object.prototype.hasOwnProperty;
-function be(e, t, n = 0) {
+var be = Object.prototype.hasOwnProperty;
+function xe(e, t, n = 0) {
if (e === t) return e;
if (n > 500) return t;
- let r = Se(e) && Se(t);
- if (!r && !(Ce(e) && Ce(t))) return t;
+ let r = Ce(e) && Ce(t);
+ if (!r && !(we(e) && we(t))) return t;
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
for (let l = 0; l < o; l++) {
let o = r ? l : a[l], u = e[o], d = t[o];
if (u === d) {
- s[o] = u, (r ? l < i : ye.call(e, o)) && c++;
+ s[o] = u, (r ? l < i : be.call(e, o)) && c++;
continue;
}
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
s[o] = d;
continue;
}
- let f = be(u, d, n + 1);
+ let f = xe(u, d, n + 1);
s[o] = f, f === u && c++;
}
return i === o && c === i ? e : s;
}
-function xe(e, t) {
+function Se(e, t) {
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
for (let n in e) if (e[n] !== t[n]) return !1;
return !0;
}
-function Se(e) {
+function Ce(e) {
return Array.isArray(e) && e.length === Object.keys(e).length;
}
-function Ce(e) {
- if (!we(e)) return !1;
+function we(e) {
+ if (!Te(e)) return !1;
let t = Object.getPrototypeOf(e), n = t?.constructor;
if (n === void 0) return !0;
if (typeof n != "function") return !1;
let r = n.prototype;
- return !(!we(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
+ return !(!Te(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
}
-function we(e) {
+function Te(e) {
return Object.prototype.toString.call(e) === "[object Object]";
}
-function Te(e) {
+function Ee(e) {
return new Promise((t) => {
- ce.setTimeout(t, e);
+ le.setTimeout(t, e);
});
}
-function Ee(e, t, n) {
- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : be(e, t);
+function De(e, t, n) {
+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : xe(e, t);
}
-function De(e) {
+function Oe(e) {
return e;
}
-function Oe(e, t, n = 0) {
+function ke(e, t, n = 0) {
let r = [...e, t];
return n && r.length > n ? r.slice(1) : r;
}
-function ke(e, t, n = 0) {
+function Ae(e, t, n = 0) {
let r = [t, ...e];
return n && r.length > n ? r.slice(0, -1) : r;
}
-var Ae = Symbol();
-function je(e, t) {
- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Ae ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
-}
+var je = Symbol();
function Me(e, t) {
+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === je ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
+}
+function Ne(e, t) {
return typeof e == "function" ? e(...t) : !!e;
}
-function Ne(e, t, n) {
+function Pe(e, t, n) {
let r = !1, i;
return Object.defineProperty(e, "signal", {
enumerable: !0,
@@ -510,7 +510,7 @@ function Ne(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
-var Pe = () => ue, Fe = () => Pe(), Ie = class {
+var Fe = () => R, Ie = () => Fe(), Le = class {
constructor() {
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
}
@@ -524,7 +524,7 @@ var Pe = () => ue, Fe = () => Pe(), Ie = class {
}
onSubscribe() {}
onUnsubscribe() {}
-}, Le = new class extends Ie {
+}, Re = new class extends Le {
#e;
#t;
#n;
@@ -561,13 +561,13 @@ var Pe = () => ue, Fe = () => Pe(), Ie = class {
isFocused() {
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
}
-}(), Re = le;
-function ze() {
+}(), ze = ue;
+function Be() {
let e = [], t = 0, n = (e) => {
e();
}, r = (e) => {
e();
- }, i = Re, a = (r) => {
+ }, i = ze, a = (r) => {
t ? e.push(r) : i(() => {
n(r);
});
@@ -609,7 +609,7 @@ function ze() {
}
};
}
-var Be = ze(), Ve = new class extends Ie {
+var Ve = Be(), He = new class extends Le {
#e = !0;
#t;
#n;
@@ -643,32 +643,32 @@ var Be = ze(), Ve = new class extends Ie {
}();
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
-function He(e) {
+function Ue(e) {
return Math.min(1e3 * 2 ** e, 3e4);
}
-function Ue(e) {
- return (e ?? "online") !== "online" || Ve.isOnline();
+function We(e) {
+ return (e ?? "online") !== "online" || He.isOnline();
}
-var We = class extends Error {
+var Ge = class extends Error {
constructor(e) {
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
}
};
-function Ge(e) {
+function Ke(e) {
let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {
a = e, o = t;
});
- s.catch(R);
+ s.catch(z);
let c = () => i !== "pending", l = (t) => {
if (!c()) {
- let n = new We(t);
+ let n = new Ge(t);
h(n), e.onCancel?.(n);
}
}, u = () => {
t = !0;
}, d = () => {
t = !1;
- }, f = () => Le.isFocused() && (e.networkMode === "always" || Ve.isOnline()) && e.canRun(), p = () => Ue(e.networkMode) && e.canRun(), m = (e) => {
+ }, f = () => Re.isFocused() && (e.networkMode === "always" || He.isOnline()) && e.canRun(), p = () => We(e.networkMode) && e.canRun(), m = (e) => {
c() || (r?.(), i = "resolved", a(e));
}, h = (e) => {
c() || (r?.(), i = "rejected", o(e));
@@ -688,12 +688,12 @@ function Ge(e) {
}
Promise.resolve(r).then(m).catch((r) => {
if (c()) return;
- let i = e.retry ?? (Fe() ? 0 : 3), a = e.retryDelay ?? He, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
+ let i = e.retry ?? (Ie() ? 0 : 3), a = e.retryDelay ?? Ue, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
if (t || !s) {
h(r);
return;
}
- n++, e.onFail?.(n, r), Te(o).then(() => f() ? void 0 : g()).then(() => {
+ n++, e.onFail?.(n, r), Ee(o).then(() => f() ? void 0 : g()).then(() => {
t ? h(r) : _();
});
});
@@ -711,34 +711,34 @@ function Ge(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/removable.js
-var Ke = class {
+var qe = class {
#e;
destroy() {
this.clearGcTimeout();
}
scheduleGc() {
- this.clearGcTimeout(), de(this.gcTime) && (this.#e = ce.setTimeout(() => {
+ this.clearGcTimeout(), fe(this.gcTime) && (this.#e = le.setTimeout(() => {
this.optionalRemove();
}, this.gcTime));
}
updateGcTime(e) {
- this.gcTime = Math.max(this.gcTime || 0, e ?? (Fe() ? Infinity : 3e5));
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Ie() ? Infinity : 3e5));
}
clearGcTimeout() {
- this.#e !== void 0 && (ce.clearTimeout(this.#e), this.#e = void 0);
+ this.#e !== void 0 && (le.clearTimeout(this.#e), this.#e = void 0);
}
};
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
-function qe(e) {
+function Je(e) {
return { onFetch: (t, n) => {
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
pages: [],
pageParams: []
}, c = 0, l = async () => {
let n = !1, l = (e) => {
- Ne(e, () => t.signal, () => n = !0);
- }, u = je(t.options, t.fetchOptions), d = async (e, r, i) => {
+ Pe(e, () => t.signal, () => n = !0);
+ }, u = Me(t.options, t.fetchOptions), d = async (e, r, i) => {
if (n) return Promise.reject(t.signal.reason);
if (r == null && e.pages.length) return Promise.resolve(e);
let a = (() => {
@@ -750,14 +750,14 @@ function qe(e) {
meta: t.options.meta
};
return l(e), e;
- })(), o = await u(a), { maxPages: s } = t.options, c = i ? ke : Oe;
+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? Ae : ke;
return {
pages: c(e.pages, o, s),
pageParams: c(e.pageParams, r, s)
};
};
if (i && a.length) {
- let e = i === "backward", t = e ? Ye : Je, n = {
+ let e = i === "backward", t = e ? Xe : Ye, n = {
pages: a,
pageParams: o
};
@@ -765,7 +765,7 @@ function qe(e) {
} else {
let t = e ?? a.length;
do {
- let e = c === 0 ? o[0] ?? r.initialPageParam : Je(r, s);
+ let e = c === 0 ? o[0] ?? r.initialPageParam : Ye(r, s);
if (c > 0 && e == null) break;
s = await d(s, e), c++;
} while (c < t);
@@ -780,22 +780,22 @@ function qe(e) {
}, n) : l;
} };
}
-function Je(e, { pages: t, pageParams: n }) {
+function Ye(e, { pages: t, pageParams: n }) {
let r = t.length - 1;
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
}
-function Ye(e, { pages: t, pageParams: n }) {
+function Xe(e, { pages: t, pageParams: n }) {
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
}
-function Xe(e, t) {
- return t ? Je(e, t) != null : !1;
-}
function Ze(e, t) {
- return !t || !e.getPreviousPageParam ? !1 : Ye(e, t) != null;
+ return t ? Ye(e, t) != null : !1;
+}
+function Qe(e, t) {
+ return !t || !e.getPreviousPageParam ? !1 : Xe(e, t) != null;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/query.js
-var Qe = class extends Ke {
+var $e = class extends qe {
#e;
#t;
#n;
@@ -805,7 +805,7 @@ var Qe = class extends Ke {
#o;
#s;
constructor(e) {
- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = tt(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = nt(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
}
get meta() {
return this.options.meta;
@@ -821,15 +821,15 @@ var Qe = class extends Ke {
...this.#o,
...e
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
- let e = tt(this.options);
- e.data !== void 0 && (this.setState(et(e.data, e.dataUpdatedAt)), this.#t = e);
+ let e = nt(this.options);
+ e.data !== void 0 && (this.setState(tt(e.data, e.dataUpdatedAt)), this.#t = e);
}
}
optionalRemove() {
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
}
setData(e, t) {
- let n = Ee(this.state.data, e, this.options);
+ let n = De(this.state.data, e, this.options);
return this.#c({
data: n,
type: "success",
@@ -845,7 +845,7 @@ var Qe = class extends Ke {
}
cancel(e) {
let t = this.#a?.promise;
- return this.#a?.cancel(e), t ? t.then(R).catch(R) : Promise.resolve();
+ return this.#a?.cancel(e), t ? t.then(z).catch(z) : Promise.resolve();
}
destroy() {
super.destroy(), this.cancel({ silent: !0 });
@@ -857,22 +857,22 @@ var Qe = class extends Ke {
this.destroy(), this.setState(this.resetState);
}
isActive() {
- return this.observers.some((e) => pe(e.options.enabled, this) !== !1);
+ return this.observers.some((e) => me(e.options.enabled, this) !== !1);
}
isDisabled() {
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ae || !this.isFetched();
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === je || !this.isFetched();
}
isFetched() {
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
}
isStatic() {
- return this.getObserversCount() > 0 && this.observers.some((e) => pe(e.options.staleTime, this) === "static");
+ return this.getObserversCount() > 0 && this.observers.some((e) => me(e.options.staleTime, this) === "static");
}
isStale() {
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
}
isStaleByTime(e = 0) {
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !fe(this.state.dataUpdatedAt, e);
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !pe(this.state.dataUpdatedAt, e);
}
onFocus() {
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
@@ -916,7 +916,7 @@ var Qe = class extends Ke {
get: () => (this.#s = !0, n.signal)
});
}, i = () => {
- let e = je(this.options, t), n = (() => {
+ let e = Me(this.options, t), n = (() => {
let e = {
client: this.#i,
queryKey: this.queryKey,
@@ -936,15 +936,15 @@ var Qe = class extends Ke {
};
return r(e), e;
})();
- (this.#e === "infinite" ? qe(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
+ (this.#e === "infinite" ? Je(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
type: "fetch",
meta: a.fetchOptions?.meta
});
- let o = this.#a = Ge({
+ let o = this.#a = Ke({
initialPromise: t?.initialPromise,
fn: a.fetchFn,
onCancel: (e) => {
- e instanceof We && e.revert && this.setState({
+ e instanceof Ge && e.revert && this.setState({
...this.#n,
fetchStatus: "idle"
}), n.abort();
@@ -972,7 +972,7 @@ var Qe = class extends Ke {
if (e === void 0) throw Error(`${this.queryHash} data is undefined`);
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
} catch (e) {
- if (e instanceof We) {
+ if (e instanceof Ge) {
if (e.silent) return this.#a.promise;
if (e.revert) {
if (this.state.data === void 0) throw e;
@@ -1005,13 +1005,13 @@ var Qe = class extends Ke {
};
case "fetch": return {
...t,
- ...$e(t.data, this.options),
+ ...et(t.data, this.options),
fetchMeta: e.meta ?? null
};
case "success":
let n = {
...t,
- ...et(e.data, e.dataUpdatedAt),
+ ...tt(e.data, e.dataUpdatedAt),
dataUpdateCount: t.dataUpdateCount + 1,
...!e.manual && {
fetchStatus: "idle",
@@ -1043,7 +1043,7 @@ var Qe = class extends Ke {
};
}
};
- this.state = t(this.state), Be.batch(() => {
+ this.state = t(this.state), Ve.batch(() => {
this.observers.slice().forEach((e) => {
e.onQueryUpdate();
}), this.#r.notify({
@@ -1054,18 +1054,18 @@ var Qe = class extends Ke {
});
}
};
-function $e(e, t) {
+function et(e, t) {
return {
fetchFailureCount: 0,
fetchFailureReason: null,
- fetchStatus: Ue(t.networkMode) ? "fetching" : "paused",
+ fetchStatus: We(t.networkMode) ? "fetching" : "paused",
...e === void 0 && {
error: null,
status: "pending"
}
};
}
-function et(e, t) {
+function tt(e, t) {
return {
data: e,
dataUpdatedAt: t ?? Date.now(),
@@ -1074,7 +1074,7 @@ function et(e, t) {
status: "success"
};
}
-function tt(e) {
+function nt(e) {
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
return {
data: t,
@@ -1093,7 +1093,7 @@ function tt(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
-var nt = class extends Ie {
+var rt = class extends Le {
#e;
#t = void 0;
#n = void 0;
@@ -1115,36 +1115,36 @@ var nt = class extends Ie {
this.refetch = this.refetch.bind(this);
}
onSubscribe() {
- this.listeners.size === 1 && (this.#t.addObserver(this), it(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
+ this.listeners.size === 1 && (this.#t.addObserver(this), at(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
}
onUnsubscribe() {
this.hasListeners() || this.destroy();
}
shouldFetchOnReconnect() {
- return at(this.#t, this.options, this.options.refetchOnReconnect);
+ return ot(this.#t, this.options, this.options.refetchOnReconnect);
}
shouldFetchOnWindowFocus() {
- return at(this.#t, this.options, this.options.refetchOnWindowFocus);
+ return ot(this.#t, this.options, this.options.refetchOnWindowFocus);
}
destroy() {
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
}
setOptions(e) {
let t = this.options, n = this.#t;
- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof pe(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
- this.#S(), this.#t.setOptions(this.options), t._defaulted && !xe(this.options, t) && this.#e.getQueryCache().notify({
+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof me(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !Se(this.options, t) && this.#e.getQueryCache().notify({
type: "observerOptionsUpdated",
query: this.#t,
observer: this
});
let r = this.hasListeners();
- r && ot(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || pe(this.options.enabled, this.#t) !== pe(t.enabled, this.#t) || pe(this.options.staleTime, this.#t) !== pe(t.staleTime, this.#t)) && this.#g();
+ r && st(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || me(this.options.enabled, this.#t) !== me(t.enabled, this.#t) || me(this.options.staleTime, this.#t) !== me(t.staleTime, this.#t)) && this.#g();
let i = this.#_();
- r && (this.#t !== n || pe(this.options.enabled, this.#t) !== pe(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
+ r && (this.#t !== n || me(this.options.enabled, this.#t) !== me(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
}
getOptimisticResult(e) {
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
- return xe(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
+ return Se(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
}
getCurrentResult() {
return this.#r;
@@ -1183,44 +1183,44 @@ var nt = class extends Ie {
#m(e) {
this.#S();
let t = this.#t.fetch(this.options, e);
- return e?.throwOnError || (t = t.catch(R)), t;
+ return e?.throwOnError || (t = t.catch(z)), t;
}
#h(e) {
- return !Fe() && pe(this.options.enabled, this.#t) !== !1 && de(e);
+ return !Ie() && me(this.options.enabled, this.#t) !== !1 && fe(e);
}
#g() {
this.#b();
- let e = pe(this.options.staleTime, this.#t);
+ let e = me(this.options.staleTime, this.#t);
if (this.#r.isStale || !this.#h(e)) return;
- let t = fe(this.#r.dataUpdatedAt, e) + 1;
- this.#u = ce.setTimeout(() => {
+ let t = pe(this.#r.dataUpdatedAt, e) + 1;
+ this.#u = le.setTimeout(() => {
this.#r.isStale || this.updateResult();
}, t);
}
#_() {
- return pe(this.options.refetchInterval, this.#t) ?? !1;
+ return me(this.options.refetchInterval, this.#t) ?? !1;
}
#v(e) {
- this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = ce.setInterval(() => {
- (this.options.refetchIntervalInBackground || Le.isFocused()) && this.#m();
+ this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = le.setInterval(() => {
+ (this.options.refetchIntervalInBackground || Re.isFocused()) && this.#m();
}, this.#f));
}
#y() {
this.#g(), this.#v(this.#_());
}
#b() {
- this.#u !== void 0 && (ce.clearTimeout(this.#u), this.#u = void 0);
+ this.#u !== void 0 && (le.clearTimeout(this.#u), this.#u = void 0);
}
#x() {
- this.#d !== void 0 && (ce.clearInterval(this.#d), this.#d = void 0);
+ this.#d !== void 0 && (le.clearInterval(this.#d), this.#d = void 0);
}
createResult(e, t) {
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
if (t._optimisticResults) {
- let i = this.hasListeners(), a = !i && it(e, t), o = i && ot(e, n, t, r);
+ let i = this.hasListeners(), a = !i && at(e, t), o = i && st(e, n, t, r);
(a || o) && (l = {
...l,
- ...$e(c.data, e.options)
+ ...et(c.data, e.options)
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
}
let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -1228,12 +1228,12 @@ var nt = class extends Ie {
let h = !1;
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
let e;
- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = Ee(i?.data, e, t), u = !0);
+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = De(i?.data, e, t), u = !0);
}
if (t.select && d !== void 0 && !h) {
if (i && d === a?.data && t.select === this.#s) d = this.#c;
else try {
- this.#s = t.select, d = t.select(d), d = Ee(i?.data, d, t), this.#c = d, this.#o = null;
+ this.#s = t.select, d = t.select(d), d = De(i?.data, d, t), this.#c = d, this.#o = null;
} catch (e) {
this.#o = e;
}
@@ -1263,14 +1263,14 @@ var nt = class extends Ie {
isPaused: l.fetchStatus === "paused",
isPlaceholderData: u,
isRefetchError: v && b,
- isStale: st(e, t),
+ isStale: ct(e, t),
refetch: this.refetch,
- isEnabled: pe(t.enabled, e) !== !1
+ isEnabled: me(t.enabled, e) !== !1
};
}
updateResult() {
let e = this.#r, t = this.createResult(this.#t, this.options);
- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), xe(t, e)) return;
+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), Se(t, e)) return;
this.#r = t;
let n = (() => {
if (!e) return !0;
@@ -1282,7 +1282,7 @@ var nt = class extends Ie {
return this.#r[n] !== e[n] && r.has(n);
});
})();
- Be.batch(() => {
+ Ve.batch(() => {
n && this.listeners.forEach((e) => {
e(this.#r);
}), this.#e.getQueryCache().notify({
@@ -1301,28 +1301,28 @@ var nt = class extends Ie {
this.updateResult(), this.hasListeners() && this.#y();
}
};
-function rt(e, t) {
- return pe(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || pe(t.retryOnMount, e) !== !1);
-}
function it(e, t) {
- return rt(e, t) || e.state.data !== void 0 && at(e, t, t.refetchOnMount);
+ return me(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || me(t.retryOnMount, e) !== !1);
}
-function at(e, t, n) {
- if (pe(t.enabled, e) !== !1 && pe(t.staleTime, e) !== "static") {
- let r = pe(n, e);
- return r === "always" || r !== !1 && st(e, t);
+function at(e, t) {
+ return it(e, t) || e.state.data !== void 0 && ot(e, t, t.refetchOnMount);
+}
+function ot(e, t, n) {
+ if (me(t.enabled, e) !== !1 && me(t.staleTime, e) !== "static") {
+ let r = me(n, e);
+ return r === "always" || r !== !1 && ct(e, t);
}
return !1;
}
-function ot(e, t, n, r) {
- return (e !== t || pe(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && st(e, n);
+function st(e, t, n, r) {
+ return (e !== t || me(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && ct(e, n);
}
-function st(e, t) {
- return pe(t.enabled, e) !== !1 && e.isStaleByTime(pe(t.staleTime, e));
+function ct(e, t) {
+ return me(t.enabled, e) !== !1 && e.isStaleByTime(me(t.staleTime, e));
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js
-var ct = class extends nt {
+var lt = class extends rt {
constructor(e, t) {
super(e, t);
}
@@ -1353,8 +1353,8 @@ var ct = class extends nt {
...r,
fetchNextPage: this.fetchNextPage,
fetchPreviousPage: this.fetchPreviousPage,
- hasNextPage: Xe(t, n.data),
- hasPreviousPage: Ze(t, n.data),
+ hasNextPage: Ze(t, n.data),
+ hasPreviousPage: Qe(t, n.data),
isFetchNextPageError: l,
isFetchingNextPage: u,
isFetchPreviousPageError: d,
@@ -1363,13 +1363,13 @@ var ct = class extends nt {
isRefetching: a && !u && !f
};
}
-}, lt = class extends Ke {
+}, ut = class extends qe {
#e;
#t;
#n;
#r;
constructor(e) {
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || ut(), this.setOptions(e.options), this.scheduleGc();
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || dt(), this.setOptions(e.options), this.scheduleGc();
}
setOptions(e) {
this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1404,7 +1404,7 @@ var ct = class extends nt {
client: this.#e,
meta: this.options.meta,
mutationKey: this.options.mutationKey
- }, r = this.#r = Ge({
+ }, r = this.#r = Ke({
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
onFail: (e, t) => {
this.#i({
@@ -1520,7 +1520,7 @@ var ct = class extends nt {
};
}
};
- this.state = t(this.state), Be.batch(() => {
+ this.state = t(this.state), Ve.batch(() => {
this.#t.forEach((t) => {
t.onMutationUpdate(e);
}), this.#n.notify({
@@ -1531,7 +1531,7 @@ var ct = class extends nt {
});
}
};
-function ut() {
+function dt() {
return {
context: void 0,
data: void 0,
@@ -1546,7 +1546,7 @@ function ut() {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
-var dt = class extends Ie {
+var ft = class extends Le {
#e;
#t;
#n;
@@ -1554,7 +1554,7 @@ var dt = class extends Ie {
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
}
build(e, t, n) {
- let r = new lt({
+ let r = new ut({
client: e,
mutationCache: this,
mutationId: ++this.#n,
@@ -1565,7 +1565,7 @@ var dt = class extends Ie {
}
add(e) {
this.#e.add(e);
- let t = ft(e);
+ let t = pt(e);
if (typeof t == "string") {
let n = this.#t.get(t);
n ? n.push(e) : this.#t.set(t, [e]);
@@ -1577,7 +1577,7 @@ var dt = class extends Ie {
}
remove(e) {
if (this.#e.delete(e)) {
- let t = ft(e);
+ let t = pt(e);
if (typeof t == "string") {
let n = this.#t.get(t);
if (n) {
@@ -1594,7 +1594,7 @@ var dt = class extends Ie {
});
}
canRun(e) {
- let t = ft(e);
+ let t = pt(e);
if (typeof t == "string") {
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
return !n || n === e;
@@ -1602,11 +1602,11 @@ var dt = class extends Ie {
return !0;
}
runNext(e) {
- let t = ft(e);
+ let t = pt(e);
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
}
clear() {
- Be.batch(() => {
+ Ve.batch(() => {
this.#e.forEach((e) => {
this.notify({
type: "removed",
@@ -1623,13 +1623,13 @@ var dt = class extends Ie {
exact: !0,
...e
};
- return this.getAll().find((e) => he(t, e));
+ return this.getAll().find((e) => ge(t, e));
}
findAll(e = {}) {
- return this.getAll().filter((t) => he(e, t));
+ return this.getAll().filter((t) => ge(e, t));
}
notify(e) {
- Be.batch(() => {
+ Ve.batch(() => {
this.listeners.forEach((t) => {
t(e);
});
@@ -1637,15 +1637,15 @@ var dt = class extends Ie {
}
resumePausedMutations() {
let e = this.getAll().filter((e) => e.state.isPaused);
- return Be.batch(() => Promise.all(e.map((e) => e.continue().catch(R))));
+ return Ve.batch(() => Promise.all(e.map((e) => e.continue().catch(z))));
}
};
-function ft(e) {
+function pt(e) {
return e.options.scope?.id;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
-var pt = class extends Ie {
+var mt = class extends Le {
#e;
#t = void 0;
#n;
@@ -1658,11 +1658,11 @@ var pt = class extends Ie {
}
setOptions(e) {
let t = this.options;
- this.options = this.#e.defaultMutationOptions(e), xe(this.options, t) || this.#e.getMutationCache().notify({
+ this.options = this.#e.defaultMutationOptions(e), Se(this.options, t) || this.#e.getMutationCache().notify({
type: "observerOptionsUpdated",
mutation: this.#n,
observer: this
- }), t?.mutationKey && this.options.mutationKey && _e(t.mutationKey) !== _e(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
+ }), t?.mutationKey && this.options.mutationKey && ve(t.mutationKey) !== ve(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
}
onSubscribe() {
this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());
@@ -1683,7 +1683,7 @@ var pt = class extends Ie {
return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
}
#i() {
- let e = this.#n?.state ?? ut();
+ let e = this.#n?.state ?? dt();
this.#t = {
...e,
isPending: e.status === "pending",
@@ -1695,7 +1695,7 @@ var pt = class extends Ie {
};
}
#a(e) {
- Be.batch(() => {
+ Ve.batch(() => {
if (this.#r && this.hasListeners()) {
let t = this.#t.variables, n = this.#t.context, r = {
client: this.#e,
@@ -1731,14 +1731,14 @@ var pt = class extends Ie {
});
});
}
-}, mt = class extends Ie {
+}, ht = class extends Le {
#e;
constructor(e = {}) {
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
}
build(e, t, n) {
- let r = t.queryKey, i = t.queryHash ?? ge(r, t), a = this.get(i);
- return a || (a = new Qe({
+ let r = t.queryKey, i = t.queryHash ?? _e(r, t), a = this.get(i);
+ return a || (a = new $e({
client: e,
queryKey: r,
queryHash: i,
@@ -1760,7 +1760,7 @@ var pt = class extends Ie {
}));
}
clear() {
- Be.batch(() => {
+ Ve.batch(() => {
this.getAll().forEach((e) => {
this.remove(e);
});
@@ -1777,34 +1777,34 @@ var pt = class extends Ie {
exact: !0,
...e
};
- return this.getAll().find((e) => me(t, e));
+ return this.getAll().find((e) => he(t, e));
}
findAll(e = {}) {
let t = this.getAll();
- return Object.keys(e).length > 0 ? t.filter((t) => me(e, t)) : t;
+ return Object.keys(e).length > 0 ? t.filter((t) => he(e, t)) : t;
}
notify(e) {
- Be.batch(() => {
+ Ve.batch(() => {
this.listeners.forEach((t) => {
t(e);
});
});
}
onFocus() {
- Be.batch(() => {
+ Ve.batch(() => {
this.getAll().forEach((e) => {
e.onFocus();
});
});
}
onOnline() {
- Be.batch(() => {
+ Ve.batch(() => {
this.getAll().forEach((e) => {
e.onOnline();
});
});
}
-}, ht = class {
+}, gt = class {
#e;
#t;
#n;
@@ -1814,12 +1814,12 @@ var pt = class extends Ie {
#o;
#s;
constructor(e = {}) {
- this.#e = e.queryCache || new mt(), this.#t = e.mutationCache || new dt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
+ this.#e = e.queryCache || new ht(), this.#t = e.mutationCache || new ft(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
}
mount() {
- this.#a++, this.#a === 1 && (this.#o = Le.subscribe(async (e) => {
+ this.#a++, this.#a === 1 && (this.#o = Re.subscribe(async (e) => {
e && (await this.resumePausedMutations(), this.#e.onFocus());
- }), this.#s = Ve.subscribe(async (e) => {
+ }), this.#s = He.subscribe(async (e) => {
e && (await this.resumePausedMutations(), this.#e.onOnline());
}));
}
@@ -1844,20 +1844,20 @@ var pt = class extends Ie {
}
ensureQueryData(e) {
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(pe(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(me(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
}
getQueriesData(e) {
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
}
setQueryData(e, t, n) {
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = z(t, i);
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = de(t, i);
if (a !== void 0) return this.#e.build(this, r).setData(a, {
...n,
manual: !0
});
}
setQueriesData(e, t, n) {
- return Be.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
+ return Ve.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
}
getQueryState(e) {
let t = this.defaultQueryOptions({ queryKey: e });
@@ -1865,7 +1865,7 @@ var pt = class extends Ie {
}
removeQueries(e) {
let t = this.#e;
- Be.batch(() => {
+ Ve.batch(() => {
t.findAll(e).forEach((e) => {
t.remove(e);
});
@@ -1873,7 +1873,7 @@ var pt = class extends Ie {
}
resetQueries(e, t) {
let n = this.#e;
- return Be.batch(() => {
+ return Ve.batch(() => {
let r = n.findAll(e), i = new Set(r);
return r.forEach((e) => {
e.reset();
@@ -1887,11 +1887,11 @@ var pt = class extends Ie {
let n = {
revert: !0,
...t
- }, r = Be.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
- return Promise.all(r).then(R).catch(R);
+ }, r = Ve.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
+ return Promise.all(r).then(z).catch(z);
}
invalidateQueries(e, t = {}) {
- return Be.batch(() => (this.#e.findAll(e).forEach((e) => {
+ return Ve.batch(() => (this.#e.findAll(e).forEach((e) => {
e.invalidate();
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
...e,
@@ -1902,26 +1902,26 @@ var pt = class extends Ie {
let n = {
...t,
cancelRefetch: t.cancelRefetch ?? !0
- }, r = Be.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
+ }, r = Ve.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
let t = e.fetch(void 0, n);
- return n.throwOnError || (t = t.catch(R)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
+ return n.throwOnError || (t = t.catch(z)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
}));
- return Promise.all(r).then(R);
+ return Promise.all(r).then(z);
}
async query(e) {
let t = this.defaultQueryOptions(e);
t.retry === void 0 && (t.retry = !1);
- let n = this.#e.build(this, t), r = n.isStaleByTime(pe(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
+ let n = this.#e.build(this, t), r = n.isStaleByTime(me(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
return i ? i(r) : r;
}
fetchQuery(e) {
let t = this.defaultQueryOptions(e);
t.retry === void 0 && (t.retry = !1);
let n = this.#e.build(this, t);
- return n.isStaleByTime(pe(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
+ return n.isStaleByTime(me(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
}
prefetchQuery(e) {
- return this.fetchQuery(e).then(R).catch(R);
+ return this.fetchQuery(e).then(z).catch(z);
}
infiniteQuery(e) {
return e._type = "infinite", this.query(e);
@@ -1930,13 +1930,13 @@ var pt = class extends Ie {
return e._type = "infinite", this.fetchQuery(e);
}
prefetchInfiniteQuery(e) {
- return this.fetchInfiniteQuery(e).then(R).catch(R);
+ return this.fetchInfiniteQuery(e).then(z).catch(z);
}
ensureInfiniteQueryData(e) {
return e._type = "infinite", this.ensureQueryData(e);
}
resumePausedMutations() {
- return Ve.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
+ return He.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
}
getQueryCache() {
return this.#e;
@@ -1951,7 +1951,7 @@ var pt = class extends Ie {
this.#n = e;
}
setQueryDefaults(e, t) {
- this.#r.set(_e(e), {
+ this.#r.set(ve(e), {
queryKey: e,
defaultOptions: t
});
@@ -1959,11 +1959,11 @@ var pt = class extends Ie {
getQueryDefaults(e) {
let t = [...this.#r.values()], n = {};
return t.forEach((t) => {
- ve(e, t.queryKey) && Object.assign(n, t.defaultOptions);
+ ye(e, t.queryKey) && Object.assign(n, t.defaultOptions);
}), n;
}
setMutationDefaults(e, t) {
- this.#i.set(_e(e), {
+ this.#i.set(ve(e), {
mutationKey: e,
defaultOptions: t
});
@@ -1971,7 +1971,7 @@ var pt = class extends Ie {
getMutationDefaults(e) {
let t = [...this.#i.values()], n = {};
return t.forEach((t) => {
- ve(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
+ ye(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
}), n;
}
defaultQueryOptions(e) {
@@ -1982,7 +1982,7 @@ var pt = class extends Ie {
...e,
_defaulted: !0
};
- return t.queryHash ||= ge(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Ae && (t.enabled = !1), t;
+ return t.queryHash ||= _e(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === je && (t.enabled = !1), t;
}
defaultMutationOptions(e) {
return e?._defaulted ? e : {
@@ -1995,11 +1995,11 @@ var pt = class extends Ie {
clear() {
this.#e.clear(), this.#t.clear();
}
-}, gt = I.createContext(!1), _t = () => I.useContext(gt);
-gt.Provider;
+}, _t = I.createContext(!1), vt = () => I.useContext(_t);
+_t.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function vt() {
+function yt() {
let e = !1;
return {
clearReset: () => {
@@ -2011,34 +2011,34 @@ function vt() {
isReset: () => e
};
}
-var yt = I.createContext(vt()), bt = () => I.useContext(yt), xt = (e, t, n) => {
- let r = n?.state.error && typeof e.throwOnError == "function" ? Me(e.throwOnError, [n.state.error, n]) : e.throwOnError;
+var bt = I.createContext(yt()), xt = () => I.useContext(bt), St = (e, t, n) => {
+ let r = n?.state.error && typeof e.throwOnError == "function" ? Ne(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, St = (e) => {
+}, Ct = (e) => {
I.useEffect(() => {
e.clearReset();
}, [e]);
-}, Ct = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Me(n, [e.error, r])), wt = (e) => {
+}, wt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Ne(n, [e.error, r])), Tt = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, Tt = (e, t) => e?.suspense && t.isPending, Et = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, Et = (e, t) => e?.suspense && t.isPending, Dt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function Dt(e, t, n) {
- let r = _t(), i = bt(), a = ae(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, wt(o), xt(o, i, s), St(i);
+function Ot(e, t, n) {
+ let r = vt(), i = xt(), a = oe(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, Tt(o), St(o, i, s), Ct(i);
let [l] = I.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
if (I.useSyncExternalStore(I.useCallback((e) => {
- let t = d ? l.subscribe(Be.batchCalls(e)) : R;
+ let t = d ? l.subscribe(Ve.batchCalls(e)) : z;
return l.updateResult(), t;
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), I.useEffect(() => {
l.setOptions(o);
- }, [o, l]), Tt(o, u)) throw Et(o, l, i);
- if (Ct({
+ }, [o, l]), Et(o, u)) throw Dt(o, l, i);
+ if (wt({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -2049,20 +2049,20 @@ function Dt(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function Ot(e, t) {
- return Dt(e, nt, t);
+function kt(e, t) {
+ return Ot(e, rt, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function kt(e, t) {
- let n = ae(t), [r] = I.useState(() => new pt(n, e));
+function At(e, t) {
+ let n = oe(t), [r] = I.useState(() => new mt(n, e));
I.useEffect(() => {
r.setOptions(e);
}, [r, e]);
- let i = I.useSyncExternalStore(I.useCallback((e) => r.subscribe(Be.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = I.useCallback((...e) => {
- r.mutate(e[0], e[1]).catch(R);
+ let i = I.useSyncExternalStore(I.useCallback((e) => r.subscribe(Ve.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = I.useCallback((...e) => {
+ r.mutate(e[0], e[1]).catch(z);
}, [r]);
- if (i.error && Me(r.options.throwOnError, [i.error])) throw i.error;
+ if (i.error && Ne(r.options.throwOnError, [i.error])) throw i.error;
return {
...i,
mutate: a,
@@ -2071,51 +2071,51 @@ function kt(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function At(e, t) {
- return Dt(e, ct, t);
+function jt(e, t) {
+ return Ot(e, lt, t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
-var jt = (0, I.createContext)({});
+var Mt = (0, I.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function Mt(e) {
+function Nt(e) {
let t = (0, I.useRef)(null);
return t.current === null && (t.current = e()), t.current;
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
-var Nt = typeof window < "u" ? I.useLayoutEffect : I.useEffect, Pt = /* @__PURE__ */ (0, I.createContext)(null);
+var Pt = typeof window < "u" ? I.useLayoutEffect : I.useEffect, Ft = /* @__PURE__ */ (0, I.createContext)(null);
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function Ft(e, t) {
+function It(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function It(e, t) {
+function Lt(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var Lt = (e, t, n) => n > t ? t : n < e ? e : n, Rt = {}, zt = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Bt = (e) => typeof e == "object" && !!e, Vt = (e) => /^0[^.\s]+$/u.test(e);
+var Rt = (e, t, n) => n > t ? t : n < e ? e : n, zt = {}, Bt = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Vt = (e) => typeof e == "object" && !!e, Ht = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function Ht(e) {
+function Ut(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var Ut = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Wt = (...e) => e.reduce((e, t) => (n) => t(e(n))), Gt = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var Wt = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Gt = (...e) => e.reduce((e, t) => (n) => t(e(n))), Kt = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, Kt = class {
+}, qt = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return Ft(this.subscriptions, e), () => It(this.subscriptions, e);
+ return It(this.subscriptions, e), () => Lt(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -2133,42 +2133,42 @@ var Ut = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Wt = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, qt = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Jt = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Yt = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Xt = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Zt = 1e-7, Qt = 12;
-function $t(e, t, n, r, i) {
+}, Jt = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Yt = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Xt = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Zt = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Qt = 1e-7, $t = 12;
+function en(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = Xt(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > Zt && ++s < Qt);
+ o = t + (n - t) / 2, a = Zt(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > Qt && ++s < $t);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function en(e, t, n, r) {
- if (e === t && n === r) return Ut;
- let i = (t) => $t(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : Xt(i(e), t, r);
+function tn(e, t, n, r) {
+ if (e === t && n === r) return Wt;
+ let i = (t) => en(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : Zt(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var tn = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, nn = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), rn = /*@__PURE__*/ en(.33, 1.53, .69, .99), an = /*@__PURE__*/ nn(rn), on = /*@__PURE__*/ tn(an), sn = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * an(e) : .5 * (2 - 2 ** (-10 * (e - 1))), cn = (e) => 1 - Math.sin(Math.acos(e)), ln = /* @__PURE__ */ nn(cn), un = /* @__PURE__ */ tn(cn), dn = /*@__PURE__*/ en(.42, 0, 1, 1), fn = /*@__PURE__*/ en(0, 0, .58, 1), pn = /*@__PURE__*/ en(.42, 0, .58, 1), mn = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", hn = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", gn = {
- linear: Ut,
- easeIn: dn,
- easeInOut: pn,
- easeOut: fn,
- circIn: cn,
- circInOut: un,
- circOut: ln,
- backIn: an,
- backInOut: on,
- backOut: rn,
- anticipate: sn
-}, _n = (e) => typeof e == "string", vn = (e) => {
- if (/* @__PURE__ */ hn(e)) {
+var nn = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, rn = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), an = /*@__PURE__*/ tn(.33, 1.53, .69, .99), on = /*@__PURE__*/ rn(an), sn = /*@__PURE__*/ nn(on), cn = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * on(e) : .5 * (2 - 2 ** (-10 * (e - 1))), ln = (e) => 1 - Math.sin(Math.acos(e)), un = /* @__PURE__ */ rn(ln), dn = /* @__PURE__ */ nn(ln), fn = /*@__PURE__*/ tn(.42, 0, 1, 1), pn = /*@__PURE__*/ tn(0, 0, .58, 1), mn = /*@__PURE__*/ tn(.42, 0, .58, 1), hn = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", gn = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", _n = {
+ linear: Wt,
+ easeIn: fn,
+ easeInOut: mn,
+ easeOut: pn,
+ circIn: ln,
+ circInOut: dn,
+ circOut: un,
+ backIn: on,
+ backInOut: sn,
+ backOut: an,
+ anticipate: cn
+}, vn = (e) => typeof e == "string", yn = (e) => {
+ if (/* @__PURE__ */ gn(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ en(t, n, r, i);
+ return /* @__PURE__ */ tn(t, n, r, i);
}
- return _n(e) ? (gn[e], `${e}`, gn[e]) : e;
-}, yn = [
+ return vn(e) ? (_n[e], `${e}`, _n[e]) : e;
+}, bn = [
"setup",
"read",
"resolveKeyframes",
@@ -2180,7 +2180,7 @@ var tn = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 -
];
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
-function bn(e) {
+function xn(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
delta: 0,
timestamp: 0,
@@ -2211,25 +2211,25 @@ function bn(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var xn = 40;
-function Sn(e, t) {
+var Sn = 40;
+function Cn(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = yn.reduce((e, t) => (e[t] = bn(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = Rt.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, xn), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
+ }, a = () => n = !0, o = bn.reduce((e, t) => (e[t] = xn(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = zt.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Sn), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
}, g = () => {
n = !0, r = !0, i.isProcessing || e(h);
};
return {
- schedule: yn.reduce((e, t) => {
+ schedule: bn.reduce((e, t) => {
let r = o[t];
return e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i)), e;
}, {}),
cancel: (e) => {
- for (let t = 0; t < yn.length; t++) o[yn[t]].cancel(e);
+ for (let t = 0; t < bn.length; t++) o[bn[t]].cancel(e);
},
state: i,
steps: o
@@ -2237,59 +2237,59 @@ function Sn(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: Cn, cancel: wn, state: Tn, steps: En } = /* @__PURE__ */ Sn(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Ut, !0), Dn;
-function On() {
- Dn = void 0;
+var { schedule: wn, cancel: Tn, state: En, steps: Dn } = /* @__PURE__ */ Cn(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Wt, !0), On;
+function kn() {
+ On = void 0;
}
-var kn = {
- now: () => (Dn === void 0 && kn.set(Tn.isProcessing || Rt.useManualTiming ? Tn.timestamp : performance.now()), Dn),
+var An = {
+ now: () => (On === void 0 && An.set(En.isProcessing || zt.useManualTiming ? En.timestamp : performance.now()), On),
set: (e) => {
- Dn = e, queueMicrotask(On);
+ On = e, queueMicrotask(kn);
}
-}, An = (e) => (t) => typeof t == "string" && t.startsWith(e), jn = /*@__PURE__*/ An("--"), Mn = /*@__PURE__*/ An("var(--"), Nn = (e) => Mn(e) ? Pn.test(e.split("/*")[0].trim()) : !1, Pn = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function Fn(e) {
+}, jn = (e) => (t) => typeof t == "string" && t.startsWith(e), Mn = /*@__PURE__*/ jn("--"), Nn = /*@__PURE__*/ jn("var(--"), Pn = (e) => Nn(e) ? Fn.test(e.split("/*")[0].trim()) : !1, Fn = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function In(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var In = {
+var Ln = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
-}, Ln = {
- ...In,
- transform: (e) => Lt(0, 1, e)
}, Rn = {
- ...In,
+ ...Ln,
+ transform: (e) => Rt(0, 1, e)
+}, zn = {
+ ...Ln,
default: 1
-}, zn = (e) => Math.round(e * 1e5) / 1e5, Bn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, Bn = (e) => Math.round(e * 1e5) / 1e5, Vn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function Vn(e) {
+function Hn(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var Hn = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Un = (e, t) => (n) => !!(typeof n == "string" && Hn.test(n) && n.startsWith(e) || t && !Vn(n) && Object.prototype.hasOwnProperty.call(n, t)), Wn = (e, t, n) => (r) => {
+var Un = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Wn = (e, t) => (n) => !!(typeof n == "string" && Un.test(n) && n.startsWith(e) || t && !Hn(n) && Object.prototype.hasOwnProperty.call(n, t)), Gn = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(Bn);
+ let [i, a, o, s] = r.match(Vn);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, Gn = (e) => Lt(0, 255, e), Kn = {
- ...In,
- transform: (e) => Math.round(Gn(e))
-}, qn = {
- test: /*@__PURE__*/ Un("rgb", "red"),
- parse: /*@__PURE__*/ Wn("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Kn.transform(e) + ", " + Kn.transform(t) + ", " + Kn.transform(n) + ", " + zn(Ln.transform(r)) + ")"
+}, Kn = (e) => Rt(0, 255, e), qn = {
+ ...Ln,
+ transform: (e) => Math.round(Kn(e))
+}, Jn = {
+ test: /*@__PURE__*/ Wn("rgb", "red"),
+ parse: /*@__PURE__*/ Gn("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + qn.transform(e) + ", " + qn.transform(t) + ", " + qn.transform(n) + ", " + Bn(Rn.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function Jn(e) {
+function Yn(e) {
let t = "", n = "", r = "", i = "";
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
red: parseInt(t, 16),
@@ -2298,38 +2298,38 @@ function Jn(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var Yn = {
- test: /*@__PURE__*/ Un("#"),
- parse: Jn,
- transform: qn.transform
-}, Xn = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var Xn = {
+ test: /*@__PURE__*/ Wn("#"),
+ parse: Yn,
+ transform: Jn.transform
+}, Zn = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), Zn = /*@__PURE__*/ Xn("deg"), Qn = /*@__PURE__*/ Xn("%"), B = /*@__PURE__*/ Xn("px"), $n = /*@__PURE__*/ Xn("vh"), er = /*@__PURE__*/ Xn("vw"), tr = {
- ...Qn,
- parse: (e) => Qn.parse(e) / 100,
- transform: (e) => Qn.transform(e * 100)
-}, nr = {
- test: /*@__PURE__*/ Un("hsl", "hue"),
- parse: /*@__PURE__*/ Wn("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Qn.transform(zn(t)) + ", " + Qn.transform(zn(n)) + ", " + zn(Ln.transform(r)) + ")"
+}), Qn = /*@__PURE__*/ Zn("deg"), $n = /*@__PURE__*/ Zn("%"), B = /*@__PURE__*/ Zn("px"), er = /*@__PURE__*/ Zn("vh"), tr = /*@__PURE__*/ Zn("vw"), nr = {
+ ...$n,
+ parse: (e) => $n.parse(e) / 100,
+ transform: (e) => $n.transform(e * 100)
}, rr = {
- test: (e) => qn.test(e) || Yn.test(e) || nr.test(e),
- parse: (e) => qn.test(e) ? qn.parse(e) : nr.test(e) ? nr.parse(e) : Yn.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? qn.transform(e) : nr.transform(e),
+ test: /*@__PURE__*/ Wn("hsl", "hue"),
+ parse: /*@__PURE__*/ Gn("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + $n.transform(Bn(t)) + ", " + $n.transform(Bn(n)) + ", " + Bn(Rn.transform(r)) + ")"
+}, ir = {
+ test: (e) => Jn.test(e) || Xn.test(e) || rr.test(e),
+ parse: (e) => Jn.test(e) ? Jn.parse(e) : rr.test(e) ? rr.parse(e) : Xn.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Jn.transform(e) : rr.transform(e),
getAnimatableNone: (e) => {
- let t = rr.parse(e);
- return t.alpha = 0, rr.transform(t);
+ let t = ir.parse(e);
+ return t.alpha = 0, ir.transform(t);
}
-}, ir = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
+}, ar = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
-function ar(e) {
- return isNaN(e) && typeof e == "string" && (e.match(Bn)?.length || 0) + (e.match(ir)?.length || 0) > 0;
+function or(e) {
+ return isNaN(e) && typeof e == "string" && (e.match(Vn)?.length || 0) + (e.match(ar)?.length || 0) > 0;
}
-var or = "number", sr = "color", cr = "var", lr = "var(", ur = "${}", dr = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
-function fr(e) {
+var sr = "number", cr = "color", lr = "var", ur = "var(", dr = "${}", fr = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
+function pr(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -2337,51 +2337,51 @@ function fr(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(dr, (e) => (rr.test(e) ? (r.color.push(a), i.push(sr), n.push(rr.parse(e))) : e.startsWith(lr) ? (r.var.push(a), i.push(cr), n.push(e)) : (r.number.push(a), i.push(or), n.push(parseFloat(e))), ++a, ur)).split(ur),
+ split: t.replace(fr, (e) => (ir.test(e) ? (r.color.push(a), i.push(cr), n.push(ir.parse(e))) : e.startsWith(ur) ? (r.var.push(a), i.push(lr), n.push(e)) : (r.number.push(a), i.push(sr), n.push(parseFloat(e))), ++a, dr)).split(dr),
indexes: r,
types: i
};
}
-function pr(e) {
- return fr(e).values;
+function mr(e) {
+ return pr(e).values;
}
-function mr({ split: e, types: t }) {
+function hr({ split: e, types: t }) {
let n = e.length;
return (r) => {
let i = "";
for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
let e = t[a];
- i += e === or ? zn(r[a]) : e === sr ? rr.transform(r[a]) : r[a];
+ i += e === sr ? Bn(r[a]) : e === cr ? ir.transform(r[a]) : r[a];
}
return i;
};
}
-function hr(e) {
- return mr(fr(e));
+function gr(e) {
+ return hr(pr(e));
}
-var gr = (e) => typeof e == "number" ? 0 : rr.test(e) ? rr.getAnimatableNone(e) : e, _r = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : gr(e);
-function vr(e) {
- let t = fr(e);
- return mr(t)(t.values.map((e, n) => _r(e, t.split[n])));
+var _r = (e) => typeof e == "number" ? 0 : ir.test(e) ? ir.getAnimatableNone(e) : e, vr = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : _r(e);
+function yr(e) {
+ let t = pr(e);
+ return hr(t)(t.values.map((e, n) => vr(e, t.split[n])));
}
-var yr = {
- test: ar,
- parse: pr,
- createTransformer: hr,
- getAnimatableNone: vr
+var br = {
+ test: or,
+ parse: mr,
+ createTransformer: gr,
+ getAnimatableNone: yr
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function br(e, t, n) {
+function xr(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function xr({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function Sr({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = br(s, r, e + 1 / 3), a = br(s, r, e), o = br(s, r, e - 1 / 3);
+ i = xr(s, r, e + 1 / 3), a = xr(s, r, e), o = xr(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -2392,61 +2392,61 @@ function xr({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function Sr(e, t) {
+function Cr(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var Cr = (e, t, n) => e + (t - e) * n, wr = (e, t, n) => {
+var wr = (e, t, n) => e + (t - e) * n, Tr = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, Tr = [
- Yn,
- qn,
- nr
-], Er = (e) => Tr.find((t) => t.test(e));
-function Dr(e) {
- let t = Er(e);
+}, Er = [
+ Xn,
+ Jn,
+ rr
+], Dr = (e) => Er.find((t) => t.test(e));
+function Or(e) {
+ let t = Dr(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === nr && (n = xr(n)), n;
+ return t === rr && (n = Sr(n)), n;
}
-var Or = (e, t) => {
- let n = Dr(e), r = Dr(t);
- if (!n || !r) return Sr(e, t);
+var kr = (e, t) => {
+ let n = Or(e), r = Or(t);
+ if (!n || !r) return Cr(e, t);
let i = { ...n };
- return (e) => (i.red = wr(n.red, r.red, e), i.green = wr(n.green, r.green, e), i.blue = wr(n.blue, r.blue, e), i.alpha = Cr(n.alpha, r.alpha, e), qn.transform(i));
-}, kr = /* @__PURE__ */ new Set(["none", "hidden"]);
-function Ar(e, t) {
- return kr.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = Tr(n.red, r.red, e), i.green = Tr(n.green, r.green, e), i.blue = Tr(n.blue, r.blue, e), i.alpha = wr(n.alpha, r.alpha, e), Jn.transform(i));
+}, Ar = /* @__PURE__ */ new Set(["none", "hidden"]);
+function jr(e, t) {
+ return Ar.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function jr(e, t) {
- return (n) => Cr(e, t, n);
+function Mr(e, t) {
+ return (n) => wr(e, t, n);
}
-function Mr(e) {
- return typeof e == "number" ? jr : typeof e == "string" ? Nn(e) ? Sr : rr.test(e) ? Or : Ir : Array.isArray(e) ? Nr : typeof e == "object" ? rr.test(e) ? Or : Pr : Sr;
+function Nr(e) {
+ return typeof e == "number" ? Mr : typeof e == "string" ? Pn(e) ? Cr : ir.test(e) ? kr : Lr : Array.isArray(e) ? Pr : typeof e == "object" ? ir.test(e) ? kr : Fr : Cr;
}
-function Nr(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => Mr(e)(e, t[n]));
+function Pr(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => Nr(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function Pr(e, t) {
+function Fr(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Mr(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Nr(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function Fr(e, t) {
+function Ir(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -2458,50 +2458,50 @@ function Fr(e, t) {
}
return n;
}
-var Ir = (e, t) => {
- let n = yr.createTransformer(t), r = fr(e), i = fr(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? kr.has(e) && !i.values.length || kr.has(t) && !r.values.length ? Ar(e, t) : Wt(Nr(Fr(r, i), i.values), n) : (`${e}${t}`, Sr(e, t));
+var Lr = (e, t) => {
+ let n = br.createTransformer(t), r = pr(e), i = pr(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Ar.has(e) && !i.values.length || Ar.has(t) && !r.values.length ? jr(e, t) : Gt(Pr(Ir(r, i), i.values), n) : (`${e}${t}`, Cr(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function Lr(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? Cr(e, t, n) : Mr(e)(e, t);
+function Rr(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? wr(e, t, n) : Nr(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var Rr = (e) => {
+var zr = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => Cn.update(t, e),
- stop: () => wn(t),
- now: () => Tn.isProcessing ? Tn.timestamp : kn.now()
+ start: (e = !0) => wn.update(t, e),
+ stop: () => Tn(t),
+ now: () => En.isProcessing ? En.timestamp : An.now()
};
-}, zr = (e, t, n = 10) => {
+}, Br = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, Br = 2e4;
-function Vr(e) {
+}, Vr = 2e4;
+function Hr(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function Hr(e, t = 100, n) {
+function Ur(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(Vr(r), Br);
+ }), i = Math.min(Hr(r), Vr);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ Jt(i)
+ duration: /* @__PURE__ */ Yt(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var Ur = {
+var Wr = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -2522,31 +2522,31 @@ var Ur = {
minDamping: .05,
maxDamping: 1
};
-function Wr(e, t) {
+function Gr(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var Gr = 12;
-function Kr(e, t, n) {
+var Kr = 12;
+function qr(e, t, n) {
let r = n;
- for (let n = 1; n < Gr; n++) r -= e(r) / t(r);
+ for (let n = 1; n < Kr; n++) r -= e(r) / t(r);
return r;
}
-var qr = .001;
-function Jr({ duration: e = Ur.duration, bounce: t = Ur.bounce, velocity: n = Ur.velocity, mass: r = Ur.mass }) {
+var Jr = .001;
+function Yr({ duration: e = Wr.duration, bounce: t = Wr.bounce, velocity: n = Wr.velocity, mass: r = Wr.mass }) {
let i, a;
- Ur.maxDuration;
+ Wr.maxDuration;
let o = 1 - t;
- o = Lt(Ur.minDamping, Ur.maxDamping, o), e = Lt(Ur.minDuration, Ur.maxDuration, /* @__PURE__ */ Jt(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = Wr(t, o), c = Math.exp(-i);
- return qr - a / s * c;
+ o = Rt(Wr.minDamping, Wr.maxDamping, o), e = Rt(Wr.minDuration, Wr.maxDuration, /* @__PURE__ */ Yt(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = Gr(t, o), c = Math.exp(-i);
+ return Jr - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = Wr(t ** 2, o);
- return (-i(t) + qr > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = Gr(t ** 2, o);
+ return (-i(t) + Jr > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = Kr(i, a, s);
- if (e = /* @__PURE__ */ qt(e), isNaN(c)) return {
- stiffness: Ur.stiffness,
- damping: Ur.damping,
+ let s = 5 / e, c = qr(i, a, s);
+ if (e = /* @__PURE__ */ Jt(e), isNaN(c)) return {
+ stiffness: Wr.stiffness,
+ damping: Wr.damping,
duration: e
};
{
@@ -2558,47 +2558,47 @@ function Jr({ duration: e = Ur.duration, bounce: t = Ur.bounce, velocity: n = Ur
};
}
}
-var Yr = ["duration", "bounce"], Xr = [
+var Xr = ["duration", "bounce"], Zr = [
"stiffness",
"damping",
"mass"
];
-function Zr(e, t) {
+function Qr(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function Qr(e) {
+function $r(e) {
let t = {
- velocity: Ur.velocity,
- stiffness: Ur.stiffness,
- damping: Ur.damping,
- mass: Ur.mass,
+ velocity: Wr.velocity,
+ stiffness: Wr.stiffness,
+ damping: Wr.damping,
+ mass: Wr.mass,
isResolvedFromDuration: !1,
...e
};
- if (!Zr(e, Xr) && Zr(e, Yr)) {
+ if (!Qr(e, Zr) && Qr(e, Xr)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * Lt(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * Rt(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: Ur.mass,
+ mass: Wr.mass,
stiffness: i,
damping: a
};
} else {
- let n = Jr({
+ let n = Yr({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: Ur.mass
+ mass: Wr.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function $r(e = Ur.visualDuration, t = Ur.bounce) {
+function ei(e = Wr.visualDuration, t = Wr.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -2606,13 +2606,13 @@ function $r(e = Ur.visualDuration, t = Ur.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = Qr({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = $r({
...n,
- velocity: -/* @__PURE__ */ Jt(n.velocity || 0)
- }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ Jt(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? Ur.restSpeed.granular : Ur.restSpeed.default, i ||= v ? Ur.restDelta.granular : Ur.restDelta.default;
+ velocity: -/* @__PURE__ */ Yt(n.velocity || 0)
+ }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ Yt(Math.sqrt(c / u)), v = Math.abs(g) < 5;
+ r ||= v ? Wr.restSpeed.granular : Wr.restSpeed.default, i ||= v ? Wr.restDelta.granular : Wr.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = Wr(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = Gr(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -2634,42 +2634,42 @@ function $r(e = Ur.visualDuration, t = Ur.bounce) {
}
let T = {
calculatedDuration: p && d || null,
- velocity: (e) => /* @__PURE__ */ qt(b(e)),
+ velocity: (e) => /* @__PURE__ */ Jt(b(e)),
next: (e) => {
if (!p && h < 1) {
- let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ qt(t * (C * n + w * a));
+ let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ Jt(t * (C * n + w * a));
return s.done = Math.abs(l) <= r && Math.abs(o - c) <= i, s.value = s.done ? o : c, s;
}
let t = y(e);
if (p) s.done = e >= d;
else {
- let n = /* @__PURE__ */ qt(b(e));
+ let n = /* @__PURE__ */ Jt(b(e));
s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
}
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(Vr(T), Br), t = zr((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(Hr(T), Vr), t = Br((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-$r.applyToOptions = (e) => {
- let t = Hr(e, 100, $r);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ qt(t.duration), e.type = "keyframes", e;
+ei.applyToOptions = (e) => {
+ let t = Ur(e, 100, ei);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Jt(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var ei = 5;
-function ti(e, t, n) {
- let r = Math.max(t - ei, 0);
- return /* @__PURE__ */ Yt(n - e(r), t - r);
+var ti = 5;
+function ni(e, t, n) {
+ let r = Math.max(t - ti, 0);
+ return /* @__PURE__ */ Xt(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function ni({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function ri({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -2679,9 +2679,9 @@ function ni({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = $r({
+ p(f.value) && (x = e, S = ei({
keyframes: [f.value, m(f.value)],
- velocity: ti(y, e, f.value),
+ velocity: ni(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -2698,59 +2698,59 @@ function ni({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function ri(e, t, n) {
- let r = [], i = n || Rt.mix || Lr, a = e.length - 1;
+function ii(e, t, n) {
+ let r = [], i = n || zt.mix || Rr, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = Wt(Array.isArray(t) ? t[n] || Ut : t, a)), r.push(a);
+ t && (a = Gt(Array.isArray(t) ? t[n] || Wt : t, a)), r.push(a);
}
return r;
}
-function ii(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function ai(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = ri(t, r, i), c = s.length, l = (n) => {
+ let s = ii(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
- let i = /* @__PURE__ */ Gt(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ Kt(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(Lt(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(Rt(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function ai(e, t) {
+function oi(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ Gt(0, t, r);
- e.push(Cr(n, 1, i));
+ let i = /* @__PURE__ */ Kt(0, t, r);
+ e.push(wr(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function oi(e) {
+function si(e) {
let t = [0];
- return ai(t, e.length - 1), t;
+ return oi(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function si(e, t) {
+function ci(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function ci(e, t) {
- return e.map(() => t || pn).splice(0, e.length - 1);
+function li(e, t) {
+ return e.map(() => t || mn).splice(0, e.length - 1);
}
-function li({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ mn(r) ? r.map(vn) : vn(r), a = {
+function ui({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ hn(r) ? r.map(yn) : yn(r), a = {
done: !1,
value: t[0]
- }, o = ii(si(n && n.length === t.length ? n : oi(t), e), t, { ease: Array.isArray(i) ? i : ci(t, i) });
+ }, o = ai(ci(n && n.length === t.length ? n : si(t), e), t, { ease: Array.isArray(i) ? i : li(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -2758,26 +2758,26 @@ function li({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var ui = (e) => e !== null;
-function di(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(ui), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var di = (e) => e !== null;
+function fi(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(di), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var fi = {
- decay: ni,
- inertia: ni,
- tween: li,
- keyframes: li,
- spring: $r
+var pi = {
+ decay: ri,
+ inertia: ri,
+ tween: ui,
+ keyframes: ui,
+ spring: ei
};
-function pi(e) {
- typeof e.type == "string" && (e.type = fi[e.type]);
+function mi(e) {
+ typeof e.type == "string" && (e.type = pi[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var mi = class {
+var hi = class {
constructor() {
this.updateFinished();
}
@@ -2795,21 +2795,21 @@ var mi = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, hi = (e) => e / 100, gi = class extends mi {
+}, gi = (e) => e / 100, _i = class extends hi {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
value: void 0
}, this.stop = () => {
let { motionValue: e } = this.options;
- e && e.updatedAt !== kn.now() && this.tick(kn.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ e && e.updatedAt !== An.now() && this.tick(An.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
}
initAnimation() {
let { options: e } = this;
- pi(e);
- let { type: t = li, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || li;
- s !== li && typeof o[0] != "number" && (this.mixKeyframes = Wt(hi, Lr(o[0], o[1])), o = [0, 100]);
+ mi(e);
+ let { type: t = ui, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || ui;
+ s !== ui && typeof o[0] != "number" && (this.mixKeyframes = Gt(gi, Rr(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -2818,7 +2818,7 @@ var mi = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = Vr(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = Hr(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -2836,54 +2836,54 @@ var mi = class {
let v = this.currentTime, y = n;
if (u) {
let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
- !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = Lt(0, 1, n) * o;
+ !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = Rt(0, 1, n) * o;
}
let b;
_ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== ni && (b.value = di(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== ri && (b.value = fi(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
}
get duration() {
- return /* @__PURE__ */ Jt(this.calculatedDuration);
+ return /* @__PURE__ */ Yt(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ Jt(e);
+ return this.duration + /* @__PURE__ */ Yt(e);
}
get time() {
- return /* @__PURE__ */ Jt(this.currentTime);
+ return /* @__PURE__ */ Yt(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ qt(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
+ e = /* @__PURE__ */ Jt(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
let e = this.currentTime;
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return ti((e) => this.generator.next(e).value, e, t);
+ return ni((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(kn.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Jt(this.currentTime));
+ t && this.driver && this.updateTime(An.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Yt(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = Rr, startTime: t } = this.options;
+ let { driver: e = zr, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
}
pause() {
- this.state = "paused", this.updateTime(kn.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(An.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -2909,12 +2909,12 @@ var mi = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function _i(e) {
+function vi(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var vi = (e) => e * 180 / Math.PI, yi = (e) => xi(vi(Math.atan2(e[1], e[0]))), bi = {
+var yi = (e) => e * 180 / Math.PI, bi = (e) => Si(yi(Math.atan2(e[1], e[0]))), xi = {
x: 4,
y: 5,
translateX: 4,
@@ -2922,54 +2922,54 @@ var vi = (e) => e * 180 / Math.PI, yi = (e) => xi(vi(Math.atan2(e[1], e[0]))), b
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: yi,
- rotateZ: yi,
- skewX: (e) => vi(Math.atan(e[1])),
- skewY: (e) => vi(Math.atan(e[2])),
+ rotate: bi,
+ rotateZ: bi,
+ skewX: (e) => yi(Math.atan(e[1])),
+ skewY: (e) => yi(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, xi = (e) => (e %= 360, e < 0 && (e += 360), e), Si = yi, Ci = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), wi = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Ti = {
+}, Si = (e) => (e %= 360, e < 0 && (e += 360), e), Ci = bi, wi = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Ti = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Ei = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Ci,
- scaleY: wi,
- scale: (e) => (Ci(e) + wi(e)) / 2,
- rotateX: (e) => xi(vi(Math.atan2(e[6], e[5]))),
- rotateY: (e) => xi(vi(Math.atan2(-e[2], e[0]))),
- rotateZ: Si,
- rotate: Si,
- skewX: (e) => vi(Math.atan(e[4])),
- skewY: (e) => vi(Math.atan(e[1])),
+ scaleX: wi,
+ scaleY: Ti,
+ scale: (e) => (wi(e) + Ti(e)) / 2,
+ rotateX: (e) => Si(yi(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => Si(yi(Math.atan2(-e[2], e[0]))),
+ rotateZ: Ci,
+ rotate: Ci,
+ skewX: (e) => yi(Math.atan(e[4])),
+ skewY: (e) => yi(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Ei(e) {
+function Di(e) {
return +!!e.includes("scale");
}
-function Di(e, t) {
- if (!e || e === "none") return Ei(t);
+function Oi(e, t) {
+ if (!e || e === "none") return Di(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = Ti, i = n;
+ if (n) r = Ei, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = bi, i = t;
+ r = xi, i = t;
}
- if (!i) return Ei(t);
- let a = r[t], o = i[1].split(",").map(ki);
+ if (!i) return Di(t);
+ let a = r[t], o = i[1].split(",").map(Ai);
return typeof a == "function" ? a(o) : o[a];
}
-var Oi = (e, t) => {
+var ki = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return Di(n, t);
+ return Oi(n, t);
};
-function ki(e) {
+function Ai(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var Ai = [
+var ji = [
"transformPerspective",
"x",
"y",
@@ -2987,19 +2987,19 @@ var Ai = [
"skew",
"skewX",
"skewY"
-], ji = /* @__PURE__ */ new Set([...Ai, "pathRotation"]), Mi = (e) => e === In || e === B, Ni = /* @__PURE__ */ new Set([
+], Mi = /* @__PURE__ */ new Set([...ji, "pathRotation"]), Ni = (e) => e === Ln || e === B, Pi = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), Pi = Ai.filter((e) => !Ni.has(e));
-function Fi(e) {
+]), Fi = ji.filter((e) => !Pi.has(e));
+function Ii(e) {
let t = [];
- return Pi.forEach((n) => {
+ return Fi.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var Ii = {
+var Li = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -3012,18 +3012,18 @@ var Ii = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => Di(t, "x"),
- y: (e, { transform: t }) => Di(t, "y")
+ x: (e, { transform: t }) => Oi(t, "x"),
+ y: (e, { transform: t }) => Oi(t, "y")
};
-Ii.translateX = Ii.x, Ii.translateY = Ii.y;
+Li.translateX = Li.x, Li.translateY = Li.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var Li = /* @__PURE__ */ new Set(), Ri = !1, zi = !1, Bi = !1;
-function Vi() {
- if (zi) {
- let e = Array.from(Li).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var Ri = /* @__PURE__ */ new Set(), zi = !1, Bi = !1, Vi = !1;
+function Hi() {
+ if (Bi) {
+ let e = Array.from(Ri).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = Fi(e);
+ let t = Ii(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -3035,22 +3035,22 @@ function Vi() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- zi = !1, Ri = !1, Li.forEach((e) => e.complete(Bi)), Li.clear();
+ Bi = !1, zi = !1, Ri.forEach((e) => e.complete(Vi)), Ri.clear();
}
-function Hi() {
- Li.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (zi = !0);
+function Ui() {
+ Ri.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (Bi = !0);
});
}
-function Ui() {
- Bi = !0, Hi(), Vi(), Bi = !1;
+function Wi() {
+ Vi = !0, Ui(), Hi(), Vi = !1;
}
-var Wi = class {
+var Gi = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (Li.add(this), Ri || (Ri = !0, Cn.read(Hi), Cn.resolveKeyframes(Vi))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (Ri.add(this), zi || (zi = !0, wn.read(Ui), wn.resolveKeyframes(Hi))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -3063,70 +3063,70 @@ var Wi = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- _i(e);
+ vi(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Li.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Ri.delete(this);
}
cancel() {
- this.state === "scheduled" && (Li.delete(this), this.state = "pending");
+ this.state === "scheduled" && (Ri.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, Gi = (e) => e.startsWith("--");
+}, Ki = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function Ki(e, t, n) {
- Gi(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function qi(e, t, n) {
+ Ki(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var qi = {};
+var Ji = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function Ji(e, t) {
- let n = /* @__PURE__ */ Ht(e);
- return () => qi[t] ?? n();
+function Yi(e, t) {
+ let n = /* @__PURE__ */ Ut(e);
+ return () => Ji[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Yi = /* @__PURE__ */ Ji(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Xi = /*@__PURE__*/ Ji(() => {
+var Xi = /* @__PURE__ */ Yi(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Zi = /*@__PURE__*/ Yi(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), Zi = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Qi = {
+}, "linearEasing"), Qi = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, $i = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ Zi([
+ circIn: /*@__PURE__*/ Qi([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ Zi([
+ circOut: /*@__PURE__*/ Qi([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ Zi([
+ backIn: /*@__PURE__*/ Qi([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ Zi([
+ backOut: /*@__PURE__*/ Qi([
.33,
1.53,
.69,
@@ -3135,15 +3135,15 @@ var Yi = /* @__PURE__ */ Ji(() => window.ScrollTimeline !== void 0, "scrollTimel
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function $i(e, t) {
- if (e) return typeof e == "function" ? Xi() ? zr(e, t) : "ease-out" : /* @__PURE__ */ hn(e) ? Zi(e) : Array.isArray(e) ? e.map((e) => $i(e, t) || Qi.easeOut) : Qi[e];
+function ea(e, t) {
+ if (e) return typeof e == "function" ? Zi() ? Br(e, t) : "ease-out" : /* @__PURE__ */ gn(e) ? Qi(e) : Array.isArray(e) ? e.map((e) => ea(e, t) || $i.easeOut) : $i[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function ea(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function ta(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = $i(s, i);
+ let d = ea(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -3157,26 +3157,26 @@ function ea(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function ta(e) {
+function na(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function na({ type: e, ...t }) {
- return ta(e) && Xi() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function ra({ type: e, ...t }) {
+ return na(e) && Zi() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var ra = class extends mi {
+var ia = class extends hi {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = na(e);
- this.animation = ea(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = ra(e);
+ this.animation = ta(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = di(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), Ki(t, n, e), this.animation.cancel();
+ let e = fi(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), qi(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -3207,18 +3207,18 @@ var ra = class extends mi {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ Jt(Number(e));
+ return /* @__PURE__ */ Yt(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ Jt(e);
+ return this.duration + /* @__PURE__ */ Yt(e);
}
get time() {
- return /* @__PURE__ */ Jt(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ Yt(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ qt(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Jt(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -3236,24 +3236,24 @@ var ra = class extends mi {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Yi() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Ut) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Xi() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Wt) : r(this);
}
-}, ia = {
- anticipate: sn,
- backInOut: on,
- circInOut: un
+}, aa = {
+ anticipate: cn,
+ backInOut: sn,
+ circInOut: dn
};
-function aa(e) {
- return e in ia;
-}
function oa(e) {
- typeof e.ease == "string" && aa(e.ease) && (e.ease = ia[e.ease]);
+ return e in aa;
+}
+function sa(e) {
+ typeof e.ease == "string" && oa(e.ease) && (e.ease = aa[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var sa = 10, ca = class extends ra {
+var ca = 10, la = class extends ia {
constructor(e) {
- oa(e), pi(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ sa(e), mi(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -3262,48 +3262,48 @@ var sa = 10, ca = class extends ra {
t.set(e);
return;
}
- let o = new gi({
+ let o = new _i({
...a,
autoplay: !1
- }), s = Math.max(sa, kn.now() - this.startTime), c = Lt(0, sa, s - sa), l = o.sample(s).value, { name: u } = this.options;
- i && u && Ki(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(ca, An.now() - this.startTime), c = Rt(0, ca, s - ca), l = o.sample(s).value, { name: u } = this.options;
+ i && u && qi(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, la = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (yr.test(e) || e === "0") && !e.startsWith("url("));
+}, ua = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (br.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function ua(e) {
+function da(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function da(e, t, n, r) {
+function fa(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = la(i, t), s = la(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : ua(e) || (n === "spring" || ta(n)) && r;
+ let a = e[e.length - 1], o = ua(i, t), s = ua(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : da(e) || (n === "spring" || na(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function fa(e) {
+function pa(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var pa = /* @__PURE__ */ new Set([
+var ma = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), ma = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function ha(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && ma.test(e[t])) return !0;
+]), ha = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function ga(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && ha.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var ga = /* @__PURE__ */ new Set([
+var _a = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -3314,20 +3314,20 @@ var ga = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), _a = /*@__PURE__*/ Ht(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function va(e) {
+]), va = /*@__PURE__*/ Ut(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function ya(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return _a() && n && (pa.has(n) || ga.has(n) && ha(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return va() && n && (ma.has(n) || _a.has(n) && ga(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var ya = 40, ba = class extends mi {
+var ba = 40, xa = class extends hi {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = kn.now();
+ }, this.createdAt = An.now();
let d = {
autoplay: e,
delay: t,
@@ -3339,33 +3339,33 @@ var ya = 40, ba = class extends mi {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || Wi;
+ }, f = l?.KeyframeResolver || Gi;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
- this.resolvedAt = kn.now();
+ this.resolvedAt = An.now();
let u = !0;
- da(e, i, a, o) || (u = !1, (Rt.instantAnimations || !s) && l?.(di(e, n, t)), e[0] = e[e.length - 1], fa(n), n.repeat = 0);
+ fa(e, i, a, o) || (u = !1, (zt.instantAnimations || !s) && l?.(fi(e, n, t)), e[0] = e[e.length - 1], pa(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > ya ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > ba ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && va(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && ya(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new ca({
+ m = new la({
...d,
element: p
});
} catch {
- m = new gi(d);
+ m = new _i(d);
}
- else m = new gi(d);
+ else m = new _i(d);
m.finished.then(() => {
this.notifyFinished();
- }).catch(Ut), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
+ }).catch(Wt), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
return this._animation ? this.animation.finished : this._finished;
@@ -3374,7 +3374,7 @@ var ya = 40, ba = class extends mi {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Ui()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), Wi()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -3418,21 +3418,21 @@ var ya = 40, ba = class extends mi {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function xa(e, t, n, r = 0, i = 1) {
+function Sa(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var Sa = 30, Ca = (e) => !isNaN(parseFloat(e)), wa = { current: void 0 }, Ta = class {
+var Ca = 30, wa = (e) => !isNaN(parseFloat(e)), Ta = { current: void 0 }, Ea = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = kn.now();
+ let t = An.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = kn.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Ca(this.current));
+ this.current = e, this.updatedAt = An.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = wa(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -3441,10 +3441,10 @@ var Sa = 30, Ca = (e) => !isNaN(parseFloat(e)), wa = { current: void 0 }, Ta = c
return this.on("change", e);
}
on(e, t) {
- this.events[e] || (this.events[e] = new Kt());
+ this.events[e] || (this.events[e] = new qt());
let n = this.events[e].add(t);
return e === "change" ? () => {
- n(), Cn.read(() => {
+ n(), wn.read(() => {
this.events.change.getSize() || this.stop();
});
} : n;
@@ -3474,16 +3474,16 @@ var Sa = 30, Ca = (e) => !isNaN(parseFloat(e)), wa = { current: void 0 }, Ta = c
this.dependents && this.dependents.delete(e);
}
get() {
- return wa.current && wa.current.push(this), this.current;
+ return Ta.current && Ta.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = kn.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Sa) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, Sa);
- return /* @__PURE__ */ Yt(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = An.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Ca) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, Ca);
+ return /* @__PURE__ */ Xt(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -3505,12 +3505,12 @@ var Sa = 30, Ca = (e) => !isNaN(parseFloat(e)), wa = { current: void 0 }, Ta = c
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function Ea(e, t) {
- return new Ta(e, t);
+function Da(e, t) {
+ return new Ea(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function Da(e, t) {
+function Oa(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -3522,26 +3522,26 @@ function Da(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function Oa(e, t) {
+function ka(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : Da(n, e);
+ return n === e ? n : Oa(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var ka = {
+var Aa = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, Aa = (e) => ({
+}, ja = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), ja = {
+}), Ma = {
type: "keyframes",
duration: .8
-}, Ma = {
+}, Na = {
type: "keyframes",
ease: [
.25,
@@ -3550,7 +3550,7 @@ var ka = {
1
],
duration: .3
-}, Na = (e, { keyframes: t }) => t.length > 2 ? ja : ji.has(e) ? e.startsWith("scale") ? Aa(t[1]) : ka : Ma, Pa = /* @__PURE__ */ new Set([
+}, Pa = (e, { keyframes: t }) => t.length > 2 ? Ma : Mi.has(e) ? e.startsWith("scale") ? ja(t[1]) : Aa : Na, Fa = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -3562,15 +3562,15 @@ var ka = {
"from",
"elapsed"
]);
-function Fa(e) {
- for (let t in e) if (!Pa.has(t)) return !0;
+function Ia(e) {
+ for (let t in e) if (!Fa.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var Ia = (e, t, n, r = {}, i, a) => (o) => {
- let s = Oa(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ qt(c);
+var La = (e, t, n, r = {}, i, a) => (o) => {
+ let s = ka(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ Jt(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -3587,160 +3587,160 @@ var Ia = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- Fa(s) || Object.assign(u, Na(e, u)), u.duration &&= /* @__PURE__ */ qt(u.duration), u.repeatDelay &&= /* @__PURE__ */ qt(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ Ia(s) || Object.assign(u, Pa(e, u)), u.duration &&= /* @__PURE__ */ Jt(u.duration), u.repeatDelay &&= /* @__PURE__ */ Jt(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (fa(u), u.delay === 0 && (d = !0)), (Rt.instantAnimations || Rt.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, fa(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = di(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (pa(u), u.delay === 0 && (d = !0)), (zt.instantAnimations || zt.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, pa(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = fi(u.keyframes, s);
if (e !== void 0) {
- Cn.update(() => {
+ wn.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new gi(u) : new ba(u);
-}, La = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function Ra(e) {
- let t = La.exec(e);
+ return s.isSync ? new _i(u) : new xa(u);
+}, Ra = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function za(e) {
+ let t = Ra.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function za(e, t, n = 1) {
+function Ba(e, t, n = 1) {
`${e}`;
- let [r, i] = Ra(e);
+ let [r, i] = za(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return zt(e) ? parseFloat(e) : e;
+ return Bt(e) ? parseFloat(e) : e;
}
- return Nn(i) ? za(i, t, n + 1) : i;
+ return Pn(i) ? Ba(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function Ba(e) {
+function Va(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function Va(e, t, n, r) {
+function Ha(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = Ba(r);
+ let [i, a] = Va(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = Ba(r);
+ let [i, a] = Va(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function Ha(e, t, n) {
+function Ua(e, t, n) {
let r = e.getProps();
- return Va(r, t, n === void 0 ? r.custom : n, e);
+ return Ha(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var Ua = /* @__PURE__ */ new Set([
+var Wa = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...Ai
-]), Wa = (e) => Array.isArray(e);
+ ...ji
+]), Ga = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Ga(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Ea(n));
+function Ka(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Da(n));
}
-function Ka(e) {
- return Wa(e) ? e[e.length - 1] || 0 : e;
+function qa(e) {
+ return Ga(e) ? e[e.length - 1] || 0 : e;
}
-function qa(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = Ha(e, t) || {};
+function Ja(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = Ua(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Ga(e, t, Ka(i[t]));
+ for (let t in i) Ka(e, t, qa(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var Ja = (e) => !!(e && e.getVelocity);
+var Ya = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function Ya(e) {
- return !!(Ja(e) && e.add);
+function Xa(e) {
+ return !!(Ya(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function Xa(e, t) {
+function Za(e, t) {
let n = e.getValue("willChange");
- if (Ya(n)) return n.add(t);
- if (!n && Rt.WillChange) {
- let n = new Rt.WillChange("auto");
+ if (Xa(n)) return n.add(t);
+ if (!n && zt.WillChange) {
+ let n = new zt.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function Za(e) {
+function Qa(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var Qa = "data-" + Za("framerAppearId");
+var $a = "data-" + Qa("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function $a(e) {
- return e.props[Qa];
+function eo(e) {
+ return e.props[$a];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function eo({ protectedKeys: e, needsAnimating: t }, n) {
+function to({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function to(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function no(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? Da(a, c) : c;
+ a = a ? Oa(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && eo(f, t)) continue;
+ if (i === void 0 || f && to(f, t)) continue;
let o = {
delay: n,
- ...Oa(a || {}, t)
+ ...ka(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- Cn.update(() => r.set(i));
+ wn.update(() => r.set(i));
continue;
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = $a(e);
+ let n = eo(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, Cn);
+ let e = window.MotionHandoffAnimation(n, t, wn);
e !== null && (o.startTime = e, p = !0);
}
}
- Xa(e, t);
+ Za(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(Ia(t, r, i, m && Ua.has(t) ? { type: !1 } : o, e, p));
+ r.start(La(t, r, i, m && Wa.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => Cn.update(() => {
- o && qa(e, o);
+ let t = () => wn.update(() => {
+ o && Ja(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -3748,12 +3748,12 @@ function to(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function no(e, t, n = {}) {
- let r = Ha(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function ro(e, t, n = {}) {
+ let r = Ua(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(to(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(no(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return ro(e, t, r, a, o, s, n);
+ return io(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -3761,26 +3761,26 @@ function no(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function ro(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function io(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(no(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(ro(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + xa(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + Sa(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function io(e, t, n = {}) {
+function ao(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => no(e, t, n));
+ let i = t.map((t) => ro(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = no(e, t, n);
+ } else if (typeof t == "string") r = ro(e, t, n);
else {
- let i = typeof t == "function" ? Ha(e, t, n.custom) : t;
- r = Promise.all(to(e, i, n));
+ let i = typeof t == "function" ? Ua(e, t, n.custom) : t;
+ r = Promise.all(no(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -3788,58 +3788,58 @@ function io(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var ao = {
+var oo = {
test: (e) => e === "auto",
parse: (e) => e
-}, oo = (e) => (t) => t.test(e), so = [
- In,
+}, so = (e) => (t) => t.test(e), co = [
+ Ln,
B,
+ $n,
Qn,
- Zn,
+ tr,
er,
- $n,
- ao
-], co = (e) => so.find(oo(e));
+ oo
+], lo = (e) => co.find(so(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function lo(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Vt(e);
+function uo(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Ht(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var uo = /* @__PURE__ */ new Set([
+var fo = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function fo(e) {
+function po(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(Bn) || [];
+ let [r] = n.match(Vn) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!uo.has(t);
+ let i = n.replace(r, ""), a = +!!fo.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var po = /\b([a-z-]*)\(.*?\)/gu, mo = {
- ...yr,
+var mo = /\b([a-z-]*)\(.*?\)/gu, ho = {
+ ...br,
getAnimatableNone: (e) => {
- let t = e.match(po);
- return t ? t.map(fo).join(" ") : e;
+ let t = e.match(mo);
+ return t ? t.map(po).join(" ") : e;
}
-}, ho = {
- ...yr,
+}, go = {
+ ...br,
getAnimatableNone: (e) => {
- let t = yr.parse(e);
- return yr.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = br.parse(e);
+ return br.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, go = {
- ...In,
- transform: Math.round
}, _o = {
+ ...Ln,
+ transform: Math.round
+}, vo = {
borderWidth: B,
borderTopWidth: B,
borderRightWidth: B,
@@ -3890,18 +3890,18 @@ var po = /\b([a-z-]*)\(.*?\)/gu, mo = {
fontSize: B,
backgroundPositionX: B,
backgroundPositionY: B,
- rotate: Zn,
- pathRotation: Zn,
- rotateX: Zn,
- rotateY: Zn,
- rotateZ: Zn,
- scale: Rn,
- scaleX: Rn,
- scaleY: Rn,
- scaleZ: Rn,
- skew: Zn,
- skewX: Zn,
- skewY: Zn,
+ rotate: Qn,
+ pathRotation: Qn,
+ rotateX: Qn,
+ rotateY: Qn,
+ rotateZ: Qn,
+ scale: zn,
+ scaleX: zn,
+ scaleY: zn,
+ scaleZ: zn,
+ skew: Qn,
+ skewX: Qn,
+ skewY: Qn,
distance: B,
translateX: B,
translateY: B,
@@ -3911,53 +3911,53 @@ var po = /\b([a-z-]*)\(.*?\)/gu, mo = {
z: B,
perspective: B,
transformPerspective: B,
- opacity: Ln,
- originX: tr,
- originY: tr,
+ opacity: Rn,
+ originX: nr,
+ originY: nr,
originZ: B,
- zIndex: go,
- fillOpacity: Ln,
- strokeOpacity: Ln,
- numOctaves: go
-}, vo = {
- ..._o,
- color: rr,
- backgroundColor: rr,
- outlineColor: rr,
- fill: rr,
- stroke: rr,
- borderColor: rr,
- borderTopColor: rr,
- borderRightColor: rr,
- borderBottomColor: rr,
- borderLeftColor: rr,
- filter: mo,
- WebkitFilter: mo,
- mask: ho,
- WebkitMask: ho
-}, yo = (e) => vo[e], bo = /*@__PURE__*/ new Set([mo, ho]);
-function xo(e, t) {
- let n = yo(e);
- return bo.has(n) || (n = yr), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ zIndex: _o,
+ fillOpacity: Rn,
+ strokeOpacity: Rn,
+ numOctaves: _o
+}, yo = {
+ ...vo,
+ color: ir,
+ backgroundColor: ir,
+ outlineColor: ir,
+ fill: ir,
+ stroke: ir,
+ borderColor: ir,
+ borderTopColor: ir,
+ borderRightColor: ir,
+ borderBottomColor: ir,
+ borderLeftColor: ir,
+ filter: ho,
+ WebkitFilter: ho,
+ mask: go,
+ WebkitMask: go
+}, bo = (e) => yo[e], xo = /*@__PURE__*/ new Set([ho, go]);
+function So(e, t) {
+ let n = bo(e);
+ return xo.has(n) || (n = br), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var So = /* @__PURE__ */ new Set([
+var Co = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Co(e, t, n) {
+function wo(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !So.has(t) && fr(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !Co.has(t) && pr(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = xo(n, i);
+ if (i && n) for (let r of t) e[r] = So(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var wo = class extends Wi {
+var To = class extends Gi {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -3967,34 +3967,34 @@ var wo = class extends Wi {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), Nn(r))) {
- let i = za(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), Pn(r))) {
+ let i = Ba(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !Ua.has(n) || e.length !== 2) return;
- let [r, i] = e, a = co(r), o = co(i);
- if (Fn(r) !== Fn(i) && Ii[n]) {
+ if (this.resolveNoneKeyframes(), !Wa.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = lo(r), o = lo(i);
+ if (In(r) !== In(i) && Li[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (Mi(a) && Mi(o)) for (let t = 0; t < e.length; t++) {
+ if (Ni(a) && Ni(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else Ii[n] && (this.needsMeasurement = !0);
+ else Li[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || lo(e[t])) && n.push(t);
- n.length && Co(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || uo(e[t])) && n.push(t);
+ n.length && wo(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Ii[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Li[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -4004,11 +4004,11 @@ var wo = class extends Wi {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = Ii[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = Li[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, To = [
+}, Eo = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
@@ -4016,7 +4016,7 @@ var wo = class extends Wi {
];
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Eo(e, t, n) {
+function Do(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -4029,34 +4029,34 @@ function Eo(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var Do = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var Oo = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Oo(e) {
- return Bt(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function ko(e) {
+ return Vt(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: ko, cancel: Ao } = /* @__PURE__ */ Sn(queueMicrotask, !1), jo = {
+var { schedule: Ao, cancel: jo } = /* @__PURE__ */ Cn(queueMicrotask, !1), Mo = {
x: !1,
y: !1
};
-function Mo() {
- return jo.x || jo.y;
+function No() {
+ return Mo.x || Mo.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function No(e) {
- return e === "x" || e === "y" ? jo[e] ? null : (jo[e] = !0, () => {
- jo[e] = !1;
- }) : jo.x || jo.y ? null : (jo.x = jo.y = !0, () => {
- jo.x = jo.y = !1;
+function Po(e) {
+ return e === "x" || e === "y" ? Mo[e] ? null : (Mo[e] = !0, () => {
+ Mo[e] = !1;
+ }) : Mo.x || Mo.y ? null : (Mo.x = Mo.y = !0, () => {
+ Mo.x = Mo.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function Po(e, t) {
- let n = Eo(e), r = new AbortController();
+function Fo(e, t) {
+ let n = Do(e), r = new AbortController();
return [
n,
{
@@ -4069,11 +4069,11 @@ function Po(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Fo(e) {
- return !(e.pointerType === "touch" || Mo());
+function Io(e) {
+ return !(e.pointerType === "touch" || No());
}
-function Io(e, t, n = {}) {
- let [r, i, a] = Po(e, n);
+function Lo(e, t, n = {}) {
+ let [r, i, a] = Fo(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -4093,7 +4093,7 @@ function Io(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!Fo(n)) return;
+ if (!Io(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -4102,124 +4102,124 @@ function Io(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var Lo = (e, t) => t ? e === t || Lo(e, t.parentElement) : !1, Ro = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, zo = /* @__PURE__ */ new Set([
+var Ro = (e, t) => t ? e === t || Ro(e, t.parentElement) : !1, zo = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Bo = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Bo(e) {
- return zo.has(e.tagName) || e.isContentEditable === !0;
+function Vo(e) {
+ return Bo.has(e.tagName) || e.isContentEditable === !0;
}
-var Vo = /* @__PURE__ */ new Set([
+var Ho = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Ho(e) {
- return Vo.has(e.tagName) || e.isContentEditable === !0;
+function Uo(e) {
+ return Ho.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var Uo = /* @__PURE__ */ new WeakSet();
+var Wo = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function Wo(e) {
+function Go(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function Go(e, t) {
+function Ko(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Ko = (e, t) => {
+var qo = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = Wo(() => {
- if (Uo.has(n)) return;
- Go(n, "down");
- let e = Wo(() => {
- Go(n, "up");
+ let r = Go(() => {
+ if (Wo.has(n)) return;
+ Ko(n, "down");
+ let e = Go(() => {
+ Ko(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Go(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Ko(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function qo(e) {
- return Ro(e) && !Mo();
+function Jo(e) {
+ return zo(e) && !No();
}
-var Jo = /* @__PURE__ */ new WeakSet();
-function Yo(e, t, n = {}) {
- let [r, i, a] = Po(e, n), o = (e) => {
+var Yo = /* @__PURE__ */ new WeakSet();
+function Xo(e, t, n = {}) {
+ let [r, i, a] = Fo(e, n), o = (e) => {
let r = e.currentTarget;
- if (!qo(e) || Jo.has(e)) return;
- Uo.add(r), n.stopPropagation && Jo.add(e);
+ if (!Jo(e) || Yo.has(e)) return;
+ Wo.add(r), n.stopPropagation && Yo.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Uo.has(r) && Uo.delete(r), qo(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Wo.has(r) && Wo.delete(r), Jo(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || Lo(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || Ro(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Oo(e) && (e.addEventListener("focus", (e) => Ko(e, i)), !Bo(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), ko(e) && (e.addEventListener("focus", (e) => qo(e, i)), !Vo(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function Xo(e) {
- return Bt(e) && "ownerSVGElement" in e;
+function Zo(e) {
+ return Vt(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Zo = /* @__PURE__ */ new WeakMap(), Qo, $o = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Xo(r) && "getBBox" in r ? r.getBBox()[t] : r[n], es = /*@__PURE__*/ $o("inline", "width", "offsetWidth"), ts = /*@__PURE__*/ $o("block", "height", "offsetHeight");
-function ns({ target: e, borderBoxSize: t }) {
- Zo.get(e)?.forEach((n) => {
+var Qo = /* @__PURE__ */ new WeakMap(), $o, es = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Zo(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ts = /*@__PURE__*/ es("inline", "width", "offsetWidth"), ns = /*@__PURE__*/ es("block", "height", "offsetHeight");
+function rs({ target: e, borderBoxSize: t }) {
+ Qo.get(e)?.forEach((n) => {
n(e, {
get width() {
- return es(e, t);
+ return ts(e, t);
},
get height() {
- return ts(e, t);
+ return ns(e, t);
}
});
});
}
-function rs(e) {
- e.forEach(ns);
+function is(e) {
+ e.forEach(rs);
}
-function is() {
- typeof ResizeObserver > "u" || (Qo = new ResizeObserver(rs));
+function as() {
+ typeof ResizeObserver > "u" || ($o = new ResizeObserver(is));
}
-function as(e, t) {
- Qo || is();
- let n = Eo(e);
+function os(e, t) {
+ $o || as();
+ let n = Do(e);
return n.forEach((e) => {
- let n = Zo.get(e);
- n || (n = /* @__PURE__ */ new Set(), Zo.set(e, n)), n.add(t), Qo?.observe(e);
+ let n = Qo.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Qo.set(e, n)), n.add(t), $o?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Zo.get(e);
- n?.delete(t), n?.size || Qo?.unobserve(e);
+ let n = Qo.get(e);
+ n?.delete(t), n?.size || $o?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var os = /* @__PURE__ */ new Set(), ss;
-function cs() {
- ss = () => {
+var ss = /* @__PURE__ */ new Set(), cs;
+function ls() {
+ cs = () => {
let e = {
get width() {
return window.innerWidth;
@@ -4228,49 +4228,49 @@ function cs() {
return window.innerHeight;
}
};
- os.forEach((t) => t(e));
- }, window.addEventListener("resize", ss);
+ ss.forEach((t) => t(e));
+ }, window.addEventListener("resize", cs);
}
-function ls(e) {
- return os.add(e), ss || cs(), () => {
- os.delete(e), !os.size && typeof ss == "function" && (window.removeEventListener("resize", ss), ss = void 0);
+function us(e) {
+ return ss.add(e), cs || ls(), () => {
+ ss.delete(e), !ss.size && typeof cs == "function" && (window.removeEventListener("resize", cs), cs = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function us(e, t) {
- return typeof e == "function" ? ls(e) : as(e, t);
+function ds(e, t) {
+ return typeof e == "function" ? us(e) : os(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var ds = {
+var fs = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function fs(e) {
- return Xo(e) && e.tagName === "svg";
+function ps(e) {
+ return Zo(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function ps(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = ii(i, a, o);
+function ms(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = ai(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function ms(e, t, n = {}) {
+function hs(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = gs(e.get()), r = gs(a);
+ let t = _s(e.get()), r = _s(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new gi({
+ c(), i = new _i({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -4285,10 +4285,10 @@ function ms(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(hs(e, s)), Cn.postRender(u);
- }, c), Ja(t)) {
+ a = e, o = (e) => t(gs(e, s)), wn.postRender(u);
+ }, c), Ya(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(hs(t, s), !1)) : e.set(hs(t, s));
+ r ? (r = !1, e.jump(gs(t, s), !1)) : e.set(gs(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -4296,46 +4296,46 @@ function ms(e, t, n = {}) {
}
return c;
}
-function hs(e, t) {
+function gs(e, t) {
return t ? e + t : e;
}
-function gs(e) {
+function _s(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var _s = [
- ...so,
- rr,
- yr
-], vs = (e) => _s.find(oo(e)), ys = () => ({
+var vs = [
+ ...co,
+ ir,
+ br
+], ys = (e) => vs.find(so(e)), bs = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), bs = () => ({
- x: ys(),
- y: ys()
}), xs = () => ({
+ x: bs(),
+ y: bs()
+}), Ss = () => ({
min: 0,
max: 0
-}), Ss = () => ({
- x: xs(),
- y: xs()
-}), Cs = /* @__PURE__ */ new WeakMap();
+}), Cs = () => ({
+ x: Ss(),
+ y: Ss()
+}), ws = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function ws(e) {
+function Ts(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function Ts(e) {
+function Es(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var Es = [
+var Ds = [
"animate",
"whileInView",
"whileFocus",
@@ -4343,29 +4343,29 @@ var Es = [
"whileTap",
"whileDrag",
"exit"
-], Ds = ["initial", ...Es];
+], Os = ["initial", ...Ds];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function Os(e) {
- return ws(e.animate) || Ds.some((t) => Ts(e[t]));
-}
function ks(e) {
- return !!(Os(e) || e.variants);
+ return Ts(e.animate) || Os.some((t) => Es(e[t]));
+}
+function As(e) {
+ return !!(ks(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function As(e, t, n) {
+function js(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (Ja(i)) e.addValue(r, i);
- else if (Ja(a)) e.addValue(r, Ea(i, { owner: e }));
+ if (Ya(i)) e.addValue(r, i);
+ else if (Ya(a)) e.addValue(r, Da(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, Ea(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, Da(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -4374,18 +4374,18 @@ function As(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var js = { current: null }, Ms = { current: !1 }, Ns = typeof window < "u";
-function Ps() {
- if (Ms.current = !0, Ns) {
+var Ms = { current: null }, Ns = { current: !1 }, Ps = typeof window < "u";
+function Fs() {
+ if (Ns.current = !0, Ps) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => js.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Ms.current = e.matches;
e.addEventListener("change", t), t();
- } else js.current = !1;
+ } else Ms.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Fs = [
+var Is = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -4393,38 +4393,38 @@ var Fs = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Is = {};
-function Ls(e) {
- Is = e;
+], Ls = {};
+function Rs(e) {
+ Ls = e;
}
-function Rs() {
- return Is;
+function zs() {
+ return Ls;
}
-var zs = class {
+var Bs = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Wi, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Gi, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
- let e = kn.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, Cn.render(this.render, !1, !0));
+ let e = An.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, wn.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Os(t), this.isVariantNode = ks(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = ks(t), this.isVariantNode = As(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && Ja(t) && t.set(c[e]);
+ c[e] !== void 0 && Ya(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, Cs.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Ms.current || Ps(), this.shouldReduceMotion = js.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, ws.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Ns.current || Fs(), this.shouldReduceMotion = Ms.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
- this.projection && this.projection.unmount(), wn(this.notifyUpdate), wn(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), Tn(this.notifyUpdate), Tn(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
for (let e in this.events) this.events[e].clear();
for (let e in this.features) {
let t = this.features[e];
@@ -4439,24 +4439,24 @@ var zs = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && pa.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new ra({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && ma.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new ia({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ qt(o)
+ duration: /* @__PURE__ */ Jt(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = ji.has(e);
+ let n = Mi.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && Cn.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && wn.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i && i();
@@ -4467,8 +4467,8 @@ var zs = class {
}
updateFeatures() {
let e = "animation";
- for (e in Is) {
- let t = Is[e];
+ for (e in Ls) {
+ let t = Ls[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -4481,7 +4481,7 @@ var zs = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Ss();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Cs();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -4491,13 +4491,13 @@ var zs = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Fs.length; t++) {
- let n = Fs[t];
+ for (let t = 0; t < Is.length; t++) {
+ let n = Is[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = As(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = js(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -4533,11 +4533,11 @@ var zs = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = Ea(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = Da(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (zt(n) || Vt(n)) ? n = parseFloat(n) : !vs(n) && yr.test(t) && (n = xo(e, t)), this.setBaseTarget(e, Ja(n) ? n.get() : n)), Ja(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (Bt(n) || Ht(n)) ? n = parseFloat(n) : !ys(n) && br.test(t) && (n = So(e, t)), this.setBaseTarget(e, Ya(n) ? n.get() : n)), Ya(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -4545,25 +4545,25 @@ var zs = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = Va(this.props, t, this.presenceContext?.custom);
+ let r = Ha(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !Ja(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !Ya(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
- return this.events[e] || (this.events[e] = new Kt()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new qt()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- ko.render(this.render);
+ Ao.render(this.render);
}
-}, Bs = class extends zs {
+}, Vs = class extends Bs {
constructor() {
- super(...arguments), this.KeyframeResolver = wo;
+ super(...arguments), this.KeyframeResolver = To;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -4578,11 +4578,11 @@ var zs = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- Ja(e) && (this.childSubscription = e.on("change", (e) => {
+ Ya(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, Vs = class {
+}, Hs = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -4590,7 +4590,7 @@ var zs = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Hs({ top: e, left: t, right: n, bottom: r }) {
+function Us({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -4602,7 +4602,7 @@ function Hs({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Us({ x: e, y: t }) {
+function Ws({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -4610,7 +4610,7 @@ function Us({ x: e, y: t }) {
left: e.min
};
}
-function Ws(e, t) {
+function Gs(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -4628,37 +4628,37 @@ function Ws(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Gs(e) {
+function Ks(e) {
return e === void 0 || e === 1;
}
-function Ks({ scale: e, scaleX: t, scaleY: n }) {
- return !Gs(e) || !Gs(t) || !Gs(n);
-}
-function qs(e) {
- return Ks(e) || Js(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function qs({ scale: e, scaleX: t, scaleY: n }) {
+ return !Ks(e) || !Ks(t) || !Ks(n);
}
function Js(e) {
- return Ys(e.x) || Ys(e.y);
+ return qs(e) || Ys(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
function Ys(e) {
+ return Xs(e.x) || Xs(e.y);
+}
+function Xs(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function Xs(e, t, n) {
+function Zs(e, t, n) {
return n + t * (e - n);
}
-function Zs(e, t, n, r, i) {
- return i !== void 0 && (e = Xs(e, i, r)), Xs(e, n, r) + t;
+function Qs(e, t, n, r, i) {
+ return i !== void 0 && (e = Zs(e, i, r)), Zs(e, n, r) + t;
}
-function Qs(e, t = 0, n = 1, r, i) {
- e.min = Zs(e.min, t, n, r, i), e.max = Zs(e.max, t, n, r, i);
+function $s(e, t = 0, n = 1, r, i) {
+ e.min = Qs(e.min, t, n, r, i), e.max = Qs(e.max, t, n, r, i);
}
-function $s(e, { x: t, y: n }) {
- Qs(e.x, t.translate, t.scale, t.originPoint), Qs(e.y, n.translate, n.scale, n.originPoint);
+function ec(e, { x: t, y: n }) {
+ $s(e.x, t.translate, t.scale, t.originPoint), $s(e.y, n.translate, n.scale, n.originPoint);
}
-var ec = .999999999999, tc = 1.0000000000001;
-function nc(e, t, n, r = !1) {
+var tc = .999999999999, nc = 1.0000000000001;
+function rc(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -4666,44 +4666,44 @@ function nc(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (rc(e.x, -a.scroll.offset.x), rc(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, $s(e, o)), r && qs(a.latestValues) && oc(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (ic(e.x, -a.scroll.offset.x), ic(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ec(e, o)), r && Js(a.latestValues) && sc(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < tc && t.x > ec && (t.x = 1), t.y < tc && t.y > ec && (t.y = 1);
+ t.x < nc && t.x > tc && (t.x = 1), t.y < nc && t.y > tc && (t.y = 1);
}
-function rc(e, t) {
+function ic(e, t) {
e.min += t, e.max += t;
}
-function ic(e, t, n, r, i = .5) {
- Qs(e, t, n, Cr(e.min, e.max, i), r);
+function ac(e, t, n, r, i = .5) {
+ $s(e, t, n, wr(e.min, e.max, i), r);
}
-function ac(e, t) {
+function oc(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function oc(e, t, n) {
+function sc(e, t, n) {
let r = n ?? e;
- ic(e.x, ac(t.x, r.x), t.scaleX, t.scale, t.originX), ic(e.y, ac(t.y, r.y), t.scaleY, t.scale, t.originY);
+ ac(e.x, oc(t.x, r.x), t.scaleX, t.scale, t.originX), ac(e.y, oc(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function sc(e, t) {
- return Hs(Ws(e.getBoundingClientRect(), t));
+function cc(e, t) {
+ return Us(Gs(e.getBoundingClientRect(), t));
}
-function cc(e, t, n) {
- let r = sc(e, n), { scroll: i } = t;
- return i && (rc(r.x, i.offset.x), rc(r.y, i.offset.y)), r;
+function lc(e, t, n) {
+ let r = cc(e, n), { scroll: i } = t;
+ return i && (ic(r.x, i.offset.x), ic(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var lc = {
+var uc = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, uc = Ai.length;
-function dc(e, t, n) {
+}, dc = ji.length;
+function fc(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < uc; a++) {
- let o = Ai[a], s = e[o];
+ for (let a = 0; a < dc; a++) {
+ let o = ji[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -4712,154 +4712,154 @@ function dc(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = Do(s, _o[o]);
+ let e = Oo(s, vo[o]);
if (!c) {
i = !1;
- let t = lc[o] || o;
+ let t = uc[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${Do(a, _o.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${Oo(a, vo.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function fc(e, t, n) {
+function pc(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (ji.has(e)) {
+ if (Mi.has(e)) {
o = !0;
continue;
}
- if (jn(e)) {
+ if (Mn(e)) {
i[e] = n;
continue;
}
{
- let t = Do(n, _o[e]);
+ let t = Oo(n, vo[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = dc(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = fc(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function pc(e, { style: t, vars: n }, r, i) {
+function mc(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function mc(e, t) {
+function hc(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var hc = { correct: (e, t) => {
+var gc = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (B.test(e)) e = parseFloat(e);
else return e;
}
- return `${mc(e, t.target.x)}% ${mc(e, t.target.y)}%`;
-} }, gc = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = yr.parse(e);
+ return `${hc(e, t.target.x)}% ${hc(e, t.target.y)}%`;
+} }, _c = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = br.parse(e);
if (i.length > 5) return r;
- let a = yr.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = br.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = Cr(s, c, .5);
+ let l = wr(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, _c = {
+} }, vc = {
borderRadius: {
- ...hc,
- applyTo: [...To]
+ ...gc,
+ applyTo: [...Eo]
},
- borderTopLeftRadius: hc,
- borderTopRightRadius: hc,
- borderBottomLeftRadius: hc,
- borderBottomRightRadius: hc,
- boxShadow: gc
+ borderTopLeftRadius: gc,
+ borderTopRightRadius: gc,
+ borderBottomLeftRadius: gc,
+ borderBottomRightRadius: gc,
+ boxShadow: _c
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function vc(e, { layout: t, layoutId: n }) {
- return ji.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!_c[e] || e === "opacity");
+function yc(e, { layout: t, layoutId: n }) {
+ return Mi.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!vc[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function yc(e, t, n) {
+function bc(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (Ja(r[t]) || i && Ja(i[t]) || vc(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (Ya(r[t]) || i && Ya(i[t]) || yc(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function bc(e) {
+function xc(e) {
return window.getComputedStyle(e);
}
-var xc = class extends Bs {
+var Sc = class extends Vs {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = pc;
+ super(...arguments), this.type = "html", this.renderInstance = mc;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (ji.has(t)) return this.projection?.isProjecting ? Ei(t) : Oi(e, t);
+ if (Mi.has(t)) return this.projection?.isProjecting ? Di(t) : ki(e, t);
{
- let n = bc(e), r = (jn(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = xc(e), r = (Mn(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return sc(e, t);
+ return cc(e, t);
}
build(e, t, n) {
- fc(e, t, n.transformTemplate);
+ pc(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return yc(e, t, n);
+ return bc(e, t, n);
}
-}, Sc = {
+}, Cc = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, Cc = {
+}, wc = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function wc(e, t, n = 1, r = 0, i = !0) {
+function Tc(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Sc : Cc;
+ let a = i ? Cc : wc;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Tc = [
+var Ec = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function Ec(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (fc(e, s, l), c) {
+function Dc(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (pc(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of Tc) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && wc(d, i, a, o, !1);
+ for (let e of Ec) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Tc(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var Dc = /* @__PURE__ */ new Set([
+var Oc = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -4883,68 +4883,68 @@ var Dc = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), Oc = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), kc = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function kc(e, t, n, r) {
- pc(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(Dc.has(n) ? n : Za(n), t.attrs[n]);
+function Ac(e, t, n, r) {
+ mc(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(Oc.has(n) ? n : Qa(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function Ac(e, t, n) {
- let r = yc(e, t, n);
- for (let n in e) if (Ja(e[n]) || Ja(t[n])) {
- let t = Ai.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function jc(e, t, n) {
+ let r = bc(e, t, n);
+ for (let n in e) if (Ya(e[n]) || Ya(t[n])) {
+ let t = ji.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var jc = class extends Bs {
+var Mc = class extends Vs {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Ss;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Cs;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (ji.has(t)) {
- let e = yo(t);
+ if (Mi.has(t)) {
+ let e = bo(t);
return e && e.default || 0;
}
- return t = Dc.has(t) ? t : Za(t), e.getAttribute(t);
+ return t = Oc.has(t) ? t : Qa(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Ac(e, t, n);
+ return jc(e, t, n);
}
build(e, t, n) {
- Ec(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ Dc(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- kc(e, t, n, r);
+ Ac(e, t, n, r);
}
mount(e) {
- this.isSVGTag = Oc(e.tagName), super.mount(e);
+ this.isSVGTag = kc(e.tagName), super.mount(e);
}
-}, Mc = Ds.length;
-function Nc(e) {
+}, Nc = Os.length;
+function Pc(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && Nc(e.parent) || {};
+ let t = e.parent && Pc(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < Mc; n++) {
- let r = Ds[n], i = e.props[r];
- (Ts(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < Nc; n++) {
+ let r = Os[n], i = e.props[r];
+ (Es(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function Pc(e, t) {
+function Fc(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -4953,13 +4953,13 @@ function Pc(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Fc = [...Es].reverse(), Ic = Es.length;
-function Lc(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => io(e, t, n)));
-}
+var Ic = [...Ds].reverse(), Lc = Ds.length;
function Rc(e) {
- let t = Lc(e), n = Vc(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = Ha(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => ao(e, t, n)));
+}
+function zc(e) {
+ let t = Rc(e), n = Hc(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = Ua(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -4974,12 +4974,12 @@ function Rc(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = Nc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < Ic; t++) {
- let p = Fc[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = Ts(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = Pc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < Lc; t++) {
+ let p = Ic[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = Es(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || ws(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || Ts(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -4987,7 +4987,7 @@ function Rc(e) {
});
continue;
}
- let y = zc(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = Bc(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -5001,7 +5001,7 @@ function Rc(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = Wa(t) && Wa(n) ? !Pc(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = Ga(t) && Ga(n) ? !Fc(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -5011,10 +5011,10 @@ function Rc(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = Ha(r, t);
+ let { parent: r } = e, i = Ua(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = xa(r.enteringChildren, e, t);
+ n.delay = Sa(r.enteringChildren, e, t);
}
}
return {
@@ -5026,7 +5026,7 @@ function Rc(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = Ha(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = Ua(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -5050,14 +5050,14 @@ function Rc(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = Vc(), i = !0;
+ n = Hc(), i = !0;
}
};
}
-function zc(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Pc(t, e) : !1;
+function Bc(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !Fc(t, e) : !1;
}
-function Bc(e = !1) {
+function Vc(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -5065,115 +5065,115 @@ function Bc(e = !1) {
prevResolvedValues: {}
};
}
-function Vc() {
+function Hc() {
return {
- animate: Bc(!0),
- whileInView: Bc(),
- whileHover: Bc(),
- whileTap: Bc(),
- whileDrag: Bc(),
- whileFocus: Bc(),
- exit: Bc()
+ animate: Vc(!0),
+ whileInView: Vc(),
+ whileHover: Vc(),
+ whileTap: Vc(),
+ whileDrag: Vc(),
+ whileFocus: Vc(),
+ exit: Vc()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function Hc(e, t) {
- e.min = t.min, e.max = t.max;
-}
function Uc(e, t) {
- Hc(e.x, t.x), Hc(e.y, t.y);
+ e.min = t.min, e.max = t.max;
}
function Wc(e, t) {
+ Uc(e.x, t.x), Uc(e.y, t.y);
+}
+function Gc(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var Gc = .9999, Kc = 1.0001, qc = -.01, Jc = .01;
-function Yc(e) {
+var Kc = .9999, qc = 1.0001, Jc = -.01, Yc = .01;
+function Xc(e) {
return e.max - e.min;
}
-function Xc(e, t, n) {
+function Zc(e, t, n) {
return Math.abs(e - t) <= n;
}
-function Zc(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Cr(t.min, t.max, e.origin), e.scale = Yc(n) / Yc(t), e.translate = Cr(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Gc && e.scale <= Kc || isNaN(e.scale)) && (e.scale = 1), (e.translate >= qc && e.translate <= Jc || isNaN(e.translate)) && (e.translate = 0);
+function Qc(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = wr(t.min, t.max, e.origin), e.scale = Xc(n) / Xc(t), e.translate = wr(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Kc && e.scale <= qc || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Jc && e.translate <= Yc || isNaN(e.translate)) && (e.translate = 0);
}
-function Qc(e, t, n, r) {
- Zc(e.x, t.x, n.x, r ? r.originX : void 0), Zc(e.y, t.y, n.y, r ? r.originY : void 0);
+function $c(e, t, n, r) {
+ Qc(e.x, t.x, n.x, r ? r.originX : void 0), Qc(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function $c(e, t, n, r = 0) {
- e.min = (r ? Cr(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Yc(t);
+function el(e, t, n, r = 0) {
+ e.min = (r ? wr(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Xc(t);
}
-function el(e, t, n, r) {
- $c(e.x, t.x, n.x, r?.x), $c(e.y, t.y, n.y, r?.y);
+function tl(e, t, n, r) {
+ el(e.x, t.x, n.x, r?.x), el(e.y, t.y, n.y, r?.y);
}
-function tl(e, t, n, r = 0) {
- let i = r ? Cr(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + Yc(t);
+function nl(e, t, n, r = 0) {
+ let i = r ? wr(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + Xc(t);
}
-function nl(e, t, n, r) {
- tl(e.x, t.x, n.x, r?.x), tl(e.y, t.y, n.y, r?.y);
+function rl(e, t, n, r) {
+ nl(e.x, t.x, n.x, r?.x), nl(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function rl(e, t, n, r, i) {
- return e -= t, e = Xs(e, 1 / n, r), i !== void 0 && (e = Xs(e, 1 / i, r)), e;
+function il(e, t, n, r, i) {
+ return e -= t, e = Zs(e, 1 / n, r), i !== void 0 && (e = Zs(e, 1 / i, r)), e;
}
-function il(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (Qn.test(t) && (t = parseFloat(t), t = Cr(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = Cr(a.min, a.max, r);
- e === a && (s -= t), e.min = rl(e.min, t, n, s, i), e.max = rl(e.max, t, n, s, i);
+function al(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if ($n.test(t) && (t = parseFloat(t), t = wr(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = wr(a.min, a.max, r);
+ e === a && (s -= t), e.min = il(e.min, t, n, s, i), e.max = il(e.max, t, n, s, i);
}
-function al(e, t, [n, r, i], a, o) {
- il(e, t[n], t[r], t[i], t.scale, a, o);
+function ol(e, t, [n, r, i], a, o) {
+ al(e, t[n], t[r], t[i], t.scale, a, o);
}
-var ol = [
+var sl = [
"x",
"scaleX",
"originX"
-], sl = [
+], cl = [
"y",
"scaleY",
"originY"
];
-function cl(e, t, n, r) {
- al(e.x, t, ol, n ? n.x : void 0, r ? r.x : void 0), al(e.y, t, sl, n ? n.y : void 0, r ? r.y : void 0);
+function ll(e, t, n, r) {
+ ol(e.x, t, sl, n ? n.x : void 0, r ? r.x : void 0), ol(e.y, t, cl, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function ll(e) {
- return e.translate === 0 && e.scale === 1;
-}
function ul(e) {
- return ll(e.x) && ll(e.y);
+ return e.translate === 0 && e.scale === 1;
}
-function dl(e, t) {
- return e.min === t.min && e.max === t.max;
+function dl(e) {
+ return ul(e.x) && ul(e.y);
}
function fl(e, t) {
- return dl(e.x, t.x) && dl(e.y, t.y);
+ return e.min === t.min && e.max === t.max;
}
function pl(e, t) {
- return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
+ return fl(e.x, t.x) && fl(e.y, t.y);
}
function ml(e, t) {
- return pl(e.x, t.x) && pl(e.y, t.y);
+ return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function hl(e) {
- return Yc(e.x) / Yc(e.y);
+function hl(e, t) {
+ return ml(e.x, t.x) && ml(e.y, t.y);
}
-function gl(e, t) {
+function gl(e) {
+ return Xc(e.x) / Xc(e.y);
+}
+function _l(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function _l(e) {
+function vl(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function vl(e, t, n) {
+function yl(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -5184,81 +5184,81 @@ function vl(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var yl = To.length, bl = (e) => typeof e == "string" ? parseFloat(e) : e, xl = (e) => typeof e == "number" || B.test(e);
-function Sl(e, t, n, r, i, a) {
- i ? (e.opacity = Cr(0, n.opacity ?? 1, wl(r)), e.opacityExit = Cr(t.opacity ?? 1, 0, Tl(r))) : a && (e.opacity = Cr(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < yl; i++) {
- let a = To[i], o = Cl(t, a), s = Cl(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || xl(o) === xl(s) ? (e[a] = Math.max(Cr(bl(o), bl(s), r), 0), (Qn.test(s) || Qn.test(o)) && (e[a] += "%")) : e[a] = s);
+var bl = Eo.length, xl = (e) => typeof e == "string" ? parseFloat(e) : e, Sl = (e) => typeof e == "number" || B.test(e);
+function Cl(e, t, n, r, i, a) {
+ i ? (e.opacity = wr(0, n.opacity ?? 1, Tl(r)), e.opacityExit = wr(t.opacity ?? 1, 0, El(r))) : a && (e.opacity = wr(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < bl; i++) {
+ let a = Eo[i], o = wl(t, a), s = wl(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Sl(o) === Sl(s) ? (e[a] = Math.max(wr(xl(o), xl(s), r), 0), ($n.test(s) || $n.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = Cr(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = wr(t.rotate || 0, n.rotate || 0, r));
}
-function Cl(e, t) {
+function wl(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var wl = /*@__PURE__*/ El(0, .5, ln), Tl = /*@__PURE__*/ El(.5, .95, Ut);
-function El(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Gt(e, t, r));
+var Tl = /*@__PURE__*/ Dl(0, .5, un), El = /*@__PURE__*/ Dl(.5, .95, Wt);
+function Dl(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Kt(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function Dl(e, t, n) {
- let r = Ja(e) ? e : Ea(e);
- return r.start(Ia("", r, t, n)), r.animation;
+function Ol(e, t, n) {
+ let r = Ya(e) ? e : Da(e);
+ return r.start(La("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function Ol(e, t, n, r = { passive: !0 }) {
+function kl(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var kl = (e, t) => e.depth - t.depth, Al = class {
+var Al = (e, t) => e.depth - t.depth, jl = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- Ft(this.children, e), this.isDirty = !0;
+ It(this.children, e), this.isDirty = !0;
}
remove(e) {
- It(this.children, e), this.isDirty = !0;
+ Lt(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(kl), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Al), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function jl(e, t) {
- let n = kn.now(), r = ({ timestamp: i }) => {
+function Ml(e, t) {
+ let n = An.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (wn(r), e(a - t));
+ a >= t && (Tn(r), e(a - t));
};
- return Cn.setup(r, !0), () => wn(r);
+ return wn.setup(r, !0), () => Tn(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function Ml(e) {
- return Ja(e) ? e.get() : e;
+function Nl(e) {
+ return Ya(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Nl = class {
+var Pl = class {
constructor() {
this.members = [];
}
add(e) {
- Ft(this.members, e);
+ It(this.members, e);
for (let t = this.members.length - 1; t >= 0; t--) {
let n = this.members[t];
if (n === e || n === this.lead || n === this.prevLead) continue;
let r = n.instance;
- (!r || r.isConnected === !1) && !n.snapshot && (It(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (Lt(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (It(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (Lt(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
let e = this.members[this.members.length - 1];
e && this.promote(e);
}
@@ -5289,51 +5289,51 @@ var Nl = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, Pl = {
+}, Fl = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, Fl = {
+}, Il = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, Il = [
+}, Ll = [
"",
"X",
"Y",
"Z"
-], Ll = 1e3, Rl = 0;
-function zl(e, t, n, r) {
+], Rl = 1e3, zl = 0;
+function Bl(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function Bl(e) {
+function Vl(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = $a(t);
+ let n = eo(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", Cn, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", wn, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && Bl(r);
+ r && !r.hasCheckedOptimisedAppear && Vl(r);
}
-function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function Hl({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = Rl++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = zl++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, ds.value && (Fl.nodes = Fl.calculatedTargetDeltas = Fl.calculatedProjections = 0), this.nodes.forEach(Wl), this.nodes.forEach($l), this.nodes.forEach(eu), this.nodes.forEach(Gl), ds.addProjectionMetrics && ds.addProjectionMetrics(Fl);
+ this.projectionUpdateScheduled = !1, fs.value && (Il.nodes = Il.calculatedTargetDeltas = Il.calculatedProjections = 0), this.nodes.forEach(Gl), this.nodes.forEach(eu), this.nodes.forEach(tu), this.nodes.forEach(Kl), fs.addProjectionMetrics && fs.addProjectionMetrics(Il);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new Al());
+ this.root === this && (this.nodes = new jl());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Kt()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new qt()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -5344,15 +5344,15 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = Xo(t) && !fs(t), this.instance = t;
+ this.isSVG = Zo(t) && !ps(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
- Cn.read(() => {
+ wn.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = jl(i, 250), Pl.hasAnimatedSinceResize && (Pl.hasAnimatedSinceResize = !1, this.nodes.forEach(Ql)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Ml(i, 250), Fl.hasAnimatedSinceResize && (Fl.hasAnimatedSinceResize = !1, this.nodes.forEach($l)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -5360,23 +5360,23 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || su, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !ml(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || cu, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !hl(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...Oa(a, "layout"),
+ ...ka(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || Ql(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || $l(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
unmount() {
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
let e = this.getStack();
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), wn(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), Tn(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -5391,7 +5391,7 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(tu), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(nu), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -5402,7 +5402,7 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Bl(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Vl(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -5416,39 +5416,39 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Jl), this.nodes.forEach(ql);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Yl), this.nodes.forEach(Jl);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(Yl);
+ this.nodes.forEach(Xl);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Xl), this.nodes.forEach(Zl), this.nodes.forEach(Hl), this.nodes.forEach(Ul)) : this.nodes.forEach(Yl), this.clearAllSnapshots();
- let e = kn.now();
- Tn.delta = Lt(0, 1e3 / 60, e - Tn.timestamp), Tn.timestamp = e, Tn.isProcessing = !0, En.update.process(Tn), En.preRender.process(Tn), En.render.process(Tn), Tn.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Zl), this.nodes.forEach(Ql), this.nodes.forEach(Ul), this.nodes.forEach(Wl)) : this.nodes.forEach(Xl), this.clearAllSnapshots();
+ let e = An.now();
+ En.delta = Rt(0, 1e3 / 60, e - En.timestamp), En.timestamp = e, En.isProcessing = !0, Dn.update.process(En), Dn.preRender.process(En), Dn.render.process(En), En.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, ko.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, Ao.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Kl), this.sharedNodes.forEach(nu);
+ this.nodes.forEach(ql), this.sharedNodes.forEach(ru);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Cn.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, wn.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- Cn.postRender(() => {
+ wn.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !Yc(this.snapshot.measuredBox.x) && !Yc(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !Xc(this.snapshot.measuredBox.x) && !Xc(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= Ss(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= Cs(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -5467,12 +5467,12 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !ul(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || qs(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !dl(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Js(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), du(n), {
+ return e && (n = this.removeTransform(n)), fu(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -5482,42 +5482,42 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return Ss();
+ if (!e) return Cs();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(pu))) {
+ if (!(this.scroll?.wasRoot || this.path.some(mu))) {
let { scroll: e } = this.root;
- e && (rc(t.x, e.offset.x), rc(t.y, e.offset.y));
+ e && (ic(t.x, e.offset.x), ic(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = Ss();
- if (Uc(t, e), this.scroll?.wasRoot) return t;
+ let t = Cs();
+ if (Wc(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && Uc(t, e), rc(t.x, i.offset.x), rc(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Wc(t, e), ic(t.x, i.offset.x), ic(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || Ss();
- Uc(r, e);
+ let r = n || Cs();
+ Wc(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (rc(r.x, -n.scroll.offset.x), rc(r.y, -n.scroll.offset.y)), qs(n.latestValues) && oc(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (ic(r.x, -n.scroll.offset.x), ic(r.y, -n.scroll.offset.y)), Js(n.latestValues) && sc(r, n.latestValues, n.layout?.layoutBox);
}
- return qs(this.latestValues) && oc(r, this.latestValues, this.layout?.layoutBox), r;
+ return Js(this.latestValues) && sc(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = Ss();
- Uc(t, e);
+ let t = Cs();
+ Wc(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!qs(n.latestValues)) continue;
+ if (!Js(n.latestValues)) continue;
let r;
- n.instance && (Ks(n.latestValues) && n.updateSnapshot(), r = Ss(), Uc(r, n.measurePageBox())), cl(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (qs(n.latestValues) && n.updateSnapshot(), r = Cs(), Wc(r, n.measurePageBox())), ll(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return qs(this.latestValues) && cl(t, this.latestValues), t;
+ return Js(this.latestValues) && ll(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -5533,7 +5533,7 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
}
forceRelativeParentToResolveTarget() {
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== Tn.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== En.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -5542,36 +5542,36 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
let { layout: r, layoutId: i } = this.options;
if (!this.layout || !(r || i)) return;
- this.resolvedRelativeTargetAt = Tn.timestamp;
+ this.resolvedRelativeTargetAt = En.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Ss(), this.targetWithTransforms = Ss()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), el(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Uc(this.target, this.layout.layoutBox), $s(this.target, this.targetDelta)) : Uc(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), ds.value && Fl.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Cs(), this.targetWithTransforms = Cs()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), tl(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Wc(this.target, this.layout.layoutBox), ec(this.target, this.targetDelta)) : Wc(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), fs.value && Il.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || Ks(this.parent.latestValues) || Js(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || qs(this.parent.latestValues) || Ys(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Ss(), this.relativeTargetOrigin = Ss(), nl(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Uc(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Cs(), this.relativeTargetOrigin = Cs(), rl(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Wc(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
}
calcProjection() {
let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Tn.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === En.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- Uc(this.layoutCorrected, this.layout.layoutBox);
+ Wc(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- nc(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Ss());
+ rc(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Cs());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Wc(this.prevProjectionDelta.x, this.projectionDelta.x), Wc(this.prevProjectionDelta.y, this.projectionDelta.y)), Qc(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !gl(this.projectionDelta.x, this.prevProjectionDelta.x) || !gl(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), ds.value && Fl.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Gc(this.prevProjectionDelta.x, this.projectionDelta.x), Gc(this.prevProjectionDelta.y, this.projectionDelta.y)), $c(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !_l(this.projectionDelta.x, this.prevProjectionDelta.x) || !_l(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), fs.value && Il.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -5587,22 +5587,22 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = bs(), this.projectionDelta = bs(), this.projectionDeltaWithTransform = bs();
+ this.prevProjectionDelta = xs(), this.projectionDelta = xs(), this.projectionDeltaWithTransform = xs();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = bs();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = xs();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = Ss(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(ou));
+ let s = Cs(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(su));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = Cr(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Cr(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (ru(o.x, e.x, n), ru(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (nl(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), au(this.relativeTarget, this.relativeTargetOrigin, s, n), f && fl(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Ss(), Uc(f, this.relativeTarget)), c && (this.animationValues = a, Sl(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = wr(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = wr(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (iu(o.x, e.x, n), iu(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (rl(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ou(this.relativeTarget, this.relativeTargetOrigin, s, n), f && pl(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Cs(), Wc(f, this.relativeTarget)), c && (this.animationValues = a, Cl(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (wn(this.pendingAnimation), void 0), this.pendingAnimation = Cn.update(() => {
- Pl.hasAnimatedSinceResize = !0, this.motionValue ||= Ea(0), this.motionValue.jump(0, !1), this.currentAnimation = Dl(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Tn(this.pendingAnimation), void 0), this.pendingAnimation = wn.update(() => {
+ Fl.hasAnimatedSinceResize = !0, this.motionValue ||= Da(0), this.motionValue.jump(0, !1), this.currentAnimation = Ol(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -5621,23 +5621,23 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Ll), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Rl), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && fu(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || Ss();
- let t = Yc(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && pu(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || Cs();
+ let t = Xc(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = Yc(this.layout.layoutBox.y);
+ let r = Xc(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- Uc(t, n), oc(t, i), Qc(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ Wc(t, n), sc(t, i), $c(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Nl()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Pl()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -5674,8 +5674,8 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && zl("z", e, r, this.animationValues);
- for (let t = 0; t < Il.length; t++) zl(`rotate${Il[t]}`, e, r, this.animationValues), zl(`skew${Il[t]}`, e, r, this.animationValues);
+ n.z && Bl("z", e, r, this.animationValues);
+ for (let t = 0; t < Ll.length; t++) Bl(`rotate${Ll[t]}`, e, r, this.animationValues), Bl(`skew${Ll[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -5688,71 +5688,71 @@ function Vl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Ml(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Nl(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Ml(t?.pointerEvents) || ""), this.hasProjected && !qs(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Nl(t?.pointerEvents) || ""), this.hasProjected && !Js(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = vl(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = yl(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in _c) {
+ for (let t in vc) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = _c[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = vc[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? Ml(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? Nl(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ql), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(Jl), this.root.sharedNodes.clear();
}
};
}
-function Hl(e) {
+function Ul(e) {
e.updateLayout();
}
-function Ul(e) {
+function Wl(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") _l((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Yc(r);
+ if (i === "size") vl((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Xc(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- Hc(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else fu(i, t.layoutBox, n) && _l((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Yc(n[r]);
+ Uc(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else pu(i, t.layoutBox, n) && vl((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Xc(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = bs();
- Qc(o, n, t.layoutBox);
- let s = bs();
- a ? Qc(s, e.applyTransform(r, !0), t.measuredBox) : Qc(s, n, t.layoutBox);
- let c = !ul(o), l = !1;
+ let o = xs();
+ $c(o, n, t.layoutBox);
+ let s = xs();
+ a ? $c(s, e.applyTransform(r, !0), t.measuredBox) : $c(s, n, t.layoutBox);
+ let c = !dl(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = Ss();
- nl(s, t.layoutBox, i.layoutBox, o);
- let c = Ss();
- nl(c, n, a.layoutBox, o), ml(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = Cs();
+ rl(s, t.layoutBox, i.layoutBox, o);
+ let c = Cs();
+ rl(c, n, a.layoutBox, o), hl(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -5770,59 +5770,59 @@ function Ul(e) {
}
e.options.transition = void 0;
}
-function Wl(e) {
- ds.value && Fl.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
-}
function Gl(e) {
- e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
+ fs.value && Il.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
function Kl(e) {
- e.clearSnapshot();
+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
function ql(e) {
- e.clearMeasurements();
+ e.clearSnapshot();
}
function Jl(e) {
- e.isLayoutDirty = !0, e.updateLayout();
+ e.clearMeasurements();
}
function Yl(e) {
- e.isLayoutDirty = !1;
+ e.isLayoutDirty = !0, e.updateLayout();
}
function Xl(e) {
- e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
+ e.isLayoutDirty = !1;
}
function Zl(e) {
+ e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
+}
+function Ql(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function Ql(e) {
+function $l(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function $l(e) {
+function eu(e) {
e.resolveTargetDelta();
}
-function eu(e) {
+function tu(e) {
e.calcProjection();
}
-function tu(e) {
+function nu(e) {
e.resetSkewAndRotation();
}
-function nu(e) {
+function ru(e) {
e.removeLeadSnapshot();
}
-function ru(e, t, n) {
- e.translate = Cr(t.translate, 0, n), e.scale = Cr(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
-}
-function iu(e, t, n, r) {
- e.min = Cr(t.min, n.min, r), e.max = Cr(t.max, n.max, r);
+function iu(e, t, n) {
+ e.translate = wr(t.translate, 0, n), e.scale = wr(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
function au(e, t, n, r) {
- iu(e.x, t.x, n.x, r), iu(e.y, t.y, n.y, r);
+ e.min = wr(t.min, n.min, r), e.max = wr(t.max, n.max, r);
}
-function ou(e) {
+function ou(e, t, n, r) {
+ au(e.x, t.x, n.x, r), au(e.y, t.y, n.y, r);
+}
+function su(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var su = {
+var cu = {
duration: .45,
ease: [
.4,
@@ -5830,53 +5830,53 @@ var su = {
.1,
1
]
-}, cu = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), lu = cu("applewebkit/") && !cu("chrome/") ? Math.round : Ut;
-function uu(e) {
- e.min = lu(e.min), e.max = lu(e.max);
-}
+}, lu = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), uu = lu("applewebkit/") && !lu("chrome/") ? Math.round : Wt;
function du(e) {
- uu(e.x), uu(e.y);
+ e.min = uu(e.min), e.max = uu(e.max);
+}
+function fu(e) {
+ du(e.x), du(e.y);
}
-function fu(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Xc(hl(t), hl(n), .2);
+function pu(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !Zc(gl(t), gl(n), .2);
}
-function pu(e) {
+function mu(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var mu = Vl({
- attachResizeListener: (e, t) => Ol(e, "resize", t),
+var hu = Hl({
+ attachResizeListener: (e, t) => kl(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), hu = { current: void 0 }, gu = Vl({
+}), gu = { current: void 0 }, _u = Hl({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!hu.current) {
- let e = new mu({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), hu.current = e;
+ if (!gu.current) {
+ let e = new hu({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), gu.current = e;
}
- return hu.current;
+ return gu.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), _u = (0, I.createContext)({
+}), vu = (0, I.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function vu(e = !0) {
- let t = (0, I.useContext)(Pt);
+function yu(e = !0) {
+ let t = (0, I.useContext)(Ft);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, I.useId)();
(0, I.useEffect)(() => {
@@ -5891,7 +5891,7 @@ function vu(e = !0) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/LazyContext.mjs
-var yu = (0, I.createContext)({ strict: !1 }), bu = {
+var bu = (0, I.createContext)({ strict: !1 }), xu = {
animation: [
"animate",
"variants",
@@ -5928,98 +5928,98 @@ var yu = (0, I.createContext)({ strict: !1 }), bu = {
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, xu = !1;
-function Su() {
- if (xu) return;
+}, Su = !1;
+function Cu() {
+ if (Su) return;
let e = {};
- for (let t in bu) e[t] = { isEnabled: (e) => bu[t].some((t) => !!e[t]) };
- Ls(e), xu = !0;
+ for (let t in xu) e[t] = { isEnabled: (e) => xu[t].some((t) => !!e[t]) };
+ Rs(e), Su = !0;
}
-function Cu() {
- return Su(), Rs();
+function wu() {
+ return Cu(), zs();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function wu(e) {
- let t = Cu();
+function Tu(e) {
+ let t = wu();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- Ls(t);
+ Rs(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Tu = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function Eu(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Tu.has(e);
+var Eu = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function Du(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Eu.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var Du = /* @__PURE__ */ M({ default: () => Ou }), Ou, ku = A((() => {
- throw Ou = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), Au = (e) => !Eu(e);
-function ju(e) {
- typeof e == "function" && (Au = (t) => t.startsWith("on") ? !Eu(t) : e(t));
+var Ou = /* @__PURE__ */ N({ default: () => ku }), ku, Au = j((() => {
+ throw ku = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), ju = (e) => !Du(e);
+function Mu(e) {
+ typeof e == "function" && (ju = (t) => t.startsWith("on") ? !Du(t) : e(t));
}
try {
- ju((ku(), ee(Du)).default);
+ Mu((Au(), P(Ou)).default);
} catch {}
-function Mu(e, t, n) {
+function Nu(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (Ja(e[i]) || (Au(i) || n === !0 && Eu(i) || !t && !Eu(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (Ya(e[i]) || (ju(i) || n === !0 && Du(i) || !t && !Du(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function Nu({ children: e, isValidProp: t, ...n }) {
- t && ju(t);
- let r = (0, I.useContext)(_u);
+function Pu({ children: e, isValidProp: t, ...n }) {
+ t && Mu(t);
+ let r = (0, I.useContext)(vu);
n = {
...r,
...n
- }, n.transition = Da(n.transition, r.transition), n.isStatic = Mt(() => n.isStatic);
+ }, n.transition = Oa(n.transition, r.transition), n.isStatic = Nt(() => n.isStatic);
let i = (0, I.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, L.jsx)(_u.Provider, {
+ return (0, L.jsx)(vu.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var Pu = /* @__PURE__ */ (0, I.createContext)({});
+var Fu = /* @__PURE__ */ (0, I.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Fu(e, t) {
- if (Os(e)) {
+function Iu(e, t) {
+ if (ks(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || Ts(t) ? t : void 0,
- animate: Ts(n) ? n : void 0
+ initial: t === !1 || Es(t) ? t : void 0,
+ animate: Es(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Iu(e) {
- let { initial: t, animate: n } = Fu(e, (0, I.useContext)(Pu));
+function Lu(e) {
+ let { initial: t, animate: n } = Iu(e, (0, I.useContext)(Fu));
return (0, I.useMemo)(() => ({
initial: t,
animate: n
- }), [Lu(t), Lu(n)]);
+ }), [Ru(t), Ru(n)]);
}
-function Lu(e) {
+function Ru(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Ru = () => ({
+var zu = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -6027,42 +6027,42 @@ var Ru = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function zu(e, t, n) {
- for (let r in t) !Ja(t[r]) && !vc(r, n) && (e[r] = t[r]);
+function Bu(e, t, n) {
+ for (let r in t) !Ya(t[r]) && !yc(r, n) && (e[r] = t[r]);
}
-function Bu({ transformTemplate: e }, t) {
+function Vu({ transformTemplate: e }, t) {
return (0, I.useMemo)(() => {
- let n = Ru();
- return fc(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = zu();
+ return pc(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Vu(e, t) {
+function Hu(e, t) {
let n = e.style || {}, r = {};
- return zu(r, n, e), Object.assign(r, Bu(e, t)), r;
+ return Bu(r, n, e), Object.assign(r, Vu(e, t)), r;
}
-function Hu(e, t) {
- let n = {}, r = Vu(e, t);
+function Uu(e, t) {
+ let n = {}, r = Hu(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Uu = () => ({
- ...Ru(),
+var Wu = () => ({
+ ...zu(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Wu(e, t, n, r) {
+function Gu(e, t, n, r) {
let i = (0, I.useMemo)(() => {
- let n = Uu();
- return Ec(n, t, Oc(r), e.transformTemplate, e.style), {
+ let n = Wu();
+ return Dc(n, t, kc(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- zu(t, e.style, e), i.style = {
+ Bu(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -6071,7 +6071,7 @@ function Wu(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var Gu = [
+var Ku = [
"animate",
"circle",
"defs",
@@ -6100,17 +6100,17 @@ var Gu = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Ku(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(Gu.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function qu(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Ku.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function qu(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? Ku(e) ? Wu : Hu)(t, r, i, e), c = Mu(t, typeof e == "string", a), l = e === I.Fragment ? {} : {
+function Ju(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? qu(e) ? Gu : Uu)(t, r, i, e), c = Nu(t, typeof e == "string", a), l = e === I.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, I.useMemo)(() => Ja(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, I.useMemo)(() => Ya(u) ? u.get() : u, [u]);
return (0, I.createElement)(e, {
...l,
children: d
@@ -6118,24 +6118,24 @@ function qu(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function Ju({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Yu({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: Yu(n, r, i, e),
+ latestValues: Xu(n, r, i, e),
renderState: t()
};
}
-function Yu(e, t, n, r) {
+function Xu(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = Ml(a[e]);
- let { initial: o, animate: s } = e, c = Os(e), l = ks(e);
+ for (let e in a) i[e] = Nl(a[e]);
+ let { initial: o, animate: s } = e, c = ks(e), l = As(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !ws(d)) {
+ if (d && typeof d != "boolean" && !Ts(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = Va(e, t[n]);
+ let r = Ha(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -6152,19 +6152,19 @@ function Yu(e, t, n, r) {
}
return i;
}
-var Xu = (e) => (t, n) => {
- let r = (0, I.useContext)(Pu), i = (0, I.useContext)(Pt), a = () => Ju(e, t, r, i);
- return n ? a() : Mt(a);
-}, Zu = /*@__PURE__*/ Xu({
- scrapeMotionValuesFromProps: yc,
- createRenderState: Ru
-}), Qu = /*@__PURE__*/ Xu({
- scrapeMotionValuesFromProps: Ac,
- createRenderState: Uu
-}), $u = Symbol.for("motionComponentSymbol");
+var Zu = (e) => (t, n) => {
+ let r = (0, I.useContext)(Fu), i = (0, I.useContext)(Ft), a = () => Yu(e, t, r, i);
+ return n ? a() : Nt(a);
+}, Qu = /*@__PURE__*/ Zu({
+ scrapeMotionValuesFromProps: bc,
+ createRenderState: zu
+}), $u = /*@__PURE__*/ Zu({
+ scrapeMotionValuesFromProps: jc,
+ createRenderState: Wu
+}), ed = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function ed(e, t, n) {
+function td(e, t, n) {
let r = (0, I.useRef)(n);
(0, I.useInsertionEffect)(() => {
r.current = n;
@@ -6183,16 +6183,16 @@ function ed(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var td = (0, I.createContext)({});
+var nd = (0, I.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function nd(e) {
+function rd(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function rd(e, t, n, r, i, a) {
- let { visualElement: o } = (0, I.useContext)(Pu), s = (0, I.useContext)(yu), c = (0, I.useContext)(Pt), l = (0, I.useContext)(_u), u = l.reducedMotion, d = l.skipAnimations, f = (0, I.useRef)(null), p = (0, I.useRef)(!1);
+function id(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, I.useContext)(Fu), s = (0, I.useContext)(bu), c = (0, I.useContext)(Ft), l = (0, I.useContext)(vu), u = l.reducedMotion, d = l.skipAnimations, f = (0, I.useRef)(null), p = (0, I.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -6203,14 +6203,14 @@ function rd(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, I.useContext)(td);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && id(f.current, n, i, h);
+ let m = f.current, h = (0, I.useContext)(nd);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && ad(f.current, n, i, h);
let g = (0, I.useRef)(!1);
(0, I.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[Qa], v = (0, I.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return Nt(() => {
+ let _ = n[$a], v = (0, I.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return Pt(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, I.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
@@ -6218,12 +6218,12 @@ function rd(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function id(e, t, n, r) {
+function ad(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : ad(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : od(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && nd(s),
+ alwaysMeasureLayout: !!o || s && rd(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -6233,46 +6233,46 @@ function id(e, t, n, r) {
layoutAnchor: u
});
}
-function ad(e) {
- if (e) return e.options.allowProjection === !1 ? ad(e.parent) : e.projection;
+function od(e) {
+ if (e) return e.options.allowProjection === !1 ? od(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function od(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && wu(r);
- let a = n ? n === "svg" : Ku(e), o = a ? Qu : Zu;
+function sd(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Tu(r);
+ let a = n ? n === "svg" : qu(e), o = a ? $u : Qu;
function s(n, s) {
let c, l = {
- ...(0, I.useContext)(_u),
+ ...(0, I.useContext)(vu),
...n,
- layoutId: sd(n)
- }, { isStatic: u } = l, d = Iu(n), f = o(n, u);
+ layoutId: cd(n)
+ }, { isStatic: u } = l, d = Lu(n), f = o(n, u);
if (!u && typeof window < "u") {
- cd(l, r);
- let t = ld(l);
- c = t.MeasureLayout, d.visualElement = rd(e, f, l, i, t.ProjectionNode, a);
+ ld(l, r);
+ let t = ud(l);
+ c = t.MeasureLayout, d.visualElement = id(e, f, l, i, t.ProjectionNode, a);
}
- return (0, L.jsxs)(Pu.Provider, {
+ return (0, L.jsxs)(Fu.Provider, {
value: d,
children: [c && d.visualElement ? (0, L.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, qu(e, n, ed(f, d.visualElement, s), f, u, t, a)]
+ }) : null, Ju(e, n, td(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, I.forwardRef)(s);
- return c[$u] = e, c;
+ return c[ed] = e, c;
}
-function sd({ layoutId: e }) {
- let t = (0, I.useContext)(jt).id;
+function cd({ layoutId: e }) {
+ let t = (0, I.useContext)(Mt).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function cd(e, t) {
- (0, I.useContext)(yu).strict;
+function ld(e, t) {
+ (0, I.useContext)(bu).strict;
}
-function ld(e) {
- let { drag: t, layout: n } = Cu();
+function ud(e) {
+ let { drag: t, layout: n } = wu();
if (!t && !n) return {};
let r = {
...t,
@@ -6285,20 +6285,20 @@ function ld(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function ud(e, t) {
- if (typeof Proxy > "u") return od;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => od(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, od(a, void 0, e, t)), n.get(a)) });
+function dd(e, t) {
+ if (typeof Proxy > "u") return sd;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => sd(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, sd(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var dd = (e, t) => t.isSVG ?? Ku(e) ? new jc(t) : new xc(t, { allowProjection: e !== I.Fragment }), fd = class extends Vs {
+var fd = (e, t) => t.isSVG ?? qu(e) ? new Mc(t) : new Sc(t, { allowProjection: e !== I.Fragment }), pd = class extends Hs {
constructor(e) {
- super(e), e.animationState ||= Rc(e);
+ super(e), e.animationState ||= zc(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- ws(e) && (this.unmountControls = e.subscribe(this.node));
+ Ts(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -6310,11 +6310,11 @@ var dd = (e, t) => t.isSVG ?? Ku(e) ? new jc(t) : new xc(t, { allowProjection: e
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, pd = 0, md = {
- animation: { Feature: fd },
- exit: { Feature: class extends Vs {
+}, md = 0, hd = {
+ animation: { Feature: pd },
+ exit: { Feature: class extends Hs {
constructor() {
- super(...arguments), this.id = pd++, this.isExitComplete = !1;
+ super(...arguments), this.id = md++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -6324,7 +6324,7 @@ var dd = (e, t) => t.isSVG ?? Ku(e) ? new jc(t) : new xc(t, { allowProjection: e
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = Ha(this.node, e, t);
+ let n = Ua(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -6349,28 +6349,28 @@ var dd = (e, t) => t.isSVG ?? Ku(e) ? new jc(t) : new xc(t, { allowProjection: e
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function hd(e) {
+function gd(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var gd = (e) => (t) => Ro(t) && e(t, hd(t));
+var _d = (e) => (t) => zo(t) && e(t, gd(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function _d(e, t, n, r) {
- return Ol(e, t, gd(n), r);
+function vd(e, t, n, r) {
+ return kl(e, t, _d(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var vd = ({ current: e }) => e ? e.ownerDocument.defaultView : null, yd = (e, t) => Math.abs(e - t);
-function bd(e, t) {
- let n = yd(e.x, t.x), r = yd(e.y, t.y);
+var yd = ({ current: e }) => e ? e.ownerDocument.defaultView : null, bd = (e, t) => Math.abs(e - t);
+function xd(e, t) {
+ let n = bd(e.x, t.x), r = bd(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
-var xd = /*#__PURE__*/ new Set(["auto", "scroll"]), Sd = class {
+var Sd = /*#__PURE__*/ new Set(["auto", "scroll"]), Cd = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -6378,13 +6378,13 @@ var xd = /*#__PURE__*/ new Set(["auto", "scroll"]), Sd = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Cd(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Td(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = bd(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = wd(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Ed(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = xd(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = Tn;
+ let { point: r } = e, { timestamp: i } = En;
this.history.push({
...r,
timestamp: i
@@ -6392,33 +6392,33 @@ var xd = /*#__PURE__*/ new Set(["auto", "scroll"]), Sd = class {
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Cd(t, this.transformPagePoint), Cn.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = wd(t, this.transformPagePoint), wn.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Td(e.type === "pointercancel" ? this.lastMoveEventInfo : Cd(t, this.transformPagePoint), this.history);
+ let a = Ed(e.type === "pointercancel" ? this.lastMoveEventInfo : wd(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !Ro(e)) return;
+ }, !zo(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = Cd(hd(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Tn;
+ let s = wd(gd(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = En;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, Td(s, this.history));
+ u && u(e, Ed(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Wt(_d(this.contextWindow, "pointermove", this.handlePointerMove, d), _d(this.contextWindow, "pointerup", this.handlePointerUp, d), _d(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Gt(vd(this.contextWindow, "pointermove", this.handlePointerMove, d), vd(this.contextWindow, "pointerup", this.handlePointerUp, d), vd(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (xd.has(e.overflowX) || xd.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (Sd.has(e.overflowX) || Sd.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -6443,51 +6443,51 @@ var xd = /*#__PURE__*/ new Set(["auto", "scroll"]), Sd = class {
x: r.x - t.x,
y: r.y - t.y
};
- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), Cn.update(this.updatePoint, !0));
+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), wn.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), wn(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Tn(this.updatePoint);
}
};
-function Cd(e, t) {
+function wd(e, t) {
return t ? { point: t(e.point) } : e;
}
-function wd(e, t) {
+function Td(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Td({ point: e }, t) {
+function Ed({ point: e }, t) {
return {
point: e,
- delta: wd(e, Dd(t)),
- offset: wd(e, Ed(t)),
- velocity: Od(t, .1)
+ delta: Td(e, Od(t)),
+ offset: Td(e, Dd(t)),
+ velocity: kd(t, .1)
};
}
-function Ed(e) {
+function Dd(e) {
return e[0];
}
-function Dd(e) {
+function Od(e) {
return e[e.length - 1];
}
-function Od(e, t) {
+function kd(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = Dd(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ qt(t)));) n--;
+ let n = e.length - 1, r = null, i = Od(e);
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Jt(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ qt(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ Jt(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Jt(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ Yt(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -6500,86 +6500,86 @@ function Od(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function kd(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? Cr(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Cr(n, e, r.max) : Math.min(e, n)), e;
+function Ad(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? wr(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? wr(n, e, r.max) : Math.min(e, n)), e;
}
-function Ad(e, t, n) {
+function jd(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function jd(e, { top: t, left: n, bottom: r, right: i }) {
+function Md(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: Ad(e.x, n, i),
- y: Ad(e.y, t, r)
+ x: jd(e.x, n, i),
+ y: jd(e.y, t, r)
};
}
-function Md(e, t) {
+function Nd(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function Nd(e, t) {
+function Pd(e, t) {
return {
- x: Md(e.x, t.x),
- y: Md(e.y, t.y)
+ x: Nd(e.x, t.x),
+ y: Nd(e.y, t.y)
};
}
-function Pd(e, t) {
- let n = .5, r = Yc(e), i = Yc(t);
- return i > r ? n = /* @__PURE__ */ Gt(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Gt(e.min, e.max - i, t.min)), Lt(0, 1, n);
-}
function Fd(e, t) {
+ let n = .5, r = Xc(e), i = Xc(t);
+ return i > r ? n = /* @__PURE__ */ Kt(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Kt(e.min, e.max - i, t.min)), Rt(0, 1, n);
+}
+function Id(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var Id = .35;
-function Ld(e = Id) {
- return e === !1 ? e = 0 : e === !0 && (e = Id), {
- x: Rd(e, "left", "right"),
- y: Rd(e, "top", "bottom")
+var Ld = .35;
+function Rd(e = Ld) {
+ return e === !1 ? e = 0 : e === !0 && (e = Ld), {
+ x: zd(e, "left", "right"),
+ y: zd(e, "top", "bottom")
};
}
-function Rd(e, t, n) {
+function zd(e, t, n) {
return {
- min: zd(e, t),
- max: zd(e, n)
+ min: Bd(e, t),
+ max: Bd(e, n)
};
}
-function zd(e, t) {
+function Bd(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
+var Vd = /* @__PURE__ */ new WeakMap(), Hd = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Ss(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Cs(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
if (r && r.isPresent === !1) return;
let i = (e) => {
- t && this.snapToCursor(hd(e).point), this.stopAnimation();
+ t && this.snapToCursor(gd(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = No(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), _l((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Po(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), vl((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (Qn.test(t)) {
+ if ($n.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = Yc(r) * (parseFloat(t) / 100));
+ r && (t = Xc(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && Cn.update(() => i(e, t), !1, !0), Xa(this.visualElement, "transform");
+ }), i && wn.update(() => i(e, t), !1, !0), Za(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -6588,10 +6588,10 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Gd(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = Kd(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Cn.update(() => a(e, t), !1, !0);
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && wn.update(() => a(e, t), !1, !0);
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -6601,7 +6601,7 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new Sd(e, {
+ this.panSession = new Cd(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -6611,7 +6611,7 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: vd(this.visualElement),
+ contextWindow: yd(this.visualElement),
element: this.visualElement.current
});
}
@@ -6621,7 +6621,7 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && Cn.postRender(() => o(n, r));
+ o && wn.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -6635,32 +6635,32 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !Wd(e, r, this.currentDirection)) return;
+ if (!n || !Gd(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = kd(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = Ad(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && nd(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? jd(n.layoutBox, e) : !1, this.elastic = Ld(t), r !== this.constraints && !nd(e) && n && this.constraints && !this.hasMutatedConstraints && _l((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Fd(n.layoutBox[e], this.constraints[e]));
+ e && rd(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Md(n.layoutBox, e) : !1, this.elastic = Rd(t), r !== this.constraints && !rd(e) && n && this.constraints && !this.hasMutatedConstraints && vl((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Id(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !nd(e)) return !1;
+ if (!e || !rd(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = cc(n, r.root, this.visualElement.getTransformPagePoint()), a = Nd(r.layout.layoutBox, i);
+ let i = lc(n, r.root, this.visualElement.getTransformPagePoint()), a = Pd(r.layout.layoutBox, i);
if (t) {
- let e = t(Us(a));
- this.hasMutatedConstraints = !!e, e && (a = Hs(e));
+ let e = t(Ws(a));
+ this.hasMutatedConstraints = !!e, e && (a = Us(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = _l((o) => {
- if (!Wd(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = vl((o) => {
+ if (!Gd(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -6683,65 +6683,65 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return Xa(this.visualElement, e), n.start(Ia(e, n, 0, t, this.visualElement, !1));
+ return Za(this.visualElement, e), n.start(La(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- _l((e) => this.getAxisMotionValue(e).stop());
+ vl((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- _l((t) => {
+ vl((t) => {
let { drag: n } = this.getProps();
- if (!Wd(t, n, this.currentDirection)) return;
+ if (!Gd(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - Cr(n, a, .5) + o);
+ i.set(e[t] - wr(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!nd(t) || !n || !this.constraints) return;
+ if (!rd(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- _l((e) => {
+ vl((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = Pd({
+ r[e] = Fd({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), _l((t) => {
- if (!Wd(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), vl((t) => {
+ if (!Gd(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set(Cr(i, a, r[t]));
+ n.set(wr(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Bd.set(this.visualElement, this);
- let e = this.visualElement.current, t = _d(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Ho(i);
+ Vd.set(this.visualElement, this);
+ let e = this.visualElement.current, t = vd(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Uo(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- nd(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ud(e, t.current, () => this.scalePositionWithinConstraints()));
+ rd(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Wd(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Cn.read(r);
- let o = Ol(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (_l((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), wn.read(r);
+ let o = kl(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (vl((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -6751,7 +6751,7 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Id, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Ld, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -6763,7 +6763,7 @@ var Bd = /* @__PURE__ */ new WeakMap(), Vd = class {
};
}
};
-function Hd(e) {
+function Ud(e) {
let t = !0;
return () => {
if (t) {
@@ -6773,28 +6773,28 @@ function Hd(e) {
e();
};
}
-function Ud(e, t, n) {
- let r = us(e, Hd(n)), i = us(t, Hd(n));
+function Wd(e, t, n) {
+ let r = ds(e, Ud(n)), i = ds(t, Ud(n));
return () => {
r(), i();
};
}
-function Wd(e, t, n) {
+function Gd(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Gd(e, t = 10) {
+function Kd(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var Kd = class extends Vs {
+var qd = class extends Hs {
constructor(e) {
- super(e), this.removeGroupControls = Ut, this.removeListeners = Ut, this.controls = new Vd(e);
+ super(e), this.removeGroupControls = Wt, this.removeListeners = Wt, this.controls = new Hd(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Ut;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Wt;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -6803,31 +6803,31 @@ var Kd = class extends Vs {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, qd = (e) => (t, n) => {
- e && Cn.update(() => e(t, n), !1, !0);
-}, Jd = class extends Vs {
+}, Jd = (e) => (t, n) => {
+ e && wn.update(() => e(t, n), !1, !0);
+}, Yd = class extends Hs {
constructor() {
- super(...arguments), this.removePointerDownListener = Ut;
+ super(...arguments), this.removePointerDownListener = Wt;
}
onPointerDown(e) {
- this.session = new Sd(e, this.createPanHandlers(), {
+ this.session = new Cd(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: vd(this.node)
+ contextWindow: yd(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: qd(e),
- onStart: qd(t),
- onMove: qd(n),
+ onSessionStart: Jd(e),
+ onStart: Jd(t),
+ onMove: Jd(n),
onEnd: (e, t) => {
- delete this.session, r && Cn.postRender(() => r(e, t));
+ delete this.session, r && wn.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = _d(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = vd(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -6835,36 +6835,36 @@ var Kd = class extends Vs {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, Yd = !1, Xd = class extends I.Component {
+}, Xd = !1, Zd = class extends I.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Yd && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Xd && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), Pl.hasEverUpdated = !0;
+ })), Fl.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), Yd = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || Cn.postRender(() => {
+ }), Xd = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || wn.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), ko.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Ao.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Yd = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ Xd = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -6874,41 +6874,41 @@ var Kd = class extends Vs {
return null;
}
};
-function Zd(e) {
- let [t, n] = vu(), r = (0, I.useContext)(jt);
- return (0, L.jsx)(Xd, {
+function Qd(e) {
+ let [t, n] = yu(), r = (0, I.useContext)(Mt);
+ return (0, L.jsx)(Zd, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, I.useContext)(td),
+ switchLayoutGroup: (0, I.useContext)(nd),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Qd = {
- pan: { Feature: Jd },
+var $d = {
+ pan: { Feature: Yd },
drag: {
- Feature: Kd,
- ProjectionNode: gu,
- MeasureLayout: Zd
+ Feature: qd,
+ ProjectionNode: _u,
+ MeasureLayout: Qd
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function $d(e, t, n) {
+function ef(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && Cn.postRender(() => i(t, hd(t)));
+ i && wn.postRender(() => i(t, gd(t)));
}
-var ef = class extends Vs {
+var tf = class extends Hs {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Io(e, (e, t) => ($d(this.node, t, "Start"), (e) => $d(this.node, e, "End"))));
+ e && (this.unmount = Lo(e, (e, t) => (ef(this.node, t, "Start"), (e) => ef(this.node, e, "End"))));
}
unmount() {}
-}, tf = class extends Vs {
+}, nf = class extends Hs {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -6925,57 +6925,57 @@ var ef = class extends Vs {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Wt(Ol(this.node.current, "focus", () => this.onFocus()), Ol(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Gt(kl(this.node.current, "focus", () => this.onFocus()), kl(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function nf(e, t, n) {
+function rf(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && Cn.postRender(() => i(t, hd(t)));
+ i && wn.postRender(() => i(t, gd(t)));
}
-var rf = class extends Vs {
+var af = class extends Hs {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Yo(e, (e, t) => (nf(this.node, t, "Start"), (e, { success: t }) => nf(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = Xo(e, (e, t) => (rf(this.node, t, "Start"), (e, { success: t }) => rf(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, af = /* @__PURE__ */ new WeakMap(), of = /* @__PURE__ */ new WeakMap(), sf = (e) => {
- let t = af.get(e.target);
+}, of = /* @__PURE__ */ new WeakMap(), sf = /* @__PURE__ */ new WeakMap(), cf = (e) => {
+ let t = of.get(e.target);
t && t(e);
-}, cf = (e) => {
- e.forEach(sf);
+}, lf = (e) => {
+ e.forEach(cf);
};
-function lf({ root: e, ...t }) {
+function uf({ root: e, ...t }) {
let n = e || document;
- of.has(n) || of.set(n, {});
- let r = of.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(cf, {
+ sf.has(n) || sf.set(n, {});
+ let r = sf.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(lf, {
root: e,
...t
})), r[i];
}
-function uf(e, t, n) {
- let r = lf(t);
- return af.set(e, n), r.observe(e), () => {
- af.delete(e), r.unobserve(e);
+function df(e, t, n) {
+ let r = uf(t);
+ return of.set(e, n), r.observe(e), () => {
+ of.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var df = {
+var ff = {
some: 0,
all: 1
-}, ff = class extends Vs {
+}, pf = class extends Hs {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -6984,7 +6984,7 @@ var df = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : df[r]
+ threshold: typeof r == "number" ? r : ff[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -6992,7 +6992,7 @@ var df = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = uf(this.node.current, a, o);
+ this.stopObserver = df(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -7004,34 +7004,34 @@ var df = {
"amount",
"margin",
"root"
- ].some(pf(e, t)) && this.startObserver();
+ ].some(mf(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function pf({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function mf({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var mf = {
- inView: { Feature: ff },
- tap: { Feature: rf },
- focus: { Feature: tf },
- hover: { Feature: ef }
-}, hf = { layout: {
- ProjectionNode: gu,
- MeasureLayout: Zd
-} }, gf = /*@__PURE__*/ ud({
- ...md,
- ...mf,
- ...Qd,
- ...hf
-}, dd);
+var hf = {
+ inView: { Feature: pf },
+ tap: { Feature: af },
+ focus: { Feature: nf },
+ hover: { Feature: tf }
+}, gf = { layout: {
+ ProjectionNode: _u,
+ MeasureLayout: Qd
+} }, _f = /*@__PURE__*/ dd({
+ ...hd,
+ ...hf,
+ ...$d,
+ ...gf
+}, fd);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function _f(e, t, n) {
+function vf(e, t, n) {
(0, I.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -7040,8 +7040,8 @@ function _f(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function vf(e) {
- let t = Mt(() => Ea(e)), { isStatic: n } = (0, I.useContext)(_u);
+function yf(e) {
+ let t = Nt(() => Da(e)), { isStatic: n } = (0, I.useContext)(vu);
if (n) {
let [, n] = (0, I.useState)(e);
(0, I.useEffect)(() => t.on("change", n), []);
@@ -7050,28 +7050,28 @@ function vf(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function yf(e, t) {
- let n = vf(t()), r = () => n.set(t());
- return r(), Nt(() => {
- let t = () => Cn.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+function bf(e, t) {
+ let n = yf(t()), r = () => n.set(t());
+ return r(), Pt(() => {
+ let t = () => wn.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), wn(r);
+ n.forEach((e) => e()), Tn(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function bf(e) {
- wa.current = [], e();
- let t = yf(wa.current, e);
- return wa.current = void 0, t;
+function xf(e) {
+ Ta.current = [], e();
+ let t = bf(Ta.current, e);
+ return Ta.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function xf(e, t, n, r) {
- if (typeof e == "function") return bf(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Cf(e, t, n, r);
- let i = typeof t == "function" ? t : ps(t, n, r), a = Array.isArray(e) ? Sf(e, i) : Sf([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function Sf(e, t, n, r) {
+ if (typeof e == "function") return xf(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return wf(e, t, n, r);
+ let i = typeof t == "function" ? t : ms(t, n, r), a = Array.isArray(e) ? Cf(e, i) : Cf([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -7080,46 +7080,46 @@ function xf(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function Sf(e, t) {
- let n = Mt(() => []);
- return yf(e, () => {
+function Cf(e, t) {
+ let n = Nt(() => []);
+ return bf(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function Cf(e, t, n, r) {
- let i = Mt(() => Object.keys(n)), a = Mt(() => ({}));
- for (let o of i) a[o] = xf(e, t, n[o], r);
+function wf(e, t, n, r) {
+ let i = Nt(() => Object.keys(n)), a = Nt(() => ({}));
+ for (let o of i) a[o] = Sf(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function wf(e, t = {}) {
- let { isStatic: n } = (0, I.useContext)(_u), r = () => Ja(e) ? e.get() : e;
- if (n) return xf(r);
- let i = vf(r());
- return (0, I.useInsertionEffect)(() => ms(i, e, t), [i, JSON.stringify(t)]), i;
+function Tf(e, t = {}) {
+ let { isStatic: n } = (0, I.useContext)(vu), r = () => Ya(e) ? e.get() : e;
+ if (n) return Sf(r);
+ let i = yf(r());
+ return (0, I.useInsertionEffect)(() => hs(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function Tf(e, t = {}) {
- return wf(e, {
+function Ef(e, t = {}) {
+ return Tf(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function Ef() {
- !Ms.current && Ps();
- let [e] = (0, I.useState)(js.current);
+function Df() {
+ !Ns.current && Fs();
+ let [e] = (0, I.useState)(Ms.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var Df = gf, Of = class {
+var Of = _f, kf = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -7134,22 +7134,22 @@ var Df = gf, Of = class {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, kf = class extends Of {
+}, Af = class extends kf {
filter(e, t, n) {
- let [r, i] = Pf(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = Ff(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends Of {
+(class extends kf {
static {
this.type = "header";
}
});
-var Af = class extends Of {
+var jf = class extends kf {
static {
this.type = "loader";
}
-}, jf = class extends kf {
+}, Mf = class extends Af {
static {
this.type = "item";
}
@@ -7160,7 +7160,7 @@ var Af = class extends Of {
}
return null;
}
-}, Mf = class extends kf {
+}, Nf = class extends Af {
static {
this.type = "section";
}
@@ -7172,7 +7172,7 @@ var Af = class extends Of {
}
return null;
}
-}, Nf = class {
+}, Pf = class {
get size() {
return this.itemCount;
}
@@ -7247,14 +7247,14 @@ var Af = class extends Of {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Pf(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = Ff(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function Pf(e, t, n, r) {
+function Ff(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -7269,7 +7269,7 @@ function Pf(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var Ff = class {
+var If = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -7350,7 +7350,7 @@ var Ff = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, If = class e extends Ff {
+}, Lf = class e extends If {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -7401,7 +7401,7 @@ var Ff = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, Lf = class extends Ff {
+}, Rf = class extends If {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -7409,7 +7409,7 @@ var Ff = class {
return !0;
}
createElement(e) {
- return new If(e, this);
+ return new Lf(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -7431,8 +7431,8 @@ var Ff = class {
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof If && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof If ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof Lf && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof Lf ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -7451,13 +7451,13 @@ var Ff = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Rf(e) {
+function zf(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, I.useMemo)(() => void 0, [t]), s = (0, I.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, I.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = zf(a) ? a : null, o = n ? s.get(n) : null;
+ let n = Bf(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -7482,7 +7482,7 @@ function Rf(e) {
i
]);
}
-function zf(e) {
+function Bf(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -7492,26 +7492,26 @@ function zf(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function Bf(e) {
- if (Hf()) e.focus({ preventScroll: !0 });
+function Vf(e) {
+ if (Uf()) e.focus({ preventScroll: !0 });
else {
- let t = Uf(e);
- e.focus(), Wf(t);
+ let t = Wf(e);
+ e.focus(), Gf(t);
}
}
-var Vf = null;
-function Hf() {
- if (Vf == null) {
- Vf = !1;
+var Hf = null;
+function Uf() {
+ if (Hf == null) {
+ Hf = !1;
try {
document.createElement("div").focus({ get preventScroll() {
- return Vf = !0, !0;
+ return Hf = !0, !0;
} });
} catch {}
}
- return Vf;
+ return Hf;
}
-function Uf(e) {
+function Wf(e) {
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
element: t,
@@ -7524,25 +7524,25 @@ function Uf(e) {
scrollLeft: r.scrollLeft
}), n;
}
-function Wf(e) {
+function Gf(e) {
for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Gf = (e) => Jf(e) ? e.document : Yf(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Kf = (e) => Gf(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function qf(e) {
- return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
-}
+var Kf = (e) => Yf(e) ? e.document : Xf(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), qf = (e) => Kf(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
function Jf(e) {
- return typeof e == "object" && !!e && "window" in e && e.window === e;
+ return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
function Yf(e) {
- return qf(e) && e.nodeType === 9;
+ return typeof e == "object" && !!e && "window" in e && e.window === e;
}
function Xf(e) {
- return qf(e) && e.nodeType === 11 && "host" in e;
+ return Jf(e) && e.nodeType === 9;
}
-function Zf(e, t, n, r) {
+function Zf(e) {
+ return Jf(e) && e.nodeType === 11 && "host" in e;
+}
+function Qf(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -7550,7 +7550,7 @@ function Zf(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function Qf(e, t, n, r) {
+function $f(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -7565,73 +7565,73 @@ function Qf(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var $f = !1;
-function ep() {
- return $f;
+var ep = !1;
+function tp() {
+ return ep;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function tp(e, t) {
- if (!ep()) return t && e ? e.contains(t) : !1;
+function np(e, t) {
+ if (!tp()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n !== null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Xf(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Zf(n) ? n.host : n.parentNode;
}
return !1;
}
-var np = (e = document) => {
- if (!ep()) return e.activeElement;
+var rp = (e = document) => {
+ if (!tp()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function V(e) {
- if (ep() && e.target instanceof Element && e.target.shadowRoot) {
+ if (tp() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function rp(e, t) {
+function ip(e, t) {
if (t === null) return [];
- t ??= Kf(e);
+ t ??= qf(e);
let n = [t];
- if (!ep() || !e || e === t) return n;
+ if (!tp() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; Xf(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; Zf(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function ip(e) {
+function ap(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Kf(e);
+ let t = e.getRootNode(), n = qf(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var ap = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function op(e) {
- let t = Kf(e);
+var op = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function sp(e) {
+ let t = qf(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = Kf(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = qf(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function sp(e, t) {
+function cp(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function cp(e, t) {
- return ap ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && op(e) && sp(e, t) && (!e.parentElement || cp(e.parentElement, e));
+function lp(e, t) {
+ return op ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && sp(e) && cp(e, t) && (!e.parentElement || lp(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var lp = [
+var up = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -7646,41 +7646,41 @@ var lp = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], up = lp.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-lp.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var dp = lp.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function fp(e, t) {
- return e.matches(up) && !mp(e) && (t?.skipVisibilityCheck || cp(e));
-}
-function pp(e) {
- return e.matches(dp) && cp(e) && !mp(e);
+], dp = up.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+up.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var fp = up.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function pp(e, t) {
+ return e.matches(dp) && !hp(e) && (t?.skipVisibilityCheck || lp(e));
}
function mp(e) {
+ return e.matches(fp) && lp(e) && !hp(e);
+}
+function hp(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Kf(t).HTMLElement && t.inert) return !0;
+ if (t instanceof qf(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var hp = typeof document < "u" ? I.useLayoutEffect : () => {};
+var gp = typeof document < "u" ? I.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function gp(e) {
+function _p(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function _p(e, t) {
+function vp(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function vp(e) {
+function yp(e) {
let t = (0, I.useRef)({
isFocused: !1,
observer: null
});
- return hp(() => {
+ return gp(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -7692,14 +7692,14 @@ function vp(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = gp(r);
+ let t = _p(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === np() ? null : np();
+ let e = n === rp() ? null : rp();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -7712,87 +7712,87 @@ function vp(e) {
}
}, [e]);
}
-var yp = !1;
-function bp(e) {
- for (; e && !fp(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = np(Kf(e).document);
+var bp = !1;
+function xp(e) {
+ for (; e && !pp(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = rp(qf(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && Xf(n) ? n : Kf(e), i = (t) => t === e || t != null && tp(e, t), a = (e) => e === t || t != null && e != null && tp(t, e);
- yp = !0;
+ let n = e?.getRootNode(), r = n != null && Zf(n) ? n : qf(e), i = (t) => t === e || t != null && np(e, t), a = (e) => e === t || t != null && e != null && np(t, e);
+ bp = !0;
let o = !1, s = (e) => {
(a(V(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(V(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Bf(t), d()));
+ (a(V(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Vf(t), d()));
}, l = (e) => {
(i(V(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(V(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Bf(t), d()));
+ (i(V(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Vf(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), yp = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), bp = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function xp(e) {
+function Sp(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function Sp(e) {
+function Cp(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function Cp(e) {
+function wp(e) {
let t = null;
return () => (t ??= e(), t);
}
-var wp = Cp(function() {
- return Sp(/^Mac/i);
-}), Tp = Cp(function() {
- return Sp(/^iPhone/i);
-}), Ep = Cp(function() {
- return Sp(/^iPad/i) || wp() && navigator.maxTouchPoints > 1;
-}), Dp = Cp(function() {
- return Tp() || Ep();
-}), Op = Cp(function() {
- return wp() || Dp();
-}), kp = Cp(function() {
- return xp(/AppleWebKit/i) && (Dp() || !Ap());
-}), Ap = Cp(function() {
- return xp(/Chrome|CriOS|CrMo/i);
-}), jp = Cp(function() {
- return xp(/Android/i);
-}), Mp = Cp(function() {
- return xp(/(Firefox|FxiOS)/i);
+var Tp = wp(function() {
+ return Cp(/^Mac/i);
+}), Ep = wp(function() {
+ return Cp(/^iPhone/i);
+}), Dp = wp(function() {
+ return Cp(/^iPad/i) || Tp() && navigator.maxTouchPoints > 1;
+}), Op = wp(function() {
+ return Ep() || Dp();
+}), kp = wp(function() {
+ return Tp() || Op();
+}), Ap = wp(function() {
+ return Sp(/AppleWebKit/i) && (Op() || !jp());
+}), jp = wp(function() {
+ return Sp(/Chrome|CriOS|CrMo/i);
+}), Mp = wp(function() {
+ return Sp(/Android/i);
+}), Np = wp(function() {
+ return Sp(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Np(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : jp() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
-}
function Pp(e) {
- return !jp() && e.width === 0 && e.height === 0 || jp() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+ return e.pointerType === "" && e.isTrusted ? !0 : Mp() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+}
+function Fp(e) {
+ return !Mp() && e.width === 0 && e.height === 0 || Mp() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
-var Fp = /*#__PURE__*/ (0, I.createContext)({
+var Ip = /*#__PURE__*/ (0, I.createContext)({
isNative: !0,
- open: Bp,
+ open: Vp,
useHref: (e) => e
});
-function Ip() {
- return (0, I.useContext)(Fp);
+function Lp() {
+ return (0, I.useContext)(Ip);
}
-function Lp(e, t) {
+function Rp(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function Rp(e, t, n = !0) {
+function zp(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !kp() && Mp() && window.event?.type?.startsWith("key") && e.target === "_blank" && (wp() ? r = !0 : i = !0);
- let s = kp() && wp() && !Ep() ? new KeyboardEvent("keydown", {
+ !Ap() && Np() && window.event?.type?.startsWith("key") && e.target === "_blank" && (Tp() ? r = !0 : i = !0);
+ let s = Ap() && Tp() && !Dp() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -7807,21 +7807,21 @@ function Rp(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- Rp.isOpening = n, Bf(e), e.dispatchEvent(s), Rp.isOpening = !1;
+ zp.isOpening = n, Vf(e), e.dispatchEvent(s), zp.isOpening = !1;
}
-Rp.isOpening = !1;
-function zp(e, t) {
+zp.isOpening = !1;
+function Bp(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function Bp(e, t) {
- zp(e, (e) => Rp(e, t));
+function Vp(e, t) {
+ Bp(e, (e) => zp(e, t));
}
-function Vp(e) {
- let t = Ip().useHref(e.href ?? "");
+function Hp(e) {
+ let t = Lp().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -7831,8 +7831,8 @@ function Vp(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function Hp(e) {
- let t = Ip().useHref(e?.href ?? ""), n = {};
+function Up(e) {
+ let t = Lp().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -7843,138 +7843,138 @@ function Hp(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Up(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Lp(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function Wp(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Rp(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Wp = {
+var Gp = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, Gp = /*#__PURE__*/ I.createContext(Wp), Kp = /*#__PURE__*/ I.createContext(!1);
+}, Kp = /*#__PURE__*/ I.createContext(Gp), qp = /*#__PURE__*/ I.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var qp = /* @__PURE__ */ new WeakMap();
-function Jp(e = !1) {
- let t = (0, I.useContext)(Gp), n = (0, I.useRef)(null);
+var Jp = /* @__PURE__ */ new WeakMap();
+function Yp(e = !1) {
+ let t = (0, I.useContext)(Kp), n = (0, I.useRef)(null);
if (n.current === null && !e) {
let e = I.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = qp.get(e);
- n == null ? qp.set(e, {
+ let n = Jp.get(e);
+ n == null ? Jp.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, qp.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, Jp.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Yp(e) {
- let t = (0, I.useContext)(Gp), n = Jp(!!e), r = `react-aria${t.prefix}`;
+function Xp(e) {
+ let t = (0, I.useContext)(Kp), n = Yp(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Xp(e) {
- let t = I.useId(), [n] = (0, I.useState)(tm()), r = n ? "react-aria" : `react-aria${Wp.prefix}`;
+function Zp(e) {
+ let t = I.useId(), [n] = (0, I.useState)(nm()), r = n ? "react-aria" : `react-aria${Gp.prefix}`;
return e || `${r}-${t}`;
}
-var Zp = typeof I.useId == "function" ? Xp : Yp;
-function Qp() {
+var Qp = typeof I.useId == "function" ? Zp : Xp;
+function $p() {
return !1;
}
-function $p() {
+function em() {
return !0;
}
-function em(e) {
+function tm(e) {
return () => {};
}
-function tm() {
- return typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore(em, Qp, $p) : (0, I.useContext)(Kp);
+function nm() {
+ return typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore(tm, $p, em) : (0, I.useContext)(qp);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var nm = null, rm = /* @__PURE__ */ new Set(), im = /* @__PURE__ */ new Map(), am = !1, om = !1, sm = {
+var rm = null, im = /* @__PURE__ */ new Set(), am = /* @__PURE__ */ new Map(), om = !1, sm = !1, cm = {
Tab: !0,
Escape: !0
};
-function cm(e, t) {
- for (let n of rm) n(e, t);
-}
-function lm(e) {
- return !(e.metaKey || !wp() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function lm(e, t) {
+ for (let n of im) n(e, t);
}
function um(e) {
- am = !0, !Rp.isOpening && lm(e) && (nm = "keyboard", cm("keyboard", e));
+ return !(e.metaKey || !Tp() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
function dm(e) {
- nm = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (am = !0, cm("pointer", e));
+ om = !0, !zp.isOpening && um(e) && (rm = "keyboard", lm("keyboard", e));
}
function fm(e) {
- !Rp.isOpening && Np(e) && (am = !0, nm = "virtual");
+ rm = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (om = !0, lm("pointer", e));
}
function pm(e) {
- if (yp) return;
- let t = V(e), n = Kf(t), r = Gf(t);
+ !zp.isOpening && Pp(e) && (om = !0, rm = "virtual");
+}
+function mm(e) {
+ if (bp) return;
+ let t = V(e), n = qf(t), r = Kf(t);
if (t === n) {
- om = !0;
+ sm = !0;
return;
}
- t === r || !e.isTrusted || (!am && !om && (nm = "virtual", cm("virtual", e)), am = !1, om = !1);
+ t === r || !e.isTrusted || (!om && !sm && (rm = "virtual", lm("virtual", e)), om = !1, sm = !1);
}
-function mm() {
- yp || (am = !1, om = !0);
+function hm() {
+ bp || (om = !1, sm = !0);
}
-function hm(e) {
+function gm(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Kf(e), n = Gf(e);
- if (im.get(t)) return;
+ let t = qf(e), n = Kf(e);
+ if (am.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- am = !0, r.apply(this, arguments);
+ om = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", um, !0), n.addEventListener("keyup", um, !0), n.addEventListener("click", fm, !0), t.addEventListener("focus", pm, !0), t.addEventListener("blur", mm, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", dm, !0), n.addEventListener("pointermove", dm, !0), n.addEventListener("pointerup", dm, !0)), t.addEventListener("beforeunload", () => {
- gm(e);
- }, { once: !0 }), im.set(t, { focus: r });
+ }), n.addEventListener("keydown", dm, !0), n.addEventListener("keyup", dm, !0), n.addEventListener("click", pm, !0), t.addEventListener("focus", mm, !0), t.addEventListener("blur", hm, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", fm, !0), n.addEventListener("pointermove", fm, !0), n.addEventListener("pointerup", fm, !0)), t.addEventListener("beforeunload", () => {
+ _m(e);
+ }, { once: !0 }), am.set(t, { focus: r });
}
-var gm = (e, t) => {
- let n = Kf(e), r = Gf(e);
- t && r.removeEventListener("DOMContentLoaded", t), im.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var _m = (e, t) => {
+ let n = qf(e), r = Kf(e);
+ t && r.removeEventListener("DOMContentLoaded", t), am.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: im.get(n).focus
- }), r.removeEventListener("keydown", um, !0), r.removeEventListener("keyup", um, !0), r.removeEventListener("click", fm, !0), n.removeEventListener("focus", pm, !0), n.removeEventListener("blur", mm, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", dm, !0), r.removeEventListener("pointermove", dm, !0), r.removeEventListener("pointerup", dm, !0)), im.delete(n));
+ value: am.get(n).focus
+ }), r.removeEventListener("keydown", dm, !0), r.removeEventListener("keyup", dm, !0), r.removeEventListener("click", pm, !0), n.removeEventListener("focus", mm, !0), n.removeEventListener("blur", hm, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", fm, !0), r.removeEventListener("pointermove", fm, !0), r.removeEventListener("pointerup", fm, !0)), am.delete(n));
};
-function _m(e) {
- let t = Gf(e), n;
+function vm(e) {
+ let t = Kf(e), n;
return t.readyState === "loading" ? (n = () => {
- hm(e);
- }, t.addEventListener("DOMContentLoaded", n)) : hm(e), () => gm(e, n);
-}
-typeof document < "u" && _m();
-function vm() {
- return nm !== "pointer";
+ gm(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : gm(e), () => _m(e, n);
}
+typeof document < "u" && vm();
function ym() {
- return nm;
+ return rm !== "pointer";
+}
+function bm() {
+ return rm;
}
-function bm(e) {
- nm = e, cm(e, null);
+function xm(e) {
+ rm = e, lm(e, null);
}
-function xm() {
- hm();
- let [e, t] = (0, I.useState)(nm);
+function Sm() {
+ gm();
+ let [e, t] = (0, I.useState)(rm);
return (0, I.useEffect)(() => {
let e = () => {
- t(nm);
+ t(rm);
};
- return rm.add(e), () => {
- rm.delete(e);
+ return im.add(e), () => {
+ im.delete(e);
};
- }, []), tm() ? null : e;
+ }, []), nm() ? null : e;
}
-var Sm = /* @__PURE__ */ new Set([
+var Cm = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -7985,25 +7985,25 @@ var Sm = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Cm(e, t, n) {
- let r = n ? V(n) : void 0, i = Gf(r), a = Kf(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = np(i);
- return e = e || u instanceof o && !Sm.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !sm[n.key]);
-}
function wm(e, t, n) {
- hm(), (0, I.useEffect)(() => {
+ let r = n ? V(n) : void 0, i = Kf(r), a = qf(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = rp(i);
+ return e = e || u instanceof o && !Cm.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !cm[n.key]);
+}
+function Tm(e, t, n) {
+ gm(), (0, I.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- Cm(!!n?.isTextInput, t, r) && e(vm());
+ wm(!!n?.isTextInput, t, r) && e(ym());
};
- return rm.add(t), () => {
- rm.delete(t);
+ return im.add(t), () => {
+ im.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var Tm = /* @__PURE__ */ new Map(), Em = /* @__PURE__ */ new Set();
-function Dm() {
+var Em = /* @__PURE__ */ new Map(), Dm = /* @__PURE__ */ new Set();
+function Om() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
@@ -8011,51 +8011,51 @@ function Dm() {
let t = (t) => {
let r = V(t);
if (!e(t) || !r) return;
- let i = Tm.get(r);
- i || (i = /* @__PURE__ */ new Set(), Tm.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = Em.get(r);
+ i || (i = /* @__PURE__ */ new Set(), Em.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
let r = V(t);
if (!e(t) || !r) return;
- let i = Tm.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Tm.delete(r)), Tm.size === 0)) {
- for (let e of Em) e();
- Em.clear();
+ let i = Em.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Em.delete(r)), Em.size === 0)) {
+ for (let e of Dm) e();
+ Dm.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Dm) : Dm());
-function Om() {
- for (let [e] of Tm) "isConnected" in e && !e.isConnected && Tm.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Om) : Om());
+function km() {
+ for (let [e] of Em) "isConnected" in e && !e.isConnected && Em.delete(e);
}
-function km(e) {
+function Am(e) {
requestAnimationFrame(() => {
- Om(), Tm.size === 0 ? e() : Em.add(e);
+ km(), Em.size === 0 ? e() : Dm.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function Am(e) {
+function jm(e) {
if (!e.isConnected) return;
- let t = Gf(e);
- if (ym() === "virtual") {
- let n = np(t);
- km(() => {
- let r = np(t);
- (r === n || r === t.body) && e.isConnected && Bf(e);
+ let t = Kf(e);
+ if (bm() === "virtual") {
+ let n = rp(t);
+ Am(() => {
+ let r = rp(t);
+ (r === n || r === t.body) && e.isConnected && Vf(e);
});
- } else Bf(e);
+ } else Vf(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function jm(...e) {
+function Mm(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Mm(e) {
+function Nm(e) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(t), i = (0, I.useRef)(null), a = (0, I.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
@@ -8065,7 +8065,7 @@ function Mm(e) {
}
r.current === e.value ? a.current() : n(e.value);
});
- return hp(() => {
+ return gp(() => {
r.current = t, i.current && a.current();
}), [t, (0, I.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -8073,21 +8073,21 @@ function Mm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var Nm = !!(typeof window < "u" && window.document && window.document.createElement), Pm = /* @__PURE__ */ new Map(), Fm;
-typeof FinalizationRegistry < "u" && (Fm = new FinalizationRegistry((e) => {
- Pm.delete(e);
+var Pm = !!(typeof window < "u" && window.document && window.document.createElement), Fm = /* @__PURE__ */ new Map(), Im;
+typeof FinalizationRegistry < "u" && (Im = new FinalizationRegistry((e) => {
+ Fm.delete(e);
}));
-var Im = /* @__PURE__ */ new WeakMap();
-function Lm(e) {
- let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(null), i = Zp(t), a = (0, I.useRef)(null), o = Im.get(a);
- if (Fm && o !== i && (o != null && Fm.unregister(a), Fm.register(a, i, a), Im.set(a, i)), Nm) {
- let e = Pm.get(i);
- e && !e.includes(r) ? e.push(r) : Pm.set(i, [r]);
- }
- return hp(() => {
+var Lm = /* @__PURE__ */ new WeakMap();
+function Rm(e) {
+ let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(null), i = Qp(t), a = (0, I.useRef)(null), o = Lm.get(a);
+ if (Im && o !== i && (o != null && Im.unregister(a), Im.register(a, i, a), Lm.set(a, i)), Pm) {
+ let e = Fm.get(i);
+ e && !e.includes(r) ? e.push(r) : Fm.set(i, [r]);
+ }
+ return gp(() => {
let e = i;
return () => {
- Fm && (Fm.unregister(a), Im.delete(a)), Pm.delete(e);
+ Im && (Im.unregister(a), Lm.delete(a)), Fm.delete(e);
};
}, [i]), (0, I.useEffect)(() => {
let e = r.current;
@@ -8096,20 +8096,20 @@ function Lm(e) {
};
}), i;
}
-function Rm(e, t) {
+function zm(e, t) {
if (e === t) return e;
- let n = Pm.get(e);
+ let n = Fm.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = Pm.get(t);
+ let r = Fm.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function zm(e = []) {
- let t = Lm(), [n, r] = Mm(t), i = (0, I.useCallback)(() => {
+function Bm(e = []) {
+ let t = Rm(), [n, r] = Nm(t), i = (0, I.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return hp(i, [
+ return gp(i, [
t,
i,
...e
@@ -8117,38 +8117,38 @@ function zm(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function Bm(...e) {
+function Vm(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Vm(e, t);
+ let r = Hm(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Vm(e[n], null);
+ typeof t == "function" ? t() : Hm(e[n], null);
});
};
};
}
-function Vm(e, t) {
+function Hm(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Hm(e) {
+function Um(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = Hm(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Um(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function Um() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Hm(e)) && (r && (r += " "), r += t);
+function Wm() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Um(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -8159,18 +8159,18 @@ function H(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = jm(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Um(n, i) : e === "id" && n && i ? t.id = Rm(n, i) : e === "ref" && n && i ? t.ref = Bm(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Mm(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Wm(n, i) : e === "id" && n && i ? t.id = zm(n, i) : e === "ref" && n && i ? t.ref = Vm(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Wm(e) {
+function Gm(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, I.useCallback)((e) => {
if (V(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = vp(a), s = (0, I.useCallback)((e) => {
- let t = V(e), r = Gf(t), a = r ? np(r) : np();
+ }, [r, i]), o = yp(a), s = (0, I.useCallback)((e) => {
+ let t = V(e), r = Kf(t), a = r ? rp(r) : rp();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -8184,7 +8184,7 @@ function Wm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function Gm(e) {
+function Km(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -8209,33 +8209,33 @@ function Gm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Km = /* @__PURE__ */ new Set([
+var qm = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), qm = [
+]), Jm = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Jm(e) {
- let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(wp() ? "Meta" : "Control"), t;
-}
function Ym(e) {
let t = /* @__PURE__ */ new Set();
- return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Tp() ? "Meta" : "Control"), t;
}
function Xm(e) {
- return qm.filter((t) => e.has(t));
+ let t = /* @__PURE__ */ new Set();
+ return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
function Zm(e) {
+ return Jm.filter((t) => e.has(t));
+}
+function Qm(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Km.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return qm.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -8247,10 +8247,10 @@ function Zm(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function Qm(e) {
+function $m(e) {
return e.toLowerCase();
}
-var $m = {
+var eh = {
space: " ",
esc: "escape",
del: "delete",
@@ -8262,26 +8262,26 @@ var $m = {
pageup: "pageup",
pagedown: "pagedown"
};
-function eh(e) {
- let t = Qm(e);
- return $m[t] ?? t;
-}
function th(e) {
- let t = Xm(Jm(e)), n = eh(e.key);
- return t.length > 0 ? `${t.join("+")}+${n}` : n;
+ let t = $m(e);
+ return eh[t] ?? t;
}
function nh(e) {
- let t = Xm(Ym(e)), n = Qm(e.key);
- return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+ let t = Zm(Ym(e)), n = th(e.key);
+ return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
function rh(e) {
+ let t = Zm(Xm(e)), n = $m(e.key);
+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+}
+function ih(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Zm(n);
- t.set(th(e), r);
+ let e = Qm(n);
+ t.set(nh(e), r);
}
return (e) => {
- let n = nh(e), r = t.get(n), i = r?.(e);
+ let n = rh(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -8293,11 +8293,11 @@ function rh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function ih(e) {
+function ah(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = rh(t), s = Gm((e) => {
- if (!tp(e.currentTarget, V(e))) {
+ let o = ih(t), s = Km((e) => {
+ if (!np(e.currentTarget, V(e))) {
e.continuePropagation();
return;
}
@@ -8306,8 +8306,8 @@ function ih(e) {
return;
}
o(e);
- }), c = Gm((e) => {
- if (!tp(e.currentTarget, V(e))) {
+ }), c = Km((e) => {
+ if (!np(e.currentTarget, V(e))) {
e.continuePropagation();
return;
}
@@ -8317,8 +8317,8 @@ function ih(e) {
}
e.continuePropagation();
});
- i = e.onKeyDown ? jm(e.onKeyDown, s) : s, a = e.onKeyUp ? jm(e.onKeyUp, c) : c;
- } else i = Gm(e.onKeyDown), a = Gm(e.onKeyUp);
+ i = e.onKeyDown ? Mm(e.onKeyDown, s) : s, a = e.onKeyUp ? Mm(e.onKeyUp, c) : c;
+ } else i = Km(e.onKeyDown), a = Km(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -8326,7 +8326,7 @@ function ih(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function ah(e) {
+function oh(e) {
let t = (0, I.useRef)(null), n = (0, I.useRef)(void 0), r = (0, I.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -8349,8 +8349,8 @@ function ah(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function oh(e, t) {
- hp(() => {
+function sh(e, t) {
+ gp(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -8358,17 +8358,17 @@ function oh(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var sh = /*#__PURE__*/ I.createContext(null);
-function ch(e) {
- let t = (0, I.useContext)(sh) || {};
- oh(t, e);
+var ch = /*#__PURE__*/ I.createContext(null);
+function lh(e) {
+ let t = (0, I.useContext)(ch) || {};
+ sh(t, e);
let { ref: n, ...r } = t;
return r;
}
-function lh(e, t) {
- let { focusProps: n } = Wm(e), { keyboardProps: r } = ih(e), i = H(n, r), a = ch(t), o = e.isDisabled ? {} : a, s = (0, I.useRef)(e.autoFocus);
+function uh(e, t) {
+ let { focusProps: n } = Gm(e), { keyboardProps: r } = ah(e), i = H(n, r), a = lh(t), o = e.isDisabled ? {} : a, s = (0, I.useRef)(e.autoFocus);
(0, I.useEffect)(() => {
- s.current && t.current && Am(t.current), s.current = !1;
+ s.current && t.current && jm(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: H({
@@ -8403,23 +8403,23 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var uh = /*#__PURE__*/ (0, I.createContext)(!1);
-function dh(e) {
- if ((0, I.useContext)(uh)) return /*#__PURE__*/ I.createElement(I.Fragment, null, e.children);
- let t = /*#__PURE__*/ I.createElement(uh.Provider, { value: !0 }, e.children);
+var dh = /*#__PURE__*/ (0, I.createContext)(!1);
+function fh(e) {
+ if ((0, I.useContext)(dh)) return /*#__PURE__*/ I.createElement(I.Fragment, null, e.children);
+ let t = /*#__PURE__*/ I.createElement(dh.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ I.createElement("template", null, t);
}
-function fh(e) {
- let t = (t, n) => (0, I.useContext)(uh) ? null : e(t, n);
+function ph(e) {
+ let t = (t, n) => (0, I.useContext)(dh) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, I.forwardRef)(t);
}
-function ph() {
- return (0, I.useContext)(uh);
+function mh() {
+ return (0, I.useContext)(dh);
}
//#endregion
//#region node_modules/react-dom/cjs/react-dom.production.js
-var mh = /* @__PURE__ */ j(((e) => {
- var t = te();
+var hh = /* @__PURE__ */ M(((e) => {
+ var t = ne();
function n(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -8546,7 +8546,7 @@ var mh = /* @__PURE__ */ j(((e) => {
}, e.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, e.version = "19.3.0";
-})), hh = /* @__PURE__ */ j(((e, t) => {
+})), gh = /* @__PURE__ */ M(((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);
@@ -8554,9 +8554,9 @@ var mh = /* @__PURE__ */ j(((e) => {
console.error(e);
}
}
- n(), t.exports = mh();
-})), gh = /* @__PURE__ */ j(((e) => {
- var t = te();
+ n(), t.exports = hh();
+})), _h = /* @__PURE__ */ M(((e) => {
+ var t = ne();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -8593,47 +8593,47 @@ var mh = /* @__PURE__ */ j(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), _h = /* @__PURE__ */ j(((e, t) => {
- t.exports = gh();
-})), vh = /* @__PURE__ */ P(hh(), 1), yh = _h(), bh = /*#__PURE__*/ (0, I.createContext)(!1), xh = /*#__PURE__*/ (0, I.createContext)(null);
-function Sh(e) {
- if ((0, I.useContext)(xh)) return e.content;
- let { collection: t, document: n } = Eh(e.createCollection);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(dh, null, /*#__PURE__*/ I.createElement(xh.Provider, { value: n }, e.content)), /*#__PURE__*/ I.createElement(Ch, {
+})), vh = /* @__PURE__ */ M(((e, t) => {
+ t.exports = _h();
+})), yh = /* @__PURE__ */ te(gh(), 1), bh = vh(), xh = /*#__PURE__*/ (0, I.createContext)(!1), Sh = /*#__PURE__*/ (0, I.createContext)(null);
+function Ch(e) {
+ if ((0, I.useContext)(Sh)) return e.content;
+ let { collection: t, document: n } = Dh(e.createCollection);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(fh, null, /*#__PURE__*/ I.createElement(Sh.Provider, { value: n }, e.content)), /*#__PURE__*/ I.createElement(wh, {
render: e.children,
collection: t
}));
}
-function Ch({ collection: e, render: t }) {
+function wh({ collection: e, render: t }) {
return t(e);
}
-function wh(e, t, n) {
- let r = tm(), i = (0, I.useRef)(r);
+function Th(e, t, n) {
+ let r = nm(), i = (0, I.useRef)(r);
i.current = r;
let a = (0, I.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, yh.useSyncExternalStore)(e, a);
+ return (0, bh.useSyncExternalStore)(e, a);
}
-var Th = typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore : wh;
-function Eh(e) {
- let [t] = (0, I.useState)(() => new Lf(e?.() || new Nf()));
+var Eh = typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore : Th;
+function Dh(e) {
+ let [t] = (0, I.useState)(() => new Rf(e?.() || new Pf()));
return {
- collection: Th((0, I.useCallback)((e) => t.subscribe(e), [t]), (0, I.useCallback)(() => {
+ collection: Eh((0, I.useCallback)((e) => t.subscribe(e), [t]), (0, I.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, I.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var Dh = /*#__PURE__*/ (0, I.createContext)(null);
-function Oh(e) {
- return class extends Of {
+var Oh = /*#__PURE__*/ (0, I.createContext)(null);
+function kh(e) {
+ return class extends kf {
static {
this.type = e;
}
};
}
-function kh(e, t, n, r, i, a) {
- typeof e == "string" && (e = Oh(e));
+function Ah(e, t, n, r, i, a) {
+ typeof e == "string" && (e = kh(e));
let o = (0, I.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -8642,81 +8642,81 @@ function kh(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, I.useContext)(Dh);
+ ]), s = (0, I.useContext)(Oh);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ I.createElement(Dh.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ I.createElement(Oh.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ I.createElement(e.type, { ref: o }, i);
}
-function Ah(e, t) {
+function jh(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, I.forwardRef)((r, i) => {
- let a = (0, I.useContext)(sh);
- if (!(0, I.useContext)(bh)) {
+ let a = (0, I.useContext)(ch);
+ if (!(0, I.useContext)(xh)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return kh(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ I.createElement(sh.Provider, { value: a }, /*#__PURE__*/ I.createElement(n, { node: e })));
+ return Ah(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ I.createElement(ch.Provider, { value: a }, /*#__PURE__*/ I.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function jh(e, t, n = Mh) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, I.forwardRef)((t, i) => kh(e, t, i, null, n(t), (e) => /*#__PURE__*/ I.createElement(r, { node: e })) ?? /*#__PURE__*/ I.createElement(I.Fragment, null));
+function Mh(e, t, n = Nh) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, I.forwardRef)((t, i) => Ah(e, t, i, null, n(t), (e) => /*#__PURE__*/ I.createElement(r, { node: e })) ?? /*#__PURE__*/ I.createElement(I.Fragment, null));
return i.displayName = t.name, i;
}
-function Mh(e) {
- return Rf({
+function Nh(e) {
+ return zf({
...e,
addIdAndValue: !0
});
}
-var Nh = /*#__PURE__*/ (0, I.createContext)(null);
-function Ph(e) {
- let t = (0, I.useContext)(Nh), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Mh({
+var Ph = /*#__PURE__*/ (0, I.createContext)(null);
+function Fh(e) {
+ let t = (0, I.useContext)(Ph), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Nh({
...e,
idScope: r,
dependencies: n
});
- return (0, I.useContext)(xh) && (i = /*#__PURE__*/ I.createElement(Fh, null, i)), t = (0, I.useMemo)(() => ({
+ return (0, I.useContext)(Sh) && (i = /*#__PURE__*/ I.createElement(Ih, null, i)), t = (0, I.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ I.createElement(Nh.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ I.createElement(Ph.Provider, { value: t }, i);
}
-function Fh({ children: e }) {
- let t = (0, I.useContext)(xh), n = (0, I.useMemo)(() => /*#__PURE__*/ I.createElement(xh.Provider, { value: null }, /*#__PURE__*/ I.createElement(bh.Provider, { value: !0 }, e)), [e]);
- return tm() ? /*#__PURE__*/ I.createElement(Dh.Provider, { value: t }, n) : /*#__PURE__*/ (0, vh.createPortal)(n, t);
+function Ih({ children: e }) {
+ let t = (0, I.useContext)(Sh), n = (0, I.useMemo)(() => /*#__PURE__*/ I.createElement(Sh.Provider, { value: null }, /*#__PURE__*/ I.createElement(xh.Provider, { value: !0 }, e)), [e]);
+ return nm() ? /*#__PURE__*/ I.createElement(Oh.Provider, { value: t }, n) : /*#__PURE__*/ (0, yh.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var Ih = "react-aria-clear-focus", Lh = "react-aria-focus";
+var Lh = "react-aria-clear-focus", Rh = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Rh(e) {
- let t = Vh(Gf(e));
- t !== e && (t && zh(t, e), e && Bh(e, t));
+function zh(e) {
+ let t = Hh(Kf(e));
+ t !== e && (t && Bh(t, e), e && Vh(e, t));
}
-function zh(e, t) {
+function Bh(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Bh(e, t) {
+function Vh(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function Vh(e) {
- let t = np(e), n = t?.getAttribute("aria-activedescendant");
+function Hh(e) {
+ let t = rp(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function Hh(e) {
- return wp() ? e.metaKey : e.ctrlKey;
+function Uh(e) {
+ return Tp() ? e.metaKey : e.ctrlKey;
}
-var Uh = /* @__PURE__ */ new Set([
+var Wh = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -8727,15 +8727,15 @@ var Uh = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Wh(e) {
- return e instanceof HTMLInputElement && !Uh.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function Gh(e) {
+ return e instanceof HTMLInputElement && !Wh.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Gh = I.useInsertionEffect ?? hp;
-function Kh(e) {
+var Kh = I.useInsertionEffect ?? gp;
+function qh(e) {
let t = (0, I.useRef)(null);
- return Gh(() => {
+ return Kh(() => {
t.current = e;
}, [e]), (0, I.useCallback)((...e) => {
let n = t.current;
@@ -8744,10 +8744,10 @@ function Kh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function qh(e, t, n, r) {
- let i = Kh(n), a = n == null;
+function Jh(e, t, n, r) {
+ let i = qh(n), a = n == null;
(0, I.useEffect)(() => {
- if (!(a || e.current == null)) return Zf(e.current, t, i, r);
+ if (!(a || e.current == null)) return Qf(e.current, t, i, r);
}, [
e,
t,
@@ -8757,9 +8757,9 @@ function qh(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Jh(e, t) {
+function Yh(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Lm(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = Rm(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
@@ -8767,7 +8767,7 @@ function Jh(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var Yh = /* @__PURE__ */ new Set([
+var Xh = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -8778,7 +8778,7 @@ var Yh = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Xh = /* @__PURE__ */ new Set([
+]), Zh = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -8799,20 +8799,20 @@ var Yh = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Zh(e) {
+function Qh(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return Yh.has(t.script);
+ if (t.script) return Xh.has(t.script);
}
let t = e.split("-")[0];
- return Xh.has(t);
+ return Zh.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Qh = Symbol.for("react-aria.i18n.locale");
-function $h() {
- let e = typeof window < "u" && window[Qh] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var $h = Symbol.for("react-aria.i18n.locale");
+function eg() {
+ let e = typeof window < "u" && window[$h] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -8820,33 +8820,33 @@ function $h() {
}
return {
locale: e,
- direction: Zh(e) ? "rtl" : "ltr"
+ direction: Qh(e) ? "rtl" : "ltr"
};
}
-var eg = $h(), tg = /* @__PURE__ */ new Set();
-function ng() {
- eg = $h();
- for (let e of tg) e(eg);
-}
+var tg = eg(), ng = /* @__PURE__ */ new Set();
function rg() {
- let e = tm(), [t, n] = (0, I.useState)(eg);
- return (0, I.useEffect)(() => (tg.size === 0 && window.addEventListener("languagechange", ng), tg.add(n), () => {
- tg.delete(n), tg.size === 0 && window.removeEventListener("languagechange", ng);
+ tg = eg();
+ for (let e of ng) e(tg);
+}
+function ig() {
+ let e = nm(), [t, n] = (0, I.useState)(tg);
+ return (0, I.useEffect)(() => (ng.size === 0 && window.addEventListener("languagechange", rg), ng.add(n), () => {
+ ng.delete(n), ng.size === 0 && window.removeEventListener("languagechange", rg);
}), []), e ? {
- locale: typeof window < "u" && window[Qh] || "en-US",
+ locale: typeof window < "u" && window[$h] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var ig = /*#__PURE__*/ I.createContext(null);
+var eee = /*#__PURE__*/ I.createContext(null);
function ag() {
- let e = rg();
- return (0, I.useContext)(ig) || e;
+ let e = ig();
+ return (0, I.useContext)(eee) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var og = Symbol.for("react-aria.i18n.locale"), sg = Symbol.for("react-aria.i18n.strings"), cg = void 0, lg = class e {
+var tee = Symbol.for("react-aria.i18n.locale"), og = Symbol.for("react-aria.i18n.strings"), sg = void 0, cg = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -8857,39 +8857,39 @@ var og = Symbol.for("react-aria.i18n.locale"), sg = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = eee(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = lg(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[og];
- if (cg === void 0) {
- let t = window[sg];
+ let n = window[tee];
+ if (sg === void 0) {
+ let t = window[og];
if (!t) return null;
- cg = {};
- for (let r in t) cg[r] = new e({ [n]: t[r] }, n);
+ sg = {};
+ for (let r in t) sg[r] = new e({ [n]: t[r] }, n);
}
- let r = cg?.[t];
+ let r = sg?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function eee(e, t, n = "en-US") {
+function lg(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = tee(e), i = nee(e);
+ let r = nee(e), i = ree(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function tee(e) {
+function nee(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function nee(e) {
+function ree(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var ug = /* @__PURE__ */ new Map(), dg = /* @__PURE__ */ new Map(), ree = class {
+var ug = /* @__PURE__ */ new Map(), dg = /* @__PURE__ */ new Map(), iee = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -8912,25 +8912,25 @@ var ug = /* @__PURE__ */ new Map(), dg = /* @__PURE__ */ new Map(), ree = class
return typeof n == "function" ? n() : n;
}
}, fg = /* @__PURE__ */ new WeakMap();
-function pg(e) {
+function aee(e) {
let t = fg.get(e);
- return t || (t = new lg(e), fg.set(e, t)), t;
+ return t || (t = new cg(e), fg.set(e, t)), t;
}
-function iee(e, t) {
- return t && lg.getGlobalDictionaryForPackage(t) || pg(e);
+function oee(e, t) {
+ return t && cg.getGlobalDictionaryForPackage(t) || aee(e);
}
-function mg(e, t) {
- let { locale: n } = ag(), r = iee(e, t);
- return (0, I.useMemo)(() => new ree(n, r), [n, r]);
+function pg(e, t) {
+ let { locale: n } = ag(), r = oee(e, t);
+ return (0, I.useMemo)(() => new iee(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var aee = /* @__PURE__ */ new Set(["id"]), oee = /* @__PURE__ */ new Set([
+var see = /* @__PURE__ */ new Set(["id"]), cee = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), see = /* @__PURE__ */ new Set([
+]), lee = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -8938,71 +8938,71 @@ var aee = /* @__PURE__ */ new Set(["id"]), oee = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), cee = /* @__PURE__ */ new Set([
+]), uee = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), hg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), lee = /^(data-.*)$/;
-function gg(e, t = {}) {
+]), mg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), dee = /^(data-.*)$/;
+function hg(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (aee.has(t) || n && oee.has(t) || r && see.has(t) || i && cee.has(t) || a && (hg.has(t) || t.endsWith("Capture") && hg.has(t.slice(0, -7))) || o?.has(t) || lee.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (see.has(t) || n && cee.has(t) || r && lee.has(t) || i && uee.has(t) || a && (mg.has(t) || t.endsWith("Capture") && mg.has(t.slice(0, -7))) || o?.has(t) || dee.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var _g = "default", vg = "", yg = /* @__PURE__ */ new WeakMap();
-function uee(e) {
- if (Dp() && kp()) {
- if (_g === "default") {
- let t = Gf(e);
- vg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- _g = "disabled";
+var gg = "default", _g = "", vg = /* @__PURE__ */ new WeakMap();
+function fee(e) {
+ if (Op() && Ap()) {
+ if (gg === "default") {
+ let t = Kf(e);
+ _g = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ gg = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- yg.set(e, e.style[t]), e.style[t] = "none";
+ vg.set(e, e.style[t]), e.style[t] = "none";
}
}
-function bg(e) {
- if (Dp() && kp()) {
- if (_g !== "disabled") return;
- _g = "restoring", setTimeout(() => {
- km(() => {
- if (_g === "restoring") {
- let t = Gf(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = vg || ""), vg = "", _g = "default";
+function yg(e) {
+ if (Op() && Ap()) {
+ if (gg !== "disabled") return;
+ gg = "restoring", setTimeout(() => {
+ Am(() => {
+ if (gg === "restoring") {
+ let t = Kf(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = _g || ""), _g = "", gg = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && yg.has(e)) {
- let t = yg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), yg.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && vg.has(e)) {
+ let t = vg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), vg.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function dee(e, t) {
- let n = Kf(t), r = Gf(t);
+function pee(e, t) {
+ let n = qf(t), r = Kf(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var xg = /* @__PURE__ */ new WeakMap();
-function Sg(e) {
- let t = Gf(e), n = xg.get(t);
- return n ??= dee("csp-nonce", t), n !== void 0 && xg.set(t, n), n;
+var bg = /* @__PURE__ */ new WeakMap();
+function xg(e) {
+ let t = Kf(e), n = bg.get(t);
+ return n ??= pee("csp-nonce", t), n !== void 0 && bg.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var Cg = I.createContext({ register: () => {} });
-Cg.displayName = "PressResponderContext";
+var Sg = I.createContext({ register: () => {} });
+Sg.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function wg() {
+function Cg() {
let e = (0, I.useRef)(/* @__PURE__ */ new Map()), t = (0, I.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -9029,15 +9029,15 @@ function wg() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function fee(e) {
- let t = (0, I.useContext)(Cg);
+function mee(e) {
+ let t = (0, I.useContext)(Sg);
if (t) {
let { register: n, ref: r, ...i } = t;
e = H(i, e), n();
}
- return oh(t, e.ref), e;
+ return sh(t, e.ref), e;
}
-var Tg = class {
+var wg = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -9050,9 +9050,9 @@ var Tg = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Eg = Symbol("linkClicked"), Dg = "react-aria-pressable-style", Og = "data-react-aria-pressable";
-function kg(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = fee(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
+}, Tg = Symbol("linkClicked"), Eg = "react-aria-pressable-style", Dg = "data-react-aria-pressable";
+function Og(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = mee(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -9062,12 +9062,12 @@ function kg(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = wg(), y = (0, I.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Cg(), y = (0, I.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new Tg("pressstart", t, e);
+ let n = new wg("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -9081,11 +9081,11 @@ function kg(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new Tg("pressend", r, e);
+ let t = new wg("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new Tg("press", r, e);
+ let n = new wg("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -9094,19 +9094,19 @@ function kg(e) {
i,
n,
t
- ]), x = Kh(b), S = Kh((0, I.useCallback)((e, t) => {
+ ]), x = qh(b), S = qh((0, I.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new Tg("pressup", t, e);
+ let r = new wg("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, I.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(Mg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || bg(t.target);
+ t.didFirePressStart && t.pointerType != null && b(jg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || yg(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -9114,7 +9114,7 @@ function kg(e) {
d,
v,
b
- ]), w = Kh(C);
+ ]), w = qh(C);
(0, I.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -9131,39 +9131,39 @@ function kg(e) {
}, [s, o]), D = (0, I.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- _p(n, t), o(gp(n));
+ vp(n, t), o(_p(n));
}
}, [s, o]), O = (0, I.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (jg(t.nativeEvent, t.currentTarget) && tp(t.currentTarget, V(t))) {
- Pg(V(t), t.key) && t.preventDefault();
+ if (Ag(t.nativeEvent, t.currentTarget) && np(t.currentTarget, V(t))) {
+ Ng(V(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(Gf(t.currentTarget), "keyup", jm((t) => {
- jg(t, i) && !t.repeat && tp(i, V(t)) && e.target && S(Mg(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && wp() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(Kf(t.currentTarget), "keyup", Mm((t) => {
+ Ag(t, i) && !t.repeat && np(i, V(t)) && e.target && S(jg(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && Tp() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if (!(t && !tp(t.currentTarget, V(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Rp.isOpening) {
+ if (!(t && !np(t.currentTarget, V(t))) && t && t.button === 0 && !e.isTriggeringEvent && !zp.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Np(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Pp(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Mg(t.currentTarget, t), r), a = x(Mg(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(jg(t.currentTarget, t), r), a = x(jg(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && jg(t, e.target)) {
- Pg(V(t), t.key) && t.preventDefault();
- let n = V(t), r = tp(e.target, n);
- x(Mg(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && Ag(e.target) && tp(e.target, n) && !t[Eg] && (t[Eg] = !0, Rp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && Ag(t, e.target)) {
+ Ng(V(t), t.key) && t.preventDefault();
+ let n = V(t), r = np(e.target, n);
+ x(jg(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && kg(e.target) && np(e.target, n) && !t[Tg] && (t[Tg] = !0, zp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -9172,39 +9172,39 @@ function kg(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !tp(t.currentTarget, V(t))) return;
- if (Pp(t.nativeEvent)) {
+ if (t.button !== 0 || !np(t.currentTarget, V(t))) return;
+ if (Fp(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || uee(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || fee(e.target), i = y(t, e.pointerType);
let a = V(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Gf(t.currentTarget), "pointerup", n, !1), _(Gf(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Kf(t.currentTarget), "pointerup", n, !1), _(Kf(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (tp(t.currentTarget, V(t)) && t.button === 0) {
+ if (np(t.currentTarget, V(t)) && t.button === 0) {
if (l) {
- let n = bp(t.target);
+ let n = xp(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- !tp(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ !np(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Mg(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(jg(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Mg(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(jg(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (tp(e.target, V(t)) && e.pointerType != null) {
+ if (np(e.target, V(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Bf(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Vf(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -9214,7 +9214,7 @@ function kg(e) {
w(e);
};
t.onDragStart = (e) => {
- tp(e.currentTarget, V(e)) && w(e);
+ np(e.currentTarget, V(e)) && w(e);
};
}
return t;
@@ -9231,14 +9231,14 @@ function kg(e) {
]);
return (0, I.useEffect)(() => {
if (!f) return;
- let e = Gf(f.current);
- if (!e || !e.head || e.getElementById(Dg)) return;
+ let e = Kf(f.current);
+ if (!e || !e.head || e.getElementById(Eg)) return;
let t = e.createElement("style");
- t.id = Dg;
- let n = Sg(e);
+ t.id = Eg;
+ let n = xg(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Og}] {
+ [${Dg}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -9246,23 +9246,23 @@ function kg(e) {
}, [f]), (0, I.useEffect)(() => {
let e = g.current;
return () => {
- d || bg(e.target ?? void 0);
+ d || yg(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: H(p, O, { [Og]: !0 })
+ pressProps: H(p, O, { [Dg]: !0 })
};
}
-function Ag(e) {
+function kg(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function jg(e, t) {
+function Ag(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Kf(i).HTMLInputElement && !Ig(i, n) || i instanceof Kf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ag(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof qf(i).HTMLInputElement && !Fg(i, n) || i instanceof qf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && kg(i)) && n !== "Enter");
}
-function Mg(e, t) {
+function jg(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -9275,13 +9275,13 @@ function Mg(e, t) {
key: t.key
};
}
-function Ng(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ag(e);
+function Mg(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !kg(e);
}
-function Pg(e, t) {
- return wp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Ig(e, t) : Ng(e);
+function Ng(e, t) {
+ return Tp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Fg(e, t) : Mg(e);
}
-var Fg = /* @__PURE__ */ new Set([
+var Pg = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9292,12 +9292,12 @@ var Fg = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Ig(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Fg.has(e.type);
+function Fg(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Pg.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function Lg(e, t) {
+function Ig(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -9319,7 +9319,7 @@ function Lg(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = kg({
+ let { pressProps: _, isPressed: v } = Og({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -9329,9 +9329,9 @@ function Lg(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = lh(e, t);
+ }), { focusableProps: y } = uh(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = H(y, _, gg(e, { labelable: !0 }));
+ let b = H(y, _, hg(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: H(g, b, {
@@ -9346,7 +9346,7 @@ function Lg(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Rg = class {
+var Lg = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9371,7 +9371,7 @@ var Rg = class {
return this._currentNode;
}
set currentNode(e) {
- if (!tp(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!np(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -9385,7 +9385,7 @@ var Rg = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return tp(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return np(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -9449,45 +9449,45 @@ var Rg = class {
return null;
}
};
-function zg(e, t, n, r) {
- return ep() ? new Rg(e, t, n, r) : e.createTreeWalker(t, n, r);
+function Rg(e, t, n, r) {
+ return tp() ? new Lg(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Bg = /*#__PURE__*/ I.createContext(null), Vg = "react-aria-focus-scope-restore", Hg = null;
-function Ug(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(Bg) || {}, l = (0, I.useMemo)(() => new d_({ scopeRef: s }), [s]);
- hp(() => {
- let e = c || f_.root;
- if (f_.getTreeNode(e.scopeRef) && Hg && !e_(Hg, e.scopeRef)) {
- let t = f_.getTreeNode(Hg);
+var zg = /*#__PURE__*/ I.createContext(null), Bg = "react-aria-focus-scope-restore", Vg = null;
+function Hg(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(zg) || {}, l = (0, I.useMemo)(() => new u_({ scopeRef: s }), [s]);
+ gp(() => {
+ let e = c || d_.root;
+ if (d_.getTreeNode(e.scopeRef) && Vg && !$g(Vg, e.scopeRef)) {
+ let t = d_.getTreeNode(Vg);
t && (e = t);
}
- e.addChild(l), f_.addNode(l);
- }, [l, c]), hp(() => {
- let e = f_.getTreeNode(s);
+ e.addChild(l), d_.addNode(l);
+ }, [l, c]), gp(() => {
+ let e = d_.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), hp(() => {
+ }, [n]), gp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Vg, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Bg, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Vg, n);
+ for (let e of t) e.removeEventListener(Bg, n);
};
- }, [t]), a_(s, r, n), Yg(s, n), s_(s, r, n), i_(s, i), (0, I.useEffect)(() => {
- let e = np(Gf(s.current ? s.current[0] : void 0)), t = null;
- if (Zg(e, s.current)) {
- for (let n of f_.traverse()) n.scopeRef && Zg(e, n.scopeRef.current) && (t = n);
- t === f_.getTreeNode(s) && (Hg = t.scopeRef);
- }
- }, [s]), hp(() => () => {
- let e = f_.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Hg || e_(s, Hg)) && (!e || f_.getTreeNode(e)) && (Hg = e), f_.removeTreeNode(s);
+ }, [t]), i_(s, r, n), Jg(s, n), o_(s, r, n), r_(s, i), (0, I.useEffect)(() => {
+ let e = rp(Kf(s.current ? s.current[0] : void 0)), t = null;
+ if (Xg(e, s.current)) {
+ for (let n of d_.traverse()) n.scopeRef && Xg(e, n.scopeRef.current) && (t = n);
+ t === d_.getTreeNode(s) && (Vg = t.scopeRef);
+ }
+ }, [s]), gp(() => () => {
+ let e = d_.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Vg || $g(s, Vg)) && (!e || d_.getTreeNode(e)) && (Vg = e), d_.removeTreeNode(s);
}, [s]);
- let u = (0, I.useMemo)(() => Wg(s), []), d = (0, I.useMemo)(() => ({
+ let u = (0, I.useMemo)(() => Ug(s), []), d = (0, I.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ I.createElement(Bg.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
+ return /*#__PURE__*/ I.createElement(zg.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -9497,154 +9497,154 @@ function Ug(e) {
ref: o
}));
}
-function Wg(e) {
+function Ug(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || np(Gf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = l_(Gg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rp(Kf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = c_(Wg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Zg(s, n) ? s : c;
+ l.currentNode = Xg(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && t_(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && e_(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || np(Gf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = l_(Gg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rp(Kf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = c_(Wg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Zg(s, n) ? s : c;
+ l.currentNode = Xg(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && t_(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && e_(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = l_(Gg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = c_(Wg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && t_(o, !0), o;
+ return o && e_(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = l_(Gg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = c_(Wg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && t_(o, !0), o;
+ return o && e_(o, !0), o;
}
};
}
-function Gg(e) {
+function Wg(e) {
return e[0].parentElement;
}
-function Kg(e) {
- let t = f_.getTreeNode(Hg);
+function Gg(e) {
+ let t = d_.getTreeNode(Vg);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function qg(e) {
- if (!e.form) return Array.from(Gf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Kf(e);
+function Kg(e) {
+ if (!e.form) return Array.from(Kf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = qf(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Jg(e) {
+function qg(e) {
if (e.checked) return !0;
- let t = qg(e);
+ let t = Kg(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Yg(e, t) {
+function Jg(e, t) {
let n = (0, I.useRef)(void 0), r = (0, I.useRef)(void 0);
- hp(() => {
+ gp(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Gf(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Kg(e) || t.isComposing) return;
- let n = np(a), r = e.current;
- if (!r || !Zg(n, r)) return;
- let i = l_(Gg(r), { tabbable: !0 }, r);
+ let a = Kf(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Gg(e) || t.isComposing) return;
+ let n = rp(a), r = e.current;
+ if (!r || !Xg(n, r)) return;
+ let i = c_(Wg(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (t_(o, !0), o instanceof Kf(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (e_(o, !0), o instanceof qf(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Hg || e_(Hg, e)) && Zg(V(t), e.current) ? (Hg = e, n.current = V(t)) : Kg(e) && !Qg(V(t), e) ? n.current ? t_(n.current) : Hg && Hg.current && r_(Hg.current) : Kg(e) && (n.current = V(t));
+ (!Vg || $g(Vg, e)) && Xg(V(t), e.current) ? (Vg = e, n.current = V(t)) : Gg(e) && !Zg(V(t), e) ? n.current ? e_(n.current) : Vg && Vg.current && n_(Vg.current) : Gg(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = ym(), i = (r === "virtual" || r === null) && jp() && Ap(), o = np(a);
- if (!i && o && Kg(e) && !Qg(o, e)) {
- Hg = e;
+ let r = bm(), i = (r === "virtual" || r === null) && Mp() && jp(), o = rp(a);
+ if (!i && o && Gg(e) && !Zg(o, e)) {
+ Vg = e;
let r = V(t);
- r && r.isConnected ? (n.current = r, t_(n.current)) : Hg.current && r_(Hg.current);
+ r && r.isConnected ? (n.current = r, e_(n.current)) : Vg.current && n_(Vg.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), hp(() => () => {
+ }, [e, t]), gp(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Xg(e) {
- return Qg(e);
+function Yg(e) {
+ return Zg(e);
}
-function Zg(e, t) {
- return !e || !t ? !1 : t.some((t) => tp(t, e));
+function Xg(e, t) {
+ return !e || !t ? !1 : t.some((t) => np(t, e));
}
-function Qg(e, t = null) {
+function Zg(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of f_.traverse(f_.getTreeNode(t))) if (n && Zg(e, n.current)) return !0;
+ for (let { scopeRef: n } of d_.traverse(d_.getTreeNode(t))) if (n && Xg(e, n.current)) return !0;
return !1;
}
-function $g(e) {
- return Qg(e, Hg);
+function Qg(e) {
+ return Zg(e, Vg);
}
-function e_(e, t) {
- let n = f_.getTreeNode(t)?.parent;
+function $g(e, t) {
+ let n = d_.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function t_(e, t = !1) {
+function e_(e, t = !1) {
if (e != null && !t) try {
- Am(e);
+ jm(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function n_(e, t = !0) {
- let n = e[0].previousElementSibling, r = Gg(e), i = l_(r, { tabbable: t }, e);
+function t_(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Wg(e), i = c_(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Gg(e), i = l_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Wg(e), i = c_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function r_(e, t = !0) {
- t_(n_(e, t));
+function n_(e, t = !0) {
+ e_(t_(e, t));
}
-function i_(e, t) {
+function r_(e, t) {
let n = I.useRef(t);
(0, I.useEffect)(() => {
- n.current && (Hg = e, !Zg(np(Gf(e.current ? e.current[0] : void 0)), Hg.current) && e.current && r_(e.current)), n.current = !1;
+ n.current && (Vg = e, !Xg(rp(Kf(e.current ? e.current[0] : void 0)), Vg.current) && e.current && n_(e.current)), n.current = !1;
}, [e]);
}
-function a_(e, t, n) {
- hp(() => {
+function i_(e, t, n) {
+ gp(() => {
if (t || n) return;
- let r = e.current, i = Gf(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = Kf(r ? r[0] : void 0), a = (t) => {
let n = V(t);
- Zg(n, e.current) ? Hg = e : Xg(n) || (Hg = null);
+ Xg(n, e.current) ? Vg = e : Yg(n) || (Vg = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9655,43 +9655,43 @@ function a_(e, t, n) {
n
]);
}
-function o_(e) {
- let t = f_.getTreeNode(Hg);
+function a_(e) {
+ let t = d_.getTreeNode(Vg);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function s_(e, t, n) {
- let r = (0, I.useRef)(typeof document < "u" ? np(Gf(e.current ? e.current[0] : void 0)) : null);
- hp(() => {
- let r = e.current, i = Gf(r ? r[0] : void 0);
+function o_(e, t, n) {
+ let r = (0, I.useRef)(typeof document < "u" ? rp(Kf(e.current ? e.current[0] : void 0)) : null);
+ gp(() => {
+ let r = e.current, i = Kf(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Hg || e_(Hg, e)) && Zg(np(i), e.current) && (Hg = e);
+ (!Vg || $g(Vg, e)) && Xg(rp(i), e.current) && (Vg = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), hp(() => {
- let r = Gf(e.current ? e.current[0] : void 0);
+ }, [e, n]), gp(() => {
+ let r = Kf(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Kg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Gg(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Qg(n, e) || !o_(e)) return;
- let i = f_.getTreeNode(e);
+ if (!Zg(n, e) || !a_(e)) return;
+ let i = d_.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = l_(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = c_(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Qg(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Zg(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Qg(s, e));
- t.preventDefault(), t.stopPropagation(), s ? t_(s, !0) : Xg(a) ? t_(a, !0) : n.blur();
+ while (Zg(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? e_(s, !0) : Yg(a) ? e_(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -9701,31 +9701,31 @@ function s_(e, t, n) {
e,
t,
n
- ]), hp(() => {
- let n = Gf(e.current ? e.current[0] : void 0);
+ ]), gp(() => {
+ let n = Kf(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = f_.getTreeNode(e);
+ let i = d_.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = f_.getTreeNode(e);
+ let r = d_.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = np(n);
- if (t && i && (a && Qg(a, e) || a === n.body && o_(e))) {
- let t = f_.clone();
+ let i = r.nodeToRestore, a = rp(n);
+ if (t && i && (a && Zg(a, e) || a === n.body && a_(e))) {
+ let t = d_.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- c_(n.nodeToRestore);
+ s_(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && f_.getTreeNode(n.scopeRef)) {
- let e = n_(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && d_.getTreeNode(n.scopeRef)) {
+ let e = t_(n.scopeRef.current, !0);
if (e) {
- c_(e);
+ s_(e);
return;
}
}
@@ -9737,21 +9737,21 @@ function s_(e, t, n) {
};
}, [e, t]);
}
-function c_(e) {
- e.dispatchEvent(new CustomEvent(Vg, {
+function s_(e) {
+ e.dispatchEvent(new CustomEvent(Bg, {
bubbles: !0,
cancelable: !0
- })) && t_(e);
+ })) && e_(e);
}
-function l_(e, t, n) {
- let r = t?.tabbable ? pp : fp, i = Gf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = zg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return tp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Jg(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Zg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function c_(e, t, n) {
+ let r = t?.tabbable ? mp : pp, i = Kf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Rg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return np(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!qg(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Xg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var u_ = class e {
+var l_ = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new d_({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new u_({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -9762,7 +9762,7 @@ var u_ = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new d_({ scopeRef: e });
+ let i = new u_({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -9773,7 +9773,7 @@ var u_ = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Zg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Xg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -9785,7 +9785,7 @@ var u_ = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, d_ = class {
+}, u_ = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -9795,13 +9795,13 @@ var u_ = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, f_ = new u_(), p_ = 7e3, m_ = null;
-function h_(e, t = "assertive", n = p_) {
- m_ ? m_.announce(e, t, n) : (m_ = new g_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? m_.announce(e, t, n) : setTimeout(() => {
- m_?.isAttached() && m_?.announce(e, t, n);
+}, d_ = new l_(), f_ = 7e3, p_ = null;
+function m_(e, t = "assertive", n = f_) {
+ p_ ? p_.announce(e, t, n) : (p_ = new h_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? p_.announce(e, t, n) : setTimeout(() => {
+ p_?.isAttached() && p_?.announce(e, t, n);
}, 100));
}
-var g_ = class {
+var h_ = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -9826,7 +9826,7 @@ var g_ = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = p_) {
+ announce(e, t = "assertive", n = f_) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -9839,8 +9839,8 @@ var g_ = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function __(e, t) {
- let n = (0, I.useRef)(!0), r = (0, I.useRef)(null), i = Kh(e);
+function g_(e, t) {
+ let n = (0, I.useRef)(!0), r = (0, I.useRef)(null), i = qh(e);
(0, I.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, I.useEffect)(() => {
@@ -9850,46 +9850,46 @@ function __(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function v_(e, t) {
+function __(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function y_(e, t) {
+function v_(e, t) {
let n = e;
- for (v_(n, t) && (n = n.parentElement); n && !v_(n, t);) n = n.parentElement;
+ for (__(n, t) && (n = n.parentElement); n && !__(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function b_(e, t) {
+function y_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (v_(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (__(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function x_(e, t, n = {}) {
- e !== t && S_(e, t, t.getBoundingClientRect(), n);
-}
-function S_(e, t, n, r = {}) {
- let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - F, re = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
- Dp() && kp() || u.direction === "ltr" ? I -= ee : u.direction === "rtl" && (re += ee);
- let L = k < te || A > ne, ie = j < re || M > I;
- if (L && i === "start") o += k - te;
- else if (L && i === "center") o += (k + A) / 2 - (te + ne) / 2;
- else if (L && i === "end") o += A - ne;
- else if (L && i === "nearest") {
- let e = k - te, t = A - ne;
+function b_(e, t, n = {}) {
+ e !== t && hee(e, t, t.getBoundingClientRect(), n);
+}
+function hee(e, t, n, r = {}) {
+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, F = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
+ Op() && Ap() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);
+ let I = k < F || A > ne, L = j < re || M > ie;
+ if (I && i === "start") o += k - F;
+ else if (I && i === "center") o += (k + A) / 2 - (F + ne) / 2;
+ else if (I && i === "end") o += A - ne;
+ else if (I && i === "nearest") {
+ let e = k - F, t = A - ne;
o += Math.abs(e) <= Math.abs(t) ? e : t;
}
- if (ie && a === "start") s += j - re;
- else if (ie && a === "center") s += (j + M) / 2 - (re + I) / 2;
- else if (ie && a === "end") s += M - I;
- else if (ie && a === "nearest") {
- let e = j - re, t = M - I;
+ if (L && a === "start") s += j - re;
+ else if (L && a === "center") s += (j + M) / 2 - (re + ie) / 2;
+ else if (L && a === "end") s += M - ie;
+ else if (L && a === "nearest") {
+ let e = j - re, t = M - ie;
s += Math.abs(e) <= Math.abs(t) ? e : t;
}
e.scrollTo({
@@ -9897,7 +9897,7 @@ function S_(e, t, n, r = {}) {
top: o
});
}
-function C_(e, t = {}) {
+function x_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -9910,47 +9910,47 @@ function C_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = b_(e, !0);
- for (let t of i) x_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = y_(e, !0);
+ for (let t of i) b_(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? b_(n, !0) : [];
- for (let e of i) x_(e, n, {
+ i = n ? y_(n, !0) : [];
+ for (let e of i) b_(e, n, {
block: "center",
inline: "center"
});
- for (let t of b_(e, !0)) x_(t, e);
+ for (let t of y_(e, !0)) b_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var w_ = 0, T_ = /* @__PURE__ */ new Map();
-function E_(e) {
+var gee = 0, S_ = /* @__PURE__ */ new Map();
+function C_(e) {
let [t, n] = (0, I.useState)();
- return hp(() => {
+ return gp(() => {
if (!e) return;
- let t = T_.get(e);
+ let t = S_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${w_++}`;
+ let r = `react-aria-description-${gee++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, T_.set(e, t);
+ }, S_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), T_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), S_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function D_(e, t, n) {
- let r = Kh((e) => {
+function w_(e, t, n) {
+ let r = qh((e) => {
n && !e.defaultPrevented && n(t);
});
(0, I.useEffect)(() => {
@@ -9962,21 +9962,21 @@ function D_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function O_(e, t, n) {
+function T_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- hp(() => {
+ gp(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(mee(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(vee(n.current));
}
});
- let a = (0, I.useRef)(!1), o = Kh(() => {
+ let a = (0, I.useRef)(!1), o = qh(() => {
a.current || t.resetValidation();
- }), s = Kh((e) => {
+ }), s = qh((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && hee(r) === n.current && (i ? i() : n.current?.focus(), bm("keyboard")), e.preventDefault();
- }), c = Kh(() => {
+ !e.defaultPrevented && n && r && yee(r) === n.current && (i ? i() : n.current?.focus(), xm("keyboard")), e.preventDefault();
+ }), c = qh(() => {
t.commitValidation();
});
(0, I.useEffect)(() => {
@@ -9990,7 +9990,7 @@ function O_(e, t, n) {
};
}, [n, r]);
}
-function pee(e) {
+function _ee(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -10006,14 +10006,14 @@ function pee(e) {
valid: t.valid
};
}
-function mee(e) {
+function vee(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: pee(e),
+ validationDetails: _ee(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function hee(e) {
+function yee(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -10022,16 +10022,16 @@ function hee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function gee(e = !0) {
+function bee(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return hp(() => {
+ return gp(() => {
r.current || n(!1);
}, []), [i, t];
}
-function k_(e = !0) {
- let t = Lm(), [n, r] = gee(e);
+function E_(e = !0) {
+ let t = Rm(), [n, r] = bee(e);
return {
id: r ? t : void 0,
ref: n
@@ -10039,7 +10039,7 @@ function k_(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var A_ = {
+var D_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -10051,18 +10051,18 @@ var A_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, j_ = {
- ...A_,
+}, O_ = {
+ ...D_,
customError: !0,
valid: !1
-}, M_ = {
+}, k_ = {
isInvalid: !1,
- validationDetails: A_,
+ validationDetails: D_,
validationErrors: []
-}, _ee = (0, I.createContext)({}), N_ = "__reactAriaFormValidationState";
-function P_(e) {
+}, xee = (0, I.createContext)({}), A_ = "__reactAriaFormValidationState";
+function j_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[N_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[A_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10071,71 +10071,71 @@ function P_(e) {
commitValidation: a
};
}
- return vee(e);
+ return See(e);
}
-function vee(e) {
+function See(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: j_
- }, l = (0, I.useMemo)(() => !o || i == null ? null : I_(yee(o, i)), [o, i]);
+ validationDetails: O_
+ }, l = (0, I.useMemo)(() => !o || i == null ? null : N_(Cee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, I.useContext)(_ee), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => F_(u[e])) : F_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
+ let u = (0, I.useContext)(xee), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => M_(u[e])) : M_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, I.useMemo)(() => I_(m ? [] : d), [m, d]), _ = (0, I.useRef)(M_), [v, y] = (0, I.useState)(M_), b = (0, I.useRef)(M_), x = () => {
+ let g = (0, I.useMemo)(() => N_(m ? [] : d), [m, d]), _ = (0, I.useRef)(k_), [v, y] = (0, I.useState)(k_), b = (0, I.useRef)(k_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- L_(e, b.current) || (b.current = e, y(e));
+ P_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, I.useState)(!1);
return (0, I.useEffect)(x), {
- realtimeValidation: c || g || l || a || M_,
+ realtimeValidation: c || g || l || a || k_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !L_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !P_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = M_;
- L_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = k_;
+ P_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function F_(e) {
+function M_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function yee(e, t) {
+function Cee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return F_(n);
+ if (n && typeof n != "boolean") return M_(n);
}
return [];
}
-function I_(e) {
+function N_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: j_
+ validationDetails: O_
} : null;
}
-function L_(e, t) {
+function P_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function R_(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = P_({
+function F_(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = j_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- O_(e, b, n);
+ T_(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(V(e).checked);
- }, { pressProps: T, isPressed: E } = kg({
+ }, { pressProps: T, isPressed: E } = Og({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -10143,7 +10143,7 @@ function R_(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, I.useState)(!1), { pressProps: k } = kg({
+ }), [D, O] = (0, I.useState)(!1), { pressProps: k } = Og({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -10172,13 +10172,13 @@ function R_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [N_]: i } = e, { commitValidation: a } = i || b;
+ let { [A_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = lh(e, n), j = H(T, A), M = gg(e, { labelable: !0 });
- D_(n, t.defaultSelected, t.setSelected);
- let N = k_(), P = k_();
+ }), { focusableProps: A } = uh(e, n), j = H(T, A), M = hg(e, { labelable: !0 });
+ w_(n, t.defaultSelected, t.setSelected);
+ let N = E_(), ee = E_();
return {
labelProps: H(k, { onClick: (e) => e.preventDefault() }),
inputProps: H(M, {
@@ -10191,7 +10191,7 @@ function R_(e, t, n) {
"aria-readonly": i || void 0,
"aria-describedby": [
N.id,
- P.id,
+ ee.id,
p
].filter(Boolean).join(" ") || void 0,
onChange: w,
@@ -10203,7 +10203,7 @@ function R_(e, t, n) {
...j
}),
descriptionProps: N,
- errorMessageProps: P,
+ errorMessageProps: ee,
isSelected: t.isSelected,
isPressed: E || D,
isDisabled: r,
@@ -10215,8 +10215,8 @@ function R_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function z_(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = R_(e, t, n), { isIndeterminate: m } = e;
+function I_(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = F_(e, t, n), { isIndeterminate: m } = e;
return (0, I.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -10235,18 +10235,18 @@ function z_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var bee = /* @__PURE__ */ new WeakMap();
+var wee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function B_(e) {
+function L_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Lm(t);
- let o = Lm(), s = {};
+ t = Rm(t);
+ let o = Rm(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Jh({
+ let c = Yh({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -10258,13 +10258,13 @@ function B_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function V_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = B_(e), s = zm([
+function R_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = L_(e), s = Bm([
!!t,
!!n,
r,
i
- ]), c = zm([
+ ]), c = Bm([
!!t,
!!n,
r,
@@ -10283,26 +10283,26 @@ function V_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function H_(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = wg(), c = (0, I.useCallback)((e) => {
- tp(e.currentTarget, V(e)) && a.current.isFocusWithin && !tp(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function z_(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Cg(), c = (0, I.useCallback)((e) => {
+ np(e.currentTarget, V(e)) && a.current.isFocusWithin && !np(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = vp(c), u = (0, I.useCallback)((e) => {
- if (!tp(e.currentTarget, V(e))) return;
- let t = V(e), n = Gf(t), s = np(n);
+ ]), l = yp(c), u = (0, I.useCallback)((e) => {
+ if (!np(e.currentTarget, V(e))) return;
+ let t = V(e), n = Kf(t), s = rp(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
let r = V(e);
- if (a.current.isFocusWithin && !tp(t, r)) {
+ if (a.current.isFocusWithin && !np(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- _p(e, t);
- let i = gp(e);
+ vp(e, t);
+ let i = _p(e);
c(i);
}
}, { capture: !0 });
@@ -10324,14 +10324,14 @@ function H_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var xee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
-function U_(e, t, n) {
+var Tee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
+function B_(e, t, n) {
let [r, i] = (0, I.useState)(e || t), a = (0, I.useRef)(r), o = (0, I.useRef)(e !== void 0), s = e !== void 0;
(0, I.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- xee(() => {
+ Tee(() => {
a.current = c;
});
let [, l] = (0, I.useReducer)(() => ({}), {});
@@ -10342,8 +10342,8 @@ function U_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function W_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = U_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
+function V_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = B_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
function a(e) {
t || r(e);
}
@@ -10359,26 +10359,26 @@ function W_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function See(e, t, n) {
- let r = W_({
+function Eee(e, t, n) {
+ let r = V_({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = bee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = wee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = P_({
+ let { realtimeValidation: l } = j_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, I.useRef)(M_), d = () => {
+ }), u = (0, I.useRef)(k_), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, I.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = z_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = I_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10386,7 +10386,7 @@ function See(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [N_]: {
+ [A_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10410,12 +10410,12 @@ function See(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function G_(e, t = -Infinity, n = Infinity) {
+function H_(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var K_ = {
+var U_ = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10427,38 +10427,38 @@ var K_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function q_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = H_({
+function W_(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = z_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, I.useMemo)(() => r ? t : t ? {
- ...K_,
+ ...U_,
...t
- } : K_, [r]);
+ } : U_, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function J_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = q_(e);
+function G_(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = W_(e);
return /*#__PURE__*/ I.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Cee(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = U_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = lh(e, t), d = P_({
+function Dee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = B_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = uh(e, t), d = j_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = V_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = R_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = gg(e, { labelable: !0 }), b = {
+ }), y = hg(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, I.useState)(c);
- return D_(t, e.defaultValue ?? x, l), O_(e, d, t), {
+ return w_(t, e.defaultValue ?? x, l), T_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10505,42 +10505,42 @@ function Cee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var wee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function Y_(e) {
+var Oee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function K_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var X_ = /* @__PURE__ */ new WeakMap(), Z_ = [];
-function Q_(e, t) {
- let n = Kf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && wee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var q_ = /* @__PURE__ */ new WeakMap(), J_ = [];
+function Y_(e, t) {
+ let n = qf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Oee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
- if (ep()) {
+ if (tp()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; Xf(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; Zf(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (tp(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (np(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = zg(Gf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Rg(Kf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = X_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), X_.set(e, t + 1));
+ let t = q_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), q_.set(e, t + 1));
};
- Z_.length && Z_[Z_.length - 1].disconnect(), d(i);
+ J_.length && J_[J_.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => tp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
- if (ep()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => np(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && K_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (tp()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -10553,11 +10553,11 @@ function Q_(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (ep()) for (let e of u) {
+ if (tp()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => tp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
- if (ep()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => np(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && K_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (tp()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -10583,59 +10583,59 @@ function Q_(e, t) {
p.disconnect();
}
};
- return Z_.push(h), () => {
- if (p.disconnect(), ep()) for (let e of m) e.disconnect();
+ return J_.push(h), () => {
+ if (p.disconnect(), tp()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = X_.get(e);
- t != null && (t === 1 ? (l(e, !1), X_.delete(e)) : X_.set(e, t - 1));
+ let t = q_.get(e);
+ t != null && (t === 1 ? (l(e, !1), q_.delete(e)) : q_.set(e, t - 1));
}
- h === Z_[Z_.length - 1] ? (Z_.pop(), Z_.length && Z_[Z_.length - 1].observe()) : Z_.splice(Z_.indexOf(h), 1);
+ h === J_[J_.length - 1] ? (J_.pop(), J_.length && J_[J_.length - 1].observe()) : J_.splice(J_.indexOf(h), 1);
};
}
-function Tee(e) {
- let t = Z_[Z_.length - 1];
+function kee(e) {
+ let t = J_[J_.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var $_ = /* @__PURE__ */ new WeakMap();
-function Eee(e) {
+var X_ = /* @__PURE__ */ new WeakMap();
+function Aee(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Dee(e, t) {
- let n = $_.get(e);
+function jee(e, t) {
+ let n = X_.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Eee(t)}`;
+ return `${n.id}-option-${Aee(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function ev(e) {
- return Op() ? e.altKey : e.ctrlKey;
+function Z_(e) {
+ return kp() ? e.altKey : e.ctrlKey;
}
-function tv(e, t) {
+function Q_(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var nv = /* @__PURE__ */ new WeakMap();
-function Oee(e) {
- let t = Lm();
- return nv.set(e, t), t;
+var $_ = /* @__PURE__ */ new WeakMap();
+function Mee(e) {
+ let t = Rm();
+ return $_.set(e, t), t;
}
-function kee(e) {
- return nv.get(e);
+function Nee(e) {
+ return $_.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var rv = class {
+var ev = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : tv(this.ref, e);
+ let n = e == null ? null : Q_(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -10661,12 +10661,12 @@ var rv = class {
height: e?.clientHeight ?? 0
};
}
-}, iv = class {
+}, tv = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new rv(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new rv(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new ev(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new ev(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -10706,14 +10706,14 @@ var rv = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = tv(this.ref, e);
+ let t = this.getNextKey(e), n = Q_(this.ref, e);
if (t != null) {
- let e = tv(this.ref, t);
+ let e = Q_(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = tv(this.ref, r);
+ let e = Q_(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -10747,7 +10747,7 @@ var rv = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !v_(t)) return this.getFirstKey();
+ if (t && !__(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -10762,7 +10762,7 @@ var rv = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !v_(t)) return this.getLastKey();
+ if (t && !__(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -10785,184 +10785,184 @@ var rv = class {
}
return null;
}
-}, av = {};
-av = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, nv = {};
+nv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var ov = {};
-ov = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var rv = {};
+rv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var sv = {};
-sv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var iv = {};
+iv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var cv = {};
-cv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var av = {};
+av = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var lv = {};
-lv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var ov = {};
+ov = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var uv = {};
-uv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var sv = {};
+sv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var dv = {};
-dv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var cv = {};
+cv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var fv = {};
-fv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var lv = {};
+lv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var pv = {};
-pv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var uv = {};
+uv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var mv = {};
-mv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var dv = {};
+dv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var hv = {};
-hv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var fv = {};
+fv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var gv = {};
-gv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var pv = {};
+pv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var _v = {};
-_v = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var mv = {};
+mv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var vv = {};
-vv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var hv = {};
+hv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var yv = {};
-yv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var gv = {};
+gv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var bv = {};
-bv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var _v = {};
+_v = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var xv = {};
-xv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var vv = {};
+vv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Sv = {};
-Sv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var yv = {};
+yv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Cv = {};
-Cv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var bv = {};
+bv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var wv = {};
-wv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var xv = {};
+xv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Tv = {};
-Tv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Sv = {};
+Sv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var Ev = {};
-Ev = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Cv = {};
+Cv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var Dv = {};
-Dv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var wv = {};
+wv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var Ov = {};
-Ov = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Tv = {};
+Tv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var kv = {};
-kv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Ev = {};
+Ev = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var Av = {};
-Av = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Dv = {};
+Dv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var jv = {};
-jv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Ov = {};
+Ov = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Mv = {};
-Mv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var kv = {};
+kv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var Nv = {};
-Nv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Av = {};
+Av = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Pv = {};
-Pv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var jv = {};
+jv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Fv = {};
-Fv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Mv = {};
+Mv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Iv = {};
-Iv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Nv = {};
+Nv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Lv = {};
-Lv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Pv = {};
+Pv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Rv = {};
-Rv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Fv = {};
+Fv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var zv = {};
-zv = {
- "ar-AE": av,
- "bg-BG": ov,
- "cs-CZ": sv,
- "da-DK": cv,
- "de-DE": lv,
- "el-GR": uv,
- "en-US": dv,
- "es-ES": fv,
- "et-EE": pv,
- "fi-FI": mv,
- "fr-FR": hv,
- "he-IL": gv,
- "hr-HR": _v,
- "hu-HU": vv,
- "it-IT": yv,
- "ja-JP": bv,
- "ko-KR": xv,
- "lt-LT": Sv,
- "lv-LV": Cv,
- "nb-NO": wv,
- "nl-NL": Tv,
- "pl-PL": Ev,
- "pt-BR": Dv,
- "pt-PT": Ov,
- "ro-RO": kv,
- "ru-RU": Av,
- "sk-SK": jv,
- "sl-SI": Mv,
- "sr-SP": Nv,
- "sv-SE": Pv,
- "tr-TR": Fv,
- "uk-UA": Iv,
- "zh-CN": Lv,
- "zh-TW": Rv
+var Iv = {};
+Iv = {
+ "ar-AE": nv,
+ "bg-BG": rv,
+ "cs-CZ": iv,
+ "da-DK": av,
+ "de-DE": ov,
+ "el-GR": sv,
+ "en-US": cv,
+ "es-ES": lv,
+ "et-EE": uv,
+ "fi-FI": dv,
+ "fr-FR": fv,
+ "he-IL": pv,
+ "hr-HR": mv,
+ "hu-HU": hv,
+ "it-IT": gv,
+ "ja-JP": _v,
+ "ko-KR": vv,
+ "lt-LT": yv,
+ "lv-LV": bv,
+ "nb-NO": xv,
+ "nl-NL": Sv,
+ "pl-PL": Cv,
+ "pt-BR": wv,
+ "pt-PT": Tv,
+ "ro-RO": Ev,
+ "ru-RU": Dv,
+ "sk-SK": Ov,
+ "sl-SI": kv,
+ "sr-SP": Av,
+ "sv-SE": jv,
+ "tr-TR": Mv,
+ "uk-UA": Nv,
+ "zh-CN": Pv,
+ "zh-TW": Fv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Aee = 500;
-function Bv(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Aee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = wg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = kg({
+var Pee = 500;
+function Lv(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Pee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Cg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Og({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -10970,12 +10970,12 @@ function Bv(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Gf(e.target).activeElement !== e.target && Bf(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Kf(e.target).activeElement !== e.target && Vf(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = Kf(e.target);
+ let t = qf(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -10990,12 +10990,12 @@ function Bv(e) {
});
}
});
- return { longPressProps: H(f, E_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, C_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function jee(e) {
- let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = Bv({
+function Rv(e) {
+ let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = Lv({
onLongPressStart() {
n.current = !1;
},
@@ -11007,7 +11007,7 @@ function jee(e) {
});
}
});
- return t ? { contextMenuProps: H(Dp() ? r : {}, {
+ return t ? { contextMenuProps: H(Op() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -11018,7 +11018,7 @@ function jee(e) {
});
},
onKeyDown(e) {
- if (wp() && e.ctrlKey && e.key === "Enter") {
+ if (Tp() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -11038,13 +11038,13 @@ function jee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Vv = /* @__PURE__ */ new WeakMap();
-function Mee(e) {
+var zv = /* @__PURE__ */ new WeakMap();
+function Bv(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, I.useEffect)(() => !n || r === null ? void 0 : Zf(rp(t.current), "scroll", (e) => {
+ (0, I.useEffect)(() => !n || r === null ? void 0 : Qf(ip(t.current), "scroll", (e) => {
let n = V(e);
- if (!t.current || n instanceof Node && !tp(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Vv.get(t.current);
+ if (!t.current || n instanceof Node && !np(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || zv.get(t.current);
i && i();
}, !0), [
n,
@@ -11054,14 +11054,14 @@ function Mee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Nee(e, t, n) {
+function Fee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, I.useEffect)(() => {
- n && n.current && Vv.set(n.current, t.close);
+ n && n.current && zv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Lm();
+ let o = Rm();
return {
triggerProps: {
"aria-haspopup": a,
@@ -11074,14 +11074,14 @@ function Nee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Pee(e) {
+function Vv(e) {
return e && e.__esModule ? e.default : e;
}
function Hv(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Lm(), { triggerProps: s, overlayProps: c } = Nee({ type: r }, t, n), l = (e, n, r = "first") => {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Rm(), { triggerProps: s, overlayProps: c } = Fee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = ih({
+ }, { keyboardProps: u } = ah({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -11093,7 +11093,7 @@ function Hv(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = mg(Pee(zv), "@react-aria/menu"), { longPressProps: f } = Bv({
+ }), d = pg(Vv(Iv), "@react-aria/menu"), { longPressProps: f } = Lv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11105,14 +11105,14 @@ function Hv(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Bf(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Vf(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (Bf(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (Vf(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = jee({ onContextMenu(e) {
+ let { contextMenuProps: m } = Rv({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11181,8 +11181,8 @@ function Wv(e) {
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Fee(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !tp(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Iee(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !np(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -11198,29 +11198,29 @@ function Wv(e) {
} : void 0
} };
}
-function Fee(e) {
+function Iee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
function Gv(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null);
- hp(() => (n.current = !0, () => {
+ gp(() => (n.current = !0, () => {
n.current = !1;
- }), []), hp(() => {
+ }), []), gp(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
function Kv(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = ag(), _ = Ip(), v = (e, n, i) => {
+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = ag(), _ = Lp(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !ev(e)) {
- (0, vh.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !Z_(e)) {
+ (0, yh.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = tv(r, n), o = t.getItemProps(n);
+ let a = Q_(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11232,7 +11232,7 @@ function Kv(e) {
t.extendSelection(n);
return;
}
- if (l && !ev(e)) {
+ if (l && !Z_(e)) {
t.replaceSelection(n);
return;
}
@@ -11259,9 +11259,9 @@ function Kv(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Hh(e));
+ let r = n.getFirstKey(t.focusedKey, Uh(e));
if (t.setFocusedKey(r), r != null) {
- if (Hh(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Uh(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -11293,9 +11293,9 @@ function Kv(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Hh(e));
+ let r = n.getLastKey(t.focusedKey, Uh(e));
if (t.setFocusedKey(r), r != null) {
- if (Hh(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Uh(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -11332,12 +11332,12 @@ function Kv(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = l_(r.current, { tabbable: !0 }), t, n;
+ let e = c_(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = np();
- t && (!ip(t) || i && !pp(i)) && Bf(t);
+ let i = rp();
+ t && (!ap(t) || i && !mp(i)) && Vf(t);
}
return {
shouldContinuePropagation: !0,
@@ -11347,11 +11347,11 @@ function Kv(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [wp() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [Tp() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [wp() ? e + "+Alt" : e + "+Control"]: t,
+ [Tp() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = ih({
+ }), { keyboardProps: M } = ah({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -11361,30 +11361,30 @@ function Kv(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: N } = ih({ shortcuts: {
+ }), { keyboardProps: N } = ah({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
Escape: O,
Tab: k,
"Tab+Shift": A
- } }), P = (0, I.useRef)({
+ } }), ee = (0, I.useRef)({
top: 0,
left: 0
});
- qh(p, "scroll", () => {
- P.current = {
+ Jh(p, "scroll", () => {
+ ee.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
};
});
- let ee = (e) => {
+ let te = (e) => {
if (t.isFocused) {
- tp(e.currentTarget, V(e)) || t.setFocused(!1);
+ np(e.currentTarget, V(e)) || t.setFocused(!1);
return;
}
- if (!tp(e.currentTarget, V(e))) return;
- let i = ym();
+ if (!np(e.currentTarget, V(e))) return;
+ let i = bm();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -11393,32 +11393,32 @@ function Kv(e) {
else if (t.focusedKey == null) {
let r = e.relatedTarget;
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
- } else p.current && (p.current.scrollTop = P.current.top, p.current.scrollLeft = P.current.left);
+ } else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);
if (t.focusedKey != null && p.current) {
- let e = tv(r, t.focusedKey);
- e instanceof HTMLElement && (!ip(e) && !d && Bf(e), (i === "keyboard" || h && i === "virtual") && C_(e, { containingElement: r.current }));
+ let e = Q_(r, t.focusedKey);
+ e instanceof HTMLElement && (!ap(e) && !d && Vf(e), (i === "keyboard" || h && i === "virtual") && x_(e, { containingElement: r.current }));
}
- }, F = (e) => {
- tp(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
- }, te = (0, I.useRef)(!1);
- qh(r, Lh, d ? (e) => {
+ }, P = (e) => {
+ np(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ }, F = (0, I.useRef)(!1);
+ Jh(r, Rh, d ? (e) => {
let { detail: n } = e;
- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);
+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
Gv(() => {
- if (te.current) {
+ if (F.current) {
if (ne == null) {
- let e = np();
- Rh(r.current), Bh(e, null), t.collection.size > 0 && (te.current = !1);
- } else t.setFocusedKey(ne), te.current = !1;
+ let e = rp();
+ zh(r.current), Vh(e, null), t.collection.size > 0 && (F.current = !1);
+ } else t.setFocusedKey(ne), F.current = !1;
}
}, [ne, t.collection.size]), Gv(() => {
- t.collection.size > 0 && (te.current = !1);
- }, [t.focusedKey]), qh(r, Ih, d ? (e) => {
+ t.collection.size > 0 && (F.current = !1);
+ }, [t.focusedKey]), Jh(r, Lh, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
- let re = (0, I.useRef)(i), L = (0, I.useRef)(!1);
+ let re = (0, I.useRef)(i), ie = (0, I.useRef)(!1);
(0, I.useEffect)(() => {
if (re.current) {
let e = null;
@@ -11430,28 +11430,28 @@ function Kv(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Am(r.current), t.collection.size > 0 && (re.current = !1, L.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && jm(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);
}
});
- let ie = (0, I.useRef)(t.focusedKey), ae = (0, I.useRef)(null);
+ let L = (0, I.useRef)(t.focusedKey), ae = (0, I.useRef)(null);
(0, I.useEffect)(() => {
- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || L.current) && p.current && r.current) {
- let e = ym(), n = tv(r, t.focusedKey);
+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== L.current || ie.current) && p.current && r.current) {
+ let e = bm(), n = Q_(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
- (e === "keyboard" || L.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
- p.current && (x_(p.current, n), e !== "virtual" && C_(n, { containingElement: r.current }));
+ (e === "keyboard" || ie.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
+ p.current && (b_(p.current, n), e !== "virtual" && x_(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && Am(r.current), ie.current = t.focusedKey, L.current = !1;
+ !d && t.isFocused && t.focusedKey == null && L.current != null && r.current && jm(r.current), L.current = t.focusedKey, ie.current = !1;
}), (0, I.useEffect)(() => () => {
ae.current && cancelAnimationFrame(ae.current);
- }, []), qh(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Jh(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let oe = {
...H(N, M),
- onFocus: ee,
- onBlur: F,
+ onFocus: te,
+ onBlur: P,
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
@@ -11462,7 +11462,7 @@ function Kv(e) {
u || (oe = H(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = Oee(t.collection);
+ let le = Mee(t.collection);
return { collectionProps: H(oe, {
tabIndex: ce,
"data-collection": le
@@ -11521,75 +11521,75 @@ function ny(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var ry = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, I.useRef)(!1), i = (0, I.useContext)(Cg), a = H(i || {}, {
+var Lee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, I.useRef)(!1), i = (0, I.useContext)(Sg), a = H(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = ah(n || i?.ref), oh(i, a.ref), (0, I.useEffect)(() => {
+ return a.ref = oh(n || i?.ref), sh(i, a.ref), (0, I.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ I.createElement(Cg.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ I.createElement(Sg.Provider, { value: a }, e);
});
-function Iee({ children: e }) {
+function Ree({ children: e }) {
let t = (0, I.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ I.createElement(Cg.Provider, { value: t }, e);
+ return /*#__PURE__*/ I.createElement(Sg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var iy = /*#__PURE__*/ (0, I.createContext)({});
-function ay(e) {
- let { getContainer: t } = e, { getContainer: n } = oy();
- return /*#__PURE__*/ I.createElement(iy.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var ry = /*#__PURE__*/ (0, I.createContext)({});
+function iy(e) {
+ let { getContainer: t } = e, { getContainer: n } = ay();
+ return /*#__PURE__*/ I.createElement(ry.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function oy() {
- return (0, I.useContext)(iy) ?? {};
+function ay() {
+ return (0, I.useContext)(ry) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var sy = /*#__PURE__*/ I.createContext(null);
-function cy(e) {
- let t = tm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, I.useState)(!1), o = (0, I.useMemo)(() => ({
+var oy = /*#__PURE__*/ I.createContext(null);
+function sy(e) {
+ let t = nm(), { 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 } = oy();
+ }), [i, a]), { getContainer: s } = ay();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(Ug, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(Hg, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ I.createElement(sy.Provider, { value: o }, /*#__PURE__*/ I.createElement(Iee, null, /*#__PURE__*/ I.createElement(sh.Provider, { value: null }, c))), /*#__PURE__*/ vh.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ I.createElement(oy.Provider, { value: o }, /*#__PURE__*/ I.createElement(Ree, null, /*#__PURE__*/ I.createElement(ch.Provider, { value: null }, c))), /*#__PURE__*/ yh.createPortal(c, n);
}
-function ly() {
- let e = (0, I.useContext)(sy)?.setContain;
- hp(() => {
+function cy() {
+ let e = (0, I.useContext)(oy)?.setContain;
+ gp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Lee(e, t) {
- let { role: n = "dialog" } = e, r = zm();
+function zee(e, t) {
+ let { role: n = "dialog" } = e, r = Bm();
r = e["aria-label"] ? void 0 : r;
- let i = zm();
+ let i = Bm();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
let a = (0, I.useRef)(!1);
(0, I.useEffect)(() => {
- if (t.current && !ip(t.current)) {
- Am(t.current);
+ if (t.current && !ap(t.current)) {
+ jm(t.current);
let e = setTimeout(() => {
- (np() === t.current || np() === document.body) && (a.current = !0, t.current && (t.current.blur(), Am(t.current)), a.current = !1);
+ (rp() === t.current || rp() === document.body) && (a.current = !0, t.current && (t.current.blur(), jm(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), ly(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
+ }, [t]), cy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...gg(e, { labelable: !0 }),
+ ...hg(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -11604,23 +11604,23 @@ function Lee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function uy(e = {}) {
+function ly(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, I.useRef)({
isFocused: !1,
- isFocusVisible: t || vm()
+ isFocusVisible: t || ym()
}), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, I.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, I.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = vm(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = ym(), o(e), l();
}, [l]);
- wm((e) => {
+ Tm((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Wm({
+ let { focusProps: d } = Gm({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = H_({
+ }), { focusWithinProps: f } = z_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11632,42 +11632,42 @@ function uy(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Ree(e = {}) {
+function Bee(e = {}) {
let { locale: t } = ag();
return (0, I.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var dy = !1, fy = 0;
-function zee() {
- dy = !0, setTimeout(() => {
- dy = !1;
+var uy = !1, dy = 0;
+function fy() {
+ uy = !0, setTimeout(() => {
+ uy = !1;
}, 500);
}
function py(e) {
- e.pointerType === "touch" && zee();
+ e.pointerType === "touch" && fy();
}
-function Bee() {
- let e = Gf(null);
- if (e !== void 0) return fy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", py), fy++, () => {
- fy--, !(fy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", py);
+function my() {
+ let e = Kf(null);
+ if (e !== void 0) return dy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", py), dy++, () => {
+ dy--, !(dy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", py);
};
}
-function my(e) {
+function hy(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)(Bee, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = wg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
+ (0, I.useEffect)(my, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Cg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !tp(e.currentTarget, V(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !np(e.currentTarget, V(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Gf(V(e)), "pointerover", (e) => {
- s.isHovered && s.target && !tp(s.target, V(e)) && a(e, e.pointerType);
+ s.target = l, c(Kf(V(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !np(s.target, V(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -11682,9 +11682,9 @@ function my(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- dy && t.pointerType === "mouse" || e(t, t.pointerType);
+ uy && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && tp(e.currentTarget, V(e)) && a(e, e.pointerType);
+ !i && np(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -11707,22 +11707,22 @@ function my(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function hy(e) {
+function gy(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, I.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Kh((e) => {
- n && gy(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Kh((e) => {
+ }), o = qh((e) => {
+ n && _y(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = qh((e) => {
n && n(e);
});
(0, I.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Gf(n);
+ let n = t.current, i = Kf(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && gy(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && _y(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);
@@ -11730,19 +11730,19 @@ function hy(e) {
}
}, [t, r]);
}
-function gy(e, t) {
+function _y(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !tp(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !np(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var _y = {};
-_y = {
+var vy = {};
+vy = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11756,8 +11756,8 @@ _y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var vy = {};
-vy = {
+var yy = {};
+yy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11771,8 +11771,8 @@ vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var yy = {};
-yy = {
+var by = {};
+by = {
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",
@@ -11786,8 +11786,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var by = {};
-by = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11801,8 +11801,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var xy = {};
-xy = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11816,8 +11816,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var Sy = {};
-Sy = {
+var Cy = {};
+Cy = {
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: "Επιλογή",
@@ -11831,8 +11831,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var Cy = {};
-Cy = {
+var wy = {};
+wy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11846,8 +11846,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var wy = {};
-wy = {
+var Ty = {};
+Ty = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11861,8 +11861,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Ty = {};
-Ty = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11876,8 +11876,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Ey = {};
-Ey = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11891,8 +11891,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Dy = {};
-Dy = {
+var Oy = {};
+Oy = {
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",
@@ -11906,8 +11906,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Oy = {};
-Oy = {
+var ky = {};
+ky = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11921,8 +11921,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var ky = {};
-ky = {
+var Ay = {};
+Ay = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11936,8 +11936,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var Ay = {};
-Ay = {
+var jy = {};
+jy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11951,8 +11951,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var jy = {};
-jy = {
+var My = {};
+My = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11966,8 +11966,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var My = {};
-My = {
+var Ny = {};
+Ny = {
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: "選択",
@@ -11981,8 +11981,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Ny = {};
-Ny = {
+var Py = {};
+Py = {
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: "선택",
@@ -11996,8 +11996,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Py = {};
-Py = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -12011,8 +12011,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Fy = {};
-Fy = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12026,8 +12026,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Iy = {};
-Iy = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12041,8 +12041,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var Ly = {};
-Ly = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12056,8 +12056,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var Ry = {};
-Ry = {
+var zy = {};
+zy = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12071,8 +12071,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var zy = {};
-zy = {
+var By = {};
+By = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12086,8 +12086,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var By = {};
-By = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12101,8 +12101,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Vy = {};
-Vy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12116,8 +12116,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Hy = {};
-Hy = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12131,8 +12131,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Uy = {};
-Uy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12146,8 +12146,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Wy = {};
-Wy = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12161,8 +12161,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var Gy = {};
-Gy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12176,8 +12176,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Ky = {};
-Ky = {
+var qy = {};
+qy = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12191,8 +12191,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var qy = {};
-qy = {
+var Jy = {};
+Jy = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12206,8 +12206,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Jy = {};
-Jy = {
+var Yy = {};
+Yy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12221,8 +12221,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Yy = {};
-Yy = {
+var Xy = {};
+Xy = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12236,8 +12236,8 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Xy = {};
-Xy = {
+var Zy = {};
+Zy = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12251,42 +12251,42 @@ Xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Zy = {};
-Zy = {
- "ar-AE": _y,
- "bg-BG": vy,
- "cs-CZ": yy,
- "da-DK": by,
- "de-DE": xy,
- "el-GR": Sy,
- "en-US": Cy,
- "es-ES": wy,
- "et-EE": Ty,
- "fi-FI": Ey,
- "fr-FR": Dy,
- "he-IL": Oy,
- "hr-HR": ky,
- "hu-HU": Ay,
- "it-IT": jy,
- "ja-JP": My,
- "ko-KR": Ny,
- "lt-LT": Py,
- "lv-LV": Fy,
- "nb-NO": Iy,
- "nl-NL": Ly,
- "pl-PL": Ry,
- "pt-BR": zy,
- "pt-PT": By,
- "ro-RO": Vy,
- "ru-RU": Hy,
- "sk-SK": Uy,
- "sl-SI": Wy,
- "sr-SP": Gy,
- "sv-SE": Ky,
- "tr-TR": qy,
- "uk-UA": Jy,
- "zh-CN": Yy,
- "zh-TW": Xy
+var Qy = {};
+Qy = {
+ "ar-AE": vy,
+ "bg-BG": yy,
+ "cs-CZ": by,
+ "da-DK": xy,
+ "de-DE": Sy,
+ "el-GR": Cy,
+ "en-US": wy,
+ "es-ES": Ty,
+ "et-EE": Ey,
+ "fi-FI": Dy,
+ "fr-FR": Oy,
+ "he-IL": ky,
+ "hr-HR": Ay,
+ "hu-HU": jy,
+ "it-IT": My,
+ "ja-JP": Ny,
+ "ko-KR": Py,
+ "lt-LT": Fy,
+ "lv-LV": Iy,
+ "nb-NO": Ly,
+ "nl-NL": Ry,
+ "pl-PL": zy,
+ "pt-BR": By,
+ "pt-PT": Vy,
+ "ro-RO": Hy,
+ "ru-RU": Uy,
+ "sk-SK": Wy,
+ "sl-SI": Gy,
+ "sr-SP": Ky,
+ "sv-SE": qy,
+ "tr-TR": Jy,
+ "uk-UA": Yy,
+ "zh-CN": Xy,
+ "zh-TW": Zy
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
@@ -12294,12 +12294,12 @@ function Vee(e) {
return e && e.__esModule ? e.default : e;
}
function Hee(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = mg(Vee(Zy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = pg(Vee(Qy), "@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 = Qy(i, a.current), o = Qy(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = $y(i, a.current), o = $y(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)) {
@@ -12319,7 +12319,7 @@ function Hee(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && h_(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && m_(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12330,7 +12330,7 @@ function Hee(e, t) {
n,
r
]);
- __(() => {
+ g_(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12338,7 +12338,7 @@ function Hee(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function Qy(e, t) {
+function $y(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);
@@ -12346,13 +12346,13 @@ function Qy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function $y(e, t) {
+function eb(e, t) {
let n = t?.isDisabled, [r, i] = (0, I.useState)(!1);
- return hp(() => {
+ return gp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = l_(e.current, { tabbable: !0 });
+ let t = c_(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12375,8 +12375,8 @@ function Uee(e) {
return e && e.__esModule ? e.default : e;
}
function Wee(e) {
- let t = mg(Uee(Zy), "@react-aria/grid"), n = xm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return E_((0, I.useMemo)(() => {
+ let t = pg(Uee(Qy), "@react-aria/grid"), n = Sm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return C_((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;
}, [
@@ -12389,11 +12389,11 @@ function Wee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function eb(e) {
+function tb(e) {
let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ny({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new iv({
+ }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new tv({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12420,11 +12420,11 @@ function eb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function tb(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 = Ip();
- t = Lm(t);
+function nb(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 = Lp();
+ t = Rm(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && ev(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Z_(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12435,11 +12435,11 @@ function tb(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Hh(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Uh(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, I.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Rh(i.current) : s ? s() : np() !== i.current && i.current && Am(i.current));
+ r === n.focusedKey && n.isFocused && (o ? zh(i.current) : s ? s() : rp() !== i.current && i.current && jm(i.current));
}, [
i,
r,
@@ -12467,22 +12467,22 @@ function tb(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 || rb(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || ib(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" && !nb(e.key)) return;
+ if (e.pointerType === "keyboard" && !rb(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 || rb(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || ib(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && nb(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 && rb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = kee(n.collection);
+ let A = Nee(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -12497,22 +12497,22 @@ function tb(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = jm(k[e], D[e]));
- let { pressProps: j, isPressed: M } = kg(k), N = x ? (e) => {
+ ]) D[e] && (k[e] = Mm(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = Og(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: P } = Bv({
+ } : void 0, { longPressProps: ee } = Lv({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
}
- }), ee = (e) => {
+ }), te = (e) => {
C.current === "touch" && T.current && e.preventDefault();
- }, F = d !== "none" && n.isLink(r) ? (e) => {
- Rp.isOpening || e.preventDefault();
- } : void 0, te = H(m, v || b || o && !c ? j : {}, w ? P : {}, {
+ }, P = d !== "none" && n.isLink(r) ? (e) => {
+ zp.isOpening || e.preventDefault();
+ } : void 0, F = H(m, v || b || o && !c ? j : {}, w ? ee : {}, {
onDoubleClick: N,
- onDragStartCapture: ee,
- onClick: F,
+ onDragStartCapture: te,
+ onClick: P,
id: t
}, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ne = (e) => {
let t = e;
@@ -12521,9 +12521,9 @@ function tb(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return pp(e);
- }, re = te.onPointerDown;
- te.onPointerDown = (e) => {
+ return mp(e);
+ }, re = F.onPointerDown;
+ F.onPointerDown = (e) => {
let t = V(e);
if (t && t !== i.current && ne(t)) {
e.stopPropagation();
@@ -12531,16 +12531,16 @@ function tb(e) {
}
re?.(e);
};
- let L = te.onMouseDown;
- return te.onMouseDown = (e) => {
+ let ie = F.onMouseDown;
+ return F.onMouseDown = (e) => {
let t = V(e);
if (t && t !== i.current && ne(t)) {
e.stopPropagation();
return;
}
- L?.(e);
+ ie?.(e);
}, {
- itemProps: te,
+ itemProps: F,
isPressed: M,
isSelected: n.isSelected(r),
isFocused: n.isFocused && n.focusedKey === r,
@@ -12549,10 +12549,10 @@ function tb(e) {
hasAction: S
};
}
-function nb(e) {
+function rb(e) {
return e === "Enter";
}
-function rb(e) {
+function ib(e) {
return e === " ";
}
//#endregion
@@ -12561,10 +12561,10 @@ function Gee(e) {
return e && e.__esModule ? e.default : e;
}
function Kee(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Lm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+ let { key: n } = e, r = t.selectionManager, i = Rm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": mg(Gee(Zy), "@react-aria/grid").format("select"),
+ "aria-label": pg(Gee(Qy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12573,21 +12573,21 @@ function Kee(e, t) {
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
function qee(e, t, n) {
- let r = gg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+ let r = hg(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 } = eb({
+ let { listProps: s } = tb({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = H_({
+ }), { focusWithinProps: c } = z_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Lm(e.id);
- $_.set(t, {
+ }), l = Rm(e.id);
+ X_.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12597,7 +12597,7 @@ function qee(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = B_({
+ let { labelProps: u, fieldProps: d } = L_({
...e,
id: l,
labelElementType: "span"
@@ -12613,8 +12613,8 @@ function qee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Jee(e) {
- let { heading: t, "aria-label": n } = e, r = Lm();
+function ab(e) {
+ let { heading: t, "aria-label": n } = e, r = Rm();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -12633,8 +12633,8 @@ function Jee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Yee(e, t, n) {
- let { key: r } = e, i = $_.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 = zm(), f = zm(), p = {
+function ob(e, t, n) {
+ let { key: r } = e, i = X_.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 = Bm(), f = Bm(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -12646,7 +12646,7 @@ function Yee(e, t, n) {
let e = Number(m?.index);
p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ey(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Dee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = tb({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = jee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = nb({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12655,18 +12655,18 @@ function Yee(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? jm(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? Mm(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = my({
+ }), { hoverProps: S } = hy({
isDisabled: a || !c,
onHoverStart() {
- vm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ ym() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = gg(m?.props);
+ }), C = hg(m?.props);
delete C.id;
- let w = Hp(m?.props);
+ let w = Up(m?.props);
return {
optionProps: {
...p,
@@ -12676,7 +12676,7 @@ function Yee(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && vm(),
+ isFocusVisible: y && t.selectionManager.isFocused && ym(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -12686,13 +12686,13 @@ function Yee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var ib = /* @__PURE__ */ new WeakMap();
+var sb = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Xee(e, t, n) {
+function cb(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = gg(e, { labelable: !0 }), { listProps: c } = eb({
+ let s = hg(e, { labelable: !0 }), { listProps: c } = tb({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -12701,7 +12701,7 @@ function Xee(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return ib.set(t, {
+ return sb.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -12718,42 +12718,42 @@ function Xee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Zee(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 = ib.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Ip(), M = () => {
+function lb(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 = Lp(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, N = "menuitem";
w || (C.selectionMode === "single" ? N = "menuitemradio" : C.selectionMode === "multiple" && (N = "menuitemcheckbox"));
- let P = zm(), ee = zm(), F = zm(), te = {
+ let ee = Bm(), te = Bm(), P = Bm(), F = {
id: r,
"aria-disabled": E || void 0,
role: N,
"aria-label": e["aria-label"],
- "aria-labelledby": P,
+ "aria-labelledby": ee,
"aria-describedby": [
e["aria-describedby"],
- ee,
- F
+ te,
+ P
].filter(Boolean).join(" ") || void 0,
"aria-controls": e["aria-controls"],
"aria-haspopup": c,
"aria-expanded": e["aria-expanded"]
};
- if (C.selectionMode !== "none" && !w && (te["aria-checked"] = D), s) {
+ if (C.selectionMode !== "none" && !w && (F["aria-checked"] = D), s) {
let e = Number(k?.index);
- te["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, te["aria-setsize"] = ey(t.collection);
+ F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = ey(t.collection);
}
let ne = (0, I.useRef)(!1), re = (e) => {
f?.(e), ne.current = e;
- }, L = (0, I.useRef)(null), ie = (e) => {
- e.pointerType !== "keyboard" && (L.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);
+ }, ie = (0, I.useRef)(null), L = (e) => {
+ e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);
}, ae = (e) => {
- m?.(e), M(), Up(e, j, k.props.href, k?.props.routerOptions);
- let t = L.current?.pointerType === "keyboard" ? L.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
- t = o ?? a ?? t, A && !w && t && A(), L.current = null;
- }, { itemProps: oe, isFocused: se } = tb({
+ m?.(e), M(), Wp(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: oe, isFocused: se } = nb({
id: r,
selectionManager: C,
key: i,
@@ -12762,39 +12762,39 @@ function Zee(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: ce, isPressed: le } = kg({
+ }), { pressProps: ce, isPressed: le } = Og({
onPressStart: l,
onPress: d,
- onPressUp: ie,
+ onPressUp: L,
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: ue } = my({
+ }), { hoverProps: ue } = hy({
isDisabled: E,
onHoverStart(e) {
- !vm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !ym() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: R } = ih({
+ }), { keyboardProps: R } = ah({
shortcuts: {
" ": (e) => {
- L.current = {
+ ie.current = {
pointerType: "keyboard",
key: " "
- }, V(e).click(), bm("keyboard");
+ }, V(e).click(), xm("keyboard");
},
Enter: (e) => {
- L.current = {
+ ie.current = {
pointerType: "keyboard",
key: "Enter"
};
let t = V(e);
if (t.tagName !== "A") {
- t.click(), bm("keyboard");
+ t.click(), xm("keyboard");
return;
}
- return bm("keyboard"), {
+ return xm("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -12802,16 +12802,16 @@ function Zee(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: z } = lh({
+ }), { focusableProps: z } = uh({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), de = gg(k?.props);
+ }, n), de = hg(k?.props);
delete de.id;
- let fe = Hp(k?.props);
+ let fe = Up(k?.props);
return {
menuItemProps: {
- ...te,
+ ...F,
...H(de, fe, w ? {
onFocus: oe.onFocus,
"data-collection": oe["data-collection"],
@@ -12819,11 +12819,11 @@ function Zee(e, t, n) {
} : oe, ce, ue, R, z, O.shouldUseVirtualFocus || w ? { onMouseDown: (e) => e.preventDefault() } : void 0, E ? void 0 : { onClick: ae }),
tabIndex: oe.tabIndex != null && T && !O.shouldUseVirtualFocus ? -1 : oe.tabIndex
},
- labelProps: { id: P },
- descriptionProps: { id: ee },
- keyboardShortcutProps: { id: F },
+ labelProps: { id: ee },
+ descriptionProps: { id: te },
+ keyboardShortcutProps: { id: P },
isFocused: se,
- isFocusVisible: se && C.isFocused && vm() && !T,
+ isFocusVisible: se && C.isFocused && ym() && !T,
isSelected: D,
isPressed: le,
isDisabled: E
@@ -12831,8 +12831,8 @@ function Zee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Qee(e) {
- let { heading: t, "aria-label": n } = e, r = Lm();
+function ub(e) {
+ let { heading: t, "aria-label": n } = e, r = Rm();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -12848,15 +12848,15 @@ function Qee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function $ee() {
+function db() {
return window.ResizeObserver !== void 0;
}
-function ab(e) {
- let { ref: t, box: n, onResize: r } = e, i = Kh(r);
+function fb(e) {
+ let { ref: t, box: n, onResize: r } = e, i = qh(r);
(0, I.useEffect)(() => {
let e = t?.current;
if (e) {
- if ($ee()) {
+ if (db()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12872,189 +12872,189 @@ function ab(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var ob = {};
-ob = { dismiss: "تجاهل" };
+var pb = {};
+pb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var sb = {};
-sb = { dismiss: "Отхвърляне" };
+var mb = {};
+mb = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var cb = {};
-cb = { dismiss: "Odstranit" };
+var hb = {};
+hb = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var lb = {};
-lb = { dismiss: "Luk" };
+var gb = {};
+gb = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var ub = {};
-ub = { dismiss: "Schließen" };
+var _b = {};
+_b = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var db = {};
-db = { dismiss: "Απόρριψη" };
+var vb = {};
+vb = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var fb = {};
-fb = { dismiss: "Dismiss" };
+var yb = {};
+yb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var pb = {};
-pb = { dismiss: "Descartar" };
+var bb = {};
+bb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var mb = {};
-mb = { dismiss: "Lõpeta" };
+var xb = {};
+xb = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var hb = {};
-hb = { dismiss: "Hylkää" };
+var Sb = {};
+Sb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var gb = {};
-gb = { dismiss: "Rejeter" };
+var Cb = {};
+Cb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var _b = {};
-_b = { dismiss: "התעלם" };
+var wb = {};
+wb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var vb = {};
-vb = { dismiss: "Odbaci" };
+var Tb = {};
+Tb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var yb = {};
-yb = { dismiss: "Elutasítás" };
+var Eb = {};
+Eb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var bb = {};
-bb = { dismiss: "Ignora" };
+var Db = {};
+Db = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var xb = {};
-xb = { dismiss: "閉じる" };
+var Ob = {};
+Ob = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var Sb = {};
-Sb = { dismiss: "무시" };
+var kb = {};
+kb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Cb = {};
-Cb = { dismiss: "Atmesti" };
+var Ab = {};
+Ab = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var wb = {};
-wb = { dismiss: "Nerādīt" };
+var jb = {};
+jb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Tb = {};
-Tb = { dismiss: "Lukk" };
+var Mb = {};
+Mb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Eb = {};
-Eb = { dismiss: "Negeren" };
+var Nb = {};
+Nb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Db = {};
-Db = { dismiss: "Zignoruj" };
+var Pb = {};
+Pb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Ob = {};
-Ob = { dismiss: "Descartar" };
+var Fb = {};
+Fb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var kb = {};
-kb = { dismiss: "Dispensar" };
+var Ib = {};
+Ib = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Ab = {};
-Ab = { dismiss: "Revocare" };
+var Lb = {};
+Lb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var jb = {};
-jb = { dismiss: "Пропустить" };
+var Rb = {};
+Rb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Mb = {};
-Mb = { dismiss: "Zrušiť" };
+var zb = {};
+zb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Nb = {};
-Nb = { dismiss: "Opusti" };
+var Bb = {};
+Bb = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Pb = {};
-Pb = { dismiss: "Odbaci" };
+var Vb = {};
+Vb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Fb = {};
-Fb = { dismiss: "Avvisa" };
+var Hb = {};
+Hb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Ib = {};
-Ib = { dismiss: "Kapat" };
+var Ub = {};
+Ub = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Lb = {};
-Lb = { dismiss: "Скасувати" };
+var Wb = {};
+Wb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Rb = {};
-Rb = { dismiss: "取消" };
+var Gb = {};
+Gb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var zb = {};
-zb = { dismiss: "關閉" };
+var Kb = {};
+Kb = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Bb = {};
-Bb = {
- "ar-AE": ob,
- "bg-BG": sb,
- "cs-CZ": cb,
- "da-DK": lb,
- "de-DE": ub,
- "el-GR": db,
- "en-US": fb,
- "es-ES": pb,
- "et-EE": mb,
- "fi-FI": hb,
- "fr-FR": gb,
- "he-IL": _b,
- "hr-HR": vb,
- "hu-HU": yb,
- "it-IT": bb,
- "ja-JP": xb,
- "ko-KR": Sb,
- "lt-LT": Cb,
- "lv-LV": wb,
- "nb-NO": Tb,
- "nl-NL": Eb,
- "pl-PL": Db,
- "pt-BR": Ob,
- "pt-PT": kb,
- "ro-RO": Ab,
- "ru-RU": jb,
- "sk-SK": Mb,
- "sl-SI": Nb,
- "sr-SP": Pb,
- "sv-SE": Fb,
- "tr-TR": Ib,
- "uk-UA": Lb,
- "zh-CN": Rb,
- "zh-TW": zb
+var qb = {};
+qb = {
+ "ar-AE": pb,
+ "bg-BG": mb,
+ "cs-CZ": hb,
+ "da-DK": gb,
+ "de-DE": _b,
+ "el-GR": vb,
+ "en-US": yb,
+ "es-ES": bb,
+ "et-EE": xb,
+ "fi-FI": Sb,
+ "fr-FR": Cb,
+ "he-IL": wb,
+ "hr-HR": Tb,
+ "hu-HU": Eb,
+ "it-IT": Db,
+ "ja-JP": Ob,
+ "ko-KR": kb,
+ "lt-LT": Ab,
+ "lv-LV": jb,
+ "nb-NO": Mb,
+ "nl-NL": Nb,
+ "pl-PL": Pb,
+ "pt-BR": Fb,
+ "pt-PT": Ib,
+ "ro-RO": Lb,
+ "ru-RU": Rb,
+ "sk-SK": zb,
+ "sl-SI": Bb,
+ "sr-SP": Vb,
+ "sv-SE": Hb,
+ "tr-TR": Ub,
+ "uk-UA": Wb,
+ "zh-CN": Gb,
+ "zh-TW": Kb
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Vb(e) {
+function Jee(e) {
return e && e.__esModule ? e.default : e;
}
-function Hb(e) {
- let { onDismiss: t, ...n } = e, r = Jh(n, mg(Vb(Bb), "@react-aria/overlays").format("dismiss")), i = () => {
+function Jb(e) {
+ let { onDismiss: t, ...n } = e, r = Yh(n, pg(Jee(qb), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ I.createElement(J_, null, /*#__PURE__*/ I.createElement("button", {
+ return /*#__PURE__*/ I.createElement(G_, null, /*#__PURE__*/ I.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -13066,38 +13066,38 @@ function Hb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Ub = [];
-function Wb(e, t) {
+var Yb = [];
+function Xb(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 && !Ub.includes(t)) return Ub.push(t), () => {
- let e = Ub.indexOf(t);
- e >= 0 && Ub.splice(e, 1);
+ if (i && !Yb.includes(t)) return Yb.push(t), () => {
+ let e = Yb.indexOf(t);
+ e >= 0 && Yb.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Ub[Ub.length - 1] === t && n && n();
+ Yb[Yb.length - 1] === t && n && n();
}, u = (e) => {
- let n = Ub[Ub.length - 1];
+ let n = Yb[Yb.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (Ub[Ub.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = ih({ shortcuts: { Escape: () => {
+ (!s || s(V(e))) && (Yb[Yb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = ah({ shortcuts: { Escape: () => {
if (!o) {
l();
return;
}
return !1;
} } });
- hy({
+ gy({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = H_({
+ let { focusWithinProps: p } = z_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || $g(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || Qg(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -13110,26 +13110,26 @@ function Wb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Gb = typeof document < "u" && window.visualViewport, Kb = 0, qb;
-function Jb(e = {}) {
+var Zb = typeof document < "u" && window.visualViewport, Qb = 0, $b;
+function ex(e = {}) {
let { isDisabled: t } = e;
- hp(() => {
- if (!t) return Kb++, Kb === 1 && (qb = Dp() && kp() ? tte() : ete()), () => {
- Kb--, Kb === 0 && qb();
+ gp(() => {
+ if (!t) return Qb++, Qb === 1 && ($b = Op() && Ap() ? Xee() : Yee()), () => {
+ Qb--, Qb === 0 && $b();
};
}, [t]);
}
-function ete() {
+function Yee() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return jm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Qf(document.documentElement, "scrollbar-gutter", "stable") : Qf(document.documentElement, "padding-right", `${e}px`)), Qf(document.documentElement, "overflow", "hidden"));
+ return Mm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? $f(document.documentElement, "scrollbar-gutter", "stable") : $f(document.documentElement, "padding-right", `${e}px`)), $f(document.documentElement, "overflow", "hidden"));
}
-function tte() {
- let e = Qf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function Xee() {
+ let e = $f(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
- t = v_(r) ? r : y_(r, !0), n = !1;
+ t = __(r) ? r : v_(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = Sg();
+ }, i = document.createElement("style"), a = xg();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
if (!(e.touches.length === 2 || n)) {
@@ -13141,26 +13141,26 @@ function tte() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && Wh(n) ? (n.focus({ preventScroll: !0 }), Yb(n, Wh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Gh(n) ? (n.focus({ preventScroll: !0 }), tx(n, Gh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function(e) {
- let t = np(), n = t != null && Wh(t);
+ let t = rp(), n = t != null && Gh(t);
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Yb(this, n);
+ }), (!e || !e.preventScroll) && tx(this, n);
}
});
- let l = jm(Zf(document, "touchstart", r, {
+ let l = Mm(Qf(document, "touchstart", r, {
passive: !1,
capture: !0
- }), Zf(document, "touchmove", o, {
+ }), Qf(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Zf(document, "blur", s, !0));
+ }), Qf(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -13169,18 +13169,18 @@ function tte() {
});
};
}
-function Yb(e, t) {
- t || !Gb ? Xb(e) : Gb.addEventListener("resize", () => Xb(e), { once: !0 });
+function tx(e, t) {
+ t || !Zb ? nx(e) : Zb.addEventListener("resize", () => nx(e), { once: !0 });
}
-function Xb(e) {
+function nx(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = y_(n);
+ let e = v_(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Gb && (n = Math.min(n, Gb.offsetTop + Gb.height));
+ Zb && (n = Math.min(n, Zb.offsetTop + Zb.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)),
@@ -13193,14 +13193,14 @@ function Xb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function nte(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Wb({
+function Zee(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = Xb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Jb({ isDisabled: !t.isOpen }), ly(), (0, I.useEffect)(() => {
- if (t.isOpen && n.current) return Q_([n.current], { shouldUseInert: !0 });
+ return ex({ isDisabled: !t.isOpen }), cy(), (0, I.useEffect)(() => {
+ if (t.isOpen && n.current) return Y_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -13208,33 +13208,33 @@ function nte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Zb = {
+var rx = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Qb = {
+}, ix = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, rte = {
+}, Qee = {
top: "left",
left: "top"
-}, $b = {
+}, ax = {
top: "height",
left: "width"
-}, ex = {
+}, ox = {
width: "totalWidth",
height: "totalHeight"
-}, tx = {}, ite = () => typeof document < "u" ? window.visualViewport : null;
-function nx(e, t) {
+}, sx = {}, $ee = () => typeof document < "u" ? window.visualViewport : null;
+function cx(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} = cx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return kp() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = mx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return Ap() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -13244,7 +13244,7 @@ function nx(e, t) {
left: s
};
}
-function ate(e) {
+function ete(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13252,11 +13252,11 @@ function ate(e) {
height: e.scrollHeight
};
}
-function rx(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[$b[e]], l = o[e] + r.scroll[Zb[e]] + a, u = o[e] + r.scroll[Zb[e]] + c - a, d = t - s + r.scroll[Zb[e]] + o[e] - r[Zb[e]], f = t - s + n + r.scroll[Zb[e]] + o[e] - r[Zb[e]];
+function lx(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[ax[e]], l = o[e] + r.scroll[rx[e]] + a, u = o[e] + r.scroll[rx[e]] + c - a, d = t - s + r.scroll[rx[e]] + o[e] - r[rx[e]], f = t - s + n + r.scroll[rx[e]] + o[e] - r[rx[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function ote(e) {
+function tte(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13265,58 +13265,58 @@ function ote(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function ix(e) {
- if (tx[e]) return tx[e];
- let [t, n] = e.split(" "), r = Zb[t] || "right", i = rte[r];
- Zb[n] || (n = "center");
- let a = $b[r], o = $b[i];
- return tx[e] = {
+function ux(e) {
+ if (sx[e]) return sx[e];
+ let [t, n] = e.split(" "), r = rx[t] || "right", i = Qee[r];
+ rx[n] || (n = "center");
+ let a = ax[r], o = ax[i];
+ return sx[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, tx[e];
+ }, sx[e];
}
-function ax(e, t, n, r, i, a, o, s, c, l, u) {
+function dx(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] = G_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[ex[h]];
- _[Qb[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = H_(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[ox[h]];
+ _[ix[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[ex.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function nte(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[ox.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 ox(e, t, n, r, i, a, o, s) {
+function fx(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[Qb[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[Qb[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[ix[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[ix[l]] - i);
}
-function cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = ix(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = ax(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ox(s, l, t, i, a + u, v, c, g);
+function rte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = ux(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = dx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = fx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = ix(`${Qb[S]} ${C}`), r = ax(t, s, n, e, u, d, l, f, m, h, c);
- ox(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = ux(`${ix[S]} ${C}`), r = dx(t, s, n, e, u, d, l, f, m, h, c);
+ fx(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 = rx(b, w[b], n[x], s, c, a, l);
+ let O = lx(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 = ax(t, s, n, v, T, d, l, f, m, h, c), O = rx(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Zb[b]], M = j + .5 * t[x], N = m / 2 + h, P = Zb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
- A[b] = G_(G_(M, t[b] + m / 2 - (w[b] + i[Zb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Zb[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
- let F = S === "left" || S === "top" ? n[y] : 0, te = {
- x: S === "top" || S === "bottom" ? j : F,
- y: S === "left" || S === "right" ? j : F
+ let k = nte(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = dx(t, s, n, v, T, d, l, f, m, h, c), O = lx(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[rx[b]], M = j + .5 * t[x], N = m / 2 + h, ee = rx[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = H_(H_(M, t[b] + m / 2 - (w[b] + i[rx[b]]), t[b] + t[x] - m / 2 - (w[b] + i[rx[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, F = {
+ x: S === "top" || S === "bottom" ? j : P,
+ y: S === "left" || S === "right" ? j : P
};
return {
position: w,
@@ -13324,20 +13324,20 @@ function cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
arrowOffsetLeft: A.left,
arrowOffsetTop: A.top,
placement: S,
- triggerAnchorPoint: te
+ triggerAnchorPoint: F
};
}
-function lte(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 = ite(), h = r instanceof HTMLElement ? ute(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? cx(n, !1, p) : lx(n, h, !1, p);
+function ite(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 = $ee(), h = r instanceof HTMLElement ? ate(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? mx(n, !1, p) : hx(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 = cx(r, !0), x = ote(r);
+ let b = mx(r, !0), x = tte(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = ate(i), C = nx(s, m), w = nx(h, m), T;
+ let S = ete(i), C = cx(s, m), w = cx(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = sx(h, !1);
+ let e = px(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13349,11 +13349,11 @@ function lte(e) {
left: 0,
width: 0,
height: 0
- } : lx(s, h, !1);
- let E = tp(s, h);
- return cte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : hx(s, h, !1);
+ let E = np(s, h);
+ return rte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function sx(e, t) {
+function px(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,
@@ -13362,8 +13362,8 @@ function sx(e, t) {
height: a
};
}
-function cx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || sx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function mx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || px(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13371,29 +13371,29 @@ function cx(e, t, n) {
height: o
};
}
-function lx(e, t, n, r) {
+function hx(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || sx(e, n);
+ if (i.position === "fixed") a = r || px(e, n);
else {
- a = cx(e, n, r);
- let i = cx(t, n), o = window.getComputedStyle(t);
+ a = mx(e, n, r);
+ let i = mx(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 ute(e) {
+function ate(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ux(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ux(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !gx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !gx(t);) t = t.parentElement;
return t || document.documentElement;
}
-function ux(e) {
+function gx(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 dte(e) {
+var _x = typeof document < "u" ? window.visualViewport : null;
+function ote(e) {
let { direction: t } = ag(), { 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,
@@ -13411,15 +13411,15 @@ function dte(e) {
g,
_,
n
- ], S = (0, I.useRef)(dx?.scale);
+ ], S = (0, I.useRef)(_x?.scale);
(0, I.useEffect)(() => {
- m && (S.current = dx?.scale);
+ m && (S.current = _x?.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 || _x?.scale !== S.current) return;
let e = null;
- if (o.current && ip(o.current)) {
- let t = np()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && ap(o.current)) {
+ let t = rp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -13427,8 +13427,8 @@ function dte(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 = lte({
- placement: pte(s, t),
+ let y = ite({
+ placement: cte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13438,28 +13438,28 @@ function dte(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? sx(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? px(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = np();
+ let x = rp();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- hp(C, x), fte(C), ab({
+ gp(C, x), ste(C), fb({
ref: i,
onResize: C
- }), ab({
+ }), fb({
ref: r,
onResize: C
});
let w = (0, I.useRef)(!1);
- hp(() => {
+ gp(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -13467,16 +13467,16 @@ function dte(e) {
}, n = () => {
w.current && t();
};
- dx?.addEventListener("resize", t), dx?.addEventListener("scroll", n);
- let r = Zf(rp(window), "scroll", n);
+ _x?.addEventListener("resize", t), _x?.addEventListener("scroll", n);
+ let r = Qf(ip(window), "scroll", n);
return () => {
- dx?.removeEventListener("resize", t), dx?.removeEventListener("scroll", n), r();
+ _x?.removeEventListener("resize", t), _x?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, I.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Mee({
+ return Bv({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13502,25 +13502,25 @@ function dte(e) {
updatePosition: C
};
}
-function fte(e) {
- hp(() => (window.addEventListener("resize", e, !1), () => {
+function ste(e) {
+ gp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function pte(e, t) {
+function cte(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 mte(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 } = Wb({
+function lte(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 } = Xb({
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 } = dte({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ote({
...c,
targetRef: n,
overlayRef: r,
@@ -13528,15 +13528,15 @@ function mte(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)
});
- Jb({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Tee(i?.current ?? r.current) : Q_([i?.current ?? r.current], { shouldUseInert: !0 });
+ ex({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? kee(i?.current ?? r.current) : Y_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = H_(e);
+ let { focusWithinProps: g } = z_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13547,13 +13547,13 @@ function mte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var fx = /* @__PURE__ */ new WeakMap();
+var vx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function hte(e, t, n) {
+function ute(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: _ } = kg({
+ }, { pressProps: g, isPressed: _ } = Og({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13561,7 +13561,7 @@ function hte(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = kg({
+ }), { pressProps: v, isPressed: y } = Og({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13571,11 +13571,11 @@ function hte(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = lh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = gg(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = uh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = hg(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 } = fx.get(t);
- D_(n, t.defaultSelectedValue, t.setSelectedValue), O_({ validationBehavior: O }, t, n);
- let k = k_();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = vx.get(t);
+ w_(n, t.defaultSelectedValue, t.setSelectedValue), T_({ validationBehavior: O }, t, n);
+ let k = E_();
return {
labelProps: H(v, (0, I.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -13607,13 +13607,13 @@ function hte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function gte(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ag(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = V_({
+function dte(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ag(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = R_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = gg(e, { labelable: !0 }), { focusWithinProps: v } = H_({
+ }), _ = hg(e, { labelable: !0 }), { focusWithinProps: v } = z_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13621,13 +13621,13 @@ function gte(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = l_(n.currentTarget, {
+ let r = c_(n.currentTarget, {
from: V(n),
- accept: (e) => e instanceof Kf(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof qf(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = ih({
+ let { keyboardProps: b } = ah({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -13635,8 +13635,8 @@ function gte(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Lm(n);
- return fx.set(t, {
+ }), x = Rm(n);
+ return vx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13665,12 +13665,12 @@ function gte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var px = /* @__PURE__ */ new WeakMap();
-function _te(e, t, n) {
+var yx = /* @__PURE__ */ new WeakMap();
+function fte(e, t, n) {
let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = ny({
usage: "search",
sensitivity: "base"
- }), u = (0, I.useMemo)(() => r || new iv(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, I.useMemo)(() => r || new tv(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
@@ -13679,7 +13679,7 @@ function _te(e, t, n) {
]), { menuTriggerProps: d, menuProps: f } = Hv({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = ih({
+ }, t, n), { keyboardProps: p } = ah({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -13701,15 +13701,15 @@ function _te(e, t, n) {
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = V_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = R_({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = gg(e, { labelable: !0 }), C = H(m, d, y), w = Lm();
- return px.set(t, {
+ let S = hg(e, { labelable: !0 }), C = H(m, d, y), w = Rm();
+ return yx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13719,13 +13719,13 @@ function _te(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), bm("keyboard"));
+ e.isDisabled || (n.current?.focus(), xm("keyboard"));
}
},
triggerProps: H(S, {
...C,
isDisabled: i,
- onKeyDown: jm(C.onKeyDown, p.onKeyDown),
+ onKeyDown: Mm(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -13749,7 +13749,7 @@ function _te(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- tp(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ np(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -13770,13 +13770,13 @@ function _te(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function vte(e, t, n) {
- let r = px.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = q_({ style: {
+function pte(e, t, n) {
+ let r = yx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = W_({ style: {
position: "fixed",
top: 0,
left: 0
} });
- D_(e.selectRef, t.defaultValue, t.setValue), O_({
+ w_(e.selectRef, t.defaultValue, t.setValue), T_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -13806,8 +13806,8 @@ function vte(e, t, n) {
}
};
}
-function yte(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 } = vte({
+function mte(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 } = pte({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -13831,7 +13831,7 @@ function yte(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = px.get(t) || {};
+ let { validationBehavior: e } = yx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13862,8 +13862,8 @@ function yte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function bte(e) {
- let t = gg(e, { labelable: !0 }), n;
+function hte(e) {
+ let t = hg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -13872,8 +13872,8 @@ function bte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function xte(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = R_(e, t, n);
+function gte(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = F_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -13887,10 +13887,10 @@ function xte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var mx = class {
+var bx = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new Ste(e.layout) : new rv(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new _te(e.layout) : new ev(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -14056,7 +14056,7 @@ var mx = class {
}
return null;
}
-}, Ste = class {
+}, _te = class {
constructor(e) {
this.layout = e;
}
@@ -14069,16 +14069,16 @@ var mx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, hx = /* @__PURE__ */ new WeakMap();
+}, xx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Cte(e, t, n) {
+function vte(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 = ny({
usage: "search",
sensitivity: "base"
- }), { direction: g } = ag(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new mx({
+ }), { direction: g } = ag(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new bx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -14103,8 +14103,8 @@ function Cte(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Lm(e.id);
- hx.set(t, {
+ }), b = Rm(e.id);
+ xx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -14116,16 +14116,16 @@ function Cte(e, t, n) {
let x = Wee({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = gg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
+ }), S = hg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
if (m.isFocused) {
- tp(e.currentTarget, V(e)) || m.setFocused(!1);
+ np(e.currentTarget, V(e)) || m.setFocused(!1);
return;
}
- tp(e.currentTarget, V(e)) && m.setFocused(!0);
+ np(e.currentTarget, V(e)) && m.setFocused(!0);
}, [m]), w = (0, I.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = $y(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = eb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
@@ -14134,27 +14134,27 @@ function Cte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var gx = /* @__PURE__ */ new WeakMap();
-function _x(e) {
+var Sx = /* @__PURE__ */ new WeakMap();
+function Cx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function wte(e, t) {
- let n = gx.get(e);
+function yte(e, t) {
+ let n = Sx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${_x(t)}`;
+ return `${n}-${Cx(t)}`;
}
-function vx(e, t, n) {
- let r = gx.get(e);
+function wx(e, t, n) {
+ let r = Sx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${_x(t)}-${_x(n)}`;
+ return `${r}-${Cx(t)}-${Cx(n)}`;
}
-function yx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => vx(e, t, n)).join(" ");
+function Tx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => wx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var bx = {};
-bx = {
+var Ex = {};
+Ex = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -14169,8 +14169,8 @@ bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var xx = {};
-xx = {
+var Dx = {};
+Dx = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -14185,8 +14185,8 @@ xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Sx = {};
-Sx = {
+var Ox = {};
+Ox = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14201,8 +14201,8 @@ Sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var Cx = {};
-Cx = {
+var kx = {};
+kx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14217,8 +14217,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var wx = {};
-wx = {
+var Ax = {};
+Ax = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14233,8 +14233,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Tx = {};
-Tx = {
+var jx = {};
+jx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -14249,8 +14249,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Ex = {};
-Ex = {
+var Mx = {};
+Mx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14265,8 +14265,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Dx = {};
-Dx = {
+var Nx = {};
+Nx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14281,8 +14281,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Ox = {};
-Ox = {
+var Px = {};
+Px = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14297,8 +14297,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var kx = {};
-kx = {
+var Fx = {};
+Fx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14313,8 +14313,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Ax = {};
-Ax = {
+var Ix = {};
+Ix = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14329,8 +14329,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var jx = {};
-jx = {
+var Lx = {};
+Lx = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -14345,8 +14345,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Mx = {};
-Mx = {
+var Rx = {};
+Rx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14361,8 +14361,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Nx = {};
-Nx = {
+var zx = {};
+zx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14377,8 +14377,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Px = {};
-Px = {
+var Bx = {};
+Bx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14393,8 +14393,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Fx = {};
-Fx = {
+var Vx = {};
+Vx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14409,8 +14409,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Ix = {};
-Ix = {
+var Hx = {};
+Hx = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -14425,8 +14425,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Lx = {};
-Lx = {
+var Ux = {};
+Ux = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14441,8 +14441,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Rx = {};
-Rx = {
+var Wx = {};
+Wx = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -14457,8 +14457,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var zx = {};
-zx = {
+var Gx = {};
+Gx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14473,8 +14473,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Bx = {};
-Bx = {
+var Kx = {};
+Kx = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14489,8 +14489,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Vx = {};
-Vx = {
+var qx = {};
+qx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14505,8 +14505,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Hx = {};
-Hx = {
+var Jx = {};
+Jx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14521,8 +14521,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Ux = {};
-Ux = {
+var Yx = {};
+Yx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14537,8 +14537,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Wx = {};
-Wx = {
+var Xx = {};
+Xx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14553,8 +14553,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Gx = {};
-Gx = {
+var Zx = {};
+Zx = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -14569,8 +14569,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Kx = {};
-Kx = {
+var Qx = {};
+Qx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14585,8 +14585,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var qx = {};
-qx = {
+var $x = {};
+$x = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -14601,8 +14601,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Jx = {};
-Jx = {
+var eS = {};
+eS = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14617,8 +14617,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Yx = {};
-Yx = {
+var tS = {};
+tS = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14633,8 +14633,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Xx = {};
-Xx = {
+var nS = {};
+nS = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14649,8 +14649,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Zx = {};
-Zx = {
+var rS = {};
+rS = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -14665,8 +14665,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var Qx = {};
-Qx = {
+var iS = {};
+iS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14681,8 +14681,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var $x = {};
-$x = {
+var aS = {};
+aS = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -14697,46 +14697,46 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var eS = {};
-eS = {
- "ar-AE": bx,
- "bg-BG": xx,
- "cs-CZ": Sx,
- "da-DK": Cx,
- "de-DE": wx,
- "el-GR": Tx,
- "en-US": Ex,
- "es-ES": Dx,
- "et-EE": Ox,
- "fi-FI": kx,
- "fr-FR": Ax,
- "he-IL": jx,
- "hr-HR": Mx,
- "hu-HU": Nx,
- "it-IT": Px,
- "ja-JP": Fx,
- "ko-KR": Ix,
- "lt-LT": Lx,
- "lv-LV": Rx,
- "nb-NO": zx,
- "nl-NL": Bx,
- "pl-PL": Vx,
- "pt-BR": Hx,
- "pt-PT": Ux,
- "ro-RO": Wx,
- "ru-RU": Gx,
- "sk-SK": Kx,
- "sl-SI": qx,
- "sr-SP": Jx,
- "sv-SE": Yx,
- "tr-TR": Xx,
- "uk-UA": Zx,
- "zh-CN": Qx,
- "zh-TW": $x
+var oS = {};
+oS = {
+ "ar-AE": Ex,
+ "bg-BG": Dx,
+ "cs-CZ": Ox,
+ "da-DK": kx,
+ "de-DE": Ax,
+ "el-GR": jx,
+ "en-US": Mx,
+ "es-ES": Nx,
+ "et-EE": Px,
+ "fi-FI": Fx,
+ "fr-FR": Ix,
+ "he-IL": Lx,
+ "hr-HR": Rx,
+ "hu-HU": zx,
+ "it-IT": Bx,
+ "ja-JP": Vx,
+ "ko-KR": Hx,
+ "lt-LT": Ux,
+ "lv-LV": Wx,
+ "nb-NO": Gx,
+ "nl-NL": Kx,
+ "pl-PL": qx,
+ "pt-BR": Jx,
+ "pt-PT": Yx,
+ "ro-RO": Xx,
+ "ru-RU": Zx,
+ "sk-SK": Qx,
+ "sl-SI": $x,
+ "sr-SP": eS,
+ "sv-SE": tS,
+ "tr-TR": nS,
+ "uk-UA": rS,
+ "zh-CN": iS,
+ "zh-TW": aS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Tte = class extends mx {
+var bte = class extends bx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14814,14 +14814,14 @@ var Tte = class extends mx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Ete(e) {
+function xte(e) {
return e && e.__esModule ? e.default : e;
}
-function Dte(e, t, n) {
+function Ste(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ny({
usage: "search",
sensitivity: "base"
- }), { direction: c } = ag(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Tte({
+ }), { direction: c } = ag(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new bte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14840,43 +14840,43 @@ function Dte(e, t, n) {
s,
a,
o
- ]), d = Lm(e.id);
- gx.set(t, d);
- let { gridProps: f } = Cte({
+ ]), d = Rm(e.id);
+ Sx.set(t, d);
+ let { gridProps: f } = vte({
...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 = mg(Ete(eS), "@react-aria/table"), g = (0, I.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = pg(xte(oS), "@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;
}, [
m,
p,
t.collection.columns
- ]), _ = E_(g);
- return __(() => {
- g && h_(g, "assertive", 500);
+ ]), _ = C_(g);
+ return g_(() => {
+ g && m_(g, "assertive", 500);
}, [g]), { gridProps: H(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function tS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ag(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = hx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
+function sS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ag(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = xx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
if (n.current) {
- let e = l_(n.current);
+ let e = c_(n.current);
if (p === "child") {
- if (ip(n.current) && n.current !== np(Gf(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? nS(e) : e.firstChild();
+ if (ap(n.current) && n.current !== rp(Kf(n.current))) return;
+ let r = t.selectionManager.childFocusStrategy === "last" ? cS(e) : e.firstChild();
if (r) {
- Am(r);
+ jm(r);
return;
}
}
- (m.current != null && r.key !== m.current || !ip(n.current)) && Am(n.current);
+ (m.current != null && r.key !== m.current || !ap(n.current)) && jm(n.current);
}
- }, { itemProps: g, isPressed: _ } = tb({
+ }, { itemProps: g, isPressed: _ } = nb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14888,47 +14888,47 @@ function tS(e, t, n) {
}), v = H(g, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = np(Gf(n.current));
- if (!tp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = l_(n.current);
+ let i = rp(Kf(n.current));
+ if (!np(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = c_(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Am(t), C_(t, { containingElement: y_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) jm(t), x_(t, { containingElement: v_(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (Am(n.current), C_(n.current, { containingElement: y_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : nS(a), t && (Am(t), C_(t, { containingElement: y_(n.current) })));
+ p === "cell" && l === "rtl" ? (jm(n.current), x_(n.current, { containingElement: v_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : cS(a), t && (jm(t), x_(t, { containingElement: v_(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Am(t), C_(t, { containingElement: y_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) jm(t), x_(t, { containingElement: v_(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (Am(n.current), C_(n.current, { containingElement: y_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? nS(a) : a.firstChild(), t && (Am(t), C_(t, { containingElement: y_(n.current) })));
+ p === "cell" && l === "ltr" ? (jm(n.current), x_(n.current, { containingElement: v_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? cS(a) : a.firstChild(), t && (jm(t), x_(t, { containingElement: v_(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && tp(n.current, V(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && np(n.current, V(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = np(Gf(n.current));
- if (!(!tp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
+ let r = rp(Kf(n.current));
+ if (!(!np(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
if (f === "tab" && V(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = l_(n.current, { tabbable: !0 });
+ let t = c_(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -14938,11 +14938,11 @@ function tS(e, t, n) {
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
if (m.current = r.key, V(e) !== n.current) {
- vm() || t.selectionManager.setFocusedKey(r.key);
+ ym() || t.selectionManager.setFocusedKey(r.key);
return;
}
- p === "child" && e.relatedTarget && tp(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && np(Gf(n.current)) === n.current && h();
+ p === "child" && e.relatedTarget && np(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && rp(Kf(n.current)) === n.current && h();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -14957,7 +14957,7 @@ function tS(e, t, n) {
isPressed: _
};
}
-function nS(e) {
+function cS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14966,33 +14966,33 @@ function nS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Ote(e, t, n) {
- let { gridCellProps: r, isPressed: i } = tS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = vx(t, e.node.parentKey, a)), {
+function Cte(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = sS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = wx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function kte(e) {
+function wte(e) {
return e && e.__esModule ? e.default : e;
}
-function Ate(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = tS({
+function Tte(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = sS({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = kg({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Og({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = lh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !jp() && (u = d ? f : "none");
- let p = mg(kte(eS), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && jp() && (m = `${m}, ${p.format(f)}`));
- let h = E_(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = uh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !Mp() && (u = d ? f : "none");
+ let p = pg(wte(oS), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && Mp() && (m = `${m}, ${p.format(f)}`));
+ let h = C_(m), g = t.collection.size === 0;
return (0, I.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -15003,7 +15003,7 @@ function Ate(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: wte(t, r.key),
+ id: yte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -15012,20 +15012,20 @@ function Ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function jte(e, t, n) {
+function Ete(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 Mte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = hx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = tb({
+function Dte(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = xx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = nb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? jm(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? Mm(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -15040,10 +15040,10 @@ function Mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Nte(e) {
+function Ote(e) {
return e && e.__esModule ? e.default : e;
}
-var rS = {
+var lS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -15053,21 +15053,21 @@ var rS = {
rtl: "ArrowRight"
}
};
-function Pte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Mte(e, t, n), { direction: s } = ag();
+function kte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Dte(e, t, n), { direction: s } = ag();
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 = mg(Nte(eS), "@react-aria/table"), u = Jh({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = pg(Ote(oS), "@react-aria/table"), u = Yh({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": yx(t, r.key)
+ "aria-labelledby": Tx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = iS(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 = iS(t.collection, a);
+ let n = uS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = uS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === rS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === rS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === lS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === lS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -15085,45 +15085,45 @@ function Pte(e, t, n) {
};
}
}
- let p = Vp(r.props), m = o.hasAction ? p : {};
+ let p = Hp(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": yx(t, r.key)
+ "aria-labelledby": Tx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function iS(e, t) {
+function uS(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Fte() {
+function Ate() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function aS() {
- return Fte();
+function dS() {
+ return Ate();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Ite(e) {
+function jte(e) {
return e && e.__esModule ? e.default : e;
}
-function Lte(e, t) {
+function Mte(e, t) {
let { key: n } = e, { checkboxProps: r } = Kee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${yx(t, n)}`
+ "aria-labelledby": `${r.id} ${Tx(t, n)}`
} };
}
-function Rte(e) {
+function Nte(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": mg(Ite(eS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": pg(jte(oS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -15132,23 +15132,23 @@ function Rte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var oS = /* @__PURE__ */ new WeakMap();
-function sS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${oS.get(e)}-${n}-${t}`) : "";
+var fS = /* @__PURE__ */ new WeakMap();
+function pS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${fS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function zte(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 } = tb({
+function Pte(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 } = nb({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = sS(t, r, "tab"), m = sS(t, r, "tabpanel"), { tabIndex: h } = d, g = gg(u?.props, { labelable: !0 });
+ }), p = pS(t, r, "tab"), m = pS(t, r, "tabpanel"), { tabIndex: h } = d, g = hg(u?.props, { labelable: !0 });
delete g.id;
- let _ = Hp(u?.props), { focusableProps: v } = lh({
+ let _ = Up(u?.props), { focusableProps: v } = uh({
...u?.props,
isDisabled: l
}, n);
@@ -15168,7 +15168,7 @@ function zte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Bte = class {
+var Fte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15212,11 +15212,11 @@ var Bte = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Vte(e, t, n) {
+function Ite(e, t, n) {
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ag(), { collectionProps: l } = Kv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, I.useMemo)(() => new Bte(a, c, r, s), [
+ keyboardDelegate: (0, I.useMemo)(() => new Fte(a, c, r, s), [
a,
s,
r,
@@ -15226,9 +15226,9 @@ function Vte(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Lm();
- return oS.set(t, u), { tabListProps: {
- ...H(l, Jh({
+ }), u = Rm();
+ return fS.set(t, u), { tabListProps: {
+ ...H(l, Yh({
...e,
id: u
})),
@@ -15239,12 +15239,12 @@ function Vte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Hte(e, t, n) {
- let r = $y(n) ? void 0 : 0, i = sS(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: H(Jh({
+function Lte(e, t, n) {
+ let r = eb(n) ? void 0 : 0, i = pS(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: H(Yh({
...e,
id: i,
- "aria-labelledby": sS(t, t?.selectedKey, "tab")
+ "aria-labelledby": pS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15254,7 +15254,7 @@ function Hte(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var Ute = /* @__PURE__ */ j(((e) => {
+var Rte = /* @__PURE__ */ M(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15453,10 +15453,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
}
};
};
-})), Wte = /* @__PURE__ */ j(((e, t) => {
- t.exports = Ute();
-})), Gte = /* @__PURE__ */ j(((e) => {
- var t = Wte(), n = te(), r = hh();
+})), zte = /* @__PURE__ */ M(((e, t) => {
+ t.exports = Rte();
+})), Bte = /* @__PURE__ */ M(((e) => {
+ var t = zte(), n = ne(), r = gh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -15626,7 +15626,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
}
return null;
}
- var w = Object.assign, T = Symbol.for("react.element"), E = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), M = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), ee = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), I = Symbol.for("react.legacy_hidden"), L = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.for("react.view_transition"), ae = Symbol.for("react.recoverable"), oe = Symbol.iterator;
+ var w = Object.assign, T = Symbol.for("react.element"), E = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), M = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), ee = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), ie = Symbol.for("react.legacy_hidden"), I = Symbol.for("react.memo_cache_sentinel"), L = Symbol.for("react.view_transition"), ae = Symbol.for("react.recoverable"), oe = Symbol.iterator;
function se(e) {
return typeof e != "object" || !e ? null : (e = oe && e[oe] || e["@@iterator"], typeof e == "function" ? e : null);
}
@@ -15639,10 +15639,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
case O: return "Fragment";
case A: return "Profiler";
case k: return "StrictMode";
- case P: return "Suspense";
- case ee: return "SuspenseList";
+ case ee: return "Suspense";
+ case te: return "SuspenseList";
case re: return "Activity";
- case ie: return "ViewTransition";
+ case L: return "ViewTransition";
}
if (typeof e == "object") switch (e.$$typeof) {
case D: return "Portal";
@@ -15651,8 +15651,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
case N:
var t = e.render;
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
- case F: return t = e.displayName || null, t === null ? le(e.type) || "Memo" : t;
- case ne:
+ case P: return t = e.displayName || null, t === null ? le(e.type) || "Memo" : t;
+ case F:
t = e._payload, e = e._init;
try {
return le(e(t));
@@ -16503,7 +16503,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
shiftKey: 0,
altKey: 0,
metaKey: 0,
- getModifierState: $n,
+ getModifierState: B,
button: 0,
buttons: 0,
relatedTarget: function(e) {
@@ -16577,12 +16577,12 @@ var Ute = /* @__PURE__ */ j(((e) => {
Meta: "metaKey",
Shift: "shiftKey"
};
- function B(e) {
+ function $n(e) {
var t = this.nativeEvent;
return t.getModifierState ? t.getModifierState(e) : (e = Qn[e]) ? !!t[e] : !1;
}
- function $n() {
- return B;
+ function B() {
+ return $n;
}
var er = Fn(w({}, Rn, {
key: function(e) {
@@ -16600,7 +16600,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
metaKey: 0,
repeat: 0,
locale: 0,
- getModifierState: $n,
+ getModifierState: B,
charCode: function(e) {
return e.type === "keypress" ? Mn(e) : 0;
},
@@ -16629,7 +16629,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
- getModifierState: $n
+ getModifierState: B
})), ir = Fn(w({}, In, {
propertyName: 0,
elapsedTime: 0,
@@ -16713,7 +16713,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
return t === "input" ? !!yr[e.type] : t === "textarea";
}
function xr(e, t, n, r) {
- yn ? bn ? bn.push(r) : bn = [r] : yn = r, t = rp(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({
+ yn ? bn ? bn.push(r) : bn = [r] : yn = r, t = V(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}));
@@ -16845,7 +16845,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
- }), Yr && zr(Yr, r) || (Yr = r, r = rp(Jr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({
+ }), Yr && zr(Yr, r) || (Yr = r, r = V(Jr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
}), t.target = qr)));
@@ -16987,10 +16987,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
s = 8, a |= 24;
break;
case A: return e = ki(12, n, t, a | 2), e.elementType = A, e.lanes = o, e;
- case P: return e = ki(13, n, t, a), e.elementType = P, e.lanes = o, e;
- case ee: return e = ki(19, n, t, a), e.elementType = ee, e.lanes = o, e;
- case I:
- case ie: return e = a | 32, e = ki(30, n, t, e), e.elementType = ie, e.lanes = o, e.stateNode = {
+ case ee: return e = ki(13, n, t, a), e.elementType = ee, e.lanes = o, e;
+ case te: return e = ki(19, n, t, a), e.elementType = te, e.lanes = o, e;
+ case ie:
+ case L: return e = a | 32, e = ki(30, n, t, e), e.elementType = L, e.lanes = o, e.stateNode = {
autoName: null,
paired: null,
clones: null,
@@ -17007,10 +17007,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
case N:
s = 11;
break a;
- case F:
+ case P:
s = 14;
break a;
- case ne:
+ case F:
s = 16, r = null;
break a;
}
@@ -17459,7 +17459,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
}
function l(e, t, n, r) {
var i = n.type;
- return i === O ? (e = d(e, t, n.props.children, r, n.key), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ne && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);
+ return i === O ? (e = d(e, t, n.props.children, r, n.key), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === F && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);
}
function u(e, t, n, r) {
return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
@@ -17473,7 +17473,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
switch (t.$$typeof) {
case E: return n = Ni(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;
case D: return t = Li(t, e.mode, n), t.return = e, t;
- case ne: return t = $a(t), f(e, t, n);
+ case F: return t = $a(t), f(e, t, n);
}
if (ue(t) || se(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;
if (typeof t.then == "function") return f(e, ao(t), n);
@@ -17489,7 +17489,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
switch (n.$$typeof) {
case E: return n.key === i ? l(e, t, n, r) : null;
case D: return n.key === i ? u(e, t, n, r) : null;
- case ne: return n = $a(n), p(e, t, n, r);
+ case F: return n = $a(n), p(e, t, n, r);
}
if (ue(n) || se(n)) return i === null ? d(e, t, n, r, null) : null;
if (typeof n.then == "function") return p(e, t, ao(n), r);
@@ -17504,7 +17504,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
switch (r.$$typeof) {
case E: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
case D: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
- case ne: return r = $a(r), m(e, t, n, r, i);
+ case F: return r = $a(r), m(e, t, n, r, i);
}
if (ue(r) || se(r)) return e = e.get(n) || null, d(t, e, r, i, null);
if (typeof r.then == "function") return m(e, t, n, ao(r), i);
@@ -17566,7 +17566,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
n(e, r.sibling), c = a(r, o.props.children), oo(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ne && $a(l) === r.type) {
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === F && $a(l) === r.type) {
n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;
break a;
}
@@ -17594,7 +17594,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
c = Li(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case ne: return o = $a(o), _(e, r, o, c);
+ case F: return o = $a(o), _(e, r, o, c);
}
if (ue(o)) return h(e, r, o, c);
if (se(o)) {
@@ -17939,7 +17939,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
if (t ??= {
data: [],
index: 0
- }, n === null && (n = cs(), Vo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = L;
+ }, n === null && (n = cs(), Vo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = I;
return t.index++, n;
}
function fs(e, t) {
@@ -19220,7 +19220,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
t.tag = 11, t = Ic(null, t, e, r, n);
break a;
}
- if (a === F) {
+ if (a === P) {
t.tag = 14, t = Lc(null, t, e, r, n);
break a;
}
@@ -21722,7 +21722,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
d = [];
for (var m = r, h; m !== null;) {
var g = m;
- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = wn(m, p), g != null && d.push(V(m, g, h))), f) break;
+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = wn(m, p), g != null && d.push(rp(m, g, h))), f) break;
m = m.return;
}
0 < d.length && (c = new l(c, u, null, n, i), s.push({
@@ -21786,10 +21786,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
b = void 0;
}
else gr ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
- b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = jn()) : (On = i, kn = "value" in On ? On.value : On.textContent, gr = !0)), v = rp(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({
+ b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = jn()) : (On = i, kn = "value" in On ? On.value : On.textContent, gr = !0)), v = V(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({
event: b,
listeners: v
- }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({
+ }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = V(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({
event: v,
listeners: b
}), v.data = y)), Gf(s, e, r, n, i);
@@ -21797,17 +21797,17 @@ var Ute = /* @__PURE__ */ j(((e) => {
Xf(s, t);
});
}
- function V(e, t, n) {
+ function rp(e, t, n) {
return {
instance: e,
listener: t,
currentTarget: n
};
}
- function rp(e, t) {
+ function V(e, t) {
for (var n = t + "Capture", r = []; e !== null;) {
var i = e, a = i.stateNode;
- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = wn(e, n), i != null && r.unshift(V(e, i, a)), i = wn(e, t), i != null && r.push(V(e, i, a))), e.tag === 3) return r;
+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = wn(e, n), i != null && r.unshift(rp(e, i, a)), i = wn(e, t), i != null && r.push(rp(e, i, a))), e.tag === 3) return r;
e = e.return;
}
return [];
@@ -21823,7 +21823,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
for (var a = t._reactName, o = []; n !== null && n !== r;) {
var s = n, c = s.alternate, l = s.stateNode;
if (s = s.tag, c !== null && c === r) break;
- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = wn(n, a), l != null && o.unshift(V(n, l, c))) : i || (l = wn(n, a), l != null && o.push(V(n, l, c)))), n = n.return;
+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = wn(n, a), l != null && o.unshift(rp(n, l, c))) : i || (l = wn(n, a), l != null && o.push(rp(n, l, c)))), n = n.return;
}
o.length !== 0 && e.push({
event: t,
@@ -23065,7 +23065,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
var a = i;
switch (t) {
case "style":
- a = H(e);
+ a = Wm(e);
break;
case "script": a = qm(e);
}
@@ -23073,7 +23073,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
rel: "preload",
href: t === "image" && n && n.imageSrcSet ? void 0 : e,
as: t
- }, n), Om.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {
+ }, n), Om.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(H(a)) || t === "script" && r.querySelector(Jm(a))))) {
var o = r.createElement("link");
fp(o, "link", e), t === "style" && (o[Dt] = !0, o.onload = o.onerror = function() {
Pt(o);
@@ -23114,7 +23114,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
jm.S(e, t, n);
var r = Pm;
if (r && e) {
- var i = Mt(r).hoistableStyles, a = H(e);
+ var i = Mt(r).hoistableStyles, a = Wm(e);
t ||= "default";
var o = i.get(a);
if (!o) {
@@ -23122,7 +23122,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
loading: 0,
preload: null
};
- if (o = r.querySelector(Wm(a))) s.loading = 5;
+ if (o = r.querySelector(H(a))) s.loading = 5;
else {
e = w({
rel: "stylesheet",
@@ -23186,7 +23186,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
switch (e) {
case "meta":
case "title": return null;
- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = H(n.href), t = Mt(a).hoistableStyles, r = t.get(n), r || (r = {
+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Wm(n.href), t = Mt(a).hoistableStyles, r = t.get(n), r || (r = {
type: "style",
instance: null,
count: 0,
@@ -23199,7 +23199,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
};
case "link":
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
- e = H(n.href);
+ e = Wm(n.href);
var o = Mt(a).hoistableStyles, s = o.get(e);
if (s || (a = a.ownerDocument || a, s = {
type: "stylesheet",
@@ -23209,7 +23209,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
loading: 0,
preload: null
}
- }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Om.get(e), o || (o = {
+ }, o.set(e, s), (o = a.querySelector(H(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Om.get(e), o || (o = {
rel: "preload",
as: "style",
href: n.href,
@@ -23237,10 +23237,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
default: throw Error(i(444, e));
}
}
- function H(e) {
+ function Wm(e) {
return "href=\"" + en(e) + "\"";
}
- function Wm(e) {
+ function H(e) {
return "link[rel=\"stylesheet\"][" + e + "]";
}
function Gm(e) {
@@ -23281,8 +23281,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
});
return r = (e.ownerDocument || e).createElement("style"), Nt(r), fp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;
case "stylesheet":
- a = H(n.href);
- var o = e.querySelector(Wm(a));
+ a = Wm(n.href);
+ var o = e.querySelector(H(a));
if (o) return t.state.loading |= 4, t.instance = o, Nt(o), o;
r = Gm(n), (a = Om.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Nt(o);
var s = o;
@@ -23364,7 +23364,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
function sh(e, t, n, r) {
if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {
if (n.instance === null) {
- var i = H(r.href), a = t.querySelector(Wm(i));
+ var i = Wm(r.href), a = t.querySelector(H(i));
if (a) {
t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Nt(a);
return;
@@ -23416,9 +23416,9 @@ var Ute = /* @__PURE__ */ j(((e) => {
}
var ph = null;
function mh(e, t) {
- e.stylesheets = null, e.unsuspend !== null && (e.count++, ph = /* @__PURE__ */ new Map(), t.forEach(gh, e), ph = null, dh.call(e));
+ e.stylesheets = null, e.unsuspend !== null && (e.count++, ph = /* @__PURE__ */ new Map(), t.forEach(hh, e), ph = null, dh.call(e));
}
- function gh(e, t) {
+ function hh(e, t) {
if (!(t.state.loading & 4)) {
var n = ph.get(e);
if (n) var r = n.get(null);
@@ -23866,7 +23866,7 @@ var Ute = /* @__PURE__ */ j(((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);
};
-})), cS = (/* @__PURE__ */ j(((e, t) => {
+})), mS = (/* @__PURE__ */ M(((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);
@@ -23874,8 +23874,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
console.error(e);
}
}
- n(), t.exports = Gte();
-})))(), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+ n(), t.exports = Bte();
+})))(), Vte = ({ 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,
@@ -23883,7 +23883,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), 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,
@@ -23891,7 +23891,7 @@ var Ute = /* @__PURE__ */ j(((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" })), lS = ({ 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" })), hS = ({ 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,
@@ -23899,7 +23899,7 @@ var Ute = /* @__PURE__ */ j(((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" })), uS = ({ 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" })), 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,
@@ -23907,7 +23907,7 @@ var Ute = /* @__PURE__ */ j(((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" })), dS = ({ 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" })), _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,
@@ -23915,7 +23915,7 @@ var Ute = /* @__PURE__ */ j(((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" })), Jte = ({ 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" })), 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,
@@ -23923,7 +23923,7 @@ var Ute = /* @__PURE__ */ j(((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" })), fS = ({ 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" })), vS = ({ 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,
@@ -23931,7 +23931,7 @@ var Ute = /* @__PURE__ */ j(((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" })), pS = ({ 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" })), 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,
@@ -23939,7 +23939,7 @@ var Ute = /* @__PURE__ */ j(((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" })), Yte = ({ 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" })), 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,
@@ -23947,7 +23947,7 @@ var Ute = /* @__PURE__ */ j(((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" })), mS = ({ 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" })), bS = ({ 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,
@@ -23955,7 +23955,7 @@ var Ute = /* @__PURE__ */ j(((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" })), hS = ({ 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" })), 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,
@@ -23963,7 +23963,7 @@ var Ute = /* @__PURE__ */ j(((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" })), gS = ({ 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" })), SS = ({ 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,
@@ -23971,7 +23971,7 @@ var Ute = /* @__PURE__ */ j(((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" })), _S = ({ 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" })), CS = ({ 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,
@@ -23979,7 +23979,7 @@ var Ute = /* @__PURE__ */ j(((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" })), Xte = ({ 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" })), 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,
@@ -23987,7 +23987,7 @@ var Ute = /* @__PURE__ */ j(((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" })), vS = ({ 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" })), 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,
@@ -23995,7 +23995,7 @@ var Ute = /* @__PURE__ */ j(((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" })), yS = ({ 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" })), TS = ({ 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,
@@ -24003,7 +24003,7 @@ var Ute = /* @__PURE__ */ j(((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" })), Zte = ({ 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" })), 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,
@@ -24011,7 +24011,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), 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,
@@ -24019,7 +24019,7 @@ var Ute = /* @__PURE__ */ j(((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" })), bS = ({ 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" })), ES = ({ 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,
@@ -24027,7 +24027,7 @@ var Ute = /* @__PURE__ */ j(((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" })), xS = ({ 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" })), DS = ({ 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,
@@ -24035,7 +24035,7 @@ var Ute = /* @__PURE__ */ j(((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" })), $te = ({ 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" })), OS = ({ 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,
@@ -24043,7 +24043,7 @@ var Ute = /* @__PURE__ */ j(((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" })), ene = ({ 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" })), 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,
@@ -24051,7 +24051,7 @@ var Ute = /* @__PURE__ */ j(((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" })), tne = ({ 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" })), AS = ({ 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,
@@ -24059,7 +24059,7 @@ var Ute = /* @__PURE__ */ j(((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" })), SS = ({ 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" })), 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,
@@ -24067,7 +24067,7 @@ var Ute = /* @__PURE__ */ j(((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" })), CS = ({ 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" })), MS = ({ 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,
@@ -24075,7 +24075,7 @@ var Ute = /* @__PURE__ */ j(((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" })), wS = ({ 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" })), NS = ({ 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,
@@ -24083,7 +24083,7 @@ var Ute = /* @__PURE__ */ j(((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" })), TS = ({ 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" })), PS = ({ 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,
@@ -24091,7 +24091,7 @@ var Ute = /* @__PURE__ */ j(((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" })), ES = ({ 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" })), FS = ({ 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,
@@ -24099,7 +24099,7 @@ var Ute = /* @__PURE__ */ j(((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" })), DS = ({ 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" })), IS = ({ 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,
@@ -24107,7 +24107,7 @@ var Ute = /* @__PURE__ */ j(((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" })), OS = ({ 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" })), LS = ({ 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,
@@ -24115,7 +24115,7 @@ var Ute = /* @__PURE__ */ j(((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" })), kS = ({ 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" })), RS = ({ 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,
@@ -24123,7 +24123,7 @@ var Ute = /* @__PURE__ */ j(((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" })), AS = ({ 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" })), 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,
@@ -24131,7 +24131,7 @@ var Ute = /* @__PURE__ */ j(((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" })), jS = ({ 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" })), BS = ({ 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,
@@ -24139,7 +24139,7 @@ var Ute = /* @__PURE__ */ j(((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" })), MS = ({ 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" })), VS = ({ 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,
@@ -24147,7 +24147,7 @@ var Ute = /* @__PURE__ */ j(((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" })), NS = ({ 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" })), HS = ({ 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,
@@ -24155,7 +24155,7 @@ var Ute = /* @__PURE__ */ j(((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" })), PS = ({ 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" })), US = ({ 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,
@@ -24163,7 +24163,7 @@ var Ute = /* @__PURE__ */ j(((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" })), FS = ({ 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" })), 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,
@@ -24171,100 +24171,100 @@ var Ute = /* @__PURE__ */ j(((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" })), IS = (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" })), GS = (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;
-}, LS = (e, t) => ({
+}, KS = (e, t) => ({
classGroupId: e,
validator: t
-}), RS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), qS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), zS = "-", BS = [], VS = "arbitrary..", HS = (e) => {
- let t = GS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), JS = "-", YS = [], XS = "arbitrary..", ZS = (e) => {
+ let t = eC(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return WS(e);
- let n = e.split(zS);
- return US(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return $S(e);
+ let n = e.split(JS);
+ return QS(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? IS(i, t) : t : i || BS;
+ return t ? i ? GS(i, t) : t : i || YS;
}
- return n[e] || BS;
+ return n[e] || YS;
}
};
-}, US = (e, t, n) => {
+}, QS = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = US(e, t + 1, i);
+ let n = QS(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(zS) : e.slice(t).join(zS), s = a.length;
+ let o = t === 0 ? e.join(JS) : e.slice(t).join(JS), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, WS = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, $S = (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 ? VS + r : void 0;
-})(), GS = (e) => {
+ return r ? XS + r : void 0;
+})(), eC = (e) => {
let { theme: t, classGroups: n } = e;
- return KS(n, t);
-}, KS = (e, t) => {
- let n = RS();
+ return tC(n, t);
+}, tC = (e, t) => {
+ let n = qS();
for (let r in e) {
let i = e[r];
- qS(i, n, r, t);
+ nC(i, n, r, t);
}
return n;
-}, qS = (e, t, n, r) => {
+}, nC = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- JS(i, t, n, r);
+ rC(i, t, n, r);
}
-}, JS = (e, t, n, r) => {
+}, rC = (e, t, n, r) => {
if (typeof e == "string") {
- YS(e, t, n);
+ iC(e, t, n);
return;
}
if (typeof e == "function") {
- XS(e, t, n, r);
+ aC(e, t, n, r);
return;
}
- ZS(e, t, n, r);
-}, YS = (e, t, n) => {
- let r = e === "" ? t : QS(t, e);
+ oC(e, t, n, r);
+}, iC = (e, t, n) => {
+ let r = e === "" ? t : sC(t, e);
r.classGroupId = n;
-}, XS = (e, t, n, r) => {
- if ($S(e)) {
- qS(e(r), t, n, r);
+}, aC = (e, t, n, r) => {
+ if (cC(e)) {
+ nC(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(LS(n, e));
-}, ZS = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(KS(n, e));
+}, oC = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- qS(o, QS(t, a), n, r);
+ nC(o, sC(t, a), n, r);
}
-}, QS = (e, t) => {
- let n = e, r = t.split(zS), i = r.length;
+}, sC = (e, t) => {
+ let n = e, r = t.split(JS), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = RS(), n.nextPart.set(t, i)), n = i;
+ i || (i = qS(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, $S = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, eC = (e) => {
+}, cC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, lC = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24282,19 +24282,19 @@ var Ute = /* @__PURE__ */ j(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, tC = "!", nC = ":", rC = [], iC = (e, t, n, r, i) => ({
+}, uC = "!", dC = ":", fC = [], pC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), aC = (e) => {
+}), mC = (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 === nC) {
+ if (o === dC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24306,13 +24306,13 @@ var Ute = /* @__PURE__ */ j(((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(uC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(uC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return iC(t, l, c, u);
+ return pC(t, l, c, u);
};
if (t) {
- let e = t + nC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : iC(rC, !1, t, void 0, !0);
+ let e = t + dC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : pC(fC, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24322,7 +24322,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
});
}
return r;
-}, oC = (e) => {
+}, hC = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24334,18 +24334,18 @@ var Ute = /* @__PURE__ */ j(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, sC = (e) => ({
- cache: eC(e.cacheSize),
- parseClassName: aC(e),
- sortModifiers: oC(e),
- postfixLookupClassGroupIds: cC(e),
- ...HS(e)
-}), cC = (e) => {
+}, gC = (e) => ({
+ cache: lC(e.cacheSize),
+ parseClassName: mC(e),
+ sortModifiers: hC(e),
+ postfixLookupClassGroupIds: _C(e),
+ ...ZS(e)
+}), _C = (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;
-}, lC = /\s+/, uC = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(lC), l = "";
+}, vC = /\s+/, yC = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(vC), 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) {
@@ -24369,7 +24369,7 @@ var Ute = /* @__PURE__ */ j(((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 ? _ + uC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24380,34 +24380,34 @@ var Ute = /* @__PURE__ */ j(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, dC = (...e) => {
+}, bC = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = fC(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = xC(n)) && (i && (i += " "), i += r);
return i;
-}, fC = (e) => {
+}, xC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = fC(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = xC(e[r])) && (n && (n += " "), n += t);
return n;
-}, pC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = sC(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, SC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = gC(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 = uC(e, n);
+ let a = yC(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(dC(...e));
-}, mC = [], hC = (e) => {
- let t = (t) => t[e] || mC;
+ return a = o, (...e) => a(bC(...e));
+}, CC = [], wC = (e) => {
+ let t = (t) => t[e] || CC;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, gC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, _C = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, yC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bC = /\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$/, xC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, SC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, CC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wC = (e) => vC.test(e), TC = (e) => !!e && !Number.isNaN(Number(e)), EC = (e) => !!e && Number.isInteger(Number(e)), DC = (e) => e.endsWith("%") && TC(e.slice(0, -1)), OC = (e) => yC.test(e), kC = () => !0, AC = (e) => bC.test(e) && !xC.test(e), jC = () => !1, MC = (e) => SC.test(e), NC = (e) => CC.test(e), PC = (e) => !U(e) && !W(e), FC = (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)), IC = (e) => ZC(e, tw, jC), U = (e) => gC.test(e), LC = (e) => ZC(e, nw, AC), RC = (e) => ZC(e, rw, TC), zC = (e) => ZC(e, aw, kC), BC = (e) => ZC(e, iw, jC), VC = (e) => ZC(e, $C, jC), HC = (e) => ZC(e, ew, NC), UC = (e) => ZC(e, ow, MC), W = (e) => _C.test(e), WC = (e) => QC(e, nw), GC = (e) => QC(e, iw), KC = (e) => QC(e, $C), qC = (e) => QC(e, tw), JC = (e) => QC(e, ew), YC = (e) => QC(e, ow, !0), XC = (e) => QC(e, aw, !0), ZC = (e, t, n) => {
- let r = gC.exec(e);
+}, TC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, EC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, DC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, OC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kC = /\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$/, AC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, jC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, MC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NC = (e) => DC.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) => OC.test(e), RC = () => !0, zC = (e) => kC.test(e) && !AC.test(e), BC = () => !1, VC = (e) => jC.test(e), HC = (e) => MC.test(e), UC = (e) => !U(e) && !W(e), WC = (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)), GC = (e) => ow(e, uw, BC), U = (e) => TC.test(e), KC = (e) => ow(e, dw, zC), qC = (e) => ow(e, fw, PC), JC = (e) => ow(e, mw, RC), YC = (e) => ow(e, pw, BC), XC = (e) => ow(e, cw, BC), ZC = (e) => ow(e, lw, HC), QC = (e) => ow(e, hw, VC), W = (e) => EC.test(e), $C = (e) => sw(e, dw), ew = (e) => sw(e, pw), tw = (e) => sw(e, cw), nw = (e) => sw(e, uw), rw = (e) => sw(e, lw), iw = (e) => sw(e, hw, !0), aw = (e) => sw(e, mw, !0), ow = (e, t, n) => {
+ let r = TC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, QC = (e, t, n = !1) => {
- let r = _C.exec(e);
+}, sw = (e, t, n = !1) => {
+ let r = EC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, $C = (e) => e === "position" || e === "percentage", ew = (e) => e === "image" || e === "url", tw = (e) => e === "length" || e === "size" || e === "bg-size", nw = (e) => e === "length", rw = (e) => e === "number", iw = (e) => e === "family-name", aw = (e) => e === "number" || e === "weight", ow = (e) => e === "shadow", sw = () => {
- let e = hC("color"), t = hC("font"), n = hC("text"), r = hC("font-weight"), i = hC("tracking"), a = hC("leading"), o = hC("breakpoint"), s = hC("container"), c = hC("spacing"), l = hC("radius"), u = hC("shadow"), d = hC("inset-shadow"), f = hC("text-shadow"), p = hC("drop-shadow"), m = hC("blur"), h = hC("perspective"), g = hC("aspect"), _ = hC("ease"), v = hC("animate"), y = () => [
+}, cw = (e) => e === "position" || e === "percentage", lw = (e) => e === "image" || e === "url", uw = (e) => e === "length" || e === "size" || e === "bg-size", dw = (e) => e === "length", fw = (e) => e === "number", pw = (e) => e === "family-name", mw = (e) => e === "number" || e === "weight", hw = (e) => e === "shadow", gw = () => {
+ let e = wC("color"), t = wC("font"), n = wC("text"), r = wC("font-weight"), i = wC("tracking"), a = wC("leading"), o = wC("breakpoint"), s = wC("container"), c = wC("spacing"), l = wC("radius"), u = wC("shadow"), d = wC("inset-shadow"), f = wC("text-shadow"), p = wC("drop-shadow"), m = wC("blur"), h = wC("perspective"), g = wC("aspect"), _ = wC("ease"), v = wC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24449,12 +24449,12 @@ var Ute = /* @__PURE__ */ j(((e) => {
U,
c
], T = () => [
- wC,
+ NC,
"full",
"auto",
...w()
], E = () => [
- EC,
+ FC,
"none",
"subgrid",
W,
@@ -24463,15 +24463,15 @@ var Ute = /* @__PURE__ */ j(((e) => {
"auto",
{ span: [
"full",
- EC,
+ FC,
W,
U
] },
- EC,
+ FC,
W,
U
], O = () => [
- EC,
+ FC,
"auto",
W,
U
@@ -24501,7 +24501,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- wC,
+ NC,
"auto",
"full",
"dvw",
@@ -24514,9 +24514,9 @@ var Ute = /* @__PURE__ */ j(((e) => {
"max",
"fit",
...w()
- ], P = () => [
+ ], ee = () => [
s,
- wC,
+ NC,
"screen",
"full",
"dvw",
@@ -24526,8 +24526,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
"max",
"fit",
...w()
- ], ee = () => [
- wC,
+ ], te = () => [
+ NC,
"screen",
"full",
"lh",
@@ -24538,14 +24538,14 @@ var Ute = /* @__PURE__ */ j(((e) => {
"max",
"fit",
...w()
- ], F = () => [
+ ], P = () => [
e,
W,
U
- ], te = () => [
+ ], F = () => [
...b(),
- KC,
- VC,
+ tw,
+ XC,
{ position: [W, U] }
], ne = () => ["no-repeat", { repeat: [
"",
@@ -24557,25 +24557,25 @@ var Ute = /* @__PURE__ */ j(((e) => {
"auto",
"cover",
"contain",
- qC,
- IC,
+ nw,
+ GC,
{ size: [W, U] }
+ ], ie = () => [
+ IC,
+ $C,
+ KC
], I = () => [
- DC,
- WC,
- LC
- ], L = () => [
"",
"none",
"full",
l,
W,
U
- ], ie = () => [
+ ], L = () => [
"",
- TC,
- WC,
- LC
+ PC,
+ $C,
+ KC
], ae = () => [
"solid",
"dashed",
@@ -24599,10 +24599,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
"color",
"luminosity"
], se = () => [
- TC,
- DC,
- KC,
- VC
+ PC,
+ IC,
+ tw,
+ XC
], ce = () => [
"",
"none",
@@ -24611,20 +24611,20 @@ var Ute = /* @__PURE__ */ j(((e) => {
U
], le = () => [
"none",
- TC,
+ PC,
W,
U
], ue = () => [
"none",
- TC,
+ PC,
W,
U
], R = () => [
- TC,
+ PC,
W,
U
], z = () => [
- wC,
+ NC,
"full",
...w()
];
@@ -24638,17 +24638,17 @@ var Ute = /* @__PURE__ */ j(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [OC],
- breakpoint: [OC],
- color: [kC],
- container: [OC],
- "drop-shadow": [OC],
+ blur: [LC],
+ breakpoint: [LC],
+ color: [RC],
+ container: [LC],
+ "drop-shadow": [LC],
ease: [
"in",
"out",
"in-out"
],
- font: [PC],
+ font: [UC],
"font-weight": [
"thin",
"extralight",
@@ -24660,7 +24660,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [OC],
+ "inset-shadow": [LC],
leading: [
"none",
"tight",
@@ -24677,11 +24677,11 @@ var Ute = /* @__PURE__ */ j(((e) => {
"distant",
"none"
],
- radius: [OC],
- shadow: [OC],
- spacing: ["px", TC],
- text: [OC],
- "text-shadow": [OC],
+ radius: [LC],
+ shadow: [LC],
+ spacing: ["px", PC],
+ text: [LC],
+ "text-shadow": [LC],
tracking: [
"tighter",
"tight",
@@ -24695,7 +24695,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- wC,
+ NC,
U,
W,
g
@@ -24708,9 +24708,9 @@ var Ute = /* @__PURE__ */ j(((e) => {
W,
U
] }],
- "container-named": [FC],
+ "container-named": [WC],
columns: [{ columns: [
- TC,
+ PC,
"auto",
U,
W,
@@ -24810,13 +24810,13 @@ var Ute = /* @__PURE__ */ j(((e) => {
"collapse"
],
z: [{ z: [
- EC,
+ FC,
"auto",
W,
U
] }],
basis: [{ basis: [
- wC,
+ NC,
"full",
"auto",
s,
@@ -24834,8 +24834,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- TC,
- wC,
+ PC,
+ NC,
"auto",
"initial",
"none",
@@ -24843,18 +24843,18 @@ var Ute = /* @__PURE__ */ j(((e) => {
] }],
grow: [{ grow: [
"",
- TC,
+ PC,
W,
U
] }],
shrink: [{ shrink: [
"",
- TC,
+ PC,
W,
U
] }],
order: [{ order: [
- EC,
+ FC,
"first",
"last",
"none",
@@ -24921,12 +24921,12 @@ var Ute = /* @__PURE__ */ j(((e) => {
"space-y": [{ "space-y": w() }],
"space-y-reverse": ["space-y-reverse"],
size: [{ size: N() }],
- "inline-size": [{ inline: ["auto", ...P()] }],
- "min-inline-size": [{ "min-inline": ["auto", ...P()] }],
- "max-inline-size": [{ "max-inline": ["none", ...P()] }],
- "block-size": [{ block: ["auto", ...ee()] }],
- "min-block-size": [{ "min-block": ["auto", ...ee()] }],
- "max-block-size": [{ "max-block": ["none", ...ee()] }],
+ "inline-size": [{ inline: ["auto", ...ee()] }],
+ "min-inline-size": [{ "min-inline": ["auto", ...ee()] }],
+ "max-inline-size": [{ "max-inline": ["none", ...ee()] }],
+ "block-size": [{ block: ["auto", ...te()] }],
+ "min-block-size": [{ "min-block": ["auto", ...te()] }],
+ "max-block-size": [{ "max-block": ["none", ...te()] }],
w: [{ w: [
s,
"screen",
@@ -24966,15 +24966,15 @@ var Ute = /* @__PURE__ */ j(((e) => {
"font-size": [{ text: [
"base",
n,
- WC,
- LC
+ $C,
+ KC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- XC,
- zC
+ aw,
+ JC
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24986,12 +24986,12 @@ var Ute = /* @__PURE__ */ j(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- DC,
+ IC,
U
] }],
"font-family": [{ font: [
- GC,
- BC,
+ ew,
+ YC,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -25007,10 +25007,10 @@ var Ute = /* @__PURE__ */ j(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- TC,
+ PC,
"none",
W,
- RC
+ qC
] }],
leading: [{ leading: [
"none",
@@ -25038,8 +25038,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
"start",
"end"
] }],
- "placeholder-color": [{ placeholder: F() }],
- "text-color": [{ text: F() }],
+ "placeholder-color": [{ placeholder: P() }],
+ "text-color": [{ text: P() }],
"text-decoration": [
"underline",
"overline",
@@ -25048,15 +25048,15 @@ var Ute = /* @__PURE__ */ j(((e) => {
],
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- TC,
+ PC,
"from-font",
"auto",
W,
- LC
+ KC
] }],
- "text-decoration-color": [{ decoration: F() }],
+ "text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- TC,
+ PC,
"auto",
W,
U
@@ -25080,7 +25080,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- EC,
+ FC,
W,
U
] }],
@@ -25141,7 +25141,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
"padding",
"content"
] }],
- "bg-position": [{ bg: te() }],
+ "bg-position": [{ bg: F() }],
"bg-repeat": [{ bg: ne() }],
"bg-size": [{ bg: re() }],
"bg-image": [{ bg: [
@@ -25158,7 +25158,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
"l",
"tl"
] },
- EC,
+ FC,
W,
U
],
@@ -25169,50 +25169,50 @@ var Ute = /* @__PURE__ */ j(((e) => {
],
conic: [
"",
- EC,
+ FC,
W,
U
]
},
- JC,
- HC
+ rw,
+ ZC
] }],
- "bg-color": [{ bg: F() }],
- "gradient-from-pos": [{ from: I() }],
- "gradient-via-pos": [{ via: I() }],
- "gradient-to-pos": [{ to: I() }],
- "gradient-from": [{ from: F() }],
- "gradient-via": [{ via: F() }],
- "gradient-to": [{ to: F() }],
- rounded: [{ rounded: L() }],
- "rounded-s": [{ "rounded-s": L() }],
- "rounded-e": [{ "rounded-e": L() }],
- "rounded-t": [{ "rounded-t": L() }],
- "rounded-r": [{ "rounded-r": L() }],
- "rounded-b": [{ "rounded-b": L() }],
- "rounded-l": [{ "rounded-l": L() }],
- "rounded-ss": [{ "rounded-ss": L() }],
- "rounded-se": [{ "rounded-se": L() }],
- "rounded-ee": [{ "rounded-ee": L() }],
- "rounded-es": [{ "rounded-es": L() }],
- "rounded-tl": [{ "rounded-tl": L() }],
- "rounded-tr": [{ "rounded-tr": L() }],
- "rounded-br": [{ "rounded-br": L() }],
- "rounded-bl": [{ "rounded-bl": L() }],
- "border-w": [{ border: ie() }],
- "border-w-x": [{ "border-x": ie() }],
- "border-w-y": [{ "border-y": ie() }],
- "border-w-s": [{ "border-s": ie() }],
- "border-w-e": [{ "border-e": ie() }],
- "border-w-bs": [{ "border-bs": ie() }],
- "border-w-be": [{ "border-be": ie() }],
- "border-w-t": [{ "border-t": ie() }],
- "border-w-r": [{ "border-r": ie() }],
- "border-w-b": [{ "border-b": ie() }],
- "border-w-l": [{ "border-l": ie() }],
- "divide-x": [{ "divide-x": ie() }],
+ "bg-color": [{ bg: P() }],
+ "gradient-from-pos": [{ from: ie() }],
+ "gradient-via-pos": [{ via: ie() }],
+ "gradient-to-pos": [{ to: ie() }],
+ "gradient-from": [{ from: P() }],
+ "gradient-via": [{ via: P() }],
+ "gradient-to": [{ to: P() }],
+ rounded: [{ rounded: I() }],
+ "rounded-s": [{ "rounded-s": I() }],
+ "rounded-e": [{ "rounded-e": I() }],
+ "rounded-t": [{ "rounded-t": I() }],
+ "rounded-r": [{ "rounded-r": I() }],
+ "rounded-b": [{ "rounded-b": I() }],
+ "rounded-l": [{ "rounded-l": I() }],
+ "rounded-ss": [{ "rounded-ss": I() }],
+ "rounded-se": [{ "rounded-se": I() }],
+ "rounded-ee": [{ "rounded-ee": I() }],
+ "rounded-es": [{ "rounded-es": I() }],
+ "rounded-tl": [{ "rounded-tl": I() }],
+ "rounded-tr": [{ "rounded-tr": I() }],
+ "rounded-br": [{ "rounded-br": I() }],
+ "rounded-bl": [{ "rounded-bl": I() }],
+ "border-w": [{ border: L() }],
+ "border-w-x": [{ "border-x": L() }],
+ "border-w-y": [{ "border-y": L() }],
+ "border-w-s": [{ "border-s": L() }],
+ "border-w-e": [{ "border-e": L() }],
+ "border-w-bs": [{ "border-bs": L() }],
+ "border-w-be": [{ "border-be": L() }],
+ "border-w-t": [{ "border-t": L() }],
+ "border-w-r": [{ "border-r": L() }],
+ "border-w-b": [{ "border-b": L() }],
+ "border-w-l": [{ "border-l": L() }],
+ "divide-x": [{ "divide-x": L() }],
"divide-x-reverse": ["divide-x-reverse"],
- "divide-y": [{ "divide-y": ie() }],
+ "divide-y": [{ "divide-y": L() }],
"divide-y-reverse": ["divide-y-reverse"],
"border-style": [{ border: [
...ae(),
@@ -25224,67 +25224,67 @@ var Ute = /* @__PURE__ */ j(((e) => {
"hidden",
"none"
] }],
- "border-color": [{ border: F() }],
- "border-color-x": [{ "border-x": F() }],
- "border-color-y": [{ "border-y": F() }],
- "border-color-s": [{ "border-s": F() }],
- "border-color-e": [{ "border-e": F() }],
- "border-color-bs": [{ "border-bs": F() }],
- "border-color-be": [{ "border-be": F() }],
- "border-color-t": [{ "border-t": F() }],
- "border-color-r": [{ "border-r": F() }],
- "border-color-b": [{ "border-b": F() }],
- "border-color-l": [{ "border-l": F() }],
- "divide-color": [{ divide: F() }],
+ "border-color": [{ border: P() }],
+ "border-color-x": [{ "border-x": P() }],
+ "border-color-y": [{ "border-y": P() }],
+ "border-color-s": [{ "border-s": P() }],
+ "border-color-e": [{ "border-e": P() }],
+ "border-color-bs": [{ "border-bs": P() }],
+ "border-color-be": [{ "border-be": P() }],
+ "border-color-t": [{ "border-t": P() }],
+ "border-color-r": [{ "border-r": P() }],
+ "border-color-b": [{ "border-b": P() }],
+ "border-color-l": [{ "border-l": P() }],
+ "divide-color": [{ divide: P() }],
"outline-style": [{ outline: [
...ae(),
"none",
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- TC,
+ PC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- TC,
- WC,
- LC
+ PC,
+ $C,
+ KC
] }],
- "outline-color": [{ outline: F() }],
+ "outline-color": [{ outline: P() }],
shadow: [{ shadow: [
"",
"inner",
"none",
u,
- YC,
- UC
+ iw,
+ QC
] }],
- "shadow-color": [{ shadow: F() }],
+ "shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- YC,
- UC
+ iw,
+ QC
] }],
- "inset-shadow-color": [{ "inset-shadow": F() }],
- "ring-w": [{ ring: ie() }],
+ "inset-shadow-color": [{ "inset-shadow": P() }],
+ "ring-w": [{ ring: L() }],
"ring-w-inset": ["ring-inset"],
- "ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [TC, LC] }],
- "ring-offset-color": [{ "ring-offset": F() }],
- "inset-ring-w": [{ "inset-ring": ie() }],
- "inset-ring-color": [{ "inset-ring": F() }],
+ "ring-color": [{ ring: P() }],
+ "ring-offset-w": [{ "ring-offset": [PC, KC] }],
+ "ring-offset-color": [{ "ring-offset": P() }],
+ "inset-ring-w": [{ "inset-ring": L() }],
+ "inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- YC,
- UC
+ iw,
+ QC
] }],
- "text-shadow-color": [{ "text-shadow": F() }],
+ "text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- TC,
+ PC,
W,
U
] }],
@@ -25308,51 +25308,51 @@ var Ute = /* @__PURE__ */ j(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [TC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [PC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],
- "mask-image-linear-from-color": [{ "mask-linear-from": F() }],
- "mask-image-linear-to-color": [{ "mask-linear-to": F() }],
+ "mask-image-linear-from-color": [{ "mask-linear-from": P() }],
+ "mask-image-linear-to-color": [{ "mask-linear-to": P() }],
"mask-image-t-from-pos": [{ "mask-t-from": se() }],
"mask-image-t-to-pos": [{ "mask-t-to": se() }],
- "mask-image-t-from-color": [{ "mask-t-from": F() }],
- "mask-image-t-to-color": [{ "mask-t-to": F() }],
+ "mask-image-t-from-color": [{ "mask-t-from": P() }],
+ "mask-image-t-to-color": [{ "mask-t-to": P() }],
"mask-image-r-from-pos": [{ "mask-r-from": se() }],
"mask-image-r-to-pos": [{ "mask-r-to": se() }],
- "mask-image-r-from-color": [{ "mask-r-from": F() }],
- "mask-image-r-to-color": [{ "mask-r-to": F() }],
+ "mask-image-r-from-color": [{ "mask-r-from": P() }],
+ "mask-image-r-to-color": [{ "mask-r-to": P() }],
"mask-image-b-from-pos": [{ "mask-b-from": se() }],
"mask-image-b-to-pos": [{ "mask-b-to": se() }],
- "mask-image-b-from-color": [{ "mask-b-from": F() }],
- "mask-image-b-to-color": [{ "mask-b-to": F() }],
+ "mask-image-b-from-color": [{ "mask-b-from": P() }],
+ "mask-image-b-to-color": [{ "mask-b-to": P() }],
"mask-image-l-from-pos": [{ "mask-l-from": se() }],
"mask-image-l-to-pos": [{ "mask-l-to": se() }],
- "mask-image-l-from-color": [{ "mask-l-from": F() }],
- "mask-image-l-to-color": [{ "mask-l-to": F() }],
+ "mask-image-l-from-color": [{ "mask-l-from": P() }],
+ "mask-image-l-to-color": [{ "mask-l-to": P() }],
"mask-image-x-from-pos": [{ "mask-x-from": se() }],
"mask-image-x-to-pos": [{ "mask-x-to": se() }],
- "mask-image-x-from-color": [{ "mask-x-from": F() }],
- "mask-image-x-to-color": [{ "mask-x-to": F() }],
+ "mask-image-x-from-color": [{ "mask-x-from": P() }],
+ "mask-image-x-to-color": [{ "mask-x-to": P() }],
"mask-image-y-from-pos": [{ "mask-y-from": se() }],
"mask-image-y-to-pos": [{ "mask-y-to": se() }],
- "mask-image-y-from-color": [{ "mask-y-from": F() }],
- "mask-image-y-to-color": [{ "mask-y-to": F() }],
+ "mask-image-y-from-color": [{ "mask-y-from": P() }],
+ "mask-image-y-to-color": [{ "mask-y-to": P() }],
"mask-image-radial": [{ "mask-radial": [W, U] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": se() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": se() }],
- "mask-image-radial-from-color": [{ "mask-radial-from": F() }],
- "mask-image-radial-to-color": [{ "mask-radial-to": F() }],
+ "mask-image-radial-from-color": [{ "mask-radial-from": P() }],
+ "mask-image-radial-to-color": [{ "mask-radial-to": P() }],
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
"mask-image-radial-size": [{ "mask-radial": [{
closest: ["side", "corner"],
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [TC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [PC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],
- "mask-image-conic-from-color": [{ "mask-conic-from": F() }],
- "mask-image-conic-to-color": [{ "mask-conic-to": F() }],
+ "mask-image-conic-from-color": [{ "mask-conic-from": P() }],
+ "mask-image-conic-to-color": [{ "mask-conic-to": P() }],
"mask-mode": [{ mask: [
"alpha",
"luminance",
@@ -25366,7 +25366,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
"stroke",
"view"
] }],
- "mask-position": [{ mask: te() }],
+ "mask-position": [{ mask: F() }],
"mask-repeat": [{ mask: ne() }],
"mask-size": [{ mask: re() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
@@ -25383,12 +25383,12 @@ var Ute = /* @__PURE__ */ j(((e) => {
] }],
blur: [{ blur: ce() }],
brightness: [{ brightness: [
- TC,
+ PC,
W,
U
] }],
contrast: [{ contrast: [
- TC,
+ PC,
W,
U
] }],
@@ -25396,35 +25396,35 @@ var Ute = /* @__PURE__ */ j(((e) => {
"",
"none",
p,
- YC,
- UC
+ iw,
+ QC
] }],
- "drop-shadow-color": [{ "drop-shadow": F() }],
+ "drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- TC,
+ PC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- TC,
+ PC,
W,
U
] }],
invert: [{ invert: [
"",
- TC,
+ PC,
W,
U
] }],
saturate: [{ saturate: [
- TC,
+ PC,
W,
U
] }],
sepia: [{ sepia: [
"",
- TC,
+ PC,
W,
U
] }],
@@ -25436,45 +25436,45 @@ var Ute = /* @__PURE__ */ j(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ce() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- TC,
+ PC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- TC,
+ PC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- TC,
+ PC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- TC,
+ PC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- TC,
+ PC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- TC,
+ PC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- TC,
+ PC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- TC,
+ PC,
W,
U
] }],
@@ -25497,7 +25497,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- TC,
+ PC,
"initial",
W,
U
@@ -25510,7 +25510,7 @@ var Ute = /* @__PURE__ */ j(((e) => {
U
] }],
delay: [{ delay: [
- TC,
+ PC,
W,
U
] }],
@@ -25555,13 +25555,13 @@ var Ute = /* @__PURE__ */ j(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- EC,
+ FC,
W,
U
] }],
- accent: [{ accent: F() }],
+ accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
- "caret-color": [{ caret: F() }],
+ "caret-color": [{ caret: P() }],
"color-scheme": [{ scheme: [
"normal",
"dark",
@@ -25619,8 +25619,8 @@ var Ute = /* @__PURE__ */ j(((e) => {
"x"
] }],
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
- "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],
- "scrollbar-track-color": [{ "scrollbar-track": F() }],
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
+ "scrollbar-track-color": [{ "scrollbar-track": P() }],
"scrollbar-gutter": [{ "scrollbar-gutter": [
"auto",
"stable",
@@ -25697,14 +25697,14 @@ var Ute = /* @__PURE__ */ j(((e) => {
W,
U
] }],
- fill: [{ fill: ["none", ...F()] }],
+ fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- TC,
- WC,
- LC,
- RC
+ PC,
+ $C,
+ KC,
+ qC
] }],
- stroke: [{ stroke: ["none", ...F()] }],
+ stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
},
conflictingClassGroups: {
@@ -25960,16 +25960,16 @@ var Ute = /* @__PURE__ */ j(((e) => {
"selection"
]
};
-}, cw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (lw(e, "cacheSize", t), lw(e, "prefix", n), lw(e, "experimentalParseClassName", r), uw(e.theme, a.theme), uw(e.classGroups, a.classGroups), uw(e.conflictingClassGroups, a.conflictingClassGroups), uw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), lw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), lw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), dw(e.theme, i.theme), dw(e.classGroups, i.classGroups), dw(e.conflictingClassGroups, i.conflictingClassGroups), dw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), fw(e, i, "postfixLookupClassGroups"), fw(e, i, "orderSensitiveModifiers"), e), lw = (e, t, n) => {
+}, _w = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (vw(e, "cacheSize", t), vw(e, "prefix", n), vw(e, "experimentalParseClassName", r), yw(e.theme, a.theme), yw(e.classGroups, a.classGroups), yw(e.conflictingClassGroups, a.conflictingClassGroups), yw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), vw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), vw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), bw(e.theme, i.theme), bw(e.classGroups, i.classGroups), bw(e.conflictingClassGroups, i.conflictingClassGroups), bw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), xw(e, i, "postfixLookupClassGroups"), xw(e, i, "orderSensitiveModifiers"), e), vw = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, uw = (e, t) => {
- if (t) for (let n in t) lw(e, n, t[n]);
-}, dw = (e, t) => {
- if (t) for (let n in t) fw(e, t, n);
-}, fw = (e, t, n) => {
+}, yw = (e, t) => {
+ if (t) for (let n in t) vw(e, n, t[n]);
+}, bw = (e, t) => {
+ if (t) for (let n in t) xw(e, t, n);
+}, xw = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, pw = (e, ...t) => typeof e == "function" ? pC(sw, e, ...t) : pC(() => cw(sw(), e), ...t), mw = [
+}, Sw = (e, ...t) => typeof e == "function" ? SC(gw, e, ...t) : SC(() => _w(gw(), e), ...t), Cw = [
"large-title",
"display-1",
"display-2",
@@ -25983,18 +25983,18 @@ var Ute = /* @__PURE__ */ j(((e) => {
"body-2",
"caption-1",
"caption-2"
-], hw = [
+], ww = [
"regular",
"medium",
"semibold",
"bold"
-], gw = pw({ extend: { classGroups: { "font-size": [{ text: mw.flatMap((e) => hw.map((t) => `${e}-${t}`)) }] } } });
-function _w(e) {
+], Tw = Sw({ extend: { classGroups: { "font-size": [{ text: Cw.flatMap((e) => ww.map((t) => `${e}-${t}`)) }] } } });
+function Ew(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var vw = _w({
+var Dw = Ew({
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",
@@ -26013,16 +26013,16 @@ var vw = _w({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function yw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function Ow({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
ref: r,
- className: gw(vw.base, vw.variant[e], vw.color[t], n),
+ className: Tw(Dw.base, Dw.variant[e], Dw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var bw = _w({
+var kw = Ew({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -26081,40 +26081,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, L.jsxs)("button", {
ref: c,
type: s,
- className: gw(bw.base, bw.size[t], bw.variant[e], n && bw.iconOnlySize[t], o),
+ className: Tw(kw.base, kw.size[t], kw.variant[e], n && kw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: bw.icon[t],
+ className: kw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: bw.label[t],
+ className: kw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: bw.icon[t],
+ className: kw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function xw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function Aw({ 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: gw(bw.base, bw.size[t], bw.variant[e], n && bw.iconOnlySize[t], o),
+ className: Tw(kw.base, kw.size[t], kw.variant[e], n && kw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: bw.icon[t],
+ className: kw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: bw.label[t],
+ className: kw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: bw.icon[t],
+ className: kw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -26122,13 +26122,13 @@ function xw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var Sw = class extends Error {
+var jw = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(d(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, Cw = (e) => {
+}, Mw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -26141,7 +26141,7 @@ var Sw = class extends Error {
}
return "";
}, K = (e) => d(e);
-async function ww(e, t) {
+async function Nw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -26150,7 +26150,7 @@ async function ww(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new Sw(Cw(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new jw(Mw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -26167,52 +26167,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new Sw(Cw(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new jw(Mw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Tw = "min-w-0", Ew = {
+var Pw = "min-w-0", Fw = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Dw = {
+}, Iw = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Ow = {
+}, Lw = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, kw = {
+}, Rw = {
none: "",
default: "p-5"
-}, Aw = "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", jw = "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 Mw(e = {}) {
+}, zw = "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", Bw = "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 Vw(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 [
- Tw,
- Ew[t],
- Dw[s],
- kw[n],
- a ? Ow[a] : "",
- r ? Aw : "",
- i ? jw : "",
+ Pw,
+ Fw[t],
+ Iw[s],
+ Rw[n],
+ a ? Lw[a] : "",
+ r ? zw : "",
+ i ? Bw : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Nw = {
+var Hw = {
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 Pw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Uw({ 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 ${Nw[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Hw[i]}`,
children: [
a ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -26242,7 +26242,7 @@ function Pw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function Fw({ label: e, inline: t = !1 }) {
+function Ww({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26308,7 +26308,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Iw({ children: e }) {
+function Gw({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26316,21 +26316,21 @@ function Iw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var Lw = 100, Rw = .4;
-function zw({ 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 * Lw;
+var Kw = 100, qw = .4;
+function Jw({ 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 * Kw;
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${Lw} 1`,
+ viewBox: `0 0 ${Kw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, L.jsx)("rect", {
- width: Lw,
+ width: Kw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26341,7 +26341,7 @@ function zw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, L.jsx)("rect", {
x: a(e),
- width: Rw,
+ width: qw,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26350,7 +26350,7 @@ function zw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Bw(e = "") {
+function Yw(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) {
@@ -26382,17 +26382,17 @@ function Y(e) {
}
//#endregion
//#region src/react/query.ts
-var X = new ht({ defaultOptions: { queries: {
+var X = new gt({ defaultOptions: { queries: {
networkMode: "always",
retry: 0,
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Vw = "/api/tasks", Hw = ["tasks"], Uw = (e, t) => ww(`${Vw}?${new URLSearchParams({
+} } }), Xw = "/api/tasks", Zw = ["tasks"], Qw = (e, t) => Nw(`${Xw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ww(...e) {
+function $w(...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) => {
@@ -26400,26 +26400,26 @@ function Ww(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Gw = 2e3, Kw = 1e4, qw = (e) => e?.running.length ? Gw : Kw, Jw = (e) => ww(Vw, e);
-async function Yw(e) {
+var eT = 2e3, tT = 1e4, nT = (e) => e?.running.length ? eT : tT, rT = (e) => Nw(Xw, e);
+async function iT(e) {
await X.fetchQuery({
- queryKey: Hw,
- queryFn: () => Jw(e)
+ queryKey: Zw,
+ queryFn: () => rT(e)
});
}
-var Xw = {
+var aT = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Zw = {
+}, Jte = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Qw = (e) => Zw[e] || e, $w = {
+}, Yte = (e) => Jte[e] || e, Xte = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26449,7 +26449,7 @@ var Xw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function eT(e) {
+function Zte(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26458,7 +26458,7 @@ function eT(e) {
}
return t;
}
-function tT(e, t) {
+function Qte(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26480,19 +26480,19 @@ function tT(e, t) {
}
return n;
}
-var nT = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), rT = (e) => e.status === "pending" || e.status === "running";
-function iT(e) {
+var $te = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), oT = (e) => e.status === "pending" || e.status === "running";
+function ene(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 || cT(e.result_summary) || (rT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || lT(e.result_summary) || (oT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function aT(e) {
+function sT(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 oT(e) {
+function cT(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26502,7 +26502,7 @@ function oT(e) {
minute: "2-digit"
});
}
-var sT = /* @__PURE__ */ new Set([
+var tne = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26511,28 +26511,28 @@ var sT = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function cT(e) {
- return Object.entries(e || {}).filter(([e, t]) => !sT.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${$w[e] || e} ${t}`).join(" · ");
+function lT(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !tne.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Xte[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var lT = {
+var nne = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
function uT({ status: e }) {
- return /* @__PURE__ */ (0, L.jsx)(yw, {
- color: lT[e] ?? "neutral",
- children: Qw(e)
+ return /* @__PURE__ */ (0, L.jsx)(Ow, {
+ color: nne[e] ?? "neutral",
+ children: Yte(e)
});
}
-function nne({ rows: e }) {
+function rne({ rows: e }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = iT(e);
+ let t = ene(e);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26557,7 +26557,7 @@ function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: Mw({
+ className: Vw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26580,7 +26580,7 @@ function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, L.jsx)(nne, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, L.jsx)(rne, { 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", {
@@ -26591,15 +26591,15 @@ function dT({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function rne({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = aT(e.elapsed_seconds), o = [Xw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+function ine({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = sT(e.elapsed_seconds), o = [aT[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, L.jsx)(dT, {
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)(zw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: i,
value: r,
max: n
@@ -26614,17 +26614,17 @@ function rne({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: i })
+ }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: i })
});
}
function fT({ run: e, followups: t, runs: n }) {
- let r = cT(e.result_summary), i = aT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Xw[e.trigger] || e.trigger,
+ let r = lT(e.result_summary), i = sT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ aT[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${oT(a.finished_at)} – ${oT(e.finished_at)}`
+ `${cT(a.finished_at)} – ${cT(e.finished_at)}`
] : [
- Xw[e.trigger] || e.trigger,
- oT(e.finished_at),
+ aT[e.trigger] || e.trigger,
+ cT(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, L.jsx)(dT, {
@@ -26657,34 +26657,34 @@ function mT({ live: e = !1, children: t }) {
children: t
});
}
-function ine(e) {
- let t = Ot({
- queryKey: Hw,
- queryFn: ({ signal: e }) => Jw(e),
- refetchInterval: (e) => qw(e.state.data)
+function ane(e) {
+ let t = kt({
+ queryKey: Zw,
+ queryFn: ({ signal: e }) => rT(e),
+ refetchInterval: (e) => nT(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(Ww(i, c)));
- let u = kt({
- mutationFn: ({ oldest: e }) => Uw(e),
+ r !== c && (l(r), i.length && c && a($w(i, c)));
+ let u = At({
+ mutationFn: ({ oldest: e }) => Qw(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Ww(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => $w(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Ww(n.finished || [], i), p = [
+ let f = $w(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = eT(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 = Zte(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(rT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = tT(w, (e) => nT(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(oT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Qte(w, (e) => $te(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
d ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d
@@ -26693,9 +26693,9 @@ function ine(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, L.jsx)(Pw, {
+ E ? /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: xS,
+ icon: DS,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
@@ -26703,7 +26703,7 @@ function ine(e) {
title: "正在进行",
children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(mT, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(rne, {
+ children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(ine, {
run: e,
followups: m.get(e.id)
}, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(fT, {
@@ -26737,7 +26737,7 @@ function ine(e) {
y ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: lS,
+ leadingIcon: hS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -26750,56 +26750,56 @@ function ine(e) {
}
//#endregion
//#region src/jav-artwork.ts
-function ane(e) {
+function one(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
function hT(e, t) {
- return e.is_jav && e.code && e.has_cover && (ane(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+ return e.is_jav && e.code && e.has_cover && (one(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
function gT(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var one = (e, t) => [
+var sne = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], sne = (e, t) => [
+], cne = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function cne(e, t, n, r, i) {
+async function lne(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 ww(`/api/items?${a}`, i), s = {
+ let o = await Nw(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await ww("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await Nw("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var lne = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, une = (e, t) => {
+var une = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, dne = (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 _T(e) {
let t = gT(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: one(t, e.revision || 0),
+ queryKey: sne(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await cne(t, i, n, r, a);
+ let o = await lne(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: lne(n)
+ getNextPageParam: une(n)
};
}
function vT(e) {
return {
- queryKey: sne(e.entityKey || "", e.revision || 0),
+ queryKey: cne(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -26814,10 +26814,10 @@ function vT(e) {
};
},
initialPageParam: 0,
- getNextPageParam: une
+ getNextPageParam: dne
};
}
-async function dne(e, t) {
+async function fne(e, t) {
if (e.mode === "items") return;
if (e.mode === "entity") {
let n = vT(e);
@@ -26850,7 +26850,7 @@ async function dne(e, t) {
})
});
}
-function fne(e, t, n) {
+function pne(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -26866,27 +26866,27 @@ function fne(e, t, n) {
}) : [...e];
}
var yT = (e, t) => !!e && !!hT(e, t);
-function pne(e, t) {
+function mne(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 mne(e, t) {
+function hne(e, t) {
let n = (e) => yT(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) => yT(e, t)) || e[e.length - 1];
}
-function hne(e, { collapse: t, mix: n, javImage: r }) {
+function gne(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 = fne(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = pne(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 = mne(e, r);
+ let t = hne(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -26899,16 +26899,16 @@ function hne(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function gne(e, t, n) {
+function _ne(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 _ne(e, t) {
+function vne(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 vne(e, t) {
+function yne(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -26955,7 +26955,7 @@ function xT({ message: e, onRetry: t }) {
onClick: (e) => {
e.target.closest("[data-note-action]") && t();
},
- dangerouslySetInnerHTML: { __html: y(e, {
+ dangerouslySetInnerHTML: { __html: b(e, {
variant: "error",
actionLabel: "重试"
}) }
@@ -26976,7 +26976,7 @@ function CT(e, t, n, i, a) {
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 yne(e, t, n, i, a) {
+function bne(e, t, n, i, a) {
if (e.is_jav) return CT(e, t, n, i, a);
let o = n ? "eager" : "lazy";
return e.follow_thumb_url ? {
@@ -26989,7 +26989,7 @@ function yne(e, t, n, i, a) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var wT = .75, bne = 9 / 16;
+var wT = .75, xne = 9 / 16;
function TT({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -26997,17 +26997,17 @@ function TT({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var xne = {
+var Sne = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Sne = (e) => e.is_jav ? "女优" : "艺人";
-function Cne(e, t, n) {
- return t === "short" || n.portrait ? bne : n.active && e.is_jav && n.size === "big" ? wT : 16 / 9;
+}, Cne = (e) => e.is_jav ? "女优" : "艺人";
+function wne(e, t, n) {
+ return t === "short" || n.portrait ? xne : n.active && e.is_jav && n.size === "big" ? wT : 16 / 9;
}
-function wne(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 = Sne(e);
+function Tne(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 = Cne(e);
return {
avatar: c ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-avatars": "",
@@ -27053,7 +27053,7 @@ function wne(e, t) {
})
};
}
-function Tne() {
+function Ene() {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -27072,7 +27072,7 @@ function Tne() {
})]
});
}
-function Ene({ item: e, actions: t }) {
+function Dne({ item: e, actions: t }) {
let [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-later": "",
@@ -27098,7 +27098,7 @@ function ET(e, t) {
let n = e?.querySelector("video.hv");
!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function Dne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function One({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, I.useRef)(null), f = (0, I.useRef)({
item: e,
helpers: c
@@ -27110,7 +27110,7 @@ function Dne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
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), _ = yne(e, n.active && e.is_jav ? n.size : "small", !1, n.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = wne(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = bne(e, n.active && e.is_jav ? n.size : "small", !1, n.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = Tne(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27144,7 +27144,7 @@ function Dne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
u(e, r);
}, O = /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(Cne(e, t, n)) },
+ style: { "--card-ratio": String(wne(e, t, n)) },
children: [
_.html ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": _.kind,
@@ -27190,8 +27190,8 @@ function Dne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, L.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, L.jsx)(Tne, {}),
- /* @__PURE__ */ (0, L.jsx)(Ene, {
+ /* @__PURE__ */ (0, L.jsx)(Ene, {}),
+ /* @__PURE__ */ (0, L.jsx)(Dne, {
item: e,
actions: l
}),
@@ -27297,8 +27297,8 @@ function Dne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
]
});
}
-function One({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : xne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function kne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Sne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, v = (t) => {
if (c.current) {
@@ -27350,7 +27350,7 @@ function One({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
onClick: _,
"aria-busy": l || void 0,
"aria-disabled": l || void 0,
- children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: C(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
+ children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: w(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -27388,14 +27388,14 @@ function One({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
})]
});
}
-function kne(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(One, { ...e }) : /* @__PURE__ */ (0, L.jsx)(Dne, { ...e });
+function Ane(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(kne, { ...e }) : /* @__PURE__ */ (0, L.jsx)(One, { ...e });
}
-var DT = (0, I.memo)(kne), Ane = { "text-aa": 1.435 }, OT = /* @__PURE__ */ new Map();
+var DT = (0, I.memo)(Ane), jne = { "text-aa": 1.435 }, OT = /* @__PURE__ */ new Map();
function kT(e) {
let t = OT.get(e);
if (t) return t;
- let n = Ane[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
+ let n = jne[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27413,12 +27413,12 @@ function kT(e) {
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var jne = 1100, Mne = 340, Nne = 5e3;
-function Pne(e, t) {
+var Mne = 1100, Nne = 340, Pne = 5e3;
+function Fne(e, t) {
return new Promise((n) => {
let r = new Image(), i = !1, a = (e) => {
i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
- }, o = () => a(!1), s = setTimeout(o, Nne);
+ }, o = () => a(!1), s = setTimeout(o, Pne);
t.cancels.add(o), r.onerror = o, r.onload = () => {
if (!r.naturalWidth) {
a(!1);
@@ -27428,7 +27428,7 @@ function Pne(e, t) {
}, r.src = e;
});
}
-function Fne({ load: e, canFlip: t }) {
+function Ine({ load: e, canFlip: t }) {
let [n, r] = (0, I.useState)([]), [i, a] = (0, I.useState)(0), [o, s] = (0, I.useState)(null), c = (0, I.useRef)({
live: !1,
generation: 0,
@@ -27470,11 +27470,11 @@ function Fne({ load: e, canFlip: t }) {
return;
}
if (!n() || !l.current.canFlip() || i.length < 2) return;
- let o = await Promise.all(i.map((t) => Pne(t, e)));
+ let o = await Promise.all(i.map((t) => Fne(t, e)));
if (!n() || !l.current.canFlip()) return;
let u = i.filter((e, t) => o[t]);
u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
- f(), e.cycle = setInterval(f, jne);
+ f(), e.cycle = setInterval(f, Mne);
}));
};
return (0, I.useEffect)(() => u, [u]), {
@@ -27483,7 +27483,7 @@ function Fne({ load: e, canFlip: t }) {
leaving: o,
onPointerEnter: () => {
let e = c.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Mne, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Nne, () => {
e.armed = null, p();
});
},
@@ -27495,7 +27495,7 @@ function Fne({ load: e, canFlip: t }) {
//#endregion
//#region src/react/components/mix-card.tsx
var AT = kT("play");
-function Ine({ src: e }) {
+function Lne({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
"data-mix-poster": "",
@@ -27507,7 +27507,7 @@ function Ine({ src: e }) {
});
}
var jT = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function Lne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+function Rne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, L.jsx)("button", {
@@ -27526,7 +27526,7 @@ function Lne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
});
}
function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
- let y = Fne({
+ let y = Ine({
load: i,
canFlip: a
}), b = (0, I.useRef)(y.onPointerLeave);
@@ -27556,7 +27556,7 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
p?.html ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": p.kind,
dangerouslySetInnerHTML: { __html: p.html }
- }) : r ? /* @__PURE__ */ (0, L.jsx)(Ine, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, L.jsx)(Lne, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27600,7 +27600,7 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
"data-mix-glyph": "",
"aria-hidden": !0,
children: /* @__PURE__ */ (0, L.jsx)(AT, {})
- }) : /* @__PURE__ */ (0, L.jsx)(Lne, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Rne, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -27626,19 +27626,19 @@ function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
var NT = "";
-function Rne(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(Bne, { ...e });
+function zne(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(Vne, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gT(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, L.jsx)(Vne, { ...e }, t);
+ return /* @__PURE__ */ (0, L.jsx)(Hne, { ...e }, t);
}
-function zne({ name: e }) {
+function Bne({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function Bne(e) {
+function Vne(e) {
let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(DT, {
item: i,
variant: r,
@@ -27659,8 +27659,8 @@ function Bne(e) {
children: i
});
}
-function Vne(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vT(e) : _T(e), s = At({
+function Hne(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vT(e) : _T(e), s = jt({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -27672,7 +27672,7 @@ function Vne(e) {
(0, I.useEffect)(() => {
s.isPending || c.current || (c.current = !0, e.settled?.(e.revision));
}, [s.isPending]);
- let { tiles: l, pageStarts: u } = (0, I.useMemo)(() => hne(s.data?.pages || [], {
+ let { tiles: l, pageStarts: u } = (0, I.useMemo)(() => gne(s.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -27682,14 +27682,14 @@ function Vne(e) {
e.mix,
a,
r.javImage
- ]), f = l.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(s.data?.pages[0]?.total || 0), m = bT(s.isPending, e.skeletonHtml), h = (0, I.useRef)(null), g = Une(e, s.data, l, u, h);
+ ]), f = l.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(s.data?.pages[0]?.total || 0), m = bT(s.isPending, e.skeletonHtml), h = (0, I.useRef)(null), g = Wne(e, s.data, l, u, h);
(0, I.useLayoutEffect)(() => {
if (!s.data) return;
e.onCount?.(p, f);
let t = a ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${p.toLocaleString()} 个符合 · 显示 ${f}`;
- NT && (t.dataset.popCount = NT), NT = n, x(t, n);
+ NT && (t.dataset.popCount = NT), NT = n, S(t, n);
}, [
s.data,
p,
@@ -27698,7 +27698,7 @@ function Vne(e) {
let _ = (0, I.useCallback)((e, t) => n.open(e, t), [n]), v = (0, I.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, I.useCallback)((e) => n.openShort(e), [n]), b = (0, I.useCallback)(async () => {
let e = await s.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [s.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(Gne, {
+ }, [s.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(Kne, {
seed: i.seed,
layout: r,
helpers: t,
@@ -27737,15 +27737,15 @@ function Vne(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: vne(l, g).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ children: yne(l, g).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)(Wne, {
+ children: t.tiles.map(x)
+ }), t.strip ? /* @__PURE__ */ (0, L.jsx)(Gne, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), s.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(Hne, {
+ }), s.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(Une, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -27753,7 +27753,7 @@ function Vne(e) {
})()]
});
}
-function Hne({ entity: e, load: t, enabled: n }) {
+function Une({ entity: e, load: t, enabled: n }) {
let r = (0, I.useRef)(null), i = (0, I.useRef)(!1), a = (0, I.useRef)(!1), [o, s] = (0, I.useState)({
busy: !1,
error: ""
@@ -27819,7 +27819,7 @@ function Hne({ entity: e, load: t, enabled: n }) {
onRetry: () => void l(!0)
}) : null] });
}
-function Une(e, t, n, r, i) {
+function Wne(e, t, n, r, i) {
let [a, o] = (0, I.useState)([]), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(0), u = (0, I.useRef)(0), d = (0, I.useRef)([]);
return (0, I.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, I.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -27828,7 +27828,7 @@ function Une(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- ww(`/api/items?${_ne(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ Nw(`/api/items?${vne(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -27844,7 +27844,7 @@ function Une(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 = gne(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 = _ne(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, {
@@ -27854,7 +27854,7 @@ function Une(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Wne({ cut: e, props: t, onOpen: n }) {
+function Gne({ cut: e, props: t, onOpen: n }) {
let r = (0, I.useRef)(null), { wireDrag: i } = t;
return (0, I.useEffect)(() => {
r.current && i(r.current);
@@ -27870,7 +27870,7 @@ function Wne({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, L.jsx)(zne, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(Bne, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, L.jsx)("div", {
ref: r,
@@ -27899,10 +27899,10 @@ function PT(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function Gne({ seed: e, layout: t, helpers: n, actions: r }) {
+function Kne({ 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 = pne(e, n.tagLabel), s = (0, I.useCallback)(async () => {
+ let o = mne(e, n.tagLabel), s = (0, I.useCallback)(async () => {
let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => yT(e, t.javImage)).slice(0, 9);
return i.current = new Map(o.map((e) => [String(e.id), PT(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
@@ -27986,7 +27986,7 @@ function RT(e, t) {
return n;
}
function zT(e, t, n) {
- let { ref: r, ...i } = RT(n, e.slot) || {}, a = ah((0, I.useMemo)(() => Bm(t, r), [t, r])), o = H(i, e);
+ let { ref: r, ...i } = RT(n, e.slot) || {}, a = oh((0, I.useMemo)(() => Vm(t, r), [t, r])), o = H(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -28008,7 +28008,7 @@ function BT(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return hp(() => {
+ return gp(() => {
r.current || n(!1);
}, []), [i, t];
}
@@ -28017,9 +28017,9 @@ function VT(e) {
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function Kne(e, t, n) {
- let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => Bm(n, a), [n, a]);
- hp(() => {}, [e, r]);
+function qne(e, t, n) {
+ let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => Vm(n, a), [n, a]);
+ gp(() => {}, [e, r]);
let s = {
...i,
ref: o
@@ -28029,7 +28029,7 @@ function Kne(e, t, n) {
var HT = {}, UT = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
let n = HT[t];
- return n || (n = /*#__PURE__*/ (0, I.forwardRef)(Kne.bind(null, t)), HT[t] = n), n;
+ return n || (n = /*#__PURE__*/ (0, I.forwardRef)(qne.bind(null, t)), HT[t] = n), n;
} }), WT = /*#__PURE__*/ (0, I.createContext)(null), GT = /*#__PURE__*/ (0, I.createContext)(null), KT = /*#__PURE__*/ (0, I.createContext)(null), qT = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
return JT(e, null, t);
@@ -28039,7 +28039,7 @@ var HT = {}, UT = new Proxy({}, { get(e, t) {
}
};
function JT(e, t, n) {
- return Rf({
+ return zf({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -28049,11 +28049,11 @@ function JT(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, qne(e, t, n));
+ }), r, Jne(e, t, n));
}
});
}
-function qne(e, t, n) {
+function Jne(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -28078,7 +28078,7 @@ function XT(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var ZT = /*#__PURE__*/ (0, I.createContext)({}), Jne = /*#__PURE__*/ fh(function(e, t) {
+var ZT = /*#__PURE__*/ (0, I.createContext)({}), Yne = /*#__PURE__*/ ph(function(e, t) {
[e, t] = zT(e, t, ZT);
let { elementType: n = "label", ...r } = e, i = UT[n];
return /*#__PURE__*/ I.createElement(i, {
@@ -28086,11 +28086,11 @@ var ZT = /*#__PURE__*/ (0, I.createContext)({}), Jne = /*#__PURE__*/ fh(function
...r,
ref: t
});
-}), Yne = /*#__PURE__*/ (0, I.createContext)(null), QT = /*#__PURE__*/ (0, I.createContext)({}), $T = /*#__PURE__*/ fh(function(e, t) {
+}), Xne = /*#__PURE__*/ (0, I.createContext)(null), QT = /*#__PURE__*/ (0, I.createContext)({}), $T = /*#__PURE__*/ ph(function(e, t) {
[e, t] = zT(e, t, QT);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Lg(e, t);
- i = Zne(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = uy(e), { hoverProps: l, isHovered: u } = my({
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ig(e, t);
+ i = Qne(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = ly(e), { hoverProps: l, isHovered: u } = hy({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -28104,19 +28104,19 @@ var ZT = /*#__PURE__*/ (0, I.createContext)({}), Jne = /*#__PURE__*/ fh(function
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Lm(i.id), m = Lm(), h = i["aria-labelledby"];
+ }), p = Rm(i.id), m = Rm(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, I.useRef)(r);
(0, I.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && h_(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && m_(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = gg(e, { global: !0 });
+ let _ = hg(e, { global: !0 });
return delete _.onClick, /*#__PURE__*/ I.createElement(UT.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
@@ -28131,11 +28131,11 @@ var ZT = /*#__PURE__*/ (0, I.createContext)({}), Jne = /*#__PURE__*/ fh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ I.createElement(Yne.Provider, { value: { id: m } }, f.children));
-}), Xne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Zne(e, t) {
+ }, /*#__PURE__*/ I.createElement(Xne.Provider, { value: { id: m } }, f.children));
+}), Zne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Qne(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Xne.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Zne.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
@@ -28150,7 +28150,7 @@ var eE = /*#__PURE__*/ (0, I.createContext)({}), tE = /*#__PURE__*/ (0, I.forwar
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), nE = /*#__PURE__*/ (0, I.createContext)({}), Qne = /*#__PURE__*/ fh(function(e, t) {
+}), nE = /*#__PURE__*/ (0, I.createContext)({}), $ne = /*#__PURE__*/ ph(function(e, t) {
[e, t] = zT(e, t, nE);
let { elementType: n = "span", ...r } = e, i = UT[n];
return /*#__PURE__*/ I.createElement(i, {
@@ -28158,32 +28158,32 @@ var eE = /*#__PURE__*/ (0, I.createContext)({}), tE = /*#__PURE__*/ (0, I.forwar
...r,
ref: t
});
-}), rE = /*#__PURE__*/ (0, I.createContext)(null), iE = /*#__PURE__*/ (0, I.createContext)(null), aE = /*#__PURE__*/ (0, I.createContext)(null), oE = /*#__PURE__*/ (0, I.createContext)(null), $ne = /*#__PURE__*/ (0, I.createContext)(null), sE = /*#__PURE__*/ (0, I.createContext)(null);
-function ere(e, t) {
- let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)($ne), a = ah((0, I.useMemo)(() => Bm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+}), rE = /*#__PURE__*/ (0, I.createContext)(null), iE = /*#__PURE__*/ (0, I.createContext)(null), aE = /*#__PURE__*/ (0, I.createContext)(null), oE = /*#__PURE__*/ (0, I.createContext)(null), ere = /*#__PURE__*/ (0, I.createContext)(null), sE = /*#__PURE__*/ (0, I.createContext)(null);
+function tre(e, t) {
+ let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(ere), a = oh((0, I.useMemo)(() => Vm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
...VT(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? See(o, i, a) : z_(o, W_(e), a), a];
+ return [i ? Eee(o, i, a) : I_(o, V_(e), a), a];
}
-var tre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = zT(r, t, aE);
- let [i, a] = ere(e, n);
+ let [i, a] = tre(e, n);
return /*#__PURE__*/ I.createElement(sE.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ I.createElement(nre, {
+ } }, /*#__PURE__*/ I.createElement(rre, {
...e,
ref: t
}));
-}), nre = /*#__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)(sE), { isFocused: p, isFocusVisible: m, focusProps: h } = uy(), g = a || o, { hoverProps: _, isHovered: v } = my({
+}), rre = /*#__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)(sE), { isFocused: p, isFocusVisible: m, focusProps: h } = ly(), g = a || o, { hoverProps: _, isHovered: v } = hy({
...e,
isDisabled: g
}), y = LT({
@@ -28201,7 +28201,7 @@ var tre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = gg(e, { global: !0 });
+ }), b = hg(e, { global: !0 });
return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(UT.label, {
...H(b, n, _, y),
ref: t,
@@ -28216,20 +28216,20 @@ var tre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ I.createElement(J_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(G_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), cE = /*#__PURE__*/ (0, I.createContext)({}), rre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}), cE = /*#__PURE__*/ (0, I.createContext)({}), ire = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
[e, t] = zT(e, t, cE);
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 } = my({
+ let { hoverProps: l, isHovered: u } = hy({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = uy({ within: !0 }), m = LT({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ly({ within: !0 }), m = LT({
...e,
values: {
isHovered: u,
@@ -28253,15 +28253,15 @@ var tre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), lE = /*#__PURE__*/ (0, I.createContext)({}), ire = (e) => {
+}), lE = /*#__PURE__*/ (0, I.createContext)({}), are = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, are = /*#__PURE__*/ fh(function(e, t) {
+}, ore = /*#__PURE__*/ ph(function(e, t) {
[e, t] = zT(e, t, lE);
- let { hoverProps: n, isHovered: r } = my({
+ let { hoverProps: n, isHovered: r } = hy({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = uy({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ly({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LT({
@@ -28276,7 +28276,7 @@ var tre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
defaultClassName: "react-aria-Input"
});
return /*#__PURE__*/ I.createElement(UT.input, {
- ...H(ire(e), o, n),
+ ...H(are(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -28630,13 +28630,13 @@ WE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var GE = /*#__PURE__*/ (0, I.createContext)({}), KE = /*#__PURE__*/ (0, I.createContext)(null), ore = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var GE = /*#__PURE__*/ (0, I.createContext)({}), KE = /*#__PURE__*/ (0, I.createContext)(null), sre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { render: n } = (0, I.useContext)(KE);
return /*#__PURE__*/ I.createElement(I.Fragment, null, n(e, t));
});
function qE(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, I.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(ore, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(sre, { target: e });
}, [
t?.target,
r,
@@ -28667,14 +28667,14 @@ function JE(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var YE = /*#__PURE__*/ (0, I.createContext)({}), sre = /*#__PURE__*/ (0, I.createContext)(null);
+var YE = /*#__PURE__*/ (0, I.createContext)({}), cre = /*#__PURE__*/ (0, I.createContext)(null);
function XE(e) {
let t = (0, I.useRef)({});
- return /*#__PURE__*/ I.createElement(sre.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ I.createElement(cre.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE__*/ (0, I.createContext)({}), cre = /*#__PURE__*/ Ah(class extends Of {
+var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE__*/ (0, I.createContext)({}), lre = /*#__PURE__*/ jh(class extends kf {
static {
this.type = "separator";
}
@@ -28690,11 +28690,11 @@ var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE_
[e, t] = zT(e, t, QE);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = UT[c], { separatorProps: u } = bte({
+ let l = UT[c], { separatorProps: u } = hte({
...s,
elementType: n,
orientation: r
- }), d = gg(e, { global: !0 });
+ }), d = hg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(l, {
render: e.render,
...H(d, u),
@@ -28763,13 +28763,13 @@ var eD = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function lre(e, t) {
+function ure(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
function nD(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = U_((0, I.useMemo)(() => rD(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => rD(e.defaultSelectedKeys, new tD()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = B_((0, I.useMemo)(() => rD(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => rD(e.defaultSelectedKeys, new tD()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
@@ -28796,7 +28796,7 @@ function nD(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !lre(e, d)) && f(e);
+ (r || !ure(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
@@ -29003,7 +29003,7 @@ var iD = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, ure = class {
+}, dre = class {
build(e, t) {
return this.context = t, aD(() => this.iterateCollection(e));
}
@@ -29087,7 +29087,7 @@ var iD = class e {
...a,
key: l,
index: s,
- wrapper: dre(e.wrapper, a.wrapper)
+ wrapper: fre(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${oD(t.type)}> in <${oD(r?.type ?? "unknown parent type")}>. Only <${oD(e.type)}> is supported.`);
@@ -29139,7 +29139,7 @@ function aD(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function dre(e, t) {
+function fre(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
@@ -29150,7 +29150,7 @@ function oD(e) {
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
function sD(e, t, n) {
- let r = (0, I.useMemo)(() => new ure(), []), { children: i, items: a, collection: o } = e;
+ let r = (0, I.useMemo)(() => new dre(), []), { children: i, items: a, collection: o } = e;
return (0, I.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -29177,7 +29177,7 @@ function cD(e) {
selectionManager: o
};
}
-function fre(e, t) {
+function pre(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return lD(n, r), {
collection: n,
@@ -29214,14 +29214,14 @@ function lD(e, t) {
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
function uD(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = Kh((e) => {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = qh((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- hp(() => {
+ gp(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: y_(t?.current),
+ root: v_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -29237,20 +29237,20 @@ function uD(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var dD = /*#__PURE__*/ (0, I.createContext)(null), fD = /*#__PURE__*/ (0, I.createContext)(null), pre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var dD = /*#__PURE__*/ (0, I.createContext)(null), fD = /*#__PURE__*/ (0, I.createContext)(null), mre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
[e, t] = zT(e, t, dD);
let n = (0, I.useContext)(fD);
return n ? /*#__PURE__*/ I.createElement(pD, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ I.createElement(Sh, { content: /*#__PURE__*/ I.createElement(Ph, e) }, (n) => /*#__PURE__*/ I.createElement(mre, {
+ }) : /*#__PURE__*/ I.createElement(Ch, { content: /*#__PURE__*/ I.createElement(Fh, e) }, (n) => /*#__PURE__*/ I.createElement(hre, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function mre({ props: e, listBoxRef: t, collection: n }) {
+function hre({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
@@ -29269,10 +29269,10 @@ function mre({ props: e, listBoxRef: t, collection: n }) {
}
function pD({ state: e, props: t, listBoxRef: n }) {
[t, n] = zT(t, n, WT);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = fre(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ag(), { disabledBehavior: p, disabledKeys: m } = l, h = ny({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = pre(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ag(), { disabledBehavior: p, disabledKeys: m } = l, h = ny({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(YT), b = (0, I.useMemo)(() => t.keyboardDelegate || new iv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(YT), b = (0, I.useMemo)(() => t.keyboardDelegate || new tv({
collection: c,
collator: h,
ref: n,
@@ -29325,7 +29325,7 @@ function pD({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = uy(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = ly(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -29338,14 +29338,14 @@ function pD({ state: e, props: t, listBoxRef: n }) {
children: void 0,
defaultClassName: "react-aria-ListBox",
values: M
- }), P = null;
- j && t.renderEmptyState && (P = /*#__PURE__*/ I.createElement("div", {
+ }), ee = null;
+ j && t.renderEmptyState && (ee = /*#__PURE__*/ I.createElement("div", {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let ee = gg(t, { global: !0 });
- return /*#__PURE__*/ I.createElement(Ug, null, /*#__PURE__*/ I.createElement(UT.div, {
- ...H(ee, N, x, O, w?.collectionProps),
+ let te = hg(t, { global: !0 });
+ return /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
@@ -29364,20 +29364,20 @@ function pD({ state: e, props: t, listBoxRef: n }) {
dropState: C
}],
[QE, { elementType: "div" }],
- [KE, { render: _re }],
+ [KE, { render: vre }],
[KT, {
name: "ListBoxSection",
- render: hre
+ render: gre
}]
] }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(y, {
collection: c,
scrollRef: n,
persistedKeys: JE(l, r, C),
renderDropIndicator: qE(r, C)
- }))), P, E));
+ }))), ee, E));
}
-function hre(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(fD), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(GE), { CollectionBranch: s } = (0, I.useContext)(YT), [c, l] = BT(), { headingProps: u, groupProps: d } = Jee({
+function gre(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, I.useContext)(fD), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(GE), { CollectionBranch: s } = (0, I.useContext)(YT), [c, l] = BT(), { headingProps: u, groupProps: d } = ab({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = LT({
@@ -29386,7 +29386,7 @@ function hre(e, t, n, r = "react-aria-ListBoxSection") {
children: void 0,
defaultClassName: r,
values: void 0
- }), p = gg(e, { global: !0 });
+ }), p = hg(e, { global: !0 });
return delete p.id, /*#__PURE__*/ I.createElement(UT.section, {
...H(p, f, d),
ref: t
@@ -29399,16 +29399,16 @@ function hre(e, t, n, r = "react-aria-ListBoxSection") {
renderDropIndicator: qE(a, o)
})));
}
-var gre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
- let r = ah(t), i = (0, I.useContext)(fD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Yee({
+var _re = /*#__PURE__*/ jh(Mf, function(e, t, n) {
+ let r = oh(t), i = (0, I.useContext)(fD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = ob({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = my({
+ }, i, r), { hoverProps: p, isHovered: m } = hy({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = ih(e), { focusProps: g } = Wm(e), _ = null;
+ }), { keyboardProps: h } = ah(e), { focusProps: g } = Gm(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -29437,7 +29437,7 @@ var gre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
(0, I.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? UT.a : UT.div, S = gg(e, { global: !0 });
+ let x = e.href ? UT.a : UT.div, S = hg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ I.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -29457,17 +29457,17 @@ var gre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
description: d
} }], [ZE, { isSelected: f.isSelected }]] }, b.children));
});
-function _re(e, t) {
- t = ah(t);
+function vre(e, t) {
+ t = oh(t);
let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(GE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ I.createElement(yre, {
+ return a ? null : /*#__PURE__*/ I.createElement(bre, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function vre(e, t) {
+function yre(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LT({
...i,
defaultClassName: "react-aria-DropIndicator",
@@ -29481,8 +29481,8 @@ function vre(e, t) {
"data-drop-target": r || void 0
}));
}
-var yre = /*#__PURE__*/ (0, I.forwardRef)(vre);
-Ah(Af, function(e, t, n) {
+var bre = /*#__PURE__*/ (0, I.forwardRef)(yre);
+jh(jf, function(e, t, n) {
let r = (0, I.useContext)(fD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
uD((0, I.useMemo)(() => ({
onLoadMore: a,
@@ -29517,7 +29517,7 @@ Ah(Af, function(e, t, n) {
width: 1
}
})), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
- ...H(gg(e, { global: !0 }), { tabIndex: -1 }),
+ ...H(hg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -29525,11 +29525,11 @@ Ah(Af, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var bre = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
+var xre = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
function mD(e) {
- let [t, n] = U_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
+ let [t, n] = B_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -29550,7 +29550,7 @@ function mD(e) {
//#region node_modules/react-aria/dist/private/utils/animation.mjs
function hD(e, t = !0) {
let [n, r] = (0, I.useState)(!0), i = n && t;
- return hp(() => {
+ return gp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
}, [e, i]), _D(e, i, (0, I.useCallback)(() => r(!1), [])), i;
}
@@ -29569,7 +29569,7 @@ function gD(e, t) {
}, [])), i;
}
function _D(e, t, n) {
- hp(() => {
+ gp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
n();
@@ -29582,7 +29582,7 @@ function _D(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, vh.flushSync)(() => {
+ r || (0, yh.flushSync)(() => {
n();
});
}), () => {
@@ -29599,7 +29599,7 @@ function _D(e, t, n) {
//#region node_modules/react-aria-components/dist/private/Popover.mjs
var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.createContext)(null), bD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
[e, t] = zT(e, t, vD);
- let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gD(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ph(), { direction: c } = ag();
+ let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gD(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = mh(), { direction: c } = ag();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -29610,7 +29610,7 @@ var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.crea
defaultChildren: null
})), /*#__PURE__*/ I.createElement(I.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(xre, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Sre, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -29619,8 +29619,8 @@ var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.crea
dir: c
});
});
-function xre({ 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)(yD), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = mte({
+function Sre({ 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)(yD), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = lte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
@@ -29635,10 +29635,10 @@ function xre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, I.useState)(i.trigger === "PreviewTrigger");
- hp(() => {
+ gp(() => {
m.current && b(v && !m.current.querySelector("[role=dialog]"));
}, [m, v]), (0, I.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ym() !== "pointer") && m.current && !ip(m.current) && Am(m.current);
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || bm() !== "pointer") && m.current && !ap(m.current) && jm(m.current);
}, [
y,
m,
@@ -29651,7 +29651,7 @@ function xre({ 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]);
- hp(w, [w]), ab({
+ gp(w, [w]), fb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -29661,7 +29661,7 @@ function xre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
}, E = /*#__PURE__*/ I.createElement(UT.div, {
- ...H(gg(i, { global: !0 }), l),
+ ...H(hg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -29676,17 +29676,17 @@ function xre({ 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(Hb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(bre.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(Jb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(xre.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ I.createElement(Hb, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ I.createElement(cy, {
+ } }, x), /*#__PURE__*/ I.createElement(Jb, { 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(cy, {
+ }, E) : /*#__PURE__*/ I.createElement(sy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -29705,7 +29705,7 @@ function xre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Sre = /*#__PURE__*/ (0, I.createContext)({});
+var Cre = /*#__PURE__*/ (0, I.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
function xD(e) {
@@ -29735,7 +29735,7 @@ function xD(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Cre = class {
+var wre = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -29779,8 +29779,8 @@ var Cre = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function wre(e) {
- let { onExpandedChange: t } = e, [n, r] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nD(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sD(e, (0, I.useCallback)((e) => new Cre(e, { expandedKeys: n }), [n]), null);
+function Tre(e) {
+ let { onExpandedChange: t } = e, [n, r] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nD(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sD(e, (0, I.useCallback)((e) => new wre(e, { expandedKeys: n }), [n]), null);
return (0, I.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -29788,25 +29788,25 @@ function wre(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Tre(n, e));
+ r(Ere(n, e));
},
setExpandedKeys: r,
selectionManager: new iD(o, i)
};
}
-function Tre(e, t) {
+function Ere(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
var SD = /*#__PURE__*/ (0, I.createContext)(null), CD = /*#__PURE__*/ (0, I.createContext)(null), wD = /*#__PURE__*/ (0, I.createContext)(null), TD = /*#__PURE__*/ (0, I.createContext)(null);
-function Ere(e) {
+function Dre(e) {
let t = xD(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = Hv({
...e,
type: "menu"
}, t, n), a = (0, I.useRef)(null);
- return ph() ? null : /*#__PURE__*/ I.createElement(IT, { values: [
+ return mh() ? null : /*#__PURE__*/ I.createElement(IT, { values: [
[SD, {
...i,
ref: a
@@ -29821,14 +29821,14 @@ function Ere(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ I.createElement(ry, {
+ ] }, /*#__PURE__*/ I.createElement(Lee, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var Dre = /*#__PURE__*/ (0, I.createContext)(null);
-(class extends Of {
+var Ore = /*#__PURE__*/ (0, I.createContext)(null);
+(class extends kf {
static {
this.type = "submenutrigger";
}
@@ -29841,20 +29841,20 @@ var Dre = /*#__PURE__*/ (0, I.createContext)(null);
return null;
}
});
-var Ore = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return [e, t] = zT(e, t, SD), /*#__PURE__*/ I.createElement(Sh, { content: /*#__PURE__*/ I.createElement(Ph, e) }, (n) => /*#__PURE__*/ I.createElement(kre, {
+var kre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return [e, t] = zT(e, t, SD), /*#__PURE__*/ I.createElement(Ch, { content: /*#__PURE__*/ I.createElement(Fh, e) }, (n) => /*#__PURE__*/ I.createElement(Are, {
props: e,
collection: n,
menuRef: t
}));
});
-function kre({ props: e, collection: t, menuRef: n }) {
+function Are({ props: e, collection: t, menuRef: n }) {
[e, n] = zT(e, n, WT);
- let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = wre({
+ let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Tre({
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(wD), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(YT), { menuProps: u } = Xee({
+ }), s = (0, I.useContext)(wD), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(YT), { menuProps: u } = cb({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
@@ -29868,8 +29868,8 @@ function kre({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = gg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Ug, null, /*#__PURE__*/ I.createElement(UT.div, {
+ let p = hg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(UT.div, {
...H(p, d, u),
ref: n,
slot: e.slot || void 0,
@@ -29882,7 +29882,7 @@ function kre({ props: e, collection: t, menuRef: n }) {
name: "MenuSection",
render: ED
}],
- [Dre, {
+ [Ore, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
@@ -29897,7 +29897,7 @@ function kre({ props: e, collection: t, menuRef: n }) {
scrollRef: n
}))), f));
}
-var Are = class extends iD {
+var jre = class extends iD {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -29918,7 +29918,7 @@ var Are = class extends iD {
}
};
function ED(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(CD), { CollectionBranch: a } = (0, I.useContext)(YT), [o, s] = BT(), { headingProps: c, groupProps: l } = Qee({
+ let i = (0, I.useContext)(CD), { CollectionBranch: a } = (0, I.useContext)(YT), [o, s] = BT(), { headingProps: c, groupProps: l } = ub({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
}), u = LT({
@@ -29929,7 +29929,7 @@ function ED(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, I.useContext)(TD), f = nD(e), p = e.selectionMode == null ? d : new Are(d, f), m = RT(OD)?.shouldCloseOnSelect, h = gg(e, { global: !0 });
+ }), d = (0, I.useContext)(TD), f = nD(e), p = e.selectionMode == null ? d : new jre(d, f), m = RT(OD)?.shouldCloseOnSelect, h = hg(e, { global: !0 });
return delete h.id, /*#__PURE__*/ I.createElement(UT.section, {
...H(h, u, l),
ref: t
@@ -29945,15 +29945,15 @@ function ED(e, t, n, r = "react-aria-MenuSection") {
parent: n
})));
}
-var DD = /*#__PURE__*/ jh(Mf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null), kD = /*#__PURE__*/ Ah(jf, function(e, t, n) {
+var DD = /*#__PURE__*/ Mh(Nf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null), kD = /*#__PURE__*/ jh(Mf, function(e, t, n) {
[e, t] = zT(e, t, OD);
- let r = RT(OD)?.id, i = (0, I.useContext)(CD), a = ah(t), o = (0, I.useContext)(TD), { isVirtualized: s } = (0, I.useContext)(YT), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Zee({
+ let r = RT(OD)?.id, i = (0, I.useContext)(CD), a = oh(t), o = (0, I.useContext)(TD), { isVirtualized: s } = (0, I.useContext)(YT), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = lb({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = my({ isDisabled: f.isDisabled }), h = LT({
+ }, i, a), { hoverProps: p, isHovered: m } = hy({ isDisabled: f.isDisabled }), h = LT({
...e,
id: void 0,
children: n.rendered,
@@ -29967,7 +29967,7 @@ var DD = /*#__PURE__*/ jh(Mf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? UT.a : UT.div, _ = gg(e, { global: !0 });
+ }), g = e.href ? UT.a : UT.div, _ = hg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -29986,11 +29986,11 @@ var DD = /*#__PURE__*/ jh(Mf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null)
label: l,
description: u
} }],
- [Sre, d],
+ [Cre, d],
[ZE, { isSelected: f.isSelected }]
] }, h.children));
});
-Ah(Af, function(e, t, n) {
+jh(jf, function(e, t, n) {
let r = (0, I.useContext)(CD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
uD((0, I.useMemo)(() => ({
onLoadMore: a,
@@ -30025,7 +30025,7 @@ Ah(Af, function(e, t, n) {
width: 1
}
})), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
- ...H(gg(e, { global: !0 }), { tabIndex: -1 }),
+ ...H(hg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -30033,10 +30033,10 @@ Ah(Af, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var jre = /*#__PURE__*/ (0, I.createContext)(null), AD = /*#__PURE__*/ (0, I.createContext)(null), jD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var Mre = /*#__PURE__*/ (0, I.createContext)(null), AD = /*#__PURE__*/ (0, I.createContext)(null), jD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = zT(e, t, jre);
- let { dialogProps: r, titleProps: i, contentProps: a } = Lee({
+ [e, t] = zT(e, t, Mre);
+ let { dialogProps: r, titleProps: i, contentProps: a } = zee({
...e,
"aria-labelledby": n
}, t), o = (0, I.useContext)(AD);
@@ -30047,7 +30047,7 @@ var jre = /*#__PURE__*/ (0, I.createContext)(null), AD = /*#__PURE__*/ (0, I.cre
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = gg(e, { global: !0 });
+ }), c = hg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(UT.section, {
...H(c, s, r),
render: e.render,
@@ -30071,8 +30071,8 @@ var jre = /*#__PURE__*/ (0, I.createContext)(null), AD = /*#__PURE__*/ (0, I.cre
} }]
] }, s.children));
}), MD = typeof document < "u" && window.visualViewport;
-function Mre() {
- let e = tm(), [t, n] = (0, I.useState)(() => e ? {
+function Nre() {
+ let e = nm(), [t, n] = (0, I.useState)(() => e ? {
width: 0,
height: 0
} : ND());
@@ -30082,16 +30082,16 @@ function Mre() {
}, t = () => {
MD && MD.scale > 1 || e(ND());
}, r, i = (t) => {
- MD && MD.scale > 1 || Wh(V(t)) && (r = requestAnimationFrame(() => {
- let t = np();
- (!t || !Wh(t)) && e({
+ MD && MD.scale > 1 || Gh(V(t)) && (r = requestAnimationFrame(() => {
+ let t = rp();
+ (!t || !Gh(t)) && e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(ND()), Dp() && kp() && window.addEventListener("blur", i, !0), MD ? MD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), Dp() && kp() && window.removeEventListener("blur", i, !0), MD ? MD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(ND()), Op() && Ap() && window.addEventListener("blur", i, !0), MD ? MD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), Op() && Ap() && window.removeEventListener("blur", i, !0), MD ? MD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
@@ -30103,7 +30103,7 @@ function ND() {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var Nre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.createContext)(null), Pre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var Pre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.createContext)(null), Fre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
if ((0, I.useContext)(PD)) return /*#__PURE__*/ I.createElement(ID, {
...e,
modalRef: t
@@ -30124,10 +30124,10 @@ var Nre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.cre
modalRef: t
}, s));
});
-function Fre(e, t) {
- [e, t] = zT(e, t, Nre);
- let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ah(t), o = (0, I.useRef)(null), s = gD(a, i.isOpen), c = gD(o, i.isOpen), l = s || c || e.isExiting || !1, u = tm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(Ire, {
+function Ire(e, t) {
+ [e, t] = zT(e, t, Pre);
+ let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = oh(t), o = (0, I.useRef)(null), s = gD(a, i.isOpen), c = gD(o, i.isOpen), l = s || c || e.isExiting || !1, u = nm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(Lre, {
...e,
state: i,
isExiting: l,
@@ -30135,9 +30135,9 @@ function Fre(e, t) {
modalRef: o
});
}
-var FD = /*#__PURE__*/ (0, I.forwardRef)(Fre);
-function Ire({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = nte(t, r, n), o = hD(t.overlayRef) || t.isEntering || !1, s = LT({
+var FD = /*#__PURE__*/ (0, I.forwardRef)(Ire);
+function Lre({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Zee(t, r, n), o = hD(t.overlayRef) || t.isEntering || !1, s = LT({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -30145,9 +30145,9 @@ function Ire({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = Mre(), l, u;
+ }), c = Nre(), l, u;
if (typeof document < "u") {
- let e = v_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = __(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
}
let d = {
@@ -30157,11 +30157,11 @@ function Ire({ 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(cy, {
+ return /*#__PURE__*/ I.createElement(sy, {
isExiting: t.isExiting,
portalContainer: e
}, /*#__PURE__*/ I.createElement(UT.div, {
- ...H(gg(t, { global: !0 }), a),
+ ...H(hg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
@@ -30175,7 +30175,7 @@ function Ire({ UNSTABLE_portalContainer: e, ...t }) {
}], [AD, r]] }, s.children)));
}
function ID(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(PD), a = (0, I.useContext)(AD), o = ah((0, I.useMemo)(() => Bm(e.modalRef, n), [e.modalRef, n])), s = hD(o), c = LT({
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(PD), a = (0, I.useContext)(AD), o = oh((0, I.useMemo)(() => Vm(e.modalRef, n), [e.modalRef, n])), s = hD(o), c = LT({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -30185,18 +30185,18 @@ function ID(e) {
}
});
return /*#__PURE__*/ I.createElement(UT.div, {
- ...H(gg(e, { global: !0 }), t),
+ ...H(hg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ I.createElement(Hb, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ I.createElement(Jb, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Lre = Math.round(Math.random() * 1e10), Rre = 0;
-function zre(e) {
- let t = (0, I.useMemo)(() => e.name || `radio-group-${Lre}-${++Rre}`, [e.name]), [n, r] = U_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = P_({
+var Rre = Math.round(Math.random() * 1e10), zre = 0;
+function Bre(e) {
+ let t = (0, I.useMemo)(() => e.name || `radio-group-${Rre}-${++zre}`, [e.name]), [n, r] = B_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = j_({
...e,
value: n
}), c = (t) => {
@@ -30219,12 +30219,12 @@ function zre(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.createContext)(null), LD = /*#__PURE__*/ (0, I.createContext)(null), RD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, Bre);
- let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = zre({
+var Vre = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.createContext)(null), LD = /*#__PURE__*/ (0, I.createContext)(null), RD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, Vre);
+ let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = Bre({
...e,
validationBehavior: r
- }), [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = gte({
+ }), [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = dte({
...e,
label: o,
validationBehavior: r
@@ -30239,7 +30239,7 @@ var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = gg(e, { global: !0 });
+ }), p = hg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(UT.div, {
...H(p, f, s),
ref: t,
@@ -30264,8 +30264,8 @@ var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.cr
] }, /*#__PURE__*/ I.createElement(XE, null, f.children)));
}), zD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zT(r, t, Vre);
- let i = I.useContext(LD), a = ah((0, I.useMemo)(() => Bm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = hte({
+ [e, t] = zT(r, t, Hre);
+ let i = I.useContext(LD), a = oh((0, I.useMemo)(() => Vm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ute({
...VT(e),
children: typeof e.children == "function" || e.children
}, i, a);
@@ -30273,12 +30273,12 @@ var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.cr
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ I.createElement(Hre, {
+ } }, /*#__PURE__*/ I.createElement(Ure, {
...e,
ref: t
}));
-}), BD = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__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)(BD), l = I.useContext(LD), { isFocused: u, isFocusVisible: d, focusProps: f } = uy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = my({
+}), BD = /*#__PURE__*/ (0, I.createContext)(null), Ure = /*#__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)(BD), l = I.useContext(LD), { isFocused: u, isFocusVisible: d, focusProps: f } = ly(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = hy({
...e,
isDisabled: p
}), g = LT({
@@ -30295,7 +30295,7 @@ var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = gg(e, { global: !0 });
+ }), _ = hg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(UT.label, {
...H(_, n, m, g),
ref: t,
@@ -30308,19 +30308,19 @@ var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(J_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(G_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Ure(e) {
+function Wre(e) {
let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mD(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = U_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = B_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -30337,7 +30337,7 @@ function Ure(e) {
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, I.useMemo)(() => Wre(l), [l]),
+ selectedKeys: (0, I.useMemo)(() => Gre(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -30347,7 +30347,7 @@ function Ure(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = P_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = j_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, I.useState)(!1), [_] = (0, I.useState)(l);
@@ -30374,15 +30374,15 @@ function Ure(e) {
setFocused: g
};
}
-function Wre(e) {
+function Gre(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function Gre(e) {
+function Kre(e) {
return e && e.__esModule ? e.default : e;
}
-var VD = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.createContext)(null), Kre = /*#__PURE__*/ fh(function(e, t) {
+var VD = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.createContext)(null), qre = /*#__PURE__*/ ph(function(e, t) {
[e, t] = zT(e, t, VD);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, I.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
@@ -30398,23 +30398,23 @@ var VD = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.crea
i,
a
]);
- return /*#__PURE__*/ I.createElement(Sh, { content: o }, (n) => /*#__PURE__*/ I.createElement(Jre, {
+ return /*#__PURE__*/ I.createElement(Ch, { content: o }, (n) => /*#__PURE__*/ I.createElement(Yre, {
props: e,
collection: n,
selectRef: t
}));
-}), qre = [
+}), Jre = [
ZT,
QT,
nE
];
-function Jre({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = RT(iE) || {}, i = e.validationBehavior ?? r ?? "native", a = Ure({
+function Yre({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = RT(iE) || {}, i = e.validationBehavior ?? r ?? "native", a = Wre({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = uy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = BT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = _te({
+ }), { isFocusVisible: o, focusProps: s } = ly({ within: !0 }), c = (0, I.useRef)(null), [l, u] = BT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = fte({
...VT(e),
label: u,
validationBehavior: i
@@ -30436,7 +30436,7 @@ function Jre({ props: e, selectRef: t, collection: n }) {
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = gg(e, { global: !0 });
+ }), x = hg(e, { global: !0 });
delete x.id;
let S = (0, I.useRef)(null);
return /*#__PURE__*/ I.createElement(IT, { values: [
@@ -30461,7 +30461,7 @@ function Jre({ props: e, selectRef: t, collection: n }) {
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: qre
+ clearContexts: Jre
}],
[dD, {
...m,
@@ -30483,12 +30483,12 @@ function Jre({ 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(yte, {
+ }, b.children, /*#__PURE__*/ I.createElement(mte, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(function(e, t) {
+for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Xre = /*#__PURE__*/ ph(function(e, t) {
[e, t] = zT(e, t, UD);
let n = (0, I.useContext)(HD), { placeholder: r } = RT(VD), i = n.selectedItems.map((e) => {
let t = e.props?.children;
@@ -30502,7 +30502,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Ree(), 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 = Bee(), 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
@@ -30517,7 +30517,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
a,
o,
i
- ]), u = mg(Gre(WE), "react-aria-components"), d = LT({
+ ]), u = pg(Kre(WE), "react-aria-components"), d = LT({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -30528,17 +30528,17 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = gg(e, { global: !0 });
+ }), f = hg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(UT.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
}, /*#__PURE__*/ I.createElement(nE.Provider, { value: void 0 }, d.children));
-}), Xre = /*#__PURE__*/ (0, I.createContext)(null), WD = /*#__PURE__*/ (0, I.createContext)(null), Zre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}), Zre = /*#__PURE__*/ (0, I.createContext)(null), WD = /*#__PURE__*/ (0, I.createContext)(null), Qre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zT(r, t, Xre);
- let i = ah((0, I.useMemo)(() => Bm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = W_(e), o = xte({
+ [e, t] = zT(r, t, Zre);
+ let i = oh((0, I.useMemo)(() => Vm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = V_(e), o = gte({
...VT(e),
children: typeof e.children == "function" || e.children
}, a, i);
@@ -30546,12 +30546,12 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ I.createElement(Qre, {
+ }]] }, /*#__PURE__*/ I.createElement($re, {
...e,
ref: t
}));
-}), GD = /*#__PURE__*/ (0, I.createContext)(null), Qre = /*#__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)(GD), { isFocused: f, isFocusVisible: p, focusProps: m } = uy(), h = a || o, g = (0, I.useContext)(WD), { hoverProps: _, isHovered: v } = my({
+}), GD = /*#__PURE__*/ (0, I.createContext)(null), $re = /*#__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)(GD), { isFocused: f, isFocusVisible: p, focusProps: m } = ly(), h = a || o, g = (0, I.useContext)(WD), { hoverProps: _, isHovered: v } = hy({
...e,
isDisabled: h
}), y = LT({
@@ -30569,7 +30569,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
isRequired: d || !1,
state: g
}
- }), b = gg(e, { global: !0 });
+ }), b = hg(e, { global: !0 });
return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(UT.label, {
...H(b, n, _, y),
ref: t,
@@ -30583,11 +30583,11 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ I.createElement(J_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(G_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), KD = 10, qD = 5, $re = class {
+}), KD = 10, qD = 5, eie = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -30695,7 +30695,7 @@ for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(f
boundaryContext: null
};
}
-}, eie = class {
+}, tie = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -30850,7 +30850,7 @@ function XD(e, t) {
textValue: ""
}));
}
-var tie = class extends eie {
+var nie = class extends tie {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
@@ -30959,7 +30959,7 @@ var tie = class extends eie {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function nie(e) {
+function rie(e) {
let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
@@ -31010,11 +31010,11 @@ function nie(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var rie = {
+var iie = {
ascending: "descending",
descending: "ascending"
};
-function iie(e) {
+function aie(e) {
let [t, n] = (0, I.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, I.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -31025,11 +31025,11 @@ function iie(e) {
i,
r,
a
- ]), c = sD(e, (0, I.useCallback)((e) => new tie(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = nie({
+ ]), c = sD(e, (0, I.useCallback)((e) => new nie(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = rie({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -31041,7 +31041,7 @@ function iie(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? rie[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? iie[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -31054,7 +31054,7 @@ function iie(e) {
treeColumn: o
};
}
-function aie(e, t) {
+function oie(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -31064,7 +31064,7 @@ function aie(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var oie = class extends Nf {
+var sie = class extends Pf {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -31188,8 +31188,8 @@ var oie = class extends Nf {
constructor(...e) {
super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new eO(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, sie = /*#__PURE__*/ (0, I.createContext)(null), cie = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), lie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = zT(e, t, cie);
+}, cie = /*#__PURE__*/ (0, I.createContext)(null), lie = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), uie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, lie);
let n = nD(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
@@ -31200,17 +31200,17 @@ var oie = class extends Nf {
i,
a,
o
- ]), c = /*#__PURE__*/ I.createElement(fie.Provider, { value: s }, /*#__PURE__*/ I.createElement(Ph, e));
- return /*#__PURE__*/ I.createElement(Sh, {
+ ]), c = /*#__PURE__*/ I.createElement(pie.Provider, { value: s }, /*#__PURE__*/ I.createElement(Fh, e));
+ return /*#__PURE__*/ I.createElement(Ch, {
content: c,
- createCollection: () => new oie()
- }, (r) => /*#__PURE__*/ I.createElement(die, {
+ createCollection: () => new sie()
+ }, (r) => /*#__PURE__*/ I.createElement(fie, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), uie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}), die = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
@@ -31229,26 +31229,26 @@ var oie = class extends Nf {
rtl: "ArrowRight"
}
};
-function die({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function fie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = zT(e, t, WT);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(sie);
- t = ah((0, I.useMemo)(() => Bm(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(cie);
+ t = oh((0, I.useMemo)(() => Vm(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, I.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = iie({
+ let d = aie({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = aie(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(YT), { dragAndDropHooks: _ } = e, { gridProps: v } = Dte({
+ }), f = oie(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(YT), { dragAndDropHooks: _ } = e, { gridProps: v } = Ste({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, I.useRef)(b), (0, I.useRef)(x), (0, I.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ag(), [k] = (0, I.useState)(() => new $re());
+ let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ag(), [k] = (0, I.useState)(() => new eie());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -31263,7 +31263,7 @@ function die({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new iv({
+ let e = new tv({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -31288,7 +31288,7 @@ function die({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = uy(), N = LT({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = ly(), N = LT({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31298,31 +31298,31 @@ function die({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
isFocusVisible: M,
state: f
}
- }), P = !!(b && !S?.isDisabled), ee = N.style, F = null;
- c && (F = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (ee = {
- ...ee,
+ }), ee = !!(b && !S?.isDisabled), te = N.style, P = null;
+ c && (P = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (te = {
+ ...te,
tableLayout: "fixed",
width: "min-content"
}));
- let te = gg(e, { global: !0 });
+ let F = hg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(IT, { values: [
[ZD, f],
- [QD, F],
+ [QD, P],
[GE, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [KE, { render: Sie }],
+ [KE, { render: Cie }],
[WT, null],
[GT, null]
- ] }, /*#__PURE__*/ I.createElement(Ug, null, /*#__PURE__*/ I.createElement(uie, {
- ...H(te, N, v, A, w?.collectionProps),
- style: ee,
+ ] }, /*#__PURE__*/ I.createElement(Hg, null, /*#__PURE__*/ I.createElement(die, {
+ ...H(F, N, v, A, w?.collectionProps),
+ style: te,
ref: t,
slot: e.slot || void 0,
onScroll: e.onScroll,
- "data-allows-dragging": P || void 0,
+ "data-allows-dragging": ee || void 0,
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
@@ -31332,11 +31332,11 @@ function die({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: JE(y, _, C)
})))), E);
}
-var fie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends Of {
+var pie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends kf {
static {
this.type = "tableheader";
}
-}, pie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}, mie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
@@ -31345,16 +31345,16 @@ var fie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends Of {
...e,
ref: t
});
-}), tO = /*#__PURE__*/ jh(eO, (e, t) => {
- let n = (0, I.useContext)(ZD).collection, r = Rf({
+}), tO = /*#__PURE__*/ Mh(eO, (e, t) => {
+ let n = (0, I.useContext)(ZD).collection, r = zf({
items: n.headerRows,
children: (0, I.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ I.createElement(hie, { item: e });
+ case "headerrow": return /*#__PURE__*/ I.createElement(gie, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = aS(), { hoverProps: a, isHovered: o } = my({
+ }), { rowGroupProps: i } = dS(), { hoverProps: a, isHovered: o } = hy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -31364,16 +31364,16 @@ var fie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends Of {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ I.createElement(pie, {
- ...H(gg(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ I.createElement(mie, {
+ ...H(hg(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ I.createElement(Ph, {
+}, (e) => /*#__PURE__*/ I.createElement(Fh, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), mie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}, e.children)), hie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement("div", {
...e,
@@ -31383,12 +31383,12 @@ var fie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends Of {
ref: t
});
});
-function hie({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(ZD), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(YT), { rowProps: a } = jte({
+function gie({ item: e }) {
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(ZD), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(YT), { rowProps: a } = Ete({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Rte(n);
- return /*#__PURE__*/ I.createElement(mie, {
+ }, n, t), { checkboxProps: o } = Nte(n);
+ return /*#__PURE__*/ I.createElement(hie, {
...a,
ref: t
}, /*#__PURE__*/ I.createElement(IT, { values: [[aE, { slots: { selection: o } }], [oE, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
@@ -31396,11 +31396,11 @@ function hie({ item: e }) {
parent: e
})));
}
-var gie = class extends Of {
+var _ie = class extends kf {
static {
this.type = "column";
}
-}, _ie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}, vie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
@@ -31409,15 +31409,15 @@ var gie = class extends Of {
...e,
ref: t
});
-}), nO = /*#__PURE__*/ Ah(gie, (e, t, n) => {
- let r = ah(t), i = (0, I.useContext)(ZD), { isVirtualized: a } = (0, I.useContext)(YT), { columnHeaderProps: o, isPressed: s } = Ate({
+}), nO = /*#__PURE__*/ jh(_ie, (e, t, n) => {
+ let r = oh(t), i = (0, I.useContext)(ZD), { isVirtualized: a } = (0, I.useContext)(YT), { columnHeaderProps: o, isPressed: s } = Tte({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = uy(), d = (0, I.useContext)(QD), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ly(), d = (0, I.useContext)(QD), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = my({ isDisabled: !e.allowsSorting }), h = LT({
+ let { hoverProps: p, isHovered: m } = hy({ isDisabled: !e.allowsSorting }), h = LT({
...e,
id: void 0,
children: n.rendered,
@@ -31443,8 +31443,8 @@ var gie = class extends Of {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = gg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ I.createElement(_ie, {
+ let _ = hg(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ I.createElement(vie, {
...H(_, o, u, p),
...h,
style: g,
@@ -31456,15 +31456,15 @@ var gie = class extends Of {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ I.createElement(IT, { values: [[vie, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[yie, {
column: n,
triggerRef: r
}], [YT, qT]] }, h.children));
-}), vie = /*#__PURE__*/ (0, I.createContext)(null), rO = class extends kf {
+}), yie = /*#__PURE__*/ (0, I.createContext)(null), rO = class extends Af {
static {
this.type = "tablebody";
}
-}, yie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}, bie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
@@ -31473,7 +31473,7 @@ var gie = class extends Of {
...e,
ref: t
});
-}), iO = /*#__PURE__*/ jh(rO, (e, t, n) => {
+}), iO = /*#__PURE__*/ Mh(rO, (e, t, n) => {
let r = (0, I.useContext)(ZD), { isVirtualized: i } = (0, I.useContext)(YT), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(YT), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(GE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
@@ -31496,23 +31496,23 @@ var gie = class extends Of {
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = aS(), _ = gg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(yie, {
+ let { rowGroupProps: g } = dS(), _ = hg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(bie, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ I.createElement(Die, null), /*#__PURE__*/ I.createElement(o, {
+ }, l && /*#__PURE__*/ I.createElement(Oie, null), /*#__PURE__*/ I.createElement(o, {
collection: a,
parent: n,
renderDropIndicator: qE(s, c)
}), m);
});
-(class extends kf {
+(class extends Af {
static {
this.type = "tablefooter";
}
});
-var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bie = class extends Of {
+var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), xie = class extends kf {
static {
this.type = "item";
}
@@ -31533,22 +31533,22 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bi
...e,
ref: t
});
-}), sO = /*#__PURE__*/ jh(bie, (e, t, n) => {
- let r = ah(t), i = (0, I.useContext)(ZD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(YT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Pte({
+}), sO = /*#__PURE__*/ Mh(xie, (e, t, n) => {
+ let r = oh(t), i = (0, I.useContext)(ZD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(YT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = kte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = uy(), { isFocusVisible: _, focusProps: v } = uy({ within: !0 }), { hoverProps: y, isHovered: b } = my({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ly(), { isFocusVisible: _, focusProps: v } = ly({ within: !0 }), { hoverProps: y, isHovered: b } = hy({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Lte({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Mte({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = q_();
+ let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = W_();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -31579,7 +31579,7 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bi
isExpanded: j,
level: n.level + 1
}
- }), N = gg(e, { global: !0 });
+ }), N = hg(e, { global: !0 });
return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(oO, {
role: "row",
style: { height: 0 }
@@ -31635,12 +31635,12 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bi
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ I.createElement(Ph, {
+ return /*#__PURE__*/ I.createElement(Fh, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), xie = class extends Of {
+}), Sie = class extends kf {
static {
this.type = "cell";
}
@@ -31653,16 +31653,16 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bi
...e,
ref: t
});
-}), lO = /*#__PURE__*/ Ah(xie, (e, t, n) => {
- let r = ah(t), i = (0, I.useContext)(ZD), { dragState: a } = (0, I.useContext)(GE), { isVirtualized: o } = (0, I.useContext)(YT);
+}), lO = /*#__PURE__*/ jh(Sie, (e, t, n) => {
+ let r = oh(t), i = (0, I.useContext)(ZD), { dragState: a } = (0, I.useContext)(GE), { isVirtualized: o } = (0, I.useContext)(YT);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Ote({
+ let { gridCellProps: s, isPressed: c } = Cte({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = uy(), { hoverProps: f, isHovered: p } = my({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(aO), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = LT({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ly(), { hoverProps: f, isHovered: p } = hy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(aO), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = LT({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -31681,7 +31681,7 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bi
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = gg(e, { global: !0 });
+ }), S = hg(e, { global: !0 });
return delete S.id, /*#__PURE__*/ I.createElement(cO, {
...H(S, x, s, d, f),
ref: r,
@@ -31698,12 +31698,12 @@ var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bi
"data-disabled": b || void 0
}, /*#__PURE__*/ I.createElement(YT.Provider, { value: qT }, x.children));
});
-function Sie(e, t) {
- t = ah(t);
+function Cie(e, t) {
+ t = oh(t);
let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(GE), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ I.createElement(Eie, {
+ return /*#__PURE__*/ I.createElement(Die, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -31712,7 +31712,7 @@ function Sie(e, t) {
ref: t
});
}
-var Cie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var wie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
@@ -31721,7 +31721,7 @@ var Cie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), wie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+}), Tie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
@@ -31731,21 +31731,21 @@ var Cie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
ref: t
});
});
-function Tie(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(ZD), { visuallyHiddenProps: c } = q_(), l = LT({
+function Eie(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(ZD), { visuallyHiddenProps: c } = W_(), l = LT({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(Cie, {
- ...gg(e, { global: !0 }),
+ return /*#__PURE__*/ I.createElement(wie, {
+ ...hg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ I.createElement(wie, {
+ }, /*#__PURE__*/ I.createElement(Tie, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -31756,9 +31756,9 @@ function Tie(e, t) {
ref: i
}), l.children));
}
-var Eie = /*#__PURE__*/ (0, I.forwardRef)(Tie);
-function Die() {
- let e = (0, I.useContext)(ZD), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(GE), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = q_();
+var Die = /*#__PURE__*/ (0, I.forwardRef)(Eie);
+function Oie() {
+ let e = (0, I.useContext)(ZD), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(GE), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = W_();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(oO, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -31774,7 +31774,7 @@ function Die() {
ref: r
})));
}
-Ah(Af, function(e, t, n) {
+jh(jf, function(e, t, n) {
let r = (0, I.useContext)(ZD), { isVirtualized: i } = (0, I.useContext)(YT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
uD((0, I.useMemo)(() => ({
onLoadMore: o,
@@ -31809,7 +31809,7 @@ Ah(Af, function(e, t, n) {
width: 1
}
}))), a && d.children && /*#__PURE__*/ I.createElement(oO, {
- ...H(gg(e, { global: !0 }), f),
+ ...H(hg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
@@ -31823,8 +31823,8 @@ Ah(Af, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Oie(e) {
- let [t, n] = U_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cD({
+function kie(e) {
+ let [t, n] = B_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cD({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -31847,8 +31847,8 @@ function Oie(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function kie(e) {
- let t = Oie({
+function Aie(e) {
+ let t = kie({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
@@ -31880,18 +31880,18 @@ var dO = /*#__PURE__*/ (0, I.createContext)(null), fO = /*#__PURE__*/ (0, I.crea
return n = (0, I.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ I.createElement(Sh, { content: n }, (n) => /*#__PURE__*/ I.createElement(Aie, {
+ }) : n, [n, r]), /*#__PURE__*/ I.createElement(Ch, { content: n }, (n) => /*#__PURE__*/ I.createElement(jie, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Aie({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = kie({
+function jie({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Aie({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = uy({ within: !0 }), c = (0, I.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = ly({ within: !0 }), c = (0, I.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -31903,7 +31903,7 @@ function Aie({ props: e, tabsRef: t, collection: n }) {
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = gg(e, { global: !0 });
+ }), u = hg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(UT.div, {
...H(u, l, a),
ref: t,
@@ -31915,13 +31915,13 @@ function Aie({ props: e, tabsRef: t, collection: n }) {
}, /*#__PURE__*/ I.createElement(IT, { values: [[dO, e], [fO, i]] }, l.children));
}
var mO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return (0, I.useContext)(fO) ? /*#__PURE__*/ I.createElement(jie, {
+ return (0, I.useContext)(fO) ? /*#__PURE__*/ I.createElement(Mie, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ I.createElement(Ph, e);
+ }) : /*#__PURE__*/ I.createElement(Fh, e);
});
-function jie({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(fO), { CollectionRoot: r } = (0, I.useContext)(YT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RT(dO), o = ah(t), { tabListProps: s } = Vte({
+function Mie({ props: e, forwardedRef: t }) {
+ let n = (0, I.useContext)(fO), { CollectionRoot: r } = (0, I.useContext)(YT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RT(dO), o = oh(t), { tabListProps: s } = Ite({
...e,
orientation: i,
keyboardActivation: a
@@ -31933,7 +31933,7 @@ function jie({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = gg(e, { global: !0 });
+ }), l = hg(e, { global: !0 });
return delete l.id, /*#__PURE__*/ I.createElement(UT.div, {
...H(l, c, s),
ref: o,
@@ -31943,15 +31943,15 @@ function jie({ props: e, forwardedRef: t }) {
persistedKeys: XT(n.selectionManager.focusedKey)
})));
}
-var hO = /*#__PURE__*/ Ah(class extends Of {
+var hO = /*#__PURE__*/ jh(class extends kf {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(fO), i = ah(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = zte({
+ let r = (0, I.useContext)(fO), i = oh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Pte({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = uy(), { hoverProps: f, isHovered: p } = my({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ly(), { hoverProps: f, isHovered: p } = hy({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
@@ -31969,7 +31969,7 @@ var hO = /*#__PURE__*/ Ah(class extends Of {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? UT.a : UT.div, g = gg(e, { global: !0 });
+ }), h = n.props.href ? UT.a : UT.div, g = hg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ I.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -31980,19 +31980,19 @@ var hO = /*#__PURE__*/ Ah(class extends Of {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ I.createElement(ZE.Provider, { value: { isSelected: o } }, m.children));
-}), gO = /*#__PURE__*/ fh(function(e, t) {
- let n = (0, I.useContext)(fO), r = ah(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
+}), gO = /*#__PURE__*/ ph(function(e, t) {
+ let n = (0, I.useContext)(fO), r = oh(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = gD(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(Mie, {
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(Nie, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Mie(e) {
- let t = (0, I.useContext)(fO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Hte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = uy(), d = t.selectedKey === e.id, f = hD(r) && !i, p = LT({
+function Nie(e) {
+ let t = (0, I.useContext)(fO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Lte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ly(), d = t.selectedKey === e.id, f = hD(r) && !i, p = LT({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -32003,7 +32003,7 @@ function Mie(e) {
isExiting: a,
state: t
}
- }), m = gg(o, { global: !0 });
+ }), m = hg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
return /*#__PURE__*/ I.createElement(UT.div, {
@@ -32019,11 +32019,11 @@ function Mie(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Nie = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.createContext)(null), Fie = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = zT(e, t, Pie);
+var Pie = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ (0, I.createContext)(null), Iie = /*#__PURE__*/ ph(function(e, t) {
+ [e, t] = zT(e, t, Fie);
let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
[e, i] = zT(e, i, GT);
- let [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Cee({
+ let [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Dee({
...VT(e),
inputElementType: s,
label: o,
@@ -32039,7 +32039,7 @@ var Nie = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = gg(e, { global: !0 });
+ }), g = hg(e, { global: !0 });
return delete g.id, /*#__PURE__*/ I.createElement(UT.div, {
...g,
...h,
@@ -32058,7 +32058,7 @@ var Nie = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.crea
...u,
ref: m
}],
- [Nie, {
+ [Pie, {
...u,
ref: m
}],
@@ -32073,7 +32073,7 @@ var Nie = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.crea
} }],
[rE, p]
] }, h.children));
-}), _O = _w({
+}), _O = Ew({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -32098,7 +32098,7 @@ function vO({ icon: e, size: t = "medium", className: n, type: r = "button", ref
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: gw(_O.base, _O.size[t], n),
+ className: Tw(_O.base, _O.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
className: _O.icon[t],
@@ -32108,7 +32108,7 @@ function vO({ icon: e, size: t = "medium", className: n, type: r = "button", ref
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Iie = _w({
+var Lie = Ew({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -32170,23 +32170,23 @@ var Iie = _w({
}
}
});
-function Lie({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Iie[t];
+function Rie({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Lie[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: gw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? gw("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: Tw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Tw("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: gw("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: gw("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: Tw("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: Tw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
function yO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(Zre, {
+ return /* @__PURE__ */ (0, L.jsx)(Qre, {
ref: i,
...a,
- className: (t) => gw("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)(Lie, {
+ className: (t) => Tw("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)(Rie, {
state: e,
size: n,
shape: r
@@ -32233,7 +32233,7 @@ function CO(e, t) {
y1: a + r
});
}
-function Rie(e, t) {
+function zie(e, t) {
if (!SO(e) || !(t > 0)) return bO(e);
let n = Math.min(e.width, e.height * t);
return xO({
@@ -32243,7 +32243,7 @@ function Rie(e, t) {
y1: e.height
});
}
-function zie(e, t, n) {
+function Bie(e, t, n) {
if (!SO(t) || !(n > 0)) return bO(t);
let r = wO(e, t), i = CO({
width: r.x1 - r.x0,
@@ -32292,7 +32292,7 @@ function EO(e, t, n, r = null) {
y1: a + s / 2
}, n, r);
}
-function Bie(e, t, n, r, i = null) {
+function Vie(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
@@ -32301,7 +32301,7 @@ function Bie(e, t, n, r, i = null) {
};
return wO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Vie(e, t) {
+function Hie(e, t) {
return SO(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
@@ -32314,7 +32314,7 @@ function Vie(e, t) {
height: 0
};
}
-function Hie(e, t) {
+function Uie(e, t) {
if (!SO(t)) return {
size: "cover",
position: "50% 50%"
@@ -32325,7 +32325,7 @@ function Hie(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Uie(e, t) {
+function Wie(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -32339,7 +32339,7 @@ function DO(e, t, n) {
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var Wie = {
+var Gie = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
@@ -32350,8 +32350,8 @@ function OO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
onOpenChange: t,
isDismissable: !0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, L.jsx)(Pre, {
- className: `flex max-h-full w-full ${Wie[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, L.jsx)(Fre, {
+ className: `flex max-h-full w-full ${Gie[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
children: /* @__PURE__ */ (0, L.jsx)(jD, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
@@ -32369,15 +32369,15 @@ function kO({ children: e }) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function Gie(e) {
+function Kie(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function Kie(e) {
+function qie(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Gie(n ?? t.body);
+ return Kie(n ?? t.body);
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
@@ -32389,7 +32389,7 @@ function AO() {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var qie = .02, jO = 1.08;
+var Jie = .02, jO = 1.08;
function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, I.useRef)(null), c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
@@ -32423,14 +32423,14 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
i(TO(n.box, o.dx, o.dy, r));
return;
}
- i(Bie(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(Vie(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * qie), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Jie), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
@@ -32442,7 +32442,7 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
(e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(EO(n, e.key === "-" ? 1 / jO : jO, r, t)));
}
- let g = n && r ? Vie(wO(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? Hie(wO(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -32522,7 +32522,7 @@ function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var Jie = "/api/cover-crop", Yie = (e, t) => q(Jie, {
+var Yie = "/api/cover-crop", Xie = (e, t) => q(Yie, {
code: e,
box: t
}), NO = .704;
@@ -32539,7 +32539,7 @@ function PO({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-crop" })
});
}
-function Xie({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Zie({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("button", {
ref: o,
@@ -32551,14 +32551,14 @@ function Xie({ 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)(PO, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, L.jsx)(ay, {
- getContainer: () => Kie(o.current),
+ }), /* @__PURE__ */ (0, L.jsx)(iy, {
+ getContainer: () => qie(o.current),
children: /* @__PURE__ */ (0, L.jsx)(OO, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, L.jsx)(Zie, {
+ children: /* @__PURE__ */ (0, L.jsx)(Qie, {
code: e,
coverUrl: t,
box: n,
@@ -32568,9 +32568,9 @@ function Xie({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Zie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = AO(), f = kt({
- mutationFn: (t) => Yie(e, t),
+function Qie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = AO(), f = At({
+ mutationFn: (t) => Xie(e, t),
onSuccess: () => {
i(), r();
}
@@ -32582,7 +32582,7 @@ function Zie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Rie(e, NO);
+ } : zie(e, NO);
c(wO(t, e, null));
}
let m = f.isPending;
@@ -32610,7 +32610,7 @@ function Zie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
]
}),
/* @__PURE__ */ (0, L.jsx)(vO, {
- icon: mS,
+ icon: bS,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -32666,32 +32666,32 @@ function Zie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/media-sources.ts
-var Qie = "/api/sources", FO = ["media-sources"], IO = (e) => ww(Qie, e);
+var $ie = "/api/sources", FO = ["media-sources"], IO = (e) => Nw($ie, e);
async function LO(e) {
await X.fetchQuery({
queryKey: FO,
queryFn: () => IO(e)
});
}
-var $ie = [
+var eae = [
"local",
"115",
"pikpak"
-], eae = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), tae = "/api/duplicates?limit=120", RO = ["duplicates"], nae = "/api/batch", zO = (e) => ww(tae, e);
-async function rae(e) {
+], tae = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), RO = "/api/duplicates?limit=120", zO = ["duplicates"], nae = "/api/batch", BO = (e) => Nw(RO, e);
+async function VO(e) {
await Promise.all([X.fetchQuery({
- queryKey: RO,
- queryFn: () => zO(e)
+ queryKey: zO,
+ queryFn: () => BO(e)
}), LO(e)]);
}
-var BO = {
+var HO = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, VO = (e, t) => t.filter((t) => e.some((e) => e.location === t)), HO = (e, t) => VO(e, t).filter((t) => e.some((e) => e.location !== t)), iae = (e, t) => t.filter((t) => e.some((e) => HO(e.files, [t]).length));
-function UO(e, t) {
+}, UO = (e, t) => t.filter((t) => e.some((e) => e.location === t)), WO = (e, t) => UO(e, t).filter((t) => e.some((e) => e.location !== t)), rae = (e, t) => t.filter((t) => e.some((e) => WO(e.files, [t]).length));
+function iae(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -32710,7 +32710,7 @@ function UO(e, t) {
}
return n;
}
-function WO(e, t) {
+function aae(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
@@ -32722,35 +32722,35 @@ async function GO(e, t) {
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var KO = "/api/library-processing", qO = ["library-processing"], JO = (e) => ww(KO, e);
+var KO = "/api/library-processing", qO = ["library-processing"], JO = (e) => Nw(KO, e);
async function YO(e) {
await X.fetchQuery({
queryKey: qO,
queryFn: () => JO(e)
});
}
-var aae = 2e3, oae = 1e4, XO = "连接中断,正在重新读取处理进度";
-function sae(e, t) {
- return e?.status === "running" ? aae : t ? oae : !1;
+var XO = 2e3, ZO = 1e4, QO = "连接中断,正在重新读取处理进度";
+function oae(e, t) {
+ return e?.status === "running" ? XO : t ? ZO : !1;
}
-var cae = {
+var sae = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, ZO = {
+}, $O = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function QO(e) {
- let t = Object.entries(e).filter(([e, t]) => ZO[e] && t > 0).map(([e, t]) => `${ZO[e]} ${t} 部`);
+function cae(e) {
+ let t = Object.entries(e).filter(([e, t]) => $O[e] && t > 0).map(([e, t]) => `${$O[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function $O(e) {
- let t = cae[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function ek(e) {
+ let t = sae[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function ek(e) {
+function lae(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -32764,10 +32764,10 @@ function ek(e) {
log: e.issues_log || ""
} : null;
}
-var tk = "peach.library-processing.announced", nk = 120;
-function lae(e, t, n) {
+var tk = "peach.library-processing.announced", uae = 120;
+function dae(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < nk;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < uae;
if (!(!n && !r)) {
try {
if (e.job_id && localStorage.getItem(tk) === e.job_id) return;
@@ -32778,7 +32778,7 @@ function lae(e, t, n) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var rk = "/api/media-repair", ik = ["media-repair"], ak = ["media-repair", "libraries"], uae = {
+var nk = "/api/media-repair", rk = ["media-repair"], ik = ["media-repair", "libraries"], ak = {
status: "idle",
library: "",
stage: "",
@@ -32790,33 +32790,33 @@ var rk = "/api/media-repair", ik = ["media-repair"], ak = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, ok = (e) => ww(rk, e), sk = async (e) => (await ww("/api/libraries", e)).libraries || [];
-async function dae(e) {
+}, ok = (e) => Nw(nk, e), sk = async (e) => (await Nw("/api/libraries", e)).libraries || [];
+async function ck(e) {
await Promise.all([X.fetchQuery({
- queryKey: ik,
+ queryKey: rk,
queryFn: () => ok(e)
}), X.fetchQuery({
- queryKey: ak,
+ queryKey: ik,
queryFn: () => sk(e)
})]);
}
-var ck = (e) => Number(e).toLocaleString();
-function fae(e) {
+var lk = (e) => Number(e).toLocaleString();
+function uk(e) {
if (e.status === "running") {
- let t = e.total ? `${ck(e.checked)} / ${ck(e.total)}` : "准备中";
+ let t = e.total ? `${lk(e.checked)} / ${lk(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${ck(e.repaired)} 部,${ck(e.failed)} 部修不了` : `修好 ${ck(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${lk(e.repaired)} 部,${lk(e.failed)} 部修不了` : `修好 ${lk(e.repaired)} 部` : "";
}
-var lk = (e) => `${ck(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, uk = "/api/quality-goals?limit=200", dk = ["quality-goals"], fk = (e) => ww(uk, e);
-async function pk(e) {
+var dk = (e) => `${lk(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, fk = "/api/quality-goals?limit=200", pk = ["quality-goals"], mk = (e) => Nw(fk, e);
+async function hk(e) {
await X.fetchQuery({
- queryKey: dk,
- queryFn: () => fk(e)
+ queryKey: pk,
+ queryFn: () => mk(e)
});
}
-var mk = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function hk(e, t, n = 1) {
+var gk = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function _k(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -32836,21 +32836,21 @@ function hk(e, t, n = 1) {
t
];
}
-function gk(e, t) {
+function vk(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function _k(e, t) {
+function yk(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function vk(e, t, n, r, i, a = i || !e.has(r)) {
+function fae(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function yk(e) {
+function bk(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -32859,7 +32859,7 @@ function yk(e) {
}
//#endregion
//#region src/react/review/review.ts
-var bk = "/api/review", xk = "/api/review/decision", Sk = "/api/review/genre", Ck = ["review"], wk = {
+var pae = "/api/review", mae = "/api/review/decision", hae = "/api/review/genre", xk = ["review"], Sk = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -32869,15 +32869,15 @@ var bk = "/api/review", xk = "/api/review/decision", Sk = "/api/review/genre", C
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, pae = Object.keys(wk), mae = "metadata_fields", Tk = (e) => typeof e == "string" && Object.hasOwn(wk, e), hae = {
+}, gae = Object.keys(Sk), _ae = "metadata_fields", Ck = (e) => typeof e == "string" && Object.hasOwn(Sk, e), vae = {
creator_tags: "creator",
western_identity: "creator"
};
-function gae(e, t) {
+function yae(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function Ek(e, t) {
+function wk(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -32894,43 +32894,43 @@ function Ek(e, t) {
}
return [...n.values()];
}
-function _ae(e, t, n) {
- return n && Ek(e, t).find((e) => e.key === n)?.rows || e;
+function bae(e, t, n) {
+ return n && wk(e, t).find((e) => e.key === n)?.rows || e;
}
-function vae(e, t) {
- let n = gk(e.length, 20), r = _k(t, n);
+function xae(e, t) {
+ let n = vk(e.length, 20), r = yk(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function yae(e) {
+function Sae(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function bae(e, t, n, r, i, a) {
- return vk(e, t, n, r, i, a);
+function Cae(e, t, n, r, i, a) {
+ return fae(e, t, n, r, i, a);
}
-function Dk(e, t) {
+function Tk(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Ok(e, t) {
+function Ek(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var kk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function xae(e, t) {
- let n = Ok(e, t), r = kk(e, t);
+var Dk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function wae(e, t) {
+ let n = Ek(e, t), r = Dk(e, t);
return r ? `${n} · ${r}` : n;
}
-var Sae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Cae = (e) => String(e.tags || "").split("|").filter(Boolean), wae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function Tae(e) {
+var Tae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Eae = (e) => String(e.tags || "").split("|").filter(Boolean), Dae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Oae(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Ak(e, t, n, r) {
+function Ok(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -32946,19 +32946,19 @@ function Ak(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Eae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", jk = (e) => ww(bk, e), Mk = (e) => q(xk, e), Nk = (e, t) => q(Sk, {
+var kae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", kk = (e) => Nw(pae, e), Ak = (e) => q(mae, e), jk = (e, t) => q(hae, {
genre: e,
tag: t
});
-async function Pk(e) {
+async function Mk(e) {
await X.fetchQuery({
- queryKey: Ck,
- queryFn: () => jk(e)
+ queryKey: xk,
+ queryFn: () => kk(e)
});
}
-function Fk(e, t) {
+function Nk(e, t) {
let n = new Set(t);
- n.size && X.setQueryData(Ck, (t) => {
+ n.size && X.setQueryData(xk, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -32974,161 +32974,161 @@ function Fk(e, t) {
};
});
}
-var Ik = () => X.invalidateQueries({
- queryKey: Ck,
+var Pk = () => X.invalidateQueries({
+ queryKey: xk,
exact: !0
});
-function Lk(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${yk(e.fetched_at)} 的缓存` : e?.error || t;
+function Fk(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${bk(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Rk = "/api/links", zk = "/api/links/check", Bk = "/api/links/prune", Vk = ["links"], Hk = ["links", "check"], Uk = ["links", "prune"], Wk = {
+var Ik = "/api/links", Lk = "/api/links/check", Rk = "/api/links/prune", zk = ["links"], Bk = ["links", "check"], Vk = ["links", "prune"], Hk = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function Gk(e) {
+async function Uk(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var Kk = (e) => ww(Rk, e), qk = (e) => q(zk, { status_only: !0 }, "POST", e), Jk = ({ retry: e, checkId: t }) => Gk(q(zk, e ? {
+var Wk = (e) => Nw(Ik, e), Gk = (e) => q(Lk, { status_only: !0 }, "POST", e), Kk = ({ retry: e, checkId: t }) => Uk(q(Lk, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), Yk = (e) => ww(Bk, e), Xk = (e) => Gk(q(Bk, {
+} : { restart: !0 })), qk = (e) => Nw(Rk, e), Jk = (e) => Uk(q(Rk, {
confirm: !0,
check_id: e,
background: !0
-})), Zk = (e) => Number(e || 0).toLocaleString(), Qk = (e) => `已删除 ${Zk(e.removed)} 条;${e.marked ? `已隐退女优的 ${Zk(e.marked)} 条留作不可点的记录;` : ""}保留 ${Zk(e.recovered)} 条未确认失效的链接。`;
-function $k(e) {
+})), Yk = (e) => Number(e || 0).toLocaleString(), Xk = (e) => `已删除 ${Yk(e.removed)} 条;${e.marked ? `已隐退女优的 ${Yk(e.marked)} 条留作不可点的记录;` : ""}保留 ${Yk(e.recovered)} 条未确认失效的链接。`;
+function Zk(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${Zk(e.checked)} / ${Zk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Yk(e.checked)} / ${Yk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var eA = "/api/organize", tA = "/api/organize/preview", nA = "/api/organize/apply", rA = "/api/organize/rollback", iA = "/api/settings", aA = ["organize"], oA = (e) => ww(eA, e);
-async function sA(e) {
+var Qk = "/api/organize", $k = "/api/organize/preview", eA = "/api/organize/apply", tA = "/api/organize/rollback", nA = "/api/settings", rA = ["organize"], iA = (e) => Nw(Qk, e);
+async function aA(e) {
await X.fetchQuery({
- queryKey: aA,
- queryFn: () => oA(e)
+ queryKey: rA,
+ queryFn: () => iA(e)
});
}
-var cA = (e) => q(tA, e), lA = (e) => e.kind === "apply" ? q(nA, {
+var oA = (e) => q($k, e), sA = (e) => e.kind === "apply" ? q(eA, {
...e.request,
confirm: !0
-}) : q(rA, { confirm: !0 });
-async function uA(e) {
- X.setQueryData(aA, (t) => t && {
+}) : q(tA, { confirm: !0 });
+async function cA(e) {
+ X.setQueryData(rA, (t) => t && {
...t,
templates: e
});
try {
- await q(iA, { organizeTemplates: e });
+ await q(nA, { organizeTemplates: e });
} catch {}
}
-var dA = (e, t) => e && {
+var lA = (e, t) => e && {
...e,
...t
-}, fA = /目录模板|分隔符|盘符|`\.`/;
-function pA(e) {
+}, Aae = /目录模板|分隔符|盘符|`\.`/;
+function uA(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var mA = (e) => Number(e || 0).toLocaleString();
-function hA(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${mA(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${mA(e.counts.change)} 个文件会改名或移动,${mA(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var dA = (e) => Number(e || 0).toLocaleString();
+function jae(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${dA(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${dA(e.counts.change)} 个文件会改名或移动,${dA(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function gA(e) {
+function fA(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${mA(r)} 个文件${n ? `,${mA(n)} 行未能退回` : ""}。` : `已整理 ${mA(r)} 个文件${n ? `,${mA(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${dA(r)} 个文件${n ? `,${dA(n)} 行未能退回` : ""}。` : `已整理 ${dA(r)} 个文件${n ? `,${dA(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var _A = "/api/resource-sync/scan", vA = "/api/resource-sync/apply", yA = ["resource-sync", "scan"], bA = ["resource-sync", "apply"], xA = (e) => q(_A, {
+var pA = "/api/resource-sync/scan", mA = "/api/resource-sync/apply", hA = ["resource-sync", "scan"], gA = ["resource-sync", "apply"], _A = (e) => q(pA, {
background: !0,
status_only: !0
-}, "POST", e), Dae = () => q(_A, {
+}, "POST", e), Mae = () => q(pA, {
background: !0,
restart: !0
-}), SA = (e) => ww(vA, e), Oae = (e) => q(vA, {
+}), vA = (e) => Nw(mA, e), Nae = (e) => q(mA, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), CA = (e) => (e?.sources ?? []).some((e) => $ie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function kae(e) {
- CA(X.getQueryData(FO)) && await Promise.all([X.fetchQuery({
- queryKey: yA,
- queryFn: () => xA(e)
+}), yA = (e) => (e?.sources ?? []).some((e) => eae.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Pae(e) {
+ yA(X.getQueryData(FO)) && await Promise.all([X.fetchQuery({
+ queryKey: hA,
+ queryFn: () => _A(e)
}), X.fetchQuery({
- queryKey: bA,
- queryFn: () => SA(e)
+ queryKey: gA,
+ queryFn: () => vA(e)
})]);
}
-var Aae = (e) => !!(e?.missing || e?.empty || e?.cache?.files), jae = {
+var Fae = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Iae = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, wA = (e) => Number(e || 0).toLocaleString(), Mae = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Nae = (e) => `将永久删除文件已不在盘上的 ${wA(e.missing)} 条记录和 ${wA(e.empty)} 个空文件夹,并清理 ${wA(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Pae = (e) => `将永久删除文件已不在盘上的 ${wA(e.missing)} 条记录(含回收站里的)、${wA(e.empty)} 个空文件夹,并清理 ${wA(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Fae = (e) => e.online ? [
- `找不到文件 · 共 ${wA(e.total)} 项`,
- e.empty ? `空文件夹 ${wA(e.empty)} 个` : "",
- e.unreadable ? `${wA(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${wA(e.total)} 项`;
-function TA(e) {
+}, bA = (e) => Number(e || 0).toLocaleString(), Lae = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Rae = (e) => `将永久删除文件已不在盘上的 ${bA(e.missing)} 条记录和 ${bA(e.empty)} 个空文件夹,并清理 ${bA(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, zae = (e) => `将永久删除文件已不在盘上的 ${bA(e.missing)} 条记录(含回收站里的)、${bA(e.empty)} 个空文件夹,并清理 ${bA(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Bae = (e) => e.online ? [
+ `找不到文件 · 共 ${bA(e.total)} 项`,
+ e.empty ? `空文件夹 ${bA(e.empty)} 个` : "",
+ e.unreadable ? `${bA(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${bA(e.total)} 项`;
+function xA(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${wA(t.length)} 条记录没有删除(${o})` : "",
- n ? `${wA(n)} 个文件夹没有删除` : "",
- r.length ? `${wA(r.length)} 个缓存没有清理` : ""
+ t.length ? `${bA(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${bA(n)} 个文件夹没有删除` : "",
+ r.length ? `${bA(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Iae = (e, t) => {
- let { rest: n } = TA(e), r = `已永久删除 ${wA(e.purged)} 条失效记录和 ${wA(e.dirs_removed)} 个空文件夹,清理 ${wA(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+var Vae = (e, t) => {
+ let { rest: n } = xA(e), r = `已永久删除 ${bA(e.purged)} 条失效记录和 ${bA(e.dirs_removed)} 个空文件夹,清理 ${bA(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Lae = "/api/review?counts=1", EA = ["review", "counts"], Rae = "/api/ads?limit=1", DA = ["junk-summary"], OA = "/api/items?state=trash&limit=1", kA = ["trash-summary"], zae = [
+}, Hae = "/api/review?counts=1", SA = ["review", "counts"], Uae = "/api/ads?limit=1", CA = ["junk-summary"], wA = "/api/items?state=trash&limit=1", TA = ["trash-summary"], Wae = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], AA = (e) => ww(Lae, e), jA = (e) => ww(Rae, e), MA = (e) => {
+], EA = (e) => Nw(Hae, e), DA = (e) => Nw(Uae, e), OA = (e) => {
let t = sessionStorage.getItem("peach.library");
- return ww(t ? `${OA}&library=${encodeURIComponent(t)}` : OA, e);
-}, NA = (e) => Number(e || 0).toLocaleString();
-function Bae(e) {
- let t = wk, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return Nw(t ? `${wA}&library=${encodeURIComponent(t)}` : wA, e);
+}, kA = (e) => Number(e || 0).toLocaleString();
+function Gae(e) {
+ let t = Sk, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function Vae(e) {
+function Kae(e) {
if (!e) return "";
- let t = zae.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${NA(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${NA(e.dismissed_total)}`), t.join(" · ");
-}
-var Hae = [
- [EA, ({ signal: e }) => AA(e)],
- [dk, ({ signal: e }) => fk(e)],
- [kA, ({ signal: e }) => MA(e)],
- [Vk, ({ signal: e }) => Kk(e)],
- [Hk, ({ signal: e }) => qk(e)],
- [Uk, ({ signal: e }) => Yk(e)]
+ let t = Wae.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${kA(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${kA(e.dismissed_total)}`), t.join(" · ");
+}
+var qae = [
+ [SA, ({ signal: e }) => EA(e)],
+ [pk, ({ signal: e }) => mk(e)],
+ [TA, ({ signal: e }) => OA(e)],
+ [zk, ({ signal: e }) => Wk(e)],
+ [Bk, ({ signal: e }) => Gk(e)],
+ [Vk, ({ signal: e }) => qk(e)]
];
-async function Uae(e) {
- let t = location.hash === "#resource-sync", n = Hae.map(([n, r]) => {
+async function Jae(e) {
+ let t = location.hash === "#resource-sync", n = qae.map(([n, r]) => {
if (t) return X.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -33141,49 +33141,49 @@ async function Uae(e) {
await Promise.all([
...n,
X.fetchQuery({
- queryKey: DA,
- queryFn: () => jA(e)
+ queryKey: CA,
+ queryFn: () => DA(e)
}),
X.fetchQuery({
- queryKey: RO,
- queryFn: () => zO(e)
+ queryKey: zO,
+ queryFn: () => BO(e)
}),
- LO(e).then(() => kae(e)),
+ LO(e).then(() => Pae(e)),
YO(e),
- dae(e),
- sA(e)
+ ck(e),
+ aA(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var Wae = [
+var Yae = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Gae = [
+], Xae = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function PA(e = {}) {
- return `${Mw({
+function AA(e = {}) {
+ return `${Vw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var FA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
-function IA({ interactive: e = !1 } = {}) {
- return Mw({
+var jA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
+function MA({ interactive: e = !1 } = {}) {
+ return Vw({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Kae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function LA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Zae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function NA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -33216,13 +33216,13 @@ function LA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function RA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function PA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Wae[n % 4]} ${Gae[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Yae[n % 4]} ${Xae[n % 4]}`,
children: /* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -33244,7 +33244,7 @@ function RA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var zA = _w({
+var FA = Ew({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33268,15 +33268,15 @@ var zA = _w({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function BA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = gw(zA.base, zA.size[t], zA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+function IA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = Tw(FA.base, FA.size[t], FA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: zA.icon[t],
+ className: FA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, L.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: zA.icon[t],
+ className: FA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -33303,7 +33303,7 @@ function BA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var VA = [
+var LA = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -33311,74 +33311,74 @@ var VA = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), qae = "w-[266px]", Jae = "flex w-full flex-col gap-1 outline-none", HA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), UA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), Qae = "w-[266px]", $ae = "flex w-full flex-col gap-1 outline-none", RA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), zA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var Yae = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Xae = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Zae = Mw({
+var eoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", toe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", noe = Vw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), Qae = {
+}), roe = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, $ae = {
+}, ioe = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, eoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", toe = {
+}, aoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", ooe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, noe = Mw({
+}, soe = Vw({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), WA = "border-t border-border-button-default p-4 first:border-t-0";
-function GA({ tone: e = "neutral", status: t, children: n }) {
+}), BA = "border-t border-border-button-default p-4 first:border-t-0";
+function VA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${eoe} ${toe[e]}`,
+ className: `${aoe} ${ooe[e]}`,
children: [t ? /* @__PURE__ */ (0, L.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function KA({ id: e, children: t }) {
+function HA({ id: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function qA({ id: e, gap: t = "none", children: n }) {
+function UA({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function JA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function WA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${Zae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${noe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: Qae[e],
+ className: roe[e],
children: a
}), i ? /* @__PURE__ */ (0, L.jsx)("footer", {
- className: $ae[e],
+ className: ioe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function YA({ className: e }) {
+function coe({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33391,8 +33391,8 @@ function YA({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-open" })
});
}
-var XA = "打开文件管理器失败,请重试";
-function ZA({ path: e, prefix: t, className: n, onRevealed: r }) {
+var loe = "打开文件管理器失败,请重试";
+function GA({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(""), c = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
c.current = !1;
@@ -33403,7 +33403,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 Sw ? e.message : XA);
+ c.current && s(e instanceof jw ? e.message : loe);
} finally {
c.current && a(!1);
}
@@ -33414,10 +33414,10 @@ 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: gw("min-w-0 break-all", n),
+ className: Tw("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: YA,
+ icon: coe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -33432,21 +33432,21 @@ function ZA({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function QA({ className: e, children: t }) {
+function KA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: gw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: Tw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function $A({ className: e, children: t }) {
+function qA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
- className: gw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: Tw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function ej({ label: e, description: t, children: n }) {
+function JA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw("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: Tw("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", {
@@ -33461,14 +33461,14 @@ function ej({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function tj({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function YA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)($A, { children: e })
+ children: /* @__PURE__ */ (0, L.jsx)(qA, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, L.jsx)($A, { children: e }), /* @__PURE__ */ (0, L.jsx)(QA, { children: i })] });
+ }) : /* @__PURE__ */ (0, L.jsx)(qA, { children: e }), /* @__PURE__ */ (0, L.jsx)(KA, { children: i })] });
return r ? /* @__PURE__ */ (0, L.jsx)("form", {
id: t,
"aria-label": e,
@@ -33483,13 +33483,13 @@ function tj({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function nj({ children: e }) {
+function XA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function rj({ divided: e = !1, children: t }) {
+function ZA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -33498,7 +33498,7 @@ function rj({ divided: e = !1, children: t }) {
children: t
});
}
-function ij({ status: e, children: t }) {
+function QA({ status: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -33507,43 +33507,43 @@ function ij({ status: e, children: t }) {
}) : null, t]
});
}
-function aj({ role: e, children: t }) {
+function $A({ role: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function oj({ children: e }) {
+function ej({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function sj({ children: e }) {
+function tj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function cj({ href: e, children: t }) {
- return /* @__PURE__ */ (0, L.jsx)(BA, {
+function nj({ href: e, children: t }) {
+ return /* @__PURE__ */ (0, L.jsx)(IA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: vS,
+ trailingIcon: wS,
children: t
});
}
-function lj({ children: e }) {
+function rj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function uj({ term: e, children: t }) {
+function ij({ term: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
@@ -33555,7 +33555,7 @@ function uj({ term: e, children: t }) {
})]
});
}
-function dj({ summary: e, defaultOpen: t = !1, children: n }) {
+function aj({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, I.useId)(), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(t);
return /* @__PURE__ */ (0, L.jsxs)("details", {
ref: (e) => {
@@ -33565,10 +33565,10 @@ function dj({ summary: e, defaultOpen: t = !1, children: n }) {
"aria-expanded": s,
"aria-controls": r,
onClick: (e) => {
- e.preventDefault(), !(!i.current || !a.current) && (S(i.current, a.current, !s), c(!s));
+ e.preventDefault(), !(!i.current || !a.current) && (C(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)(dS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(_S, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33583,7 +33583,7 @@ function dj({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function fj({ name: e }) {
+function oj({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33592,29 +33592,29 @@ function fj({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function pj({ mark: e }) {
+function sj({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, L.jsx)(fj, { name: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(oj, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function mj({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = Ot({
+function cj({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = kt({
queryKey: qO,
queryFn: ({ signal: e }) => JO(e),
- refetchInterval: (e) => sae(e.state.data, r)
+ refetchInterval: (e) => oae(e.state.data, r)
}), [a, o] = (0, I.useState)(null), s = (0, I.useRef)(void 0), c = i.data;
return (0, I.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && lae(c, e, r);
+ r && o(c), (r || t === "notice") && dae(c, e, r);
}, [
c,
t,
@@ -33627,29 +33627,29 @@ function mj({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var hj = [
+var lj = [
{
label: "扫描并补全资料",
- icon: gS,
+ icon: SS,
command: {}
},
{
label: "只扫描",
- icon: bS,
+ icon: ES,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Qte,
+ icon: qte,
command: { stage: "collect" }
}
-], gj = gw(HA, UA, "text-body-2-medium"), _j = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", vj = (e) => {
+], uj = Tw(RA, zA, "text-body-2-medium"), dj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", fj = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, yj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + vj(e);
-function bj({ busy: e, onRun: t }) {
+}, pj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + fj(e);
+function mj({ busy: e, onRun: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -33658,14 +33658,14 @@ function bj({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: gS,
+ leadingIcon: SS,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: lS,
+ leadingIcon: hS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33680,13 +33680,13 @@ function bj({ busy: e, onRun: t }) {
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: VA,
+ className: LA,
children: /* @__PURE__ */ (0, L.jsx)(jD, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: hj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
+ children: lj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: gj,
+ className: uj,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
@@ -33696,8 +33696,8 @@ function bj({ busy: e, onRun: t }) {
})
})] });
}
-function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = ek(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = QO(e.notes || {}), c = AO();
+function hj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = lae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = cae(e.notes || {}), c = AO();
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33705,7 +33705,7 @@ function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: _j
+ children: dj
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33717,7 +33717,7 @@ function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, L.jsxs)(dj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(aj, {
summary: a.label,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -33748,7 +33748,7 @@ function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(ZA, {
+ children: /* @__PURE__ */ (0, L.jsx)(GA, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33762,13 +33762,13 @@ function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "处理完成",
- children: yj(n)
+ children: pj(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(ZA, {
+ children: /* @__PURE__ */ (0, L.jsx)(GA, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33780,8 +33780,8 @@ function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function Sj(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = mj(e), o = kt({
+function gj(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = cj(e), o = At({
mutationFn: (e) => q(KO, e),
onSuccess: (e) => {
a(), X.setQueryData(qO, e), X.invalidateQueries({ queryKey: qO });
@@ -33790,28 +33790,28 @@ function Sj(e) {
(0, I.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? XO : K(r.error) : "", l = o.isPending || s.status === "running", u = $O(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? QO : K(r.error) : "", l = o.isPending || s.status === "running", u = ek(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(JA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(WA, {
layout: "split",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(BA, {
+ /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/scraping",
size: "small",
- trailingIcon: uS,
+ trailingIcon: gS,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, L.jsx)(BA, {
+ s.candidates ? /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/review",
size: "small",
- trailingIcon: uS,
+ trailingIcon: gS,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, L.jsx)(bj, {
+ /* @__PURE__ */ (0, L.jsx)(mj, {
busy: l,
onRun: d
})
@@ -33819,14 +33819,14 @@ function Sj(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(qA, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, L.jsx)(UA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Yae
+ children: eoe
}),
s.status === "running" ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-1.5",
- children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zw, {
+ children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: u,
value: s.checked || 0,
max: s.total
@@ -33840,11 +33840,11 @@ function Sj(e) {
s.total,
" 个视频"
]
- })] }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: u })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: u })
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(xj, {
+ }), /* @__PURE__ */ (0, L.jsx)(hj, {
state: s,
problem: c,
settled: i,
@@ -33860,7 +33860,7 @@ function Sj(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Cj(e) {
+function _j(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33874,7 +33874,7 @@ function Cj(e) {
})
});
}
-function wj(e) {
+function vj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -33888,7 +33888,7 @@ function wj(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Tj(e, t, n) {
+function yj(e, t, n) {
(0, I.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -33902,7 +33902,7 @@ function Tj(e, t, n) {
n
]);
}
-function Ej(e, t) {
+function bj(e, t) {
let n = (0, I.useRef)(!1);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -33916,33 +33916,33 @@ function Ej(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Dj = (0, I.createContext)("md");
-function Oj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var xj = (0, I.createContext)("md");
+function Sj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, I.useRef)(null), u = (0, I.useRef)(null), [d, f] = (0, I.useState)(!1);
- Tj(d, () => f(!1), [l, u]);
- let p = Ej(d, l);
- return /* @__PURE__ */ (0, L.jsx)(Kre, {
+ yj(d, () => f(!1), [l, u]);
+ let p = bj(d, l);
+ return /* @__PURE__ */ (0, L.jsx)(qre, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: gw("group flex flex-col", e),
+ className: Tw("group flex flex-col", e),
children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)($T, {
ref: l,
- className: gw("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)(Yre, {
- className: gw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: Tw("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)(Xre, {
+ className: Tw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(Cj, { className: gw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(_j, { className: Tw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, L.jsx)(bD, {
ref: u,
isNonModal: !0,
offset: 4,
- className: gw(qae, VA, "p-2", n),
- children: /* @__PURE__ */ (0, L.jsx)(pre, {
+ className: Tw(Qae, LA, "p-2", n),
+ children: /* @__PURE__ */ (0, L.jsx)(mre, {
items: a,
- className: gw(Jae, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, L.jsx)(Dj.Provider, {
+ className: Tw($ae, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, L.jsx)(xj.Provider, {
value: r,
children: i
})
@@ -33950,30 +33950,30 @@ function Oj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function kj({ className: e, children: t, ...n }) {
- let r = (0, I.useContext)(Dj);
- return /* @__PURE__ */ (0, L.jsx)(gre, {
+function Cj({ className: e, children: t, ...n }) {
+ let r = (0, I.useContext)(xj);
+ return /* @__PURE__ */ (0, L.jsx)(_re, {
...n,
- className: (t) => gw(HA, 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) => Tw(RA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var Aj = 2e3, jj = (e) => e, Mj = (e, t) => t;
-function Nj(e) {
- let { queryKey: t, jobOf: n = jj, withJob: r = Mj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
+var wj = 2e3, Tj = (e) => e, Ej = (e, t) => t;
+function Dj(e) {
+ let { queryKey: t, jobOf: n = Tj, withJob: r = Ej, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
(0, I.useEffect)(() => {
l.current = e;
});
- let u = Ot({
+ let u = kt({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? Aj : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? wj : i ?? !1;
}
- }), d = kt({
+ }), d = At({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
o(!0), c(null), l.current.onStarted?.(e), X.setQueryData(t, (t) => r(t, e)), X.invalidateQueries({
@@ -34002,32 +34002,32 @@ function Nj(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Pj = (e) => p[e] || e, Fj = (e) => X.setQueryData(ik, e);
-function Ij() {
- let e = Ot({
- queryKey: ik,
+var Oj = (e) => p[e] || e, kj = (e) => X.setQueryData(rk, e);
+function Aj() {
+ let e = kt({
+ queryKey: rk,
queryFn: ({ signal: e }) => ok(e),
- refetchInterval: (e) => e.state.data?.status === "running" && Aj
- }), t = Ot({
- queryKey: ak,
+ refetchInterval: (e) => e.state.data?.status === "running" && wj
+ }), t = kt({
+ queryKey: ik,
queryFn: ({ signal: e }) => sk(e)
- }), [n, r] = (0, I.useState)(""), i = Bw(), a = e.data ?? uae, 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 = Yw(), a = e.data ?? ak, 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 && h({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => Fj(await q(rk, {
+ onConfirm: async () => kj(await q(nk, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => q(rk, { stop: !0 }, "POST", e), Fj), d = fae(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => q(nk, { stop: !0 }, "POST", e), kj), d = uk(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(JA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(WA, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
+ footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -34035,10 +34035,10 @@ function Ij() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(kj, {
+ children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(Cj, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: Pj(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: Oj(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: u,
@@ -34052,12 +34052,12 @@ function Ij() {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(qA, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, L.jsx)(UA, { children: "媒体修复" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Xae
+ children: toe
}),
- s && a.total ? /* @__PURE__ */ (0, L.jsx)(zw, {
+ s && a.total ? /* @__PURE__ */ (0, L.jsx)(Jw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -34081,7 +34081,7 @@ function Ij() {
f && a.missing_tool ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: lk(a)
+ children: dk(a)
}) : null,
p ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34093,7 +34093,7 @@ function Ij() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var Lj = {
+var jj = {
md: {
box: "size-4",
glyph: "size-4",
@@ -34107,11 +34107,11 @@ var Lj = {
gap: "gap-1.5"
}
};
-function Rj({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Lj[t], c = n || r, l = o && !a;
+function Mj({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = jj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: gw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? gw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : gw("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: Tw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Tw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Tw("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",
@@ -34135,36 +34135,36 @@ function Rj({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function zj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = Lj[n];
- return /* @__PURE__ */ (0, L.jsx)(tre, {
+function Nj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = jj[n];
+ return /* @__PURE__ */ (0, L.jsx)(nre, {
ref: r,
...i,
- className: (t) => gw("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)(Rj, {
+ className: (t) => Tw("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)(Mj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: gw(a.label, "text-text-primary"),
+ className: Tw(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function Bj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function Pj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: gw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, L.jsx)(lie, {
+ className: Tw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, L.jsx)(uie, {
ref: r,
...i,
- className: gw("bui-table", e === "sm" && "bui-table-sm", t)
+ className: Tw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var Vj = [
+var Fj = [
"a",
"button",
"input",
@@ -34177,15 +34177,15 @@ var Vj = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function Hj(e, t) {
+function Ij(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Vj);
+ let r = n.closest(Fj);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function Uj({ children: e, follow: t = !1, onRowClick: n }) {
+function Lj({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -34193,15 +34193,15 @@ function Uj({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && Hj(e, r) && n(r.dataset.key);
+ r && Ij(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Wj = kT("unlink"), Gj = kT("rotate-cw"), Kj = "站点返回 404 或 410,确认这个地址不存在。", qj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Jj = "删除前会逐条重验一次;此操作不可撤销。", Yj = "暂时无法读取进度,正在重新连接…", Xj = (e) => Number(e || 0).toLocaleString();
-function Zj({ label: e, value: t, note: n }) {
+var Rj = kT("unlink"), zj = kT("rotate-cw"), Bj = "站点返回 404 或 410,确认这个地址不存在。", Vj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Hj = "删除前会逐条重验一次;此操作不可撤销。", Uj = "暂时无法读取进度,正在重新连接…", Wj = (e) => Number(e || 0).toLocaleString();
+function Gj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -34220,11 +34220,11 @@ function Zj({ label: e, value: t, note: n }) {
]
});
}
-function Qj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function Kj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: WA,
+ className: BA,
children: [
/* @__PURE__ */ (0, L.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -34237,13 +34237,13 @@ function Qj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, L.jsx)(Uj, { children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ /* @__PURE__ */ (0, L.jsx)(Lj, { children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": e,
size: "sm",
children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [
i ? /* @__PURE__ */ (0, L.jsx)(nO, {
id: "pick",
- children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -34275,14 +34275,14 @@ function Qj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(sO, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ i ? /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
/* @__PURE__ */ (0, L.jsx)(lO, { children: e.entity }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: Wk[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: Hk[e.link_kind] || e.link_kind }),
/* @__PURE__ */ (0, L.jsx)(lO, { children: e.label || "" }),
/* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-text-error-primary",
@@ -34298,7 +34298,7 @@ function Qj({ 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)(vS, {
+ }), /* @__PURE__ */ (0, L.jsx)(wS, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34310,40 +34310,40 @@ function Qj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function $j({ line: e, value: t, total: n }) {
+function qj({ line: e, value: t, total: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: `${WA} flex flex-col gap-1.5`,
- children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zw, {
+ className: `${BA} flex flex-col gap-1.5`,
+ children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: e,
value: t || 0,
max: n
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: e })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: e })
});
}
-function eM() {
- let e = Ot({
+function Jj() {
+ let e = kt({
+ queryKey: zk,
+ queryFn: ({ signal: e }) => Wk(e)
+ }), [t, n] = (0, I.useState)([]), r = Dj({
queryKey: Vk,
- queryFn: ({ signal: e }) => Kk(e)
- }), [t, n] = (0, I.useState)([]), r = Nj({
- queryKey: Uk,
- queryFn: ({ signal: e }) => Yk(e),
- start: Xk,
+ queryFn: ({ signal: e }) => qk(e),
+ start: Jk,
onFinish: () => {
X.invalidateQueries({
- queryKey: Vk,
+ queryKey: zk,
exact: !0
}), X.invalidateQueries({
- queryKey: Hk,
+ queryKey: Bk,
exact: !0
});
}
- }), i = Nj({
- queryKey: Hk,
- queryFn: ({ signal: e }) => qk(e),
- start: Jk,
+ }), i = Dj({
+ queryKey: Bk,
+ queryFn: ({ signal: e }) => Gk(e),
+ start: Kk,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -34373,7 +34373,7 @@ function eM() {
else if (v) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "完成",
- children: Qk(v)
+ children: Xk(v)
});
else if (y) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34383,7 +34383,7 @@ function eM() {
else if (i.query.isError && a) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: Yj
+ children: Uj
});
else if (a?.status === "failed") b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34393,48 +34393,48 @@ function eM() {
else if (a && a.status !== "idle") {
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
b = /* @__PURE__ */ (0, L.jsxs)("div", {
- className: noe,
+ className: soe,
children: [
- a.status === "running" ? /* @__PURE__ */ (0, L.jsx)($j, {
- line: $k(a),
+ a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(qj, {
+ line: Zk(a),
value: a.checked,
total: a.total
}) : null,
- c ? /* @__PURE__ */ (0, L.jsx)($j, {
+ c ? /* @__PURE__ */ (0, L.jsx)(qj, {
line: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
total: r.job?.total
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Qj, {
+ /* @__PURE__ */ (0, L.jsx)(Kj, {
title: "地址已失效",
items: u,
- hint: Kj
+ hint: Bj
}),
- /* @__PURE__ */ (0, L.jsx)(Qj, {
+ /* @__PURE__ */ (0, L.jsx)(Kj, {
title: "本次未访问成功",
items: d,
- hint: qj,
+ hint: Vj,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, L.jsxs)(GA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Gj,
+ children: /* @__PURE__ */ (0, L.jsxs)(VA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ leadingIcon: zj,
disabled: !t.length,
...Y(s),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Gj,
+ leadingIcon: zj,
...Y(s),
onClick: () => g(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, L.jsx)(GA, {
+ l && u.length ? /* @__PURE__ */ (0, L.jsx)(VA, {
tone: "error",
- status: Jj,
+ status: Hj,
children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "danger",
...Y(c),
@@ -34443,7 +34443,7 @@ function eM() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, L.jsx)("p", {
- className: `${WA} text-body-regular text-notification-success-foreground`,
+ className: `${BA} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -34454,20 +34454,20 @@ function eM() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, L.jsxs)(JA, {
+ /* @__PURE__ */ (0, L.jsxs)(WA, {
layout: "split",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Wj,
+ leadingIcon: Rj,
...Y(s),
onClick: () => g(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
- children: [/* @__PURE__ */ (0, L.jsx)(qA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(UA, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -34477,13 +34477,13 @@ function eM() {
children: K(e.error)
}) : p ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, L.jsx)(Zj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Gj, {
label: "链接总数",
- value: Xj(p.total),
- note: `分布在 ${Xj(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Zj, {
- label: Wk[e] || e,
- value: Xj(t)
+ value: Wj(p.total),
+ note: `分布在 ${Wj(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gj, {
+ label: Hk[e] || e,
+ value: Wj(t)
}, e))]
}), m ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -34506,11 +34506,11 @@ function eM() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function tM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsxs)(Jne, {
+function Yj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsxs)(Yne, {
"data-label": "true",
...a,
- className: gw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: Tw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -34518,7 +34518,7 @@ function tM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, L.jsx)(ene, {
+ n && /* @__PURE__ */ (0, L.jsx)(kS, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34527,33 +34527,33 @@ function tM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function nM({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, L.jsx)(Qne, {
+function Xj({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, L.jsx)($ne, {
slot: e ? "errorMessage" : "description",
...n,
- className: gw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: Tw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var rM = (0, I.createContext)({});
-function iM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(rM.Provider, {
+var Zj = (0, I.createContext)({});
+function Qj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Zj.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, L.jsx)(Fie, {
+ children: /* @__PURE__ */ (0, L.jsx)(Iie, {
...a,
"data-input-size": e,
- className: gw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: Tw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-iM.displayName = "TextField";
-var aM = _w({
+Qj.displayName = "TextField";
+var $j = Ew({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34582,44 +34582,44 @@ var aM = _w({
].join(" "),
icon: "size-5 shrink-0"
});
-function oM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, I.useContext)(rM), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, L.jsx)(rre, {
+function eM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, I.useContext)(Zj), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, L.jsx)(ire, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => gw(aM.field, d ? aM.fieldWithAddonSize[u] : aM.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 }) => Tw($j.field, d ? $j.fieldWithAddonSize[u] : $j.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: aM.content,
+ className: $j.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: aM.leftSection,
+ className: $j.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, L.jsx)(t, {
- className: aM.icon,
+ className: $j.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, L.jsx)(are, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(ore, {
ref: o,
...c,
- className: gw(aM.input, l.inputClassName, a)
+ className: Tw($j.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: aM.icon,
+ className: $j.icon,
"aria-hidden": !0
}) : null]
})
});
}
-oM.displayName = "InputBase";
-function sM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, L.jsx)(iM, {
+eM.displayName = "InputBase";
+function tM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, L.jsx)(Qj, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- e && /* @__PURE__ */ (0, L.jsx)(tM, {
+ e && /* @__PURE__ */ (0, L.jsx)(Yj, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(oM, {
+ /* @__PURE__ */ (0, L.jsx)(eM, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34628,28 +34628,28 @@ function sM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, L.jsx)(nM, {
+ t && /* @__PURE__ */ (0, L.jsx)(Xj, {
isInvalid: d,
children: t
})
] })
});
}
-sM.displayName = "Input";
+tM.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var cM = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, lM = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", uM = 8;
-function roe({ plan: e }) {
+var nM = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, rM = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", iM = 8;
+function aM({ plan: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, uM).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: e.rows.slice(0, iM).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: pA(e.current_path)
+ children: uA(e.current_path)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -34659,7 +34659,7 @@ function roe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: pA(e.target_path)
+ children: uA(e.target_path)
})
]
}, e.current_path))
@@ -34668,10 +34668,10 @@ function roe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function ioe({ toast: t, failure: n }) {
- let r = Ot({
- queryKey: aA,
- queryFn: ({ signal: e }) => oA(e)
+function oM({ toast: t, failure: n }) {
+ let r = kt({
+ queryKey: rA,
+ queryFn: ({ signal: e }) => iA(e)
}), i = r.data, a = i?.locations ?? [], [o, s] = (0, I.useState)(""), c = a.some((e) => e.location === o) ? o : a[0]?.location ?? "", l = i?.templates?.[c], [u, d] = (0, I.useState)(null), f = u?.location === c ? u : {
location: c,
file: l?.file ?? "",
@@ -34683,9 +34683,9 @@ function ioe({ toast: t, failure: n }) {
location: c,
file_template: f.file.trim(),
dir_template: f.dir.trim()
- }), x = kt({
- mutationFn: cA,
- onSuccess: (e, t) => void uA({
+ }), x = At({
+ mutationFn: oA,
+ onSuccess: (e, t) => void cA({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34693,29 +34693,29 @@ function ioe({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = fA.test(K(e)) ? "dir" : "file";
+ let t = Aae.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
- }), S = Nj({
- queryKey: aA,
- queryFn: ({ signal: e }) => oA(e),
- start: lA,
+ }), S = Dj({
+ queryKey: rA,
+ queryFn: ({ signal: e }) => iA(e),
+ start: sA,
jobOf: (e) => e,
- withJob: dA,
+ withJob: lA,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: aA,
+ queryKey: rA,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = gA(e);
+ let { text: r, failed: i } = fA(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), C = S.running || S.start.isPending, w = x.data, T = Number(w?.counts?.change || 0), E = e[c] || c, D = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), O = () => {
x.isPending || !c || (_(null), x.mutate(b()));
}, k = () => void h({
title: "按模板整理文件",
- body: cM(E),
+ body: nM(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -34723,7 +34723,7 @@ function ioe({ toast: t, failure: n }) {
})
}), A = () => void h({
title: "回滚上一批整理",
- body: lM,
+ body: rM,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
@@ -34731,7 +34731,7 @@ function ioe({ toast: t, failure: n }) {
let e = M.message || M.stage || "正在整理文件…";
j = M.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(zw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: e,
value: M.checked || 0,
max: M.total
@@ -34739,14 +34739,14 @@ function ioe({ toast: t, failure: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: e });
} else if (N?.status === "failed") j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "任务失败",
children: N.error || "任务失败"
});
else if (N) {
- let { text: e, failed: t } = gA(N);
+ let { text: e, failed: t } = fA(N);
j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -34756,16 +34756,16 @@ function ioe({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "模板不可用",
children: K(x.error)
}) : w && (j = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: hA(w)
- }), T ? /* @__PURE__ */ (0, L.jsx)(roe, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, L.jsxs)(JA, {
+ children: jae(w)
+ }), T ? /* @__PURE__ */ (0, L.jsx)(aM, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, L.jsxs)(WA, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -34789,7 +34789,7 @@ function ioe({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, L.jsx)(qA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -34809,20 +34809,20 @@ function ioe({ toast: t, failure: n }) {
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, L.jsx)(Oj, {
+ a.length ? /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), _(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(kj, {
+ children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(Cj, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: p[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: p[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -34833,7 +34833,7 @@ function ioe({ toast: t, failure: n }) {
m({ file: e }), _(null);
}
}),
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -34873,91 +34873,91 @@ function ioe({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var aoe = kT("git-compare"), ooe = kT("rotate-cw"), soe = "暂时无法读取进度,正在重新连接…", dM = "清理失效条目", fM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", pM = (e) => Number(e || 0).toLocaleString();
-function coe({ scan: e }) {
+var sM = kT("git-compare"), uoe = kT("rotate-cw"), doe = "暂时无法读取进度,正在重新连接…", cM = "清理失效条目", lM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", uM = (e) => Number(e || 0).toLocaleString();
+function foe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: fM,
+ className: lM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, L.jsx)("article", {
- className: IA(),
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
- label: jae[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, L.jsx)(pj, { mark: p[e.location] ?? "database" }),
+ className: MA(),
+ children: /* @__PURE__ */ (0, L.jsx)(NA, {
+ label: Iae[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, L.jsx)(sj, { mark: p[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, L.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${pM(e.missing)} 项` : "—",
- meta: Fae(e),
+ figure: e.online ? `${uM(e.missing)} 项` : "—",
+ meta: Bae(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: fM,
+ className: lM,
children: [
/* @__PURE__ */ (0, L.jsx)("article", {
- className: IA(),
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ className: MA(),
+ children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: "待永久删除",
- figure: `${pM(e.missing)} 项`,
+ figure: `${uM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: IA(),
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ className: MA(),
+ children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: "空文件夹",
- figure: `${pM(e.empty)} 个`,
+ figure: `${uM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: IA(),
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ className: MA(),
+ children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: "可清理的缓存",
- figure: `${pM(t.files)} 个`,
+ figure: `${uM(t.files)} 个`,
meta: t.files ? a(t.bytes) : ""
})
})
]
})] });
}
-function loe({ toast: e }) {
- let t = Nj({
- queryKey: bA,
- queryFn: ({ signal: e }) => SA(e),
- start: Oae,
+function poe({ toast: e }) {
+ let t = Dj({
+ queryKey: gA,
+ queryFn: ({ signal: e }) => vA(e),
+ start: Nae,
onFinish: (t) => {
if (X.invalidateQueries({
- queryKey: kA,
+ queryKey: TA,
exact: !0
}), X.invalidateQueries({
- queryKey: yA,
+ queryKey: hA,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = TA(t);
- r ? e(`已完成 ${pM(n)} 项,${pM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = xA(t);
+ r ? e(`已完成 ${uM(n)} 项,${uM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = Nj({
- queryKey: yA,
- queryFn: ({ signal: e }) => xA(e),
- start: Dae,
+ }), n = Dj({
+ queryKey: hA,
+ queryFn: ({ signal: e }) => _A(e),
+ start: Mae,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, o = t.running || t.start.isPending, s = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : s ? "重新扫描" : "检查文件", l = (e) => void h({
- title: dM,
- body: Pae(e),
- confirmLabel: dM,
+ title: cM,
+ body: zae(e),
+ confirmLabel: cM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = TA(e).left > 0;
+ let t = xA(e).left > 0;
return /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Iae(e, a)
+ children: Vae(e, a)
});
}, f = null;
if (u?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
@@ -34966,7 +34966,7 @@ function loe({ toast: e }) {
children: u.error || "任务失败"
});
else if (u) f = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(Fw, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(Ww, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34975,20 +34975,20 @@ function loe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: soe
+ children: doe
});
else if (r?.status === "running") {
- let e = Mae(r);
+ let e = Lae(r);
f = /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
- children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zw, {
+ children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: e,
value: r.completed_sources || 0,
max: r.total_sources
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在检查本地磁盘和网盘…" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在检查本地磁盘和网盘…" })
});
} else if (r?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -35001,13 +35001,13 @@ function loe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Aae(r);
+ let e = Fae(r);
f = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(coe, { scan: r }),
+ /* @__PURE__ */ (0, L.jsx)(foe, { scan: r }),
e ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: Nae(r)
+ children: Rae(r)
}) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -35015,7 +35015,7 @@ function loe({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => l(r),
- children: o ? "正在复核并清理…" : dM
+ children: o ? "正在复核并清理…" : cM
}) : /* @__PURE__ */ (0, L.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -35032,23 +35032,23 @@ function loe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(KA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, L.jsxs)(JA, {
+ /* @__PURE__ */ (0, L.jsxs)(WA, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !i ? ooe : aoe,
+ leadingIcon: s && !i ? uoe : sM,
...Y(i),
onClick: () => {
i || n.start.mutate();
},
children: c
}),
- children: [/* @__PURE__ */ (0, L.jsx)(qA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(UA, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -35067,16 +35067,16 @@ function loe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function mM(e, t) {
+function dM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function hM({ section: e, label: t, icon: n, value: r, open: i }) {
+function fM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: IA({ interactive: !0 }),
+ className: MA({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ children: /* @__PURE__ */ (0, L.jsx)(NA, {
label: t,
icon: n,
figure: r.figure,
@@ -35084,80 +35084,80 @@ function hM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var uoe = kT("square-check-big"), doe = kT("sparkles"), foe = kT("file-stack"), poe = kT("file-archive"), moe = kT("trash"), hoe = [
- EA,
- dk,
- RO
-], goe = () => {
- for (let e of hoe) X.invalidateQueries({
+var moe = kT("square-check-big"), hoe = kT("sparkles"), goe = kT("file-stack"), _oe = kT("file-archive"), voe = kT("trash"), yoe = [
+ SA,
+ pk,
+ zO
+], boe = () => {
+ for (let e of yoe) X.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function _oe({ toast: e, failure: t, open: n }) {
- let r = Ot({
- queryKey: EA,
- queryFn: ({ signal: e }) => AA(e)
- }), i = Ot({
- queryKey: dk,
- queryFn: ({ signal: e }) => fk(e)
- }), o = Ot({
- queryKey: RO,
- queryFn: ({ signal: e }) => zO(e)
- }), s = Ot({
- queryKey: DA,
- queryFn: ({ signal: e }) => jA(e)
- }), c = Ot({
- queryKey: kA,
- queryFn: ({ signal: e }) => MA(e)
- }), l = Ot({
+function xoe({ toast: e, failure: t, open: n }) {
+ let r = kt({
+ queryKey: SA,
+ queryFn: ({ signal: e }) => EA(e)
+ }), i = kt({
+ queryKey: pk,
+ queryFn: ({ signal: e }) => mk(e)
+ }), o = kt({
+ queryKey: zO,
+ queryFn: ({ signal: e }) => BO(e)
+ }), s = kt({
+ queryKey: CA,
+ queryFn: ({ signal: e }) => DA(e)
+ }), c = kt({
+ queryKey: TA,
+ queryFn: ({ signal: e }) => OA(e)
+ }), l = kt({
queryKey: FO,
queryFn: ({ signal: e }) => IO(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Kae,
+ className: Zae,
children: [
- /* @__PURE__ */ (0, L.jsx)(hM, {
+ /* @__PURE__ */ (0, L.jsx)(fM, {
section: "review",
label: "人工复核",
- icon: uoe,
+ icon: moe,
open: n,
- value: mM(r, Bae)
+ value: dM(r, Gae)
}),
- /* @__PURE__ */ (0, L.jsx)(hM, {
+ /* @__PURE__ */ (0, L.jsx)(fM, {
section: "quality",
label: "高清版",
- icon: doe,
+ icon: hoe,
open: n,
- value: mM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: dM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, L.jsx)(hM, {
+ /* @__PURE__ */ (0, L.jsx)(fM, {
section: "duplicates",
label: "重复文件",
- icon: foe,
+ icon: goe,
open: n,
- value: mM(o, (e) => Number(e.total || 0) ? {
+ value: dM(o, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${a(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, L.jsx)(hM, {
+ /* @__PURE__ */ (0, L.jsx)(fM, {
section: "ads",
label: "垃圾文件",
- icon: poe,
+ icon: _oe,
open: n,
- value: mM(s, (e) => ({
+ value: dM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Vae(e)
+ meta: Kae(e)
}))
}),
- /* @__PURE__ */ (0, L.jsx)(hM, {
+ /* @__PURE__ */ (0, L.jsx)(fM, {
section: "trash",
label: "回收站",
- icon: moe,
+ icon: voe,
open: n,
- value: mM(c, (e) => ({
+ value: dM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${a(e.bytes || 0)}` : ""
}))
@@ -35170,29 +35170,29 @@ function _oe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, L.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, L.jsx)(Sj, {
+ children: /* @__PURE__ */ (0, L.jsx)(gj, {
toast: u,
monitor: !0,
- onComplete: goe
+ onComplete: boe
})
}),
/* @__PURE__ */ (0, L.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, L.jsx)(Ij, {})
+ children: /* @__PURE__ */ (0, L.jsx)(Aj, {})
}),
- /* @__PURE__ */ (0, L.jsx)(ioe, {
+ /* @__PURE__ */ (0, L.jsx)(oM, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(eM, {}),
- CA(l.data) ? /* @__PURE__ */ (0, L.jsx)(loe, { toast: e }) : null
+ /* @__PURE__ */ (0, L.jsx)(Jj, {}),
+ yA(l.data) ? /* @__PURE__ */ (0, L.jsx)(poe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function gM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function pM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -35219,7 +35219,7 @@ function gM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function _M(e) {
+function mM(e) {
(0, I.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35237,9 +35237,9 @@ function _M(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function voe({ title: e, children: t }) {
+function Soe({ title: e, children: t }) {
let n = (0, I.useRef)(null);
- return _M(n), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return mM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35252,44 +35252,51 @@ function voe({ title: e, children: t }) {
}), t]
});
}
-function yoe({ label: e, topLabel: t, top: n, bottom: r }) {
- let i = (0, I.useRef)(null);
- return _M(i), /* @__PURE__ */ (0, L.jsxs)("div", {
- ref: i,
+function hM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+ let d = (0, I.useRef)(null);
+ return mM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
+ ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
- className: "sticky top-topbar z-10 mb-5.5 flex flex-col",
- children: [/* @__PURE__ */ (0, L.jsx)("div", {
- role: "group",
- "aria-label": t,
- "data-filter-row": "top",
- className: "flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2",
- children: n
- }), /* @__PURE__ */ (0, L.jsx)("div", {
- "data-filter-row": "bottom",
- className: "flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2",
- children: r
- })]
+ ...c,
+ className: Tw("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: Tw("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: Tw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ children: r
+ })
+ ]
});
}
-var boe = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function xoe({ children: e, pressed: t, onPress: n, ...r }) {
+var Coe = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function gM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- ...r,
+ ...i,
"aria-pressed": t,
- className: boe,
+ className: Tw(Coe, r),
onClick: n,
children: e
});
}
-var Soe = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function vM({ children: e, onPress: t, busy: n = !1 }) {
+var woe = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function _M({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: Soe,
+ className: woe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -35300,29 +35307,29 @@ function vM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var Coe = kT("play"), woe = kT("file-stack"), Toe = Mw({
+var Toe = kT("play"), Eoe = kT("file-stack"), Doe = Vw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), yM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", bM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", xM = "font-mono text-caption-1-regular leading-5 text-text-secondary", SM = () => {
+}), vM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", yM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", bM = "font-mono text-caption-1-regular leading-5 text-text-secondary", xM = () => {
X.invalidateQueries({
- queryKey: RO,
+ queryKey: zO,
exact: !0
}), X.invalidateQueries({
- queryKey: kA,
+ queryKey: TA,
exact: !0
});
};
-function Eoe(e) {
+function Ooe(e) {
return e.identical ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${bM} text-(--keep)`,
+ className: `${yM} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${bM} text-text-secondary`,
+ className: `${yM} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Doe({ file: t, openItem: n }) {
+function koe({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -35332,7 +35339,7 @@ function Doe({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)(Coe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Toe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, L.jsx)("img", {
@@ -35356,55 +35363,55 @@ function Doe({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${yM} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${vM} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${yM} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${vM} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
- className: `${xM} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: p[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ className: `${bM} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: p[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: xM,
+ className: bM,
children: a(t.size || 0)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: xM,
+ className: bM,
children: i(t.duration)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${xM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${bM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function Ooe({ openItem: t, toast: n, failure: r }) {
- let i = Ot({
- queryKey: RO,
- queryFn: ({ signal: e }) => zO(e)
- }), o = Ot({
+function Aoe({ openItem: t, toast: n, failure: r }) {
+ let i = kt({
+ queryKey: zO,
+ queryFn: ({ signal: e }) => BO(e)
+ }), o = kt({
queryKey: FO,
queryFn: ({ signal: e }) => IO(e)
- }), [s, c] = (0, I.useState)(""), l = kt({
+ }), [s, c] = (0, I.useState)(""), l = At({
mutationFn: (e) => GO(e, "dispose"),
onSuccess: (e, t) => {
- SM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ xM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
await GO(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- SM();
+ xM();
}
} });
},
@@ -35418,12 +35425,12 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
children: i.error ? K(i.error) : "读取重复文件失败"
})
});
- let d = u.groups ?? [], f = eae(o.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = tae(o.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = UO(e, t);
+ let r = iae(e, t);
r.length && h({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${BO[t] ?? BO.largest}。文件共 ${a(WO(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${HO[t] ?? HO.largest}。文件共 ${a(aae(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -35431,15 +35438,15 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(pM, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${a(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, L.jsxs)(voe, {
+ d.length ? /* @__PURE__ */ (0, L.jsxs)(Soe, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, L.jsx)(vM, {
+ /* @__PURE__ */ (0, L.jsx)(_M, {
busy: s === "all:largest",
onPress: () => p({
groups: d,
@@ -35448,7 +35455,7 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, L.jsx)(vM, {
+ /* @__PURE__ */ (0, L.jsx)(_M, {
busy: s === "all:longest",
onPress: () => p({
groups: d,
@@ -35457,7 +35464,7 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- iae(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(vM, {
+ rae(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(_M, {
busy: s === `all:${t}`,
onPress: () => p({
groups: d,
@@ -35480,7 +35487,7 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
let i = [n], o = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": n.code,
- className: Toe,
+ className: Doe,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -35492,9 +35499,9 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${a(n.reclaimable)}`
}),
- Eoe(n),
+ Ooe(n),
n.cross_drive ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${bM} text-text-secondary`,
+ className: `${yM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -35522,7 +35529,7 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- HO(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
+ WO(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
...m(o(t)),
@@ -35547,13 +35554,13 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(Doe, {
+ }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(koe, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
- icon: woe,
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ icon: Eoe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -35561,62 +35568,392 @@ function Ooe({ openItem: t, toast: n, failure: r }) {
});
}
//#endregion
+//#region src/react/components/segmented.tsx
+var SM = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", CM = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", joe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", wM = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", TM = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+//#endregion
+//#region src/react/components/use-view-glide.ts
+function Moe(e, t) {
+ if (!t.contains(e)) return null;
+ let n = 0, r = 0;
+ for (let i = e; i && i !== t; i = i.offsetParent) n += i.offsetLeft, r += i.offsetTop;
+ let i = e.getBoundingClientRect();
+ for (let a = e.parentElement; a && a !== t; a = a.parentElement) if (n -= a.scrollLeft, r -= a.scrollTop, a.scrollWidth > a.clientWidth && getComputedStyle(a).overflowX !== "visible") {
+ let e = a.getBoundingClientRect();
+ if (i.right <= e.left || i.left >= e.right) return null;
+ }
+ return {
+ x: n,
+ y: r,
+ w: e.offsetWidth,
+ h: e.offsetHeight
+ };
+}
+function EM(e, t, n, r) {
+ let i = (0, I.useRef)(null), a = (0, I.useCallback)((r, a) => {
+ let o = e.current, s = t.current, c = o?.parentElement;
+ if (!o) return;
+ let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? Moe(l, c) : null;
+ if (!u || !u.w) {
+ o.hidden = !0;
+ return;
+ }
+ let d = o.hidden ? null : i.current;
+ o.hidden = !1, i.current = u, y(o, a ? d : null, u, "x");
+ }, [
+ e,
+ t,
+ n
+ ]), o = (0, I.useRef)(!1);
+ return (0, I.useLayoutEffect)(() => {
+ let t = e.current;
+ t && !o.current && (t.hidden = !0), a(null, o.current), o.current = !0;
+ }, [a, r]), (0, I.useEffect)(() => {
+ let t = e.current?.parentElement, n = 0, r = () => {
+ n ||= requestAnimationFrame(() => {
+ n = 0, a(null, !1);
+ });
+ };
+ return t?.addEventListener("scroll", r, {
+ capture: !0,
+ passive: !0
+ }), addEventListener("resize", r, { passive: !0 }), () => {
+ cancelAnimationFrame(n), t?.removeEventListener("scroll", r, { capture: !0 }), removeEventListener("resize", r);
+ };
+ }, [e, a]), {
+ hover: (0, I.useCallback)((e) => {
+ e.pointerType !== "touch" && a(e.currentTarget, !0);
+ }, [a]),
+ leave: (0, I.useCallback)((e) => {
+ e.pointerType !== "touch" && a(null, !0);
+ }, [a])
+ };
+}
+//#endregion
+//#region src/react/entity-filter/entity-filter.ts
+var Noe = (e) => e === "videos", DM = () => /* @__PURE__ */ (0, L.jsx)("span", {
+ "data-entity-sep": "",
+ "aria-hidden": "true"
+});
+function Poe(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Noe(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = EM(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = EM(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+ return (0, I.useEffect)(() => {
+ c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
+ }, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Ioe, {
+ items: o,
+ hidden: !l,
+ actions: s
+ }), /* @__PURE__ */ (0, L.jsx)(hM, {
+ label: "筛选与排序",
+ topLabel: "媒体与标签",
+ attrs: {
+ "data-filter-frame": "",
+ "data-entity-filter-glass": ""
+ },
+ topClassName: "gap-1.5 overflow-visible",
+ bottomClassName: "min-h-12",
+ bottomRef: g,
+ busy: e.busy,
+ panes: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", {
+ ref: u,
+ "data-view-glide": "",
+ "aria-hidden": "true"
+ }), /* @__PURE__ */ (0, L.jsx)("span", {
+ ref: d,
+ "data-view-glide": "round",
+ "aria-hidden": "true"
+ })] }),
+ top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Foe, {
+ keys: n,
+ view: t,
+ row: p,
+ glide: v,
+ onView: s.setView
+ }), l ? /* @__PURE__ */ (0, L.jsx)(DM, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ ref: m,
+ "data-entity-scroll": "",
+ children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ ref: f,
+ role: "group",
+ "aria-label": "观看状态",
+ "data-entity-states": "",
+ hidden: !l,
+ onPointerLeave: _.leave,
+ children: [i.map((e) => /* @__PURE__ */ (0, L.jsx)("button", {
+ type: "button",
+ "data-entity-state": e.k,
+ "data-entity-press": "",
+ "aria-pressed": r === e.k,
+ onPointerEnter: _.hover,
+ onClick: () => {
+ r !== e.k && s.setState(e.k);
+ },
+ children: e.label
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(DM, {})]
+ }), /* @__PURE__ */ (0, L.jsx)("div", {
+ ref: h,
+ "data-entity-tags": "",
+ children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(gM, {
+ "data-entity-tag": e.k,
+ "data-entity-press": "",
+ pressed: e.selected,
+ onPress: () => s.toggleTag(e.k),
+ children: [e.label, /* @__PURE__ */ (0, L.jsx)("span", {
+ "data-count-badge": e.k,
+ children: e.n.toLocaleString()
+ })]
+ }, e.k)) : null
+ })]
+ })] }),
+ bottom: /* @__PURE__ */ (0, L.jsx)(Loe, { ...e })
+ })] });
+}
+function Foe({ keys: e, view: t, row: n, glide: r, onView: i }) {
+ let a = [];
+ return e.people && a.push({
+ value: "people",
+ text: e.people.label,
+ count: e.people.count,
+ symbol: e.people.icon,
+ kind: "people"
+ }), a.push({
+ value: "videos",
+ text: "视频",
+ count: e.videos.count,
+ symbol: "play",
+ kind: "video"
+ }), e.photos && a.push({
+ value: "photos",
+ text: "照片",
+ count: e.photos.count,
+ symbol: "pics",
+ kind: "image"
+ }), /* @__PURE__ */ (0, L.jsx)("div", {
+ ref: n,
+ role: "group",
+ "aria-label": e.label,
+ "data-entity-media": "",
+ onPointerLeave: r.leave,
+ children: a.map(({ value: e, text: n, count: a, symbol: o, kind: c }) => {
+ let l = `${n} ${Math.max(0, a || 0).toLocaleString()}`;
+ return /* @__PURE__ */ (0, L.jsx)("button", {
+ type: "button",
+ "data-media-view": e,
+ "data-media-icon": c,
+ "aria-pressed": t === e,
+ "aria-label": l,
+ title: l,
+ onPointerEnter: r.hover,
+ onClick: () => i(e),
+ dangerouslySetInnerHTML: { __html: s(o) }
+ }, e);
+ })
+ });
+}
+function Ioe({ items: e, hidden: t, actions: n }) {
+ return /* @__PURE__ */ (0, L.jsx)("div", {
+ "data-entity-combo": "",
+ hidden: t,
+ children: e.length ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [e.map((e) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ "data-combo-chip": "",
+ children: [e.label, /* @__PURE__ */ (0, L.jsx)("button", {
+ type: "button",
+ "aria-label": `撤掉 ${e.label}`,
+ onClick: () => e.kind === "untag" ? n.toggleTag(e.key) : n.clearFilter(e.key),
+ children: "✕"
+ })]
+ }, `${e.kind}:${e.key}`)), /* @__PURE__ */ (0, L.jsx)("button", {
+ type: "button",
+ "data-combo-clear": "",
+ onClick: n.clearAll,
+ children: "全部清除"
+ })] }) : null
+ });
+}
+function Loe(e) {
+ let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: c } = e;
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+ t === "photos" && a?.back ? /* @__PURE__ */ (0, L.jsxs)("button", {
+ type: "button",
+ "data-photo-back": "",
+ onClick: o.photoBack,
+ children: [/* @__PURE__ */ (0, L.jsx)("span", {
+ className: "contents",
+ dangerouslySetInnerHTML: { __html: s("chevron-left") }
+ }), /* @__PURE__ */ (0, L.jsx)("span", { children: "全部照片" })]
+ }) : null,
+ /* @__PURE__ */ (0, L.jsx)(Roe, {
+ text: n,
+ busy: r
+ }),
+ t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(zoe, {
+ head: i,
+ actions: o
+ }) : null,
+ t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(Boe, {
+ head: a,
+ actions: o,
+ helpers: c
+ }) : null
+ ] });
+}
+function Roe({ text: e, busy: t }) {
+ return /* @__PURE__ */ (0, L.jsx)("h3", {
+ "data-entity-readout": "",
+ children: t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ "data-skeleton": "count",
+ "aria-hidden": !0,
+ className: "relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"
+ }) : e
+ });
+}
+function OM({ label: e, value: t, options: n, onChange: r }) {
+ return /* @__PURE__ */ (0, L.jsx)(RD, {
+ "aria-label": e,
+ orientation: "horizontal",
+ value: t,
+ onChange: r,
+ "data-entity-layout": "",
+ className: wM,
+ children: n.map(([e, t, n]) => {
+ let r = kT(n);
+ return /* @__PURE__ */ (0, L.jsx)(zD, {
+ value: e,
+ "aria-label": t,
+ "data-glass-segment": "",
+ className: TM,
+ children: /* @__PURE__ */ (0, L.jsx)("span", {
+ title: t,
+ className: "contents",
+ children: /* @__PURE__ */ (0, L.jsx)(r, { className: "size-4" })
+ })
+ }, e);
+ })
+ });
+}
+function kM({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, L.jsx)("button", {
+ type: "button",
+ "data-entity-batch": "",
+ title: "换一批",
+ "aria-label": "换一批",
+ "aria-busy": t || void 0,
+ "aria-disabled": t || void 0,
+ onClick: () => {
+ t || e();
+ },
+ dangerouslySetInnerHTML: { __html: t ? w("正在换一批") : s("shuffle") }
+ });
+}
+function zoe({ head: e, actions: t }) {
+ return /* @__PURE__ */ (0, L.jsxs)("span", {
+ "data-entity-sorts": "",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(kM, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, L.jsx)(OM, {
+ label: "JAV 卡片版式",
+ value: e.jav.layout,
+ options: e.jav.options,
+ onChange: t.setJavLayout
+ }) : null,
+ e.sorts.map((e) => {
+ let n = kT(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ return /* @__PURE__ */ (0, L.jsxs)("button", {
+ type: "button",
+ "data-entity-sort": e.key,
+ "data-entity-press": "",
+ "aria-pressed": e.pressed,
+ "aria-label": e.ariaLabel || void 0,
+ onClick: () => t.setSort(e.key),
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, L.jsx)(n, { className: "size-3.5" }) : null]
+ }, e.key);
+ })
+ ]
+ });
+}
+function Boe({ head: e, actions: t, helpers: n }) {
+ let [r, i] = (0, I.useState)(!1), a = (0, I.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
+ return (0, I.useEffect)(() => {
+ a.current && o && n.wireSourceTools(a.current);
+ }, [n, o]), /* @__PURE__ */ (0, L.jsxs)("span", {
+ "data-entity-sorts": "",
+ children: [
+ e.shuffle ? /* @__PURE__ */ (0, L.jsx)(kM, {
+ onPress: () => {
+ i(!0), t.reshuffle().finally(() => i(!1));
+ },
+ busy: r
+ }) : null,
+ /* @__PURE__ */ (0, L.jsx)(OM, {
+ label: "图片布局",
+ value: e.layout,
+ options: e.layouts,
+ onChange: t.setPhotoLayout
+ }),
+ o ? /* @__PURE__ */ (0, L.jsx)("span", {
+ ref: a,
+ "data-entity-srctools": "",
+ dangerouslySetInnerHTML: { __html: o }
+ }) : null
+ ]
+ });
+}
+//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var koe = "/api/avatar-choices", CM = "/api/avatar-pick", Aoe = "/api/avatar-code-cover", joe = "/avatar-choice", wM = (e, t) => [
+var Voe = "/api/avatar-choices", AM = "/api/avatar-pick", Hoe = "/api/avatar-code-cover", Uoe = "/avatar-choice", jM = (e, t) => [
"avatar-choices",
e,
t
-], TM = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, EM = (e, t, n) => `${joe}${TM(e, t)}&ref=${encodeURIComponent(n)}`, Moe = (e, t, n) => ww(koe + TM(e, t), n), Noe = (e) => q(Aoe, { code: e });
-function DM(e, t, n) {
+], MM = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, NM = (e, t, n) => `${Uoe}${MM(e, t)}&ref=${encodeURIComponent(n)}`, Woe = (e, t, n) => Nw(Voe + MM(e, t), n), Goe = (e) => q(Hoe, { code: e });
+function PM(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? zie(e.focus, t, n) : CO(t, n);
+ return e.focus && r ? Bie(e.focus, t, n) : CO(t, n);
}
-var Poe = (e) => e.crop && SO({
+var Koe = (e) => e.crop && SO({
width: e.width,
height: e.height
});
-async function Foe(e, t, n) {
+async function qoe(e, t, n) {
if (!("file" in n)) {
- await q(CM, {
+ await q(AM, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${CM}${TM(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${AM}${MM(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new Sw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new jw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function Ioe(e, t) {
+function Joe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var Loe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Roe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Loe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Yoe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Xoe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Yoe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var OM = (e) => e.cast > 1, zoe = (e) => OM(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Boe = {
+var FM = (e) => e.cast > 1, Zoe = (e) => FM(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Qoe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function Voe(e) {
+function $oe(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Hoe = (e) => `${Boe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OM(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Uoe = 8, Woe = 3 / 4;
-function Goe({ kind: e, entityId: t, name: n, onPicked: r }) {
+var ese = (e) => `${Qoe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (FM(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), tse = 8, nse = 3 / 4;
+function rse({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -35626,7 +35963,7 @@ function Goe({ 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)(Kte, {
+ children: /* @__PURE__ */ (0, L.jsx)(Vte, {
"aria-hidden": !0,
className: "size-4"
})
@@ -35636,7 +35973,7 @@ function Goe({ kind: e, entityId: t, name: n, onPicked: r }) {
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, L.jsx)(Koe, {
+ children: /* @__PURE__ */ (0, L.jsx)(ise, {
kind: e,
entityId: t,
name: n,
@@ -35645,33 +35982,33 @@ function Goe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, I.useRef)(null), o = AO(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = wM(e, t), g = (0, I.useRef)(!1), _ = Ot({
+function ise({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, I.useRef)(null), o = AO(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = jM(e, t), g = (0, I.useRef)(!1), _ = kt({
queryKey: h,
- queryFn: ({ signal: n }) => Moe(e, t, n),
+ queryFn: ({ signal: n }) => Woe(e, t, n),
retryOnMount: !0
});
(0, I.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: wM(e, t) });
+ g.current && X.removeQueries({ queryKey: jM(e, t) });
}, [e, t]);
- let v = kt({
- mutationFn: (n) => Foe(e, t, n),
+ let v = At({
+ mutationFn: (n) => qoe(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
- }), y = kt({
- mutationFn: (e) => Noe(e),
+ }), y = At({
+ mutationFn: (e) => Goe(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Roe(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Xoe(x);
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)(kO, { children: /* @__PURE__ */ (0, L.jsx)(NS, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(kO, { children: /* @__PURE__ */ (0, L.jsx)(HS, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -35681,14 +36018,14 @@ 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)(yw, {
+ }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(Ow, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? zoe(p) : Ioe(n, x)
+ children: p ? Zoe(p) : Joe(n, x)
}),
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
@@ -35701,13 +36038,13 @@ function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
]
}),
/* @__PURE__ */ (0, L.jsx)(vO, {
- icon: mS,
+ icon: bS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, L.jsx)(Joe, {
+ }), p ? /* @__PURE__ */ (0, L.jsx)(ose, {
kind: e,
entityId: t,
choice: p,
@@ -35730,7 +36067,7 @@ function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: Uoe }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: tse }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -35743,15 +36080,15 @@ function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Hoe(n),
+ title: ese(n),
...Y(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, L.jsx)(qoe, {
- src: EM(e, t, n.ref),
+ /* @__PURE__ */ (0, L.jsx)(ase, {
+ src: NM(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -35760,15 +36097,15 @@ 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)(yw, {
+ children: /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- OM(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ FM(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsxs)(yw, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Ow, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -35787,7 +36124,7 @@ function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: /* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -35822,7 +36159,7 @@ function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: /* @__PURE__ */ (0, L.jsx)(tM, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -35842,7 +36179,7 @@ function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function qoe({ src: e, choice: t }) {
+function ase({ src: e, choice: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -35850,7 +36187,7 @@ function qoe({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = Poe(t) ? Uie(DM(t, a, Woe), a) : null, s = r ? !0 : void 0;
+ }, o = Koe(t) ? Wie(PM(t, a, nse), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, L.jsx)("img", {
@@ -35875,12 +36212,12 @@ function qoe({ src: e, choice: t }) {
})]
});
}
-function Joe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = EM(e, t, s), m = AO();
+function ose({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = NM(e, t, s), m = AO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? Hie(d, l) : null;
+ let g = d && l ? Uie(d, l) : null;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
@@ -35891,7 +36228,7 @@ function Joe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), SO(e) && f(s === n.ref ? DM(n, e, 1) : CO(e, 1));
+ u(e), SO(e) && f(s === n.ref ? PM(n, e, 1) : CO(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -35905,7 +36242,7 @@ function Joe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => h(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: Voe(e)
+ children: $oe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -35939,12 +36276,12 @@ function Joe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var Yoe = {
+var sse = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function kM({ name: e }) {
- let t = Yoe[e];
+function IM({ name: e }) {
+ let t = sse[e];
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -35954,19 +36291,19 @@ function kM({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function AM(e, t) {
+function LM(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var jM = (e) => !!e?.isConnected && e.matches(":popover-open");
-function MM(e, t, n, r) {
+var RM = (e) => !!e?.isConnected && e.matches(":popover-open");
+function zM(e, t, n, r) {
let i = (0, I.useRef)(r);
i.current = r, (0, I.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && jM(n.current) ? AM(t.current, n.current) : i.current();
+ t.current && RM(n.current) ? LM(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -35980,17 +36317,17 @@ function MM(e, t, n, r) {
n
]);
}
-function NM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function BM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, I.useRef)(null), s = (0, I.useRef)(null), [c, l] = (0, I.useState)(!1), u = (0, I.useRef)(!1), d = (0, I.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, jM(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, RM(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || jM(s.current)) && (s.current.showPopover(), AM(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || RM(s.current)) && (s.current.showPopover(), LM(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return MM(c, o, s, f), (0, I.useEffect)(() => {
+ return zM(c, o, s, f), (0, I.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -36016,7 +36353,7 @@ function NM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && jM(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && RM(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36034,16 +36371,16 @@ function NM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Xoe({ following: e, busy: t, onToggle: n, tip: r }) {
+function cse({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(null), [s, c] = (0, I.useState)(!1), l = (0, I.useRef)(!1), u = () => {
- jM(o.current) && o.current.hidePopover(), c(!1);
+ RM(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || jM(o.current) || (o.current.showPopover(), AM(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || RM(o.current) || (o.current.showPopover(), LM(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return MM(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
- i.current && jM(o.current) && AM(i.current, o.current);
+ return zM(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
+ i.current && RM(o.current) && LM(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, L.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -36052,7 +36389,7 @@ function Xoe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, L.jsx)(kM, { name: "rss" }),
+ /* @__PURE__ */ (0, L.jsx)(IM, { name: "rss" }),
/* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
type: "checkbox",
@@ -36087,25 +36424,25 @@ function Xoe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Zoe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function lse({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, L.jsxs)(Ere, {
+ }, []), /* @__PURE__ */ (0, L.jsxs)(Dre, {
isOpen: i,
onOpenChange: a,
children: [/* @__PURE__ */ (0, L.jsx)($T, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, L.jsx)(kM, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(IM, { name: "chevron-down" })
}), /* @__PURE__ */ (0, L.jsx)(bD, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: VA,
+ className: LA,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, L.jsxs)(Ore, {
+ children: /* @__PURE__ */ (0, L.jsxs)(kre, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
@@ -36121,27 +36458,27 @@ function Zoe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(cre, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, L.jsx)(lre, { "data-namepick-rule": "" }),
/* @__PURE__ */ (0, L.jsx)(DD, { children: /* @__PURE__ */ (0, L.jsxs)(kD, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Qoe = (e) => e === "studio" || e === "agency", $oe = (e) => e === "performer" || e === "creator", ese = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function tse(e) {
+var use = (e) => e === "studio" || e === "agency", dse = (e) => e === "performer" || e === "creator", fse = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function pse(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function PM(e) {
+function VM(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -36152,13 +36489,13 @@ function PM(e) {
linked: !1
} : null;
}
-function FM(e, t) {
+function HM(e, t) {
let n = u(e, "performer"), r = o(t);
return r && [e.label, n].map(o).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var IM = (e) => ({ site: c(e) });
-function nse(e, n) {
- let r = PM(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var UM = (e) => ({ site: c(e) });
+function mse(e, n) {
+ let r = VM(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -36168,7 +36505,7 @@ function nse(e, n) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${FM(e, r)} · ${t}`
+ title: `${HM(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -36179,8 +36516,8 @@ function nse(e, n) {
if (n === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: FM(e, r),
- mark: IM(e)
+ title: HM(e, r),
+ mark: UM(e)
};
if (e.link_kind === "social") {
let n = t(i);
@@ -36188,7 +36525,7 @@ function nse(e, n) {
type: "icon",
url: i,
title: e.label || "",
- mark: n ? { brand: n } : IM(e)
+ mark: n ? { brand: n } : UM(e)
};
}
return {
@@ -36196,13 +36533,13 @@ function nse(e, n) {
url: i,
title: e.label || "",
text: u(e, n, a),
- mark: IM(e)
+ mark: UM(e)
};
});
return [...i, ...o];
}
-var LM = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function rse(e) {
+var WM = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function hse(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -36259,14 +36596,14 @@ function rse(e) {
tags: e.tags
}), t;
}
-function ise(e) {
+function gse(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function ase(e) {
+function _se(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -36277,8 +36614,8 @@ function ase(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
- let c = $oe(e), l = Qoe(e), u = e === "performer" ? rse(n.profile) : [], d = nse(n, e), f = LM(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
+function vse({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
+ let c = dse(e), l = use(e), u = e === "performer" ? hse(n.profile) : [], d = mse(n, e), f = WM(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, I.useEffect)(() => {
@@ -36291,7 +36628,7 @@ function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, L.jsx)(sse, {
+ children: [/* @__PURE__ */ (0, L.jsx)(yse, {
kind: e,
name: t,
helpers: s,
@@ -36299,7 +36636,7 @@ function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, L.jsx)(Goe, {
+ children: /* @__PURE__ */ (0, L.jsx)(rse, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -36312,14 +36649,14 @@ function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Zoe, {
+ children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(lse, {
current: n.canonical_name,
- choices: tse(n),
+ choices: pse(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, L.jsx)(cse, {
+ /* @__PURE__ */ (0, L.jsx)(bse, {
kind: e,
entity: n,
actions: o
@@ -36327,9 +36664,9 @@ function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(fse, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(wse, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(pse, {
+ f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Tse, {
entity: n,
actions: o,
helpers: s
@@ -36338,11 +36675,11 @@ function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, L.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(use, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(Sse, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, L.jsx)(dse, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, L.jsx)(Cse, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -36369,14 +36706,14 @@ function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, vh.createPortal)(/* @__PURE__ */ (0, L.jsx)(mse, {
+ }), a ? (0, yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Ese, {
feedNew: i,
host: a,
actions: o,
helpers: s
}), a) : null] });
}
-function sse({ kind: e, name: t, helpers: n, people: i, company: a }) {
+function yse({ kind: e, name: t, helpers: n, people: i, company: a }) {
let [o] = (0, I.useState)(() => `${n.portraitImg()}<span>${r(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-portrait": i ? "round" : "square",
@@ -36385,8 +36722,8 @@ function sse({ kind: e, name: t, helpers: n, people: i, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function cse({ kind: e, entity: t, actions: r }) {
- let i = PM(t), a = (e, t) => (n) => {
+function bse({ kind: e, entity: t, actions: r }) {
+ let i = VM(t), a = (e, t) => (n) => {
n.preventDefault(), r.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, L.jsx)("a", {
href: n("agency", i.name),
@@ -36395,36 +36732,36 @@ function cse({ kind: e, entity: t, actions: r }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = ase(t.name_groups);
+ let e = _se(t.name_groups);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, L.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, L.jsx)(kM, { name: "id-card" }),
+ /* @__PURE__ */ (0, L.jsx)(IM, { name: "id-card" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, L.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(NM, {
+ e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(BM, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(lse, {
+ children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(xse, {
label: e.label,
names: e.names
}, t)) })
@@ -36459,25 +36796,25 @@ function cse({ kind: e, entity: t, actions: r }) {
]
});
}
-function lse({ label: e, names: t }) {
+function xse({ label: e, names: t }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [e ? /* @__PURE__ */ (0, L.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, L.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, L.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function use({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
+function Sse({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(IM, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function dse({ tags: e }) {
- let { shown: t, rest: n } = ise(e);
+function Cse({ tags: e }) {
+ let { shown: t, rest: n } = gse(e);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, L.jsx)(NM, {
+ }, e)), n ? /* @__PURE__ */ (0, L.jsx)(BM, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -36492,10 +36829,10 @@ function dse({ tags: e }) {
})
}) : null] });
}
-function RM({ mark: e }) {
+function GM({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, L.jsx)(kM, { name: e.brand })
+ children: /* @__PURE__ */ (0, L.jsx)(IM, { name: e.brand })
});
let t = s("globe") + ("site" in e ? `<img src="${r(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, L.jsx)("span", {
@@ -36503,7 +36840,7 @@ function RM({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function fse({ link: e }) {
+function wse({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, L.jsx)("a", {
"data-link": "icon",
@@ -36512,19 +36849,19 @@ function fse({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(RM, { mark: e.mark })
+ children: /* @__PURE__ */ (0, L.jsx)(GM, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(RM, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, L.jsx)(GM, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, L.jsx)(RM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(GM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -36535,14 +36872,14 @@ function fse({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, L.jsx)(RM, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(GM, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function pse({ entity: e, actions: t, helpers: n }) {
+function Tse({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!!e.feed?.following), [a, o] = (0, I.useState)(!1), s = (0, I.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -36560,31 +36897,31 @@ function pse({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entry-marks": "",
- children: [LM(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ children: [WM(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(kM, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(IM, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Xoe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(cse, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: ese(r)
+ tip: fse(r)
}) : null]
});
}
-function mse({ feedNew: e, host: t, actions: n, helpers: r }) {
+function Ese({ feedNew: e, host: t, actions: n, helpers: r }) {
let i = (0, I.useRef)(null), a = e?.items.length ? e.html : "";
(0, I.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !a;
@@ -36608,7 +36945,7 @@ function mse({ feedNew: e, host: t, actions: n, helpers: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var zM = [
+var KM = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -36616,7 +36953,7 @@ var zM = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], hse = "checked", BM = {
+], Dse = "checked", qM = {
checked: "desc",
added: "desc",
name: "asc",
@@ -36624,32 +36961,32 @@ var zM = [
source: "asc",
provider: "asc",
status: "asc"
-}, gse = (e) => zM.some(([t]) => t === e);
-function VM(e, t) {
- let n = gse(e) ? e : hse;
+}, Ose = (e) => KM.some(([t]) => t === e);
+function JM(e, t) {
+ let n = Ose(e) ? e : Dse;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : BM[n]
+ dir: t === "asc" || t === "desc" ? t : qM[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var HM = "/api/follow", _se = "/api/follow/credentials", UM = "/api/follow/check", WM = "/api/follow/source", GM = "/api/follow/resolve", vse = "/api/follow/suggest", KM = "/api/follow/author-alias", yse = "/api/follow/credential", bse = "/api/follow/status", xse = "/api/feeds", qM = "/api/feeds/source", Sse = "/api/feeds/check", Cse = "/api/feeds/lookup", JM = ["follow-manage"], YM = ["follow-manage", "credentials"], wse = ["follow-manage", "check"], Tse = ["follow-manage", "resolve"], XM = ["follow-manage", "feeds"], Ese = (e) => [
+var YM = "/api/follow", kse = "/api/follow/credentials", XM = "/api/follow/check", ZM = "/api/follow/source", QM = "/api/follow/resolve", Ase = "/api/follow/suggest", $M = "/api/follow/author-alias", jse = "/api/follow/credential", Mse = "/api/follow/status", Nse = "/api/feeds", eN = "/api/feeds/source", Pse = "/api/feeds/check", Fse = "/api/feeds/lookup", tN = ["follow-manage"], nN = ["follow-manage", "credentials"], Ise = ["follow-manage", "check"], Lse = ["follow-manage", "resolve"], rN = ["follow-manage", "feeds"], Rse = (e) => [
"follow-manage",
"suggest",
e
-], ZM = [["default", "默认视图"], ["table", "表格视图"]], QM = [
+], iN = [["default", "默认视图"], ["table", "表格视图"]], aN = [
10,
20,
50,
100
-], Dse = Object.fromEntries(zM), $M = {
+], zse = Object.fromEntries(KM), oN = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Ose = (e) => ZM.some(([t]) => t === e), kse = (e) => QM.includes(Number(e)) ? Number(e) : 20, Ase = {
+}, Bse = (e) => iN.some(([t]) => t === e), Vse = (e) => aN.includes(Number(e)) ? Number(e) : 20, Hse = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -36657,25 +36994,25 @@ var HM = "/api/follow", _se = "/api/follow/credentials", UM = "/api/follow/check
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, jse = (e, t) => `按${Dse[e]}${Ase[e][t === "asc" ? 0 : 1]}排序`;
-function eN(e) {
+}, Use = (e, t) => `按${zse[e]}${Hse[e][t === "asc" ? 0 : 1]}排序`;
+function sN(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function Mse(e) {
+function Wse(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var tN = (e) => e.last_status === "error" || e.last_status === "unauthorized", nN = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), rN = {
- source: nN,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || nN(e, t),
- status: (e, t) => eN(e) - eN(t) || nN(e, t)
-}, iN = (e) => Date.parse(e || "") || 0, aN = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function oN(e, t = []) {
+var cN = (e) => e.last_status === "error" || e.last_status === "unauthorized", lN = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), uN = {
+ source: lN,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || lN(e, t),
+ status: (e, t) => sN(e) - sN(t) || lN(e, t)
+}, dN = (e) => Date.parse(e || "") || 0, fN = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function pN(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || aN(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || fN(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return aN(i.canonical_name);
+ if (i) return fN(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -36683,18 +37020,18 @@ function oN(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function Nse(e) {
+function Gse(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function Pse(e) {
+function Kse(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function sN(e) {
+function mN(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -36702,32 +37039,32 @@ function sN(e) {
}
return t.map((e) => n.get(e));
}
-function Fse(e, t, n, r = []) {
- let i = sN(e), a = n === BM[t] ? 1 : -1, o = (e) => oN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = rN[t];
+function qse(e, t, n, r = []) {
+ let i = mN(e), a = n === qM[t] ? 1 : -1, o = (e) => pN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = uN[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => iN(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => iN(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => dN(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => dN(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
-function Ise(e, t, n, r = []) {
+function Jse(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = oN(e, r);
+ let t = pN(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = rN[t];
+ }), a = uN[t];
if (a) {
- let e = n === BM[t] ? 1 : -1;
+ let e = n === qM[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function Lse(e, t, n) {
- let r = gk(e, t), i = _k(n, r), a = (i - 1) * t;
+function Yse(e, t, n) {
+ let r = vk(e, t), i = yk(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -36736,91 +37073,91 @@ function Lse(e, t, n) {
end: Math.min(a + t, e)
};
}
-function Rse(e, t) {
+function Xse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function cN(e, t) {
+function hN(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function lN(e, t, n) {
+function gN(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var uN = (e) => ww(`${HM}?summary=1`, e), dN = (e) => ww(_se, e), zse = (e) => ww(UM, e), Bse = (e) => ww(GM, e), Vse = (e, t) => ww(`${vse}?q=${encodeURIComponent(e)}`, t), fN = (e) => q(UM, {
+var _N = (e) => Nw(`${YM}?summary=1`, e), vN = (e) => Nw(kse, e), Zse = (e) => Nw(XM, e), Qse = (e) => Nw(QM, e), $se = (e, t) => Nw(`${Ase}?q=${encodeURIComponent(e)}`, t), yN = (e) => q(XM, {
...e?.length ? { sources: e } : {},
background: !0
-}), Hse = (e) => q(GM, {
+}), ece = (e) => q(QM, {
lines: e,
background: !0
-}), pN = (e, t) => q(WM, {
+}), bN = (e, t) => q(ZM, {
action: "enabled",
id: e,
enabled: t
-}), mN = (e) => q(WM, {
+}), xN = (e) => q(ZM, {
action: "remove",
id: e
-}), Use = (e) => q(WM, {
+}), tce = (e) => q(ZM, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), hN = (e, t) => q(KM, {
+}), SN = (e, t) => q($M, {
action: "add",
canonical: e,
alias: t
-}), Wse = (e) => q(KM, {
+}), nce = (e) => q($M, {
action: "remove",
alias: e
-}), Gse = (e, t) => q(yse, {
+}), rce = (e, t) => q(jse, {
provider: e,
values: t
-}), Kse = (e, t) => q(bse, {
+}), ice = (e, t) => q(Mse, {
item: e,
to: t
-}), qse = () => ww(`${HM}?status=new&limit=1000`);
-async function gN(e) {
- let t = await ww(xse, e);
+}), ace = () => Nw(`${YM}?status=new&limit=1000`);
+async function CN(e) {
+ let t = await Nw(Nse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var _N = (e, t, n) => q(qM, {
+var wN = (e, t, n) => q(eN, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), vN = (e, t) => q(qM, {
+}, "POST", n), TN = (e, t) => q(eN, {
action: "remove",
id: e
-}, "POST", t), yN = (e, t) => q(Sse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Jse = (e, t) => ww(`${Cse}?q=${encodeURIComponent(e)}`, t), Yse = (e, t, n) => q(qM, {
+}, "POST", t), EN = (e, t) => q(Pse, t?.length ? { sources: t } : { all: !0 }, "POST", e), oce = (e, t) => Nw(`${Fse}?q=${encodeURIComponent(e)}`, t), sce = (e, t, n) => q(eN, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function Xse(e, t = "") {
+async function cce(e, t = "") {
await Promise.all([
X.fetchQuery({
- queryKey: JM,
- queryFn: () => uN(e)
+ queryKey: tN,
+ queryFn: () => _N(e)
}),
X.fetchQuery({
- queryKey: YM,
- queryFn: () => dN(e)
+ queryKey: nN,
+ queryFn: () => vN(e)
}),
t === "feeds" ? X.fetchQuery({
- queryKey: XM,
- queryFn: () => gN(e)
+ queryKey: rN,
+ queryFn: () => CN(e)
}) : null
]);
}
-function bN(e, t) {
- X.setQueryData(JM, (n) => n && {
+function DN(e, t) {
+ X.setQueryData(tN, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -36828,24 +37165,24 @@ function bN(e, t) {
} : n)
});
}
-function xN(e) {
+function ON(e) {
let t = new Set(e);
- X.setQueryData(JM, (e) => e && {
+ X.setQueryData(tN, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var SN = () => X.invalidateQueries({
- queryKey: JM,
+var kN = () => X.invalidateQueries({
+ queryKey: tN,
exact: !0
});
-function Zse(e) {
+function lce(e) {
let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];
r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var Qse = (e) => (e?.results || []).filter((e) => !e.ok), $se = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", CN = (e) => e.last_checked_at ? yk(e.last_checked_at) : "未检查", ece = /* @__PURE__ */ new Set([
+var uce = (e) => (e?.results || []).filter((e) => !e.ok), dce = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", AN = (e) => e.last_checked_at ? bk(e.last_checked_at) : "未检查", fce = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -36858,16 +37195,16 @@ var Qse = (e) => (e?.results || []).filter((e) => !e.ok), $se = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), tce = (e) => ece.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", nce = {
+]), jN = (e) => fce.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", MN = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, wN = (e) => !!e.present && !e.missing.length, TN = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", EN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", rce = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", ice = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", ace = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+}, NN = (e) => !!e.present && !e.missing.length;
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function DN({ provider: e, label: t }) {
- let n = tce(e), [r, i] = (0, I.useState)(!1);
+function PN({ provider: e, label: t }) {
+ let n = jN(e), [r, i] = (0, I.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : null : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("img", {
src: n,
alt: "",
@@ -36876,10 +37213,10 @@ function DN({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, L.jsx)(J_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, L.jsx)(G_, { children: t }) : null] });
}
-function ON({ group: e, name: t }) {
- let { src: n, fallback: r } = Pse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
+function FN({ group: e, name: t }) {
+ let { src: n, fallback: r } = Kse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, L.jsx)("img", {
src: o,
alt: "",
@@ -36892,18 +37229,18 @@ function ON({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: Nse(t)
+ children: Gse(t)
});
}
-function kN({ source: e }) {
- let t = tN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(yw, {
+function IN({ source: e }) {
+ let t = cN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: t,
- children: Mse(e)
+ children: Wse(e)
});
}
-function AN({ source: e }) {
+function LN({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("a", {
href: e.url,
target: "_blank",
@@ -36915,8 +37252,8 @@ function AN({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var jN = gw(HA, UA, "text-body-2-medium"), oce = "粘贴来源链接,或输入创作者名、id…", sce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", cce = "识别中…", lce = "站内没有查到来源", MN = (e, t) => `${e}:${t.url}`;
-function uce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var RN = Tw(RA, zA, "text-body-2-medium"), zN = "粘贴来源链接,或输入创作者名、id…", BN = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", VN = "识别中…", HN = "站内没有查到来源", UN = (e, t) => `${e}:${t.url}`;
+function WN({ 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" });
}, [t, r]), /* @__PURE__ */ (0, L.jsxs)(bD, {
@@ -36931,17 +37268,17 @@ function uce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: gw(VA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: Tw(LA, "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)(Fw, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, L.jsx)(Ww, { 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 ? gw(jN, "bg-background-secondary-default") : jN,
+ className: t === r ? Tw(RN, "bg-background-secondary-default") : RN,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -36961,7 +37298,7 @@ function uce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function NN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function GN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -36969,7 +37306,7 @@ function NN({ 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: Zte,
+ leadingIcon: Kte,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
@@ -36981,7 +37318,7 @@ function NN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: VA,
+ className: LA,
children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
@@ -36998,16 +37335,16 @@ function NN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, L.jsx)($A, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(zj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(PN, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
@@ -37023,7 +37360,7 @@ function NN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function PN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function KN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: e.line,
@@ -37031,7 +37368,7 @@ function PN({ 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: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-2 p-4"
}),
@@ -37041,15 +37378,15 @@ function PN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = MN(t, e);
- return /* @__PURE__ */ (0, L.jsx)(zj, {
+ let n = UN(t, e);
+ return /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider }),
+ /* @__PURE__ */ (0, L.jsx)(PN, { provider: e.provider }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -37065,22 +37402,22 @@ function PN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: lce }),
+ }) : /* @__PURE__ */ (0, L.jsx)($A, { children: HN }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, L.jsx)(cj, {
+ }), /* @__PURE__ */ (0, L.jsx)(nj, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, L.jsx)(aj, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, L.jsx)($A, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function qN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, I.useState)(""), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(!1), [p, m] = (0, I.useState)(null), [h, g] = (0, I.useState)(-1), _ = (0, I.useRef)(null), v = (0, I.useRef)(null), [y, b] = (0, I.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, I.useState)(""), [T, E] = (0, I.useState)(0);
(0, I.useEffect)(() => {
let e = a.trim();
@@ -37091,38 +37428,38 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = Ot({
- queryKey: Ese(l),
- queryFn: ({ signal: e }) => Vse(l, e),
+ let D = kt({
+ queryKey: Rse(l),
+ queryFn: ({ signal: e }) => $se(l, e),
enabled: l.length > 0 && d
}), O = (0, I.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Nj({
- queryKey: Tse,
- queryFn: ({ signal: e }) => Bse(e),
- start: (e) => Hse([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Dj({
+ queryKey: Lse,
+ queryFn: ({ signal: e }) => Qse(e),
+ start: (e) => ece([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(K(e)),
onFinish: (e) => {
e.status === "failed" && w(e.error || "查找失败");
}
- }), P = (e) => {
+ }), ee = (e) => {
let t = e.trim();
!t || A || M.isPending || (w(""), g(-1), c(t), o(""), u(""), M.mutate(t));
- }, ee = D.isFetching, F = d && p !== a && (O.length > 0 || ee), te = () => {
+ }, te = D.isFetching, P = d && p !== a && (O.length > 0 || te), F = () => {
g(-1), m(a);
}, ne = (e) => {
if (!e.nativeEvent.isComposing) {
- if (e.key === "Escape" && F) {
- te();
+ if (e.key === "Escape" && P) {
+ F();
return;
}
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
if (!O.length) return;
- if (e.preventDefault(), !F) {
+ if (e.preventDefault(), !P) {
m(null);
return;
}
@@ -37133,18 +37470,18 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
});
return;
}
- e.key === "Enter" && (e.preventDefault(), P(O[h]?.value || a));
+ e.key === "Enter" && (e.preventDefault(), ee(O[h]?.value || a));
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: MN(t, e)
- })).filter((e) => !x.has(e.key))), ae = kt({
+ key: UN(t, e)
+ })).filter((e) => !x.has(e.key))), ae = At({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await Use(r.candidate);
+ let e = await tce(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${K(e)}`);
@@ -37152,7 +37489,7 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
E((e) => e + 1);
}
if (n.length) try {
- await fN(n);
+ await yN(n);
} catch (e) {
t.push(K(e));
}
@@ -37162,7 +37499,7 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
};
},
onSuccess: (e) => {
- if (SN(), e.failures.length) {
+ if (kN(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -37171,7 +37508,7 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37191,25 +37528,25 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, L.jsx)(sM, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "来源链接、名字或 id",
- placeholder: oce,
+ placeholder: zN,
value: a,
- leadingIcon: OS,
+ leadingIcon: LS,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), F ? /* @__PURE__ */ (0, L.jsx)(uce, {
+ }), P ? /* @__PURE__ */ (0, L.jsx)(WN, {
field: _,
menu: v,
options: O,
active: h,
- busy: ee,
- onPick: P,
- onClose: te
+ busy: te,
+ onPick: ee,
+ onClose: F
}) : null]
}),
- /* @__PURE__ */ (0, L.jsx)(NN, {
+ /* @__PURE__ */ (0, L.jsx)(GN, {
credentials: t,
hidden: y,
onHidden: b,
@@ -37219,7 +37556,7 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
variant: "primary",
disabled: n || !a.trim(),
...Y(A || M.isPending),
- onClick: () => P(a),
+ onClick: () => ee(a),
children: "查找"
})
]
@@ -37227,11 +37564,11 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
/* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(zw, {
+ children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Jw, {
label: k.message || `查找中:${k.checked || 0}/${k.total}`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: se ? sce : cce }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: se ? BN : VN }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -37240,8 +37577,8 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
re.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(PN, {
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(KN, {
row: e,
at: t,
hidden: y,
@@ -37287,7 +37624,7 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
size: "small",
disabled: n,
title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,
- onClick: () => P(e.name),
+ onClick: () => ee(e.name),
children: e.name
}, e.name))]
}) : null
@@ -37296,16 +37633,16 @@ function FN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var IN = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, LN = (e) => e.alias;
-function RN(e, t, n) {
+var JN = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, YN = (e) => e.alias;
+function XN(e, t, n) {
let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function zN({ sources: e, name: t, canonicalKey: n }) {
+function ZN({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(ON, {
- group: RN(e, t, n),
+ children: [/* @__PURE__ */ (0, L.jsx)(FN, {
+ group: XN(e, t, n),
name: t
}), /* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
@@ -37313,15 +37650,15 @@ function zN({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = kt({
+function QN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+ let [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = At({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await hN(n.canonical, n.alias);
+ await SN(n.canonical, n.alias);
} catch (n) {
- throw t && SN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && kN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -37331,19 +37668,19 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), SN(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), kN(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
- }), m = kt({
- mutationFn: (e) => hN(e.canonical, e.alias),
+ }), m = At({
+ mutationFn: (e) => SN(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), SN(), i("已保存创作者别名");
+ c(""), u(""), f(""), kN(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
- }), g = kt({
- mutationFn: (e) => Wse(e),
+ }), g = At({
+ mutationFn: (e) => nce(e),
onSuccess: () => {
- c(""), SN(), i("已移除创作者别名");
+ c(""), kN(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -37353,9 +37690,9 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(LN(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
+ }, v = t.filter((e) => a.has(YN(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37366,10 +37703,10 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -37377,7 +37714,7 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -37398,13 +37735,13 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(oj, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, L.jsx)(ej, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "待合并" }),
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "待合并" }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -37426,18 +37763,18 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, L.jsx)(Uj, { children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Lj, { children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": "待合并创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [
/* @__PURE__ */ (0, L.jsx)(nO, {
id: "select",
- children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(LN)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(YN)) : /* @__PURE__ */ new Set())
})
}),
/* @__PURE__ */ (0, L.jsx)(nO, {
@@ -37458,12 +37795,12 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "操作"
})
] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: t.map((e) => {
- let t = LN(e);
+ let t = YN(e);
return /* @__PURE__ */ (0, L.jsxs)(sO, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -37472,7 +37809,7 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zN, {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(ZN, {
sources: n,
name: e.canonical
}) }),
@@ -37498,11 +37835,11 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, L.jsx)(Uj, { children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ }), e.length ? /* @__PURE__ */ (0, L.jsx)(Lj, { children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": "已保存创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [/* @__PURE__ */ (0, L.jsx)(nO, {
@@ -37514,7 +37851,7 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "平台别名"
})] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(sO, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zN, {
+ children: [/* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(ZN, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
@@ -37526,13 +37863,13 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: mS,
+ leadingIcon: bS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(g.isPending),
onClick: () => void h({
title: "移除创作者别名",
- body: IN(e.name),
+ body: JN(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => g.mutateAsync(e.name)
})
@@ -37540,9 +37877,9 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: NS,
+ icon: HS,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -37552,33 +37889,33 @@ function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var VN = "这些账号信息存在哪里", HN = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", UN = "将清除这个来源在本机和共享副本中的登录凭据。", WN = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function GN(e, t) {
+var $N = "这些账号信息存在哪里", eP = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", tP = "将清除这个来源在本机和共享副本中的登录凭据。", nP = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function rP(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function KN({ row: e }) {
- if (wN(e)) return /* @__PURE__ */ (0, L.jsx)(yw, {
+function iP({ row: e }) {
+ if (NN(e)) return /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(yw, {
+ return /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: t,
- children: nce[e.requirement] || ""
+ children: MN[e.requirement] || ""
});
}
-function qN({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = wN(e), c = kt({
- mutationFn: (t) => Gse(e.provider, t),
+function aP({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = NN(e), c = At({
+ mutationFn: (t) => rce(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: YM,
+ queryKey: nN,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -37594,17 +37931,17 @@ function qN({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsxs)(aj, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(cj, {
+ /* @__PURE__ */ (0, L.jsxs)($A, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(nj, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, L.jsx)(aj, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, L.jsx)($A, { children: e.howto }) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-end gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(tM, {
type: "password",
label: n,
- placeholder: GN(e, n),
+ placeholder: rP(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -37632,7 +37969,7 @@ function qN({ row: e, readOnly: t, toast: n }) {
...Y(c.isPending),
onClick: () => void h({
title: "清除来源凭据",
- body: UN,
+ body: tP,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -37640,9 +37977,9 @@ function qN({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, L.jsx)(oj, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(aj, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, L.jsx)(ZA, {
+ a ? /* @__PURE__ */ (0, L.jsx)(ej, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)($A, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, L.jsx)(GA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -37650,25 +37987,25 @@ function qN({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: WN
+ children: nP
}) : null
]
});
}
-function JN({ row: e, readOnly: t, toast: n }) {
+function oP({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider })
+ children: /* @__PURE__ */ (0, L.jsx)(PN, { provider: e.provider })
}),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, L.jsx)(KN, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ /* @__PURE__ */ (0, L.jsx)(iP, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -37677,13 +38014,13 @@ function JN({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(aj, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)($A, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, L.jsx)(dj, {
- summary: wN(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !wN(e),
- children: /* @__PURE__ */ (0, L.jsx)(qN, {
+ children: [r, /* @__PURE__ */ (0, L.jsx)(aj, {
+ summary: NN(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !NN(e),
+ children: /* @__PURE__ */ (0, L.jsx)(aP, {
row: e,
readOnly: t,
toast: n
@@ -37691,10 +38028,10 @@ function JN({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function YN({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !wN(e));
+function sP({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !NN(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37710,11 +38047,11 @@ function YN({ data: e, readOnly: t, toast: n }) {
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(JN, {
+ children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(oP, {
row: e,
readOnly: t,
toast: n
@@ -37725,13 +38062,13 @@ function YN({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: VN
+ children: $N
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: HN
+ children: eP
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(GA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -37740,16 +38077,16 @@ function YN({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: SS,
+ icon: jS,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function XN() {
+function cP() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -37762,24 +38099,24 @@ function XN() {
group: (e) => e
};
}
-function ZN(e, t) {
+function lP(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function QN(e, t) {
+function uP(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: ZN(n, t[e])
+ [e]: lP(n, t[e])
}));
};
}
-function $N(e) {
+function dP(e) {
return e instanceof Function;
}
-function eP(e) {
+function fP(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function tP(e, t) {
+function pP(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -37789,7 +38126,7 @@ function tP(e, t) {
};
return r(e), n;
}
-function nP(e, t, n) {
+function mP(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -37811,21 +38148,21 @@ function nP(e, t, n) {
return i;
};
}
-function rP(e, t, n, r) {
+function hP(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function iP(e, t, n, r) {
+function gP(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: nP(() => [
+ getContext: mP(() => [
e,
n,
t,
@@ -37837,13 +38174,13 @@ function iP(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), rP(e.options, "debugCells", "cell.getContext"))
+ }), hP(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function aP(e, t, n, r) {
+function _P(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -37860,17 +38197,17 @@ function aP(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: nP(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], rP(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: nP(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: mP(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], hP(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: mP(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, rP(e.options, "debugColumns", "column.getLeafColumns"))
+ }, hP(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var oP = "debugHeaders";
-function sP(e, t, n) {
+var vP = "debugHeaders";
+function yP(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -37898,42 +38235,42 @@ function sP(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var cP = { createTable: (e) => {
- e.getHeaderGroups = nP(() => [
+var bP = { createTable: (e) => {
+ e.getHeaderGroups = mP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return lP(t, [
+ return xP(t, [
...a,
...s,
...o
], e);
- }, rP(e.options, oP, "getHeaderGroups")), e.getCenterHeaderGroups = nP(() => [
+ }, hP(e.options, vP, "getHeaderGroups")), e.getCenterHeaderGroups = mP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), lP(t, n, e, "center")), rP(e.options, oP, "getCenterHeaderGroups")), e.getLeftHeaderGroups = nP(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), xP(t, n, e, "center")), hP(e.options, vP, "getCenterHeaderGroups")), e.getLeftHeaderGroups = mP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => lP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), rP(e.options, oP, "getLeftHeaderGroups")), e.getRightHeaderGroups = nP(() => [
+ ], (t, n, r) => xP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), hP(e.options, vP, "getLeftHeaderGroups")), e.getRightHeaderGroups = mP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => lP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), rP(e.options, oP, "getRightHeaderGroups")), e.getFooterGroups = nP(() => [e.getHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getFooterGroups")), e.getLeftFooterGroups = nP(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getLeftFooterGroups")), e.getCenterFooterGroups = nP(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getCenterFooterGroups")), e.getRightFooterGroups = nP(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getRightFooterGroups")), e.getFlatHeaders = nP(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getFlatHeaders")), e.getLeftFlatHeaders = nP(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getLeftFlatHeaders")), e.getCenterFlatHeaders = nP(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getCenterFlatHeaders")), e.getRightFlatHeaders = nP(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getRightFlatHeaders")), e.getCenterLeafHeaders = nP(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => xP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), hP(e.options, vP, "getRightHeaderGroups")), e.getFooterGroups = mP(() => [e.getHeaderGroups()], (e) => [...e].reverse(), hP(e.options, vP, "getFooterGroups")), e.getLeftFooterGroups = mP(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), hP(e.options, vP, "getLeftFooterGroups")), e.getCenterFooterGroups = mP(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), hP(e.options, vP, "getCenterFooterGroups")), e.getRightFooterGroups = mP(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), hP(e.options, vP, "getRightFooterGroups")), e.getFlatHeaders = mP(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), hP(e.options, vP, "getFlatHeaders")), e.getLeftFlatHeaders = mP(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), hP(e.options, vP, "getLeftFlatHeaders")), e.getCenterFlatHeaders = mP(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), hP(e.options, vP, "getCenterFlatHeaders")), e.getRightFlatHeaders = mP(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), hP(e.options, vP, "getRightFlatHeaders")), e.getCenterLeafHeaders = mP(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), rP(e.options, oP, "getCenterLeafHeaders")), e.getLeftLeafHeaders = nP(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), hP(e.options, vP, "getCenterLeafHeaders")), e.getLeftLeafHeaders = mP(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), rP(e.options, oP, "getLeftLeafHeaders")), e.getRightLeafHeaders = nP(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), hP(e.options, vP, "getLeftLeafHeaders")), e.getRightLeafHeaders = mP(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), rP(e.options, oP, "getRightLeafHeaders")), e.getLeafHeaders = nP(() => [
+ }), hP(e.options, vP, "getRightLeafHeaders")), e.getLeafHeaders = mP(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -37941,9 +38278,9 @@ var cP = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), rP(e.options, oP, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), hP(e.options, vP, "getLeafHeaders"));
} };
-function lP(e, t, n, r) {
+function xP(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -37961,7 +38298,7 @@ function lP(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = sP(n, c, {
+ let i = yP(n, c, {
id: [
r,
t,
@@ -37978,7 +38315,7 @@ function lP(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => sP(n, e, {
+ s(t.map((e, t) => yP(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -37996,7 +38333,7 @@ function lP(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var uP = (e, t, n, r, i, a, o) => {
+var SP = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -38017,7 +38354,7 @@ var uP = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => tP(s.subRows, (e) => e.subRows),
+ getLeafRows: () => pP(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -38028,95 +38365,95 @@ var uP = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: nP(() => [e.getAllLeafColumns()], (t) => t.map((t) => iP(e, s, t, t.id)), rP(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: nP(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), rP(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: mP(() => [e.getAllLeafColumns()], (t) => t.map((t) => gP(e, s, t, t.id)), hP(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: mP(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), hP(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, dP = { createColumn: (e, t) => {
+}, CP = { createColumn: (e, t) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, fP = (e, t, n) => {
+} }, wP = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-fP.autoRemove = (e) => SP(e);
-var pP = (e, t, n) => {
+wP.autoRemove = (e) => PP(e);
+var TP = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-pP.autoRemove = (e) => SP(e);
-var mP = (e, t, n) => {
+TP.autoRemove = (e) => PP(e);
+var EP = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-mP.autoRemove = (e) => SP(e);
-var hP = (e, t, n) => e.getValue(t)?.includes(n);
-hP.autoRemove = (e) => SP(e);
-var gP = (e, t, n) => !n.some((n) => {
+EP.autoRemove = (e) => PP(e);
+var DP = (e, t, n) => e.getValue(t)?.includes(n);
+DP.autoRemove = (e) => PP(e);
+var OP = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-gP.autoRemove = (e) => SP(e) || !(e != null && e.length);
-var _P = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-_P.autoRemove = (e) => SP(e) || !(e != null && e.length);
-var vP = (e, t, n) => e.getValue(t) === n;
-vP.autoRemove = (e) => SP(e);
-var yP = (e, t, n) => e.getValue(t) == n;
-yP.autoRemove = (e) => SP(e);
-var bP = (e, t, n) => {
+OP.autoRemove = (e) => PP(e) || !(e != null && e.length);
+var kP = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+kP.autoRemove = (e) => PP(e) || !(e != null && e.length);
+var AP = (e, t, n) => e.getValue(t) === n;
+AP.autoRemove = (e) => PP(e);
+var jP = (e, t, n) => e.getValue(t) == n;
+jP.autoRemove = (e) => PP(e);
+var MP = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-bP.resolveFilterValue = (e) => {
+MP.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, bP.autoRemove = (e) => SP(e) || SP(e[0]) && SP(e[1]);
-var xP = {
- includesString: fP,
- includesStringSensitive: pP,
- equalsString: mP,
- arrIncludes: hP,
- arrIncludesAll: gP,
- arrIncludesSome: _P,
- equals: vP,
- weakEquals: yP,
- inNumberRange: bP
+}, MP.autoRemove = (e) => PP(e) || PP(e[0]) && PP(e[1]);
+var NP = {
+ includesString: wP,
+ includesStringSensitive: TP,
+ equalsString: EP,
+ arrIncludes: DP,
+ arrIncludesAll: OP,
+ arrIncludesSome: kP,
+ equals: AP,
+ weakEquals: jP,
+ inNumberRange: MP
};
-function SP(e) {
+function PP(e) {
return e == null || e === "";
}
-var CP = {
+var FP = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: QN("columnFilters", e),
+ onColumnFiltersChange: uP("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? xP.includesString : typeof n == "number" ? xP.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? xP.equals : Array.isArray(n) ? xP.arrIncludes : xP.weakEquals;
- }, e.getFilterFn = () => $N(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? xP[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? NP.includesString : typeof n == "number" ? NP.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? NP.equals : Array.isArray(n) ? NP.arrIncludes : NP.weakEquals;
+ }, e.getFilterFn = () => dP(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? NP[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = ZN(n, i ? i.value : void 0);
- if (wP(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = lP(n, i ? i.value : void 0);
+ if (IP(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -38131,19 +38468,19 @@ var CP = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => ZN(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => lP(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && wP(t.getFilterFn(), e.value, t));
+ return !(t && IP(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function wP(e, t, n) {
+function IP(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var TP = {
+var LP = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -38179,7 +38516,7 @@ var TP = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!eP(n)) return;
+ if (!fP(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -38187,7 +38524,7 @@ var TP = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, EP = {
+}, RP = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -38200,7 +38537,7 @@ var TP = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: QN("grouping", e),
+ onGroupingChange: uP("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -38213,11 +38550,11 @@ var TP = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return TP.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return TP.extent;
+ if (typeof n == "number") return LP.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return LP.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return $N(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? TP[e.columnDef.aggregationFn];
+ return dP(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? LP[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -38239,27 +38576,27 @@ var TP = {
};
}
};
-function DP(e, t, n) {
+function zP(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var OP = {
+var BP = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: QN("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: uP("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = nP((e) => [zP(t, e)], (t) => t.findIndex((t) => t.id === e.id), rP(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => zP(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = zP(t, n);
+ e.getIndex = mP((e) => [ZP(t, e)], (t) => t.findIndex((t) => t.id === e.id), hP(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => ZP(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = ZP(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = nP(() => [
+ }, e._getOrderColumnsFn = mP(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -38274,18 +38611,18 @@ var OP = {
}
i = [...i, ...n];
}
- return DP(i, t, n);
- }, rP(e.options, "debugTable", "_getOrderColumnsFn"));
+ return zP(i, t, n);
+ }, hP(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, kP = () => ({
+}, VP = () => ({
left: [],
right: []
-}), AP = {
+}), HP = {
getInitialState: (e) => ({
- columnPinning: kP(),
+ columnPinning: VP(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: QN("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: uP("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -38309,75 +38646,75 @@ var OP = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = nP(() => [
+ e.getCenterVisibleCells = mP(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, rP(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = nP(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, hP(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = mP(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), rP(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = nP(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), hP(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = mP(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), rP(t.options, "debugRows", "getRightVisibleCells"));
+ })), hP(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? kP() : e.initialState?.columnPinning ?? kP()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? VP() : e.initialState?.columnPinning ?? VP()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = nP(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rP(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = nP(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rP(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = nP(() => [
+ }, e.getLeftLeafColumns = mP(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), hP(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = mP(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), hP(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = mP(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, rP(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, hP(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function jP(e) {
+function UP(e) {
return e || (typeof document < "u" ? document : null);
}
-var MP = {
+var WP = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, NP = () => ({
+}, GP = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), PP = {
- getDefaultColumnDef: () => MP,
+}), KP = {
+ getDefaultColumnDef: () => WP,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: NP(),
+ columnSizingInfo: GP(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: QN("columnSizing", e),
- onColumnSizingInfoChange: QN("columnSizingInfo", e)
+ onColumnSizingChange: uP("columnSizing", e),
+ onColumnSizingInfoChange: uP("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? MP.minSize, n ?? e.columnDef.size ?? MP.size), e.columnDef.maxSize ?? MP.maxSize);
- }, e.getStart = nP((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? WP.minSize, n ?? e.columnDef.size ?? WP.size), e.columnDef.maxSize ?? WP.maxSize);
+ }, e.getStart = mP((e) => [
e,
- zP(t, e),
+ ZP(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), rP(t.options, "debugColumns", "getStart")), e.getAfter = nP((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), hP(t.options, "debugColumns", "getStart")), e.getAfter = mP((e) => [
e,
- zP(t, e),
+ ZP(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), rP(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), hP(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -38399,8 +38736,8 @@ var MP = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), LP(a) && a.touches && a.touches.length > 1)) return;
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = LP(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), YP(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = YP(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
typeof n == "number" && (t.setColumnSizingInfo((e) => {
let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
return e.columnSizingStart.forEach((e) => {
@@ -38425,7 +38762,7 @@ var MP = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = jP(n), m = {
+ }, p = UP(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -38435,8 +38772,8 @@ var MP = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = IP() ? { passive: !1 } : !1;
- LP(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = JP() ? { passive: !1 } : !1;
+ YP(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -38452,12 +38789,12 @@ var MP = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? NP() : e.initialState.columnSizingInfo ?? NP());
+ e.setColumnSizingInfo(t ? GP() : e.initialState.columnSizingInfo ?? GP());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, FP = null;
-function IP() {
- if (typeof FP == "boolean") return FP;
+}, qP = null;
+function JP() {
+ if (typeof qP == "boolean") return qP;
let e = !1;
try {
let t = { get passive() {
@@ -38467,17 +38804,17 @@ function IP() {
} catch {
e = !1;
}
- return FP = e, FP;
+ return qP = e, qP;
}
-function LP(e) {
+function YP(e) {
return e.type === "touchstart";
}
-var RP = {
+var XP = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: QN("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: uP("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -38492,7 +38829,7 @@ var RP = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = nP(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), rP(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = nP(() => [
+ e._getAllVisibleCells = mP(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), hP(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = mP(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -38500,10 +38837,10 @@ var RP = {
...e,
...t,
...n
- ], rP(t.options, "debugRows", "getVisibleCells"));
+ ], hP(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => nP(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), rP(e.options, "debugColumns", t));
+ let t = (t, n) => mP(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), hP(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -38516,20 +38853,20 @@ var RP = {
};
}
};
-function zP(e, t) {
+function ZP(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var BP = { createTable: (e) => {
+var QP = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, VP = {
+} }, $P = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: QN("globalFilter", e),
+ onGlobalFilterChange: uP("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -38541,22 +38878,22 @@ var BP = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => xP.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => NP.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return $N(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? xP[t];
+ return dP(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? NP[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, HP = {
+}, eF = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: QN("expanded", e),
+ onExpandedChange: uP("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -38627,18 +38964,18 @@ var BP = { createTable: (e) => {
};
};
}
-}, UP = 0, WP = 10, GP = () => ({
- pageIndex: UP,
- pageSize: WP
-}), KP = {
+}, tF = 0, nF = 10, rF = () => ({
+ pageIndex: tF,
+ pageSize: nF
+}), iF = {
getInitialState: (e) => ({
...e,
pagination: {
- ...GP(),
+ ...rF(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: QN("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: uP("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -38654,11 +38991,11 @@ var BP = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => ZN(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? GP() : e.initialState.pagination ?? GP());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => lP(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? rF() : e.initialState.pagination ?? rF());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = ZN(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = lP(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
@@ -38666,13 +39003,13 @@ var BP = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? UP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? UP);
+ e.setPageIndex(t ? tF : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? tF);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? WP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? WP);
+ e.setPageSize(t ? nF : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? nF);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, ZN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, lP(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -38680,28 +39017,28 @@ var BP = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = ZN(t, e.options.pageCount ?? -1);
+ let r = lP(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = nP(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = mP(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, rP(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, hP(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
}
-}, qP = () => ({
+}, aF = () => ({
top: [],
bottom: []
-}), JP = {
+}), oF = {
getInitialState: (e) => ({
- rowPinning: qP(),
+ rowPinning: aF(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: QN("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: uP("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -38740,7 +39077,7 @@ var BP = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? qP() : e.initialState?.rowPinning ?? qP()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? aF() : e.initialState?.rowPinning ?? aF()), e.getIsSomeRowsPinned = (t) => {
let n = e.getState().rowPinning;
return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -38749,22 +39086,22 @@ var BP = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = nP(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), rP(e.options, "debugRows", "getTopRows")), e.getBottomRows = nP(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), rP(e.options, "debugRows", "getBottomRows")), e.getCenterRows = nP(() => [
+ })), e.getTopRows = mP(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), hP(e.options, "debugRows", "getTopRows")), e.getBottomRows = mP(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), hP(e.options, "debugRows", "getBottomRows")), e.getCenterRows = mP(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, rP(e.options, "debugRows", "getCenterRows"));
+ }, hP(e.options, "debugRows", "getCenterRows"));
}
-}, YP = {
+}, sF = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: QN("rowSelection", e),
+ onRowSelectionChange: uP("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -38783,21 +39120,21 @@ var BP = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- XP(i, t.id, r, !0, e);
+ cF(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = nP(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? ZP(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = mP(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? lF(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, rP(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = nP(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? ZP(e, n) : {
+ }, hP(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = mP(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? lF(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, rP(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = nP(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? ZP(e, n) : {
+ }, hP(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = mP(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? lF(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, rP(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, hP(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -38821,17 +39158,17 @@ var BP = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return XP(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return cF(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return QP(e, n);
+ return uF(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return $P(e, n) === "some";
+ return dF(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return $P(e, n) === "all";
+ return dF(e, n) === "all";
}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
let t = e.getCanSelect();
return (n) => {
@@ -38839,16 +39176,16 @@ var BP = { createTable: (e) => {
};
};
}
-}, XP = (e, t, n, r, i) => {
+}, cF = (e, t, n, r, i) => {
var a;
let o = i.getRow(t, !0);
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => XP(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => cF(e, t.id, n, r, i));
};
-function ZP(e, t) {
+function lF(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = QP(e, n);
+ let o = uF(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -38861,32 +39198,32 @@ function ZP(e, t) {
rowsById: i
};
}
-function QP(e, t) {
+function uF(e, t) {
return t[e.id] ?? !1;
}
-function $P(e, t, n) {
+function dF(e, t, n) {
var r;
if (!((r = e.subRows) != null && r.length)) return !1;
let i = !0, a = !1;
return e.subRows.forEach((e) => {
- if (!(a && !i) && (e.getCanSelect() && (QP(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = $P(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (uF(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = dF(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var eF = /([0-9]+)/gm, tF = (e, t, n) => lF(cF(e.getValue(n)).toLowerCase(), cF(t.getValue(n)).toLowerCase()), nF = (e, t, n) => lF(cF(e.getValue(n)), cF(t.getValue(n))), rF = (e, t, n) => sF(cF(e.getValue(n)).toLowerCase(), cF(t.getValue(n)).toLowerCase()), iF = (e, t, n) => sF(cF(e.getValue(n)), cF(t.getValue(n))), aF = (e, t, n) => {
+var fF = /([0-9]+)/gm, pF = (e, t, n) => xF(bF(e.getValue(n)).toLowerCase(), bF(t.getValue(n)).toLowerCase()), mF = (e, t, n) => xF(bF(e.getValue(n)), bF(t.getValue(n))), hF = (e, t, n) => yF(bF(e.getValue(n)).toLowerCase(), bF(t.getValue(n)).toLowerCase()), gF = (e, t, n) => yF(bF(e.getValue(n)), bF(t.getValue(n))), _F = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, oF = (e, t, n) => sF(e.getValue(n), t.getValue(n));
-function sF(e, t) {
+}, vF = (e, t, n) => yF(e.getValue(n), t.getValue(n));
+function yF(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function cF(e) {
+function bF(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function lF(e, t) {
- let n = e.split(eF).filter(Boolean), r = t.split(eF).filter(Boolean);
+function xF(e, t) {
+ let n = e.split(fF).filter(Boolean), r = t.split(fF).filter(Boolean);
for (; n.length && r.length;) {
let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
if (isNaN(o[0])) {
@@ -38900,22 +39237,22 @@ function lF(e, t) {
}
return n.length - r.length;
}
-var uF = {
- alphanumeric: tF,
- alphanumericCaseSensitive: nF,
- text: rF,
- textCaseSensitive: iF,
- datetime: aF,
- basic: oF
-}, dF = [
- cP,
- RP,
- OP,
- AP,
- dP,
- CP,
+var SF = {
+ alphanumeric: pF,
+ alphanumericCaseSensitive: mF,
+ text: hF,
+ textCaseSensitive: gF,
+ datetime: _F,
+ basic: vF
+}, CF = [
+ bP,
+ XP,
BP,
- VP,
+ HP,
+ CP,
+ FP,
+ QP,
+ $P,
{
getInitialState: (e) => ({
sorting: [],
@@ -38926,7 +39263,7 @@ var uF = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: QN("sorting", e),
+ onSortingChange: uP("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -38934,13 +39271,13 @@ var uF = {
let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
for (let t of n) {
let n = t?.getValue(e.id);
- if (Object.prototype.toString.call(n) === "[object Date]") return uF.datetime;
- if (typeof n == "string" && (r = !0, n.split(eF).length > 1)) return uF.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return SF.datetime;
+ if (typeof n == "string" && (r = !0, n.split(fF).length > 1)) return SF.alphanumeric;
}
- return r ? uF.text : uF.basic;
+ return r ? SF.text : SF.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return $N(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? uF[e.columnDef.sortingFn];
+ return dP(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? SF[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -38977,15 +39314,15 @@ var uF = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- EP,
- HP,
- KP,
- JP,
- YP,
- PP
+ RP,
+ eF,
+ iF,
+ oF,
+ sF,
+ KP
];
-function fF(e) {
- let t = [...dF, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function wF(e) {
+ let t = [...CF, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -39011,7 +39348,7 @@ function fF(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = ZN(e, n.options);
+ let t = lP(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -39026,7 +39363,7 @@ function fF(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: nP(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: mP(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -39037,20 +39374,20 @@ function fF(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), rP(e, "debugColumns", "_getDefaultColumnDef")),
+ }), hP(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: nP(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: mP(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = aP(n, e, i, r), o = e;
+ let a = _P(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, rP(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: nP(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), rP(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: nP(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), rP(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: nP(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), rP(e, "debugColumns", "getAllLeafColumns")),
+ }, hP(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: mP(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), hP(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: mP(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), hP(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: mP(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), hP(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -39060,8 +39397,8 @@ function fF(e) {
}
return n;
}
-function pF() {
- return (e) => nP(() => [e.options.data], (t) => {
+function TF() {
+ return (e) => mP(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -39070,7 +39407,7 @@ function pF() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = uP(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = SP(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -39079,9 +39416,9 @@ function pF() {
return o;
};
return n.rows = r(t), n;
- }, rP(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, hP(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function mF(e) {
+function EF(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -39092,8 +39429,8 @@ function mF(e) {
rowsById: e.rowsById
};
}
-function hF(e) {
- return (e) => nP(() => [
+function DF(e) {
+ return (e) => mP(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -39106,7 +39443,7 @@ function hF(e) {
rows: a,
flatRows: o,
rowsById: s
- } : mF({
+ } : EF({
rows: a,
flatRows: o,
rowsById: s
@@ -39115,32 +39452,32 @@ function hF(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, rP(e.options, "debugTable", "getPaginationRowModel"));
+ }, hP(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function gF(e, t) {
- return e ? _F(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
+function OF(e, t) {
+ return e ? kF(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
}
-function _F(e) {
- return vF(e) || typeof e == "function" || yF(e);
+function kF(e) {
+ return AF(e) || typeof e == "function" || jF(e);
}
-function vF(e) {
+function AF(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function yF(e) {
+function jF(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function bF(e) {
+function MF(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = I.useState(() => ({ current: fF(t) })), [r, i] = I.useState(() => n.current.initialState);
+ }, [n] = I.useState(() => ({ current: wF(t) })), [r, i] = I.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -39155,7 +39492,7 @@ function bF(e) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-function xF({ children: e, count: t, label: n }) {
+function NF({ children: e, count: t, label: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": n,
@@ -39170,8 +39507,8 @@ function xF({ children: e, count: t, label: n }) {
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var SF = "输入女优名,到 JavDB 找她的演员页";
-function CF(e, t) {
+var PF = "输入女优名,到 JavDB 找她的演员页";
+function FF(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -39190,10 +39527,10 @@ function CF(e, t) {
blocked: !1
};
}
-function wF({ card: e, picked: t, onPick: n }) {
+function IF({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(zj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -39203,7 +39540,7 @@ function wF({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ e.record ? /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "neutral",
children: e.record
@@ -39214,16 +39551,16 @@ function wF({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(cj, {
+ }), /* @__PURE__ */ (0, L.jsx)(nj, {
href: e.url,
children: e.id
})]
});
}
-function TF({ 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 = Bw(), u = () => {
+function LF({ 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 = Yw(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => Jse(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => oce(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -39231,12 +39568,12 @@ function TF({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => Yse(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => sce(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? CF(a, s) : null;
+ }, m = a ? FF(a, s) : null;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -39249,11 +39586,11 @@ function TF({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: /* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "女优名",
- placeholder: SF,
+ placeholder: PF,
value: r,
- leadingIcon: OS,
+ leadingIcon: LS,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -39274,16 +39611,16 @@ function TF({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(wF, {
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(IF, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, L.jsx)(aj, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(aj, {
+ }, e.id)) : /* @__PURE__ */ (0, L.jsx)($A, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, L.jsx)($A, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -39310,7 +39647,7 @@ function TF({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var EF = {
+var RF = {
select: "选择",
name: "名称",
kind: "类型",
@@ -39320,33 +39657,33 @@ var EF = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, DF = /* @__PURE__ */ new Set(["select", "actions"]), OF = () => X.invalidateQueries({
- queryKey: XM,
+}, zF = /* @__PURE__ */ new Set(["select", "actions"]), BF = () => X.invalidateQueries({
+ queryKey: rN,
exact: !0
-}), kF = (e) => e.name || e.url, AF = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function jF(e) {
+}), VF = (e) => e.name || e.url, HF = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function UF(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function MF({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, L.jsx)(yw, {
+function WF({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, L.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function NF({ source: e }) {
+function GF({ source: e }) {
return e.has_image && e.entity_id ? /* @__PURE__ */ (0, L.jsx)("img", {
src: `/entity-image?kind=performer&id=${e.entity_id}&thumb=1`,
alt: "",
@@ -39357,34 +39694,34 @@ function NF({ source: e }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: kF(e).slice(0, 1)
+ children: VF(e).slice(0, 1)
});
}
-function PF(e, t) {
+function KF(e, t) {
let n = e.length === 1 ? e[0] : null;
return h({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${kF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${VF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function FF({ readOnly: e, toast: t }) {
- let n = Ot({
- queryKey: XM,
- queryFn: ({ signal: e }) => gN(e)
- }), r = Bw(), i = n.data, a = (0, I.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, I.useState)(/* @__PURE__ */ new Set());
+function qF({ readOnly: e, toast: t }) {
+ let n = kt({
+ queryKey: rN,
+ queryFn: ({ signal: e }) => CN(e)
+ }), r = Yw(), i = n.data, a = (0, I.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, I.useState)(/* @__PURE__ */ new Set());
(0, I.useEffect)(() => {
s((e) => {
let t = new Set(a.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
return n.size === e.size ? e : n;
});
}, [a]);
- let c = kt({
+ let c = At({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await vN(t) : await _N(t, e.action === "enabled");
+ e.action === "remove" ? await TN(t) : await wN(t, e.action === "enabled");
});
return {
...e,
@@ -39393,7 +39730,7 @@ function FF({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), OF(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), BF(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
}
@@ -39409,31 +39746,31 @@ function FF({ readOnly: e, toast: t }) {
u.current = {
readOnly: e,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => _N(e.id, t, n), () => void OF()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => yN(t, [e.id]), () => void OF()),
- remove: (e) => void PF([e], async () => {
- await vN(e.id), t(`已移除订阅源「${kF(e)}」`), OF();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => wN(e.id, t, n), () => void BF()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => EN(t, [e.id]), () => void BF()),
+ remove: (e) => void KF([e], async () => {
+ await TN(e.id), t(`已移除订阅源「${VF(e)}」`), BF();
})
};
let d = (0, I.useMemo)(() => {
- let e = XN(), t = (e) => () => EF[e] || e;
+ let e = cP(), t = (e) => () => RF[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(zj, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${kF(e.row.original)}`
+ "aria-label": `选择 ${VF(e.row.original)}`
})
}),
- e.accessor(kF, {
+ e.accessor(VF, {
id: "name",
header: t("name"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
- children: [/* @__PURE__ */ (0, L.jsx)(NF, { source: e.row.original }), e.getValue()]
+ children: [/* @__PURE__ */ (0, L.jsx)(GF, { source: e.row.original }), e.getValue()]
})
}),
e.accessor((e) => e.kind_label, {
@@ -39453,15 +39790,15 @@ function FF({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: jF(e.getValue())
+ children: UF(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(MF, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(WF, { source: e.row.original })
}),
- e.accessor((e) => AF(e.interval_minutes), {
+ e.accessor((e) => HF(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39469,7 +39806,7 @@ function FF({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? yk(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? bk(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39492,7 +39829,7 @@ function FF({ readOnly: e, toast: t }) {
className: "flex items-center gap-1",
children: [
/* @__PURE__ */ (0, L.jsx)(yO, {
- "aria-label": `启用 ${kF(e.row.original)}`,
+ "aria-label": `启用 ${VF(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: u.current.readOnly,
onChange: (t) => u.current.toggle(e.row.original, t)
@@ -39501,8 +39838,8 @@ function FF({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: ES,
- "aria-label": `拉取 ${kF(e.row.original)}`,
+ leadingIcon: FS,
+ "aria-label": `拉取 ${VF(e.row.original)}`,
disabled: u.current.readOnly,
...Y(u.current.busy === `check-${e.row.original.id}`),
onClick: () => u.current.fetch(e.row.original)
@@ -39511,8 +39848,8 @@ function FF({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: _S,
- "aria-label": `移除 ${kF(e.row.original)}`,
+ leadingIcon: CS,
+ "aria-label": `移除 ${VF(e.row.original)}`,
disabled: u.current.readOnly,
onClick: () => u.current.remove(e.row.original)
})
@@ -39520,7 +39857,7 @@ function FF({ readOnly: e, toast: t }) {
})
})
];
- }, []), f = (0, I.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), p = bF({
+ }, []), f = (0, I.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), p = MF({
data: a,
columns: d,
getRowId: (e) => String(e.id),
@@ -39530,28 +39867,28 @@ function FF({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(f) : e;
s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: pF()
+ getCoreRowModel: TF()
});
if (!i) return n.error ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "打不开订阅源",
children: K(n.error)
- }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: "正在读订阅源。" });
- let m = () => void r.run("check", (e) => yN(e), () => void OF()), h = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, L.jsx)($A, { children: "正在读订阅源。" });
+ let m = () => void r.run("check", (e) => EN(e), () => void BF()), h = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), g = a.filter((e) => o.has(e.id)), _ = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(TF, {
+ /* @__PURE__ */ (0, L.jsx)(LF, {
readOnly: e,
toast: t,
- onAdded: () => void OF()
+ onAdded: () => void BF()
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, L.jsx)(aj, {
+ children: [/* @__PURE__ */ (0, L.jsx)($A, {
role: "status",
children: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了"
}), /* @__PURE__ */ (0, L.jsx)(G, {
@@ -39565,11 +39902,11 @@ function FF({ readOnly: e, toast: t }) {
className: "flex flex-col gap-3",
children: [_.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
- title: `${kF(e)} 拉取失败`,
+ title: `${VF(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: r.error }) : null]
}) : null,
- g.length ? /* @__PURE__ */ (0, L.jsxs)(xF, {
+ g.length ? /* @__PURE__ */ (0, L.jsxs)(NF, {
label: "订阅源批量操作",
count: `已选 ${g.length} 条订阅源`,
children: [
@@ -39600,7 +39937,7 @@ function FF({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...Y(c.isPending),
- onClick: () => void PF(g, () => c.mutateAsync({
+ onClick: () => void KF(g, () => c.mutateAsync({
ids: g.map((e) => e.id),
action: "remove"
})),
@@ -39614,26 +39951,26 @@ function FF({ readOnly: e, toast: t }) {
})
]
}) : null,
- a.length ? /* @__PURE__ */ (0, L.jsx)(Uj, {
+ a.length ? /* @__PURE__ */ (0, L.jsx)(Lj, {
onRowClick: (e) => h(Number(e)),
- children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": "订阅源",
size: "sm",
children: [/* @__PURE__ */ (0, L.jsx)(tO, { children: p.getHeaderGroups()[0].headers.map((e) => {
- let t = gF(e.column.columnDef.header, e.getContext());
+ let t = OF(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, L.jsx)(nO, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: DF.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(J_, { children: t }) : t
+ children: zF.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(G_, { children: t }) : t
}, e.id);
}) }), /* @__PURE__ */ (0, L.jsx)(iO, { children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(sO, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: gF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: OF(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
- icon: DS,
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ icon: IS,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -39643,19 +39980,19 @@ function FF({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var IF = Object.fromEntries(Object.entries($M).map(([e, t]) => [t, e])), LF = 740;
-function RF() {
+var JF = Object.fromEntries(Object.entries(oN).map(([e, t]) => [t, e])), YF = 740;
+function XF() {
let [e, t] = (0, I.useState)(!1), n = (0, I.useRef)(null), r = (0, I.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < LF));
- r.observe(e), n.current = r, t(e.clientWidth < LF);
+ let r = new ResizeObserver(() => t(e.clientWidth < YF));
+ r.observe(e), n.current = r, t(e.clientWidth < YF);
}, []);
return (0, I.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var zF = {
+var ZF = {
select: "选择",
author: "创作者",
source: "来源",
@@ -39664,7 +40001,7 @@ var zF = {
checked: "上次检查",
actions: "操作"
};
-function BF({ page: e, pages: t, onPage: n }) {
+function QF({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
@@ -39678,7 +40015,7 @@ function BF({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: hk(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: _k(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -39701,22 +40038,22 @@ function BF({ page: e, pages: t, onPage: n }) {
]
});
}
-function VF({ source: e, selected: t, onToggle: n, handlers: r }) {
+function $F({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- Hj(e, e.currentTarget) && n(!t);
+ Ij(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(AN, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(LN, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -39724,15 +40061,15 @@ function VF({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, L.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, L.jsx)(DN, {
+ children: /* @__PURE__ */ (0, L.jsx)(PN, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, L.jsx)(kN, { source: e }),
+ /* @__PURE__ */ (0, L.jsx)(IN, { source: e }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: CN(e)
+ children: AN(e)
}),
/* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": `启用 ${e.label}`,
@@ -39746,7 +40083,7 @@ function VF({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: ES,
+ leadingIcon: FS,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -39755,7 +40092,7 @@ function VF({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: _S,
+ leadingIcon: CS,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -39764,11 +40101,11 @@ function VF({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
- let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(tN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = cN(r, c);
+function eI({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(cN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = hN(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: Mw({
+ className: Vw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -39778,7 +40115,7 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(ON, {
+ /* @__PURE__ */ (0, L.jsx)(FN, {
group: e,
name: t
}),
@@ -39790,7 +40127,7 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: ES,
+ leadingIcon: FS,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -39799,7 +40136,7 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(J_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(PN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(G_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -39808,7 +40145,7 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: pS,
+ leadingIcon: yS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -39819,7 +40156,7 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? fS : lS,
+ leadingIcon: n ? vS : hS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -39829,7 +40166,7 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(VF, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)($F, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -39838,37 +40175,37 @@ function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
})]
});
}
-function UF(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: g, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = RF(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => Fse(v, n, r, y), [
+function tI(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: g, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = XF(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => qse(v, n, r, y), [
v,
n,
r,
y
- ]), O = (0, I.useMemo)(() => Ise(D, n, r, y), [
+ ]), O = (0, I.useMemo)(() => Jse(D, n, r, y), [
D,
n,
r,
y
- ]), { job: k, running: A, outcome: j, start: M } = Nj({
- queryKey: wse,
- queryFn: ({ signal: e }) => zse(e),
- start: (e) => fN(e),
+ ]), { job: k, running: A, outcome: j, start: M } = Dj({
+ queryKey: Ise,
+ queryFn: ({ signal: e }) => Zse(e),
+ start: (e) => yN(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- SN(), g(e.status === "failed" ? e.error || "检查失败" : Zse(e));
+ kN(), g(e.status === "failed" ? e.error || "检查失败" : lce(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, P = (e, t) => m(lN(s, [e], t)), ee = (e, t) => m(lN(s, e, t)), F = kt({
- mutationFn: (e) => mN(e),
+ }, ee = (e, t) => m(gN(s, [e], t)), te = (e, t) => m(gN(s, e, t)), P = At({
+ mutationFn: (e) => xN(e),
onSuccess: (e, t) => {
- xN([t]), m(lN(s, [t], !1)), g("已取消关注来源");
+ ON([t]), m(gN(s, [t], !1)), g("已取消关注来源");
},
onError: (e) => E(K(e))
- }), te = kt({
- mutationFn: (e) => pN(e.id, e.enabled),
+ }), F = At({
+ mutationFn: (e) => bN(e.id, e.enabled),
onSuccess: (e, t) => {
- bN(t.id, { enabled: t.enabled }), E("");
+ DN(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(K(e))
}), ne = (e) => void h({
@@ -39876,11 +40213,11 @@ function UF(e) {
body: "将移除这个来源及已抓取的条目,媒体文件保留。",
confirmLabel: "取消关注来源",
danger: !0,
- onConfirm: () => F.mutateAsync(e.id)
- }), re = kt({
+ onConfirm: () => P.mutateAsync(e.id)
+ }), re = At({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await mN(t) : await pN(t, e.action === "enabled");
+ e.action === "remove" ? await xN(t) : await bN(t, e.action === "enabled");
});
return {
...e,
@@ -39889,9 +40226,9 @@ function UF(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") xN(e.done);
- else for (let t of e.done) bN(t, { enabled: e.action === "enabled" });
- m(lN(s, e.done, !1));
+ if (e.action === "remove") ON(e.done);
+ else for (let t of e.done) DN(t, { enabled: e.action === "enabled" });
+ m(gN(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -39902,27 +40239,27 @@ function UF(e) {
g(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => E(K(e))
- }), ie = kt({
+ }), ie = At({
mutationFn: async (e) => {
- let t = ((await qse()).groups || []).flatMap((e) => [
+ let t = ((await ace()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await l(t, 6, (t) => Kse(t, e))).filter((e) => !e.ok)
+ failed: (await l(t, 6, (t) => ice(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (SN(), e.failed.length) {
+ if (kN(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
E(""), g(`已批量标记 ${e.ids.length} 项`);
},
onError: (e) => E(K(e))
- }), ae = (e, t) => te.mutate({
+ }), ae = (e, t) => F.mutate({
id: e.id,
enabled: t
}), oe = (0, I.useRef)({
@@ -39940,12 +40277,12 @@ function UF(e) {
readOnly: c
};
let se = oe.current, ce = (0, I.useMemo)(() => {
- let e = XN(), t = (e) => () => zF[e] || e;
+ let e = cP(), t = (e) => () => ZF[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(zj, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(Nj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -39957,7 +40294,7 @@ function UF(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(ON, {
+ children: [/* @__PURE__ */ (0, L.jsx)(FN, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39971,7 +40308,7 @@ function UF(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(AN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(LN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -39982,18 +40319,18 @@ function UF(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(DN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(PN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(kN, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(IN, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => CN(e.row.original.source)
+ cell: (e) => AN(e.row.original.source)
}),
e.display({
id: "actions",
@@ -40011,7 +40348,7 @@ function UF(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: ES,
+ leadingIcon: FS,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...Y(se.busy),
@@ -40021,7 +40358,7 @@ function UF(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: _S,
+ leadingIcon: CS,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -40031,12 +40368,12 @@ function UF(e) {
})
];
}, [se]), le = (0, I.useMemo)(() => {
- let e = IF[n];
+ let e = JF[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = Lse(R ? O.length : D.length, o, i), de = bF({
+ }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = Yse(R ? O.length : D.length, o, i), de = MF({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -40053,7 +40390,7 @@ function UF(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = $M[t.id];
+ let n = oN[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -40067,11 +40404,11 @@ function UF(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: pF(),
- getPaginationRowModel: hF()
- }), 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 = cN(s, pe), he = [...s], ge = Qse(j), _e = $se(j), ve = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: TF(),
+ getPaginationRowModel: DF()
+ }), 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 = hN(s, pe), he = [...s], ge = uce(j), _e = dce(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40090,7 +40427,7 @@ function UF(e) {
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
- leadingIcon: ES,
+ leadingIcon: FS,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -40105,28 +40442,28 @@ function UF(e) {
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: CS,
- "aria-label": ZM[0][1],
+ leadingIcon: MS,
+ "aria-label": iN[0][1],
"aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: kS,
- "aria-label": ZM[1][1],
+ leadingIcon: RS,
+ "aria-label": iN[1][1],
"aria-pressed": R,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, BM[t]);
+ u(t, qM[t]);
},
- children: zM.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: KM.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
@@ -40134,14 +40471,14 @@ function UF(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Jte : qte,
- "aria-label": jse(n, r),
+ leadingIcon: r === "asc" ? Ute : Hte,
+ "aria-label": Use(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ve ? lS : fS,
+ leadingIcon: ve ? hS : vS,
"aria-label": ve ? "全部展开" : "全部收起",
onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ve ? "全部展开" : "全部收起"
@@ -40152,11 +40489,11 @@ function UF(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(zw, {
+ A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Jw, {
label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: k?.message || "正在准备检查任务" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: k?.message || "正在准备检查任务" }) : null,
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "操作未完成",
@@ -40177,7 +40514,7 @@ function UF(e) {
}) : null
]
}),
- he.length ? /* @__PURE__ */ (0, L.jsxs)(xF, {
+ he.length ? /* @__PURE__ */ (0, L.jsxs)(NF, {
label: "关注来源批量操作",
count: `已选 ${he.length} 个来源`,
children: [
@@ -40236,10 +40573,10 @@ function UF(e) {
})
]
}) : null,
- R ? /* @__PURE__ */ (0, L.jsx)(Uj, {
+ R ? /* @__PURE__ */ (0, L.jsx)(Lj, {
follow: !0,
- onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ onRowClick: (e) => ee(Number(e), !s.has(Number(e))),
+ children: /* @__PURE__ */ (0, L.jsxs)(Pj, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -40251,7 +40588,7 @@ function UF(e) {
desc: e.direction === "descending"
}]),
children: [/* @__PURE__ */ (0, L.jsx)(tO, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in $M, n = gF(e.column.columnDef.header, e.getContext());
+ let t = e.column.id in oN, n = OF(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, L.jsx)(nO, {
id: e.id,
allowsSorting: t,
@@ -40261,32 +40598,32 @@ function UF(e) {
children: [n, /* @__PURE__ */ (0, L.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(wj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(vj, {})
})]
- }) : /* @__PURE__ */ (0, L.jsx)(J_, { children: n })
+ }) : /* @__PURE__ */ (0, L.jsx)(G_, { children: n })
}, e.id);
}) }), /* @__PURE__ */ (0, L.jsx)(iO, {
renderEmptyState: () => "这一页没有来源",
children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(sO, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: gF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: OF(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zj, {
+ }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: me.all,
isIndeterminate: me.some,
- onChange: (e) => ee(pe, e),
+ onChange: (e) => te(pe, e),
"aria-label": "全选本页来源",
children: "全选本页"
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
children: D.slice(z.start, z.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, L.jsx)(HF, {
+ return /* @__PURE__ */ (0, L.jsx)(eI, {
group: e,
- name: oN(e, y),
+ name: pN(e, y),
handlers: se,
selected: s,
open: !x.has(t),
@@ -40294,8 +40631,8 @@ function UF(e) {
let n = new Set(x);
e ? n.delete(t) : n.add(t), S(n);
},
- onToggleGroup: (t) => ee(e.map((e) => e.id), t),
- onToggle: P
+ onToggleGroup: (t) => te(e.map((e) => e.id), t),
+ onToggle: ee
}, t);
})
})] }),
@@ -40306,19 +40643,19 @@ function UF(e) {
className: "text-body-2-regular text-text-secondary",
children: `${z.start + 1}–${z.end} / ${z.total} ${R ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: QM.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: aN.map((e) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: String(e),
children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(BF, {
+ /* @__PURE__ */ (0, L.jsx)(QF, {
page: z.page,
pages: z.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -40367,11 +40704,11 @@ function UF(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: DS,
+ icon: IS,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -40382,15 +40719,15 @@ function UF(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var WF = [
+var nI = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "订阅源"],
["source", "来源和凭证"]
-], GF = (e) => WF.some(([t]) => t === e);
-function KF({ term: e, figure: t, unit: n }) {
+], rI = (e) => nI.some(([t]) => t === e);
+function iI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -40406,20 +40743,20 @@ function KF({ term: e, figure: t, unit: n }) {
})]
});
}
-function qF(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(GF(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => VM(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => VM(e.sort, e.dir).dir), [g, _] = (0, I.useState)(Ose(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(kse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ot({
- queryKey: JM,
- queryFn: ({ signal: e }) => uN(e)
- }), C = Ot({
- queryKey: YM,
- queryFn: ({ signal: e }) => dN(e)
+function aI(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(rI(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => JM(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => JM(e.sort, e.dir).dir), [g, _] = (0, I.useState)(Bse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(Vse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = kt({
+ queryKey: tN,
+ queryFn: ({ signal: e }) => _N(e)
+ }), C = kt({
+ queryKey: nN,
+ queryFn: ({ signal: e }) => vN(e)
}), w = S.data || { sources: [] }, T = C.data || {
root: "",
providers: []
}, E = w.sources;
(0, I.useEffect)(() => {
x((e) => {
- let t = Rse(e, E);
+ let t = Xse(e, E);
return t.size === e.size ? e : t;
});
}, [E]);
@@ -40429,10 +40766,10 @@ function qF(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === BM[n] ? "" : r
+ dir: r === qM[n] ? "" : r
});
- }, O = sN(E), k = E.filter(tN).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !wN(e)).length;
- return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
+ }, O = mN(E), k = E.filter(cN).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !NN(e)).length;
+ return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -40447,25 +40784,25 @@ function qF(e) {
children: o
}) : null,
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: FA,
+ className: jA,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, L.jsx)(KF, {
+ /* @__PURE__ */ (0, L.jsx)(iI, {
term: "关注创作者",
figure: O.length,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(KF, {
+ /* @__PURE__ */ (0, L.jsx)(iI, {
term: "启用来源",
figure: A,
unit: `/ ${E.length}`
}),
- /* @__PURE__ */ (0, L.jsx)(KF, {
+ /* @__PURE__ */ (0, L.jsx)(iI, {
term: "检查失败",
figure: k,
unit: "个来源"
}),
- /* @__PURE__ */ (0, L.jsx)(KF, {
+ /* @__PURE__ */ (0, L.jsx)(iI, {
term: "未看更新",
figure: w.counts?.new || 0,
unit: "条"
@@ -40476,23 +40813,23 @@ function qF(e) {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- GF(t) && (l(t), D({ tab: t }));
+ rI(t) && (l(t), D({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
/* @__PURE__ */ (0, L.jsx)(mO, {
"aria-label": "关注管理区域",
- className: TN,
- children: WF.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(hO, {
+ className: SM,
+ children: nI.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(hO, {
id: e,
- className: EN,
+ className: CM,
children: e === "source" && j ? `${t}(${j})` : t
}, e))
}),
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(UF, {
+ children: /* @__PURE__ */ (0, L.jsx)(tI, {
data: w,
sort: f,
dir: m,
@@ -40525,7 +40862,7 @@ function qF(e) {
/* @__PURE__ */ (0, L.jsxs)(gO, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, L.jsx)(FN, {
+ children: [/* @__PURE__ */ (0, L.jsx)(qN, {
data: w,
credentials: T,
readOnly: a,
@@ -40533,7 +40870,7 @@ function qF(e) {
openCredentials: () => {
l("source"), D({ tab: "source" });
}
- }), /* @__PURE__ */ (0, L.jsx)(BN, {
+ }), /* @__PURE__ */ (0, L.jsx)(QN, {
groups: w.author_aliases || [],
readOnly: a,
toast: r,
@@ -40544,7 +40881,7 @@ function qF(e) {
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(FF, {
+ children: /* @__PURE__ */ (0, L.jsx)(qF, {
readOnly: a,
toast: r
})
@@ -40552,7 +40889,7 @@ function qF(e) {
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(YN, {
+ children: /* @__PURE__ */ (0, L.jsx)(sP, {
data: T,
readOnly: a,
toast: r
@@ -40564,43 +40901,43 @@ function qF(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var JF = "/api/follow/authors", YF = "/api/follow/tags", XF = (e) => [
+var oI = "/api/follow/authors", sI = "/api/follow/tags", cI = (e) => [
"follow",
"authors",
e
-], ZF = (e, t) => [
+], lI = (e, t) => [
"follow",
"tags",
e,
t
];
-function QF(e, t, n) {
+function uI(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${JF}?${r}`;
+ return e && r.set("q", e), `${oI}?${r}`;
}
-function $F(e, t, n, r) {
+function dI(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${YF}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${sI}?${i}`;
}
-var eI = (e, t, n, r) => ww(QF(e, t, n), r), tI = (e, t, n, r, i) => ww($F(e, t, n, r), i), nI = "/api/index", rI = {
+var fI = (e, t, n, r) => Nw(uI(e, t, n), r), pI = (e, t, n, r, i) => Nw(dI(e, t, n, r), i), mI = "/api/index", hI = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, iI = {
+}, gI = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, aI = [
+}, _I = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -40610,26 +40947,26 @@ var eI = (e, t, n, r) => ww(QF(e, t, n), r), tI = (e, t, n, r, i) => ww($F(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], oI = [
+], vI = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], sI = {
+], yI = {
people: 120,
tags: 180
-}, cI = (e) => e !== "tags", lI = (e) => e === "studios" || e === "agencies";
-function uI(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? oI : aI).some(([t]) => t === e.category);
+}, bI = (e) => e !== "tags", xI = (e) => e === "studios" || e === "agencies";
+function SI(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? vI : _I).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function dI(e) {
+function CI(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -40648,50 +40985,50 @@ function dI(e) {
q: n
};
}
-var fI = (e, t, n = "all") => [
+var wI = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function pI(e, t, n, r, i) {
+function TI(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${nI}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${mI}?${a}`;
}
-function mI(e) {
- let t = e.what === "people" || e.what === "online-authors" ? sI.people : sI.tags, n = {
+function EI(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? yI.people : yI.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: fI(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => ww(pI(e.kind, e.q, "all", t, n), r)
+ queryKey: wI(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Nw(TI(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: fI("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => ww(pI("tags", e.q, e.category, t, n), r)
+ queryKey: wI("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Nw(TI("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: XF(e.q),
- queryFn: ({ pageParam: n, signal: r }) => eI(e.q, t, n, r)
+ queryKey: cI(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => fI(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: ZF(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => tI(e.q, e.category, t, n, r)
+ queryKey: lI(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => pI(e.q, e.category, t, n, r)
};
}
}
-async function hI(e, t) {
- let n = mI(dI(uI(e)));
+async function DI(e, t) {
+ let n = EI(CI(SI(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -40705,13 +41042,13 @@ async function hI(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var gI = (e) => e ? e.pages.flatMap((e) => e.items) : [], _I = (e, t) => `${e}${t ? "+" : ""} 项`, vI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", yI = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), bI = {
+var OI = (e) => e ? e.pages.flatMap((e) => e.items) : [], kI = (e, t) => `${e}${t ? "+" : ""} 项`, AI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", jI = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), MI = {
numeric: !0,
sensitivity: "base"
};
-function xI(e, t) {
+function NI(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", bI))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", MI))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -40719,15 +41056,15 @@ function xI(e, t) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function SI({ value: e }) {
+function PI({ value: e }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var CI = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function wI({ tabs: e, value: t, label: n, onChange: r }) {
+var FI = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function II({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
let e = i.current;
@@ -40762,7 +41099,7 @@ function wI({ tabs: e, value: t, label: n, onChange: r }) {
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: CI,
+ className: FI,
onClick: () => {
i || r(e.value);
},
@@ -40778,7 +41115,7 @@ function wI({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function TI({ html: e, face: t, company: n, big: r }) {
+function LI({ html: e, face: t, company: n, big: r }) {
let i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -40790,18 +41127,18 @@ function TI({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var EI = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function DI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var RI = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function zI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: Mw({
+ className: Vw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${EI} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${RI} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -40818,8 +41155,8 @@ function DI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function OI({ kind: e, items: t, layout: n, props: r }) {
- let i = iI[e], a = lI(e), o = n === "big";
+function BI({ kind: e, items: t, layout: n, props: r }) {
+ let i = gI[e], a = xI(e), o = n === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -40827,14 +41164,14 @@ function OI({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, L.jsx)(DI, {
+ return /* @__PURE__ */ (0, L.jsx)(zI, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: yI(e, t),
+ readout: jI(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, L.jsx)(TI, {
+ children: /* @__PURE__ */ (0, L.jsx)(LI, {
html: n.html,
face: n.face,
company: a,
@@ -40844,21 +41181,21 @@ function OI({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function kI({ items: e, layout: t, props: n }) {
+function VI({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(DI, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(zI, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, L.jsx)(TI, {
+ children: /* @__PURE__ */ (0, L.jsx)(LI, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -40868,23 +41205,23 @@ function kI({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var AI = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var HI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function jI({ tag: e, actions: t }) {
+function UI({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": vI(t.online, e.cat),
+ "data-tag-cat": AI(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, L.jsx)(AI, {}),
+ /* @__PURE__ */ (0, L.jsx)(HI, {}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -40896,23 +41233,23 @@ function jI({ tag: e, actions: t }) {
]
});
}
-function MI({ groups: e, actions: t }) {
+function WI({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, L.jsxs)("section", {
"data-alpha-group": r,
- className: Mw({
+ className: Vw({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, L.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, L.jsx)(SI, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, L.jsx)(PI, { value: n.length })]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(jI, {
+ children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(UI, {
tag: e,
actions: t
}, e.k))
@@ -40920,8 +41257,8 @@ function MI({ groups: e, actions: t }) {
}, e))
});
}
-var NI = "\xA0";
-function PI({ tags: e, actions: t }) {
+var GI = "\xA0";
+function KI({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -40929,11 +41266,11 @@ function PI({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": vI(t.online, e.cat),
+ "data-tag-cat": AI(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + NI, /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [e.label + GI, /* @__PURE__ */ (0, L.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -40941,7 +41278,7 @@ function PI({ tags: e, actions: t }) {
}, e.k))
});
}
-var FI = [[
+var pce = [[
"cloud",
"标签云",
"tags"
@@ -40950,16 +41287,16 @@ var FI = [[
"字母表",
"text-aa"
]];
-function II({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, L.jsx)(yoe, {
+function mce({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, L.jsx)(hM, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(xoe, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(gM, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : vI(n, e),
+ "data-tag-cat": e === "all" ? "all" : AI(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, L.jsx)(AI, {}), r]
+ children: [/* @__PURE__ */ (0, L.jsx)(HI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -40983,14 +41320,14 @@ function II({ categories: e, category: t, online: n, readout: r, letters: i, vie
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${ice}`,
- children: FI.map(([e, t, n]) => {
+ className: `ml-auto ${wM}`,
+ children: pce.map(([e, t, n]) => {
let r = kT(n);
return /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: ace,
+ className: TM,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -41002,12 +41339,12 @@ function II({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function LI({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, L.jsxs)(xF, {
+function hce({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, L.jsxs)(NF, {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -41039,7 +41376,7 @@ function LI({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var RI = [{
+var gce = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -41047,7 +41384,7 @@ var RI = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], zI = [{
+}], qI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -41055,7 +41392,7 @@ var RI = [{
value: "online",
label: "在线",
symbol: "rss"
-}], BI = {
+}], _ce = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -41075,20 +41412,20 @@ var RI = [{
"layout-grid"
]]
};
-function VI({ kind: e, layout: t, onChange: n }) {
+function vce({ kind: e, layout: t, onChange: n }) {
return /* @__PURE__ */ (0, L.jsx)(RD, {
- "aria-label": `${rI[e]}索引版式`,
+ "aria-label": `${hI[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${TN}`,
- children: BI[lI(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none max-board-narrow:order-3 ${SM}`,
+ children: _ce[xI(e) ? "company" : "people"].map(([e, t, n]) => {
let r = kT(n);
return /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
"aria-label": t,
- className: rce,
+ className: joe,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -41098,8 +41435,8 @@ function VI({ kind: e, layout: t, onChange: n }) {
})
});
}
-var HI = kT("search");
-function UI({ label: e, value: t, onQuery: n }) {
+var yce = kT("search");
+function bce({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, I.useState)(t), a = (0, I.useRef)(!1), o = (0, I.useRef)(void 0);
(0, I.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -41114,15 +41451,15 @@ function UI({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, L.jsx)(iM, {
+ children: /* @__PURE__ */ (0, L.jsx)(Qj, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, L.jsx)(oM, {
+ children: /* @__PURE__ */ (0, L.jsx)(eM, {
type: "search",
- leadingIcon: HI,
+ leadingIcon: yce,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -41132,14 +41469,14 @@ function UI({ label: e, value: t, onQuery: n }) {
})
});
}
-function WI(e) {
- let [t, n] = (0, I.useState)(() => uI({
+function xce(e) {
+ let [t, n] = (0, I.useState)(() => SI({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = rI[u], v = u === "tags" && p === "online", y = u === "performers" && p === "online";
+ })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = hI[u], v = u === "tags" && p === "online", y = u === "performers" && p === "online";
(0, I.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -41149,7 +41486,7 @@ function WI(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = mI(dI(t)), w = At({
+ }, C = EI(CI(t)), w = jt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -41157,22 +41494,22 @@ function WI(e) {
}),
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
- placeholderData: b ? De : void 0
- }), T = gI(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = _I(T.length, !!w.hasNextPage);
+ placeholderData: b ? Oe : void 0
+ }), T = OI(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = kI(T.length, !!w.hasNextPage);
(0, I.useEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let O = (0, I.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? xI(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? NI(O, (t) => e.tagLabel(t)) : [], [
O,
m,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(wI, {
- tabs: zI,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(II, {
+ tabs: qI,
value: p,
label: "词表",
onChange: (e) => {
@@ -41182,15 +41519,15 @@ function WI(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(wI, {
- tabs: zI,
+ }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(II, {
+ tabs: qI,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : lI(u) ? /* @__PURE__ */ (0, L.jsx)(wI, {
- tabs: RI,
+ }) : xI(u) ? /* @__PURE__ */ (0, L.jsx)(II, {
+ tabs: gce,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -41207,7 +41544,7 @@ function WI(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (v ? oI : aI).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (v ? vI : _I).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -41222,12 +41559,12 @@ function WI(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- cI(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ bI(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : D
}) : null,
- cI(u) ? /* @__PURE__ */ (0, L.jsx)(VI, {
+ bI(u) ? /* @__PURE__ */ (0, L.jsx)(vce, {
kind: u,
layout: r,
onChange: A
@@ -41236,7 +41573,7 @@ function WI(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, L.jsx)(UI, {
+ /* @__PURE__ */ (0, L.jsx)(bce, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -41246,7 +41583,7 @@ function WI(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, L.jsx)(II, {
+ u === "tags" ? /* @__PURE__ */ (0, L.jsx)(mce, {
categories: N,
category: h,
online: v,
@@ -41271,7 +41608,7 @@ function WI(e) {
mode: m
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, L.jsx)(Pw, {
+ if (w.isError) return /* @__PURE__ */ (0, L.jsx)(Uw, {
icon: kT("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
@@ -41281,18 +41618,18 @@ function WI(e) {
}),
children: d(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, L.jsx)(KI, {
+ if (!T.length) return /* @__PURE__ */ (0, L.jsx)(Cce, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: v || y,
configurable: e.configurable
});
- if (y) return /* @__PURE__ */ (0, L.jsx)(kI, {
+ if (y) return /* @__PURE__ */ (0, L.jsx)(VI, {
items: T,
layout: r,
props: e
});
- if (cI(u)) return /* @__PURE__ */ (0, L.jsx)(OI, {
+ if (bI(u)) return /* @__PURE__ */ (0, L.jsx)(BI, {
kind: u,
items: T,
layout: r,
@@ -41303,10 +41640,10 @@ function WI(e) {
picked: a,
press: M
};
- return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(MI, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(WI, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, L.jsx)(PI, {
+ }) : /* @__PURE__ */ (0, L.jsx)(KI, {
tags: O,
actions: t
});
@@ -41321,13 +41658,13 @@ function WI(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(Fw, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(Ww, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !v && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(LI, {
+ u === "tags" && !v && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(hce, {
count: a.size,
match: s,
onMatch: c,
@@ -41340,30 +41677,30 @@ function WI(e) {
]
});
}
-var GI = {
+var Sce = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function KI({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, L.jsx)(Pw, {
+function Cce({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, L.jsx)(Uw, {
icon: kT("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : GI[e], a = /* @__PURE__ */ (0, L.jsx)(xw, {
+ let i = n && e === "performers" ? "创作者" : Sce[e], a = /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, L.jsx)(Pw, {
+ return /* @__PURE__ */ (0, L.jsx)(Uw, {
icon: kT(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [r ? /* @__PURE__ */ (0, L.jsx)(G, {
@@ -41374,15 +41711,15 @@ function KI({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var qI = {
+var JI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, dce = (e) => qI[e.junk_kind || "other"] || qI.other;
-function fce(e) {
+}, wce = (e) => JI[e.junk_kind || "other"] || JI.other;
+function Tce(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -41393,21 +41730,21 @@ function fce(e) {
glyph: "check"
};
}
-var pce = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), mce = (e, t) => [
+var Ece = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Dce = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function hce({ kind: e, view: t }) {
+function Oce({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function gce(e, t) {
- let n = await ww(`/api/ads?${hce(e)}`, t);
+async function kce(e, t) {
+ let n = await Nw(`/api/ads?${Oce(e)}`, t);
return {
...n,
items: n.items || []
@@ -41415,26 +41752,26 @@ async function gce(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function JI({ name: e }) {
+function YI({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var YI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = dce(e), g = String(e.name || ""), _ = fce(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
- t.target.closest("[data-junk-actions]") || YI(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var XI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function Ace({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = wce(e), g = String(e.name || ""), _ = Tce(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ t.target.closest("[data-junk-actions]") || XI(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), YI(i, t)) {
+ if (t.stopPropagation(), XI(i, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
c.current && s.open(e, c.current);
}, S = (t) => {
t.preventDefault(), t.stopPropagation(), l !== "reveal" && (u("reveal"), f(""), s.reveal(e).then(f, () => {}).finally(() => u("")));
- }, w = (t) => (n) => {
+ }, C = (t) => (n) => {
n.preventDefault(), n.stopPropagation(), l !== t && (u(t), f(""), s.operate(e, t).catch(() => {}).finally(() => u("")));
}, T = (e) => l === e ? {
"aria-busy": !0,
@@ -41469,7 +41806,7 @@ function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, L.jsx)(YI, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -41481,7 +41818,7 @@ function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(JI, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(YI, { name: "check" })
})
]
}),
@@ -41517,8 +41854,8 @@ function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
onClick: S,
children: [l === "reveal" ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-spinner": "",
- dangerouslySetInnerHTML: { __html: C("正在定位") }
- }) : /* @__PURE__ */ (0, L.jsx)(JI, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ dangerouslySetInnerHTML: { __html: w("正在定位") }
+ }) : /* @__PURE__ */ (0, L.jsx)(YI, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -41529,8 +41866,8 @@ function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
title: _.label,
"aria-label": _.label,
...T(_.operation),
- onClick: w(_.operation),
- children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
+ onClick: C(_.operation),
+ children: [/* @__PURE__ */ (0, L.jsx)(YI, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -41541,8 +41878,8 @@ function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
title: "移入回收站",
"aria-label": "移入回收站",
...T("dispose"),
- onClick: w("dispose"),
- children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ onClick: C("dispose"),
+ children: [/* @__PURE__ */ (0, L.jsx)(YI, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -41557,7 +41894,7 @@ function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
]
});
}
-var vce = (0, I.memo)(_ce), yce = [
+var jce = (0, I.memo)(Ace), Mce = [
[
"",
"全部",
@@ -41594,53 +41931,53 @@ var vce = (0, I.memo)(_ce), yce = [
"hard-drive"
]
];
-function XI(e = "", t = "pending") {
+function ZI(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function bce(e) {
+function Nce(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: XI("", "pending")
+ href: ZI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: XI("", "dismissed")
+ href: ZI("", "dismissed")
};
}
-var xce = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Pce = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function ZI({ name: e }) {
+function QI({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function QI({ scope: e, count: t }) {
+function $I({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function Sce({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = AO(), { kind: a, view: o } = e, s = bce(o), c = (e) => {
+function Fce({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = AO(), { kind: a, view: o } = e, s = Nce(o), c = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || XI()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || ZI()));
}, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, L.jsx)(gM, {
- label: xce(o),
+ children: /* @__PURE__ */ (0, L.jsx)(pM, {
+ label: Pce(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -41653,16 +41990,16 @@ function Sce({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- yce.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
- href: XI(e, o),
+ Mce.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ href: ZI(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(ZI, { name: r }),
+ /* @__PURE__ */ (0, L.jsx)(QI, { name: r }),
n,
- /* @__PURE__ */ (0, L.jsx)(QI, {
+ /* @__PURE__ */ (0, L.jsx)($I, {
scope: e,
- count: t ? pce(t, e) : 0
+ count: t ? Ece(t, e) : 0
})
]
}, e || "all")),
@@ -41675,9 +42012,9 @@ function Sce({ route: e, page: t, failed: n, onNavigate: r }) {
"data-junk-view-link": s.view,
"aria-current": o === "dismissed" ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(ZI, { name: s.glyph }),
+ /* @__PURE__ */ (0, L.jsx)(QI, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, L.jsx)(QI, {
+ /* @__PURE__ */ (0, L.jsx)($I, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -41690,38 +42027,38 @@ function Sce({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var Cce = kT("check"), wce = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Tce(e) {
+var Ice = kT("check"), Lce = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Rce(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, I.useRef)(e.cache);
n.current = e.cache;
- let r = Ot({
- queryKey: mce(t, e.revision),
+ let r = kt({
+ queryKey: Dce(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await gce(t, e);
+ let r = await kce(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && wce(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && Lce(n.queryKey, t) ? e : void 0
});
(0, I.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = Ece(e.countRow), a = r.isPending;
+ let i = zce(e.countRow), a = r.isPending;
(0, I.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, I.useLayoutEffect)(() => {
- i && r.data && b(i, "junk");
+ i && r.data && x(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, vh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Sce, {
+ let { navigate: o } = e.actions, s = i ? (0, yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Fce, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Dce, {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Bce, {
props: e,
data: r.data,
pending: a,
@@ -41729,7 +42066,7 @@ function Tce(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Ece(e) {
+function zce(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!e) return;
@@ -41739,7 +42076,7 @@ function Ece(e) {
};
}, [e]), t;
}
-function Dce({ props: e, data: t, pending: n, error: r, retry: i }) {
+function Bce({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = bT(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]);
@@ -41754,8 +42091,8 @@ function Dce({ props: e, data: t, pending: n, error: r, retry: i }) {
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, L.jsx)(Pw, {
- icon: Cce,
+ return /* @__PURE__ */ (0, L.jsx)(Uw, {
+ icon: Ice,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -41764,7 +42101,7 @@ function Dce({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(vce, {
+ children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(jce, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -41772,11 +42109,11 @@ function Dce({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Oce, { onMore: p }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Vce, { onMore: p }, s) : null] });
})()]
});
}
-function Oce({ onMore: e }) {
+function Vce({ onMore: e }) {
let t = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
let n = t.current;
@@ -41794,12 +42131,12 @@ function Oce({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var $I = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", kce = {
- gray: `${$I} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${$I} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${$I} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var eL = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", Hce = {
+ gray: `${eL} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${eL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${eL} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Ace({ value: e, max: t }) {
+function Uce({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
@@ -41827,16 +42164,16 @@ function Ace({ value: e, max: t }) {
})]
});
}
-function jce(e) {
- let { job: t } = mj(e), n = t.data, r = t.isError ? n ? XO : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Wce(e) {
+ let { job: t } = cj(e), n = t.data, r = t.isError ? n ? QO : 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 ? "扫描与资料采集未完成" : $O(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? tne : Xte;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ek(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? AS : Gte;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
- className: kce[s],
+ className: Hce[s],
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Ace, {
+ children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Uce, {
value: c,
max: l
}) : /* @__PURE__ */ (0, L.jsx)(d, {
@@ -41846,42 +42183,42 @@ function jce(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, L.jsx)(BA, {
+ }), /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: uS,
+ trailingIcon: gS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Mce = "/api/playlists", eL = "/api/playlist", tL = ["playlists"], nL = (e) => ww(Mce, e);
-async function Nce(e) {
+var Gce = "/api/playlists", tL = "/api/playlist", nL = ["playlists"], rL = (e) => Nw(Gce, e);
+async function Kce(e) {
await X.fetchQuery({
- queryKey: tL,
- queryFn: () => nL(e),
+ queryKey: nL,
+ queryFn: () => rL(e),
staleTime: 0
});
}
-var rL = () => X.invalidateQueries({
- queryKey: tL,
+var iL = () => X.invalidateQueries({
+ queryKey: nL,
exact: !0
-}), Pce = (e) => e.current_asset_id || e.preview_asset_id || null, iL = (e) => `/poster?id=${e}&c=4`, Fce = (e) => q(eL, {
+}), qce = (e) => e.current_asset_id || e.preview_asset_id || null, aL = (e) => `/poster?id=${e}&c=4`, Jce = (e) => q(tL, {
action: "create",
name: e,
asset_ids: []
-}), aL = (e, t) => q(eL, {
+}), oL = (e, t) => q(tL, {
action: "rename",
id: e,
name: t
-}), oL = (e) => q(eL, {
+}), sL = (e) => q(tL, {
action: "delete",
id: e
-}), Ice = (e) => ww(`${eL}?id=${e}`).catch(() => null);
-function Lce(e) {
+}), Yce = (e) => Nw(`${tL}?id=${e}`).catch(() => null);
+function Xce(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(eL, {
+ return q(tL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -41891,18 +42228,18 @@ function Lce(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Rce = kT("ellipsis"), zce = kT("pencil"), Bce = kT("trash"), Vce = kT("playlist"), sL = gw(HA, UA, "text-body-2-medium"), cL = "播放列表名称不能为空", lL = (e) => async () => {
+var Zce = kT("ellipsis"), Qce = kT("pencil"), $ce = kT("trash"), ele = kT("playlist"), cL = Tw(RA, zA, "text-body-2-medium"), lL = "播放列表名称不能为空", uL = (e) => async () => {
try {
await e();
} finally {
- rL();
+ iL();
}
};
-function Hce({ toast: e }) {
- let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = kt({
- mutationFn: (e) => Fce(e),
+function tle({ toast: e }) {
+ let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = At({
+ mutationFn: (e) => Jce(e),
onSuccess: (t) => {
- n(""), i(""), rL(), e("已新建播放列表", { undo: lL(() => oL(t.playlist.id)) });
+ n(""), i(""), iL(), e("已新建播放列表", { undo: uL(() => sL(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -41912,7 +42249,7 @@ function Hce({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(cL);
+ i(lL);
return;
}
a.mutate(t);
@@ -41921,7 +42258,7 @@ function Hce({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: /* @__PURE__ */ (0, L.jsx)(tM, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -41940,7 +42277,7 @@ function Hce({ toast: e }) {
})]
});
}
-function Uce({ target: e, close: t, toast: n }) {
+function nle({ target: e, close: t, toast: n }) {
let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(""), s = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (!e) return;
@@ -41950,10 +42287,10 @@ function Uce({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = kt({
- mutationFn: ({ row: e, value: t }) => aL(e.id, t),
+ let c = At({
+ mutationFn: ({ row: e, value: t }) => oL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), rL(), n("已重命名播放列表", { undo: lL(() => aL(r.id, r.name)) });
+ t(), iL(), n("已重命名播放列表", { undo: uL(() => oL(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
@@ -41969,7 +42306,7 @@ function Uce({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(cL);
+ o(lL);
return;
}
c.mutate({
@@ -41984,7 +42321,7 @@ function Uce({ target: e, close: t, toast: n }) {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, L.jsx)(sM, {
+ }), /* @__PURE__ */ (0, L.jsx)(tM, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -42012,7 +42349,7 @@ function Uce({ target: e, close: t, toast: n }) {
})
});
}
-function Wce({ name: e, onRename: t, onDelete: n }) {
+function rle({ name: e, onRename: t, onDelete: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -42026,7 +42363,7 @@ function Wce({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, L.jsx)(Rce, {
+ children: /* @__PURE__ */ (0, L.jsx)(Zce, {
"aria-hidden": !0,
className: "size-4.5"
})
@@ -42036,23 +42373,23 @@ function Wce({ name: e, onRename: t, onDelete: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: VA,
+ className: LA,
children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: sL,
+ className: cL,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(zce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Qce, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: sL,
+ className: cL,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(Bce, {
+ children: [/* @__PURE__ */ (0, L.jsx)($ce, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -42060,13 +42397,13 @@ function Wce({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function Gce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
- let o = Ot({
- queryKey: tL,
- queryFn: ({ signal: e }) => nL(e)
+function ile({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+ let o = kt({
+ queryKey: nL,
+ queryFn: ({ signal: e }) => rL(e)
}), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(a);
(0, I.useEffect)(() => {
- l.current !== a && (l.current = a, rL());
+ l.current !== a && (l.current = a, iL());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, L.jsx)("div", {
@@ -42084,8 +42421,8 @@ function Gce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Ice(e.id);
- await oL(e.id), rL(), i("已删除播放列表", t ? { undo: lL(() => Lce(t)) } : void 0);
+ let t = await Yce(e.id);
+ await sL(e.id), iL(), i("已删除播放列表", t ? { undo: uL(() => Xce(t)) } : void 0);
}
});
};
@@ -42100,39 +42437,39 @@ function Gce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, L.jsx)(Hce, { toast: i })]
+ })] }), /* @__PURE__ */ (0, L.jsx)(tle, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((i) => {
- let a = Pce(i);
+ let a = qce(i);
return /* @__PURE__ */ (0, L.jsx)(MT, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? iL(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(iL),
+ poster: i.preview_asset_id ? aL(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(aL),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, L.jsx)(Wce, {
+ menu: /* @__PURE__ */ (0, L.jsx)(rle, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
- icon: Vce,
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ icon: ele,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, L.jsx)(Uce, {
+ /* @__PURE__ */ (0, L.jsx)(nle, {
target: s,
close: () => c(null),
toast: i
@@ -42142,11 +42479,11 @@ function Gce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Kce({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
+function ale({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-goal-id": t.id,
- className: Mw({
+ className: Vw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -42162,7 +42499,7 @@ function Kce({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, L.jsx)("img", {
- src: mk(t),
+ src: gk(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -42210,19 +42547,19 @@ function Kce({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
})]
});
}
-function qce(e) {
- let t = Ot({
- queryKey: dk,
- queryFn: ({ signal: e }) => fk(e)
+function ole(e) {
+ let t = kt({
+ queryKey: pk,
+ queryFn: ({ signal: e }) => mk(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Gw, { 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)(Iw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Mw({
+ return r.length ? /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ className: Vw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -42235,21 +42572,21 @@ function qce(e) {
})]
}), /* @__PURE__ */ (0, L.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(Kce, {
+ children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(ale, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(Pw, {
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: FS,
+ icon: WS,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Jce(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = yae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function sle(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = Sae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -42257,29 +42594,29 @@ function Jce(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(Oj, {
+ i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(Sj, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(kj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Cj, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -42287,7 +42624,7 @@ function Jce(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: pS,
+ leadingIcon: yS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -42298,11 +42635,11 @@ function Jce(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, L.jsxs)(xF, {
+ }), c.size ? /* @__PURE__ */ (0, L.jsxs)(NF, {
label: "复核所选项目",
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, L.jsxs)(Oj, {
+ b ? /* @__PURE__ */ (0, L.jsxs)(Sj, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -42310,10 +42647,10 @@ function Jce(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(kj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Cj, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: e
}, e))]
@@ -42349,7 +42686,7 @@ function Jce(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Yce = {
+var cle = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -42359,14 +42696,14 @@ var Yce = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, uL = "reviewgenretags";
-function Xce({ tags: e }) {
+}, dL = "reviewgenretags";
+function lle({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("datalist", {
- id: uL,
+ id: dL,
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)("option", { value: e }, e))
}) : null;
}
-function dL({ candidate: e, selectable: t = !1 }) {
+function fL({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -42403,7 +42740,7 @@ function dL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Yce[e] || e
+ children: cle[e] || e
}),
/* @__PURE__ */ (0, L.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -42418,11 +42755,11 @@ function dL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Zce({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function ule({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, L.jsx)(dL, { candidate: a[0] })
+ children: /* @__PURE__ */ (0, L.jsx)(fL, { candidate: a[0] })
}) : /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
@@ -42432,22 +42769,22 @@ function Zce({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(zD, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, L.jsx)(dL, {
+ children: /* @__PURE__ */ (0, L.jsx)(fL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Qce({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = kt({
- mutationFn: (t) => Nk(e, t),
+function dle({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = At({
+ mutationFn: (t) => jk(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Ik();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Pk();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -42466,16 +42803,16 @@ function Qce({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(iM, {
+ /* @__PURE__ */ (0, L.jsx)(Qj, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(oM, {
+ children: /* @__PURE__ */ (0, L.jsx)(eM, {
size: "small",
- list: t.length ? uL : void 0,
+ list: t.length ? dL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -42507,8 +42844,8 @@ function Qce({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function $ce({ row: e, tags: t, locked: n, toast: r }) {
- let i = wae(e);
+function fle({ row: e, tags: t, locked: n, toast: r }) {
+ let i = Dae(e);
return i.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -42516,7 +42853,7 @@ function $ce({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, L.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(Qce, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(dle, {
genre: e,
tags: t,
locked: n,
@@ -42526,9 +42863,9 @@ function $ce({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var fL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", pL = (e = "") => /^https?:\/\//i.test(e) ? e : "", ele = (e = "") => pL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function mL({ url: e }) {
- let t = ele(e || ""), [n, r] = (0, I.useState)(!1);
+var pL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", mL = (e = "") => /^https?:\/\//i.test(e) ? e : "", ple = (e = "") => mL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function hL({ url: e }) {
+ let t = ple(e || ""), [n, r] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, L.jsx)("img", {
@@ -42543,7 +42880,7 @@ function mL({ url: e }) {
})
});
}
-function hL({ asset: e, openItem: t }) {
+function gL({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -42559,7 +42896,7 @@ function hL({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, L.jsx)(J_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, L.jsx)(G_, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, L.jsx)("b", {
@@ -42569,21 +42906,21 @@ function hL({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: wS,
+ leadingIcon: NS,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function tle({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function mle({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${fL}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${pL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -42599,8 +42936,8 @@ function tle({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function nle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = pL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function hle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = mL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -42610,10 +42947,10 @@ function nle({ 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)(xw, {
+ children: [o ? /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "secondary",
size: "small",
- trailingIcon: vS,
+ trailingIcon: wS,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -42625,7 +42962,7 @@ function nle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, L.jsx)(mL, { url: e.preview_url }),
+ /* @__PURE__ */ (0, L.jsx)(hL, { url: e.preview_url }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -42668,7 +43005,7 @@ function nle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function rle({ assets: e, picked: t, onPicked: n, locked: r }) {
+function gle({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, I.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -42724,7 +43061,7 @@ function rle({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsx)(Rj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Mj, {
size: "sm",
state: {
isSelected: n,
@@ -42735,7 +43072,7 @@ function rle({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, L.jsx)(J_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, L.jsx)(G_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -42744,19 +43081,19 @@ function rle({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var ile = Mw({
+var _le = Vw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), gL = "flex min-h-6 min-w-0 items-center", ale = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function ole(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, I.useRef)(!1), m = AO(), h = AO(), g = t === "metadata_fields", _ = hae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = xae(t, n), x = kk(t, n), S = Ok(t, n), C = Sae(n), w = Cae(n), T = Dk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
+}), _L = "flex min-h-6 min-w-0 items-center", vle = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function yle(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, I.useRef)(!1), m = AO(), h = AO(), g = t === "metadata_fields", _ = vae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = wae(t, n), x = Dk(t, n), S = Ek(t, n), C = Tae(n), w = Eae(n), T = Tk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(hL, {
+ children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(gL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, L.jsx)(tle, {
+ }) : y ? /* @__PURE__ */ (0, L.jsx)(mle, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -42766,14 +43103,14 @@ function ole(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(hL, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(gL, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(Zce, {
+ }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(ule, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -42782,7 +43119,7 @@ function ole(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(rle, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(gle, {
assets: D,
picked: r.assets,
locked: s,
@@ -42790,21 +43127,21 @@ function ole(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "inset",
- icon: $te,
+ icon: OS,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(nle, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(hle, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, L.jsx)(mL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
- className: `${gL} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, L.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(hL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
+ className: `${_L} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "blue",
children: x
@@ -42814,7 +43151,7 @@ function ole(e) {
children: S
})]
}) : /* @__PURE__ */ (0, L.jsx)("h4", {
- className: gL,
+ className: _L,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -42824,20 +43161,20 @@ function ole(e) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${ile} ${ale(t)} overflow-hidden`,
+ className: `${_le} ${vle(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${gL} shrink-0`,
+ className: `${_L} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -42847,7 +43184,7 @@ function ole(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ O ? /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -42871,7 +43208,7 @@ function ole(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)(yw, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(Ow, {
variant: "caption",
color: "soft",
children: e
@@ -42881,7 +43218,7 @@ function ole(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, L.jsx)($ce, {
+ /* @__PURE__ */ (0, L.jsx)(fle, {
row: n,
tags: u,
locked: s,
@@ -42943,8 +43280,8 @@ function ole(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var sle = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function cle({ page: e, pages: t, onPage: n }) {
+var ble = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function xle({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -42958,7 +43295,7 @@ function cle({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: hk(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: _k(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -42981,43 +43318,43 @@ function cle({ page: e, pages: t, onPage: n }) {
]
});
}
-function lle(e) {
- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, I.useState)(Tk(e.category) ? e.category : mae), [f, p] = (0, I.useState)("candidates"), [m, h] = (0, I.useState)(""), [g, _] = (0, I.useState)(1), [v, y] = (0, I.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, I.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(""), E = (0, I.useRef)(null), [D, O] = (0, I.useState)(0), [k, A] = (0, I.useState)(""), j = (0, I.useRef)(!0);
+function Sle(e) {
+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, I.useState)(Ck(e.category) ? e.category : _ae), [f, p] = (0, I.useState)("candidates"), [m, h] = (0, I.useState)(""), [g, _] = (0, I.useState)(1), [v, y] = (0, I.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, I.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(""), E = (0, I.useRef)(null), [D, O] = (0, I.useState)(0), [k, A] = (0, I.useState)(""), j = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
j.current = !1;
}, []);
- let M = Ot({
- queryKey: Ck,
- queryFn: ({ signal: e }) => jk(e)
+ let M = kt({
+ queryKey: xk,
+ queryFn: ({ signal: e }) => kk(e)
}).data || {
sections: {},
counts: {}
- }, N = M.sections[u] || [], P = u === "metadata_fields", ee = s, F = gae(N, P), te = F.some(([e]) => e === f) ? f : "candidates", ne = Ek(N, te), re = ne.some((e) => e.key === m) ? m : "", ie = vae(_ae(N, te, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({
+ }, N = M.sections[u] || [], ee = u === "metadata_fields", te = s, P = yae(N, ee), F = P.some(([e]) => e === f) ? f : "candidates", ne = wk(N, F), re = ne.some((e) => e.key === m) ? m : "", ie = xae(bae(N, F, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({
...e,
rows: e.rows.filter((e) => oe.has(e.item_key))
- })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || Tae(e), le = N.filter((e) => v.has(e.item_key)), ue = (e) => {
+ })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || Oae(e), le = N.filter((e) => v.has(e.item_key)), ue = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => C((n) => new Map(n).set(e, t)), z = (e) => {
d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), E.current = null, t({ category: e === "metadata_fields" ? "" : e });
- }, de = kt({
- mutationFn: ({ row: e, status: t }) => Mk(Ak(u, e, t, ce(e))),
+ }, de = At({
+ mutationFn: ({ row: e, status: t }) => Ak(Ok(u, e, t, ce(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- Fk(u, [t.item_key]), ue([t.item_key]), o(Eae(n));
+ Nk(u, [t.item_key]), ue([t.item_key]), o(kae(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
- }), fe = kt({
+ }), fe = At({
mutationFn: async (e) => {
let t = le, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!j.current) break;
T(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Mk(Ak(u, a, e, ce(a)));
+ let t = await Ak(Ok(u, a, e, ce(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -43031,14 +43368,14 @@ function lle(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- Fk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ Nk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
T(K(e));
}
}), pe = (e) => {
if (!(fe.isPending || !le.length)) {
- if (e === "approved" && P && le.some((e) => !ce(e).candidateKey)) {
+ if (e === "approved" && ee && le.some((e) => !ce(e).candidateKey)) {
T("先为所选的多来源候选选择来源。");
return;
}
@@ -43061,7 +43398,7 @@ function lle(e) {
O(e), A("");
let t = await i(e);
j.current && (O(0), A(t));
- }, ge = Lk(M.mirror, c), _e = M.genre_tags || [], ve = {
+ }, ge = Fk(M.mirror, c), _e = M.genre_tags || [], ve = {
openItem: n,
openEntity: r,
onReveal: he,
@@ -43070,10 +43407,10 @@ function lle(e) {
avatarInner: a,
toast: o
};
- return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
+ return /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
- ee ? /* @__PURE__ */ (0, L.jsx)(J, {
+ te ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
extra: l ? /* @__PURE__ */ (0, L.jsx)("p", {
@@ -43086,12 +43423,12 @@ function lle(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Xce, { tags: _e }),
+ /* @__PURE__ */ (0, L.jsx)(lle, { tags: _e }),
/* @__PURE__ */ (0, L.jsxs)(pO, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- Tk(t) && z(t);
+ Ck(t) && z(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -43103,12 +43440,12 @@ function lle(e) {
}), /* @__PURE__ */ (0, L.jsx)(mO, {
"aria-labelledby": "reviewcategories",
className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",
- children: pae.map((e) => {
+ children: gae.map((e) => {
let t = Number(M.counts[e] || 0);
return /* @__PURE__ */ (0, L.jsxs)(hO, {
id: e,
- className: sle,
- children: [wk[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ className: ble,
+ children: [Sk[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
@@ -43119,9 +43456,9 @@ function lle(e) {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- N.length && !ee ? /* @__PURE__ */ (0, L.jsx)(Jce, {
- groupOptions: F,
- groupBy: te,
+ N.length && !te ? /* @__PURE__ */ (0, L.jsx)(sle, {
+ groupOptions: P,
+ groupBy: F,
onGroupBy: (e) => {
p(e), h(""), _(1);
},
@@ -43134,8 +43471,8 @@ function lle(e) {
selected: v,
onSelected: y,
selectedRows: le,
- metadata: P,
- approvable: le.every((e) => Dk(u, e)),
+ metadata: ee,
+ approvable: le.every((e) => Tk(u, e)),
busy: fe.isPending,
feedback: w,
onUnifySource: me,
@@ -43143,12 +43480,12 @@ function lle(e) {
}) : null,
ie.rows.length ? se.map((e) => /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
- children: [se.length > 1 || te !== "candidates" ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [se.length > 1 || F !== "candidates" ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("h3", {
className: "text-body-medium text-text-primary",
children: `${e.title} · ${e.rows.length}`
- }), ee ? null : /* @__PURE__ */ (0, L.jsx)(G, {
+ }), te ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
size: "small",
onClick: () => {
@@ -43160,7 +43497,7 @@ function lle(e) {
})]
}) : null, /* @__PURE__ */ (0, L.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(ole, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(yle, {
category: u,
row: e,
choice: ce(e),
@@ -43168,9 +43505,9 @@ function lle(e) {
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return E.current = bae(i, ae, E.current, e.item_key, t, n), i;
+ return E.current = Cae(i, ae, E.current, e.item_key, t, n), i;
}),
- locked: ee,
+ locked: te,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
problem: S.get(e.item_key) || "",
genreTags: _e,
@@ -43183,12 +43520,12 @@ function lle(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, L.jsx)(Pw, {
- icon: Yte,
+ }, e.key)) : /* @__PURE__ */ (0, L.jsx)(Uw, {
+ icon: Wte,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, L.jsx)(cle, {
+ /* @__PURE__ */ (0, L.jsx)(xle, {
page: ie.page,
pages: ie.pages,
onPage: _
@@ -43201,13 +43538,9 @@ function lle(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var ule = "/api/scraping", dle = "/api/scraping/settings", fle = "/api/scraping/check", _L = "/api/scraping/cover", ple = "/api/scraping/amane-bridge", mle = "/api/scraping/amane-bridge/check", hle = "/api/scraping/amane-bridge/rebuild", vL = ["scraping"], yL = ["scraping", "cover"], bL = ["scraping", "amane-bridge"], xL = (e) => ww(ule, e), SL = (e) => ww(_L, e), CL = (e) => ww(ple, e);
-async function gle(e) {
+var Cle = "/api/scraping", wle = "/api/scraping/settings", Tle = "/api/scraping/check", vL = "/api/scraping/cover", Ele = "/api/scraping/amane-bridge", Dle = "/api/scraping/amane-bridge/check", Ole = "/api/scraping/amane-bridge/rebuild", yL = ["scraping"], bL = ["scraping", "cover"], xL = ["scraping", "amane-bridge"], SL = (e) => Nw(Cle, e), CL = (e) => Nw(vL, e), wL = (e) => Nw(Ele, e);
+async function kle(e) {
await Promise.all([
- X.fetchQuery({
- queryKey: vL,
- queryFn: () => xL(e)
- }),
X.fetchQuery({
queryKey: yL,
queryFn: () => SL(e)
@@ -43215,16 +43548,20 @@ async function gle(e) {
X.fetchQuery({
queryKey: bL,
queryFn: () => CL(e)
+ }),
+ X.fetchQuery({
+ queryKey: xL,
+ queryFn: () => wL(e)
})
]);
}
-function _le(e, t) {
+function Ale(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var vle = [["peach", "Peach 代理"], ["direct", "直接连接"]], wL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function yle({ source: e }) {
+var jle = [["peach", "Peach 代理"], ["direct", "直接连接"]], TL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function Mle({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("img", {
src: f({ source: e }),
alt: "",
@@ -43235,13 +43572,13 @@ function yle({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function ble({ source: e, toast: t }) {
- let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(wL[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
+function Nle({ source: e, toast: t }) {
+ let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(TL[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
- let g = kt({
- mutationFn: (t) => q(dle, {
+ let g = At({
+ mutationFn: (t) => q(wle, {
source: e.source,
network: n,
cookie: i,
@@ -43249,12 +43586,12 @@ function ble({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(vL, (t) => t && {
+ X.setQueryData(yL, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = kt({ mutationFn: () => q(fle, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = At({ mutationFn: () => q(Tle, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -43279,40 +43616,40 @@ function ble({ source: e, toast: t }) {
}
}
let C = f || (g.error ? K(g.error) : "") || (_.error ? K(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, L.jsx)(yle, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(cj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Mle, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(nj, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(nj, { children: /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(JA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: vle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: jle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, L.jsxs)(rj, {
+ T ? /* @__PURE__ */ (0, L.jsxs)(ZA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, L.jsx)(BA, {
+ children: /* @__PURE__ */ (0, L.jsx)(IA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: uS,
+ trailingIcon: gS,
children: "配置 Peach 代理"
})
}) : null,
@@ -43331,14 +43668,14 @@ function ble({ source: e, toast: t }) {
onChange: (e) => {
l(e), h();
},
- className: TN,
- children: wL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: SM,
+ children: TL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
- className: EN,
+ className: CM,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, L.jsx)(sM, {
+ c === "paste" ? /* @__PURE__ */ (0, L.jsx)(tM, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -43347,7 +43684,7 @@ function ble({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
@@ -43373,14 +43710,14 @@ function ble({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, L.jsx)(oj, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, L.jsx)(ej, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: _le(t, e.label)
+ children: Ale(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(ij, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(QA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: b,
@@ -43402,26 +43739,26 @@ function ble({ source: e, toast: t }) {
]
});
}
-function xle({ toast: e }) {
- let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Nj({
- queryKey: yL,
- queryFn: ({ signal: e }) => SL(e),
- start: () => q(_L, { code: t }),
+function Ple({ toast: e }) {
+ let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Dj({
+ queryKey: bL,
+ queryFn: ({ signal: e }) => CL(e),
+ start: () => q(vL, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? K(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, L.jsx)(tj, {
+ return /* @__PURE__ */ (0, L.jsx)(YA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ children: /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: /* @__PURE__ */ (0, L.jsx)(tM, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -43436,7 +43773,7 @@ function xle({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: s
@@ -43448,11 +43785,11 @@ function xle({ toast: e }) {
] })
});
}
-function Sle({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = Nj({
- queryKey: bL,
- queryFn: ({ signal: e }) => CL(e),
- start: () => q(hle, {}),
+function Fle({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = Dj({
+ queryKey: xL,
+ queryFn: ({ signal: e }) => wL(e),
+ start: () => q(Ole, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -43461,49 +43798,49 @@ function Sle({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = kt({ mutationFn: () => q(mle, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(tj, {
+ }), a = At({ mutationFn: () => q(Dle, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
title: "amane 桥",
- children: /* @__PURE__ */ (0, L.jsx)(rj, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: K(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? K(i.error) : a.error ? K(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "amane 桥",
- aside: /* @__PURE__ */ (0, L.jsx)(cj, {
+ aside: /* @__PURE__ */ (0, L.jsx)(nj, {
href: o.repository,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
- /* @__PURE__ */ (0, L.jsxs)(uj, {
+ /* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(ij, {
term: "钉住的版本",
children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "开放的站",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(rj, {
+ /* @__PURE__ */ (0, L.jsxs)(ZA, {
divided: !0,
children: [
- /* @__PURE__ */ (0, L.jsxs)(aj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)($A, { children: [
"这几站由 amane(",
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: c
@@ -43514,7 +43851,7 @@ function Sle({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(ij, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsxs)(QA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -43531,23 +43868,23 @@ function Sle({ toast: e }) {
]
});
}
-function Cle({ toast: e }) {
- let t = Ot({
- queryKey: vL,
- queryFn: ({ signal: e }) => xL(e)
+function Ile({ toast: e }) {
+ let t = kt({
+ queryKey: yL,
+ queryFn: ({ signal: e }) => SL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
+ return n ? /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, L.jsx)(xle, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(ble, {
+ /* @__PURE__ */ (0, L.jsx)(Ple, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(Nle, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, L.jsx)(Sle, { toast: e })
- ] }) : /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ /* @__PURE__ */ (0, L.jsx)(Fle, { toast: e })
+ ] }) : /* @__PURE__ */ (0, L.jsx)(Gw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -43555,21 +43892,21 @@ function Cle({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var TL = "/api/configuration", wle = "/api/pick-folder", EL = ["configuration"], DL = (e) => ww(TL, e);
-async function OL(e) {
+var EL = "/api/configuration", Lle = "/api/pick-folder", DL = ["configuration"], OL = (e) => Nw(EL, e);
+async function kL(e) {
await X.fetchQuery({
- queryKey: EL,
- queryFn: () => DL(e)
+ queryKey: DL,
+ queryFn: () => OL(e)
});
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Tle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.sites), i = Bw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Rle({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.sites), i = Yw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -43578,9 +43915,9 @@ function Tle({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
- /* @__PURE__ */ (0, L.jsx)(aj, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
- n.map((e) => /* @__PURE__ */ (0, L.jsx)(sM, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
+ n.map((e) => /* @__PURE__ */ (0, L.jsx)(tM, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -43591,8 +43928,8 @@ function Tle({ initial: e, receipt: t }) {
validationBehavior: "aria",
hint: "只写域名本身,留空就是默认"
}, e.key)),
- i.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -43601,21 +43938,21 @@ function Tle({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Ele({ data: e, receipt: t }) {
+function zle({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Dle, {
+ children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Ble, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Tle, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Rle, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Dle({ 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 = Bw(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+function Ble({ 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 = Yw(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -43625,8 +43962,8 @@ function Dle({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(nj, { children: [
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "开机后启动 Peach",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "开机后启动 Peach",
@@ -43635,7 +43972,7 @@ function Dle({ startup: e, receipt: t }) {
onChange: r
})
}),
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
@@ -43645,7 +43982,7 @@ function Dle({ startup: e, receipt: t }) {
onChange: a
})
}),
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
@@ -43656,11 +43993,11 @@ function Dle({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(rj, {
+ e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(ZA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, L.jsx)(aj, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, L.jsx)($A, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -43671,23 +44008,23 @@ function Dle({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var kL = /* @__PURE__ */ new Set([
+var AL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), Ole = [
+]), Vle = [
65,
67,
90
-], AL = 120;
-function kle({ initial: e, initialJob: t }) {
+], jL = 120;
+function Hle({ 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 = Bw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = kL.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = Yw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = AL.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -43704,9 +44041,9 @@ function kle({ initial: e, initialJob: t }) {
(0, I.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, I.useEffect)(() => {
- let e = new AbortController(), t = kL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = AL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await ww("/api/configuration/update-status", e.signal);
+ let t = await Nw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -43714,12 +44051,12 @@ function kle({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await ww("/api/configuration/automatic-updates", e.signal);
+ let n = await Nw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= AL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= jL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < AL && (n = setTimeout(c, t));
+ !e.signal.aborted && o < jL && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -43727,63 +44064,63 @@ function kle({ initial: e, initialJob: t }) {
}, [i.state]);
let m = () => {
d || (l.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, g = () => void c.run("check", (e) => ww("/api/configuration/updates", e), r, (t) => {
+ }, g = () => void c.run("check", (e) => Nw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
}), c.setError(K(t));
}), _ = c.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(rj, {
+ /* @__PURE__ */ (0, L.jsxs)(ZA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(aj, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, L.jsxs)($A, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(oj, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(aj, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(ej, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)($A, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(oj, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(ej, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(zw, {
+ /* @__PURE__ */ (0, L.jsx)(Jw, {
label: "更新准备进度",
value: i.progress,
- stops: Ole
+ stops: Vle
}),
- /* @__PURE__ */ (0, L.jsxs)(aj, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, L.jsx)(aj, { children: v })
+ /* @__PURE__ */ (0, L.jsxs)($A, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(ij, {
- status: /* @__PURE__ */ (0, L.jsx)(cj, {
+ /* @__PURE__ */ (0, L.jsxs)(QA, {
+ status: /* @__PURE__ */ (0, L.jsx)(nj, {
href: n.release_url,
children: "查看发布页"
}),
@@ -43810,59 +44147,59 @@ function kle({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Ale = [
+var Ule = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function jle({ data: e, receipt: t, reopenTutorial: n }) {
+function Wle({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(Nle, {
+ e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(Kle, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, L.jsx)(kle, {
+ e.updates ? /* @__PURE__ */ (0, L.jsx)(Hle, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Ple, { facts: e.facts }),
- /* @__PURE__ */ (0, L.jsx)(Mle, {
+ /* @__PURE__ */ (0, L.jsx)(qle, { facts: e.facts }),
+ /* @__PURE__ */ (0, L.jsx)(Gle, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Fle, {
+ e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Jle, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Mle({ receipt: e, reopenTutorial: t }) {
- let n = Bw();
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+function Gle({ receipt: e, reopenTutorial: t }) {
+ let n = Yw();
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [/* @__PURE__ */ (0, L.jsx)(aj, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...Y(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function Nle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Bw(e.error), s = (r) => {
+function Kle({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Yw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, L.jsxs)(nj, { children: [
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "自动检查新版本",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "自动检查新版本",
@@ -43871,7 +44208,7 @@ function Nle({ initial: e, receipt: t }) {
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "自动下载更新",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "自动下载更新",
@@ -43880,28 +44217,28 @@ function Nle({ initial: e, receipt: t }) {
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Ale.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: Ule.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, L.jsx)(rj, {
+ o.error ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(oj, { children: o.error })
+ children: /* @__PURE__ */ (0, L.jsx)(ej, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -43910,19 +44247,19 @@ function Nle({ initial: e, receipt: t }) {
]
});
}
-function Ple({ facts: e }) {
- return /* @__PURE__ */ (0, L.jsx)(tj, {
+function qle({ facts: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(YA, {
title: "运行信息",
- children: /* @__PURE__ */ (0, L.jsx)(lj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(uj, {
+ children: /* @__PURE__ */ (0, L.jsx)(rj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(ij, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(cj, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(nj, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function Fle({ uninstall: e, receipt: t }) {
+function Jle({ uninstall: e, receipt: t }) {
let [n, r] = (0, I.useState)(!1), [i, a] = (0, I.useState)(""), o = () => void h({
title: "卸载 Peach",
danger: !0,
@@ -43936,26 +44273,26 @@ function Fle({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
- e.available ? /* @__PURE__ */ (0, L.jsx)(aj, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ e.available ? /* @__PURE__ */ (0, L.jsx)($A, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(aj, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(ZA, {
+ children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(GA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, L.jsx)(ij, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(QA, {
status: s ? /* @__PURE__ */ (0, L.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -43971,7 +44308,7 @@ function Fle({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var Ile = [
+var Yle = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -43990,32 +44327,32 @@ var Ile = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Lle = [
+], Xle = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Rle() {
+function Zle() {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(aj, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(cj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)($A, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(nj, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, L.jsxs)(dj, {
+ })] }), /* @__PURE__ */ (0, L.jsxs)(aj, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, L.jsx)(aj, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
/* @__PURE__ */ (0, L.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Ile.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: Yle.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Lle.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: Xle.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -44036,9 +44373,9 @@ function Rle() {
/* @__PURE__ */ (0, L.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, L.jsxs)(aj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)($A, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, L.jsx)(cj, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -44050,7 +44387,7 @@ function Rle() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var jL = [
+var ML = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -44094,13 +44431,13 @@ var jL = [
["star", "收藏"],
["tags", "主题"]
];
-function zle(e) {
+function Qle(e) {
let t = e === "local" ? "" : p[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var ML = "auto";
-function Ble({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = zle(n);
+var NL = "auto";
+function $le({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = Qle(n);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
@@ -44114,7 +44451,7 @@ function Ble({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, L.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: e || l }), ((e) => e && jL.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: e || l }), ((e) => e && ML.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, L.jsx)(bD, {
triggerRef: i,
@@ -44122,7 +44459,7 @@ function Ble({ value: e, label: t, kind: n = "local", onChange: r }) {
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: VA,
+ className: LA,
children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
@@ -44134,15 +44471,15 @@ function Ble({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": "候选图标",
- value: s || ML,
- onChange: (e) => c(e === ML ? "" : e),
+ value: s || NL,
+ onChange: (e) => c(e === NL ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: jL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
- value: e || ML,
+ children: ML.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ value: e || NL,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
- children: /* @__PURE__ */ (0, L.jsx)(pj, { mark: e || l })
- }, e || ML))
+ children: /* @__PURE__ */ (0, L.jsx)(sj, { mark: e || l })
+ }, e || NL))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -44164,15 +44501,15 @@ function Ble({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Vle = "/api/configuration/push-discovery", Hle = "/api/configuration/push-discovery/secret";
-function Ule({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Bw(), l = AO(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+var eue = "/api/configuration/push-discovery", tue = "/api/configuration/push-discovery/secret";
+function nue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Yw(), l = AO(), 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,
...t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -44182,11 +44519,11 @@ function Ule({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(Vle, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(eue, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(nj, { children: [
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
@@ -44199,7 +44536,7 @@ function Ule({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
@@ -44212,7 +44549,7 @@ function Ule({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(JA, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
children: /* @__PURE__ */ (0, L.jsx)(yO, {
@@ -44226,30 +44563,30 @@ function Ule({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, L.jsx)(rj, {
+ d.enabled ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsxs)(lj, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(uj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(rj, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(ij, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, L.jsx)(uj, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(ij, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(rj, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, L.jsx)(aj, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(dj, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(aj, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -44260,17 +44597,17 @@ function Ule({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)($A, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(rj, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, L.jsx)(aj, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -44278,7 +44615,7 @@ function Ule({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -44287,19 +44624,19 @@ function Ule({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: e
}, e))
}),
/* @__PURE__ */ (0, L.jsx)(vO, {
- icon: mS,
+ icon: bS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -44317,15 +44654,15 @@ function Ule({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, L.jsx)(rj, {
+ o || c.error ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(oj, { children: o || c.error })
+ children: /* @__PURE__ */ (0, L.jsx)(ej, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(ij, {
+ /* @__PURE__ */ (0, L.jsxs)(QA, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(Hle, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(tue, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -44342,8 +44679,8 @@ function Ule({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Wle = 8e3;
-function Gle({ className: e }) {
+var rue = 8e3;
+function iue({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -44356,33 +44693,33 @@ function Gle({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-search" })
});
}
-var NL = [
+var PL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Kle = (e) => NL.find(([t]) => t === e)?.[1] ?? e, PL = (e) => p[e] || "database", FL = (e = "") => ({
+], aue = (e) => PL.find(([t]) => t === e)?.[1] ?? e, FL = (e) => p[e] || "database", IL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function qle(e) {
- let t = e.media_sources?.filter((e) => NL.some(([t]) => t === e.location));
+function oue(e) {
+ let t = e.media_sources?.filter((e) => PL.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => FL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => IL(e));
}
-var Jle = (e) => !(e instanceof Sw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Yle({ data: e, receipt: t }) {
+var sue = (e) => !(e instanceof jw) || e.status !== 400 ? null : e.body?.errors ?? null;
+function cue({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, L.jsx)(Xle, {
+ e.editable ? /* @__PURE__ */ (0, L.jsx)(lue, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, L.jsx)(J, {
@@ -44390,21 +44727,21 @@ function Yle({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, L.jsx)(Qle, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(Ule, {
+ /* @__PURE__ */ (0, L.jsx)(due, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(nue, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function Xle({ data: e, receipt: t }) {
- let [n, r] = (0, I.useState)(() => qle(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 = Bw();
+function lue({ data: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(() => oue(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 = Yw();
(0, I.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, I.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Wle);
+ let e = setTimeout(() => location.assign(m.url), rue);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -44415,14 +44752,14 @@ function Xle({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, FL()]);
+ _(n.length), r((e) => [...e, IL()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(wle, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Lle, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -44431,7 +44768,7 @@ function Xle({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(TL, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(EL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -44440,18 +44777,18 @@ function Xle({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Jle(e);
+ let t = sue(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, L.jsx)(tj, {
+ if (m) return /* @__PURE__ */ (0, L.jsx)(YA, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, L.jsx)(rj, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, L.jsx)(BA, {
+ /* @__PURE__ */ (0, L.jsx)(IA, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -44461,14 +44798,14 @@ function Xle({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(sj, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -44479,7 +44816,7 @@ function Xle({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -44493,13 +44830,13 @@ function Xle({ data: e, receipt: t }) {
hint: c[r] || void 0
}),
/* @__PURE__ */ (0, L.jsx)(vO, {
- icon: Gle,
+ icon: iue,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(vO, {
- icon: mS,
+ icon: bS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -44507,7 +44844,7 @@ function Xle({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(tM, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -44516,7 +44853,7 @@ function Xle({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(Ble, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)($le, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -44525,20 +44862,20 @@ function Xle({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: NL.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(kj, {
+ children: PL.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(Cj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: PL(e) }), t]
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: FL(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(sM, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(tM, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -44555,18 +44892,18 @@ function Xle({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, L.jsx)(Rle, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, L.jsxs)(aj, { children: [
+ A ? /* @__PURE__ */ (0, L.jsx)(Zle, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, L.jsxs)($A, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, L.jsxs)(cj, {
+ /* @__PURE__ */ (0, L.jsxs)(nj, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(aj, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(sM, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)($A, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(tM, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -44576,7 +44913,7 @@ function Xle({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -44586,7 +44923,7 @@ function Xle({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(ij, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(QA, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -44596,7 +44933,7 @@ function Xle({ data: e, receipt: t }) {
})]
});
}
-function Zle({ online: e }) {
+function uue({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -44620,21 +44957,21 @@ function Zle({ online: e }) {
}), "未检测"]
});
}
-function Qle({ data: e }) {
- let t = e.media_sources, n = Bw();
- return t ? /* @__PURE__ */ (0, L.jsxs)(tj, {
+function due({ data: e }) {
+ let t = e.media_sources, n = Yw();
+ return t ? /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, L.jsx)(lj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(uj, {
- term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: PL(e.location) }), Kle(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(Zle, { online: e.online })]
+ /* @__PURE__ */ (0, L.jsx)(rj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(ij, {
+ term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sj, { mark: FL(e.location) }), aue(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(uue, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, L.jsx)(rj, {
+ n.error ? /* @__PURE__ */ (0, L.jsx)(ZA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(oj, { children: n.error })
+ children: /* @__PURE__ */ (0, L.jsx)(ej, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => DL(e), (e) => X.setQueryData(EL, e)),
+ /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: () => void n.run("refresh", (e) => OL(e), (e) => X.setQueryData(DL, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -44643,13 +44980,13 @@ function Qle({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var $le = {
+var fue = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function eue({ 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 = Bw(), g = (e) => {
+function pue({ 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 = Yw(), 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) {
@@ -44666,28 +45003,28 @@ function eue({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof Sw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof jw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = $le[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ }, _ = fue[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, L.jsxs)(rj, { children: [
- _ ? /* @__PURE__ */ (0, L.jsx)(aj, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ _ ? /* @__PURE__ */ (0, L.jsx)($A, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(zj, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(Nj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(sM, {
+ n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(tM, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -44700,7 +45037,7 @@ function eue({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sM, {
+ v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(tM, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -44713,7 +45050,7 @@ function eue({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, L.jsx)(sM, {
+ }), /* @__PURE__ */ (0, L.jsx)(tM, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -44732,9 +45069,9 @@ function eue({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, L.jsx)(ij, {
+ }), v ? /* @__PURE__ */ (0, L.jsx)(QA, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -44746,19 +45083,19 @@ function eue({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var tue = 2e3, nue = [["quick", "临时链接"], ["named", "命名隧道"]], rue = {
+var mue = 2e3, hue = [["quick", "临时链接"], ["named", "命名隧道"]], gue = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function iue({ 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 = Bw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function _ue({ 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 = Yw(), 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(() => {
- DL(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(EL, t), i(t.tunnel), o(t.revision));
+ OL(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(DL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, tue);
+ }, mue);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -44773,30 +45110,30 @@ function iue({ 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 Sw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof jw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
r.named_available ? /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: TN,
- children: nue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: SM,
+ children: hue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
- className: EN,
+ className: CM,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(aj, { children: rue[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)($A, { children: gue[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(tM, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -44807,7 +45144,7 @@ function iue({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, L.jsx)(sM, {
+ }), /* @__PURE__ */ (0, L.jsx)(tM, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -44827,7 +45164,7 @@ function iue({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, L.jsx)(cj, {
+ children: /* @__PURE__ */ (0, L.jsx)(nj, {
href: r.url,
children: r.url
})
@@ -44837,9 +45174,9 @@ function iue({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsxs)(ij, {
+ r.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsxs)(QA, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -44855,24 +45192,24 @@ function iue({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var aue = [
+var vue = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function oue({ data: e, receipt: t }) {
+function yue({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(sue, {
+ e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(bue, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, L.jsx)(eue, {
+ e.access ? /* @__PURE__ */ (0, L.jsx)(pue, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, L.jsx)(iue, {
+ e.tunnel ? /* @__PURE__ */ (0, L.jsx)(_ue, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -44880,9 +45217,9 @@ function oue({ data: e, receipt: t }) {
]
});
}
-function sue({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Bw();
- return /* @__PURE__ */ (0, L.jsxs)(tj, {
+function bue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Yw();
+ return /* @__PURE__ */ (0, L.jsxs)(YA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -44894,25 +45231,25 @@ function sue({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, L.jsx)(nj, { children: /* @__PURE__ */ (0, L.jsx)(ej, {
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(JA, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: aue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: vue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(rj, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(ZA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(sM, {
+ i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(tM, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -44926,10 +45263,10 @@ function sue({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, L.jsx)(ej, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(QA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -44939,10 +45276,10 @@ function sue({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function cue({ receipt: e, reopenTutorial: t }) {
- let n = Ot({
- queryKey: EL,
- queryFn: ({ signal: e }) => DL(e)
+function xue({ receipt: e, reopenTutorial: t }) {
+ let n = kt({
+ queryKey: DL,
+ queryFn: ({ signal: e }) => OL(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, L.jsx)("div", {
className: "configpage",
@@ -44963,22 +45300,22 @@ function cue({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, L.jsx)(Ele, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, L.jsx)(zle, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, L.jsx)(Yle, { ...i }),
+ /* @__PURE__ */ (0, L.jsx)(cue, { ...i }),
o ? /* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, L.jsx)(oue, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, L.jsx)(yue, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, L.jsx)(jle, {
+ /* @__PURE__ */ (0, L.jsx)(Wle, {
...i,
reopenTutorial: t
})
@@ -44987,35 +45324,35 @@ function cue({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var lue = (e) => {
+var Sue = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function uue({ openConfiguration: e }) {
- let t = Ot({
- queryKey: EL,
- queryFn: ({ signal: e }) => DL(e)
+function Cue({ openConfiguration: e }) {
+ let t = kt({
+ queryKey: DL,
+ queryFn: ({ signal: e }) => OL(e)
}), n = t.data;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ children: [n ? /* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, L.jsx)(uj, {
+ /* @__PURE__ */ (0, L.jsx)(ij, {
term: "更新",
- children: lue(n)
+ children: Sue(n)
})
- ] }) : /* @__PURE__ */ (0, L.jsx)(rj, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "打不开配置",
children: t.error ? K(t.error) : "没有读到配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(ij, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(QA, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: e,
@@ -45026,14 +45363,14 @@ function uue({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var due = "/api/stats", IL = ["stats"], LL = (e) => ww(due, e);
-async function fue(e) {
+var wue = "/api/stats", LL = ["stats"], RL = (e) => Nw(wue, e);
+async function Tue(e) {
await X.fetchQuery({
- queryKey: IL,
- queryFn: () => LL(e)
+ queryKey: LL,
+ queryFn: () => RL(e)
});
}
-var RL = (e, t) => t ? Math.round(e / t * 100) : 0, pue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, zL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, BL = (e) => (e.max_reached || 0) * 100, mue = (e) => e.kind === "online" ? "在线直接观看" : zL(e) < BL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", hue = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, gue = (e) => Math.max(1, ...e) * 1.1, _ue = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), vue = {
+var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Eue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, BL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, VL = (e) => (e.max_reached || 0) * 100, Due = (e) => e.kind === "online" ? "在线直接观看" : BL(e) < VL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Oue = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, kue = (e) => Math.max(1, ...e) * 1.1, Aue = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), jue = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -45041,18 +45378,18 @@ var RL = (e, t) => t ? Math.round(e / t * 100) : 0, pue = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, yue = (e) => e.map((e) => ({
- name: vue[e.k] ?? e.k,
+}, Mue = (e) => e.map((e) => ({
+ name: jue[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), bue = {
+})).sort((e, t) => t.value - e.value), Nue = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, VL = (e, t = {}) => e.map((e) => ({
+}, HL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), xue = (e) => VL(e, bue), Sue = [
+})), Pue = (e) => HL(e, Nue), Fue = [
[
1,
1,
@@ -45088,49 +45425,49 @@ var RL = (e, t) => t ? Math.round(e / t * 100) : 0, pue = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], Cue = (e) => Sue.map(([t, n, r]) => ({
+], Iue = (e) => Fue.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), wue = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function HL(e) {
- return typeof e == "string" && wue.includes(e);
+})), Lue = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function UL(e) {
+ return typeof e == "string" && Lue.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var Tue = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function UL(e) {
- return typeof e == "string" && Tue.has(e);
-}
+var Rue = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
function WL(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && Rue.has(e);
}
function GL(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function KL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (UL(n) || WL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WL(n) || GL(n)) && (t[n] = e[n]);
return t;
}
-function KL(e) {
+function qL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return GL(t);
+ return KL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? GL(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? KL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function qL(e) {
+function JL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (UL(n) || WL(n) || HL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WL(n) || GL(n) || UL(n)) && (t[n] = e[n]);
return t;
}
-function Eue(e) {
- return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? qL(e.props) : typeof e == "object" && !Array.isArray(e) ? qL(e) : null;
+function zue(e) {
+ return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? JL(e.props) : typeof e == "object" && !Array.isArray(e) ? JL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var Due = [
+var Bue = [
"children",
"width",
"height",
@@ -45140,25 +45477,25 @@ var Due = [
"title",
"desc"
];
-function JL() {
- return JL = Object.assign ? Object.assign.bind() : function(e) {
+function YL() {
+ return YL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, JL.apply(null, arguments);
+ }, YL.apply(null, arguments);
}
-function Oue(e, t) {
+function Vue(e, t) {
if (e == null) return {};
- var n, r, i = kue(e, t);
+ var n, r, i = Hue(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function kue(e, t) {
+function Hue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -45167,14 +45504,14 @@ function kue(e, t) {
}
return n;
}
-var YL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Oue(e, Due), d = a || {
+var XL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Vue(e, Bue), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = Um("recharts-surface", o);
- return /*#__PURE__*/ I.createElement("svg", JL({}, qL(u), {
+ }, f = Wm("recharts-surface", o);
+ return /*#__PURE__*/ I.createElement("svg", YL({}, JL(u), {
className: f,
width: r,
height: i,
@@ -45182,26 +45519,26 @@ var YL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ I.createElement("title", null, c), /*#__PURE__*/ I.createElement("desc", null, l), n);
-}), Aue = ["children", "className"];
-function XL() {
- return XL = Object.assign ? Object.assign.bind() : function(e) {
+}), Uue = ["children", "className"];
+function ZL() {
+ return ZL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, XL.apply(null, arguments);
+ }, ZL.apply(null, arguments);
}
-function jue(e, t) {
+function Wue(e, t) {
if (e == null) return {};
- var n, r, i = Mue(e, t);
+ var n, r, i = Gue(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Mue(e, t) {
+function Gue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -45210,39 +45547,39 @@ function Mue(e, t) {
}
return n;
}
-var ZL = /*#__PURE__*/ I.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = jue(e, Aue), a = Um("recharts-layer", r);
- return /*#__PURE__*/ I.createElement("g", XL({ className: a }, qL(i), { ref: t }), n);
-}), QL = /*#__PURE__*/ (0, I.createContext)(null), Nue = () => (0, I.useContext)(QL);
+var QL = /*#__PURE__*/ I.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Wue(e, Uue), a = Wm("recharts-layer", r);
+ return /*#__PURE__*/ I.createElement("g", ZL({ className: a }, JL(i), { ref: t }), n);
+}), $L = /*#__PURE__*/ (0, I.createContext)(null), Kue = () => (0, I.useContext)($L);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function $L(e) {
+function eR(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var eR = Math.cos, tR = Math.sin, nR = Math.sqrt, rR = Math.PI;
-rR / 2;
-var iR = 2 * rR, aR = Math.PI, oR = 2 * aR, sR = 1e-6, Pue = oR - sR;
-function cR(e) {
+var tR = Math.cos, nR = Math.sin, rR = Math.sqrt, iR = Math.PI;
+iR / 2;
+var aR = 2 * iR, oR = Math.PI, sR = 2 * oR, cR = 1e-6, que = sR - cR;
+function lR(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Fue(e) {
+function Jue(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return cR;
+ if (t > 15) return lR;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var lR = class {
+var uR = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? cR : Fue(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? lR : Jue(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -45263,18 +45600,18 @@ var lR = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > sR) {
- if (!(Math.abs(u * s - c * l) > sR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > cR) {
+ if (!(Math.abs(u * s - c * l) > cR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((aR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > sR && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((oR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > cR && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > sR || Math.abs(this._y1 - l) > sR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % oR + oR), d > Pue ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > sR && this._append`A${n},${n},0,${+(d >= aR)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > cR || Math.abs(this._y1 - l) > cR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % sR + sR), d > que ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > cR && this._append`A${n},${n},0,${+(d >= oR)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -45283,10 +45620,10 @@ var lR = class {
return this._;
}
};
-lR.prototype;
+uR.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function uR(e) {
+function dR(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -45297,18 +45634,18 @@ function uR(e) {
t = e;
}
return e;
- }, () => new lR(t);
+ }, () => new uR(t);
}
Array.prototype.slice;
-function dR(e) {
+function fR(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function fR(e) {
+function pR(e) {
this._context = e;
}
-fR.prototype = {
+pR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45331,33 +45668,33 @@ fR.prototype = {
}
}
};
-function pR(e) {
- return new fR(e);
+function mR(e) {
+ return new pR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function mR(e) {
+function hR(e) {
return e[0];
}
-function hR(e) {
+function gR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function gR(e, t) {
- var n = $L(!0), r = null, i = pR, a = null, o = uR(s);
- e = typeof e == "function" ? e : e === void 0 ? mR : $L(e), t = typeof t == "function" ? t : t === void 0 ? hR : $L(t);
+function _R(e, t) {
+ var n = eR(!0), r = null, i = mR, a = null, o = dR(s);
+ e = typeof e == "function" ? e : e === void 0 ? hR : eR(e), t = typeof t == "function" ? t : t === void 0 ? gR : eR(t);
function s(s) {
- var c, l = (s = dR(s)).length, u, d = !1, f;
+ var c, l = (s = fR(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : $L(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : eR(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : $L(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : eR(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : $L(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : eR(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -45366,11 +45703,11 @@ function gR(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function _R(e, t, n) {
- var r = null, i = $L(!0), a = null, o = pR, s = null, c = uR(l);
- e = typeof e == "function" ? e : e === void 0 ? mR : $L(+e), t = typeof t == "function" ? t : $L(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? hR : $L(+n);
+function vR(e, t, n) {
+ var r = null, i = eR(!0), a = null, o = mR, s = null, c = dR(l);
+ e = typeof e == "function" ? e : e === void 0 ? hR : eR(+e), t = typeof t == "function" ? t : eR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? gR : eR(+n);
function l(l) {
- var u, d, f, p = (l = dR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = fR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -45384,20 +45721,20 @@ function _R(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return gR().defined(i).curve(o).context(a);
+ return _R().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : $L(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : eR(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : $L(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : eR(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : $L(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : eR(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : $L(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : eR(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : $L(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : eR(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : $L(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : eR(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -45405,7 +45742,7 @@ function _R(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : $L(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : eR(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -45414,7 +45751,7 @@ function _R(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var vR = class {
+var yR = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -45441,70 +45778,70 @@ var vR = class {
this._x0 = e, this._y0 = t;
}
};
-function Iue(e) {
- return new vR(e, !0);
+function Yue(e) {
+ return new yR(e, !0);
}
-function Lue(e) {
- return new vR(e, !1);
+function Xue(e) {
+ return new yR(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var yR = { draw(e, t) {
- let n = nR(t / rR);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, iR);
-} }, Rue = { draw(e, t) {
- let n = nR(t / 5) / 2;
+var bR = { draw(e, t) {
+ let n = rR(t / iR);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, aR);
+} }, Zue = { draw(e, t) {
+ let n = rR(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, bR = nR(1 / 3), zue = bR * 2, Bue = { draw(e, t) {
- let n = nR(t / zue), r = n * bR;
+} }, xR = rR(1 / 3), Que = xR * 2, $ue = { draw(e, t) {
+ let n = rR(t / Que), r = n * xR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Vue = { draw(e, t) {
- let n = nR(t), r = -n / 2;
+} }, ede = { draw(e, t) {
+ let n = rR(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Hue = .8908130915292852, xR = tR(rR / 10) / tR(7 * rR / 10), Uue = tR(iR / 10) * xR, Wue = -eR(iR / 10) * xR, Gue = { draw(e, t) {
- let n = nR(t * Hue), r = Uue * n, i = Wue * n;
+} }, tde = .8908130915292852, SR = nR(iR / 10) / nR(7 * iR / 10), nde = nR(aR / 10) * SR, rde = -tR(aR / 10) * SR, ide = { draw(e, t) {
+ let n = rR(t * tde), r = nde * n, i = rde * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = iR * t / 5, o = eR(a), s = tR(a);
+ let a = aR * t / 5, o = tR(a), s = nR(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, SR = nR(3), Kue = { draw(e, t) {
- let n = -nR(t / (SR * 3));
- e.moveTo(0, n * 2), e.lineTo(-SR * n, -n), e.lineTo(SR * n, -n), e.closePath();
-} }, CR = -.5, wR = nR(3) / 2, TR = 1 / nR(12), que = (TR / 2 + 1) * 3, Jue = { draw(e, t) {
- let n = nR(t / que), r = n / 2, i = n * TR, a = r, o = n * TR + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(CR * r - wR * i, wR * r + CR * i), e.lineTo(CR * a - wR * o, wR * a + CR * o), e.lineTo(CR * s - wR * c, wR * s + CR * c), e.lineTo(CR * r + wR * i, CR * i - wR * r), e.lineTo(CR * a + wR * o, CR * o - wR * a), e.lineTo(CR * s + wR * c, CR * c - wR * s), e.closePath();
+} }, CR = rR(3), ade = { draw(e, t) {
+ let n = -rR(t / (CR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-CR * n, -n), e.lineTo(CR * n, -n), e.closePath();
+} }, wR = -.5, TR = rR(3) / 2, ER = 1 / rR(12), ode = (ER / 2 + 1) * 3, sde = { draw(e, t) {
+ let n = rR(t / ode), r = n / 2, i = n * ER, a = r, o = n * ER + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(wR * r - TR * i, TR * r + wR * i), e.lineTo(wR * a - TR * o, TR * a + wR * o), e.lineTo(wR * s - TR * c, TR * s + wR * c), e.lineTo(wR * r + TR * i, wR * i - TR * r), e.lineTo(wR * a + TR * o, wR * o - TR * a), e.lineTo(wR * s + TR * c, wR * c - TR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Yue(e, t) {
- let n = null, r = uR(i);
- e = typeof e == "function" ? e : $L(e || yR), t = typeof t == "function" ? t : $L(t === void 0 ? 64 : +t);
+function cde(e, t) {
+ let n = null, r = dR(i);
+ e = typeof e == "function" ? e : eR(e || bR), t = typeof t == "function" ? t : eR(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : $L(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : eR(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : $L(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : eR(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function ER() {}
+function DR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function DR(e, t, n) {
+function OR(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function OR(e) {
+function kR(e) {
this._context = e;
}
-OR.prototype = {
+kR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45516,7 +45853,7 @@ OR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: DR(this, this._x1, this._y1);
+ case 3: OR(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -45530,22 +45867,22 @@ OR.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: DR(this, e, t);
+ default: OR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Xue(e) {
- return new OR(e);
+function lde(e) {
+ return new kR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function kR(e) {
+function AR(e) {
this._context = e;
}
-kR.prototype = {
- areaStart: ER,
- areaEnd: ER,
+AR.prototype = {
+ areaStart: DR,
+ areaEnd: DR,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -45571,20 +45908,20 @@ kR.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: DR(this, e, t);
+ default: OR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Zue(e) {
- return new kR(e);
+function ude(e) {
+ return new AR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function AR(e) {
+function jR(e) {
this._context = e;
}
-AR.prototype = {
+jR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45611,22 +45948,22 @@ AR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: DR(this, e, t);
+ default: OR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Que(e) {
- return new AR(e);
+function dde(e) {
+ return new jR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function jR(e) {
+function MR(e) {
this._context = e;
}
-jR.prototype = {
- areaStart: ER,
- areaEnd: ER,
+MR.prototype = {
+ areaStart: DR,
+ areaEnd: DR,
lineStart: function() {
this._point = 0;
},
@@ -45637,30 +45974,30 @@ jR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function $ue(e) {
- return new jR(e);
+function fde(e) {
+ return new MR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function MR(e) {
+function NR(e) {
return e < 0 ? -1 : 1;
}
-function NR(e, t, n) {
+function PR(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (MR(a) + MR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (NR(a) + NR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function PR(e, t) {
+function FR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function FR(e, t, n) {
+function IR(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function IR(e) {
+function LR(e) {
this._context = e;
}
-IR.prototype = {
+LR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45675,7 +46012,7 @@ IR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: FR(this, this._t0, PR(this, this._t0));
+ case 3: IR(this, this._t0, FR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -45690,24 +46027,24 @@ IR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, FR(this, PR(this, n = NR(this, e, t)), n);
+ this._point = 3, IR(this, FR(this, n = PR(this, e, t)), n);
break;
- default: FR(this, this._t0, n = NR(this, e, t));
+ default: IR(this, this._t0, n = PR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function LR(e) {
- this._context = new RR(e);
+function RR(e) {
+ this._context = new zR(e);
}
-(LR.prototype = Object.create(IR.prototype)).point = function(e, t) {
- IR.prototype.point.call(this, t, e);
+(RR.prototype = Object.create(LR.prototype)).point = function(e, t) {
+ LR.prototype.point.call(this, t, e);
};
-function RR(e) {
+function zR(e) {
this._context = e;
}
-RR.prototype = {
+zR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -45721,18 +46058,18 @@ RR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function ede(e) {
- return new IR(e);
-}
-function tde(e) {
+function pde(e) {
return new LR(e);
}
+function mde(e) {
+ return new RR(e);
+}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function zR(e) {
+function BR(e) {
this._context = e;
}
-zR.prototype = {
+BR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45746,7 +46083,7 @@ zR.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = BR(e), i = BR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = VR(e), i = VR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -45754,7 +46091,7 @@ zR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function BR(e) {
+function VR(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -45762,15 +46099,15 @@ function BR(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function nde(e) {
- return new zR(e);
+function hde(e) {
+ return new BR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function VR(e, t) {
+function HR(e, t) {
this._context = e, this._t = t;
}
-VR.prototype = {
+HR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45798,78 +46135,78 @@ VR.prototype = {
this._x = e, this._y = t;
}
};
-function rde(e) {
- return new VR(e, .5);
+function gde(e) {
+ return new HR(e, .5);
}
-function ide(e) {
- return new VR(e, 0);
+function _de(e) {
+ return new HR(e, 0);
}
-function ade(e) {
- return new VR(e, 1);
+function vde(e) {
+ return new HR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function HR(e, t) {
+function UR(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function UR(e) {
+function WR(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function ode(e, t) {
+function yde(e, t) {
return e[t];
}
-function sde(e) {
+function bde(e) {
let t = [];
return t.key = e, t;
}
-function cde() {
- var e = $L([]), t = UR, n = HR, r = ode;
+function xde() {
+ var e = eR([]), t = WR, n = UR, r = yde;
function i(i) {
- var a = Array.from(e.apply(this, arguments), sde), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), bde), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = dR(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = fR(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : $L(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : eR(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : $L(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : eR(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? UR : typeof e == "function" ? e : $L(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? WR : typeof e == "function" ? e : eR(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? HR, i) : n;
+ return arguments.length ? (n = e ?? UR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function lde(e, t) {
+function Sde(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- HR(e, t);
+ UR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function ude(e, t) {
+function Cde(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- HR(e, t);
+ UR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function dde(e, t) {
+function wde(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -45881,53 +46218,53 @@ function dde(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, HR(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, UR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function WR(e) {
+function GR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var fde = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function GR(e) {
+var Tde = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function KR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : fde.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Tde.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function KR(e) {
+function qR(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function qR(e) {
+function JR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function pde(e) {
- return e == null ? "" : JR(e);
+function Ede(e) {
+ return e == null ? "" : YR(e);
}
-function JR(e) {
+function YR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(JR).join(",");
- if (qR(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(YR).join(",");
+ if (JR(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function YR(e) {
- if (Array.isArray(e)) return e.map(KR);
+function XR(e) {
+ if (Array.isArray(e)) return e.map(qR);
if (typeof e == "symbol") return [e];
- e = pde(e);
+ e = Ede(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -45955,100 +46292,100 @@ function YR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function XR(e, t, n) {
+function ZR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (WR(t)) return n;
+ if (GR(t)) return n;
let r = e[t];
- return r === void 0 ? GR(t) && !Object.hasOwn(e, t) ? XR(e, YR(t), n) : n : r;
+ return r === void 0 ? KR(t) && !Object.hasOwn(e, t) ? ZR(e, XR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = KR(t));
+ typeof t == "number" && (t = qR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return mde(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), WR(t)) return n;
+ if (Array.isArray(t)) return Dde(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), GR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function mde(e, t, n) {
+function Dde(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || WR(t[e])) return n;
+ if (r == null || GR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var hde = 4;
-function ZR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : hde), n = Math.round(e * t) / t;
+var Ode = 4;
+function QR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ode), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function QR(e) {
+function $R(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + ZR(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + QR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var $R = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, ez = (e) => typeof e == "number" && e != +e, tz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !ez(e), nz = (e) => Z(e) || typeof e == "string", gde = 0, rz = (e) => {
- var t = ++gde;
+var ez = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, tz = (e) => typeof e == "number" && e != +e, nz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !tz(e), rz = (e) => Z(e) || typeof e == "string", kde = 0, iz = (e) => {
+ var t = ++kde;
return `${e || ""}${t}`;
-}, iz = function(e, t) {
+}, az = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if (tz(e)) {
+ if (nz(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return ez(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, az = (e) => {
+ return tz(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, oz = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function oz(e, t, n) {
- return Z(e) && Z(t) ? ZR(e + n * (t - e)) : t;
-}
function sz(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : XR(e, t)) === n);
+ return Z(e) && Z(t) ? QR(e + n * (t - e)) : t;
+}
+function cz(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : ZR(e, t)) === n);
}
-var cz = (e) => e == null, lz = (e) => cz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function uz(e) {
+var lz = (e) => e == null, uz = (e) => lz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function dz(e) {
return e != null;
}
-function dz() {}
+function fz() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var _de = [
+var Ade = [
"type",
"size",
"sizeType"
];
-function fz() {
- return fz = Object.assign ? Object.assign.bind() : function(e) {
+function pz() {
+ return pz = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, fz.apply(null, arguments);
+ }, pz.apply(null, arguments);
}
-function pz(e, t) {
+function mz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46058,30 +46395,30 @@ function pz(e, t) {
}
return n;
}
-function mz(e) {
+function hz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? pz(Object(n), !0).forEach(function(t) {
- vde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pz(Object(n)).forEach(function(t) {
+ t % 2 ? mz(Object(n), !0).forEach(function(t) {
+ jde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vde(e, t, n) {
- return (t = yde(t)) in e ? Object.defineProperty(e, t, {
+function jde(e, t, n) {
+ return (t = Mde(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yde(e) {
- var t = bde(e, "string");
+function Mde(e) {
+ var t = Nde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bde(e, t) {
+function Nde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46091,16 +46428,16 @@ function bde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function xde(e, t) {
+function Pde(e, t) {
if (e == null) return {};
- var n, r, i = Sde(e, t);
+ var n, r, i = Fde(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Sde(e, t) {
+function Fde(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -46109,68 +46446,68 @@ function Sde(e, t) {
}
return n;
}
-var hz = {
- symbolCircle: yR,
- symbolCross: Rue,
- symbolDiamond: Bue,
- symbolSquare: Vue,
- symbolStar: Gue,
- symbolTriangle: Kue,
- symbolWye: Jue
-}, Cde = Math.PI / 180, wde = (e) => hz[`symbol${lz(e)}`] || yR, Tde = (e, t, n) => {
+var gz = {
+ symbolCircle: bR,
+ symbolCross: Zue,
+ symbolDiamond: $ue,
+ symbolSquare: ede,
+ symbolStar: ide,
+ symbolTriangle: ade,
+ symbolWye: sde
+}, Ide = Math.PI / 180, Lde = (e) => gz[`symbol${uz(e)}`] || bR, Rde = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * Cde;
+ var r = 18 * Ide;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, Ede = (e, t) => {
- hz[`symbol${lz(e)}`] = t;
-}, gz = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = mz(mz({}, xde(e, _de)), {}, {
+}, zde = (e, t) => {
+ gz[`symbol${uz(e)}`] = t;
+}, _z = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = hz(hz({}, Pde(e, Ade)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = wde(a), t = Yue().type(e).size(Tde(n, r, a))();
+ var e = Lde(a), t = cde().type(e).size(Rde(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = qL(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", fz({}, u, {
- className: Um("recharts-symbols", s),
+ }, { className: s, cx: c, cy: l } = i, u = JL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", pz({}, u, {
+ className: Wm("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-gz.registerSymbol = Ede;
+_z.registerSymbol = zde;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var _z = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, vz = (e, t) => {
+var vz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, yz = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- HL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ UL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Dde = (e, t, n) => (r) => (e(t, n, r), null), yz = (e, t, n) => {
+}, Bde = (e, t, n) => (r) => (e(t, n, r), null), bz = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- HL(i) && typeof a == "function" && (r ||= {}, r[i] = Dde(a, t, n));
+ UL(i) && typeof a == "function" && (r ||= {}, r[i] = Bde(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function bz(e, t) {
+function xz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46180,30 +46517,30 @@ function bz(e, t) {
}
return n;
}
-function Ode(e) {
+function Vde(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bz(Object(n), !0).forEach(function(t) {
- kde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bz(Object(n)).forEach(function(t) {
+ t % 2 ? xz(Object(n), !0).forEach(function(t) {
+ Hde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kde(e, t, n) {
- return (t = Ade(t)) in e ? Object.defineProperty(e, t, {
+function Hde(e, t, n) {
+ return (t = Ude(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ade(e) {
- var t = jde(e, "string");
+function Ude(e) {
+ var t = Wde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jde(e, t) {
+function Wde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46213,22 +46550,22 @@ function jde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function xz(e, t) {
- var n = Ode({}, e), r = t;
+function Sz(e, t) {
+ var n = Vde({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function Sz() {
- return Sz = Object.assign ? Object.assign.bind() : function(e) {
+function Cz() {
+ return Cz = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Sz.apply(null, arguments);
+ }, Cz.apply(null, arguments);
}
-function Cz(e, t) {
+function wz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46238,30 +46575,30 @@ function Cz(e, t) {
}
return n;
}
-function wz(e) {
+function Tz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Cz(Object(n), !0).forEach(function(t) {
- Mde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Cz(Object(n)).forEach(function(t) {
+ t % 2 ? wz(Object(n), !0).forEach(function(t) {
+ Gde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Mde(e, t, n) {
- return (t = Nde(t)) in e ? Object.defineProperty(e, t, {
+function Gde(e, t, n) {
+ return (t = Kde(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nde(e) {
- var t = Pde(e, "string");
+function Kde(e) {
+ var t = qde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pde(e, t) {
+function qde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46271,7 +46608,7 @@ function Pde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Tz = 32, Fde = {
+var Ez = 32, Jde = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -46279,20 +46616,20 @@ var Tz = 32, Fde = {
verticalAlign: "middle",
labelStyle: {}
};
-function Ide(e) {
+function Yde(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Lde(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = Tz / 2, a = Tz / 6, o = Tz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function Xde(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = Ez / 2, a = Ez / 6, o = Ez / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ I.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Ide(t.payload),
+ strokeDasharray: Yde(t.payload),
x1: 0,
y1: i,
- x2: Tz,
+ x2: Ez,
y2: i,
className: "recharts-legend-icon"
});
@@ -46302,35 +46639,35 @@ function Lde(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${Tz}M${2 * o},${i}
+ H${Ez}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ I.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${Tz / 8}h${Tz}v${Tz * 3 / 4}h${-Tz}z`,
+ d: `M0,${Ez / 8}h${Ez}v${Ez * 3 / 4}h${-Ez}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ I.isValidElement(t.legendIcon)) {
- var l = wz({}, t);
+ var l = Tz({}, t);
return delete l.legendIcon, /*#__PURE__*/ I.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ I.createElement(gz, {
+ return /*#__PURE__*/ I.createElement(_z, {
fill: s,
cx: i,
cy: i,
- size: Tz,
+ size: Ez,
sizeType: "diameter",
type: c
});
}
-function Rde(e) {
+function Zde(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: Tz,
- height: Tz
+ width: Ez,
+ height: Ez
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -46340,26 +46677,26 @@ function Rde(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = Um({
+ var d = t.formatter || i, f = Wm({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? wz({}, s) : {};
+ var p = typeof s == "object" ? Tz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ I.createElement("li", Sz({
+ return /*#__PURE__*/ I.createElement("li", Cz({
className: f,
style: l,
key: `legend-item-${r}`
- }, yz(e, t, r)), /*#__PURE__*/ I.createElement(YL, {
+ }, bz(e, t, r)), /*#__PURE__*/ I.createElement(XL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ I.createElement(Lde, {
+ }, /*#__PURE__*/ I.createElement(Xde, {
data: t,
iconType: o,
inactiveColor: a
@@ -46369,8 +46706,8 @@ function Rde(e) {
}, m));
});
}
-var zde = (e) => {
- var t = xz(e, Fde), { payload: n, layout: r, align: i } = t;
+var Qde = (e) => {
+ var t = Sz(e, Jde), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -46380,11 +46717,11 @@ var zde = (e) => {
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ I.createElement(Rde, Sz({}, t, { payload: n })));
+ }, /*#__PURE__*/ I.createElement(Zde, Cz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function Bde(e, t) {
+function $de(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -46394,77 +46731,77 @@ function Bde(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Vde(e, t) {
+function efe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function Ez(e) {
+function Dz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Hde(e) {
+function tfe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Dz(e) {
- return e != null && typeof e != "function" && Hde(e.length);
+function Oz(e) {
+ return e != null && typeof e != "function" && tfe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Ude(e) {
+function nfe(e) {
return function(t) {
- return XR(t, e);
+ return ZR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function Oz(e) {
+function kz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Wde(e) {
+function rfe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Gde(e) {
+function ife(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function kz(e) {
+function Az(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var Kde = "[object RegExp]", Az = "[object String]", jz = "[object Number]", Mz = "[object Boolean]", Nz = "[object Arguments]", qde = "[object Symbol]", Jde = "[object Date]", Yde = "[object Map]", Xde = "[object Set]", Zde = "[object Array]", Qde = "[object ArrayBuffer]", $de = "[object Object]", efe = "[object DataView]", tfe = "[object Uint8Array]", nfe = "[object Uint8ClampedArray]", rfe = "[object Uint16Array]", ife = "[object Uint32Array]", afe = "[object Int8Array]", ofe = "[object Int16Array]", sfe = "[object Int32Array]", cfe = "[object Float32Array]", lfe = "[object Float64Array]", Pz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var afe = "[object RegExp]", jz = "[object String]", Mz = "[object Number]", Nz = "[object Boolean]", Pz = "[object Arguments]", ofe = "[object Symbol]", sfe = "[object Date]", cfe = "[object Map]", lfe = "[object Set]", ufe = "[object Array]", dfe = "[object ArrayBuffer]", ffe = "[object Object]", pfe = "[object DataView]", mfe = "[object Uint8Array]", hfe = "[object Uint8ClampedArray]", gfe = "[object Uint16Array]", _fe = "[object Uint32Array]", vfe = "[object Int8Array]", yfe = "[object Int16Array]", bfe = "[object Int32Array]", xfe = "[object Float32Array]", Sfe = "[object Float64Array]", Fz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function ufe(e) {
- return Pz.Buffer !== void 0 && Pz.Buffer.isBuffer(e);
+function Cfe(e) {
+ return Fz.Buffer !== void 0 && Fz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function dfe(e, t) {
- return Fz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function wfe(e, t) {
+ return Iz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function Fz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function Iz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (Oz(e)) return e;
+ if (kz(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Fz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Iz(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -46475,132 +46812,132 @@ function Fz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, Fz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, Iz(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(Fz(a, void 0, n, r, i));
+ for (let a of e) t.add(Iz(a, void 0, n, r, i));
return t;
}
- if (ufe(e)) return e.subarray();
- if (Wde(e)) {
+ if (Cfe(e)) return e.subarray();
+ if (rfe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Fz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Iz(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Iz(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Lz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
- if (typeof e == "object" && ffe(e)) {
+ if (typeof e == "object" && Tfe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), Iz(t, e, n, r, i), t;
+ return r.set(e, t), Lz(t, e, n, r, i), t;
}
return e;
}
-function Iz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Gde(t)];
+function Lz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...ife(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = Fz(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = Iz(t[s], s, n, r, i));
}
}
-function ffe(e) {
- switch (kz(e)) {
+function Tfe(e) {
+ switch (Az(e)) {
+ case Pz:
+ case ufe:
+ case dfe:
+ case pfe:
case Nz:
- case Zde:
- case Qde:
- case efe:
- case Mz:
- case Jde:
+ case sfe:
+ case xfe:
+ case Sfe:
+ case vfe:
+ case yfe:
+ case bfe:
case cfe:
- case lfe:
+ case Mz:
+ case ffe:
case afe:
- case ofe:
- case sfe:
- case Yde:
+ case lfe:
case jz:
- case $de:
- case Kde:
- case Xde:
- case Az:
- case qde:
- case tfe:
- case nfe:
- case rfe:
- case ife: return !0;
+ case ofe:
+ case mfe:
+ case hfe:
+ case gfe:
+ case _fe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function pfe(e) {
- return Fz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function Efe(e) {
+ return Iz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function Lz(e, t) {
+function Rz(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function Rz(e) {
+function zz(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function zz(e, t, n) {
- return typeof n == "function" ? Bz(e, t, function e(t, r, i, a, o, s) {
+function Bz(e, t, n) {
+ return typeof n == "function" ? Vz(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? Bz(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : zz(e, t, () => void 0);
+ return c === void 0 ? Vz(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : Bz(e, t, () => void 0);
}
-function Bz(e, t, n, r, i = !1) {
+function Vz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return mfe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? Bz(e, { ...t }, n, r, i) : Lz(e, t);
- default: return Rz(e) && i ? typeof t != "string" || t === "" : Lz(e, t);
+ case "object": return Dfe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? Vz(e, { ...t }, n, r, i) : Rz(e, t);
+ default: return zz(e) && i ? typeof t != "string" || t === "" : Rz(e, t);
}
}
-function mfe(e, t, n, r, i = !1) {
+function Dfe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return Vz(e, t, n, r);
- if (t instanceof Map) return hfe(e, t, n, r);
- if (t instanceof Set) return gfe(e, t, n, r);
+ if (Array.isArray(t)) return Hz(e, t, n, r);
+ if (t instanceof Map) return Ofe(e, t, n, r);
+ if (t instanceof Set) return kfe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) Oz(e) && (e = Object(e));
+ if (i) kz(e) && (e = Object(e));
else {
- let t = kz(e);
+ let t = Az(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -46616,13 +46953,13 @@ function mfe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function hfe(e, t, n, r) {
+function Ofe(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function Vz(e, t, n, r) {
+function Hz(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -46640,40 +46977,40 @@ function Vz(e, t, n, r) {
}
return !0;
}
-function gfe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && Vz([...e], [...t], n, r);
+function kfe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Hz([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function Hz(e, t) {
- return zz(e, t, () => void 0);
+function Uz(e, t) {
+ return Bz(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function _fe(e) {
- return e = pfe(e), (t) => Hz(t, e);
+function Afe(e) {
+ return e = Efe(e), (t) => Uz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function vfe(e, t) {
- return dfe(e, (n, r, i, a) => {
+function jfe(e, t) {
+ return wfe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (kz(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (Az(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), Iz(t, e, i, a), t;
+ return a.set(e, t), Lz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case Mz:
case jz:
- case Az:
- case Mz: {
+ case Nz: {
let t = new e.constructor(e?.valueOf());
- return Iz(t, e), t;
+ return Lz(t, e), t;
}
- case Nz: {
+ case Pz: {
let t = {};
- return Iz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Lz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -46682,80 +47019,80 @@ function vfe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function yfe(e) {
- return vfe(e);
+function Mfe(e) {
+ return jfe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var bfe = /^(?:0|[1-9]\d*)$/;
-function Uz(e, t = 2 ** 53 - 1) {
+var Nfe = /^(?:0|[1-9]\d*)$/;
+function Wz(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return bfe.test(e);
+ case "string": return Nfe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function xfe(e) {
- return typeof e == "object" && !!e && kz(e) === "[object Arguments]";
+function Pfe(e) {
+ return typeof e == "object" && !!e && Az(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function Sfe(e, t) {
+function Ffe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && GR(t) && !(t in Object(e)) ? YR(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && KR(t) && !(t in Object(e)) ? XR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = KR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || xfe(r)) && Uz(t) && Number(t) < r.length)) return !1;
+ let t = qR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Pfe(r)) && Wz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function Cfe(e, t) {
+function Ife(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = KR(e);
+ case "number": e = qR(e);
}
- return t = yfe(t), function(n) {
- let r = XR(n, e);
- return r === void 0 ? Sfe(n, e) : t === void 0 ? r === void 0 : Hz(r, t);
+ return t = Mfe(t), function(n) {
+ let r = ZR(n, e);
+ return r === void 0 ? Ffe(n, e) : t === void 0 ? r === void 0 : Uz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function Wz(e) {
- if (e == null) return Ez;
+function Gz(e) {
+ if (e == null) return Dz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? Cfe(e[0], e[1]) : _fe(e);
- default: return Ude(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Ife(e[0], e[1]) : Afe(e);
+ default: return nfe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function wfe(e) {
+function Lfe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function Gz(e, t = Ez) {
- return Dz(e) ? Bde(Array.from(e), Vde(Wz(t), 1)).map(wfe) : [];
+function Kz(e, t = Dz) {
+ return Oz(e) ? $de(Array.from(e), efe(Gz(t), 1)).map(Lfe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function Kz(e, t, n) {
- return t === !0 ? Gz(e, n) : typeof t == "function" ? Gz(e, t) : e;
+function qz(e, t, n) {
+ return t === !0 ? Kz(e, n) : typeof t == "function" ? Kz(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Tfe = /* @__PURE__ */ j(((e) => {
- var t = te(), n = _h();
+var Rfe = /* @__PURE__ */ M(((e) => {
+ var t = ne(), n = vh();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -46799,60 +47136,60 @@ var Tfe = /* @__PURE__ */ j(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), Efe = /* @__PURE__ */ j(((e, t) => {
- t.exports = Tfe();
-})), qz = /*#__PURE__*/ (0, I.createContext)(null), Dfe = Efe(), Ofe = (e) => e, Jz = () => {
- var e = (0, I.useContext)(qz);
- return e ? e.store.dispatch : Ofe;
-}, Yz = () => {}, kfe = () => Yz, Afe = (e, t) => e === t;
+})), zfe = /* @__PURE__ */ M(((e, t) => {
+ t.exports = Rfe();
+})), Jz = /*#__PURE__*/ (0, I.createContext)(null), Bfe = zfe(), Vfe = (e) => e, Yz = () => {
+ var e = (0, I.useContext)(Jz);
+ return e ? e.store.dispatch : Vfe;
+}, Xz = () => {}, Hfe = () => Xz, Ufe = (e, t) => e === t;
function Q(e) {
- var t = (0, I.useContext)(qz), n = (0, I.useMemo)(() => t ? (t) => {
+ var t = (0, I.useContext)(Jz), n = (0, I.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Yz, [t, e]);
- return (0, Dfe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : kfe, t ? t.store.getState : Yz, t ? t.store.getState : Yz, n, Afe);
+ } : Xz, [t, e]);
+ return (0, Bfe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Hfe, t ? t.store.getState : Xz, t ? t.store.getState : Xz, n, Ufe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function jfe(e, t = `expected a function, instead received ${typeof e}`) {
+function Wfe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Mfe(e, t = `expected an object, instead received ${typeof e}`) {
+function Gfe(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function Nfe(e, t = "expected all items to be functions, instead received the following types: ") {
+function Kfe(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var Xz = (e) => Array.isArray(e) ? e : [e];
-function Pfe(e) {
+var Zz = (e) => Array.isArray(e) ? e : [e];
+function qfe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return Nfe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Kfe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Ffe(e, t) {
+function Jfe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var Ife = class {
+var Yfe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, Lfe = typeof WeakRef < "u" ? WeakRef : Ife, Rfe = 0, Zz = 1;
-function Qz() {
+}, Xfe = typeof WeakRef < "u" ? WeakRef : Yfe, Zfe = 0, Qz = 1;
+function $z() {
return {
- s: Rfe,
+ s: Zfe,
v: void 0,
o: null,
p: null
};
}
-function $z(e, t = {}) {
- let n = Qz(), { resultEqualityCheck: r } = t, i, a = 0;
+function eB(e, t = {}) {
+ let n = $z(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -46861,43 +47198,43 @@ function $z(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = Qz(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = $z(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = Qz(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = $z(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Zz) c = t.v;
+ if (t.s === Qz) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Lfe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Xfe(c) : c;
}
- return s.s = Zz, s.v = c, c;
+ return s.s = Qz, s.v = c, c;
}
return o.clearCache = () => {
- n = Qz(), o.resetResultsCount();
+ n = $z(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function zfe(e, ...t) {
+function Qfe(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), jfe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = $z, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), Wfe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = eB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = Xz(c), p = Xz(u), m = Pfe(e), h = s(function() {
+ }, f = Zz(c), p = Zz(u), m = qfe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = Ffe(m, arguments);
+ let e = Jfe(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -46919,14 +47256,14 @@ function zfe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ zfe($z), Bfe = Object.assign((e, t = $) => {
- Mfe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ Qfe(eB), $fe = Object.assign((e, t = $) => {
+ Gfe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => Bfe });
+}, { withTypes: () => $fe });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function Vfe(e, t = 1) {
+function epe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -46937,17 +47274,17 @@ function Vfe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function eB(e, t, n) {
- return Rz(n) && (typeof t == "number" && Dz(n) && Uz(t) && t < n.length || typeof t == "string" && t in n) ? Lz(n[t], e) : !1;
+function tB(e, t, n) {
+ return zz(n) && (typeof t == "number" && Oz(n) && Wz(t) && t < n.length || typeof t == "string" && t in n) ? Rz(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function tB(e) {
+function nB(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var Hfe = (e, t, n) => {
+var tpe = (e, t, n) => {
if (e !== t) {
- let r = tB(e), i = tB(t);
+ let r = nB(e), i = nB(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -46955,15 +47292,15 @@ var Hfe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, Ufe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Wfe = /^\w*$/;
-function Gfe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || qR(e) ? !0 : typeof e == "string" && (Wfe.test(e) || !Ufe.test(e)) || t != null && Object.hasOwn(t, e);
+}, npe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, rpe = /^\w*$/;
+function ipe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || JR(e) ? !0 : typeof e == "string" && (rpe.test(e) || !npe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function Kfe(e, t, n, r) {
+function ape(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Dz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = Oz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -46971,16 +47308,16 @@ function Kfe(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || Gfe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || ipe(e) ? e : {
key: e,
- path: YR(e)
+ path: XR(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = Hfe(e.criteria[r], t.criteria[r], n[r]);
+ let i = tpe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -46988,25 +47325,25 @@ function Kfe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function nB(e, ...t) {
+function rB(e, ...t) {
let n = t.length;
- return n > 1 && eB(e, t[0], t[1]) ? t = [] : n > 2 && eB(t[0], t[1], t[2]) && (t = [t[0]]), Kfe(e, Vfe(t), ["asc"]);
+ return n > 1 && tB(e, t[0], t[1]) ? t = [] : n > 2 && tB(t[0], t[1], t[2]) && (t = [t[0]]), ape(e, epe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var rB = (e) => e.legend.settings, qfe = (e) => e.legend.size, Jfe = $([(e) => e.legend.payload, rB], (e, t) => {
+var iB = (e) => e.legend.settings, ope = (e) => e.legend.size, spe = $([(e) => e.legend.payload, iB], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? nB(r, n) : r;
+ return n ? rB(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function Yfe() {
- return Q(Jfe);
+function cpe() {
+ return Q(spe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var iB = 1;
-function aB() {
+var aB = 1;
+function oB() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, I.useState)({
height: 0,
left: 0,
@@ -47021,7 +47358,7 @@ function aB() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > iB || Math.abs(i.left - t.left) > iB || Math.abs(i.top - t.top) > iB || Math.abs(i.width - t.width) > iB) && n({
+ (Math.abs(i.height - t.height) > aB || Math.abs(i.left - t.left) > aB || Math.abs(i.top - t.top) > aB || Math.abs(i.width - t.width) > aB) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -47038,26 +47375,26 @@ function aB() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function oB(e) {
+function sB(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var sB = typeof Symbol == "function" && Symbol.observable || "@@observable", cB = () => Math.random().toString(36).substring(7).split("").join("."), lB = {
- INIT: `@@redux/INIT${/* @__PURE__ */ cB()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ cB()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${cB()}`
+var cB = typeof Symbol == "function" && Symbol.observable || "@@observable", lB = () => Math.random().toString(36).substring(7).split("").join("."), uB = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ lB()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ lB()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${lB()}`
};
-function uB(e) {
+function dB(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function dB(e, t, n) {
- if (typeof e != "function") throw Error(oB(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(oB(0));
+function fB(e, t, n) {
+ if (typeof e != "function") throw Error(sB(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(sB(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(oB(1));
- return n(dB)(e, t);
+ if (typeof n != "function") throw Error(sB(1));
+ return n(fB)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -47066,27 +47403,27 @@ function dB(e, t, n) {
}));
}
function u() {
- if (c) throw Error(oB(3));
+ if (c) throw Error(sB(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(oB(4));
- if (c) throw Error(oB(5));
+ if (typeof e != "function") throw Error(sB(4));
+ if (c) throw Error(sB(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(oB(6));
+ if (c) throw Error(sB(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!uB(e)) throw Error(oB(7));
- if (e.type === void 0) throw Error(oB(8));
- if (typeof e.type != "string") throw Error(oB(17));
- if (c) throw Error(oB(9));
+ if (!dB(e)) throw Error(sB(7));
+ if (e.type === void 0) throw Error(sB(8));
+ if (typeof e.type != "string") throw Error(sB(17));
+ if (c) throw Error(sB(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -47097,41 +47434,41 @@ function dB(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(oB(10));
- r = e, f({ type: lB.REPLACE });
+ if (typeof e != "function") throw Error(sB(10));
+ r = e, f({ type: uB.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(oB(11));
+ if (typeof t != "object" || !t) throw Error(sB(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [sB]() {
+ [cB]() {
return this;
}
};
}
- return f({ type: lB.INIT }), {
+ return f({ type: uB.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [sB]: m
+ [cB]: m
};
}
-function Xfe(e) {
+function lpe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: lB.INIT }) === void 0) throw Error(oB(12));
- if (n(void 0, { type: lB.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(oB(13));
+ if (n(void 0, { type: uB.INIT }) === void 0) throw Error(sB(12));
+ if (n(void 0, { type: uB.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(sB(13));
});
}
-function fB(e) {
+function pB(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -47139,7 +47476,7 @@ function fB(e) {
}
let r = Object.keys(n), i;
try {
- Xfe(n);
+ lpe(n);
} catch (e) {
i = e;
}
@@ -47148,124 +47485,124 @@ function fB(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(oB(14));
+ if (u === void 0) throw t && t.type, Error(sB(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function pB(...e) {
+function mB(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function Zfe(...e) {
+function upe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(oB(15));
+ throw Error(sB(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = pB(...e.map((e) => e(o)))(i.dispatch), {
+ return a = mB(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function mB(e) {
- return uB(e) && "type" in e && typeof e.type == "string";
+function hB(e) {
+ return dB(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var hB = Symbol.for("immer-nothing"), gB = Symbol.for("immer-draftable"), _B = Symbol.for("immer-state");
-function vB(e, ...t) {
+var gB = Symbol.for("immer-nothing"), _B = Symbol.for("immer-draftable"), vB = Symbol.for("immer-state");
+function yB(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var yB = Object, bB = yB.getPrototypeOf, xB = "constructor", SB = "prototype", CB = "configurable", wB = "enumerable", TB = "writable", EB = "value", DB = (e) => !!e && !!e[_B];
-function OB(e) {
- return e ? AB(e) || IB(e) || !!e[gB] || !!e[xB]?.[gB] || LB(e) || RB(e) : !1;
+var bB = Object, xB = bB.getPrototypeOf, SB = "constructor", CB = "prototype", wB = "configurable", TB = "enumerable", EB = "writable", DB = "value", OB = (e) => !!e && !!e[vB];
+function kB(e) {
+ return e ? jB(e) || LB(e) || !!e[_B] || !!e[SB]?.[_B] || RB(e) || zB(e) : !1;
}
-var Qfe = yB[SB][xB].toString(), kB = /* @__PURE__ */ new WeakMap();
-function AB(e) {
- if (!e || !zB(e)) return !1;
- let t = bB(e);
- if (t === null || t === yB[SB]) return !0;
- let n = yB.hasOwnProperty.call(t, xB) && t[xB];
+var dpe = bB[CB][SB].toString(), AB = /* @__PURE__ */ new WeakMap();
+function jB(e) {
+ if (!e || !BB(e)) return !1;
+ let t = xB(e);
+ if (t === null || t === bB[CB]) return !0;
+ let n = bB.hasOwnProperty.call(t, SB) && t[SB];
if (n === Object) return !0;
- if (!BB(n)) return !1;
- let r = kB.get(n);
- return r === void 0 && (r = Function.toString.call(n), kB.set(n, r)), r === Qfe;
+ if (!VB(n)) return !1;
+ let r = AB.get(n);
+ return r === void 0 && (r = Function.toString.call(n), AB.set(n, r)), r === dpe;
}
-function jB(e, t, n = !0) {
- MB(e) === 0 ? (n ? Reflect.ownKeys(e) : yB.keys(e)).forEach((n) => {
+function MB(e, t, n = !0) {
+ NB(e) === 0 ? (n ? Reflect.ownKeys(e) : bB.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function MB(e) {
- let t = e[_B];
- return t ? t.type_ : IB(e) ? 1 : LB(e) ? 2 : RB(e) ? 3 : 0;
+function NB(e) {
+ let t = e[vB];
+ return t ? t.type_ : LB(e) ? 1 : RB(e) ? 2 : zB(e) ? 3 : 0;
}
-var NB = (e, t, n = MB(e)) => n === 2 ? e.has(t) : yB[SB].hasOwnProperty.call(e, t), PB = (e, t, n = MB(e)) => n === 2 ? e.get(t) : e[t], FB = (e, t, n, r = MB(e)) => {
+var PB = (e, t, n = NB(e)) => n === 2 ? e.has(t) : bB[CB].hasOwnProperty.call(e, t), FB = (e, t, n = NB(e)) => n === 2 ? e.get(t) : e[t], IB = (e, t, n, r = NB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function $fe(e, t) {
+function fpe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var IB = Array.isArray, LB = (e) => e instanceof Map, RB = (e) => e instanceof Set, zB = (e) => typeof e == "object", BB = (e) => typeof e == "function", VB = (e) => typeof e == "boolean";
-function epe(e) {
+var LB = Array.isArray, RB = (e) => e instanceof Map, zB = (e) => e instanceof Set, BB = (e) => typeof e == "object", VB = (e) => typeof e == "function", HB = (e) => typeof e == "boolean";
+function ppe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var HB = (e) => e.copy_ || e.base_, UB = (e) => e.modified_ ? e.copy_ : e.base_;
-function WB(e, t) {
- if (LB(e)) return new Map(e);
- if (RB(e)) return new Set(e);
- if (IB(e)) return Array[SB].slice.call(e);
- let n = AB(e);
+var UB = (e) => e.copy_ || e.base_, WB = (e) => e.modified_ ? e.copy_ : e.base_;
+function GB(e, t) {
+ if (RB(e)) return new Map(e);
+ if (zB(e)) return new Set(e);
+ if (LB(e)) return Array[CB].slice.call(e);
+ let n = jB(e);
if (t === !0 || t === "class_only" && !n) {
- let t = yB.getOwnPropertyDescriptors(e);
- delete t[_B];
+ let t = bB.getOwnPropertyDescriptors(e);
+ delete t[vB];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[TB] === !1 && (a[TB] = !0, a[CB] = !0), (a.get || a.set) && (t[i] = {
- [CB]: !0,
- [TB]: !0,
- [wB]: a[wB],
- [EB]: e[i]
+ a[EB] === !1 && (a[EB] = !0, a[wB] = !0), (a.get || a.set) && (t[i] = {
+ [wB]: !0,
+ [EB]: !0,
+ [TB]: a[TB],
+ [DB]: e[i]
});
}
- return yB.create(bB(e), t);
+ return bB.create(xB(e), t);
}
{
- let t = bB(e);
+ let t = xB(e);
if (t !== null && n) return { ...e };
- let r = yB.create(t);
- return yB.assign(r, e);
- }
-}
-function GB(e, t = !1) {
- return qB(e) || DB(e) || !OB(e) ? e : (MB(e) > 1 && yB.defineProperties(e, {
- set: KB,
- add: KB,
- clear: KB,
- delete: KB
- }), yB.freeze(e), t && jB(e, (e, t) => {
- GB(t, !0);
+ let r = bB.create(t);
+ return bB.assign(r, e);
+ }
+}
+function KB(e, t = !1) {
+ return JB(e) || OB(e) || !kB(e) ? e : (NB(e) > 1 && bB.defineProperties(e, {
+ set: qB,
+ add: qB,
+ clear: qB,
+ delete: qB
+ }), bB.freeze(e), t && MB(e, (e, t) => {
+ KB(t, !0);
}, !1), e);
}
-function tpe() {
- vB(2);
+function mpe() {
+ yB(2);
}
-var KB = { [EB]: tpe };
-function qB(e) {
- return e === null || !zB(e) || yB.isFrozen(e);
+var qB = { [DB]: mpe };
+function JB(e) {
+ return e === null || !BB(e) || bB.isFrozen(e);
}
-var JB = "MapSet", YB = "Patches", XB = "ArrayMethods", ZB = {};
-function QB(e) {
- let t = ZB[e];
- return t || vB(0, e), t;
+var YB = "MapSet", XB = "Patches", ZB = "ArrayMethods", QB = {};
+function $B(e) {
+ let t = QB[e];
+ return t || yB(0, e), t;
}
-var $B = (e) => !!ZB[e], eV, tV = () => eV, npe = (e, t) => ({
+var eV = (e) => !!QB[e], tV, nV = () => tV, hpe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -47273,114 +47610,114 @@ var $B = (e) => !!ZB[e], eV, tV = () => eV, npe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: $B(JB) ? QB(JB) : void 0,
- arrayMethodsPlugin_: $B(XB) ? QB(XB) : void 0
+ mapSetPlugin_: eV(YB) ? $B(YB) : void 0,
+ arrayMethodsPlugin_: eV(ZB) ? $B(ZB) : void 0
});
-function nV(e, t) {
- t && (e.patchPlugin_ = QB(YB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function rV(e) {
- iV(e), e.drafts_.forEach(rpe), e.drafts_ = null;
+function rV(e, t) {
+ t && (e.patchPlugin_ = $B(XB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function iV(e) {
- e === eV && (eV = e.parent_);
+ aV(e), e.drafts_.forEach(gpe), e.drafts_ = null;
}
-var aV = (e) => eV = npe(eV, e);
-function rpe(e) {
- let t = e[_B];
+function aV(e) {
+ e === tV && (tV = e.parent_);
+}
+var oV = (e) => tV = hpe(tV, e);
+function gpe(e) {
+ let t = e[vB];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function oV(e, t) {
+function sV(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[_B].modified_ && (rV(t), vB(4)), OB(e) && (e = sV(t, e));
+ n[vB].modified_ && (iV(t), yB(4)), kB(e) && (e = cV(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[_B].base_, e, t);
- } else e = sV(t, n);
- return ipe(t, e, !0), rV(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hB ? void 0 : e;
-}
-function sV(e, t) {
- if (qB(t)) return t;
- let n = t[_B];
- if (!n) return fV(t, e.handledSet_, e);
- if (!lV(n, e)) return t;
+ r && r.generateReplacementPatches_(n[vB].base_, e, t);
+ } else e = cV(t, n);
+ return _pe(t, e, !0), iV(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gB ? void 0 : e;
+}
+function cV(e, t) {
+ if (JB(t)) return t;
+ let n = t[vB];
+ if (!n) return pV(t, e.handledSet_, e);
+ if (!uV(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- dV(n, e);
+ fV(n, e);
}
return n.copy_;
}
-function ipe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && GB(t, n);
+function _pe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && KB(t, n);
}
-function cV(e) {
+function lV(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var lV = (e, t) => e.scope_ === t, ape = [];
-function uV(e, t, n, r) {
- let i = HB(e), a = e.type_;
- if (r !== void 0 && PB(i, r, a) === t) {
- FB(i, r, n, a);
+var uV = (e, t) => e.scope_ === t, vpe = [];
+function dV(e, t, n, r) {
+ let i = UB(e), a = e.type_;
+ if (r !== void 0 && FB(i, r, a) === t) {
+ IB(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- jB(i, (e, n) => {
- if (DB(n)) {
+ MB(i, (e, n) => {
+ if (OB(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? ape;
- for (let e of o) FB(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? vpe;
+ for (let e of o) IB(i, e, n, a);
}
-function ope(e, t, n) {
+function ype(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !lV(i, r)) return;
+ if (!i || !uV(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = UB(i);
- uV(e, i.draft_ ?? i, a, n), dV(i, r);
+ let a = WB(i);
+ dV(e, i.draft_ ?? i, a, n), fV(i, r);
});
}
-function dV(e, t) {
+function fV(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- cV(e);
+ lV(e);
}
}
-function spe(e, t, n) {
+function bpe(e, t, n) {
let { scope_: r } = e;
- if (DB(n)) {
- let i = n[_B];
- lV(i, r) && i.callbacks_.push(function() {
- vV(e), uV(e, n, UB(i), t);
+ if (OB(n)) {
+ let i = n[vB];
+ uV(i, r) && i.callbacks_.push(function() {
+ yV(e), dV(e, n, WB(i), t);
});
- } else OB(n) && e.callbacks_.push(function() {
- let i = HB(e);
- e.type_ === 3 ? i.has(n) && fV(n, r.handledSet_, r) : PB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && fV(PB(e.copy_, t, e.type_), r.handledSet_, r);
+ } else kB(n) && e.callbacks_.push(function() {
+ let i = UB(e);
+ e.type_ === 3 ? i.has(n) && pV(n, r.handledSet_, r) : FB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && pV(FB(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function fV(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || DB(e) || t.has(e) || !OB(e) || qB(e) ? e : (t.add(e), jB(e, (r, i) => {
- if (DB(i)) {
- let t = i[_B];
- lV(t, n) && (FB(e, r, UB(t), e.type_), cV(t));
- } else OB(i) && fV(i, t, n);
+function pV(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || OB(e) || t.has(e) || !kB(e) || JB(e) ? e : (t.add(e), MB(e, (r, i) => {
+ if (OB(i)) {
+ let t = i[vB];
+ uV(t, n) && (IB(e, r, WB(t), e.type_), lV(t));
+ } else kB(i) && pV(i, t, n);
}), e);
}
-function cpe(e, t) {
- let n = IB(e), r = {
+function xpe(e, t) {
+ let n = LB(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : tV(),
+ scope_: t ? t.scope_ : nV(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -47391,108 +47728,108 @@ function cpe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = pV;
- n && (i = [r], a = mV);
+ }, i = r, a = mV;
+ n && (i = [r], a = hV);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var pV = {
+var mV = {
get(e, t) {
- if (t === _B) return e;
+ if (t === vB) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = HB(e);
- if (!NB(i, t, e.type_)) return upe(e, i, t);
+ let i = UB(e);
+ if (!PB(i, t, e.type_)) return Cpe(e, i, t);
let a = i[t];
- if (e.finalized_ || !OB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && epe(t)) return a;
- if (a === hV(e.base_, t) || lpe(e, t, a)) {
- vV(e);
- let n = e.type_ === 1 ? +t : t, r = yV(e.scope_, a, e, n);
+ if (e.finalized_ || !kB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ppe(t)) return a;
+ if (a === gV(e.base_, t) || Spe(e, t, a)) {
+ yV(e);
+ let n = e.type_ === 1 ? +t : t, r = bV(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in HB(e);
+ return t in UB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(HB(e));
+ return Reflect.ownKeys(UB(e));
},
set(e, t, n) {
- let r = gV(HB(e), t);
+ let r = _V(UB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = hV(HB(e), t), i = r?.[_B];
+ let r = gV(UB(e), t), i = r?.[vB];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if ($fe(n, r) && (n !== void 0 || NB(e.base_, t, e.type_))) return !0;
- vV(e), _V(e);
+ if (fpe(n, r) && (n !== void 0 || PB(e.base_, t, e.type_))) return !0;
+ yV(e), vV(e);
}
- return e.copy_[t] === n && (n !== void 0 || NB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), spe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || PB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), bpe(e, t, n), !0);
},
deleteProperty(e, t) {
- return vV(e), hV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), _V(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return yV(e), gV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), vV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = HB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = UB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [TB]: !0,
- [CB]: e.type_ !== 1 || t !== "length",
- [wB]: r[wB],
- [EB]: n[t]
+ [EB]: !0,
+ [wB]: e.type_ !== 1 || t !== "length",
+ [TB]: r[TB],
+ [DB]: n[t]
};
},
defineProperty() {
- vB(11);
+ yB(11);
},
getPrototypeOf(e) {
- return bB(e.base_);
+ return xB(e.base_);
},
setPrototypeOf() {
- vB(12);
+ yB(12);
}
-}, mV = {};
-for (let e in pV) {
- let t = pV[e];
- mV[e] = function() {
+}, hV = {};
+for (let e in mV) {
+ let t = mV[e];
+ hV[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-mV.deleteProperty = function(e, t) {
- return mV.set.call(this, e, t, void 0);
-}, mV.set = function(e, t, n) {
- return pV.set.call(this, e[0], t, n, e[0]);
+hV.deleteProperty = function(e, t) {
+ return hV.set.call(this, e, t, void 0);
+}, hV.set = function(e, t, n) {
+ return mV.set.call(this, e[0], t, n, e[0]);
};
-function hV(e, t) {
- let n = e[_B];
- return (n ? HB(n) : e)[t];
+function gV(e, t) {
+ let n = e[vB];
+ return (n ? UB(n) : e)[t];
}
-function lpe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OB(n) || n[_B] ? !1 : e.baseRefs_.has(n);
+function Spe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !kB(n) || n[vB] ? !1 : e.baseRefs_.has(n);
}
-function upe(e, t, n) {
- let r = gV(t, n);
- return r ? EB in r ? r[EB] : r.get?.call(e.draft_) : void 0;
+function Cpe(e, t, n) {
+ let r = _V(t, n);
+ return r ? DB in r ? r[DB] : r.get?.call(e.draft_) : void 0;
}
-function gV(e, t) {
+function _V(e, t) {
if (!(t in e)) return;
- let n = bB(e);
+ let n = xB(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = bB(n);
+ n = xB(n);
}
}
-function _V(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && _V(e.parent_));
-}
function vV(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), WB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && vV(e.parent_));
+}
+function yV(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), GB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var dpe = class {
+var wpe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (BB(e) && !BB(t)) {
+ if (VB(e) && !VB(t)) {
let n = t;
t = e;
let r = this;
@@ -47500,30 +47837,30 @@ var dpe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- BB(t) || vB(6), n !== void 0 && !BB(n) && vB(7);
+ VB(t) || yB(6), n !== void 0 && !VB(n) && yB(7);
let r;
- if (OB(e)) {
- let i = aV(this), a = yV(i, e, void 0), o = !0;
+ if (kB(e)) {
+ let i = oV(this), a = bV(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? rV(i) : iV(i);
+ o ? iV(i) : aV(i);
}
- return nV(i, n), oV(r, i);
+ return rV(i, n), sV(r, i);
}
- if (!e || !zB(e)) {
- if (r = t(e), r === void 0 && (r = e), r === hB && (r = void 0), this.autoFreeze_ && GB(r, !0), n) {
+ if (!e || !BB(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === gB && (r = void 0), this.autoFreeze_ && KB(r, !0), n) {
let t = [], i = [];
- QB(YB).generateReplacementPatches_(e, r, {
+ $B(XB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- vB(1, e);
+ yB(1, e);
}, this.produceWithPatches = (e, t) => {
- if (BB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (VB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -47532,18 +47869,18 @@ var dpe = class {
n,
r
];
- }, VB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), VB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), VB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, HB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), HB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), HB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- OB(e) || vB(8), DB(e) && (e = bV(e));
- let t = aV(this), n = yV(t, e, void 0);
- return n[_B].isManual_ = !0, iV(t), n;
+ kB(e) || yB(8), OB(e) && (e = xV(e));
+ let t = oV(this), n = bV(t, e, void 0);
+ return n[vB].isManual_ = !0, aV(t), n;
}
finishDraft(e, t) {
- let n = e && e[_B];
- (!n || !n.isManual_) && vB(9);
+ let n = e && e[vB];
+ (!n || !n.isManual_) && yB(9);
let { scope_: r } = n;
- return nV(r, t), oV(void 0, r);
+ return rV(r, t), sV(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -47567,48 +47904,48 @@ var dpe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = QB(YB).applyPatches_;
- return DB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = $B(XB).applyPatches_;
+ return OB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function yV(e, t, n, r) {
- let [i, a] = LB(t) ? QB(JB).proxyMap_(t, n) : RB(t) ? QB(JB).proxySet_(t, n) : cpe(t, n);
- return (n?.scope_ ?? tV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? ope(n, a, r) : a.callbacks_.push(function(e) {
+function bV(e, t, n, r) {
+ let [i, a] = RB(t) ? $B(YB).proxyMap_(t, n) : zB(t) ? $B(YB).proxySet_(t, n) : xpe(t, n);
+ return (n?.scope_ ?? nV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? ype(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function bV(e) {
- return DB(e) || vB(10, e), xV(e);
-}
function xV(e) {
- if (!OB(e) || qB(e)) return e;
- let t = e[_B], n, r = !0;
+ return OB(e) || yB(10, e), SV(e);
+}
+function SV(e) {
+ if (!kB(e) || JB(e)) return e;
+ let t = e[vB], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = WB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = WB(e, !0);
- return jB(n, (e, t) => {
- FB(n, e, xV(t));
+ t.finalized_ = !0, n = GB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = GB(e, !0);
+ return MB(n, (e, t) => {
+ IB(n, e, SV(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var SV = new dpe().produce;
+var CV = new wpe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function CV(e) {
+function wV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var fpe = CV(), ppe = CV, mpe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? pB : pB.apply(null, arguments);
+var Tpe = wV(), Epe = wV, Dpe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? mB : mB.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function wV(e, t) {
+function TV(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(kH(0));
+ if (!r) throw Error(MH(0));
return {
type: e,
payload: r.payload,
@@ -47621,9 +47958,9 @@ function wV(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => mB(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => hB(t) && t.type === e, n;
}
-var TV = class e extends Array {
+var EV = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -47637,29 +47974,29 @@ var TV = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function EV(e) {
- return OB(e) ? SV(e, () => {}) : e;
+function DV(e) {
+ return kB(e) ? CV(e, () => {}) : e;
}
-function DV(e, t, n) {
+function OV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function hpe(e) {
+function Ope(e) {
return typeof e == "boolean";
}
-var gpe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new TV();
- return t && (hpe(t) ? a.push(fpe) : a.push(ppe(t.extraArgument))), a;
-}, OV = "RTK_autoBatch", kV = () => (e) => ({
+var kpe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new EV();
+ return t && (Ope(t) ? a.push(Tpe) : a.push(Epe(t.extraArgument))), a;
+}, kV = "RTK_autoBatch", AV = () => (e) => ({
payload: e,
- meta: { [OV]: !0 }
-}), AV = (e) => (t) => {
+ meta: { [kV]: !0 }
+}), jV = (e) => (t) => {
setTimeout(t, e);
-}, _pe = (e, t) => (n) => {
+}, MV = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, jV = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? _pe(window.requestAnimationFrame, 100) : AV(10) : e.type === "callback" ? e.queueNotification : AV(e.timeout), l = () => {
+}, NV = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? MV(window.requestAnimationFrame, 100) : jV(10) : e.type === "callback" ? e.queueNotification : jV(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -47671,37 +48008,37 @@ var gpe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[OV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[kV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, vpe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new TV(e);
- return n && r.push(jV(typeof n == "object" ? n : void 0)), r;
+}, PV = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new EV(e);
+ return n && r.push(NV(typeof n == "object" ? n : void 0)), r;
};
-function MV(e) {
- let t = gpe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function FV(e) {
+ let t = kpe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (uB(n)) c = fB(n);
- else throw Error(kH(1));
+ else if (dB(n)) c = pB(n);
+ else throw Error(MH(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = pB;
- i && (u = mpe({
+ let u = mB;
+ i && (u = Dpe({
trace: !1,
...typeof i == "object" && i
}));
- let d = vpe(Zfe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return dB(c, o, p);
+ let d = PV(upe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return fB(c, o, p);
}
-function NV(e) {
+function IV(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(kH(28));
- if (r in t) throw Error(kH(29));
+ if (!r) throw Error(MH(28));
+ if (r in t) throw Error(MH(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -47726,25 +48063,25 @@ function NV(e) {
r
];
}
-function PV(e) {
+function LV(e) {
return typeof e == "function";
}
-function FV(e, t) {
- let [n, r, i] = NV(t), a;
- if (PV(e)) a = () => EV(e());
+function RV(e, t) {
+ let [n, r, i] = IV(t), a;
+ if (LV(e)) a = () => DV(e());
else {
- let t = EV(e);
+ let t = DV(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (DB(e)) {
+ if (OB(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (OB(e)) return SV(e, (e) => n(e, t));
+ if (kB(e)) return CV(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -47759,20 +48096,20 @@ function FV(e, t) {
}
return o.getInitialState = a, o;
}
-var IV = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", LV = (e = 21) => {
+var zV = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", BV = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += IV[Math.random() * 64 | 0];
+ for (; n--;) t += zV[Math.random() * 64 | 0];
return t;
-}, RV = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function zV(e, t) {
+}, VV = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function HV(e, t) {
return `${e}/${t}`;
}
-function BV({ creators: e } = {}) {
- let t = e?.asyncThunk?.[RV];
+function UV({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[VV];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(kH(11));
- let i = (typeof e.reducers == "function" ? e.reducers(UV()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(MH(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(KV()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -47780,8 +48117,8 @@ function BV({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(kH(12));
- if (n in o.sliceCaseReducersByType) throw Error(kH(13));
+ if (!n) throw Error(MH(12));
+ if (n in o.sliceCaseReducersByType) throw Error(MH(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -47800,17 +48137,17 @@ function BV({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: zV(n, r),
+ type: HV(n, r),
createNotation: typeof e.reducers == "function"
};
- GV(a) ? qV(o, a, s, t) : WV(o, a, s);
+ JV(a) ? XV(o, a, s, t) : qV(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NV(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? IV(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return FV(e.initialState, (e) => {
+ return RV(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -47827,12 +48164,12 @@ function BV({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = DV(d, r, m)), i;
+ return i === void 0 && n && (i = OV(d, r, m)), i;
}
function i(t = l) {
- return DV(DV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return OV(OV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = VV(a, t, () => DV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = WV(a, t, () => OV(d, t, m), n);
return r;
});
}
@@ -47866,15 +48203,15 @@ function BV({ creators: e } = {}) {
return g;
};
}
-function VV(e, t, n, r) {
+function WV(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var HV = /* @__PURE__ */ BV();
-function UV() {
+var GV = /* @__PURE__ */ UV();
+function KV() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -47898,57 +48235,57 @@ function UV() {
asyncThunk: e
};
}
-function WV({ type: e, reducerName: t, createNotation: n }, r, i) {
+function qV({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !KV(r)) throw Error(kH(17));
+ if (n && !YV(r)) throw Error(MH(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? wV(e, o) : wV(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? TV(e, o) : TV(e));
}
-function GV(e) {
+function JV(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function KV(e) {
+function YV(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function qV({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(kH(18));
+function XV({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(MH(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || JV,
- pending: s || JV,
- rejected: c || JV,
- settled: l || JV
+ fulfilled: o || ZV,
+ pending: s || ZV,
+ rejected: c || ZV,
+ settled: l || ZV
});
}
-function JV() {}
-var YV = "task", XV = "listener", ZV = "completed", QV = "cancelled", $V = `task-${QV}`, eH = `task-${ZV}`, tH = `${XV}-${QV}`, nH = `${XV}-${ZV}`, rH = class {
+function ZV() {}
+var QV = "task", $V = "listener", eH = "completed", tH = "cancelled", nH = `task-${tH}`, rH = `task-${eH}`, iH = `${$V}-${tH}`, aH = `${$V}-${eH}`, oH = class {
constructor(e) {
- this.code = e, this.message = `${YV} ${QV} (reason: ${e})`;
+ this.code = e, this.message = `${QV} ${tH} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, iH = (e, t) => {
- if (typeof e != "function") throw TypeError(kH(32));
-}, aH = () => {}, oH = (e, t = aH) => (e.catch(t), e), sH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), cH = (e) => {
- if (e.aborted) throw new rH(e.reason);
+}, sH = (e, t) => {
+ if (typeof e != "function") throw TypeError(MH(32));
+}, cH = () => {}, lH = (e, t = cH) => (e.catch(t), e), uH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), dH = (e) => {
+ if (e.aborted) throw new oH(e.reason);
};
-function lH(e, t) {
- let n = aH;
+function fH(e, t) {
+ let n = cH;
return new Promise((r, i) => {
- let a = () => i(new rH(e.reason));
+ let a = () => i(new oH(e.reason));
if (e.aborted) {
a();
return;
}
- n = sH(e, a), t.finally(() => n()).then(r, i);
+ n = uH(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = aH;
+ n = cH;
});
}
-var uH = async (e, t) => {
+var pH = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -47956,40 +48293,40 @@ var uH = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof rH ? "cancelled" : "rejected",
+ status: e instanceof oH ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, dH = (e) => (t) => oH(lH(e, t).then((t) => (cH(e), t))), fH = (e) => {
- let t = dH(e);
+}, mH = (e) => (t) => lH(fH(e, t).then((t) => (dH(e), t))), hH = (e) => {
+ let t = mH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: pH } = Object, mH = {}, hH = "listenerMiddleware", gH = (e, t) => {
- let n = (t) => sH(e, () => t.abort(e.reason));
+}, { assign: gH } = Object, _H = {}, vH = "listenerMiddleware", yH = (e, t) => {
+ let n = (t) => uH(e, () => t.abort(e.reason));
return (r, i) => {
- iH(r, "taskExecutor");
+ sH(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = uH(async () => {
- cH(e), cH(a.signal);
+ let o = pH(async () => {
+ dH(e), dH(a.signal);
let t = await r({
- pause: dH(a.signal),
- delay: fH(a.signal),
+ pause: mH(a.signal),
+ delay: hH(a.signal),
signal: a.signal
});
- return cH(a.signal), t;
- }, () => a.abort(eH));
- return i?.autoJoin && t.push(o.catch(aH)), {
- result: dH(e)(o),
+ return dH(a.signal), t;
+ }, () => a.abort(rH));
+ return i?.autoJoin && t.push(o.catch(cH)), {
+ result: mH(e)(o),
cancel() {
- a.abort($V);
+ a.abort(nH);
}
};
};
-}, _H = (e, t) => {
+}, bH = (e, t) => {
let n = async (n, r) => {
- cH(t);
+ dH(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -48007,47 +48344,47 @@ var uH = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await lH(t, Promise.race(a));
- return cH(t), e;
+ let e = await fH(t, Promise.race(a));
+ return dH(t), e;
} finally {
i();
}
};
- return ((e, t) => oH(n(e, t)));
-}, vH = (e) => {
+ return ((e, t) => lH(n(e, t)));
+}, xH = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = wV(t).match;
+ if (t) i = TV(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(kH(21));
- return iH(a, "options.listener"), {
+ else if (!i) throw Error(MH(21));
+ return sH(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, yH = /* @__PURE__ */ pH((e) => {
- let { type: t, predicate: n, effect: r } = vH(e);
+}, SH = /* @__PURE__ */ gH((e) => {
+ let { type: t, predicate: n, effect: r } = xH(e);
return {
- id: LV(),
+ id: BV(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(kH(22));
+ throw Error(MH(22));
}
};
-}, { withTypes: () => yH }), bH = (e, t) => {
- let { type: n, effect: r, predicate: i } = vH(t);
+}, { withTypes: () => SH }), CH = (e, t) => {
+ let { type: n, effect: r, predicate: i } = xH(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, xH = (e) => {
+}, wH = (e) => {
e.pending.forEach((e) => {
- e.abort(tH);
+ e.abort(iH);
});
-}, SH = (e, t) => () => {
- for (let e of t.keys()) xH(e);
+}, TH = (e, t) => () => {
+ for (let e of t.keys()) wH(e);
e.clear();
-}, CH = (e, t, n) => {
+}, EH = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -48055,74 +48392,74 @@ var uH = async (e, t) => {
throw e;
}, 0);
}
-}, wH = /* @__PURE__ */ pH(/* @__PURE__ */ wV(`${hH}/add`), { withTypes: () => wH }), TH = /* @__PURE__ */ wV(`${hH}/removeAll`), EH = /* @__PURE__ */ pH(/* @__PURE__ */ wV(`${hH}/remove`), { withTypes: () => EH }), DH = (...e) => {
- console.error(`${hH}/error`, ...e);
-}, OH = (e = {}) => {
+}, DH = /* @__PURE__ */ gH(/* @__PURE__ */ TV(`${vH}/add`), { withTypes: () => DH }), OH = /* @__PURE__ */ TV(`${vH}/removeAll`), kH = /* @__PURE__ */ gH(/* @__PURE__ */ TV(`${vH}/remove`), { withTypes: () => kH }), AH = (...e) => {
+ console.error(`${vH}/error`, ...e);
+}, jH = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = DH } = e;
- iH(o, "onError");
+ }, { extra: a, onError: o = AH } = e;
+ sH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && xH(e);
+ e.unsubscribe(), t?.cancelActive && wH(e);
}), c = ((e) => {
- let n = bH(t, e) ?? yH(e);
+ let n = CH(t, e) ?? SH(e);
return s(n);
});
- pH(c, { withTypes: () => c });
+ gH(c, { withTypes: () => c });
let l = (e) => {
- let n = bH(t, e);
- return n && (n.unsubscribe(), e.cancelActive && xH(n)), !!n;
+ let n = CH(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && wH(n)), !!n;
};
- pH(l, { withTypes: () => l });
+ gH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = _H(c, u.signal), f = [];
+ let u = new AbortController(), d = bH(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, pH({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, gH({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: fH(u.signal),
- pause: dH(u.signal),
+ delay: hH(u.signal),
+ pause: mH(u.signal),
extra: a,
signal: u.signal,
- fork: gH(u.signal, f),
+ fork: yH(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(tH), n.delete(e));
+ e !== u && (e.abort(iH), n.delete(e));
});
},
cancel: () => {
- u.abort(tH), e.pending.delete(u);
+ u.abort(iH), e.pending.delete(u);
},
throwIfCancelled: () => {
- cH(u.signal);
+ dH(u.signal);
}
})));
} catch (e) {
- e instanceof rH || CH(o, e, { raisedBy: "effect" });
+ e instanceof oH || EH(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(nH), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(aH), i(e), e.pending.delete(u);
}
- }, d = SH(t, n);
+ }, d = TH(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!mB(r)) return n(r);
- if (wH.match(r)) return c(r.payload);
- if (TH.match(r)) {
+ if (!hB(r)) return n(r);
+ if (DH.match(r)) return c(r.payload);
+ if (OH.match(r)) {
d();
return;
}
- if (EH.match(r)) return l(r.payload);
+ if (kH.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === mH) throw Error(kH(23));
+ if (i === _H) throw Error(MH(23));
return i;
}, s;
try {
@@ -48133,13 +48470,13 @@ var uH = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, CH(o, e, { raisedBy: "predicate" });
+ s = !1, EH(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = mH;
+ i = _H;
}
return s;
},
@@ -48148,12 +48485,12 @@ var uH = async (e, t) => {
clearListeners: d
};
};
-function kH(e) {
+function MH(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var AH = HV({
+var NH = GV({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -48181,23 +48518,23 @@ var AH = HV({
e.scale = t.payload;
}
}
-}), { setMargin: jH, setLayout: MH, setChartSize: NH, setScale: PH } = AH.actions, FH = AH.reducer;
+}), { setMargin: PH, setLayout: FH, setChartSize: IH, setScale: LH } = NH.actions, RH = NH.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function IH(e, t, n) {
+function zH(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function LH(e) {
+function BH(e) {
return Number.isFinite(e);
}
-function RH(e) {
+function VH(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function zH(e, t) {
+function HH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48207,30 +48544,30 @@ function zH(e, t) {
}
return n;
}
-function BH(e) {
+function UH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zH(Object(n), !0).forEach(function(t) {
- VH(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zH(Object(n)).forEach(function(t) {
+ t % 2 ? HH(Object(n), !0).forEach(function(t) {
+ WH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VH(e, t, n) {
- return (t = HH(t)) in e ? Object.defineProperty(e, t, {
+function WH(e, t, n) {
+ return (t = GH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HH(e) {
- var t = UH(e, "string");
+function GH(e) {
+ var t = KH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UH(e, t) {
+function KH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48240,63 +48577,63 @@ function UH(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WH(e, t, n) {
- return cz(e) || cz(t) ? n : nz(t) ? XR(e, t, n) : typeof t == "function" ? t(e) : n;
+function qH(e, t, n) {
+ return lz(e) || lz(t) ? n : rz(t) ? ZR(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var GH = (e, t, n) => {
+var JH = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return BH(BH({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return BH(BH({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return UH(UH({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return UH(UH({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, KH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qH = (e, t, n, r) => {
+}, YH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", XH = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, JH = (e, t, n) => {
+}, ZH = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? $R(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? ez(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
- return LH(i) ? {
+ return BH(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(uz) : c && l ? l.map((e, t) => {
+ }).filter(dz) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(uz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(dz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(uz) : o.domain().map((e, t) => {
+ }).filter(dz) : o.domain().map((e, t) => {
var n = o.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(uz);
-}, YH = (e, t) => {
+ }).filter(dz);
+}, QH = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, XH = {
+}, $H = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -48304,16 +48641,16 @@ var GH = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = ez(c) ? l : c;
+ var c = s[1], l = s[0], u = tz(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: lde,
- none: HR,
- silhouette: ude,
- wiggle: dde,
+ expand: Sde,
+ none: UR,
+ silhouette: Cde,
+ wiggle: wde,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -48321,70 +48658,70 @@ var GH = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = ez(o[1]) ? o[0] : o[1];
+ var s = tz(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, ZH = (e, t, n) => {
- var r = XH[n] ?? HR, i = cde().keys(t).value((e, t) => Number(WH(e, t, 0))).order(UR).offset(r)(e);
+}, eU = (e, t, n) => {
+ var r = $H[n] ?? UR, i = xde().keys(t).value((e, t) => Number(qH(e, t, 0))).order(WR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = WH(e[i], t[r], 0);
+ var a = qH(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function QH(e) {
+function tU(e) {
return e == null ? void 0 : String(e);
}
-function $H(e) {
+function nU(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !cz(i[t.dataKey])) {
- var s = sz(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !lz(i[t.dataKey])) {
+ var s = cz(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = WH(i, cz(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = qH(i, lz(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var eU = (e) => {
+var rU = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = WH(a, t.dataKey, t.scale.domain()[o]);
- if (cz(s)) return null;
+ var s = qH(a, t.dataKey, t.scale.domain()[o]);
+ if (lz(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, tU = (e) => {
+}, iU = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, nU = (e) => {
+}, aU = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, rU = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], iU = (e, t, n) => {
- if (e != null) return rU(Object.keys(e).reduce((r, i) => {
+}, oU = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], sU = (e, t, n) => {
+ if (e != null) return oU(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = nU(IH(r, t, n));
- return !LH(i[0]) || !LH(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = aU(zH(r, t, n));
+ return !BH(i[0]) || !BH(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, aU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sU = (e, t, n) => {
+}, cU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, lU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uU = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = nB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = rB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -48392,26 +48729,26 @@ var eU = (e) => {
}
return n ? void 0 : 0;
};
-function cU(e) {
+function dU(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return BH(BH({}, t), {}, {
+ return UH(UH({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function lU(e, t) {
+function fU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var uU = (e, t) => {
+var pU = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, dU = (e, t) => t === "centric" ? e.angle : e.radius, fU = (e) => e.layout.width, pU = (e) => e.layout.height, mU = (e) => e.layout.scale, hU = (e) => e.layout.margin, gU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _U = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vU = "data-recharts-item-index";
+}, mU = (e, t) => t === "centric" ? e.angle : e.radius, hU = (e) => e.layout.width, gU = (e) => e.layout.height, _U = (e) => e.layout.scale, vU = (e) => e.layout.margin, yU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), bU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), xU = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function yU(e, t) {
+function SU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48421,30 +48758,30 @@ function yU(e, t) {
}
return n;
}
-function bU(e) {
+function CU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yU(Object(n), !0).forEach(function(t) {
- xU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yU(Object(n)).forEach(function(t) {
+ t % 2 ? SU(Object(n), !0).forEach(function(t) {
+ wU(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xU(e, t, n) {
- return (t = SU(t)) in e ? Object.defineProperty(e, t, {
+function wU(e, t, n) {
+ return (t = TU(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SU(e) {
- var t = CU(e, "string");
+function TU(e) {
+ var t = EU(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CU(e, t) {
+function EU(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48454,58 +48791,58 @@ function CU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wU = (e) => e.brush.height;
-function TU(e) {
- return _U(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+var DU = (e) => e.brush.height;
+function OU(e) {
+ return bU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function EU(e) {
- return _U(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+function kU(e) {
+ return bU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function DU(e) {
- return gU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+function AU(e) {
+ return yU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-function OU(e) {
- return gU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+function jU(e) {
+ return yU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var kU = $([
- fU,
- pU,
+var MU = $([
hU,
- wU,
- TU,
- EU,
+ gU,
+ vU,
DU,
OU,
- rB,
- qfe
+ kU,
+ AU,
+ jU,
+ iB,
+ ope
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = bU(bU({}, {
+ }, d = CU(CU({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = GH(d, c, l);
+ d.bottom += r, d = JH(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return bU(bU({ brushBottom: f }, d), {}, {
+ return CU(CU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), AU = $(kU, (e) => ({
+}), NU = $(MU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), jU = $(fU, pU, (e, t) => ({
+})), PU = $(hU, gU, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), MU = /*#__PURE__*/ (0, I.createContext)(null), NU = () => (0, I.useContext)(MU) != null, PU = (e) => e.brush, FU = $([
- PU,
- kU,
- hU
+})), FU = /*#__PURE__*/ (0, I.createContext)(null), IU = () => (0, I.useContext)(FU) != null, LU = (e) => e.brush, RU = $([
+ LU,
+ MU,
+ vU
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -48514,7 +48851,7 @@ var kU = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function IU(e, t, { signal: n, edges: r } = {}) {
+function zU(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -48539,11 +48876,11 @@ function IU(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function LU(e, t = 0, n = {}) {
+function BU(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = IU(function(...t) {
+ let s, c = null, l = zU(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -48552,9 +48889,9 @@ function LU(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function RU(e, t = 0, n = {}) {
+function VU(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return LU(e, t, {
+ return BU(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -48562,7 +48899,7 @@ function RU(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var zU = function(e, t) {
+var HU = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -48571,7 +48908,7 @@ var zU = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, BU = {
+}, UU = {
width: "100%",
height: "100%",
debounce: 0,
@@ -48580,45 +48917,45 @@ var zU = function(e, t) {
width: -1,
height: -1
}
-}, VU = (e, t, n) => {
- var { width: r = BU.width, height: i = BU.height, aspect: a, maxHeight: o } = n, s = tz(r) ? e : Number(r), c = tz(i) ? t : Number(i);
+}, WU = (e, t, n) => {
+ var { width: r = UU.width, height: i = UU.height, aspect: a, maxHeight: o } = n, s = nz(r) ? e : Number(r), c = nz(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, HU = {
+}, GU = {
width: 0,
height: 0,
overflow: "visible"
-}, UU = {
+}, KU = {
width: 0,
overflowX: "visible"
-}, WU = {
+}, qU = {
height: 0,
overflowY: "visible"
-}, GU = {}, KU = (e) => {
- var { width: t, height: n } = e, r = tz(t), i = tz(n);
- return r && i ? HU : r ? UU : i ? WU : GU;
+}, JU = {}, YU = (e) => {
+ var { width: t, height: n } = e, r = nz(t), i = nz(n);
+ return r && i ? GU : r ? KU : i ? qU : JU;
};
-function qU(e) {
+function XU(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = BU.width, a = BU.height) : i === void 0 ? i = r && r > 0 ? void 0 : BU.width : a === void 0 && (a = r && r > 0 ? void 0 : BU.height), {
+ return i === void 0 && a === void 0 ? (i = UU.width, a = UU.height) : i === void 0 ? i = r && r > 0 ? void 0 : UU.width : a === void 0 && (a = r && r > 0 ? void 0 : UU.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function JU() {
- return JU = Object.assign ? Object.assign.bind() : function(e) {
+function ZU() {
+ return ZU = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, JU.apply(null, arguments);
+ }, ZU.apply(null, arguments);
}
-function YU(e, t) {
+function QU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48628,30 +48965,30 @@ function YU(e, t) {
}
return n;
}
-function XU(e) {
+function $U(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? YU(Object(n), !0).forEach(function(t) {
- ZU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YU(Object(n)).forEach(function(t) {
+ t % 2 ? QU(Object(n), !0).forEach(function(t) {
+ eW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZU(e, t, n) {
- return (t = QU(t)) in e ? Object.defineProperty(e, t, {
+function eW(e, t, n) {
+ return (t = tW(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QU(e) {
- var t = $U(e, "string");
+function tW(e) {
+ var t = nW(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $U(e, t) {
+function nW(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48661,19 +48998,19 @@ function $U(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var eW = /*#__PURE__*/ (0, I.createContext)(BU.initialDimension);
-function tW(e) {
- return RH(e.width) && RH(e.height);
+var rW = /*#__PURE__*/ (0, I.createContext)(UU.initialDimension);
+function iW(e) {
+ return VH(e.width) && VH(e.height);
}
-function nW(e) {
+function aW(e) {
var { children: t, width: n, height: r } = e, i = (0, I.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return tW(i) ? /*#__PURE__*/ I.createElement(eW.Provider, { value: i }, t) : null;
+ return iW(i) ? /*#__PURE__*/ I.createElement(rW.Provider, { value: i }, t) : null;
}
-var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = BU.initialDimension, width: i, height: a, minWidth: o = BU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
+var oW = () => (0, I.useContext)(rW), sW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = UU.initialDimension, width: i, height: a, minWidth: o = UU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = UU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
g.current = p, (0, I.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, I.useState)({
containerWidth: r.width,
@@ -48688,7 +49025,7 @@ var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
}, []);
(0, I.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return dz;
+ if (h.current == null || typeof ResizeObserver > "u") return fz;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -48696,7 +49033,7 @@ var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = RU(e, u, {
+ u > 0 && (e = VU(e, u, {
trailing: !0,
leading: !1
}));
@@ -48706,17 +49043,17 @@ var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- zU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = VU(b, x, {
+ HU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = WU(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return zU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
+ return HU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
id: d ? `${d}` : void 0,
- className: Um("recharts-responsive-container", f),
- style: XU(XU({}, m), {}, {
+ className: Wm("recharts-responsive-container", f),
+ style: $U($U({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -48724,30 +49061,30 @@ var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ I.createElement("div", { style: KU({
+ }, /*#__PURE__*/ I.createElement("div", { style: YU({
width: i,
height: a
- }) }, /*#__PURE__*/ I.createElement(nW, {
+ }) }, /*#__PURE__*/ I.createElement(aW, {
width: S,
height: C
}, l)));
-}), aW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = rW();
- if (RH(n.width) && RH(n.height)) return e.children;
- var { width: r, height: i } = qU({
+}), cW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = oW();
+ if (VH(n.width) && VH(n.height)) return e.children;
+ var { width: r, height: i } = XU({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = VU(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = WU(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(nW, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(aW, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ I.createElement(iW, JU({}, e, {
+ }, e.children) : /*#__PURE__*/ I.createElement(sW, ZU({}, e, {
width: r,
height: i,
ref: t
@@ -48755,7 +49092,7 @@ var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function oW(e) {
+function lW(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -48765,15 +49102,15 @@ function oW(e) {
height: e.height
};
}
-var sW = () => {
- var e = NU(), t = Q(AU), n = Q(FU), r = Q(PU)?.padding;
+var uW = () => {
+ var e = IU(), t = Q(NU), n = Q(RU), r = Q(LU)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, cW = {
+}, dW = {
top: 0,
bottom: 0,
left: 0,
@@ -48781,16 +49118,16 @@ var sW = () => {
width: 0,
height: 0,
brushBottom: 0
-}, lW = () => Q(kU) ?? cW, uW = () => Q(fU), dW = () => Q(pU), fW = () => Q((e) => e.layout.margin), pW = (e) => e.layout.layoutType, mW = () => Q(pW), hW = () => {
- var e = mW();
+}, fW = () => Q(MU) ?? dW, pW = () => Q(hU), mW = () => Q(gU), hW = () => Q((e) => e.layout.margin), gW = (e) => e.layout.layoutType, _W = () => Q(gW), vW = () => {
+ var e = _W();
if (e === "horizontal" || e === "vertical") return e;
-}, gW = (e) => {
+}, yW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, _W = () => Q(gW), vW = () => mW() !== void 0, yW = (e) => {
- var t = Jz(), n = NU(), { width: r, height: i } = e, a = rW(), o = r, s = i;
+}, bW = () => Q(yW), xW = () => _W() !== void 0, SW = (e) => {
+ var t = Yz(), n = IU(), { width: r, height: i } = e, a = oW(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, I.useEffect)(() => {
- !n && RH(o) && RH(s) && t(NH({
+ !n && VH(o) && VH(s) && t(IH({
width: o,
height: s
}));
@@ -48800,64 +49137,64 @@ var sW = () => {
o,
s
]), null;
-}, bW = Symbol.for("immer-nothing"), xW = Symbol.for("immer-draftable"), SW = Symbol.for("immer-state");
-function CW(e, ...t) {
+}, CW = Symbol.for("immer-nothing"), wW = Symbol.for("immer-draftable"), TW = Symbol.for("immer-state");
+function EW(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var wW = Object.getPrototypeOf;
-function TW(e) {
- return !!e && !!e[SW];
-}
-function EW(e) {
- return e ? kW(e) || Array.isArray(e) || !!e[xW] || !!e.constructor?.[xW] || FW(e) || IW(e) : !1;
+var DW = Object.getPrototypeOf;
+function OW(e) {
+ return !!e && !!e[TW];
}
-var DW = Object.prototype.constructor.toString(), OW = /* @__PURE__ */ new WeakMap();
function kW(e) {
+ return e ? MW(e) || Array.isArray(e) || !!e[wW] || !!e.constructor?.[wW] || RW(e) || zW(e) : !1;
+}
+var AW = Object.prototype.constructor.toString(), jW = /* @__PURE__ */ new WeakMap();
+function MW(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = OW.get(n);
- return r === void 0 && (r = Function.toString.call(n), OW.set(n, r)), r === DW;
+ let r = jW.get(n);
+ return r === void 0 && (r = Function.toString.call(n), jW.set(n, r)), r === AW;
}
-function AW(e, t, n = !0) {
- jW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function NW(e, t, n = !0) {
+ PW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function jW(e) {
- let t = e[SW];
- return t ? t.type_ : Array.isArray(e) ? 1 : FW(e) ? 2 : IW(e) ? 3 : 0;
+function PW(e) {
+ let t = e[TW];
+ return t ? t.type_ : Array.isArray(e) ? 1 : RW(e) ? 2 : zW(e) ? 3 : 0;
}
-function MW(e, t) {
- return jW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function FW(e, t) {
+ return PW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function NW(e, t, n) {
- let r = jW(e);
+function IW(e, t, n) {
+ let r = PW(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function PW(e, t) {
+function LW(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function FW(e) {
+function RW(e) {
return e instanceof Map;
}
-function IW(e) {
+function zW(e) {
return e instanceof Set;
}
-function LW(e) {
+function BW(e) {
return e.copy_ || e.base_;
}
-function RW(e, t) {
- if (FW(e)) return new Map(e);
- if (IW(e)) return new Set(e);
+function VW(e, t) {
+ if (RW(e)) return new Map(e);
+ if (zW(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = kW(e);
+ let n = MW(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[SW];
+ delete t[TW];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -48868,40 +49205,40 @@ function RW(e, t) {
value: e[i]
});
}
- return Object.create(wW(e), t);
+ return Object.create(DW(e), t);
}
{
- let t = wW(e);
+ let t = DW(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function zW(e, t = !1) {
- return HW(e) || TW(e) || !EW(e) ? e : (jW(e) > 1 && Object.defineProperties(e, {
- set: VW,
- add: VW,
- clear: VW,
- delete: VW
- }), Object.freeze(e), t && Object.values(e).forEach((e) => zW(e, !0)), e);
+function HW(e, t = !1) {
+ return GW(e) || OW(e) || !kW(e) ? e : (PW(e) > 1 && Object.defineProperties(e, {
+ set: WW,
+ add: WW,
+ clear: WW,
+ delete: WW
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => HW(e, !0)), e);
}
-function BW() {
- CW(2);
+function UW() {
+ EW(2);
}
-var VW = { value: BW };
-function HW(e) {
+var WW = { value: UW };
+function GW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var UW = {};
-function WW(e) {
- let t = UW[e];
- return t || CW(0, e), t;
+var KW = {};
+function qW(e) {
+ let t = KW[e];
+ return t || EW(0, e), t;
}
-var GW;
-function KW() {
- return GW;
+var JW;
+function YW() {
+ return JW;
}
-function qW(e, t) {
+function XW(e, t) {
return {
drafts_: [],
parent_: e,
@@ -48910,62 +49247,62 @@ function qW(e, t) {
unfinalizedDrafts_: 0
};
}
-function JW(e, t) {
- t && (WW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function ZW(e, t) {
+ t && (qW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function YW(e) {
- XW(e), e.drafts_.forEach(QW), e.drafts_ = null;
+function QW(e) {
+ $W(e), e.drafts_.forEach(tG), e.drafts_ = null;
}
-function XW(e) {
- e === GW && (GW = e.parent_);
+function $W(e) {
+ e === JW && (JW = e.parent_);
}
-function ZW(e) {
- return GW = qW(GW, e);
+function eG(e) {
+ return JW = XW(JW, e);
}
-function QW(e) {
- let t = e[SW];
+function tG(e) {
+ let t = e[TW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function $W(e, t) {
+function nG(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[SW].modified_ && (YW(t), CW(4)), EW(e) && (e = eG(t, e), t.parent_ || nG(t, e)), t.patches_ && WW("Patches").generateReplacementPatches_(n[SW].base_, e, t.patches_, t.inversePatches_)) : e = eG(t, n, []), YW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === bW ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[TW].modified_ && (QW(t), EW(4)), kW(e) && (e = rG(t, e), t.parent_ || aG(t, e)), t.patches_ && qW("Patches").generateReplacementPatches_(n[TW].base_, e, t.patches_, t.inversePatches_)) : e = rG(t, n, []), QW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === CW ? void 0 : e;
}
-function eG(e, t, n) {
- if (HW(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[SW];
- if (!i) return AW(t, (r, a) => tG(e, i, t, r, a, n), r), t;
+function rG(e, t, n) {
+ if (GW(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[TW];
+ if (!i) return NW(t, (r, a) => iG(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return nG(e, i.base_, !0), i.base_;
+ if (!i.modified_) return aG(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), AW(a, (r, a) => tG(e, i, t, r, a, n, o), r), nG(e, t, !1), n && e.patches_ && WW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), NW(a, (r, a) => iG(e, i, t, r, a, n, o), r), aG(e, t, !1), n && e.patches_ && qW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function tG(e, t, n, r, i, a, o) {
+function iG(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = HW(i);
+ let s = GW(i);
if (!(s && !o)) {
- if (TW(i)) {
- let o = eG(e, i, a && t && t.type_ !== 3 && !MW(t.assigned_, r) ? a.concat(r) : void 0);
- if (NW(n, r, o), TW(o)) e.canAutoFreeze_ = !1;
+ if (OW(i)) {
+ let o = rG(e, i, a && t && t.type_ !== 3 && !FW(t.assigned_, r) ? a.concat(r) : void 0);
+ if (IW(n, r, o), OW(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (EW(i) && !s) {
+ if (kW(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- eG(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (FW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && nG(e, i);
+ rG(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (RW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && aG(e, i);
}
}
}
-function nG(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && zW(t, n);
+function aG(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && HW(t, n);
}
-function rG(e, t) {
+function oG(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : KW(),
+ scope_: t ? t.scope_ : YW(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -48975,41 +49312,41 @@ function rG(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = iG;
- n && (i = [r], a = aG);
+ }, i = r, a = sG;
+ n && (i = [r], a = cG);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var iG = {
+var sG = {
get(e, t) {
- if (t === SW) return e;
- let n = LW(e);
- if (!MW(n, t)) return sG(e, n, t);
+ if (t === TW) return e;
+ let n = BW(e);
+ if (!FW(n, t)) return uG(e, n, t);
let r = n[t];
- return e.finalized_ || !EW(r) ? r : r === oG(e.base_, t) ? (uG(e), e.copy_[t] = fG(r, e)) : r;
+ return e.finalized_ || !kW(r) ? r : r === lG(e.base_, t) ? (pG(e), e.copy_[t] = hG(r, e)) : r;
},
has(e, t) {
- return t in LW(e);
+ return t in BW(e);
},
ownKeys(e) {
- return Reflect.ownKeys(LW(e));
+ return Reflect.ownKeys(BW(e));
},
set(e, t, n) {
- let r = cG(LW(e), t);
+ let r = dG(BW(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = oG(LW(e), t), i = r?.[SW];
+ let r = lG(BW(e), t), i = r?.[TW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (PW(n, r) && (n !== void 0 || MW(e.base_, t))) return !0;
- uG(e), lG(e);
+ if (LW(n, r) && (n !== void 0 || FW(e.base_, t))) return !0;
+ pG(e), fG(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return oG(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, uG(e), lG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return lG(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, pG(e), fG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = LW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = BW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -49018,48 +49355,48 @@ var iG = {
};
},
defineProperty() {
- CW(11);
+ EW(11);
},
getPrototypeOf(e) {
- return wW(e.base_);
+ return DW(e.base_);
},
setPrototypeOf() {
- CW(12);
+ EW(12);
}
-}, aG = {};
-AW(iG, (e, t) => {
- aG[e] = function() {
+}, cG = {};
+NW(sG, (e, t) => {
+ cG[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), aG.deleteProperty = function(e, t) {
- return aG.set.call(this, e, t, void 0);
-}, aG.set = function(e, t, n) {
- return iG.set.call(this, e[0], t, n, e[0]);
+}), cG.deleteProperty = function(e, t) {
+ return cG.set.call(this, e, t, void 0);
+}, cG.set = function(e, t, n) {
+ return sG.set.call(this, e[0], t, n, e[0]);
};
-function oG(e, t) {
- let n = e[SW];
- return (n ? LW(n) : e)[t];
+function lG(e, t) {
+ let n = e[TW];
+ return (n ? BW(n) : e)[t];
}
-function sG(e, t, n) {
- let r = cG(t, n);
+function uG(e, t, n) {
+ let r = dG(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function cG(e, t) {
+function dG(e, t) {
if (!(t in e)) return;
- let n = wW(e);
+ let n = DW(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = wW(n);
+ n = DW(n);
}
}
-function lG(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && lG(e.parent_));
+function fG(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && fG(e.parent_));
}
-function uG(e) {
- e.copy_ ||= RW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function pG(e) {
+ e.copy_ ||= VW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var dG = class {
+var mG = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -49070,25 +49407,25 @@ var dG = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && CW(6), n !== void 0 && typeof n != "function" && CW(7);
+ typeof t != "function" && EW(6), n !== void 0 && typeof n != "function" && EW(7);
let r;
- if (EW(e)) {
- let i = ZW(this), a = fG(e, void 0), o = !0;
+ if (kW(e)) {
+ let i = eG(this), a = hG(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? YW(i) : XW(i);
+ o ? QW(i) : $W(i);
}
- return JW(i, n), $W(r, i);
+ return ZW(i, n), nG(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === bW && (r = void 0), this.autoFreeze_ && zW(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === CW && (r = void 0), this.autoFreeze_ && HW(r, !0), n) {
let t = [], i = [];
- WW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ qW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- CW(1, e);
+ EW(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -49102,15 +49439,15 @@ var dG = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- EW(e) || CW(8), TW(e) && (e = pG(e));
- let t = ZW(this), n = fG(e, void 0);
- return n[SW].isManual_ = !0, XW(t), n;
+ kW(e) || EW(8), OW(e) && (e = gG(e));
+ let t = eG(this), n = hG(e, void 0);
+ return n[TW].isManual_ = !0, $W(t), n;
}
finishDraft(e, t) {
- let n = e && e[SW];
- (!n || !n.isManual_) && CW(9);
+ let n = e && e[TW];
+ (!n || !n.isManual_) && EW(9);
let { scope_: r } = n;
- return JW(r, t), $W(void 0, r);
+ return ZW(r, t), nG(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -49134,35 +49471,35 @@ var dG = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = WW("Patches").applyPatches_;
- return TW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = qW("Patches").applyPatches_;
+ return OW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function fG(e, t) {
- let n = FW(e) ? WW("MapSet").proxyMap_(e, t) : IW(e) ? WW("MapSet").proxySet_(e, t) : rG(e, t);
- return (t ? t.scope_ : KW()).drafts_.push(n), n;
+function hG(e, t) {
+ let n = RW(e) ? qW("MapSet").proxyMap_(e, t) : zW(e) ? qW("MapSet").proxySet_(e, t) : oG(e, t);
+ return (t ? t.scope_ : YW()).drafts_.push(n), n;
}
-function pG(e) {
- return TW(e) || CW(10, e), mG(e);
+function gG(e) {
+ return OW(e) || EW(10, e), _G(e);
}
-function mG(e) {
- if (!EW(e) || HW(e)) return e;
- let t = e[SW], n, r = !0;
+function _G(e) {
+ if (!kW(e) || GW(e)) return e;
+ let t = e[TW], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = RW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = RW(e, !0);
- return AW(n, (e, t) => {
- NW(n, e, mG(t));
+ t.finalized_ = !0, n = VW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = VW(e, !0);
+ return NW(n, (e, t) => {
+ IW(n, e, _G(t));
}, r), t && (t.finalized_ = !1), n;
}
-new dG().produce;
-function hG(e) {
+new mG().produce;
+function vG(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var gG = HV({
+var yG = GV({
name: "legend",
initialState: {
settings: {
@@ -49186,43 +49523,43 @@ var gG = HV({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(hG(t.payload));
+ e.payload.push(vG(t.payload));
},
- prepare: kV()
+ prepare: AV()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bV(e).payload.indexOf(hG(n));
- i > -1 && (e.payload[i] = hG(r));
+ var { prev: n, next: r } = t.payload, i = xV(e).payload.indexOf(vG(n));
+ i > -1 && (e.payload[i] = vG(r));
},
- prepare: kV()
+ prepare: AV()
},
removeLegendPayload: {
reducer(e, t) {
- var n = bV(e).payload.indexOf(hG(t.payload));
+ var n = xV(e).payload.indexOf(vG(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: kV()
+ prepare: AV()
}
}
-}), { setLegendSize: _G, setLegendSettings: vG, addLegendPayload: yG, replaceLegendPayload: bG, removeLegendPayload: xG } = gG.actions, SG = gG.reducer, CG = /* @__PURE__ */ j(((e) => {
- var t = te();
+}), { setLegendSize: bG, setLegendSettings: xG, addLegendPayload: SG, replaceLegendPayload: CG, removeLegendPayload: wG } = yG.actions, TG = yG.reducer, EG = /* @__PURE__ */ M(((e) => {
+ var t = ne();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
-(/* @__PURE__ */ j(((e, t) => {
- t.exports = CG();
+(/* @__PURE__ */ M(((e, t) => {
+ t.exports = EG();
})))();
-function wG(e) {
+function DG(e) {
e();
}
-function TG() {
+function OG() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- wG(() => {
+ DG(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -49244,12 +49581,12 @@ function TG() {
}
};
}
-var EG = {
+var kG = {
notify() {},
get: () => []
};
-function DG(e, t) {
- let n, r = EG, i = 0, a = !1;
+function AG(e, t) {
+ let n, r = kG, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -49267,10 +49604,10 @@ function DG(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = TG());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = OG());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = EG);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = kG);
}
function f() {
a || (a = !0, u());
@@ -49289,44 +49626,44 @@ function DG(e, t) {
};
return m;
}
-var OG = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kG = typeof navigator < "u" && navigator.product === "ReactNative", AG = OG || kG ? I.useLayoutEffect : I.useEffect;
-function jG(e, t) {
+var jG = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, MG = typeof navigator < "u" && navigator.product === "ReactNative", NG = jG || MG ? I.useLayoutEffect : I.useEffect;
+function PG(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function MG(e, t) {
- if (jG(e, t)) return !0;
+function FG(e, t) {
+ if (PG(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !jG(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !PG(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var NG = /* @__PURE__ */ Symbol.for("react-redux-context"), PG = typeof globalThis < "u" ? globalThis : {};
-function FG() {
+var IG = /* @__PURE__ */ Symbol.for("react-redux-context"), LG = typeof globalThis < "u" ? globalThis : {};
+function RG() {
if (!I.createContext) return {};
- let e = PG[NG] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
+ let e = LG[IG] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
return t || (t = I.createContext(null), e.set(I.createContext, t)), t;
}
-var IG = /* @__PURE__ */ FG();
-function LG(e) {
+var zG = /* @__PURE__ */ RG();
+function BG(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = I.useMemo(() => {
- let e = DG(i);
+ let e = AG(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = I.useMemo(() => i.getState(), [i]);
- AG(() => {
+ NG(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || IG;
+ let s = n || zG;
return /* @__PURE__ */ I.createElement(s.Provider, { value: a }, t);
}
-var RG = LG, zG = /* @__PURE__ */ new Set([
+var VG = BG, HG = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -49349,29 +49686,29 @@ var RG = LG, zG = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function BG(e, t) {
+function UG(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function VG(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (zG.has(n)) {
+function WG(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (HG.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!MG(e[n], t[n])) return !1;
- } else if (!BG(e[n], t[n])) return !1;
+ if (!FG(e[n], t[n])) return !1;
+ } else if (!UG(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var HG = ["contextPayload"];
-function UG() {
- return UG = Object.assign ? Object.assign.bind() : function(e) {
+var GG = ["contextPayload"];
+function KG() {
+ return KG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, UG.apply(null, arguments);
+ }, KG.apply(null, arguments);
}
-function WG(e, t) {
+function qG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49381,30 +49718,30 @@ function WG(e, t) {
}
return n;
}
-function GG(e) {
+function JG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? WG(Object(n), !0).forEach(function(t) {
- KG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WG(Object(n)).forEach(function(t) {
+ t % 2 ? qG(Object(n), !0).forEach(function(t) {
+ YG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KG(e, t, n) {
- return (t = qG(t)) in e ? Object.defineProperty(e, t, {
+function YG(e, t, n) {
+ return (t = XG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qG(e) {
- var t = JG(e, "string");
+function XG(e) {
+ var t = ZG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JG(e, t) {
+function ZG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49414,16 +49751,16 @@ function JG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function YG(e, t) {
+function QG(e, t) {
if (e == null) return {};
- var n, r, i = XG(e, t);
+ var n, r, i = $G(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function XG(e, t) {
+function $G(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49432,36 +49769,36 @@ function XG(e, t) {
}
return n;
}
-function ZG(e) {
+function eK(e) {
return e.value;
}
-function QG(e) {
- var { contextPayload: t } = e, n = YG(e, HG), r = Kz(t, e.payloadUniqBy, ZG), i = GG(GG({}, n), {}, { payload: r });
- return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(zde, i);
+function tK(e) {
+ var { contextPayload: t } = e, n = QG(e, GG), r = qz(t, e.payloadUniqBy, eK), i = JG(JG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(Qde, i);
}
-function $G(e, t, n, r, i, a) {
+function nK(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), GG(GG({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), JG(JG({}, l), u);
}
-function eK(e) {
- var t = Jz();
+function rK(e) {
+ var t = Yz();
return (0, I.useEffect)(() => {
- t(vG(e));
+ t(xG(e));
}, [t, e]), null;
}
-function tK(e) {
- var t = Jz();
- return (0, I.useEffect)(() => (t(_G(e)), () => {
- t(_G({
+function iK(e) {
+ var t = Yz();
+ return (0, I.useEffect)(() => (t(bG(e)), () => {
+ t(bG({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function nK(e, t, n, r) {
+function aK(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var rK = {
+var oK = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -49469,49 +49806,49 @@ var rK = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function iK(e) {
- var t = xz(e, rK), n = Yfe(), r = Nue(), i = fW(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = aB([n]), d = uW(), f = dW();
+function sK(e) {
+ var t = Sz(e, oK), n = cpe(), r = Kue(), i = hW(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = oB([n]), d = pW(), f = mW();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = nK(t.layout, o, a, p), h = c ? s : GG(GG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = aK(t.layout, o, a, p), h = c ? s : JG(JG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, $G(s, t, i, d, f, l)), s), g = c ?? r;
+ }, nK(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ I.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ I.createElement(eK, {
+ }, /*#__PURE__*/ I.createElement(rK, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ I.createElement(tK, {
+ }), !c && /*#__PURE__*/ I.createElement(iK, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ I.createElement(QG, UG({}, t, m, {
+ }), /*#__PURE__*/ I.createElement(tK, KG({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
contextPayload: n
})));
- return /*#__PURE__*/ (0, vh.createPortal)(_, g);
+ return /*#__PURE__*/ (0, yh.createPortal)(_, g);
}
-var aK = /*#__PURE__*/ I.memo(iK, VG);
-aK.displayName = "Legend";
+var cK = /*#__PURE__*/ I.memo(sK, WG);
+cK.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function oK() {
- return oK = Object.assign ? Object.assign.bind() : function(e) {
+function lK() {
+ return lK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oK.apply(null, arguments);
+ }, lK.apply(null, arguments);
}
-function sK(e, t) {
+function uK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49521,30 +49858,30 @@ function sK(e, t) {
}
return n;
}
-function cK(e) {
+function dK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sK(Object(n), !0).forEach(function(t) {
- lK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sK(Object(n)).forEach(function(t) {
+ t % 2 ? uK(Object(n), !0).forEach(function(t) {
+ fK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lK(e, t, n) {
- return (t = uK(t)) in e ? Object.defineProperty(e, t, {
+function fK(e, t, n) {
+ return (t = pK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uK(e) {
- var t = dK(e, "string");
+function pK(e) {
+ var t = mK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dK(e, t) {
+function mK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49554,10 +49891,10 @@ function dK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fK(e) {
- return Array.isArray(e) && nz(e[0]) && nz(e[1]) ? e.join(" ~ ") : e;
+function hK(e) {
+ return Array.isArray(e) && rz(e[0]) && rz(e[1]) ? e.join(" ~ ") : e;
}
-var pK = {
+var gK = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -49575,30 +49912,30 @@ var pK = {
labelStyle: {},
accessibilityLayer: !1
};
-function mK(e, t) {
- return t == null ? e : nB(e, t);
+function _K(e, t) {
+ return t == null ? e : rB(e, t);
}
-var hK = (e) => {
- var { separator: t = pK.separator, contentStyle: n, itemStyle: r, labelStyle: i = pK.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = pK.accessibilityLayer } = e, p = () => {
+var vK = (e) => {
+ var { separator: t = gK.separator, contentStyle: n, itemStyle: r, labelStyle: i = gK.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = gK.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = mK(a, s).map((e, n) => {
+ }, n = _K(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || fK, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || hK, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = cK(cK({}, pK.itemStyle), {}, { color: e.color || pK.itemStyle.color }, r);
+ var f = dK(dK({}, gK.itemStyle), {}, { color: e.color || gK.itemStyle.color }, r);
return /*#__PURE__*/ I.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, nz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, nz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, rz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, rz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -49606,30 +49943,30 @@ var hK = (e) => {
}, n);
}
return null;
- }, m = cK(cK({}, pK.contentStyle), n), h = cK({ margin: 0 }, i), g = !cz(u), _ = g ? u : "", v = Um("recharts-default-tooltip", c), y = Um("recharts-tooltip-label", l);
+ }, m = dK(dK({}, gK.contentStyle), n), h = dK({ margin: 0 }, i), g = !lz(u), _ = g ? u : "", v = Wm("recharts-default-tooltip", c), y = Wm("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ I.createElement("div", oK({
+ return /*#__PURE__*/ I.createElement("div", lK({
className: v,
style: m
}, b), /*#__PURE__*/ I.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ I.isValidElement(_) ? _ : `${_}`), p());
-}, gK = "recharts-tooltip-wrapper", _K = { visibility: "hidden" };
-function vK(e) {
+}, yK = "recharts-tooltip-wrapper", bK = { visibility: "hidden" };
+function xK(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Um(gK, {
- [`${gK}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${gK}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${gK}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${gK}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Wm(yK, {
+ [`${yK}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${yK}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${yK}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${yK}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function yK(e) {
+function SK(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -49637,13 +49974,13 @@ function yK(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function bK(e) {
+function CK(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function xK(e) {
+function wK(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
- return s.height > 0 && s.width > 0 && n ? (d = yK({
+ return s.height > 0 && s.width > 0 && n ? (d = SK({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -49653,7 +49990,7 @@ function xK(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = yK({
+ }), f = SK({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -49663,27 +50000,27 @@ function xK(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = bK({
+ }), u = CK({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = _K, {
+ })) : u = bK, {
cssProperties: u,
- cssClasses: vK({
+ cssClasses: xK({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var SK = {
+var TK = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function CK() {
- var [e, t] = (0, I.useState)(() => SK.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function EK() {
+ var [e, t] = (0, I.useState)(() => TK.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, I.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -49697,7 +50034,7 @@ function CK() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function wK(e, t) {
+function DK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49707,30 +50044,30 @@ function wK(e, t) {
}
return n;
}
-function TK(e) {
+function OK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wK(Object(n), !0).forEach(function(t) {
- EK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wK(Object(n)).forEach(function(t) {
+ t % 2 ? DK(Object(n), !0).forEach(function(t) {
+ kK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EK(e, t, n) {
- return (t = DK(t)) in e ? Object.defineProperty(e, t, {
+function kK(e, t, n) {
+ return (t = AK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DK(e) {
- var t = OK(e, "string");
+function AK(e) {
+ var t = jK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OK(e, t) {
+function jK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49740,11 +50077,11 @@ function OK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kK(e) {
+function MK(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function AK(e) {
- var t = CK(), [n, r] = I.useState(() => ({
+function NK(e) {
+ var t = EK(), [n, r] = I.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -49764,8 +50101,8 @@ function AK(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(TK(TK({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = xK({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(OK(OK({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = wK({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -49778,7 +50115,7 @@ function AK(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = TK(TK({}, e.hasPortalFromProps ? {} : TK(TK({ transition: kK({
+ }), o = OK(OK({}, e.hasPortalFromProps ? {} : OK(OK({ transition: MK({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -49798,19 +50135,19 @@ function AK(e) {
ref: e.innerRef
}, e.children);
}
-var jK = /*#__PURE__*/ I.memo(AK), MK = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var PK = /*#__PURE__*/ I.memo(NK), FK = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function NK() {
- return NK = Object.assign ? Object.assign.bind() : function(e) {
+function IK() {
+ return IK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, NK.apply(null, arguments);
+ }, IK.apply(null, arguments);
}
-function PK(e, t) {
+function LK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49820,30 +50157,30 @@ function PK(e, t) {
}
return n;
}
-function FK(e) {
+function RK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? PK(Object(n), !0).forEach(function(t) {
- IK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PK(Object(n)).forEach(function(t) {
+ t % 2 ? LK(Object(n), !0).forEach(function(t) {
+ zK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IK(e, t, n) {
- return (t = LK(t)) in e ? Object.defineProperty(e, t, {
+function zK(e, t, n) {
+ return (t = BK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LK(e) {
- var t = RK(e, "string");
+function BK(e) {
+ var t = VK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RK(e, t) {
+function VK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49853,40 +50190,40 @@ function RK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var zK = {
- curveBasisClosed: Zue,
- curveBasisOpen: Que,
- curveBasis: Xue,
- curveBumpX: Iue,
- curveBumpY: Lue,
- curveLinearClosed: $ue,
- curveLinear: pR,
- curveMonotoneX: ede,
- curveMonotoneY: tde,
- curveNatural: nde,
- curveStep: rde,
- curveStepAfter: ade,
- curveStepBefore: ide
-}, BK = (e) => LH(e.x) && LH(e.y), VK = (e) => e.base != null && BK(e.base) && BK(e), HK = (e) => e.x, UK = (e) => e.y, WK = (e, t) => {
+var HK = {
+ curveBasisClosed: ude,
+ curveBasisOpen: dde,
+ curveBasis: lde,
+ curveBumpX: Yue,
+ curveBumpY: Xue,
+ curveLinearClosed: fde,
+ curveLinear: mR,
+ curveMonotoneX: pde,
+ curveMonotoneY: mde,
+ curveNatural: hde,
+ curveStep: gde,
+ curveStepAfter: vde,
+ curveStepBefore: _de
+}, UK = (e) => BH(e.x) && BH(e.y), WK = (e) => e.base != null && UK(e.base) && UK(e), GK = (e) => e.x, KK = (e) => e.y, qK = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${lz(e)}`;
+ var n = `curve${uz(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = zK[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = HK[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return zK[n] || pR;
-}, GK = {
+ return HK[n] || mR;
+}, JK = {
connectNulls: !1,
type: "linear"
-}, KK = (e) => {
- var { type: t = GK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = GK.connectNulls } = e, o = WK(t, i), s = a ? n.filter(BK) : n;
+}, YK = (e) => {
+ var { type: t = JK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = JK.connectNulls } = e, o = qK(t, i), s = a ? n.filter(UK) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => FK(FK({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? _R().y(UK).x1(HK).x0((e) => e.base.x) : _R().x(HK).y1(UK).y0((e) => e.base.y), c.defined(VK).curve(o)(a ? l.filter(VK) : l);
+ var c, l = n.map((e, t) => RK(RK({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? vR().y(KK).x1(GK).x0((e) => e.base.x) : vR().x(GK).y1(KK).y0((e) => e.base.y), c.defined(WK).curve(o)(a ? l.filter(WK) : l);
}
- return (i === "vertical" && Z(r) ? _R().y(UK).x1(HK).x0(r) : Z(r) ? _R().x(HK).y1(UK).y0(r) : gR().x(HK).y(UK)).defined(BK).curve(o)(s);
-}, qK = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = mW();
+ return (i === "vertical" && Z(r) ? vR().y(KK).x1(GK).x0(r) : Z(r) ? vR().x(GK).y1(KK).y0(r) : _R().x(GK).y(KK)).defined(UK).curve(o)(s);
+}, XK = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = _W();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -49894,13 +50231,13 @@ var zK = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? KK(o) : r;
- return /*#__PURE__*/ I.createElement("path", NK({}, GL(e), vz(e), {
- className: Um("recharts-curve", t),
+ }, s = n && n.length ? YK(o) : r;
+ return /*#__PURE__*/ I.createElement("path", IK({}, KL(e), yz(e), {
+ className: Wm("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, JK = [
+}, ZK = [
"x",
"y",
"top",
@@ -49909,16 +50246,16 @@ var zK = {
"height",
"className"
];
-function YK() {
- return YK = Object.assign ? Object.assign.bind() : function(e) {
+function QK() {
+ return QK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, YK.apply(null, arguments);
+ }, QK.apply(null, arguments);
}
-function XK(e, t) {
+function $K(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49928,30 +50265,30 @@ function XK(e, t) {
}
return n;
}
-function ZK(e) {
+function eq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? XK(Object(n), !0).forEach(function(t) {
- QK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XK(Object(n)).forEach(function(t) {
+ t % 2 ? $K(Object(n), !0).forEach(function(t) {
+ tq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $K(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QK(e, t, n) {
- return (t = $K(t)) in e ? Object.defineProperty(e, t, {
+function tq(e, t, n) {
+ return (t = nq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $K(e) {
- var t = eq(e, "string");
+function nq(e) {
+ var t = rq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eq(e, t) {
+function rq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49961,16 +50298,16 @@ function eq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function tq(e, t) {
+function iq(e, t) {
if (e == null) return {};
- var n, r, i = nq(e, t);
+ var n, r, i = aq(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nq(e, t) {
+function aq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49979,8 +50316,8 @@ function nq(e, t) {
}
return n;
}
-var rq = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, iq = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = tq(e, JK), l = ZK({
+var oq = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, sq = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = iq(e, ZK), l = eq({
x: t,
y: n,
top: r,
@@ -49988,14 +50325,14 @@ var rq = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, iq = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", YK({}, qL(l), {
- className: Um("recharts-cross", s),
- d: rq(t, n, a, o, r, i)
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", QK({}, JL(l), {
+ className: Wm("recharts-cross", s),
+ d: oq(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function aq(e, t, n, r) {
+function cq(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -50008,7 +50345,7 @@ function aq(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function oq(e, t) {
+function lq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50018,30 +50355,30 @@ function oq(e, t) {
}
return n;
}
-function sq(e) {
+function uq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? oq(Object(n), !0).forEach(function(t) {
- cq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oq(Object(n)).forEach(function(t) {
+ t % 2 ? lq(Object(n), !0).forEach(function(t) {
+ dq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cq(e, t, n) {
- return (t = lq(t)) in e ? Object.defineProperty(e, t, {
+function dq(e, t, n) {
+ return (t = fq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lq(e) {
- var t = uq(e, "string");
+function fq(e) {
+ var t = pq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uq(e, t) {
+function pq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50051,10 +50388,10 @@ function uq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var dq = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), fq = (e, t, n) => e.map((e) => `${dq(e)} ${t}ms ${n}`).join(","), pq = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), mq = (e, t) => Object.keys(t).reduce((n, r) => sq(sq({}, n), {}, { [r]: e(r, t[r]) }), {});
+var mq = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), hq = (e, t, n) => e.map((e) => `${mq(e)} ${t}ms ${n}`).join(","), gq = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), _q = (e, t) => Object.keys(t).reduce((n, r) => uq(uq({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function hq(e, t) {
+function vq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50064,30 +50401,30 @@ function hq(e, t) {
}
return n;
}
-function gq(e) {
+function yq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? hq(Object(n), !0).forEach(function(t) {
- _q(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hq(Object(n)).forEach(function(t) {
+ t % 2 ? vq(Object(n), !0).forEach(function(t) {
+ bq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _q(e, t, n) {
- return (t = vq(t)) in e ? Object.defineProperty(e, t, {
+function bq(e, t, n) {
+ return (t = xq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vq(e) {
- var t = yq(e, "string");
+function xq(e) {
+ var t = Sq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yq(e, t) {
+function Sq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50097,51 +50434,51 @@ function yq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bq = (e, t, n) => e + (t - e) * n, xq = (e) => {
+var Cq = (e, t, n) => e + (t - e) * n, wq = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, Sq = (e, t, n) => {
- var r = mq((t, n) => {
- if (xq(n)) {
+}, Tq = (e, t, n) => {
+ var r = _q((t, n) => {
+ if (wq(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return gq(gq({}, n), {}, {
+ return yq(yq({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? mq((e, t) => xq(t) && r[e] != null ? gq(gq({}, t), {}, {
- velocity: bq(t.velocity, r[e].velocity, n),
- from: bq(t.from, r[e].from, n)
- }) : t, t) : Sq(e, r, n - 1);
+ return n < 1 ? _q((e, t) => wq(t) && r[e] != null ? yq(yq({}, t), {}, {
+ velocity: Cq(t.velocity, r[e].velocity, n),
+ from: Cq(t.from, r[e].from, n)
+ }) : t, t) : Tq(e, r, n - 1);
};
-function Cq(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => gq(gq({}, n), {}, { [r]: {
+function Eq(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => yq(yq({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => mq((e, t) => t.from, s), l = () => !Object.values(s).filter(xq).length, u = null, d = (r) => {
+ } }), {}), c = () => _q((e, t) => t.from, s), l = () => !Object.values(s).filter(wq).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = Sq(n, s, f), i(gq(gq(gq({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = Tq(n, s, f), i(yq(yq(yq({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function wq(e, t, n, r, i, a, o) {
+function Dq(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
- return i == null || a == null ? n : gq(gq({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : yq(yq({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = mq((e, t) => bq(...t, n(d)), c);
- if (a(gq(gq(gq({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = _q((e, t) => Cq(...t, n(d)), c);
+ if (a(yq(yq(yq({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = mq((e, t) => bq(...t, n(1)), c);
- a(gq(gq(gq({}, e), t), p));
+ var p = _q((e, t) => Cq(...t, n(1)), c);
+ a(yq(yq(yq({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -50149,15 +50486,15 @@ function wq(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var Tq = (e, t, n, r, i, a) => {
- var o = pq(e, t);
- return n == null ? () => (i(gq(gq({}, e), t)), () => {}) : n.isStepper === !0 ? Cq(e, t, n, o, i, a) : wq(e, t, n, r, o, i, a);
-}, Eq = (e, t) => [
+var Oq = (e, t, n, r, i, a) => {
+ var o = gq(e, t);
+ return n == null ? () => (i(yq(yq({}, e), t)), () => {}) : n.isStepper === !0 ? Eq(e, t, n, o, i, a) : Dq(e, t, n, r, o, i, a);
+}, kq = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], Dq = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), Oq = (e, t) => (n) => Dq(Eq(e, t), n), kq = (e, t) => (n) => Dq([...Eq(e, t).map((e, t) => e * t).slice(1), 0], n), Aq = (e) => {
+], Aq = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), jq = (e, t) => (n) => Aq(kq(e, t), n), Mq = (e, t) => (n) => Aq([...kq(e, t).map((e, t) => e * t).slice(1), 0], n), Nq = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -50169,7 +50506,7 @@ var Tq = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, jq = function() {
+}, Pq = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -50203,7 +50540,7 @@ var Tq = (e, t, n, r, i, a) => {
1
];
default:
- var t = Aq(e[0]);
+ var t = Nq(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -50212,8 +50549,8 @@ var Tq = (e, t, n, r, i, a) => {
1,
1
];
-}, Mq = (e, t, n, r) => {
- var i = Oq(e, n), a = Oq(t, r), o = kq(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, Fq = (e, t, n, r) => {
+ var i = jq(e, n), a = jq(t, r), o = Mq(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -50222,29 +50559,29 @@ var Tq = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, Nq = function() {
- return Mq(...jq(...arguments));
-}, Pq = function() {
+}, Iq = function() {
+ return Fq(...Pq(...arguments));
+}, Lq = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, Fq = (e) => {
+}, Rq = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return Nq(e);
- case "spring": return Pq();
- default: if (e.split("(")[0] === "cubic-bezier") return Nq(e);
+ case "linear": return Iq(e);
+ case "spring": return Lq();
+ default: if (e.split("(")[0] === "cubic-bezier") return Iq(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function Iq(e) {
+function zq(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -50275,7 +50612,7 @@ function Iq(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var Lq = class {
+var Bq = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -50287,14 +50624,14 @@ var Lq = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function Rq() {
- return Iq(new Lq());
+function Vq() {
+ return zq(new Bq());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var zq = /*#__PURE__*/ (0, I.createContext)(Rq);
-function Bq(e, t) {
- var n = (0, I.useContext)(zq);
+var Hq = /*#__PURE__*/ (0, I.createContext)(Vq);
+function Uq(e, t) {
+ var n = (0, I.useContext)(Hq);
return (0, I.useMemo)(() => t ?? n(e), [
e,
t,
@@ -50303,7 +50640,7 @@ function Bq(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var Vq = {
+var Wq = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -50311,14 +50648,14 @@ var Vq = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, Hq = { t: 0 }, Uq = { t: 1 };
-function Wq(e) {
- var t = xz(e, Vq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = CK(), d = n === "auto" ? !SK.isSsr && !u : n, f = Bq(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? Hq : Uq), h = (0, I.useRef)(null);
+}, Gq = { t: 0 }, Kq = { t: 1 };
+function qq(e) {
+ var t = Sz(e, Wq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = EK(), d = n === "auto" ? !TK.isSsr && !u : n, f = Uq(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? Gq : Kq), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
- d || m(Uq);
+ d || m(Kq);
}, [d]), (0, I.useEffect)(() => {
- if (!d || !r) return dz;
- var e = Tq(Hq, Uq, Fq(a), i, m, f.getTimeoutController());
+ if (!d || !r) return fz;
+ var e = Oq(Gq, Kq, Rq(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -50343,14 +50680,14 @@ function Wq(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function Gq(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(rz(t)), r = (0, I.useRef)(e);
- return r.current !== e && (n.current = rz(t), r.current = e), n.current;
+function Jq(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(iz(t)), r = (0, I.useRef)(e);
+ return r.current !== e && (n.current = iz(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var Kq = ["radius"], qq = ["radius"], Jq, Yq, Xq, Zq, Qq, $q, eJ, tJ, nJ, rJ;
-function iJ(e, t) {
+var Yq = ["radius"], Xq = ["radius"], Zq, Qq, $q, eJ, tJ, nJ, rJ, iJ, aJ, oJ;
+function sJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50360,30 +50697,30 @@ function iJ(e, t) {
}
return n;
}
-function aJ(e) {
+function cJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iJ(Object(n), !0).forEach(function(t) {
- oJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iJ(Object(n)).forEach(function(t) {
+ t % 2 ? sJ(Object(n), !0).forEach(function(t) {
+ lJ(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oJ(e, t, n) {
- return (t = sJ(t)) in e ? Object.defineProperty(e, t, {
+function lJ(e, t, n) {
+ return (t = uJ(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sJ(e) {
- var t = cJ(e, "string");
+function uJ(e) {
+ var t = dJ(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cJ(e, t) {
+function dJ(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50393,25 +50730,25 @@ function cJ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function lJ() {
- return lJ = Object.assign ? Object.assign.bind() : function(e) {
+function fJ() {
+ return fJ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, lJ.apply(null, arguments);
+ }, fJ.apply(null, arguments);
}
-function uJ(e, t) {
+function pJ(e, t) {
if (e == null) return {};
- var n, r, i = dJ(e, t);
+ var n, r, i = mJ(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function dJ(e, t) {
+function mJ(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50420,11 +50757,11 @@ function dJ(e, t) {
}
return n;
}
-function fJ(e, t) {
+function hJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var pJ = (e, t, n, r, i) => {
- var a = ZR(n), o = ZR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var gJ = (e, t, n, r, i) => {
+ var a = QR(n), o = QR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -50435,44 +50772,44 @@ var pJ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = QR(Jq ||= fJ([
+ d = $R(Zq ||= hJ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += QR(Yq ||= fJ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += $R(Qq ||= hJ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += QR(Xq ||= fJ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += $R($q ||= hJ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += QR(Zq ||= fJ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += $R(eJ ||= hJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += QR(Qq ||= fJ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += $R(tJ ||= hJ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += QR($q ||= fJ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += $R(nJ ||= hJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += QR(eJ ||= fJ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += $R(rJ ||= hJ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += QR(tJ ||= fJ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += $R(iJ ||= hJ([
"A ",
",",
",0,0,",
@@ -50482,8 +50819,8 @@ var pJ = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = QR(nJ ||= fJ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = QR(rJ ||= fJ([
+ d = $R(aJ ||= hJ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = $R(oJ ||= hJ([
"M ",
",",
" h ",
@@ -50492,7 +50829,7 @@ var pJ = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, mJ = {
+}, _J = {
x: 0,
y: 0,
width: 0,
@@ -50503,15 +50840,15 @@ var pJ = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, hJ = (e) => {
- var t = xz(e, mJ), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
+}, vJ = (e) => {
+ var t = Sz(e, _J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
(0, I.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, I.useRef)(s), _ = (0, I.useRef)(c), v = (0, I.useRef)(a), y = (0, I.useRef)(o), b = Gq((0, I.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, I.useRef)(s), _ = (0, I.useRef)(c), v = (0, I.useRef)(a), y = (0, I.useRef)(o), b = Jq((0, I.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -50525,21 +50862,21 @@ var pJ = (e, t, n, r, i) => {
l
]), "rectangle-");
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
- var x = Um("recharts-rectangle", u);
+ var x = Wm("recharts-rectangle", u);
if (!h) {
- var S = qL(t), { radius: C } = S, w = uJ(S, Kq);
- return /*#__PURE__*/ I.createElement("path", lJ({}, w, {
- x: ZR(a),
- y: ZR(o),
- width: ZR(s),
- height: ZR(c),
+ var S = JL(t), { radius: C } = S, w = pJ(S, Yq);
+ return /*#__PURE__*/ I.createElement("path", fJ({}, w, {
+ x: QR(a),
+ y: QR(o),
+ width: QR(s),
+ height: QR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: pJ(a, o, s, c, l)
+ d: gJ(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = fq(["strokeDasharray"], f, typeof d == "string" ? d : mJ.animationEasing);
- return /*#__PURE__*/ I.createElement(Wq, {
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = hq(["strokeDasharray"], f, typeof d == "string" ? d : _J.animationEasing);
+ return /*#__PURE__*/ I.createElement(qq, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -50548,24 +50885,24 @@ var pJ = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = oz(T, s, e), i = oz(E, c, e), u = oz(D, a, e), d = oz(O, o, e);
+ var r = sz(T, s, e), i = sz(E, c, e), u = sz(D, a, e), d = sz(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = qL(t), { radius: h } = p, b = uJ(p, qq);
- return /*#__PURE__*/ I.createElement("path", lJ({}, b, {
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = JL(t), { radius: h } = p, b = pJ(p, Xq);
+ return /*#__PURE__*/ I.createElement("path", fJ({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: pJ(u, d, r, i, l),
+ d: gJ(u, d, r, i, l),
ref: n,
- style: aJ(aJ({}, f), t.style)
+ style: cJ(cJ({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function gJ(e, t) {
+function yJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50575,30 +50912,30 @@ function gJ(e, t) {
}
return n;
}
-function _J(e) {
+function bJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? gJ(Object(n), !0).forEach(function(t) {
- vJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gJ(Object(n)).forEach(function(t) {
+ t % 2 ? yJ(Object(n), !0).forEach(function(t) {
+ xJ(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vJ(e, t, n) {
- return (t = yJ(t)) in e ? Object.defineProperty(e, t, {
+function xJ(e, t, n) {
+ return (t = SJ(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yJ(e) {
- var t = bJ(e, "string");
+function SJ(e) {
+ var t = CJ(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bJ(e, t) {
+function CJ(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50608,10 +50945,10 @@ function bJ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var xJ = Math.PI / 180, SJ = (e) => e * Math.PI / 180, CJ = (e) => e * 180 / Math.PI, wJ = (e, t, n, r) => ({
- x: e + Math.cos(-xJ * r) * n,
- y: t + Math.sin(-xJ * r) * n
-}), TJ = function(e, t) {
+var wJ = Math.PI / 180, TJ = (e) => e * Math.PI / 180, EJ = (e) => e * 180 / Math.PI, DJ = (e, t, n, r) => ({
+ x: e + Math.cos(-wJ * r) * n,
+ y: t + Math.sin(-wJ * r) * n
+}), OJ = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -50622,11 +50959,11 @@ var xJ = Math.PI / 180, SJ = (e) => e * Math.PI / 180, CJ = (e) => e * 180 / Mat
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, EJ = (e, t) => {
+}, kJ = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, DJ = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = EJ({
+}, AJ = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = kJ({
x: n,
y: r
}, {
@@ -50640,25 +50977,25 @@ var xJ = Math.PI / 180, SJ = (e) => e * Math.PI / 180, CJ = (e) => e * 180 / Mat
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: CJ(c),
+ angle: EJ(c),
angleInRadian: c
};
-}, OJ = (e) => {
+}, jJ = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, kJ = (e, t) => {
+}, MJ = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, AJ = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = DJ({
+}, NJ = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = AJ({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = OJ(t), u = a, d;
+ var { startAngle: c, endAngle: l } = jJ(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -50668,17 +51005,17 @@ var xJ = Math.PI / 180, SJ = (e) => e * Math.PI / 180, CJ = (e) => e * 180 / Mat
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? _J(_J({}, t), {}, {
+ return d ? bJ(bJ({}, t), {}, {
radius: i,
- angle: kJ(u, t)
+ angle: MJ(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function jJ(e) {
+function PJ(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [wJ(t, n, r, i), wJ(t, n, r, a)],
+ points: [DJ(t, n, r, i), DJ(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -50688,29 +51025,29 @@ function jJ(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var MJ, NJ, PJ, FJ, IJ, LJ, RJ;
-function zJ() {
- return zJ = Object.assign ? Object.assign.bind() : function(e) {
+var FJ, IJ, LJ, RJ, zJ, BJ, VJ;
+function HJ() {
+ return HJ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, zJ.apply(null, arguments);
+ }, HJ.apply(null, arguments);
}
-function BJ(e, t) {
+function UJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
- var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / xJ, d = c ? i : i + a * u, f = wJ(t, n, l, d), p = wJ(t, n, r, d), m = c ? i - a * u : i;
+var WJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), GJ = (e) => {
+ var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / wJ, d = c ? i : i + a * u, f = DJ(t, n, l, d), p = DJ(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: wJ(t, n, l * Math.cos(u * xJ), m),
+ lineTangency: DJ(t, n, l * Math.cos(u * wJ), m),
theta: u
};
-}, UJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = VJ(a, o), c = a + s, l = wJ(t, n, i, a), u = wJ(t, n, i, c), d = QR(MJ ||= BJ([
+}, KJ = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = WJ(a, o), c = a + s, l = DJ(t, n, i, a), u = DJ(t, n, i, c), d = $R(FJ ||= UJ([
"M ",
",",
"\n A ",
@@ -50722,8 +51059,8 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = wJ(t, n, r, a), p = wJ(t, n, r, c);
- d += QR(NJ ||= BJ([
+ var f = DJ(t, n, r, a), p = DJ(t, n, r, c);
+ d += $R(IJ ||= UJ([
"L ",
",",
"\n A ",
@@ -50734,14 +51071,14 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += QR(PJ ||= BJ([
+ } else d += $R(LJ ||= UJ([
"L ",
",",
" Z"
]), t, n);
return d;
-}, WJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = $R(l - c), { circleTangency: d, lineTangency: f, theta: p } = HJ({
+}, qJ = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = ez(l - c), { circleTangency: d, lineTangency: f, theta: p } = GJ({
cx: t,
cy: n,
radius: i,
@@ -50749,7 +51086,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = HJ({
+ }), { circleTangency: m, lineTangency: h, theta: g } = GJ({
cx: t,
cy: n,
radius: i,
@@ -50758,7 +51095,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? QR(FJ ||= BJ([
+ if (_ < 0) return o ? $R(RJ ||= UJ([
"M ",
",",
"\n a",
@@ -50768,7 +51105,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : UJ({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : KJ({
cx: t,
cy: n,
innerRadius: r,
@@ -50776,7 +51113,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
startAngle: c,
endAngle: l
});
- var v = QR(IJ ||= BJ([
+ var v = $R(zJ ||= UJ([
"M ",
",",
"\n A",
@@ -50798,7 +51135,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = HJ({
+ var { circleTangency: y, lineTangency: b, theta: x } = GJ({
cx: t,
cy: n,
radius: r,
@@ -50807,7 +51144,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = HJ({
+ }), { circleTangency: S, lineTangency: C, theta: w } = GJ({
cx: t,
cy: n,
radius: r,
@@ -50818,7 +51155,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += QR(LJ ||= BJ([
+ v += $R(BJ ||= UJ([
"L",
",",
"\n A",
@@ -50839,13 +51176,13 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += QR(RJ ||= BJ([
+ } else v += $R(VJ ||= UJ([
"L",
",",
"Z"
]), t, n);
return v;
-}, GJ = {
+}, JJ = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -50855,10 +51192,10 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, KJ = (e) => {
- var t = xz(e, GJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, YJ = (e) => {
+ var t = Sz(e, JJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Um("recharts-sector", d), p = a - i, m = iz(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? WJ({
+ var f = Wm("recharts-sector", d), p = a - i, m = az(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? qJ({
cx: n,
cy: r,
innerRadius: i,
@@ -50868,7 +51205,7 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : UJ({
+ }) : KJ({
cx: n,
cy: r,
innerRadius: i,
@@ -50876,14 +51213,14 @@ var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ I.createElement("path", zJ({}, qL(t), {
+ return /*#__PURE__*/ I.createElement("path", HJ({}, JL(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function qJ(e, t, n) {
+function XJ(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -50898,9 +51235,9 @@ function qJ(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (_z(t)) {
+ if (vz(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = wJ(r, i, a, s), l = wJ(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = DJ(r, i, a, s), l = DJ(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -50909,30 +51246,30 @@ function qJ(e, t, n) {
y: l.y
}];
}
- return jJ(t);
+ return PJ(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function JJ(e) {
- return qR(e) ? NaN : Number(e);
+function ZJ(e) {
+ return JR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function YJ(e) {
- return e ? (e = JJ(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function QJ(e) {
+ return e ? (e = ZJ(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function XJ(e, t, n) {
- n && typeof n != "number" && eB(e, t, n) && (t = n = void 0), e = YJ(e), t === void 0 ? (t = e, e = 0) : t = YJ(t), n = n === void 0 ? e < t ? 1 : -1 : YJ(n);
+function $J(e, t, n) {
+ n && typeof n != "number" && tB(e, t, n) && (t = n = void 0), e = QJ(e), t === void 0 ? (t = e, e = 0) : t = QJ(t), n = n === void 0 ? e < t ? 1 : -1 : QJ(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var ZJ = (e) => e.chartData, QJ = $([ZJ], (e) => {
+var eY = (e) => e.chartData, tY = $([eY], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -50940,35 +51277,35 @@ var ZJ = (e) => e.chartData, QJ = $([ZJ], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), $J = (e, t, n, r) => r ? QJ(e) : ZJ(e), eY = (e, t, n) => n ? QJ(e) : ZJ(e);
+}), nY = (e, t, n, r) => r ? tY(e) : eY(e), rY = (e, t, n) => n ? tY(e) : eY(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function tY(e) {
+function iY(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (LH(t) && LH(n)) return !0;
+ if (BH(t) && BH(n)) return !0;
}
return !1;
}
-function nY(e, t, n) {
+function aY(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function rY(e, t) {
+function oY(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (LH(n)) i = n;
+ if (BH(n)) i = n;
else if (typeof n == "function") return;
- if (LH(r)) a = r;
+ if (BH(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (tY(o)) return o;
+ if (iY(o)) return o;
}
}
-function iY(e, t, n) {
+function sY(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (tY(r)) return nY(r, t, n);
+ if (iY(r)) return aY(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -50977,8 +51314,8 @@ function iY(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && aU.test(i)) {
- var c = aU.exec(i);
+ else if (typeof i == "string" && cU.test(i)) {
+ var c = cU.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -50990,8 +51327,8 @@ function iY(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && oU.test(a)) {
- var u = oU.exec(a);
+ else if (typeof a == "string" && lU.test(a)) {
+ var u = lU.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -50999,13 +51336,13 @@ function iY(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (tY(f)) return t == null ? f : nY(f, t, n);
+ if (iY(f)) return t == null ? f : aY(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var aY = /* @__PURE__ */ P((/* @__PURE__ */ j(((e, t) => {
+var cY = /* @__PURE__ */ te((/* @__PURE__ */ M(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -51381,75 +51718,75 @@ var aY = /* @__PURE__ */ P((/* @__PURE__ */ j(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function oY(e) {
- return e === 0 ? 1 : Math.floor(new aY.default(e).abs().log(10).toNumber()) + 1;
+function lY(e) {
+ return e === 0 ? 1 : Math.floor(new cY.default(e).abs().log(10).toNumber()) + 1;
}
-function sY(e, t, n) {
- for (var r = new aY.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function uY(e, t, n) {
+ for (var r = new cY.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-var cY = (e) => {
+var dY = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
-}, lY = (e, t, n) => {
- if (e.lte(0)) return new aY.default(0);
- var r = oY(e.toNumber()), i = new aY.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new aY.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new aY.default(s.toNumber()) : new aY.default(Math.ceil(s.toNumber()));
-}, uY = (e, t, n) => {
- if (e.lte(0)) return new aY.default(0);
+}, fY = (e, t, n) => {
+ if (e.lte(0)) return new cY.default(0);
+ var r = lY(e.toNumber()), i = new cY.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new cY.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new cY.default(s.toNumber()) : new cY.default(Math.ceil(s.toNumber()));
+}, pY = (e, t, n) => {
+ if (e.lte(0)) return new cY.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new aY.default(i).abs().log(10).toNumber()), o = new aY.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new cY.default(i).abs().log(10).toNumber()), o = new cY.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new aY.default(10).pow(l));
+ c %= r.length, o = o.mul(new cY.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new aY.default(u).mul(o);
- return t ? d : new aY.default(Math.ceil(d.toNumber()));
-}, dY = (e, t, n) => {
- var r = new aY.default(1), i = new aY.default(e);
+ var u = r[c] ?? 1, d = new cY.default(u).mul(o);
+ return t ? d : new cY.default(Math.ceil(d.toNumber()));
+}, mY = (e, t, n) => {
+ var r = new cY.default(1), i = new cY.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new aY.default(10).pow(oY(e) - 1), i = new aY.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new aY.default(Math.floor(e)));
- } else e === 0 ? i = new aY.default(Math.floor((t - 1) / 2)) : n || (i = new aY.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new aY.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new cY.default(10).pow(lY(e) - 1), i = new cY.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new cY.default(Math.floor(e)));
+ } else e === 0 ? i = new cY.default(Math.floor((t - 1) / 2)) : n || (i = new cY.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new cY.default(c - o).mul(r)).toNumber());
return s;
-}, fY = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : lY;
+}, hY = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : fY;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new aY.default(0),
- tickMin: new aY.default(0),
- tickMax: new aY.default(0)
+ step: new cY.default(0),
+ tickMin: new cY.default(0),
+ tickMax: new cY.default(0)
};
- var o = a(new aY.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new aY.default(0) : (s = new aY.default(e).add(t).div(2), s = s.sub(new aY.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new aY.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? fY(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ var o = a(new cY.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new cY.default(0) : (s = new cY.default(e).add(t).div(2), s = s.sub(new cY.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new cY.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? hY(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new aY.default(c).mul(o)),
- tickMax: s.add(new aY.default(l).mul(o))
+ tickMin: s.sub(new cY.default(c).mul(o)),
+ tickMax: s.add(new cY.default(l).mul(o))
});
-}, pY = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = cY([t, n]);
+}, gY = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = dY([t, n]);
if (s === -Infinity || c === Infinity) {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return dY(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = fY(s, c, o, i, 0, a === "snap125" ? uY : lY), p = sY(d, f.add(new aY.default(.1).mul(u)), u);
+ if (s === c) return mY(s, r, i);
+ var { step: u, tickMin: d, tickMax: f } = hY(s, c, o, i, 0, a === "snap125" ? pY : fY), p = uY(d, f.add(new cY.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, mY = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = cY([n, r]);
+}, _Y = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = dY([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? uY : lY, l = Math.max(t, 2), u = c(new aY.default(s).sub(o).div(l - 1), i, 0), d = [...sY(new aY.default(o), new aY.default(s), u), s];
+ var c = a === "snap125" ? pY : fY, l = Math.max(t, 2), u = c(new cY.default(s).sub(o).div(l - 1), i, 0), d = [...uY(new cY.default(o), new cY.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, hY = (e) => e.rootProps.maxBarSize, gY = (e) => e.rootProps.barGap, _Y = (e) => e.rootProps.barCategoryGap, vY = (e) => e.rootProps.barSize, yY = (e) => e.rootProps.stackOffset, bY = (e) => e.rootProps.reverseStackOrder, xY = (e) => e.options.chartName, SY = (e) => e.rootProps.syncId, CY = (e) => e.rootProps.syncMethod, wY = (e) => e.options.eventEmitter, TY = (e) => e.rootProps.baseValue, EY = {
+}, vY = (e) => e.rootProps.maxBarSize, yY = (e) => e.rootProps.barGap, bY = (e) => e.rootProps.barCategoryGap, xY = (e) => e.rootProps.barSize, SY = (e) => e.rootProps.stackOffset, CY = (e) => e.rootProps.reverseStackOrder, wY = (e) => e.options.chartName, TY = (e) => e.rootProps.syncId, EY = (e) => e.rootProps.syncMethod, DY = (e) => e.options.eventEmitter, OY = (e) => e.rootProps.baseValue, kY = {
grid: -100,
barBackground: -50,
area: 100,
@@ -51462,7 +51799,7 @@ var cY = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, DY = {
+}, AY = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -51483,8 +51820,8 @@ var cY = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: EY.axis
-}, OY = {
+ zIndex: kY.axis
+}, jY = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -51503,19 +51840,19 @@ var cY = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: EY.axis
-}, kY = (e, t) => {
+ zIndex: kY.axis
+}, MY = (e, t) => {
if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function AY(e, t, n) {
+function NY(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return KH(e, t) ? "category" : "number";
+ if (e != null) return YH(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function jY(e, t) {
+function PY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51525,30 +51862,30 @@ function jY(e, t) {
}
return n;
}
-function MY(e) {
+function FY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jY(Object(n), !0).forEach(function(t) {
- NY(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jY(Object(n)).forEach(function(t) {
+ t % 2 ? PY(Object(n), !0).forEach(function(t) {
+ IY(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NY(e, t, n) {
- return (t = PY(t)) in e ? Object.defineProperty(e, t, {
+function IY(e, t, n) {
+ return (t = LY(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PY(e) {
- var t = FY(e, "string");
+function LY(e) {
+ var t = RY(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FY(e, t) {
+function RY(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51558,81 +51895,81 @@ function FY(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var IY = {
- allowDataOverflow: DY.allowDataOverflow,
- allowDecimals: DY.allowDecimals,
+var zY = {
+ allowDataOverflow: AY.allowDataOverflow,
+ allowDecimals: AY.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: DY.angleAxisId,
+ id: AY.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: DY.reversed,
- scale: DY.scale,
- tick: DY.tick,
+ reversed: AY.reversed,
+ scale: AY.scale,
+ tick: AY.tick,
tickCount: void 0,
ticks: void 0,
- type: DY.type,
+ type: AY.type,
unit: void 0,
niceTicks: "auto"
-}, LY = {
- allowDataOverflow: OY.allowDataOverflow,
- allowDecimals: OY.allowDecimals,
- allowDuplicatedCategory: OY.allowDuplicatedCategory,
+}, BY = {
+ allowDataOverflow: jY.allowDataOverflow,
+ allowDecimals: jY.allowDecimals,
+ allowDuplicatedCategory: jY.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: OY.radiusAxisId,
- includeHidden: OY.includeHidden,
+ id: jY.radiusAxisId,
+ includeHidden: jY.includeHidden,
name: void 0,
- reversed: OY.reversed,
- scale: OY.scale,
- tick: OY.tick,
- tickCount: OY.tickCount,
+ reversed: jY.reversed,
+ scale: jY.scale,
+ tick: jY.tick,
+ tickCount: jY.tickCount,
ticks: void 0,
- type: OY.type,
+ type: jY.type,
unit: void 0,
niceTicks: "auto"
-}, RY = $([(e, t) => {
+}, VY = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, gW], (e, t) => {
+}, yW], (e, t) => {
if (e != null) return e;
- var n = AY(t, "angleAxis", IY.type) ?? "category";
- return MY(MY({}, IY), {}, { type: n });
-}), zY = $([(e, t) => e.polarAxis.radiusAxis[t], gW], (e, t) => {
+ var n = NY(t, "angleAxis", zY.type) ?? "category";
+ return FY(FY({}, zY), {}, { type: n });
+}), HY = $([(e, t) => e.polarAxis.radiusAxis[t], yW], (e, t) => {
if (e != null) return e;
- var n = AY(t, "radiusAxis", LY.type) ?? "category";
- return MY(MY({}, LY), {}, { type: n });
-}), BY = (e) => e.polarOptions, VY = $([
- fU,
- pU,
- kU
-], TJ), HY = $([BY, VY], (e, t) => {
- if (e != null) return iz(e.innerRadius, t, 0);
-}), UY = $([BY, VY], (e, t) => {
- if (e != null) return iz(e.outerRadius, t, t * .8);
-}), WY = $([BY], (e) => {
+ var n = NY(t, "radiusAxis", BY.type) ?? "category";
+ return FY(FY({}, BY), {}, { type: n });
+}), UY = (e) => e.polarOptions, WY = $([
+ hU,
+ gU,
+ MU
+], OJ), GY = $([UY, WY], (e, t) => {
+ if (e != null) return az(e.innerRadius, t, 0);
+}), KY = $([UY, WY], (e, t) => {
+ if (e != null) return az(e.outerRadius, t, t * .8);
+}), qY = $([UY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), GY = $([RY, WY], kY), KY = $([
- VY,
- HY,
- UY
+}), JY = $([VY, qY], MY), YY = $([
+ WY,
+ GY,
+ KY
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), qY = $([zY, KY], kY), JY = $([
- pW,
- BY,
- HY,
+}), XY = $([HY, YY], MY), ZY = $([
+ gW,
UY,
- fU,
- pU
+ GY,
+ KY,
+ hU,
+ gU
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: iz(o, i, i / 2),
- cy: iz(s, a, a / 2),
+ cx: az(o, i, i / 2),
+ cy: az(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -51640,22 +51977,22 @@ var IY = {
clockWise: !1
};
}
-}), YY = (e, t) => t, XY = (e, t, n) => n;
+}), QY = (e, t) => t, $Y = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function ZY(e) {
+function eX(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function QY(e, t, n) {
+function tX(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = ZY(e);
+ var n = eX(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(WH(t, a, null)), c = WH(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(qH(t, a, null)), c = qH(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -51663,18 +52000,18 @@ function QY(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function $Y(e) {
+function nX(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var eX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var rX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function tX(e, t) {
+function iX(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function nX(e, t) {
+function aX(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -51683,13 +52020,13 @@ function nX(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var rX = (e) => {
- var t = pW(e);
+var oX = (e) => {
+ var t = gW(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, iX = (e) => e.tooltip.settings.axisId;
+}, sX = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function aX(e) {
+function cX(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -51730,13 +52067,13 @@ function aX(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var oX = (e, t) => {
+var lX = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!tY(t)) {
+ if (!iY(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- LH(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ BH(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -51746,14 +52083,14 @@ var oX = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function sX(e, t) {
+function uX(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function cX(e) {
+function dX(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = lX(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = fX(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -51779,15 +52116,15 @@ function cX(e) {
right: i
};
}
-function lX(e) {
- return (t, n) => sX(e(t), n);
+function fX(e) {
+ return (t, n) => uX(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function uX(e) {
+function pX(e) {
return e === null ? NaN : +e;
}
-function* dX(e, t) {
+function* mX(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -51796,52 +52133,52 @@ function* dX(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var fX = cX(sX), pX = fX.right;
-fX.left, cX(uX).center;
+var hX = dX(uX), gX = hX.right;
+hX.left, dX(pX).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var mX = class extends Map {
- constructor(e, t = vX) {
+var _X = class extends Map {
+ constructor(e, t = xX) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(hX(this, e));
+ return super.get(vX(this, e));
}
has(e) {
- return super.has(hX(this, e));
+ return super.has(vX(this, e));
}
set(e, t) {
- return super.set(gX(this, e), t);
+ return super.set(yX(this, e), t);
}
delete(e) {
- return super.delete(_X(this, e));
+ return super.delete(bX(this, e));
}
};
-function hX({ _intern: e, _key: t }, n) {
+function vX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function gX({ _intern: e, _key: t }, n) {
+function yX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function _X({ _intern: e, _key: t }, n) {
+function bX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function vX(e) {
+function xX(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var yX = Math.sqrt(50), bX = Math.sqrt(10), xX = Math.sqrt(2);
-function SX(e, t, n) {
+var SX = Math.sqrt(50), CX = Math.sqrt(10), wX = Math.sqrt(2);
+function TX(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = CX(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = EX(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -51852,17 +52189,17 @@ function SX(e, t, n) {
}
return r && o.reverse(), o;
}
-function CX(e, t, n) {
+function EX(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= yX ? 10 : a >= bX ? 5 : a >= xX ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= yX ? 10 : a >= bX ? 5 : a >= xX ? 2 : 1);
+ return i >= 0 ? (a >= SX ? 10 : a >= CX ? 5 : a >= wX ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= SX ? 10 : a >= CX ? 5 : a >= wX ? 2 : 1);
}
-function wX(e, t, n) {
+function DX(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= yX ? i *= 10 : a >= bX ? i *= 5 : a >= xX && (i *= 2), t < e ? -i : i;
+ return a >= SX ? i *= 10 : a >= CX ? i *= 5 : a >= wX && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function TX(e, t) {
+function OX(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -51873,7 +52210,7 @@ function TX(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function EX(e, t) {
+function kX(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -51884,36 +52221,36 @@ function EX(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function DX(e, t, n = 0, r = e.length - 1, i = sX) {
+function AX(e, t, n = 0, r = e.length - 1, i = uX) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- DX(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ AX(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (OX(e, n, t), i(e[r], a) > 0 && OX(e, n, r); o < s;) {
- for (OX(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (jX(e, n, t), i(e[r], a) > 0 && jX(e, n, r); o < s;) {
+ for (jX(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? OX(e, n, s) : (++s, OX(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? jX(e, n, s) : (++s, jX(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function OX(e, t, n) {
+function jX(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function kX(e, t, n) {
- if (e = Float64Array.from(dX(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return EX(e);
- if (t >= 1) return TX(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = TX(DX(e, a).subarray(0, a + 1));
- return o + (EX(e.subarray(a + 1)) - o) * (i - a);
+function Ape(e, t, n) {
+ if (e = Float64Array.from(mX(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return kX(e);
+ if (t >= 1) return OX(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = OX(AX(e, a).subarray(0, a + 1));
+ return o + (kX(e.subarray(a + 1)) - o) * (i - a);
}
}
-function AX(e, t, n = uX) {
+function jpe(e, t, n = pX) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -51923,7 +52260,7 @@ function AX(e, t, n = uX) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function jX(e, t, n) {
+function Mpe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
@@ -51965,7 +52302,7 @@ function PX(e, t) {
//#region node_modules/d3-scale/src/ordinal.js
var FX = Symbol("implicit");
function IX() {
- var e = new mX(), t = [], n = [], r = FX;
+ var e = new _X(), t = [], n = [], r = FX;
function i(i) {
let a = e.get(i);
if (a === void 0) {
@@ -51976,7 +52313,7 @@ function IX() {
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new mX();
+ t = [], e = new _X();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -51995,7 +52332,7 @@ function LX() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = jX(e).map(function(e) {
+ var m = Mpe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -52030,7 +52367,7 @@ function RX(e) {
return RX(t());
}, e;
}
-function ype() {
+function Npe() {
return RX(LX.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -52046,7 +52383,7 @@ function BX(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function VX() {}
-var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", bpe = /^#([0-9a-f]{3,8})$/, xpe = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Spe = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Cpe = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), wpe = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Tpe = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Epe = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
+var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ppe = /^#([0-9a-f]{3,8})$/, Fpe = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Ipe = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Lpe = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), Rpe = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), zpe = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Bpe = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -52205,18 +52542,18 @@ zX(VX, XX, {
},
hex: JX,
formatHex: JX,
- formatHex8: Dpe,
- formatHsl: Ope,
+ formatHex8: Vpe,
+ formatHsl: Hpe,
formatRgb: YX,
toString: YX
});
function JX() {
return this.rgb().formatHex();
}
-function Dpe() {
+function Vpe() {
return this.rgb().formatHex8();
}
-function Ope() {
+function Hpe() {
return sZ(this).formatHsl();
}
function YX() {
@@ -52224,7 +52561,7 @@ function YX() {
}
function XX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = bpe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = xpe.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Spe.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Cpe.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = wpe.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Tpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Epe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = Ppe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Fpe.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Ipe.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Lpe.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = Rpe.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = zpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Bpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
}
function ZX(e) {
return new eZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -52232,11 +52569,11 @@ function ZX(e) {
function QX(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new eZ(e, t, n, r);
}
-function kpe(e) {
+function Upe(e) {
return e instanceof VX || (e = XX(e)), e ? (e = e.rgb(), new eZ(e.r, e.g, e.b, e.opacity)) : new eZ();
}
function $X(e, t, n, r) {
- return arguments.length === 1 ? kpe(e) : new eZ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? Upe(e) : new eZ(e, t, n, r ?? 1);
}
function eZ(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -52259,14 +52596,14 @@ zX(eZ, $X, BX(VX, {
},
hex: tZ,
formatHex: tZ,
- formatHex8: Ape,
+ formatHex8: Wpe,
formatRgb: nZ,
toString: nZ
}));
function tZ() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}`;
}
-function Ape() {
+function Wpe() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}${aZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function nZ() {
@@ -52293,13 +52630,13 @@ function sZ(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new cZ(o, s, c, e.opacity);
}
-function jpe(e, t, n, r) {
+function Gpe(e, t, n, r) {
return arguments.length === 1 ? sZ(e) : new cZ(e, t, n, r ?? 1);
}
function cZ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-zX(cZ, jpe, BX(VX, {
+zX(cZ, Gpe, BX(VX, {
brighter(e) {
return e = e == null ? UX : UX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
@@ -52335,29 +52672,29 @@ function dZ(e, t, n) {
var fZ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function Mpe(e, t) {
+function Kpe(e, t) {
return function(n) {
return e + n * t;
};
}
-function Npe(e, t, n) {
+function qpe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function Ppe(e) {
+function Jpe(e) {
return (e = +e) == 1 ? pZ : function(t, n) {
- return n - t ? Npe(t, n, e) : fZ(isNaN(t) ? n : t);
+ return n - t ? qpe(t, n, e) : fZ(isNaN(t) ? n : t);
};
}
function pZ(e, t) {
var n = t - e;
- return n ? Mpe(e, n) : fZ(isNaN(e) ? t : e);
+ return n ? Kpe(e, n) : fZ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var mZ = (function e(t) {
- var n = Ppe(t);
+ var n = Jpe(t);
function r(e, t) {
var r = n((e = $X(e)).r, (t = $X(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = pZ(e.opacity, t.opacity);
return function(t) {
@@ -52368,7 +52705,7 @@ var mZ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function Fpe(e, t) {
+function Ype(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -52376,12 +52713,12 @@ function Fpe(e, t) {
return r;
};
}
-function Ipe(e) {
+function Xpe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function Lpe(e, t) {
+function Zpe(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = vZ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -52392,7 +52729,7 @@ function Lpe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function Rpe(e, t) {
+function Qpe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -52407,7 +52744,7 @@ function hZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function zpe(e, t) {
+function $pe(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = vZ(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -52418,23 +52755,23 @@ function zpe(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var gZ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, _Z = new RegExp(gZ.source, "g");
-function Bpe(e) {
+function eme(e) {
return function() {
return e;
};
}
-function Vpe(e) {
+function tme(e) {
return function(t) {
return e(t) + "";
};
}
-function Hpe(e, t) {
+function nme(e, t) {
var n = gZ.lastIndex = _Z.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = gZ.exec(e)) && (i = _Z.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: hZ(r, i)
})), n = _Z.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? Vpe(c[0].x) : Bpe(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? tme(c[0].x) : eme(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
@@ -52443,7 +52780,7 @@ function Hpe(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function vZ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : Hpe : t instanceof XX ? mZ : t instanceof Date ? Rpe : Ipe(t) ? Fpe : Array.isArray(t) ? Lpe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? zpe : hZ)(e, t);
+ return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : nme : t instanceof XX ? mZ : t instanceof Date ? Qpe : Xpe(t) ? Ype : Array.isArray(t) ? Zpe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? $pe : hZ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -52454,7 +52791,7 @@ function yZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function Upe(e, t) {
+function rme(e, t) {
t === void 0 && (t = e, e = vZ);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -52464,7 +52801,7 @@ function Upe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function Wpe(e) {
+function ime(e) {
return function() {
return e;
};
@@ -52483,25 +52820,25 @@ function SZ(e) {
function CZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : Wpe(isNaN(t) ? NaN : .5);
+ } : ime(isNaN(t) ? NaN : .5);
}
-function Gpe(e, t) {
+function ame(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function Kpe(e, t, n) {
+function ome(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = CZ(i, r), a = n(o, a)) : (r = CZ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function qpe(e, t, n) {
+function sme(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = CZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = pX(e, t, 1, r) - 1;
+ var n = gX(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
@@ -52512,7 +52849,7 @@ function TZ() {
var e = xZ, t = xZ, n = vZ, r, i, a, o = SZ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== SZ && (o = Gpe(e[0], e[n - 1])), s = n > 2 ? qpe : Kpe, c = l = null, d;
+ return o !== SZ && (o = ame(e[0], e[n - 1])), s = n > 2 ? sme : ome, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -52540,7 +52877,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function Jpe(e) {
+function cme(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -52555,7 +52892,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function Ype(e, t) {
+function lme(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -52563,7 +52900,7 @@ function Ype(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function Xpe(e) {
+function ume(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -52572,9 +52909,9 @@ function Xpe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var Zpe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var dme = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = Zpe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = dme.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -52598,7 +52935,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function Qpe(e) {
+function fme(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -52615,7 +52952,7 @@ function Qpe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function $pe(e, t) {
+function pme(e, t) {
var n = DZ(e, t);
if (!n) return jZ = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (jZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -52635,14 +52972,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: Jpe,
+ d: cme,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
p: (e, t) => MZ(e * 100, t),
r: MZ,
- s: $pe,
+ s: pme,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -52672,8 +53009,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function eme(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : Ype(FZ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? PZ : Xpe(FZ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function mme(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : lme(FZ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? PZ : ume(FZ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
e = kZ(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
@@ -52686,7 +53023,7 @@ function eme(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Qpe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = fme(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -52727,46 +53064,46 @@ function eme(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-tme({
+hme({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function tme(e) {
- return LZ = eme(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function hme(e) {
+ return LZ = mme(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function nme(e) {
+function gme(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function rme(e, t) {
+function _me(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(OZ(t) / 3))) * 3 - OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function ime(e, t) {
+function vme(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
function BZ(e, t, n, r) {
- var i = wX(e, t, n), a;
+ var i = DX(e, t, n), a;
switch (r = kZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = rme(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = _me(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = ime(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = vme(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = nme(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = gme(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -52776,7 +53113,7 @@ function VZ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return SX(n[0], n[n.length - 1], e ?? 10);
+ return TX(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
return BZ(r[0], r[r.length - 1], e ?? 10, n);
@@ -52784,7 +53121,7 @@ function VZ(e) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = CX(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = EX(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -52829,19 +53166,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function ame(e) {
+function yme(e) {
return -Math.log(-e);
}
-function ome(e) {
+function bme(e) {
return -Math.exp(-e);
}
-function sme(e) {
+function xme(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function cme(e) {
- return e === 10 ? sme : e === Math.E ? Math.exp : (t) => e ** +t;
+function Sme(e) {
+ return e === 10 ? xme : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function lme(e) {
+function Cme(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
function qZ(e) {
@@ -52850,7 +53187,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = lme(r), a = cme(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(ame, ome)) : e(GZ, KZ), t;
+ return i = Cme(r), a = Sme(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(yme, bme)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -52870,8 +53207,8 @@ function JZ(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = SX(o, s, p));
- } else m = SX(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = TX(o, s, p));
+ } else m = TX(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = kZ(n)).precision == null && (n.trim = !0), n = RZ(n)), e === Infinity) return n;
@@ -52920,16 +53257,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function ume(e) {
+function wme(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function dme(e) {
+function Tme(e) {
return e < 0 ? -e * e : e * e;
}
function tQ(e) {
var t = e(SZ, SZ), n = 1;
function r() {
- return n === 1 ? e(SZ, SZ) : n === .5 ? e(ume, dme) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(wme, Tme) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -52941,7 +53278,7 @@ function nQ() {
return wZ(e, nQ()).exponent(e.exponent());
}, NX.apply(e, arguments), e;
}
-function fme() {
+function Eme() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -52949,13 +53286,13 @@ function fme() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function pme(e) {
+function Dme(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function iQ() {
var e = EZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = pme(e(t));
+ var i = Dme(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -52982,11 +53319,11 @@ function aQ() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = AX(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = jpe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[pX(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[gX(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -52995,7 +53332,7 @@ function aQ() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(sX), i();
+ return e.sort(uX), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -53011,7 +53348,7 @@ function aQ() {
function oQ() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[pX(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[gX(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -53038,7 +53375,7 @@ function oQ() {
function sQ() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[pX(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[gX(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -53151,8 +53488,8 @@ function DQ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * pQ) / gQ);
}
-var OQ = DQ(0), kQ = DQ(1), mme = DQ(2), hme = DQ(3), AQ = DQ(4), gme = DQ(5), _me = DQ(6);
-OQ.range, kQ.range, mme.range, hme.range, AQ.range, gme.range, _me.range;
+var OQ = DQ(0), kQ = DQ(1), Ome = DQ(2), kme = DQ(3), AQ = DQ(4), Ame = DQ(5), jme = DQ(6);
+OQ.range, kQ.range, Ome.range, kme.range, AQ.range, Ame.range, jme.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -53160,8 +53497,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), vme = jQ(2), yme = jQ(3), PQ = jQ(4), bme = jQ(5), xme = jQ(6);
-MQ.range, NQ.range, vme.range, yme.range, PQ.range, bme.range, xme.range;
+var MQ = jQ(0), NQ = jQ(1), Mme = jQ(2), Nme = jQ(3), PQ = jQ(4), Pme = jQ(5), Fme = jQ(6);
+MQ.range, NQ.range, Mme.range, Nme.range, PQ.range, Pme.range, Fme.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -53300,15 +53637,15 @@ function zQ(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = cX(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(wX(t / vQ, n / vQ, r));
- if (a === 0) return dQ.every(Math.max(wX(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = dX(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(DX(t / vQ, n / vQ, r));
+ if (a === 0) return dQ.every(Math.max(DX(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [Sme, Cme] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [wme, Tme] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Ime, Lme] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Rme, zme] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -53336,72 +53673,72 @@ function HQ(e, t, n) {
L: 0
};
}
-function Eme(e) {
+function Bme(e) {
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = KQ(i), u = qQ(i), d = KQ(a), f = qQ(a), p = KQ(o), m = qQ(o), h = KQ(s), g = qQ(s), _ = KQ(c), v = qQ(c), y = {
a: N,
- A: P,
- b: ee,
- B: F,
+ A: ee,
+ b: te,
+ B: P,
c: null,
d: QQ,
e: QQ,
- f: Yme,
- g: ahe,
- G: she,
- H: Kme,
- I: qme,
- j: Jme,
+ f: lhe,
+ g: yhe,
+ G: xhe,
+ H: ohe,
+ I: she,
+ j: che,
L: $Q,
- m: Xme,
- M: Zme,
- p: te,
+ m: uhe,
+ M: dhe,
+ p: F,
q: ne,
Q: a$,
s: o$,
- S: Qme,
- u: $me,
- U: ehe,
- V: the,
- w: nhe,
- W: rhe,
+ S: fhe,
+ u: phe,
+ U: mhe,
+ V: hhe,
+ w: ghe,
+ W: _he,
x: null,
X: null,
- y: ihe,
- Y: ohe,
- Z: che,
+ y: vhe,
+ Y: bhe,
+ Z: She,
"%": i$
}, b = {
a: re,
- A: I,
- b: L,
- B: ie,
+ A: ie,
+ b: I,
+ B: L,
c: null,
d: t$,
e: t$,
- f: fhe,
- g: She,
- G: whe,
- H: lhe,
- I: uhe,
- j: dhe,
+ f: Ehe,
+ g: Ihe,
+ G: Rhe,
+ H: Che,
+ I: whe,
+ j: The,
L: n$,
- m: phe,
- M: mhe,
+ m: Dhe,
+ M: Ohe,
p: ae,
q: oe,
Q: a$,
s: o$,
- S: hhe,
- u: ghe,
- U: _he,
- V: vhe,
- w: yhe,
- W: bhe,
+ S: khe,
+ u: Ahe,
+ U: jhe,
+ V: Mhe,
+ w: Nhe,
+ W: Phe,
x: null,
X: null,
- y: xhe,
- Y: Che,
- Z: The,
+ y: Fhe,
+ Y: Lhe,
+ Z: zhe,
"%": i$
}, x = {
a: E,
@@ -53411,31 +53748,31 @@ function Eme(e) {
c: A,
d: XQ,
e: XQ,
- f: Hme,
+ f: nhe,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: Rme,
- L: Vme,
- m: Lme,
- M: zme,
+ j: Qme,
+ L: the,
+ m: Zme,
+ M: $me,
p: T,
- q: Ime,
- Q: Wme,
- s: Gme,
- S: Bme,
- u: jme,
- U: Mme,
- V: Nme,
- w: Ame,
- W: Pme,
+ q: Xme,
+ Q: ihe,
+ s: ahe,
+ S: ehe,
+ u: Gme,
+ U: Kme,
+ V: qme,
+ w: Wme,
+ W: Jme,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: Fme,
- "%": Ume
+ Z: Yme,
+ "%": rhe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
@@ -53499,16 +53836,16 @@ function Eme(e) {
function N(e) {
return o[e.getDay()];
}
- function P(e) {
+ function ee(e) {
return a[e.getDay()];
}
- function ee(e) {
+ function te(e) {
return c[e.getMonth()];
}
- function F(e) {
+ function P(e) {
return s[e.getMonth()];
}
- function te(e) {
+ function F(e) {
return i[+(e.getHours() >= 12)];
}
function ne(e) {
@@ -53517,13 +53854,13 @@ function Eme(e) {
function re(e) {
return o[e.getUTCDay()];
}
- function I(e) {
+ function ie(e) {
return a[e.getUTCDay()];
}
- function L(e) {
+ function I(e) {
return c[e.getUTCMonth()];
}
- function ie(e) {
+ function L(e) {
return s[e.getUTCMonth()];
}
function ae(e) {
@@ -53563,37 +53900,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, Dme = /^%/, Ome = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, Vme = /^%/, Hme = /[\\^$*+?|[\]().{}]/g;
function GQ(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function kme(e) {
- return e.replace(Ome, "\\$&");
+function Ume(e) {
+ return e.replace(Hme, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(kme).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(Ume).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function Ame(e, t, n) {
+function Wme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function jme(e, t, n) {
+function Gme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function Mme(e, t, n) {
+function Kme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function Nme(e, t, n) {
+function qme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Pme(e, t, n) {
+function Jme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -53605,15 +53942,15 @@ function YQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function Fme(e, t, n) {
+function Yme(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function Ime(e, t, n) {
+function Xme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function Lme(e, t, n) {
+function Zme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -53621,7 +53958,7 @@ function XQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function Rme(e, t, n) {
+function Qme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -53629,159 +53966,159 @@ function ZQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function zme(e, t, n) {
+function $me(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function Bme(e, t, n) {
+function ehe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function Vme(e, t, n) {
+function the(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function Hme(e, t, n) {
+function nhe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function Ume(e, t, n) {
- var r = Dme.exec(t.slice(n, n + 1));
+function rhe(e, t, n) {
+ var r = Vme.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function Wme(e, t, n) {
+function ihe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function Gme(e, t, n) {
+function ahe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function QQ(e, t) {
return GQ(e.getDate(), t, 2);
}
-function Kme(e, t) {
+function ohe(e, t) {
return GQ(e.getHours(), t, 2);
}
-function qme(e, t) {
+function she(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function Jme(e, t) {
+function che(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function Yme(e, t) {
+function lhe(e, t) {
return $Q(e, t) + "000";
}
-function Xme(e, t) {
+function uhe(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Zme(e, t) {
+function dhe(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function Qme(e, t) {
+function fhe(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function $me(e) {
+function phe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function ehe(e, t) {
+function mhe(e, t) {
return GQ(OQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? AQ(e) : AQ.ceil(e);
}
-function the(e, t) {
+function hhe(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function nhe(e) {
+function ghe(e) {
return e.getDay();
}
-function rhe(e, t) {
+function _he(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function ihe(e, t) {
+function vhe(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function ahe(e, t) {
+function yhe(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function ohe(e, t) {
+function bhe(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function she(e, t) {
+function xhe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function che(e) {
+function She(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
function t$(e, t) {
return GQ(e.getUTCDate(), t, 2);
}
-function lhe(e, t) {
+function Che(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function uhe(e, t) {
+function whe(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function dhe(e, t) {
+function The(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function fhe(e, t) {
+function Ehe(e, t) {
return n$(e, t) + "000";
}
-function phe(e, t) {
+function Dhe(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function mhe(e, t) {
+function Ohe(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function hhe(e, t) {
+function khe(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function ghe(e) {
+function Ahe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function _he(e, t) {
+function jhe(e, t) {
return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
function r$(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function vhe(e, t) {
+function Mhe(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function yhe(e) {
+function Nhe(e) {
return e.getUTCDay();
}
-function bhe(e, t) {
+function Phe(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function xhe(e, t) {
+function Fhe(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function She(e, t) {
+function Ihe(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Che(e, t) {
+function Lhe(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function whe(e, t) {
+function Rhe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function The() {
+function zhe() {
return "+0000";
}
function i$() {
@@ -53796,7 +54133,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-Ehe({
+Bhe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -53848,15 +54185,15 @@ Ehe({
"Dec"
]
});
-function Ehe(e) {
- return s$ = Eme(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function Bhe(e) {
+ return s$ = Bme(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function Dhe(e) {
+function Vhe(e) {
return new Date(e);
}
-function Ohe(e) {
+function Hhe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -53867,7 +54204,7 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, Ohe)) : f().map(Dhe);
+ return arguments.length ? f(Array.from(e, Hhe)) : f().map(Vhe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -53880,13 +54217,13 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return wZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function khe() {
- return NX.apply(u$(wme, Tme, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Uhe() {
+ return NX.apply(u$(Rme, zme, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function Ahe() {
- return NX.apply(u$(Sme, Cme, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function Whe() {
+ return NX.apply(u$(Ime, Lme, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -53941,7 +54278,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function jhe() {
+function Ghe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -53949,19 +54286,19 @@ function jhe() {
function _$() {
var e = [], t = SZ;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((pX(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((gX(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(sX), n;
+ return e.sort(uX), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => kX(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => Ape(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
}, PX.apply(n, arguments);
@@ -53987,7 +54324,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = Upe(e, [
+ return arguments.length ? ([n, r, i] = t, l = rme(e, [
n,
r,
i
@@ -54032,24 +54369,24 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function Mhe() {
+function Khe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var C$ = /* @__PURE__ */ M({
+var C$ = /* @__PURE__ */ N({
scaleBand: () => LX,
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => Mhe,
+ scaleDivergingSqrt: () => Khe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
scaleImplicit: () => FX,
scaleLinear: () => HZ,
scaleLog: () => YZ,
scaleOrdinal: () => IX,
- scalePoint: () => ype,
+ scalePoint: () => Npe,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -54058,26 +54395,26 @@ var C$ = /* @__PURE__ */ M({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => jhe,
+ scaleSequentialSqrt: () => Ghe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => fme,
+ scaleSqrt: () => Eme,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => khe,
- scaleUtc: () => Ahe,
+ scaleTime: () => Uhe,
+ scaleUtc: () => Whe,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function Nhe(e) {
+function qhe(e) {
if (e in C$) return C$[e]();
- var t = `scale${lz(e)}`;
+ var t = `scale${uz(e)}`;
if (t in C$) return C$[t]();
}
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = Nhe(e);
+ var r = qhe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -54086,22 +54423,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Phe(e) {
- return `scale${lz(e)}`;
+function Jhe(e) {
+ return `scale${uz(e)}`;
}
-function Fhe(e) {
- return Phe(e) in C$;
+function Yhe(e) {
+ return Jhe(e) in C$;
}
var E$ = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return Fhe(r) ? r : "point";
+ if (typeof r == "string") return Yhe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Ihe(e, t) {
+function Xhe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
@@ -54112,7 +54449,7 @@ function D$(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = Ihe(r, e);
+ var t = Xhe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -54122,7 +54459,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Lhe(e) {
+function Zhe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -54141,26 +54478,26 @@ function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? O$(Object(n), !0).forEach(function(t) {
- Rhe(e, t, n[t]);
+ Qhe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rhe(e, t, n) {
- return (t = zhe(t)) in e ? Object.defineProperty(e, t, {
+function Qhe(e, t, n) {
+ return (t = $he(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zhe(e) {
- var t = Bhe(e, "string");
+function $he(e) {
+ var t = ege(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bhe(e, t) {
+function ege(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54228,7 +54565,7 @@ var A$ = [0, "auto"], j$ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Vhe = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, tge = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -54241,16 +54578,16 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Vhe, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? tge, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
case "zAxis": return L$(e, n);
- case "angleAxis": return RY(e, n);
- case "radiusAxis": return zY(e, n);
+ case "angleAxis": return VY(e, n);
+ case "radiusAxis": return HY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Hhe = (e, t, n) => {
+}, nge = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -54260,8 +54597,8 @@ var A$ = [0, "auto"], j$ = {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
- case "angleAxis": return RY(e, n);
- case "radiusAxis": return zY(e, n);
+ case "angleAxis": return VY(e, n);
+ case "radiusAxis": return HY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, B$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
@@ -54277,40 +54614,40 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, Uhe = $([YY, XY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, rge = $([QY, $Y], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- Uhe
-], U$, { memoizeOptions: { resultEqualityCheck: tX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter($Y)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Whe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ghe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: tX } }), J$ = (e, t) => {
+ rge
+], U$, { memoizeOptions: { resultEqualityCheck: iX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(nX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), ige = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), age = $([W$], q$, { memoizeOptions: { resultEqualityCheck: iX } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([Ghe, $J], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: WH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: WH(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([age, nY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: qH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: qH(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (nz(e) || e instanceof Date) {
+ if (rz(e) || e instanceof Date) {
var t = Number(e);
- if (LH(t)) return t;
+ if (BH(t)) return t;
}
}
function $$(e) {
if (Array.isArray(e)) {
var t = [Q$(e[0]), Q$(e[1])];
- return tY(t) ? t : void 0;
+ return iY(t) ? t : void 0;
}
var n = Q$(e);
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(uz);
+ return e.map(Q$).filter(dz);
}
-function Khe(e, t) {
+function oge(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var qhe = $([Z$], (e) => e?.map((e) => e.value).sort(Khe));
+var sge = $([Z$], (e) => e?.map((e) => e.value).sort(oge));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -54318,17 +54655,17 @@ function t1(e, t) {
default: return !1;
}
}
-function Jhe(e, t, n) {
- return !n || typeof t != "number" || ez(t) || !n.length ? [] : e1(n.flatMap((n) => {
- var r = WH(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!LH(i) || !LH(a))) return [t - i, t + a];
+function cge(e, t, n) {
+ return !n || typeof t != "number" || tz(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = qH(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!BH(i) || !BH(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, rX(e), iX(e)), r1 = $([n1], (e) => e?.dataKey), Yhe = $([
+var n1 = (e) => z$(e, oX(e), sX(e)), r1 = $([n1], (e) => e?.dataKey), lge = $([
G$,
- $J,
+ nY,
n1
-], QY), i1 = (e, t, n, r) => {
+], tX), i1 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -54337,22 +54674,22 @@ var n1 = (e) => z$(e, rX(e), iX(e)), r1 = $([n1], (e) => e?.dataKey), Yhe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: ZH(e, o.map(ZY), n),
+ stackedData: eU(e, o.map(eX), n),
graphicalItems: o
}];
}));
}, a1 = $([
- Yhe,
+ lge,
G$,
- yY,
- bY
+ SY,
+ CY
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = iU(e, i, a);
+ var o = sU(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Xhe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, uge = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
if (e == null || !("domain" in e)) return A$;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -54363,12 +54700,12 @@ var n1 = (e) => z$(e, rX(e), iX(e)), r1 = $([n1], (e) => e?.dataKey), Yhe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Xhe], rY), Zhe = $([
+}, c1 = $([R$], s1), l1 = $([c1, uge], oY), dge = $([
a1,
- ZJ,
- YY,
+ eY,
+ QY,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: eX } }), u1 = (e) => e.errorBars, Qhe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: rX } }), u1 = (e) => e.errorBars, fge = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -54378,7 +54715,7 @@ var n1 = (e) => z$(e, rX(e), iX(e)), r1 = $([n1], (e) => e?.dataKey), Yhe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = WH(e, t.dataKey ?? n.dataKey), l = Jhe(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = qH(e, t.dataKey ?? n.dataKey), l = cge(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
@@ -54387,98 +54724,98 @@ var n1 = (e) => z$(e, rX(e), iX(e)), r1 = $([n1], (e) => e?.dataKey), Yhe = $([
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = $$(WH(e, t.dataKey));
+ var n = $$(qH(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
- }), LH(a) && LH(o)) return [a, o];
-}, $he = $([
+ }), BH(a) && BH(o)) return [a, o];
+}, pge = $([
Y$,
R$,
- Whe,
+ ige,
u1,
- YY
-], f1, { memoizeOptions: { resultEqualityCheck: eX } });
-function ege(e) {
+ QY
+], f1, { memoizeOptions: { resultEqualityCheck: rX } });
+function mge(e) {
var { value: t } = e;
- if (nz(t) || t instanceof Date) return t;
+ if (rz(t) || t instanceof Date) return t;
}
-var tge = (e, t, n) => {
- var r = e.map(ege).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && az(r)) ? XJ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), nge = $([
+var hge = (e, t, n) => {
+ var r = e.map(mge).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && oz(r)) ? $J(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), gge = $([
p1,
- YY,
- XY
-], m1), h1 = (e) => e.referenceElements.areas, rge = $([
+ QY,
+ $Y
+], m1), h1 = (e) => e.referenceElements.areas, _ge = $([
h1,
- YY,
- XY
-], m1), g1 = (e) => e.referenceElements.lines, ige = $([
+ QY,
+ $Y
+], m1), g1 = (e) => e.referenceElements.lines, vge = $([
g1,
- YY,
- XY
+ QY,
+ $Y
], m1), _1 = (e, t) => {
if (e != null) {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, age = $(nge, YY, _1), v1 = (e, t) => {
+}, yge = $(gge, QY, _1), v1 = (e, t) => {
if (e != null) {
var n = e1(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, oge = $([rge, YY], v1);
-function sge(e) {
+}, bge = $([_ge, QY], v1);
+function xge(e) {
if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : e1(t);
}
-function cge(e) {
+function Sge(e) {
if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : e1(t);
}
var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? sge(e) : cge(e));
+ var n = e.flatMap((e) => t === "xAxis" ? xge(e) : Sge(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, lge = $(age, $([ige, YY], y1), oge, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? iY(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), uge = $([
+}, Cge = $(yge, $([vge, QY], y1), bge, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? sY(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), wge = $([
R$,
c1,
l1,
- Zhe,
- $he,
- lge,
- pW,
- YY
-], b1, { memoizeOptions: { resultEqualityCheck: eX } }), dge = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+ dge,
+ pge,
+ Cge,
+ gW,
+ QY
+], b1, { memoizeOptions: { resultEqualityCheck: rX } }), Tge = [0, 1], x1 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = KH(t, a);
- return l && s == null ? XJ(0, n?.length ?? 0) : c === "category" ? tge(r, e, l) : i === "expand" ? dge : o;
+ var { dataKey: s, type: c } = e, l = YH(t, a);
+ return l && s == null ? $J(0, n?.length ?? 0) : c === "category" ? hge(r, e, l) : i === "expand" ? Tge : o;
}
}, S1 = $([
R$,
- pW,
+ gW,
Y$,
Z$,
- yY,
- YY,
- uge
+ SY,
+ QY,
+ wge
], x1), C1 = $([
R$,
B$,
- xY
+ wY
], E$), w1 = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
var i = s1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && tY(e)) {
- if (a) return pY(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return mY(e, t.tickCount, t.allowDecimals, r);
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && iY(e)) {
+ if (a) return gY(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return _Y(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && tY(e)) return pY(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && tY(e)) return mY(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && iY(e)) return gY(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && iY(e)) return _Y(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
}, T1 = $([
@@ -54486,16 +54823,16 @@ var y1 = (e, t) => {
z$,
C1
], w1), E1 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && tY(t) && Array.isArray(n) && n.length > 0) {
+ if (r !== "angleAxis" && e?.type === "number" && iY(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, fge = $([
+}, Ege = $([
R$,
S1,
T1,
- YY
+ QY
], E1), D1 = $($(Z$, R$, (e, t) => {
if (!(!t || t.type !== "number")) {
var n = Infinity, r = Array.from(e1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
@@ -54511,22 +54848,22 @@ var y1 = (e, t) => {
}
return n / o;
}
-}), pW, _Y, kU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!LH(e)) return 0;
+}), gW, bY, MU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!BH(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = iz(n, e * a), s = e * a / 2;
+ var o = az(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), pge = (e, t, n) => {
+}), Dge = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, mge = (e, t, n) => {
+}, Oge = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, hge = $(N$, pge, (e, t) => {
+}, kge = $(N$, Dge, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -54539,7 +54876,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), gge = $(I$, mge, (e, t) => {
+}), Age = $(I$, Oge, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -54552,98 +54889,98 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), _ge = $([
- kU,
- hge,
- FU,
- PU,
+}), jge = $([
+ MU,
+ kge,
+ RU,
+ LU,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), vge = $([
- kU,
- pW,
- gge,
- FU,
- PU,
+}), Mge = $([
+ MU,
+ gW,
+ Age,
+ RU,
+ LU,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return _ge(e, n, r);
- case "yAxis": return vge(e, n, r);
+ case "xAxis": return jge(e, n, r);
+ case "yAxis": return Mge(e, n, r);
case "zAxis": return L$(e, n)?.range;
- case "angleAxis": return WY(e);
- case "radiusAxis": return KY(e, n);
+ case "angleAxis": return qY(e);
+ case "radiusAxis": return YY(e, n);
default: return;
}
-}, k1 = $([R$, O1], kY), A1 = $([
+}, k1 = $([R$, O1], MY), A1 = $([
R$,
C1,
- $([C1, fge], oX),
+ $([C1, Ege], lX),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (KH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (YH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, M1 = $([
- pW,
+ gW,
Z$,
z$,
- YY
-], j1), N1 = $([A1], aX);
-$([A1], Lhe), $([A1, qhe], D$), $([
+ QY
+], j1), N1 = $([A1], cX);
+$([A1], Zhe), $([A1, sge], D$), $([
W$,
u1,
- YY
-], Qhe);
+ QY
+], fge);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, yge = $(gU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), bge = $(_U, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, Nge = $(yU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), Pge = $(bU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), xge = (e, t) => ({
+}), Fge = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(kU, N$, L1), Sge = (e, t, n) => {
+}), R1 = $(MU, N$, L1), Ige = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Cge = (e, t, n) => {
+}, Lge = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, wge = $(pU, kU, yge, F1, I1, (e, t, n, r, i) => {
+}, Rge = $(gU, MU, Nge, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= Sge(t, r, e);
+ o ??= Ige(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), Tge = $(fU, kU, bge, F1, I1, (e, t, n, r, i) => {
+}), zge = $(hU, MU, Pge, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = xge(t, n);
- o ??= Cge(t, r, e);
+ var s = Fge(t, n);
+ o ??= Lge(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), Ege = $([
- kU,
+}), Bge = $([
+ MU,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return wge(e, n.orientation, n.mirror);
+ if (n != null) return Rge(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -54657,12 +54994,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, yge = $(gU, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), Dge = $([
- kU,
+}), Vge = $([
+ MU,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return Tge(e, n.orientation, n.mirror);
+ if (n != null) return zge(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -54676,7 +55013,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, yge = $(gU, F1, I1, (e, t, n) => e.fi
y: e.top
};
}
-}), z1 = $(kU, I$, (e, t) => ({
+}), z1 = $(MU, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), B1 = (e, t, n) => {
@@ -54687,27 +55024,27 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, yge = $(gU, F1, I1, (e, t, n) => e.fi
}
}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = KH(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && az(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = YH(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && oz(c)) return c;
}
}, H1 = $([
- pW,
+ gW,
Z$,
R$,
- YY
+ QY
], V1), U1 = $([
- pW,
- Hhe,
+ gW,
+ nge,
C1,
N1,
H1,
M1,
O1,
T1,
- YY
+ QY
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = KH(e, c);
+ var l = YH(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -54731,45 +55068,45 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, yge = $(gU, F1, I1, (e, t, n) => e.fi
}
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = KH(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? $R(a[0] - a[1]) * 2 * m : m;
+ var l = YH(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? ez(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return LH(i) ? {
+ return BH(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(uz) : l && s ? s.map((e, t) => {
+ }).filter(dz) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(uz) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(dz) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(uz) : r.domain().map((e, t) => {
+ }).filter(dz) : r.domain().map((e, t) => {
var n = r.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(uz);
+ }).filter(dz);
}
}, G1 = $([
- pW,
+ gW,
z$,
C1,
N1,
@@ -54777,44 +55114,44 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, yge = $(gU, F1, I1, (e, t, n) => e.fi
O1,
H1,
M1,
- YY
+ QY
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = KH(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? $R(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = YH(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? ez(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return LH(r) ? {
+ return BH(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(uz) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(dz) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return LH(r) ? {
+ return BH(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(uz) : n.domain().map((e, t) => {
+ }).filter(dz) : n.domain().map((e, t) => {
var r = n.map(e);
- return LH(r) ? {
+ return BH(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(uz);
+ }).filter(dz);
}
}, q1 = $([
- pW,
+ gW,
z$,
N1,
O1,
H1,
M1,
- YY
+ QY
], K1), J1 = $(R$, N1, (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
@@ -54823,13 +55160,13 @@ $((e, t, n) => L$(e, n), $([$([
C1,
S1,
k1
-], T$)], aX), (e, t) => {
+], T$)], cX), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var Oge = $([
- pW,
- gU,
- _U
+var Hge = $([
+ gW,
+ yU,
+ bU
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -54860,32 +55197,32 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function kge(e) {
+function $1(e) {
return Q((t) => Q1(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var $1 = (e, t) => {
+var e0 = (e, t) => {
var n, r = Number(t);
- if (!(ez(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Age = (e) => e.tooltip.settings, e0 = {
+ if (!(tz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, Uge = (e) => e.tooltip.settings, t0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, t0 = HV({
+}, n0 = GV({
name: "tooltip",
initialState: {
itemInteraction: {
- click: e0,
- hover: e0
+ click: t0,
+ hover: t0
},
axisInteraction: {
- click: e0,
- hover: e0
+ click: t0,
+ hover: t0
},
- keyboardInteraction: e0,
+ keyboardInteraction: t0,
syncInteraction: {
active: !1,
index: null,
@@ -54907,23 +55244,23 @@ var $1 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(hG(t.payload));
+ e.tooltipItemPayloads.push(vG(t.payload));
},
- prepare: kV()
+ prepare: AV()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bV(e).tooltipItemPayloads.indexOf(hG(n));
- i > -1 && (e.tooltipItemPayloads[i] = hG(r));
+ var { prev: n, next: r } = t.payload, i = xV(e).tooltipItemPayloads.indexOf(vG(n));
+ i > -1 && (e.tooltipItemPayloads[i] = vG(r));
},
- prepare: kV()
+ prepare: AV()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = bV(e).tooltipItemPayloads.indexOf(hG(t.payload));
+ var n = xV(e).tooltipItemPayloads.indexOf(vG(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: kV()
+ prepare: AV()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -54953,10 +55290,10 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: jge, replaceTooltipEntrySettings: Mge, removeTooltipEntrySettings: Nge, setTooltipSettingsState: Pge, setActiveMouseOverItemIndex: n0, mouseLeaveItem: Fge, mouseLeaveChart: r0, setActiveClickItemIndex: Ige, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Lge, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Rge = t0.reducer;
+}), { addTooltipEntrySettings: Wge, replaceTooltipEntrySettings: Gge, removeTooltipEntrySettings: Kge, setTooltipSettingsState: qge, setActiveMouseOverItemIndex: r0, mouseLeaveItem: Jge, mouseLeaveChart: i0, setActiveClickItemIndex: Yge, setMouseOverAxisIndex: a0, setMouseClickAxisIndex: Xge, setSyncInteraction: o0, setKeyboardInteraction: s0 } = n0.actions, Zge = n0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function s0(e, t) {
+function c0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54966,30 +55303,30 @@ function s0(e, t) {
}
return n;
}
-function c0(e) {
+function l0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s0(Object(n), !0).forEach(function(t) {
- zge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
+ t % 2 ? c0(Object(n), !0).forEach(function(t) {
+ Qge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zge(e, t, n) {
- return (t = Bge(t)) in e ? Object.defineProperty(e, t, {
+function Qge(e, t, n) {
+ return (t = $ge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bge(e) {
- var t = Vge(e, "string");
+function $ge(e) {
+ var t = e_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vge(e, t) {
+function e_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54999,22 +55336,22 @@ function Vge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Hge(e, t, n) {
+function t_e(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Uge(e) {
+function n_e(e) {
return e.index != null;
}
-var l0 = (e, t, n, r) => {
- if (t == null) return e0;
- var i = Hge(e, t, n);
- if (i == null) return e0;
+var u0 = (e, t, n, r) => {
+ if (t == null) return t0;
+ var i = t_e(e, t, n);
+ if (i == null) return t0;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (Uge(i)) {
- if (a) return c0(c0({}, i), {}, { active: !0 });
+ if (n_e(i)) {
+ if (a) return l0(l0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -55022,11 +55359,11 @@ var l0 = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return c0(c0({}, e0), {}, { coordinate: i.coordinate });
+ return l0(l0({}, t0), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function Wge(e) {
+function r_e(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -55035,25 +55372,25 @@ function Wge(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Gge(e, t) {
- var n = Wge(e), r = t[0], i = t[1];
+function i_e(e, t) {
+ var n = r_e(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function Kge(e, t, n) {
+function a_e(e, t, n) {
if (n == null || t == null) return !0;
- var r = WH(e, t);
- return r == null || !tY(n) || Gge(r, n);
+ var r = qH(e, t);
+ return r == null || !iY(n) || i_e(r, n);
}
-var u0 = (e, t, n, r) => {
+var d0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!LH(a)) return i;
+ if (!BH(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || Kge(l, n, r) ? String(c) : null;
-}, d0 = (e, t, n, r, i, a, o) => {
+ return l == null || a_e(l, n, r) ? String(c) : null;
+}, f0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -55069,7 +55406,7 @@ var u0 = (e, t, n, r) => {
};
}
}
-}, f0 = (e, t, n, r) => {
+}, p0 = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -55079,10 +55416,10 @@ var u0 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, p0 = (e) => e.options.tooltipPayloadSearcher, m0 = (e) => e.tooltip;
+}, m0 = (e) => e.options.tooltipPayloadSearcher, h0 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function h0(e, t) {
+function g0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55092,30 +55429,30 @@ function h0(e, t) {
}
return n;
}
-function g0(e) {
+function _0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? h0(Object(n), !0).forEach(function(t) {
- qge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {
+ t % 2 ? g0(Object(n), !0).forEach(function(t) {
+ o_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qge(e, t, n) {
- return (t = Jge(t)) in e ? Object.defineProperty(e, t, {
+function o_e(e, t, n) {
+ return (t = s_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jge(e) {
- var t = Yge(e, "string");
+function s_e(e) {
+ var t = c_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yge(e, t) {
+function c_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55125,222 +55462,222 @@ function Yge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Xge(e) {
+function l_e(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Zge(e) {
+function u_e(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function Qge(e) {
+function d_e(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function _0(e) {
+function v0(e) {
if (typeof e == "string") return e;
}
-function $ge(e) {
+function f_e(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Xge(e.name) : void 0,
- unit: "unit" in e ? Zge(e.unit) : void 0,
- dataKey: "dataKey" in e ? Qge(e.dataKey) : void 0,
+ name: "name" in e ? l_e(e.name) : void 0,
+ unit: "unit" in e ? u_e(e.unit) : void 0,
+ dataKey: "dataKey" in e ? d_e(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? _0(e.color) : void 0,
- fill: "fill" in e ? _0(e.fill) : void 0
+ color: "color" in e ? v0(e.color) : void 0,
+ fill: "fill" in e ? v0(e.fill) : void 0
};
}
-function e_e(e, t) {
+function p_e(e, t) {
return e ?? t;
}
-var v0 = (e, t, n, r, i, a, o) => {
+var y0 = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = e_e(d, s), m = Array.isArray(p) ? IH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? sz(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = p_e(d, s), m = Array.isArray(p) ? zH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? cz(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = $ge(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = f_e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = _0(_0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(cU({
+ e.push(dU({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: WH(a, i),
+ value: qH(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(cU({
+ }) : e.push(dU({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: WH(_, h),
- name: WH(_, g) ?? f?.name
+ value: qH(_, h),
+ name: qH(_, g) ?? f?.name
})), e;
}, []);
}
-}, y0 = $([
+}, b0 = $([
n1,
B$,
- xY
-], E$), b0 = $([
+ wY
+], E$), x0 = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
- $([rX, iX], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: tX } }), t_e = $([b0], (e) => e.filter($Y)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: tX } }), ZJ], J$), n_e = $([
- t_e,
- ZJ,
+ $([oX, sX], V$)
+], U$, { memoizeOptions: { resultEqualityCheck: iX } }), m_e = $([x0], (e) => e.filter(nX)), S0 = $([$([x0], q$, { memoizeOptions: { resultEqualityCheck: iX } }), eY], J$), h_e = $([
+ m_e,
+ eY,
n1
-], QY), S0 = $([
- x0,
+], tX), C0 = $([
+ S0,
n1,
- b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], rY), r_e = $([
+ x0
+], X$), w0 = $([n1], s1), T0 = $([w0, $([n1], (e) => e.allowDataOverflow)], oY), g_e = $([
$([
- n_e,
- $([b0], (e) => e.filter($Y)),
- yY,
- bY
+ h_e,
+ $([x0], (e) => e.filter(nX)),
+ SY,
+ CY
], i1),
- ZJ,
- rX,
- w0
-], o1), i_e = $([
- x0,
+ eY,
+ oX,
+ T0
+], o1), __e = $([
+ S0,
n1,
- $([b0], K$),
+ $([x0], K$),
u1,
- rX
-], f1, { memoizeOptions: { resultEqualityCheck: eX } }), a_e = $([$([
+ oX
+], f1, { memoizeOptions: { resultEqualityCheck: rX } }), v_e = $([$([
p1,
- rX,
- iX
-], m1), rX], _1), o_e = $([$([
+ oX,
+ sX
+], m1), oX], _1), y_e = $([$([
h1,
- rX,
- iX
-], m1), rX], v1), T0 = $([
+ oX,
+ sX
+], m1), oX], v1), E0 = $([
n1,
- pW,
- x0,
+ gW,
S0,
- yY,
- rX,
+ C0,
+ SY,
+ oX,
$([
n1,
- C0,
w0,
- r_e,
- i_e,
+ T0,
+ g_e,
+ __e,
$([
- a_e,
+ v_e,
$([$([
g1,
- rX,
- iX
- ], m1), rX], y1),
- o_e
+ oX,
+ sX
+ ], m1), oX], y1),
+ y_e
], d1),
- pW,
- rX
+ gW,
+ oX
], b1)
-], x1), s_e = $([
+], x1), b_e = $([
n1,
- T0,
+ E0,
$([
- T0,
+ E0,
n1,
- y0
+ b0
], w1),
- rX
-], E1), E0 = (e) => O1(e, rX(e), iX(e), !1), D0 = $([n1, E0], kY), O0 = $([$([
+ oX
+], E1), D0 = (e) => O1(e, oX(e), sX(e), !1), O0 = $([n1, D0], MY), k0 = $([$([
n1,
- y0,
- s_e,
- D0
-], T$)], aX), k0 = $([
- pW,
+ b0,
+ b_e,
+ O0
+], T$)], cX), A0 = $([
+ gW,
n1,
- y0,
- O0,
- E0,
+ b0,
+ k0,
+ D0,
$([
- pW,
- S0,
+ gW,
+ C0,
n1,
- rX
+ oX
], V1),
$([
- pW,
- S0,
+ gW,
+ C0,
n1,
- rX
+ oX
], j1),
- rX
+ oX
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = KH(e, s);
+ var { type: c } = t, l = YH(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? $R(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? ez(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(uz) : r.domain().map((e, t) => {
+ }).filter(dz) : r.domain().map((e, t) => {
var n = r.map(e);
- return LH(n) ? {
+ return BH(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(uz);
+ }).filter(dz);
}
}
-}), A0 = $([
+}), j0 = $([
Y1,
X1,
- Age
-], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
- m0,
- A0,
+ Uge
+], (e, t, n) => Z1(n.shared, e, t)), M0 = (e) => e.tooltip.settings.trigger, N0 = (e) => e.tooltip.settings.defaultIndex, P0 = $([
+ h0,
j0,
- M0
-], l0), P0 = $([
- N0,
- x0,
+ M0,
+ N0
+], u0), F0 = $([
+ P0,
+ S0,
r1,
- T0
-], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
+ E0
+], d0), I0 = $([A0, F0], e0), L0 = $([P0], (e) => {
if (e) return e.dataKey;
-}), c_e = $([N0], (e) => {
+}), x_e = $([P0], (e) => {
if (e) return e.graphicalItemId;
-}), L0 = $([
- m0,
- A0,
+}), R0 = $([
+ h0,
j0,
- M0
-], f0), l_e = $([N0, $([
- fU,
- pU,
- pW,
- kU,
- k0,
M0,
- L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), u_e = $([N0], (e) => e?.active ?? !1), d_e = $([$([
- L0,
- P0,
- ZJ,
- r1,
+ N0
+], p0), S_e = $([P0, $([
+ hU,
+ gU,
+ gW,
+ MU,
+ A0,
+ N0,
+ R0
+], f0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), C_e = $([P0], (e) => e?.active ?? !1), w_e = $([$([
+ R0,
F0,
- p0,
- A0
-], v0)], (e) => {
+ eY,
+ r1,
+ I0,
+ m0,
+ j0
+], y0)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -55348,7 +55685,7 @@ var v0 = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function R0(e, t) {
+function z0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55358,30 +55695,30 @@ function R0(e, t) {
}
return n;
}
-function z0(e) {
+function B0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R0(Object(n), !0).forEach(function(t) {
- f_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
+ t % 2 ? z0(Object(n), !0).forEach(function(t) {
+ T_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function f_e(e, t, n) {
- return (t = p_e(t)) in e ? Object.defineProperty(e, t, {
+function T_e(e, t, n) {
+ return (t = E_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function p_e(e) {
- var t = m_e(e, "string");
+function E_e(e) {
+ var t = D_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function m_e(e, t) {
+function D_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55391,13 +55728,13 @@ function m_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var h_e = () => Q(n1), g_e = () => {
- var e = h_e(), t = Q(k0), n = Q(O0);
- return sU(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+var O_e = () => Q(n1), k_e = () => {
+ var e = O_e(), t = Q(A0), n = Q(k0);
+ return uU(!e || !n ? void 0 : B0(B0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function B0(e, t) {
+function V0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55407,30 +55744,30 @@ function B0(e, t) {
}
return n;
}
-function V0(e) {
+function H0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? B0(Object(n), !0).forEach(function(t) {
- __e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
+ t % 2 ? V0(Object(n), !0).forEach(function(t) {
+ A_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function __e(e, t, n) {
- return (t = v_e(t)) in e ? Object.defineProperty(e, t, {
+function A_e(e, t, n) {
+ return (t = j_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function v_e(e) {
- var t = y_e(e, "string");
+function j_e(e) {
+ var t = M_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function y_e(e, t) {
+function M_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55440,7 +55777,7 @@ function y_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b_e = (e, t, n, r) => {
+var N_e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -55456,18 +55793,18 @@ var b_e = (e, t, n, r) => {
x: 0,
y: 0
};
-}, x_e = (e, t, n, r) => {
+}, P_e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return V0(V0(V0({}, r), wJ(r.cx, r.cy, o, a)), {}, {
+ return H0(H0(H0({}, r), DJ(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return V0(V0(V0({}, r), wJ(r.cx, r.cy, s, c)), {}, {
+ return H0(H0(H0({}, r), DJ(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -55486,19 +55823,19 @@ var b_e = (e, t, n, r) => {
y: 0
};
};
-function S_e(e, t) {
+function F_e(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var H0 = (e, t, n, r, i) => {
+var U0 = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if ($R(c - s) !== $R(l - c)) {
+ if (ez(c - s) !== ez(l - c)) {
var d = [];
- if ($R(l - c) === $R(i[1] - i[0])) {
+ if (ez(l - c) === ez(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -55523,78 +55860,78 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(xY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, C_e = $(k0, (e) => nB(e, (e) => e.coordinate)), q0 = $([
- m0,
- W0,
+}, W0 = () => Q(wY), G0 = (e, t) => t, K0 = (e, t, n) => n, q0 = (e, t, n, r) => r, I_e = $(A0, (e) => rB(e, (e) => e.coordinate)), J0 = $([
+ h0,
G0,
- K0
-], l0), J0 = $([
- q0,
- x0,
+ K0,
+ q0
+], u0), Y0 = $([
+ J0,
+ S0,
r1,
- T0
-], u0), w_e = (e, t, n) => {
+ E0
+], d0), L_e = (e, t, n) => {
if (t != null) {
- var r = m0(e);
+ var r = h0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, Y0 = $([
- m0,
- W0,
+}, X0 = $([
+ h0,
G0,
- K0
-], f0), X0 = $([
- fU,
- pU,
- pW,
- kU,
- k0,
K0,
- Y0
-], d0), T_e = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), E_e = $([
+ q0
+], p0), Z0 = $([
+ hU,
+ gU,
+ gW,
+ MU,
+ A0,
+ q0,
+ X0
+], f0), R_e = $([J0, Z0], (e, t) => e.coordinate ?? t), Q0 = $([A0, Y0], e0), z_e = $([
+ X0,
Y0,
- J0,
- ZJ,
+ eY,
r1,
- Z0,
- p0,
- W0
-], v0), D_e = $([q0, J0], (e, t) => ({
+ Q0,
+ m0,
+ G0
+], y0), B_e = $([J0, Y0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), O_e = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && S_e(e, o)) {
- var s = H0(uU(e, t), a, i, n, r), c = b_e(t, i, s, e);
+})), V_e = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && F_e(e, o)) {
+ var s = U0(pU(e, t), a, i, n, r), c = N_e(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, k_e = (e, t, n, r, i, a, o) => {
+}, H_e = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = AJ(e, n);
+ var s = NJ(e, n);
if (s) {
- var c = H0(dU(s, t), o, a, r, i), l = x_e(t, a, c, s);
+ var c = U0(mU(s, t), o, a, r, i), l = P_e(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, A_e = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? O_e(e, t, r, i, a, o, s) : k_e(e, t, n, r, i, a, o);
-}, j_e = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, U_e = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? V_e(e, t, r, i, a, o, s) : H_e(e, t, n, r, i, a, o);
+}, W_e = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), M_e = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(EY));
+}), G_e = $((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(kY));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: nX } });
+}, { memoizeOptions: { resultEqualityCheck: aX } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function Q0(e, t) {
+function $0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55604,30 +55941,30 @@ function Q0(e, t) {
}
return n;
}
-function $0(e) {
+function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Q0(Object(n), !0).forEach(function(t) {
- N_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {
+ t % 2 ? $0(Object(n), !0).forEach(function(t) {
+ K_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function N_e(e, t, n) {
- return (t = P_e(t)) in e ? Object.defineProperty(e, t, {
+function K_e(e, t, n) {
+ return (t = q_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function P_e(e) {
- var t = F_e(e, "string");
+function q_e(e) {
+ var t = J_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function F_e(e, t) {
+function J_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55637,17 +55974,17 @@ function F_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var I_e = { zIndexMap: Object.values(EY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var Y_e = { zIndexMap: Object.values(kY).reduce((e, t) => e2(e2({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, L_e = new Set(Object.values(EY));
-function R_e(e) {
- return L_e.has(e);
+} }), {}) }, X_e = new Set(Object.values(kY));
+function Z_e(e) {
+ return X_e.has(e);
}
-var e2 = HV({
+var t2 = GV({
name: "zIndex",
- initialState: I_e,
+ initialState: Y_e,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -55658,61 +55995,61 @@ var e2 = HV({
panoramaElement: void 0
};
},
- prepare: kV()
+ prepare: AV()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !R_e(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Z_e(n) && delete e.zIndexMap[n]);
},
- prepare: kV()
+ prepare: AV()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = hG(r) : e.zIndexMap[n].element = hG(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = vG(r) : e.zIndexMap[n].element = vG(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : hG(r),
- panoramaElement: i ? hG(r) : void 0
+ element: i ? void 0 : vG(r),
+ panoramaElement: i ? vG(r) : void 0
};
},
- prepare: kV()
+ prepare: AV()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: kV()
+ prepare: AV()
}
}
-}), { registerZIndexPortal: z_e, unregisterZIndexPortal: B_e, registerZIndexPortalElement: V_e, unregisterZIndexPortalElement: H_e } = e2.actions, U_e = e2.reducer;
+}), { registerZIndexPortal: Q_e, unregisterZIndexPortal: $_e, registerZIndexPortalElement: eve, unregisterZIndexPortalElement: tve } = t2.actions, nve = t2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function t2(e) {
- var { zIndex: t, children: n } = e, r = vW() && t !== void 0 && t !== 0, i = NU(), a = Jz();
- (0, I.useLayoutEffect)(() => r ? (a(z_e({ zIndex: t })), () => {
- a(B_e({ zIndex: t }));
- }) : dz, [
+function n2(e) {
+ var { zIndex: t, children: n } = e, r = xW() && t !== void 0 && t !== 0, i = IU(), a = Yz();
+ (0, I.useLayoutEffect)(() => r ? (a(Q_e({ zIndex: t })), () => {
+ a($_e({ zIndex: t }));
+ }) : fz, [
a,
t,
r
]);
- var o = Q((e) => j_e(e, t, i));
- return r ? o ? /*#__PURE__*/ (0, vh.createPortal)(n, o) : null : n;
+ var o = Q((e) => W_e(e, t, i));
+ return r ? o ? /*#__PURE__*/ (0, yh.createPortal)(n, o) : null : n;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function n2() {
- return n2 = Object.assign ? Object.assign.bind() : function(e) {
+function r2() {
+ return r2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, n2.apply(null, arguments);
+ }, r2.apply(null, arguments);
}
-function r2(e, t) {
+function i2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55722,30 +56059,30 @@ function r2(e, t) {
}
return n;
}
-function i2(e) {
+function a2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? r2(Object(n), !0).forEach(function(t) {
- W_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
+ t % 2 ? i2(Object(n), !0).forEach(function(t) {
+ rve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function W_e(e, t, n) {
- return (t = G_e(t)) in e ? Object.defineProperty(e, t, {
+function rve(e, t, n) {
+ return (t = ive(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function G_e(e) {
- var t = K_e(e, "string");
+function ive(e) {
+ var t = ave(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function K_e(e, t) {
+function ave(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55755,18 +56092,18 @@ function K_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function q_e(e) {
+function ove(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, I.isValidElement)(t) ? /*#__PURE__*/ (0, I.cloneElement)(t, r) : /*#__PURE__*/ (0, I.createElement)(n, r);
}
-function J_e(e) {
+function sve(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = iq, h = EY.cursorLine;
- else if (l === "BarChart") p = aq(o, u, i, a), m = hJ, h = EY.cursorRectangle;
- else if (o === "radial" && _z(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = jJ(u);
+ if (l === "ScatterChart") p = u, m = sq, h = kY.cursorLine;
+ else if (l === "BarChart") p = cq(o, u, i, a), m = vJ, h = kY.cursorRectangle;
+ else if (o === "radial" && vz(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = PJ(u);
p = {
cx: g,
cy: _,
@@ -55774,25 +56111,25 @@ function J_e(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = KJ, h = EY.cursorLine;
- } else p = { points: qJ(o, u, i) }, m = qK, h = EY.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
+ }, m = YJ, h = kY.cursorLine;
+ } else p = { points: XJ(o, u, i) }, m = XK, h = kY.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = a2(a2(a2(a2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), KL(s)), {}, {
+ }, i), p), qL(s)), {}, {
payload: d,
payloadIndex: f,
- className: Um("recharts-tooltip-cursor", x)
+ className: Wm("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(q_e, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(ove, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function Y_e(e) {
- var t = g_e(), n = lW(), r = mW(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(J_e, n2({}, e, {
+function cve(e) {
+ var t = k_e(), n = fW(), r = _W(), i = W0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(sve, r2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -55801,7 +56138,7 @@ function Y_e(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, I.createContext)(null), X_e = () => (0, I.useContext)(a2), Z_e = (/* @__PURE__ */ P((/* @__PURE__ */ j(((e, t) => {
+var o2 = /*#__PURE__*/ (0, I.createContext)(null), lve = () => (0, I.useContext)(o2), uve = (/* @__PURE__ */ te((/* @__PURE__ */ M(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -55888,12 +56225,12 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), X_e = () => (0, I.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, o2 = new Z_e(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, s2 = new uve(), c2 = "recharts.syncEvent.tooltip", l2 = "recharts.syncEvent.brush", u2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!ez(n)) return e[n];
+ if (!tz(n)) return e[n];
}
-}, u2 = HV({
+}, d2 = GV({
name: "options",
initialState: {
chartName: "",
@@ -55904,13 +56241,13 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), X_e = () => (0, I.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Q_e = u2.reducer, { createEventEmitter: $_e } = u2.actions;
+}), dve = d2.reducer, { createEventEmitter: fve } = d2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function eve(e) {
+function pve(e) {
return e.tooltip.syncInteraction;
}
-var d2 = HV({
+var f2 = GV({
name: "chartData",
initialState: {
chartData: void 0,
@@ -55920,7 +56257,7 @@ var d2 = HV({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = hG(t.payload), t.payload == null) {
+ if (e.chartData = vG(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -55934,8 +56271,8 @@ var d2 = HV({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: tve, setComputedData: nve } = d2.actions, rve = d2.reducer, ive = ["x", "y"];
-function p2(e, t) {
+}), { setChartData: p2, setDataStartEndIndexes: mve, setComputedData: hve } = f2.actions, gve = f2.reducer, _ve = ["x", "y"];
+function m2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55945,30 +56282,30 @@ function p2(e, t) {
}
return n;
}
-function m2(e) {
+function h2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? p2(Object(n), !0).forEach(function(t) {
- ave(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
+ t % 2 ? m2(Object(n), !0).forEach(function(t) {
+ vve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ave(e, t, n) {
- return (t = ove(t)) in e ? Object.defineProperty(e, t, {
+function vve(e, t, n) {
+ return (t = yve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ove(e) {
- var t = sve(e, "string");
+function yve(e) {
+ var t = bve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sve(e, t) {
+function bve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55978,16 +56315,16 @@ function sve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cve(e, t) {
+function xve(e, t) {
if (e == null) return {};
- var n, r, i = lve(e, t);
+ var n, r, i = Sve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function lve(e, t) {
+function Sve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55996,20 +56333,20 @@ function lve(e, t) {
}
return n;
}
-function uve() {
- var e = Q(SY), t = Q(wY), n = Jz(), r = Q(CY), i = Q(k0), a = mW(), o = sW(), s = Q((e) => e.rootProps.className);
+function Cve() {
+ var e = Q(TY), t = Q(DY), n = Yz(), r = Q(EY), i = Q(A0), a = _W(), o = uW(), s = Q((e) => e.rootProps.className);
(0, I.useEffect)(() => {
- if (e == null) return dz;
+ if (e == null) return fz;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = cve(d, ive), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = xve(d, _ve), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = h2(h2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
- n(m2(m2({}, c), {}, { payload: m2(m2({}, c.payload), {}, { coordinate: y }) }));
+ n(h2(h2({}, c), {}, { payload: h2(h2({}, c.payload), {}, { coordinate: y }) }));
} else n(c);
return;
}
@@ -56025,7 +56362,7 @@ function uve() {
})] : r === "value" && (b = i.find((e) => String(e.value) === c.payload.label));
var { coordinate: x } = c.payload;
if (b == null || c.payload.active === !1 || x == null || o == null) {
- n(a0({
+ n(o0({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -56040,7 +56377,7 @@ function uve() {
x: a === "horizontal" ? b.coordinate : w,
y: a === "horizontal" ? T : b.coordinate
};
- n(a0({
+ n(o0({
active: c.payload.active,
coordinate: E,
dataKey: c.payload.dataKey,
@@ -56052,8 +56389,8 @@ function uve() {
}
}
};
- return o2.on(s2, s), () => {
- o2.off(s2, s);
+ return s2.on(c2, s), () => {
+ s2.off(c2, s);
};
}, [
s,
@@ -56066,15 +56403,15 @@ function uve() {
o
]);
}
-function dve() {
- var e = Q(SY), t = Q(wY), n = Jz();
+function wve() {
+ var e = Q(TY), t = Q(DY), n = Yz();
(0, I.useEffect)(() => {
- if (e == null) return dz;
+ if (e == null) return fz;
var r = (r, i, a) => {
- t !== a && e === r && n(tve(i));
+ t !== a && e === r && n(mve(i));
};
- return o2.on(c2, r), () => {
- o2.off(c2, r);
+ return s2.on(l2, r), () => {
+ s2.off(l2, r);
};
}, [
n,
@@ -56082,17 +56419,17 @@ function dve() {
e
]);
}
-function fve() {
- var e = Jz();
+function Tve() {
+ var e = Yz();
(0, I.useEffect)(() => {
- e($_e());
- }, [e]), uve(), dve();
+ e(fve());
+ }, [e]), Cve(), wve();
}
-function pve(e, t, n, r, i, a) {
- var o = Q((n) => w_e(n, e, t)), s = Q(c_e), c = Q(wY), l = Q(SY), u = Q(CY), d = Q(eve)?.active, f = sW();
+function Eve(e, t, n, r, i, a) {
+ var o = Q((n) => L_e(n, e, t)), s = Q(x_e), c = Q(DY), l = Q(TY), u = Q(EY), d = Q(pve)?.active, f = uW();
(0, I.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = a0({
+ var e = o0({
active: a,
coordinate: n,
dataKey: o,
@@ -56101,7 +56438,7 @@ function pve(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- o2.emit(s2, l, e, c);
+ s2.emit(c2, l, e, c);
}
}, [
d,
@@ -56119,7 +56456,7 @@ function pve(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function h2(e, t) {
+function g2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56129,30 +56466,30 @@ function h2(e, t) {
}
return n;
}
-function g2(e) {
+function _2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? h2(Object(n), !0).forEach(function(t) {
- mve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {
+ t % 2 ? g2(Object(n), !0).forEach(function(t) {
+ Dve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mve(e, t, n) {
- return (t = hve(t)) in e ? Object.defineProperty(e, t, {
+function Dve(e, t, n) {
+ return (t = Ove(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hve(e) {
- var t = gve(e, "string");
+function Ove(e) {
+ var t = kve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gve(e, t) {
+function kve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56162,13 +56499,13 @@ function gve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function _ve(e) {
+function Ave(e) {
return e.dataKey;
}
-function vve(e, t) {
- return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(hK, t);
+function jve(e, t) {
+ return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(vK, t);
}
-var _2 = [], yve = {
+var v2 = [], Mve = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -56194,10 +56531,10 @@ var _2 = [], yve = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function bve(e) {
- var t = xz(e, yve), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = Jz(), S = typeof v == "number" ? String(v) : v;
+function Nve(e) {
+ var t = Sz(e, Mve), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = Yz(), S = typeof v == "number" ? String(v) : v;
(0, I.useEffect)(() => {
- x(Pge({
+ x(qge({
shared: g,
trigger: _,
axisId: b,
@@ -56212,20 +56549,20 @@ function bve(e) {
n,
S
]);
- var C = sW(), w = MK(), T = kge(g), { activeIndex: E, isActive: D } = Q((e) => D_e(e, T, _, S)) ?? {}, O = Q((e) => E_e(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => T_e(e, T, _, S)), j = O, M = X_e(), N = n ?? D ?? !1, [P, ee] = aB([j, N]), F = T === "axis" ? k : void 0;
- pve(T, _, A, F, E, N);
- var te = y ?? M;
- if (te == null || C == null || T == null) return null;
- var ne = j ?? _2;
- N || (ne = _2), s && ne.length && (ne = Kz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, _ve));
- var re = ne.length > 0, L = g2(g2({}, t), {}, {
+ var C = uW(), w = FK(), T = $1(g), { activeIndex: E, isActive: D } = Q((e) => B_e(e, T, _, S)) ?? {}, O = Q((e) => z_e(e, T, _, S)), k = Q((e) => Q0(e, T, _, S)), A = Q((e) => R_e(e, T, _, S)), j = O, M = lve(), N = n ?? D ?? !1, [ee, te] = oB([j, N]), P = T === "axis" ? k : void 0;
+ Eve(T, _, A, P, E, N);
+ var F = y ?? M;
+ if (F == null || C == null || T == null) return null;
+ var ne = j ?? v2;
+ N || (ne = v2), s && ne.length && (ne = qz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Ave));
+ var re = ne.length > 0, ie = _2(_2({}, t), {}, {
payload: ne,
- label: F,
+ label: P,
active: N,
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ie = /*#__PURE__*/ I.createElement(jK, {
+ }), L = /*#__PURE__*/ I.createElement(PK, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -56239,11 +56576,11 @@ function bve(e) {
useTranslate3d: p,
viewBox: C,
wrapperStyle: m,
- lastBoundingBox: P,
- innerRef: ee,
+ lastBoundingBox: ee,
+ innerRef: te,
hasPortalFromProps: !!y
- }, vve(o, L));
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, vh.createPortal)(ie, te), N && /*#__PURE__*/ I.createElement(Y_e, {
+ }, jve(o, ie));
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, yh.createPortal)(L, F), N && /*#__PURE__*/ I.createElement(cve, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -56253,23 +56590,23 @@ function bve(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var v2 = (e) => null;
-v2.displayName = "Cell";
+var y2 = (e) => null;
+y2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function xve(e, t, n) {
- return (t = Sve(t)) in e ? Object.defineProperty(e, t, {
+function Pve(e, t, n) {
+ return (t = Fve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sve(e) {
- var t = Cve(e, "string");
+function Fve(e) {
+ var t = Ive(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cve(e, t) {
+function Ive(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56279,9 +56616,9 @@ function Cve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wve = class {
+var Lve = class {
constructor(e) {
- xve(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ Pve(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -56304,7 +56641,7 @@ var wve = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function y2(e, t) {
+function b2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56314,30 +56651,30 @@ function y2(e, t) {
}
return n;
}
-function Tve(e) {
+function Rve(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? y2(Object(n), !0).forEach(function(t) {
- Eve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
+ t % 2 ? b2(Object(n), !0).forEach(function(t) {
+ zve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eve(e, t, n) {
- return (t = Dve(t)) in e ? Object.defineProperty(e, t, {
+function zve(e, t, n) {
+ return (t = Bve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dve(e) {
- var t = Ove(e, "string");
+function Bve(e) {
+ var t = Vve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ove(e, t) {
+function Vve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56347,10 +56684,10 @@ function Ove(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = Tve({}, {
+var x2 = Rve({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new wve(b2.cacheSize), kve = {
+}), S2 = new Lve(x2.cacheSize), Hve = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -56358,14 +56695,14 @@ var b2 = Tve({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, S2 = "recharts_measurement_span";
-function Ave(e, t) {
+}, C2 = "recharts_measurement_span";
+function Uve(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var C2 = (e, t) => {
+var w2 = (e, t) => {
try {
- var n = document.getElementById(S2);
- n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, kve, t), n.textContent = `${e}`;
+ var n = document.getElementById(C2);
+ n || (n = document.createElement("span"), n.setAttribute("id", C2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Hve, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -56377,31 +56714,31 @@ var C2 = (e, t) => {
height: 0
};
}
-}, w2 = function(e) {
+}, T2 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || SK.isSsr) return {
+ if (e == null || TK.isSsr) return {
width: 0,
height: 0
};
- if (!b2.enableCache) return C2(e, t);
- var n = Ave(e, t), r = x2.get(n);
+ if (!x2.enableCache) return w2(e, t);
+ var n = Uve(e, t), r = S2.get(n);
if (r) return r;
- var i = C2(e, t);
- return x2.set(n, i), i;
-}, T2;
-function jve(e, t, n) {
- return (t = Mve(t)) in e ? Object.defineProperty(e, t, {
+ var i = w2(e, t);
+ return S2.set(n, i), i;
+}, E2;
+function Wve(e, t, n) {
+ return (t = Gve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Mve(e) {
- var t = Nve(e, "string");
+function Gve(e) {
+ var t = Kve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Nve(e, t) {
+function Kve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56411,7 +56748,7 @@ function Nve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Pve = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Fve = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Ive = {
+var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, qve = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Jve = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Yve = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -56419,7 +56756,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Lve = [
+}, Xve = [
"cm",
"mm",
"pt",
@@ -56428,20 +56765,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function Rve(e) {
- return Lve.includes(e);
+function Zve(e) {
+ return Xve.includes(e);
}
-var O2 = "NaN";
-function zve(e, t) {
- return e * Ive[t];
+var k2 = "NaN";
+function Qve(e, t) {
+ return e * Yve[t];
}
-var k2 = class e {
+var A2 = class e {
static parse(t) {
- var [, n, r] = Fve.exec(t) ?? [];
+ var [, n, r] = Jve.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, ez(e) && (this.unit = ""), t !== "" && !Pve.test(t) && (this.num = NaN, this.unit = ""), Rve(t) && (this.num = zve(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, tz(e) && (this.unit = ""), t !== "" && !qve.test(t) && (this.num = NaN, this.unit = ""), Zve(t) && (this.num = Qve(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -56459,50 +56796,50 @@ var k2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return ez(this.num);
+ return tz(this.num);
}
};
-T2 = k2, jve(k2, "NaN", new T2(NaN, ""));
-function A2(e) {
- if (e == null || e.includes(O2)) return O2;
+E2 = A2, Wve(A2, "NaN", new E2(NaN, ""));
+function j2(e) {
+ if (e == null || e.includes(k2)) return k2;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = E2.exec(t) ?? [], a = k2.parse(n ?? ""), o = k2.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return O2;
- t = t.replace(E2, s.toString());
+ var [, n, r, i] = D2.exec(t) ?? [], a = A2.parse(n ?? ""), o = A2.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return k2;
+ t = t.replace(D2, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = D2.exec(t) ?? [], d = k2.parse(c ?? ""), f = k2.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return O2;
- t = t.replace(D2, p.toString());
+ var [, c, l, u] = O2.exec(t) ?? [], d = A2.parse(c ?? ""), f = A2.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return k2;
+ t = t.replace(O2, p.toString());
}
return t;
}
-var j2 = /\(([^()]*)\)/;
-function Bve(e) {
- for (var t = e, n; (n = j2.exec(t)) != null;) {
+var M2 = /\(([^()]*)\)/;
+function $ve(e) {
+ for (var t = e, n; (n = M2.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(j2, A2(r));
+ t = t.replace(M2, j2(r));
}
return t;
}
-function Vve(e) {
+function eye(e) {
var t = e.replace(/\s+/g, "");
- return t = Bve(t), t = A2(t), t;
+ return t = $ve(t), t = j2(t), t;
}
-function Hve(e) {
+function tye(e) {
try {
- return Vve(e);
+ return eye(e);
} catch {
- return O2;
+ return k2;
}
}
-function M2(e) {
- var t = Hve(e.slice(5, -1));
- return t === O2 ? "" : t;
+function N2(e) {
+ var t = tye(e.slice(5, -1));
+ return t === k2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var Uve = [
+var nye = [
"x",
"y",
"lineHeight",
@@ -56511,32 +56848,32 @@ var Uve = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], Wve = [
+], rye = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function N2() {
- return N2 = Object.assign ? Object.assign.bind() : function(e) {
+function P2() {
+ return P2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, N2.apply(null, arguments);
+ }, P2.apply(null, arguments);
}
-function P2(e, t) {
+function F2(e, t) {
if (e == null) return {};
- var n, r, i = Gve(e, t);
+ var n, r, i = iye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Gve(e, t) {
+function iye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56545,28 +56882,28 @@ function Gve(e, t) {
}
return n;
}
-var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
+var I2 = /[ \f\n\r\t\v\u2028\u2029]+/, L2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return cz(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return lz(t) || (i = n ? t.toString().split("") : t.toString().split(I2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: w2(e, r).width
+ width: T2(e, r).width
})),
- spaceWidth: n ? 0 : w2("\xA0", r).width
+ spaceWidth: n ? 0 : T2("\xA0", r).width
};
} catch {
return null;
}
};
-function L2(e) {
+function R2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function Kve(e) {
- return cz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function aye(e) {
+ return lz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var R2 = (e, t, n, r) => e.reduce((e, i) => {
+var z2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -56577,20 +56914,20 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), qve = "…", B2 = (e, t, n, r, i, a, o, s) => {
- var c = I2({
+}, []), B2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), oye = "…", V2 = (e, t, n, r, i, a, o, s) => {
+ var c = L2({
breakAll: n,
style: r,
- children: e.slice(0, t) + qve
+ children: e.slice(0, t) + oye
});
if (!c) return [!1, []];
- var l = R2(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || z2(l).width > Number(a), l];
-}, Jve = (e, t, n, r, i) => {
- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
- if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
+ var l = z2(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || B2(l).width > Number(a), l];
+}, sye = (e, t, n, r, i) => {
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = z2(t, r, n, i);
+ if (!l || i || !(d.length > a || B2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = B2(u, g - 1, c, s, a, r, n, i), [y] = B2(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = V2(u, g - 1, c, s, a, r, n, i), [y] = V2(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -56598,13 +56935,13 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, V2 = (e) => [{
- words: cz(e) ? [] : e.toString().split(F2),
+}, H2 = (e) => [{
+ words: lz(e) ? [] : e.toString().split(I2),
width: void 0
-}], Yve = (e) => {
+}], cye = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !SK.isSsr) {
- var s, c, l = I2({
+ if ((t || n) && !TK.isSsr) {
+ var s, c, l = L2({
breakAll: a,
children: r,
style: i
@@ -56612,28 +56949,28 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return V2(r);
- return Jve({
+ } else return H2(r);
+ return sye({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return V2(r);
-}, H2 = "#808080", Xve = {
+ return H2(r);
+}, U2 = "#808080", lye = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: H2,
+ fill: U2,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, U2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = xz(e, Xve), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, Uve), f = (0, I.useMemo)(() => Yve({
+}, W2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = Sz(e, lye), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = F2(n, nye), f = (0, I.useMemo)(() => cye({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -56647,32 +56984,32 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, Wve);
- if (!nz(r) || !nz(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = F2(d, rye);
+ if (!rz(r) || !rz(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!LH(y) || !LH(b)) return null;
+ if (!BH(y) || !BH(b)) return null;
var x;
switch (u) {
case "start":
- x = M2(`calc(${o})`);
+ x = N2(`calc(${o})`);
break;
case "middle":
- x = M2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = N2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = M2(`calc(${f.length - 1} * -${a})`);
+ default: x = N2(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, qL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", P2({}, JL(v), {
ref: t,
x: y,
y: b,
- className: Um("recharts-text", g),
+ className: Wm("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? H2 : s
+ fill: s.includes("url") ? U2 : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ I.createElement("tspan", {
@@ -56682,10 +57019,10 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-U2.displayName = "Text";
+W2.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function W2(e, t) {
+function G2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56695,30 +57032,30 @@ function W2(e, t) {
}
return n;
}
-function G2(e) {
+function K2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? W2(Object(n), !0).forEach(function(t) {
- Zve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
+ t % 2 ? G2(Object(n), !0).forEach(function(t) {
+ uye(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Zve(e, t, n) {
- return (t = Qve(t)) in e ? Object.defineProperty(e, t, {
+function uye(e, t, n) {
+ return (t = dye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qve(e) {
- var t = $ve(e, "string");
+function dye(e) {
+ var t = fye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $ve(e, t) {
+function fye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56728,8 +57065,8 @@ function $ve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var eye = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = oW(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var pye = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = lW(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -56770,68 +57107,68 @@ var eye = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? G2({
+ return n === "insideLeft" ? K2({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? G2({
+ }, k) : n === "insideRight" ? K2({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? G2({
+ }, k) : n === "insideTop" ? K2({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? G2({
+ }, k) : n === "insideBottom" ? K2({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? G2({
+ }, k) : n === "insideTopLeft" ? K2({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? G2({
+ }, k) : n === "insideTopRight" ? K2({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? G2({
+ }, k) : n === "insideBottomLeft" ? K2({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? G2({
+ }, k) : n === "insideBottomRight" ? K2({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || tz(n.x)) && (Z(n.y) || tz(n.y)) ? G2({
- x: o + iz(n.x, m),
- y: s + iz(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || nz(n.x)) && (Z(n.y) || nz(n.y)) ? K2({
+ x: o + az(n.x, m),
+ y: s + az(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : G2({
+ }, k) : K2({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, tye = ["labelRef"], nye = ["content"];
-function K2(e, t) {
+}, mye = ["labelRef"], hye = ["content"];
+function q2(e, t) {
if (e == null) return {};
- var n, r, i = rye(e, t);
+ var n, r, i = gye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function rye(e, t) {
+function gye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56840,7 +57177,7 @@ function rye(e, t) {
}
return n;
}
-function q2(e, t) {
+function J2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56850,30 +57187,30 @@ function q2(e, t) {
}
return n;
}
-function J2(e) {
+function Y2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q2(Object(n), !0).forEach(function(t) {
- iye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(t) {
+ t % 2 ? J2(Object(n), !0).forEach(function(t) {
+ _ye(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iye(e, t, n) {
- return (t = aye(t)) in e ? Object.defineProperty(e, t, {
+function _ye(e, t, n) {
+ return (t = vye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aye(e) {
- var t = oye(e, "string");
+function vye(e) {
+ var t = yye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oye(e, t) {
+function yye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56883,16 +57220,16 @@ function oye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Y2() {
- return Y2 = Object.assign ? Object.assign.bind() : function(e) {
+function X2() {
+ return X2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Y2.apply(null, arguments);
+ }, X2.apply(null, arguments);
}
-var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
+var Z2 = /*#__PURE__*/ (0, I.createContext)(null), Q2 = (e) => {
var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, I.useMemo)(() => ({
x: t,
y: n,
@@ -56908,11 +57245,11 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
a,
o
]);
- return /*#__PURE__*/ I.createElement(X2.Provider, { value: c }, s);
-}, Q2 = () => {
- var e = (0, I.useContext)(X2), t = sW();
- return e || (t ? oW(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, I.createContext)(null), sye = (e) => {
+ return /*#__PURE__*/ I.createElement(Z2.Provider, { value: c }, s);
+}, $2 = () => {
+ var e = (0, I.useContext)(Z2), t = uW();
+ return e || (t ? lW(t) : void 0);
+}, e4 = /*#__PURE__*/ (0, I.createContext)(null), bye = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, I.useMemo)(() => ({
cx: t,
cy: n,
@@ -56930,15 +57267,15 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
o,
s
]);
- return /*#__PURE__*/ I.createElement($2.Provider, { value: l }, c);
-}, e4 = () => {
- var e = (0, I.useContext)($2), t = Q(JY);
+ return /*#__PURE__*/ I.createElement(e4.Provider, { value: l }, c);
+}, t4 = () => {
+ var e = (0, I.useContext)(e4), t = Q(ZY);
return e || t;
-}, cye = (e) => {
- var { value: t, formatter: n } = e, r = cz(e.children) ? t : e.children;
+}, xye = (e) => {
+ var { value: t, formatter: n } = e, r = lz(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", lye = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 360), uye = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = lye(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, n4 = (e) => e != null && typeof e == "function", Sye = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 360), Cye = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = Sye(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -56952,20 +57289,20 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = wJ(s, c, m, _), b = wJ(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = DJ(s, c, m, _), b = DJ(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = cz(e.id) ? rz("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ I.createElement("text", Y2({}, r, {
+ ${b.x},${b.y}`, S = lz(e.id) ? iz("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ I.createElement("text", X2({}, r, {
dominantBaseline: "central",
- className: Um("recharts-radial-bar-label", o)
+ className: Wm("recharts-radial-bar-label", o)
}), /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("path", {
id: S,
d: x
})), /*#__PURE__*/ I.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, dye = (e, t, n) => {
+}, wye = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
- var { x: u, y: d } = wJ(r, i, o + t, l);
+ var { x: u, y: d } = DJ(r, i, o + t, l);
return {
x: u,
y: d,
@@ -56991,22 +57328,22 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = wJ(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = DJ(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), fye = {
+}, r4 = (e) => e != null && "cx" in e && Z(e.cx), Tye = {
angle: 0,
offset: 5,
- zIndex: EY.label,
+ zIndex: kY.label,
position: "middle",
textBreakAll: !1
};
-function pye(e) {
- if (!n4(e)) return e;
+function Eye(e) {
+ if (!r4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -57017,100 +57354,100 @@ function pye(e) {
height: i
};
}
-function r4(e) {
- var t = xz(e, fye), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : oW(n), m, h, g = pye(p);
- if (!p || cz(a) && cz(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
- var _ = J2(J2({}, t), {}, { viewBox: p });
+function i4(e) {
+ var t = Sz(e, Tye), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = t4(), f = $2(), p = n == null ? i === "center" ? f : d ?? f : r4(n) ? n : lW(n), m, h, g = Eye(p);
+ if (!p || lz(a) && lz(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
+ var _ = Y2(Y2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, I.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, tye);
+ var { labelRef: v } = _, y = q2(_, mye);
return /*#__PURE__*/ (0, I.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, nye);
+ var { content: b } = _, x = q2(_, hye);
if (m = /*#__PURE__*/ (0, I.createElement)(s, x), /*#__PURE__*/ (0, I.isValidElement)(m)) return m;
- } else m = cye(t);
- var S = qL(t);
- if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return uye(t, i, m, S, p);
- h = dye(p, t.offset, t.position);
+ } else m = xye(t);
+ var S = JL(t);
+ if (r4(p)) {
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return Cye(t, i, m, S, p);
+ h = wye(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = eye({
+ var C = pye({
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: n4(r) ? void 0 : r,
+ parentViewBox: r4(r) ? void 0 : r,
clamp: !0
});
- h = J2(J2({
+ h = Y2(Y2({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(U2, Y2({
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(W2, X2({
ref: u,
- className: Um("recharts-label", c)
+ className: Wm("recharts-label", c)
}, S, h, {
- textAnchor: L2(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: R2(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-r4.displayName = "Label";
-var i4 = (e, t, n) => {
+i4.displayName = "Label";
+var a4 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : nz(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ I.createElement(i4, X2({ key: "label-implicit" }, r)) : rz(e) ? /*#__PURE__*/ I.createElement(i4, X2({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, I.isValidElement)(e) ? e.type === r4 ? /*#__PURE__*/ (0, I.cloneElement)(e, J2({ key: "label-implicit" }, r)) : /*#__PURE__*/ I.createElement(r4, Y2({
+ }, r)) : /*#__PURE__*/ (0, I.isValidElement)(e) ? e.type === i4 ? /*#__PURE__*/ (0, I.cloneElement)(e, Y2({ key: "label-implicit" }, r)) : /*#__PURE__*/ I.createElement(i4, X2({
key: "label-implicit",
content: e
- }, r)) : t4(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
+ }, r)) : n4(e) ? /*#__PURE__*/ I.createElement(i4, X2({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ I.createElement(r4, Y2({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ I.createElement(i4, X2({}, e, { key: "label-implicit" }, r)) : null;
};
-function a4(e) {
+function o4(e) {
var { label: t, labelRef: n } = e;
- return i4(t, Q2(), n) || null;
+ return a4(t, $2(), n) || null;
}
-function mye(e) {
+function Dye(e) {
var { label: t } = e;
- return i4(t, e4()) || null;
+ return a4(t, t4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var hye = ["valueAccessor"], gye = [
+var Oye = ["valueAccessor"], kye = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function o4() {
- return o4 = Object.assign ? Object.assign.bind() : function(e) {
+function s4() {
+ return s4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, o4.apply(null, arguments);
+ }, s4.apply(null, arguments);
}
-function s4(e, t) {
+function c4(e, t) {
if (e == null) return {};
- var n, r, i = _ye(e, t);
+ var n, r, i = Aye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _ye(e, t) {
+function Aye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57119,21 +57456,21 @@ function _ye(e, t) {
}
return n;
}
-var vye = (e) => {
+var jye = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (Kve(t)) return t;
-}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), yye = u4.Provider;
-function bye() {
- return (0, I.useContext)(c4);
-}
-function xye() {
- return (0, I.useContext)(u4);
-}
-function d4(e) {
- var { valueAccessor: t = vye } = e, n = s4(e, hye), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, gye), l = bye(), u = xye(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? EY.label }, /*#__PURE__*/ I.createElement(ZL, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = cz(r) ? t(e, i) : WH(e.payload, r), l = cz(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, qL(e), c, l, {
+ if (aye(t)) return t;
+}, l4 = /*#__PURE__*/ (0, I.createContext)(void 0), u4 = l4.Provider, d4 = /*#__PURE__*/ (0, I.createContext)(void 0), Mye = d4.Provider;
+function Nye() {
+ return (0, I.useContext)(l4);
+}
+function Pye() {
+ return (0, I.useContext)(d4);
+}
+function f4(e) {
+ var { valueAccessor: t = jye } = e, n = c4(e, Oye), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = c4(n, kye), l = Nye(), u = Pye(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: s ?? kY.label }, /*#__PURE__*/ I.createElement(QL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = lz(r) ? t(e, i) : qH(e.payload, r), l = lz(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ I.createElement(i4, s4({ key: `label-${i}` }, JL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -57144,41 +57481,41 @@ function d4(e) {
}));
})));
}
-d4.displayName = "LabelList";
-function f4(e) {
+f4.displayName = "LabelList";
+function p4(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ I.createElement(d4, { key: "labelList-implicit" }) : /*#__PURE__*/ I.isValidElement(t) || t4(t) ? /*#__PURE__*/ I.createElement(d4, {
+ return t ? t === !0 ? /*#__PURE__*/ I.createElement(f4, { key: "labelList-implicit" }) : /*#__PURE__*/ I.isValidElement(t) || n4(t) ? /*#__PURE__*/ I.createElement(f4, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ I.createElement(d4, o4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ I.createElement(f4, s4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var Sye = [
+var Fye = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], Cye;
-function p4() {
- return p4 = Object.assign ? Object.assign.bind() : function(e) {
+], Iye;
+function m4() {
+ return m4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, p4.apply(null, arguments);
+ }, m4.apply(null, arguments);
}
-function wye(e, t) {
+function Lye(e, t) {
if (e == null) return {};
- var n, r, i = Tye(e, t);
+ var n, r, i = Rye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Tye(e, t) {
+function Rye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57187,23 +57524,23 @@ function Tye(e, t) {
}
return n;
}
-function Eye(e, t) {
+function zye(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dye = function() {
+var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Bye = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- m4(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ h4(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- m4(n) && r && r.push(n);
+ h4(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, h4 = (e, t) => {
- var n = Dye(e);
+}, g4 = (e, t) => {
+ var n = Bye(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => QR(Cye ||= Eye([
+ var r = n.map((e) => e.reduce((e, t, n) => $R(Iye ||= zye([
"",
"",
"",
@@ -57211,29 +57548,29 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dye = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, Oye = (e, t, n) => {
- var r = h4(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
-}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = wye(e, Sye);
+}, Vye = (e, t, n) => {
+ var r = g4(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${g4(Array.from(t).reverse(), n).slice(1)}`;
+}, _4 = (e) => {
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Lye(e, Fye);
if (!t || !t.length) return null;
- var o = Um("recharts-polygon", n);
+ var o = Wm("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = Oye(t, r, i);
- return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
+ var s = a.stroke && a.stroke !== "none", c = Vye(t, r, i);
+ return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
+ })), s ? /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
fill: "none",
- d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
+ d: g4(t, i)
+ })) : null, s ? /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
fill: "none",
- d: h4(r, i)
+ d: g4(r, i)
})) : null);
}
- var l = h4(t, i);
- return /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
+ var l = g4(t, i);
+ return /*#__PURE__*/ I.createElement("path", m4({}, JL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -57241,111 +57578,111 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dye = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function _4() {
- return _4 = Object.assign ? Object.assign.bind() : function(e) {
+function v4() {
+ return v4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, _4.apply(null, arguments);
+ }, v4.apply(null, arguments);
}
-var v4 = (e) => {
- var { cx: t, cy: n, r, className: i } = e, a = Um("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, GL(e), vz(e), {
+var y4 = (e) => {
+ var { cx: t, cy: n, r, className: i } = e, a = Wm("recharts-dot", i);
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", v4({}, KL(e), yz(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, y4 = (e) => e.graphicalItems.polarItems, b4 = $([
- y4,
+}, b4 = (e) => e.graphicalItems.polarItems, x4 = $([
+ b4,
R$,
- $([YY, XY], V$)
-], U$), x4 = $([$([b4], q$), QJ], J$), S4 = $([
- x4,
+ $([QY, $Y], V$)
+], U$), S4 = $([$([x4], q$), tY], J$), C4 = $([
+ S4,
R$,
- b4
+ x4
], X$);
$([
- x4,
+ S4,
R$,
- b4
+ x4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: WH(e, t.dataKey ?? n.dataKey),
+ value: qH(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: WH(e, t.dataKey),
+ value: qH(e, t.dataKey),
errorDomain: []
})));
-var C4 = () => void 0, w4 = $([
+var w4 = () => void 0, T4 = $([
R$,
- pW,
- x4,
+ gW,
S4,
- yY,
- YY,
+ C4,
+ SY,
+ QY,
$([
R$,
c1,
l1,
- C4,
+ w4,
$([
- x4,
+ S4,
R$,
- b4,
+ x4,
u1,
- YY
+ QY
], f1),
- C4,
- pW,
- YY
+ w4,
+ gW,
+ QY
], b1)
-], x1), T4 = $([
- w4,
+], x1), E4 = $([
+ T4,
z$,
C1
-], w1), kye = $([C1, $([
+], w1), Hye = $([C1, $([
R$,
- w4,
T4,
- YY
-], E1)], oX), E4 = (e, t, n) => {
+ E4,
+ QY
+], E1)], lX), D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return RY(e, n);
- case "radiusAxis": return zY(e, n);
+ case "angleAxis": return VY(e, n);
+ case "radiusAxis": return HY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, D4 = (e, t, n) => {
+}, O4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return GY(e, n);
- case "radiusAxis": return qY(e, n);
+ case "angleAxis": return JY(e, n);
+ case "radiusAxis": return XY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, O4 = $([$([
- E4,
+}, k4 = $([$([
+ D4,
C1,
- kye,
- D4
-], T$)], aX), k4 = $([
- pW,
- S4,
+ Hye,
+ O4
+], T$)], cX), A4 = $([
+ gW,
+ C4,
z$,
- YY
-], j1), A4 = $([
- pW,
- E4,
+ QY
+], j1), j4 = $([
+ gW,
+ D4,
C1,
+ k4,
+ E4,
O4,
- T4,
- D4,
H1,
- k4,
- YY
-], W1), Aye = $([A4], (e) => {
+ A4,
+ QY
+], W1), Uye = $([j4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -57353,19 +57690,19 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), jye = $([
- pW,
- E4,
- O4,
+}), Wye = $([
+ gW,
D4,
- H1,
k4,
- YY
-], K1), Mye = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+ O4,
+ H1,
+ A4,
+ QY
+], K1), Gye = $([(e, t) => j4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Nye = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), Kye = $([(e, t) => j4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Pye = [
+}), qye = [
"gridType",
"radialLines",
"angleAxisId",
@@ -57378,16 +57715,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function Fye(e, t) {
+function Jye(e, t) {
if (e == null) return {};
- var n, r, i = Iye(e, t);
+ var n, r, i = Yye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Iye(e, t) {
+function Yye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57396,16 +57733,16 @@ function Iye(e, t) {
}
return n;
}
-function j4() {
- return j4 = Object.assign ? Object.assign.bind() : function(e) {
+function M4() {
+ return M4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, j4.apply(null, arguments);
+ }, M4.apply(null, arguments);
}
-function M4(e, t) {
+function N4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57415,30 +57752,30 @@ function M4(e, t) {
}
return n;
}
-function N4(e) {
+function P4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? M4(Object(n), !0).forEach(function(t) {
- Lye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
+ t % 2 ? N4(Object(n), !0).forEach(function(t) {
+ Xye(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Lye(e, t, n) {
- return (t = Rye(t)) in e ? Object.defineProperty(e, t, {
+function Xye(e, t, n) {
+ return (t = Zye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Rye(e) {
- var t = zye(e, "string");
+function Zye(e) {
+ var t = Qye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zye(e, t) {
+function Qye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57448,69 +57785,69 @@ function zye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Bye = (e, t, n, r) => {
+var $ye = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = wJ(t, n, e, r);
+ var o = DJ(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, Vye = (e) => {
+}, ebe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = N4({ stroke: "#ccc" }, GL(e));
+ var s = P4({ stroke: "#ccc" }, KL(e));
return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = wJ(t, n, r, e), o = wJ(t, n, i, e);
- return /*#__PURE__*/ I.createElement("line", j4({ key: `line-${e}` }, s, {
+ var a = DJ(t, n, r, e), o = DJ(t, n, i, e);
+ return /*#__PURE__*/ I.createElement("line", M4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, P4 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = N4({
+}, F4 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = P4({
stroke: "#ccc",
fill: "none"
- }, GL(e));
- return /*#__PURE__*/ I.createElement("circle", j4({}, i, {
- className: Um("recharts-polar-grid-concentric-circle", e.className),
+ }, KL(e));
+ return /*#__PURE__*/ I.createElement("circle", M4({}, i, {
+ className: Wm("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, F4 = (e) => {
- var { radius: t } = e, n = N4({
+}, I4 = (e) => {
+ var { radius: t } = e, n = P4({
stroke: "#ccc",
fill: "none"
- }, GL(e));
- return /*#__PURE__*/ I.createElement("path", j4({}, n, {
- className: Um("recharts-polar-grid-concentric-polygon", e.className),
- d: Bye(t, e.cx, e.cy, e.polarAngles)
+ }, KL(e));
+ return /*#__PURE__*/ I.createElement("path", M4({}, n, {
+ className: Wm("recharts-polar-grid-concentric-polygon", e.className),
+ d: $ye(t, e.cx, e.cy, e.polarAngles)
}));
-}, Hye = (e) => {
+}, tbe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ I.createElement(P4, j4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ I.createElement(F4, j4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ I.createElement(F4, M4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ I.createElement(I4, M4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ I.createElement(P4, j4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ I.createElement(F4, M4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ I.createElement(F4, j4({ key: i }, e, {
+ })) : /*#__PURE__*/ I.createElement(I4, M4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, Uye = {
+}, nbe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: EY.grid
-}, I4 = (e) => {
- var t = xz(e, Uye), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Fye(t, Pye), m = Q(JY), h = Q((e) => Mye(e, i)), g = Q((e) => Nye(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ zIndex: kY.grid
+}, L4 = (e) => {
+ var t = Sz(e, nbe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Jye(t, qye), m = Q(ZY), h = Q((e) => Gye(e, i)), g = Q((e) => Kye(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = N4({
+ var y = P4({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -57519,13 +57856,13 @@ var Bye = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(Hye, j4({
+ return b <= 0 ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(tbe, M4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ I.createElement(Vye, j4({
+ })), /*#__PURE__*/ I.createElement(ebe, M4({
gridType: n,
radialLines: r
}, y, {
@@ -57533,19 +57870,19 @@ var Bye = (e, t, n, r) => {
polarRadius: v
}))));
};
-I4.displayName = "PolarGrid";
+L4.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function L4(e) {
+function R4(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function Wye(e, t = Ez) {
+function rbe(e, t = Dz) {
if (e == null) return;
- let n = L4(e);
+ let n = R4(e);
if (n.length === 0) return;
- let r = Wz(t), i, a;
+ let r = Gz(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -57554,11 +57891,11 @@ function Wye(e, t = Ez) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function Gye(e, t = Ez) {
+function ibe(e, t = Dz) {
if (e == null) return;
- let n = L4(e);
+ let n = R4(e);
if (n.length === 0) return;
- let r = Wz(t), i, a;
+ let r = Gz(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -57567,7 +57904,7 @@ function Gye(e, t = Ez) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = HV({
+var z4 = GV({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -57575,19 +57912,19 @@ var R4 = HV({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = hG(t.payload);
+ e.radiusAxis[t.payload.id] = vG(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = hG(t.payload);
+ e.angleAxis[t.payload.id] = vG(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: z4, removeRadiusAxis: Kye, addAngleAxis: qye, removeAngleAxis: Jye } = R4.actions, Yye = R4.reducer;
+}), { addRadiusAxis: abe, removeRadiusAxis: obe, addAngleAxis: sbe, removeAngleAxis: cbe } = z4.actions, lbe = z4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function B4(e) {
@@ -57595,12 +57932,12 @@ function B4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var Xye = ["type"], Zye = [
+var ube = ["type"], dbe = [
"cx",
"cy",
"angle",
"axisLine"
-], Qye = [
+], fbe = [
"angle",
"tickFormatter",
"stroke",
@@ -57629,26 +57966,26 @@ function U4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H4(Object(n), !0).forEach(function(t) {
- $ye(e, t, n[t]);
+ pbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $ye(e, t, n) {
- return (t = ebe(t)) in e ? Object.defineProperty(e, t, {
+function pbe(e, t, n) {
+ return (t = mbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ebe(e) {
- var t = tbe(e, "string");
+function mbe(e) {
+ var t = hbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tbe(e, t) {
+function hbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57660,14 +57997,14 @@ function tbe(e, t) {
}
function W4(e, t) {
if (e == null) return {};
- var n, r, i = nbe(e, t);
+ var n, r, i = gbe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nbe(e, t) {
+function gbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57676,20 +58013,20 @@ function nbe(e, t) {
}
return n;
}
-var rbe = "radiusAxis";
-function ibe(e) {
- var t = Jz(), n = _W(), r = (0, I.useMemo)(() => {
- var { type: t } = e, r = W4(e, Xye), i = AY(n, "radiusAxis", t);
+var _be = "radiusAxis";
+function vbe(e) {
+ var t = Yz(), n = bW(), r = (0, I.useMemo)(() => {
+ var { type: t } = e, r = W4(e, ube), i = NY(n, "radiusAxis", t);
if (i != null) return U4(U4({}, r), {}, { type: i });
}, [e, n]);
- return (0, I.useEffect)(() => r == null ? dz : (t(z4(r)), () => {
- t(Kye(r));
+ return (0, I.useEffect)(() => r == null ? fz : (t(abe(r)), () => {
+ t(obe(r));
}), [t, r]), null;
}
-var abe = (e, t, n, r) => {
+var ybe = (e, t, n, r) => {
var { coordinate: i } = e;
- return wJ(n, r, i, t);
-}, obe = (e) => {
+ return DJ(n, r, i, t);
+}, bbe = (e) => {
var t;
switch (e) {
case "left":
@@ -57701,49 +58038,49 @@ var abe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, sbe = (e, t, n, r) => {
- var i = Wye(r, (e) => e.coordinate || 0);
+}, xbe = (e, t, n, r) => {
+ var i = rbe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: Gye(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: ibe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, cbe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, Zye), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = wJ(n, r, s[0], i), l = wJ(n, r, s[1], i), u = U4(U4(U4({}, GL(o)), {}, { fill: "none" }, GL(a)), {}, {
+}, Sbe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, dbe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = DJ(n, r, s[0], i), l = DJ(n, r, s[1], i), u = U4(U4(U4({}, KL(o)), {}, { fill: "none" }, KL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ I.createElement("line", V4({ className: "recharts-polar-radius-axis-line" }, u));
-}, lbe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), ube = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, Qye), s = obe(e.orientation), c = GL(o), l = KL(a), u = t.map((t, o) => {
- var u = abe(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
+}, Cbe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(W2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), wbe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, fbe), s = bbe(e.orientation), c = KL(o), l = qL(a), u = t.map((t, o) => {
+ var u = ybe(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ I.createElement(ZL, V4({
- className: Um("recharts-polar-radius-axis-tick", B4(a)),
+ return /*#__PURE__*/ I.createElement(QL, V4({
+ className: Wm("recharts-polar-radius-axis-tick", B4(a)),
key: `tick-${t.coordinate}`
- }, yz(e, t, o)), lbe(a, d, r ? r(t.value, o) : t.value));
+ }, bz(e, t, o)), Cbe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ I.createElement(ZL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, dbe = (e) => {
- var { radiusAxisId: t } = e, n = Q(JY), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ I.createElement(QL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, Tbe = (e) => {
+ var { radiusAxisId: t } = e, n = Q(ZY), r = Q((e) => k4(e, "radiusAxis", t)), i = Q((e) => j4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = U4(U4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-polar-radius-axis", rbe, a.className) }, s && cbe(a, i), o && ube(a, i), /*#__PURE__*/ I.createElement(sye, sbe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(mye, { label: a.label }), a.children)));
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-polar-radius-axis", _be, a.className) }, s && Sbe(a, i), o && wbe(a, i), /*#__PURE__*/ I.createElement(bye, xbe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(Dye, { label: a.label }), a.children)));
};
function G4(e) {
- var t = xz(e, OY);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ibe, {
+ var t = Sz(e, jY);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(vbe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -57760,12 +58097,12 @@ function G4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ I.createElement(dbe, t));
+ }), /*#__PURE__*/ I.createElement(Tbe, t));
}
G4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var fbe = ["children", "type"], pbe = ["ref"];
+var Ebe = ["children", "type"], Dbe = ["ref"];
function K4() {
return K4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57789,26 +58126,26 @@ function J4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q4(Object(n), !0).forEach(function(t) {
- mbe(e, t, n[t]);
+ Obe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mbe(e, t, n) {
- return (t = hbe(t)) in e ? Object.defineProperty(e, t, {
+function Obe(e, t, n) {
+ return (t = kbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hbe(e) {
- var t = gbe(e, "string");
+function kbe(e) {
+ var t = Abe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gbe(e, t) {
+function Abe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57820,14 +58157,14 @@ function gbe(e, t) {
}
function Y4(e, t) {
if (e == null) return {};
- var n, r, i = _be(e, t);
+ var n, r, i = jbe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _be(e, t) {
+function jbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57836,47 +58173,47 @@ function _be(e, t) {
}
return n;
}
-var X4 = 1e-5, vbe = Math.cos(SJ(45)), ybe = "angleAxis";
-function bbe(e) {
- var t = Jz(), n = _W(), r = (0, I.useMemo)(() => {
- var { children: t, type: r } = e, i = Y4(e, fbe), a = AY(n, "angleAxis", r);
+var X4 = 1e-5, Mbe = Math.cos(TJ(45)), Nbe = "angleAxis";
+function Pbe(e) {
+ var t = Yz(), n = bW(), r = (0, I.useMemo)(() => {
+ var { children: t, type: r } = e, i = Y4(e, Ebe), a = NY(n, "angleAxis", r);
if (a != null) return J4(J4({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => RY(e, r?.id));
- return (0, I.useEffect)(() => r == null ? dz : (t(qye(r)), () => {
- t(Jye(r));
+ }, [e, n]), i = r === Q((e) => VY(e, r?.id));
+ return (0, I.useEffect)(() => r == null ? fz : (t(sbe(r)), () => {
+ t(cbe(r));
}), [t, r]), i ? e.children : null;
}
-var xbe = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = wJ(n, r, i, e.coordinate), l = wJ(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+var Fbe = (e, t) => {
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = DJ(n, r, i, e.coordinate), l = DJ(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
};
-}, Sbe = (e, t) => {
- var n = Math.cos(SJ(-e.coordinate));
+}, Ibe = (e, t) => {
+ var n = Math.cos(TJ(-e.coordinate));
return n > X4 ? t === "outer" ? "start" : "end" : n < -X4 ? t === "outer" ? "end" : "start" : "middle";
-}, Cbe = (e) => {
- var t = Math.cos(SJ(-e.coordinate)), n = Math.sin(SJ(-e.coordinate));
- return Math.abs(t) <= vbe ? n > 0 ? "start" : "end" : "middle";
-}, wbe = (e) => {
+}, Lbe = (e) => {
+ var t = Math.cos(TJ(-e.coordinate)), n = Math.sin(TJ(-e.coordinate));
+ return Math.abs(t) <= Mbe ? n > 0 ? "start" : "end" : "middle";
+}, Rbe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = J4(J4({}, GL(e)), {}, { fill: "none" }, GL(a));
- if (i === "circle") return /*#__PURE__*/ I.createElement(v4, K4({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = J4(J4({}, KL(e)), {}, { fill: "none" }, KL(a));
+ if (i === "circle") return /*#__PURE__*/ I.createElement(y4, K4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => wJ(t, n, r, e.coordinate));
- return /*#__PURE__*/ I.createElement(g4, K4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, Tbe = (e) => {
+ var c = o.map((e) => DJ(t, n, r, e.coordinate));
+ return /*#__PURE__*/ I.createElement(_4, K4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, zbe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ I.isValidElement(t) ? /*#__PURE__*/ I.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ I.createElement(U2, K4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, Ebe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = GL(e), { ref: s } = o, c = Y4(o, pbe), l = KL(t), u = J4(J4({}, c), {}, { fill: "none" }, GL(n)), d = a.map((a, o) => {
- var s = xbe(a, e), d = Sbe(a, e.orientation), f = Cbe(a), p = J4(J4(J4({}, c), {}, {
+ return t ? /*#__PURE__*/ I.isValidElement(t) ? /*#__PURE__*/ I.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ I.createElement(W2, K4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, Bbe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = KL(e), { ref: s } = o, c = Y4(o, Dbe), l = qL(t), u = J4(J4({}, c), {}, { fill: "none" }, KL(n)), d = a.map((a, o) => {
+ var s = Fbe(a, e), d = Ibe(a, e.orientation), f = Lbe(a), p = J4(J4(J4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -57887,28 +58224,28 @@ var xbe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ I.createElement(ZL, K4({
- className: Um("recharts-polar-angle-axis-tick", B4(t)),
+ return /*#__PURE__*/ I.createElement(QL, K4({
+ className: Wm("recharts-polar-angle-axis-tick", B4(t)),
key: `tick-${a.coordinate}`
- }, yz(e, a, o)), n && /*#__PURE__*/ I.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(Tbe, {
+ }, bz(e, a, o)), n && /*#__PURE__*/ I.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(zbe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ I.createElement(ZL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, Dbe = (e) => {
- var { angleAxisId: t } = e, n = Q(JY), r = Q((e) => O4(e, "angleAxis", t)), i = NU(), a = Q((e) => Aye(e, "angleAxis", t, i));
+ return /*#__PURE__*/ I.createElement(QL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, Vbe = (e) => {
+ var { angleAxisId: t } = e, n = Q(ZY), r = Q((e) => k4(e, "angleAxis", t)), i = IU(), a = Q((e) => Uye(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = J4(J4(J4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-polar-angle-axis", ybe, o.className) }, /*#__PURE__*/ I.createElement(wbe, o), /*#__PURE__*/ I.createElement(Ebe, o)));
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-polar-angle-axis", Nbe, o.className) }, /*#__PURE__*/ I.createElement(Rbe, o), /*#__PURE__*/ I.createElement(Bbe, o)));
};
function Z4(e) {
- var t = xz(e, DY);
- return /*#__PURE__*/ I.createElement(bbe, {
+ var t = Sz(e, AY);
+ return /*#__PURE__*/ I.createElement(Pbe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -57925,12 +58262,12 @@ function Z4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ I.createElement(Dbe, t));
+ }, /*#__PURE__*/ I.createElement(Vbe, t));
}
Z4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var Obe = /* @__PURE__ */ j(((e) => {
+var Hbe = /* @__PURE__ */ M(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -57959,26 +58296,26 @@ var Obe = /* @__PURE__ */ j(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), kbe = (/* @__PURE__ */ j(((e, t) => {
- t.exports = Obe();
+})), Ube = (/* @__PURE__ */ M(((e, t) => {
+ t.exports = Hbe();
})))(), Q4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", $4 = null, e3 = null, t3 = (e) => {
if (e === $4 && Array.isArray(e3)) return e3;
var t = [];
return I.Children.forEach(e, (e) => {
- cz(e) || ((0, kbe.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
+ lz(e) || ((0, Ube.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
}), e3 = t, $4 = e, t;
};
function n3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Q4(e)) : [Q4(t)], t3(e).forEach((e) => {
- var t = XR(e, "type.displayName") || XR(e, "type.name");
+ var t = ZR(e, "type.displayName") || ZR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var r3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function Abe(e) {
+function Wbe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -57991,7 +58328,7 @@ function Abe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var jbe, Mbe, Nbe, Pbe, Fbe;
+var Gbe, Kbe, qbe, Jbe, Ybe;
function i3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -58006,26 +58343,26 @@ function a3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? i3(Object(n), !0).forEach(function(t) {
- Ibe(e, t, n[t]);
+ Xbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ibe(e, t, n) {
- return (t = Lbe(t)) in e ? Object.defineProperty(e, t, {
+function Xbe(e, t, n) {
+ return (t = Zbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lbe(e) {
- var t = Rbe(e, "string");
+function Zbe(e) {
+ var t = Qbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rbe(e, t) {
+function Qbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58048,29 +58385,29 @@ function s3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var c3 = (e, t, n, r, i) => {
- var a = n - r, o = QR(jbe ||= s3([
+ var a = n - r, o = $R(Gbe ||= s3([
"M ",
",",
""
]), e, t);
- return o += QR(Mbe ||= s3([
+ return o += $R(Kbe ||= s3([
"L ",
",",
""
- ]), e + n, t), o += QR(Nbe ||= s3([
+ ]), e + n, t), o += $R(qbe ||= s3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += QR(Pbe ||= s3([
+ ]), e + n - a / 2, t + i), o += $R(Jbe ||= s3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += QR(Fbe ||= s3([
+ ]), e + n - a / 2 - r, t + i), o += $R(Ybe ||= s3([
"L ",
",",
" Z"
]), e, t), o;
-}, zbe = {
+}, $be = {
x: 0,
y: 0,
upperWidth: 0,
@@ -58080,21 +58417,21 @@ var c3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, Bbe = (e) => {
- var t = xz(e, zbe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = Gq(e, "trapezoid-");
+}, exe = (e) => {
+ var t = Sz(e, $be), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = Jq(e, "trapezoid-");
if ((0, I.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
e && m(e);
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
- var x = Um("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", o3({}, qL(t), {
+ var x = Wm("recharts-trapezoid", s);
+ if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", o3({}, JL(t), {
className: x,
d: c3(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = fq(["strokeDasharray"], l, c);
- return /*#__PURE__*/ I.createElement(Wq, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = hq(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ I.createElement(qq, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -58103,35 +58440,35 @@ var c3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = oz(S, i, e), c = oz(C, a, e), l = oz(w, o, e), u = oz(T, n, e), d = oz(E, r, e);
+ var s = sz(S, i, e), c = sz(C, a, e), l = sz(w, o, e), u = sz(T, n, e), d = sz(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ I.createElement("path", o3({}, qL(t), {
+ return /*#__PURE__*/ I.createElement("path", o3({}, JL(t), {
className: x,
d: c3(u, d, s, c, l),
ref: f,
style: a3(a3({}, p), t.style)
}));
});
-}, Vbe = [
+}, txe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function Hbe(e, t) {
+function nxe(e, t) {
if (e == null) return {};
- var n, r, i = Ube(e, t);
+ var n, r, i = rxe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Ube(e, t) {
+function rxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58154,26 +58491,26 @@ function u3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? l3(Object(n), !0).forEach(function(t) {
- Wbe(e, t, n[t]);
+ ixe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Wbe(e, t, n) {
- return (t = Gbe(t)) in e ? Object.defineProperty(e, t, {
+function ixe(e, t, n) {
+ return (t = axe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Gbe(e) {
- var t = Kbe(e, "string");
+function axe(e) {
+ var t = oxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Kbe(e, t) {
+function oxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58183,34 +58520,34 @@ function Kbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function qbe(e, t) {
+function sxe(e, t) {
return u3(u3({}, t), e);
}
-function Jbe(e, t) {
+function cxe(e, t) {
return e === "symbols";
}
function d3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ I.createElement(hJ, n);
- case "trapezoid": return /*#__PURE__*/ I.createElement(Bbe, n);
- case "sector": return /*#__PURE__*/ I.createElement(KJ, n);
+ case "rectangle": return /*#__PURE__*/ I.createElement(vJ, n);
+ case "trapezoid": return /*#__PURE__*/ I.createElement(exe, n);
+ case "sector": return /*#__PURE__*/ I.createElement(YJ, n);
case "symbols":
- if (Jbe(t, n)) return /*#__PURE__*/ I.createElement(gz, n);
+ if (cxe(t, n)) return /*#__PURE__*/ I.createElement(_z, n);
break;
- case "curve": return /*#__PURE__*/ I.createElement(qK, n);
+ case "curve": return /*#__PURE__*/ I.createElement(XK, n);
default: return null;
}
}
-function Ybe(e) {
+function lxe(e) {
return /*#__PURE__*/ (0, I.isValidElement)(e) ? e.props : e;
}
function f3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Hbe(e, Vbe), o;
- if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, u3(u3({}, a), Ybe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = nxe(e, txe), o;
+ if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, u3(u3({}, a), lxe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (Abe(t) && typeof t != "boolean") {
- var s = qbe(t, a);
+ else if (Wbe(t) && typeof t != "boolean") {
+ var s = sxe(t, a);
o = /*#__PURE__*/ I.createElement(d3, {
shapeType: n,
elementProps: s
@@ -58222,14 +58559,14 @@ function f3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ I.createElement(ZL, { className: r }, o) : /*#__PURE__*/ I.createElement(ZL, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ I.createElement(QL, { className: r }, o) : /*#__PURE__*/ I.createElement(QL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var p3 = (e, t, n) => {
- var r = Jz();
+ var r = Yz();
return (i, a) => (o) => {
- e?.(i, a, o), r(n0({
+ e?.(i, a, o), r(r0({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -58237,14 +58574,14 @@ var p3 = (e, t, n) => {
}));
};
}, m3 = (e) => {
- var t = Jz();
+ var t = Yz();
return (n, r) => (i) => {
- e?.(n, r, i), t(Fge());
+ e?.(n, r, i), t(Jge());
};
}, h3 = (e, t, n) => {
- var r = Jz();
+ var r = Yz();
return (i, a) => (o) => {
- e?.(i, a, o), r(Ige({
+ e?.(i, a, o), r(Yge({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -58255,9 +58592,9 @@ var p3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function g3(e) {
- var { tooltipEntrySettings: t } = e, n = Jz(), r = NU(), i = (0, I.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = Yz(), r = IU(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(jge(t)) : i.current !== t && n(Mge({
+ r || (i.current === null ? n(Wge(t)) : i.current !== t && n(Gge({
prev: i.current,
next: t
})), i.current = t);
@@ -58266,15 +58603,15 @@ function g3(e) {
n,
r
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(Nge(i.current)), null);
+ i.current &&= (n(Kge(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function _3(e) {
- var { legendPayload: t } = e, n = Jz(), r = NU(), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = Yz(), r = IU(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(yG(t)) : i.current !== t && n(bG({
+ r || (i.current === null ? n(SG(t)) : i.current !== t && n(CG({
prev: i.current,
next: t
})), i.current = t);
@@ -58283,13 +58620,13 @@ function _3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(xG(i.current)), null);
+ i.current &&= (n(wG(i.current)), null);
}, [n]), null;
}
function v3(e) {
- var { legendPayload: t } = e, n = Jz(), r = Q(pW), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = Yz(), r = Q(gW), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(yG(t)) : i.current !== t && n(bG({
+ (r === "centric" || r === "radial") && (i.current === null ? n(SG(t)) : i.current !== t && n(CG({
prev: i.current,
next: t
})), i.current = t);
@@ -58298,27 +58635,27 @@ function v3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(xG(i.current)), null);
+ i.current &&= (n(wG(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var Xbe = I.useId ?? (() => {
- var [e] = I.useState(() => rz("uid-"));
+var uxe = I.useId ?? (() => {
+ var [e] = I.useState(() => iz("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function Zbe(e, t) {
- var n = Xbe();
+function dxe(e, t) {
+ var n = uxe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var Qbe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
- var { id: t, type: n, children: r } = e, i = Zbe(`recharts-${n}`, t);
- return /*#__PURE__*/ I.createElement(Qbe.Provider, { value: i }, r(i));
-}, b3 = HV({
+var fxe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = dxe(`recharts-${n}`, t);
+ return /*#__PURE__*/ I.createElement(fxe.Provider, { value: i }, r(i));
+}, b3 = GV({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -58327,79 +58664,79 @@ var Qbe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(hG(t.payload));
+ e.cartesianItems.push(vG(t.payload));
},
- prepare: kV()
+ prepare: AV()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bV(e).cartesianItems.indexOf(hG(n));
- i > -1 && (e.cartesianItems[i] = hG(r));
+ var { prev: n, next: r } = t.payload, i = xV(e).cartesianItems.indexOf(vG(n));
+ i > -1 && (e.cartesianItems[i] = vG(r));
},
- prepare: kV()
+ prepare: AV()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = bV(e).cartesianItems.indexOf(hG(t.payload));
+ var n = xV(e).cartesianItems.indexOf(vG(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: kV()
+ prepare: AV()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(hG(t.payload));
+ e.polarItems.push(vG(t.payload));
},
- prepare: kV()
+ prepare: AV()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = bV(e).polarItems.indexOf(hG(t.payload));
+ var n = xV(e).polarItems.indexOf(vG(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: kV()
+ prepare: AV()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bV(e).polarItems.indexOf(hG(n));
- i > -1 && (e.polarItems[i] = hG(r));
+ var { prev: n, next: r } = t.payload, i = xV(e).polarItems.indexOf(vG(n));
+ i > -1 && (e.polarItems[i] = vG(r));
},
- prepare: kV()
+ prepare: AV()
}
}
-}), { addCartesianGraphicalItem: $be, replaceCartesianGraphicalItem: exe, removeCartesianGraphicalItem: txe, addPolarGraphicalItem: nxe, removePolarGraphicalItem: rxe, replacePolarGraphicalItem: ixe } = b3.actions, axe = b3.reducer, x3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Jz(), n = (0, I.useRef)(null);
+}), { addCartesianGraphicalItem: pxe, replaceCartesianGraphicalItem: mxe, removeCartesianGraphicalItem: hxe, addPolarGraphicalItem: gxe, removePolarGraphicalItem: _xe, replacePolarGraphicalItem: vxe } = b3.actions, yxe = b3.reducer, x3 = /*#__PURE__*/ (0, I.memo)((e) => {
+ var t = Yz(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t($be(e)) : n.current !== e && t(exe({
+ n.current === null ? t(pxe(e)) : n.current !== e && t(mxe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(txe(n.current)), null);
+ n.current &&= (t(hxe(n.current)), null);
}, [t]), null;
}), S3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Jz(), n = (0, I.useRef)(null);
+ var t = Yz(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(nxe(e)) : n.current !== e && t(ixe({
+ n.current === null ? t(gxe(e)) : n.current !== e && t(vxe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(rxe(n.current)), null);
+ n.current &&= (t(_xe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function oxe(e) {
+function bxe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function sxe(e) {
- if (!(!Dz(e) || e.length === 0)) return oxe(L4(e));
+function xxe(e) {
+ if (!(!Oz(e) || e.length === 0)) return bxe(R4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var cxe = ["points"];
+var Sxe = ["points"];
function C3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -58414,26 +58751,26 @@ function w3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? C3(Object(n), !0).forEach(function(t) {
- lxe(e, t, n[t]);
+ Cxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lxe(e, t, n) {
- return (t = uxe(t)) in e ? Object.defineProperty(e, t, {
+function Cxe(e, t, n) {
+ return (t = wxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uxe(e) {
- var t = dxe(e, "string");
+function wxe(e) {
+ var t = Txe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dxe(e, t) {
+function Txe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58452,16 +58789,16 @@ function T3() {
return e;
}, T3.apply(null, arguments);
}
-function fxe(e, t) {
+function Exe(e, t) {
if (e == null) return {};
- var n, r, i = pxe(e, t);
+ var n, r, i = Dxe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function pxe(e, t) {
+function Dxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58470,20 +58807,20 @@ function pxe(e, t) {
}
return n;
}
-function mxe(e) {
+function Oxe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, I.isValidElement)(t)) return /*#__PURE__*/ (0, I.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Um(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = fxe(a, cxe);
- return /*#__PURE__*/ I.createElement(v4, T3({}, s, { className: i }));
+ var i = Wm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Exe(a, Sxe);
+ return /*#__PURE__*/ I.createElement(y4, T3({}, s, { className: i }));
}
-function hxe(e, t) {
+function kxe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function E3(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = EY.scatter } = e;
- if (!hxe(t, n)) return null;
- var u = r3(n), d = Eue(n), f = t.map((e, r) => {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = kY.scatter } = e;
+ if (!kxe(t, n)) return null;
+ var u = r3(n), d = zue(n), f = t.map((e, r) => {
var s = w3(w3(w3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -58493,14 +58830,14 @@ function E3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ I.createElement(mxe, {
+ return /*#__PURE__*/ I.createElement(Oxe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(ZL, T3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(n2, { zIndex: l }, /*#__PURE__*/ I.createElement(QL, T3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -58518,26 +58855,26 @@ function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? D3(Object(n), !0).forEach(function(t) {
- gxe(e, t, n[t]);
+ Axe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gxe(e, t, n) {
- return (t = _xe(t)) in e ? Object.defineProperty(e, t, {
+function Axe(e, t, n) {
+ return (t = jxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _xe(e) {
- var t = vxe(e, "string");
+function jxe(e) {
+ var t = Mxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vxe(e, t) {
+function Mxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58547,7 +58884,7 @@ function vxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var k3 = HV({
+var k3 = GV({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -58557,60 +58894,60 @@ var k3 = HV({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = hG(t.payload);
+ e.xAxis[t.payload.id] = vG(t.payload);
},
- prepare: kV()
+ prepare: AV()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = hG(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = vG(r));
},
- prepare: kV()
+ prepare: AV()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: kV()
+ prepare: AV()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = hG(t.payload);
+ e.yAxis[t.payload.id] = vG(t.payload);
},
- prepare: kV()
+ prepare: AV()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = hG(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = vG(r));
},
- prepare: kV()
+ prepare: AV()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: kV()
+ prepare: AV()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = hG(t.payload);
+ e.zAxis[t.payload.id] = vG(t.payload);
},
- prepare: kV()
+ prepare: AV()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = hG(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = vG(r));
},
- prepare: kV()
+ prepare: AV()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: kV()
+ prepare: AV()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -58625,15 +58962,15 @@ var k3 = HV({
}
}
}
-}), { addXAxis: yxe, replaceXAxis: bxe, removeXAxis: xxe, addYAxis: Sxe, replaceYAxis: Cxe, removeYAxis: wxe, addZAxis: Txe, replaceZAxis: Exe, removeZAxis: Dxe, updateYAxisWidth: Oxe } = k3.actions, kxe = k3.reducer, Axe = $([
- $([kU], (e) => ({
+}), { addXAxis: Nxe, replaceXAxis: Pxe, removeXAxis: Fxe, addYAxis: Ixe, replaceYAxis: Lxe, removeYAxis: Rxe, addZAxis: zxe, replaceZAxis: Bxe, removeZAxis: Vxe, updateYAxisWidth: Hxe } = k3.actions, Uxe = k3.reducer, Wxe = $([
+ $([MU], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- fU,
- pU
+ hU,
+ gU
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -58641,7 +58978,7 @@ var k3 = HV({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), A3 = () => Q(Axe), jxe = () => Q(d_e);
+}), A3 = () => Q(Wxe), Gxe = () => Q(w_e);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function j3(e, t) {
@@ -58658,26 +58995,26 @@ function M3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j3(Object(n), !0).forEach(function(t) {
- Mxe(e, t, n[t]);
+ Kxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Mxe(e, t, n) {
- return (t = Nxe(t)) in e ? Object.defineProperty(e, t, {
+function Kxe(e, t, n) {
+ return (t = qxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nxe(e) {
- var t = Pxe(e, "string");
+function qxe(e) {
+ var t = Jxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pxe(e, t) {
+function Jxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58687,7 +59024,7 @@ function Pxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Fxe = (e) => {
+var Yxe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = M3(M3(M3({}, {
@@ -58701,17 +59038,17 @@ var Fxe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), KL(i)), vz(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
- return /*#__PURE__*/ I.createElement(ZL, {
+ }), qL(i)), yz(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(y4, s);
+ return /*#__PURE__*/ I.createElement(QL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function N3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = EY.activeDot } = e, s = Q(P0), c = jxe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = kY.activeDot } = e, s = Q(F0), c = Gxe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return cz(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(Fxe, {
+ return lz(l) ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: o }, /*#__PURE__*/ I.createElement(Yxe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -58736,26 +59073,26 @@ function F3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? P3(Object(n), !0).forEach(function(t) {
- Ixe(e, t, n[t]);
+ Xxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ixe(e, t, n) {
- return (t = Lxe(t)) in e ? Object.defineProperty(e, t, {
+function Xxe(e, t, n) {
+ return (t = Zxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lxe(e) {
- var t = Rxe(e, "string");
+function Zxe(e) {
+ var t = Qxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rxe(e, t) {
+function Qxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58765,16 +59102,16 @@ function Rxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var I3 = (e, t) => O4(e, "radiusAxis", t), zxe = $([I3], (e) => {
+var I3 = (e, t) => k4(e, "radiusAxis", t), $xe = $([I3], (e) => {
if (e != null) return { scale: e };
-}), Bxe = $([zY, I3], (e, t) => {
+}), eSe = $([HY, I3], (e, t) => {
if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
-}), Vxe = (e, t, n, r) => A4(e, "radiusAxis", t, r), L3 = (e, t, n) => RY(e, n), R3 = (e, t, n) => O4(e, "angleAxis", n), Hxe = $([L3, R3], (e, t) => {
+}), tSe = (e, t, n, r) => j4(e, "radiusAxis", t, r), L3 = (e, t, n) => VY(e, n), R3 = (e, t, n) => k4(e, "angleAxis", n), nSe = $([L3, R3], (e, t) => {
if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
-}), Uxe = (e, t, n, r) => A4(e, "angleAxis", n, r), Wxe = $([
+}), rSe = (e, t, n, r) => j4(e, "angleAxis", n, r), iSe = $([
L3,
R3,
- JY
+ ZY
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -58783,30 +59120,30 @@ var I3 = (e, t) => O4(e, "radiusAxis", t), zxe = $([I3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), Gxe = (e, t, n, r, i) => i, Kxe = $([
- pW,
- Bxe,
- Vxe,
- Hxe,
- Uxe
-], (e, t, n, r, i) => KH(e, "radiusAxis") ? sU(t, n, !1) : sU(r, i, !1)), qxe = $([
- zxe,
- Wxe,
- QJ,
- $([y4, Gxe], (e, t) => {
+}), aSe = (e, t, n, r, i) => i, oSe = $([
+ gW,
+ eSe,
+ tSe,
+ nSe,
+ rSe
+], (e, t, n, r, i) => YH(e, "radiusAxis") ? uU(t, n, !1) : uU(r, i, !1)), sSe = $([
+ $xe,
+ iSe,
+ tY,
+ $([b4, aSe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- Kxe
+ oSe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return rSe({
+ if (e != null && t != null && a != null && i != null && r != null) return _Se({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), Jxe = ["id"];
+}), cSe = ["id"];
function z3() {
return z3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -58830,26 +59167,26 @@ function V3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B3(Object(n), !0).forEach(function(t) {
- Yxe(e, t, n[t]);
+ lSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yxe(e, t, n) {
- return (t = Xxe(t)) in e ? Object.defineProperty(e, t, {
+function lSe(e, t, n) {
+ return (t = uSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xxe(e) {
- var t = Zxe(e, "string");
+function uSe(e) {
+ var t = dSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zxe(e, t) {
+function dSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58859,16 +59196,16 @@ function Zxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Qxe(e, t) {
+function fSe(e, t) {
if (e == null) return {};
- var n, r, i = $xe(e, t);
+ var n, r, i = pSe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function $xe(e, t) {
+function pSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58880,27 +59217,27 @@ function $xe(e, t) {
function H3(e, t) {
return e && e !== "none" ? e : t;
}
-var eSe = (e) => {
+var mSe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: H3(r, i),
- value: lU(n, t),
+ value: fU(n, t),
payload: e
}];
-}, tSe = /*#__PURE__*/ I.memo((e) => {
+}, hSe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: dz,
+ getPosition: fz,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: lU(a, t),
+ name: fU(a, t),
hide: o,
type: s,
color: H3(n, i),
@@ -58910,8 +59247,8 @@ var eSe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: l });
});
-function nSe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = GL(Qxe(n, Jxe));
+function gSe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = KL(fSe(n, cSe));
return /*#__PURE__*/ I.createElement(E3, {
points: t,
dot: r,
@@ -58921,11 +59258,11 @@ function nSe(e) {
baseProps: o
});
}
-function rSe(e) {
+function _Se(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = WH(e, n.dataKey, r), d = WH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? sxe(d) : d, m = cz(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, wJ(o, s, m, f)), {}, {
+ var a = qH(e, n.dataKey, r), d = qH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? xxe(d) : d, m = lz(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, DJ(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -58938,8 +59275,8 @@ function rSe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = cz(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(V3(V3({}, e), {}, { radius: r }, wJ(o, s, r, e.angle)));
+ var n = e.value[0], r = lz(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(V3(V3({}, e), {}, { radius: r }, DJ(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -58947,7 +59284,7 @@ function rSe(e) {
baseLinePoints: d
};
}
-function iSe(e) {
+function vSe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -58965,12 +59302,12 @@ function iSe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, r);
}
-function aSe(e) {
+function ySe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, z3({}, qL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(_4, z3({}, JL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -58983,7 +59320,7 @@ function aSe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ I.createElement(ZL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(nSe, {
+ return /*#__PURE__*/ I.createElement(QL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(gSe, {
props: r,
points: t
}));
@@ -58991,23 +59328,23 @@ function aSe(e) {
var U3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? V3(V3({}, r), {}, {
- x: oz(a.x, r.x, n),
- y: oz(a.y, r.y, n)
+ x: sz(a.x, r.x, n),
+ y: sz(a.y, r.y, n)
}) : V3(V3({}, r), {}, {
- x: oz(r.cx, r.x, n),
- y: oz(r.cy, r.y, n)
+ x: sz(r.cx, r.x, n),
+ y: sz(r.cy, r.y, n)
});
};
-function oSe(e) {
- var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = Gq(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
+function bSe(e) {
+ var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = Jq(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, I.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ I.createElement(iSe, {
+ return /*#__PURE__*/ I.createElement(vSe, {
showLabels: y,
points: i
- }, /*#__PURE__*/ I.createElement(Wq, {
+ }, /*#__PURE__*/ I.createElement(qq, {
animationId: g,
begin: s,
duration: c,
@@ -59018,22 +59355,22 @@ function oSe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(U3(f, m, e)), s = e === 1 ? a : a?.map(U3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(aSe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(ySe, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ I.createElement(p4, { label: t.label }), t.children);
}
-function sSe(e) {
+function xSe(e) {
var t = (0, I.useRef)(void 0), n = (0, I.useRef)(void 0);
- return /*#__PURE__*/ I.createElement(oSe, {
+ return /*#__PURE__*/ I.createElement(bSe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var cSe = {
+var SSe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -59045,29 +59382,29 @@ var cSe = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: EY.area
+ zIndex: kY.area
};
-function lSe(e) {
+function CSe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
- var i = Um("recharts-radar", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: i }, /*#__PURE__*/ I.createElement(sSe, e)), /*#__PURE__*/ I.createElement(N3, {
+ var i = Wm("recharts-radar", n);
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: i }, /*#__PURE__*/ I.createElement(xSe, e)), /*#__PURE__*/ I.createElement(N3, {
points: r,
mainColor: H3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function uSe(e) {
- var t = NU(), n = Q((n) => qxe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ I.createElement(lSe, z3({}, e, {
+function wSe(e) {
+ var t = IU(), n = Q((n) => sSe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ I.createElement(CSe, z3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function W3(e) {
- var t = xz(e, cSe);
+ var t = Sz(e, SSe);
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "radar"
@@ -59079,7 +59416,7 @@ function W3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ I.createElement(v3, { legendPayload: eSe(t) }), /*#__PURE__*/ I.createElement(tSe, {
+ }), /*#__PURE__*/ I.createElement(v3, { legendPayload: mSe(t) }), /*#__PURE__*/ I.createElement(hSe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -59088,7 +59425,7 @@ function W3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ I.createElement(uSe, z3({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(wSe, z3({}, t, { id: e }))));
}
W3.displayName = "Radar";
//#endregion
@@ -59112,9 +59449,9 @@ function q3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var J3 = (e, t, n) => {
var r = n ?? e;
- if (!cz(r)) return iz(r, t, 0);
+ if (!lz(r)) return az(r, t, 0);
}, Y3 = (e, t, n) => {
- var r = {}, i = e.filter($Y), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ var r = {}, i = e.filter(nX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
@@ -59147,26 +59484,26 @@ function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X3(Object(n), !0).forEach(function(t) {
- dSe(e, t, n[t]);
+ TSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dSe(e, t, n) {
- return (t = fSe(t)) in e ? Object.defineProperty(e, t, {
+function TSe(e, t, n) {
+ return (t = ESe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fSe(e) {
- var t = pSe(e, "string");
+function ESe(e) {
+ var t = DSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pSe(e, t) {
+function DSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59176,11 +59513,11 @@ function pSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mSe(e, t, n, r, i) {
+function OSe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = iz(e, n, 0, !0), s, c = [];
- if (LH(r[0]?.barSize)) {
+ var o = az(e, n, 0, !0), s, c = [];
+ if (BH(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -59199,11 +59536,11 @@ function mSe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = iz(t, n, 0, !0);
+ var p = az(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
- var h = LH(i) ? Math.min(m, i) : m;
+ var h = BH(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -59217,10 +59554,10 @@ function mSe(e, t, n, r, i) {
}
}
var Q3 = (e, t, n, r, i, a, o) => {
- var s = cz(o) ? t : o, c = mSe(n, r, i === a ? a : i, e, s);
+ var s = lz(o) ? t : o, c = OSe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => Z3(Z3({}, e), {}, { position: Z3(Z3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, $3 = (e, t) => {
- var n = ZY(t);
+ var n = eX(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -59253,26 +59590,26 @@ function n6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? t6(Object(n), !0).forEach(function(t) {
- hSe(e, t, n[t]);
+ kSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hSe(e, t, n) {
- return (t = gSe(t)) in e ? Object.defineProperty(e, t, {
+function kSe(e, t, n) {
+ return (t = ASe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gSe(e) {
- var t = _Se(e, "string");
+function ASe(e) {
+ var t = jSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _Se(e, t) {
+function jSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59282,81 +59619,81 @@ function _Se(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var r6 = $([(e, t) => zY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
+var r6 = $([(e, t) => HY(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
-}), i6 = (e, t) => jye(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => RY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), i6 = (e, t) => Wye(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => VY(e, n), (e, t, n) => k4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
-}), o6 = (e, t, n) => A4(e, "angleAxis", n, !1), s6 = $([y4, (e, t, n, r) => r], (e, t) => {
+}), o6 = (e, t, n) => j4(e, "angleAxis", n, !1), s6 = $([b4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), c6 = $([
- pW,
+ gW,
r6,
i6,
a6,
o6
-], (e, t, n, r, i) => KH(e, "radiusAxis") ? sU(t, n, !1) : sU(r, i, !1)), vSe = $([
+], (e, t, n, r, i) => YH(e, "radiusAxis") ? uU(t, n, !1) : uU(r, i, !1)), MSe = $([
a6,
r6,
- pW
+ gW
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return tU({ numericAxis: r });
-}), ySe = (e, t, n, r, i) => i, bSe = (e, t, n, r, i) => n, xSe = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", SSe = $([$([
+ if (r != null && r.scale != null) return iU({ numericAxis: r });
+}), NSe = (e, t, n, r, i) => i, PSe = (e, t, n, r, i) => n, FSe = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", ISe = $([$([
$([
$([
- pW,
- y4,
- bSe,
- xSe
+ gW,
+ b4,
+ PSe,
+ FSe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(u6)),
- vY,
+ xY,
() => void 0
], Y3),
- hY,
- gY,
- _Y,
+ vY,
+ yY,
+ bY,
$([
- pW,
- hY,
+ gW,
+ vY,
a6,
o6,
r6,
i6,
l6
], (e, t, n, r, i, a, o) => {
- var s = cz(o) ? t : o;
- return e === "centric" ? sU(n, r, !0) ?? s ?? 0 : sU(i, a, !0) ?? s ?? 0;
+ var s = lz(o) ? t : o;
+ return e === "centric" ? uU(n, r, !0) ?? s ?? 0 : uU(i, a, !0) ?? s ?? 0;
}),
c6,
l6
-], Q3), s6], e6), d6 = $([b4], (e) => e.filter(u6).filter($Y)), f6 = $([
+], Q3), s6], e6), d6 = $([x4], (e) => e.filter(u6).filter(nX)), f6 = $([
$([
d6,
- QJ,
+ tY,
n1
- ], QY),
+ ], tX),
d6,
- yY,
- bY
-], i1), CSe = $([
+ SY,
+ CY
+], i1), LSe = $([
a6,
o6,
r6,
i6,
- ZJ,
+ eY,
s6,
c6,
- pW,
- vSe,
- JY,
- ySe,
- SSe,
- $([(e, t, n) => pW(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
+ gW,
+ MSe,
+ ZY,
+ NSe,
+ ISe,
+ $([(e, t, n) => gW(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return BSe({
+ return eCe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -59377,7 +59714,7 @@ var r6 = $([(e, t) => zY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), wSe = $([QJ, (e, t) => t], (e, t) => {
+}), RSe = $([tY, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -59391,20 +59728,20 @@ var r6 = $([(e, t) => zY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function p6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && LH(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && BH(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var TSe = [
+var zSe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], ESe = [
+], BSe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], DSe = ["value", "background"];
+], VSe = ["value", "background"];
function m6() {
return m6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -59428,26 +59765,26 @@ function g6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h6(Object(n), !0).forEach(function(t) {
- OSe(e, t, n[t]);
+ HSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OSe(e, t, n) {
- return (t = kSe(t)) in e ? Object.defineProperty(e, t, {
+function HSe(e, t, n) {
+ return (t = USe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kSe(e) {
- var t = ASe(e, "string");
+function USe(e) {
+ var t = WSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ASe(e, t) {
+function WSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59459,14 +59796,14 @@ function ASe(e, t) {
}
function _6(e, t) {
if (e == null) return {};
- var n, r, i = jSe(e, t);
+ var n, r, i = GSe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function jSe(e, t) {
+function GSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59476,7 +59813,7 @@ function jSe(e, t) {
return n;
}
var v6 = [];
-function MSe(e) {
+function KSe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -59493,15 +59830,15 @@ function MSe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ I.createElement(yye, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(Mye, { value: t ? i : void 0 }, r);
}
-function NSe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, TSe), l = GL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, ESe), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ I.createElement(MSe, {
+function qSe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, zSe), l = KL(c), u = Q(F0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, BSe), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ I.createElement(KSe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), yz(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), bz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -59512,19 +59849,19 @@ function NSe(e) {
option: n ? a : i,
index: t
});
- return n ? /*#__PURE__*/ I.createElement(t2, {
- zIndex: EY.activeBar,
+ return n ? /*#__PURE__*/ I.createElement(n2, {
+ zIndex: kY.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
}, /*#__PURE__*/ I.createElement(q3, f)) : /*#__PURE__*/ I.createElement(q3, m6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ I.createElement(f4, { label: n.label }), n.children);
+ }), /*#__PURE__*/ I.createElement(p4, { label: n.label }), n.children);
}
-function PSe(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = Gq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
+function JSe(e) {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = Jq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, I.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ I.createElement(Wq, {
+ return /*#__PURE__*/ I.createElement(qq, {
animationId: u,
begin: a,
duration: o,
@@ -59537,34 +59874,34 @@ function PSe(e) {
var i = e === 1 ? r : (r ?? v6).map((t, n) => {
var r = d && d[n];
if (r) return g6(g6({}, t), {}, {
- startAngle: oz(r.startAngle, t.startAngle, e),
- endAngle: oz(r.endAngle, t.endAngle, e)
+ startAngle: sz(r.startAngle, t.startAngle, e),
+ endAngle: sz(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return g6(g6({}, t), {}, { endAngle: oz(a, i, e) });
+ return g6(g6({}, t), {}, { endAngle: sz(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(NSe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(qSe, {
sectors: i ?? v6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function FSe(e) {
+function YSe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(PSe, {
+ return /*#__PURE__*/ I.createElement(JSe, {
props: e,
previousSectorsRef: t
});
}
-function ISe(e) {
- var t = Q((t) => wSe(t, e.legendType));
+function XSe(e) {
+ var t = Q((t) => RSe(t, e.legendType));
return /*#__PURE__*/ I.createElement(v3, { legendPayload: t ?? [] });
}
-var LSe = /*#__PURE__*/ I.memo((e) => {
+var ZSe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: dz,
+ getPosition: fz,
settings: {
graphicalItemId: l,
stroke: r,
@@ -59572,7 +59909,7 @@ var LSe = /*#__PURE__*/ I.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: lU(a, t),
+ name: fU(a, t),
hide: o,
type: c,
color: s,
@@ -59580,16 +59917,16 @@ var LSe = /*#__PURE__*/ I.memo((e) => {
}
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: u });
-}), RSe = class extends I.PureComponent {
+}), QSe = class extends I.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = KL(this.props.background);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p6(this.props.background, EY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = _6(e, DSe);
+ var { cornerRadius: t } = this.props, n = qL(this.props.background);
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: p6(this.props.background, kY.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = _6(e, VSe);
if (!a) return null;
- var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), yz(this.props, e, r)), {}, {
+ var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), bz(this.props, e, r)), {}, {
index: r,
- className: Um("recharts-radial-bar-background-sector", String(n?.className)),
+ className: Wm("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
@@ -59599,18 +59936,18 @@ var LSe = /*#__PURE__*/ I.memo((e) => {
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
- var i = Um("recharts-area", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: i }, r && /*#__PURE__*/ I.createElement(ZL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(ZL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(FSe, this.props))));
+ var i = Wm("recharts-area", n);
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: i }, r && /*#__PURE__*/ I.createElement(QL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(QL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(YSe, this.props))));
}
};
-function zSe(e) {
- var t = I.useMemo(() => n3(e.children, v2), [e.children]), n = I.useMemo(() => ({
+function $Se(e) {
+ var t = I.useMemo(() => n3(e.children, y2), [e.children]), n = I.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: QH(e.stackId),
+ stackId: tU(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -59625,8 +59962,8 @@ function zSe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => CSe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(LSe, {
+ ]), r = Q((r) => LSe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ZSe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -59636,7 +59973,7 @@ function zSe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ I.createElement(RSe, m6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ I.createElement(QSe, m6({}, e, { sectors: r })));
}
var y6 = {
angleAxisId: 0,
@@ -59653,14 +59990,14 @@ var y6 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: EY.bar
+ zIndex: kY.bar
};
-function BSe(e) {
+function eCe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? v6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = YH(n[r + t], i) : (b = WH(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = eU({
+ if (n ? b = QH(n[r + t], i) : (b = qH(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = rU({
axis: c,
ticks: l,
bandSize: u,
@@ -59671,7 +60008,7 @@ function BSe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = $R(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = ez(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -59683,7 +60020,7 @@ function BSe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = eU({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = rU({
axis: f,
ticks: g,
bandSize: u,
@@ -59694,7 +60031,7 @@ function BSe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = $R(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = ez(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -59711,7 +60048,7 @@ function BSe(e) {
});
}
function b6(e) {
- var t = xz(e, y6);
+ var t = Sz(e, y6);
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "radialBar"
@@ -59723,19 +60060,19 @@ function b6(e) {
hide: t.hide ?? y6.hide,
angleAxisId: t.angleAxisId ?? y6.angleAxisId,
radiusAxisId: t.radiusAxisId ?? y6.radiusAxisId,
- stackId: QH(t.stackId),
+ stackId: tU(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ I.createElement(ISe, t), /*#__PURE__*/ I.createElement(zSe, m6({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(XSe, t), /*#__PURE__*/ I.createElement($Se, m6({}, t, { id: e }))));
}
b6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var x6 = (e) => {
- var { chartData: t } = e, n = Jz(), r = NU();
- return (0, I.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
- n(f2(void 0));
+ var { chartData: t } = e, n = Yz(), r = IU();
+ return (0, I.useEffect)(() => r ? () => {} : (n(p2(t)), () => {
+ n(p2(void 0));
}), [
t,
n,
@@ -59752,13 +60089,13 @@ var x6 = (e) => {
bottom: 0,
left: 0
}
-}, C6 = HV({
+}, C6 = GV({
name: "brush",
initialState: S6,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? S6 : t.payload;
} }
-}), { setBrushSettings: VSe } = C6.actions, HSe = C6.reducer, USe = (e, t) => {
+}), { setBrushSettings: tCe } = C6.actions, nCe = C6.reducer, rCe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -59766,9 +60103,9 @@ var x6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, WSe = (e) => {
+}, iCe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return USe({
+ return rCe({
x: t,
y: n
}, {
@@ -59776,13 +60113,13 @@ var x6 = (e) => {
y: i
});
};
-function GSe(e) {
+function aCe(e) {
return (e % 180 + 180) % 180;
}
-var KSe = function(e) {
- var { width: t, height: n } = e, r = GSe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var oCe = function(e) {
+ var { width: t, height: n } = e, r = aCe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, w6 = HV({
+}, w6 = GV({
name: "referenceElements",
initialState: {
dots: [],
@@ -59794,26 +60131,26 @@ var KSe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = bV(e).dots.findIndex((e) => e === t.payload);
+ var n = xV(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = bV(e).areas.findIndex((e) => e === t.payload);
+ var n = xV(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(hG(t.payload));
+ e.lines.push(vG(t.payload));
},
removeLine: (e, t) => {
- var n = bV(e).lines.findIndex((e) => e === t.payload);
+ var n = xV(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: qSe, removeDot: JSe, addArea: YSe, removeArea: XSe, addLine: ZSe, removeLine: QSe } = w6.actions, $Se = w6.reducer, T6 = /*#__PURE__*/ (0, I.createContext)(void 0), eCe = (e) => {
- var { children: t } = e, [n] = (0, I.useState)(`${rz("recharts")}-clip`), r = A3();
+}), { addDot: sCe, removeDot: cCe, addArea: lCe, removeArea: uCe, addLine: dCe, removeLine: fCe } = w6.actions, pCe = w6.reducer, T6 = /*#__PURE__*/ (0, I.createContext)(void 0), mCe = (e) => {
+ var { children: t } = e, [n] = (0, I.useState)(`${iz("recharts")}-clip`), r = A3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ I.createElement(T6.Provider, { value: n }, /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: n }, /*#__PURE__*/ I.createElement("rect", {
@@ -59822,7 +60159,7 @@ var KSe = function(e) {
height: s,
width: o
}))), t);
-}, tCe = () => (0, I.useContext)(T6), nCe = class {
+}, hCe = () => (0, I.useContext)(T6), gCe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -59862,26 +60199,26 @@ function D6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E6(Object(n), !0).forEach(function(t) {
- rCe(e, t, n[t]);
+ _Ce(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rCe(e, t, n) {
- return (t = iCe(t)) in e ? Object.defineProperty(e, t, {
+function _Ce(e, t, n) {
+ return (t = vCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iCe(e) {
- var t = aCe(e, "string");
+function vCe(e) {
+ var t = yCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aCe(e, t) {
+function yCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59900,18 +60237,18 @@ function O6() {
return e;
}, O6.apply(null, arguments);
}
-var oCe = (e, t) => {
+var bCe = (e, t) => {
var n;
if (/*#__PURE__*/ I.isValidElement(e)) n = /*#__PURE__*/ I.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!LH(t.x1) || !LH(t.y1) || !LH(t.x2) || !LH(t.y2)) return null;
+ if (!BH(t.x1) || !BH(t.y1) || !BH(t.x2) || !BH(t.y2)) return null;
n = /*#__PURE__*/ I.createElement("line", O6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, sCe = (e, t, n, r, i, a) => {
+}, xCe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!LH(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!BH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -59920,9 +60257,9 @@ var oCe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, cCe = (e, t, n, r, i, a) => {
+}, SCe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!LH(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!BH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -59931,7 +60268,7 @@ var oCe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, lCe = (e, t, n, r) => {
+}, CCe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -59940,43 +60277,43 @@ var oCe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, uCe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = nz(s);
- return nz(c) ? sCe(c, u, r, a, t, n) : d ? cCe(s, u, r, i, e, n) : l != null && l.length === 2 ? lCe(l, u, r, new nCe({
+}, wCe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = rz(s);
+ return rz(c) ? xCe(c, u, r, a, t, n) : d ? SCe(s, u, r, i, e, n) : l != null && l.length === 2 ? CCe(l, u, r, new gCe({
x: e,
y: t
})) : null;
};
-function dCe(e) {
- var t = Jz();
- return (0, I.useEffect)(() => (t(ZSe(e)), () => {
- t(QSe(e));
+function TCe(e) {
+ var t = Yz();
+ return (0, I.useEffect)(() => (t(dCe(e)), () => {
+ t(fCe(e));
})), null;
}
-function fCe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = NU(), s = tCe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = sW();
+function ECe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = IU(), s = hCe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = uW();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = uCe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = wCe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, qL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, JL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = WSe({
+ }), x = iCe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-reference-line", i) }, oCe(r, b), /*#__PURE__*/ I.createElement(Z2, O6({}, x, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-reference-line", i) }, bCe(r, b), /*#__PURE__*/ I.createElement(Q2, O6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ I.createElement(a4, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ I.createElement(o4, { label: e.label }), e.children)));
}
-var pCe = {
+var DCe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -59986,18 +60323,18 @@ var pCe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: EY.line
+ zIndex: kY.line
};
function k6(e) {
- var t = xz(e, pCe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(dCe, {
+ var t = Sz(e, DCe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(TCe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ I.createElement(fCe, t));
+ }), /*#__PURE__*/ I.createElement(ECe, t));
}
k6.displayName = "ReferenceLine";
//#endregion
@@ -60013,13 +60350,13 @@ function A6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function mCe(e, t, n) {
- return KSe({
+function OCe(e, t, n) {
+ return oCe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function hCe(e, t, n) {
+function kCe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -60034,12 +60371,12 @@ function j6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function gCe(e, t) {
+function ACe(e, t) {
return A6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function _Ce(e, t, n, r, i) {
+function jCe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: A6(r, l) };
@@ -60048,7 +60385,7 @@ function _Ce(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function vCe(e, t, n, r, i) {
+function MCe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -60085,26 +60422,26 @@ function N6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M6(Object(n), !0).forEach(function(t) {
- yCe(e, t, n[t]);
+ NCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yCe(e, t, n) {
- return (t = bCe(t)) in e ? Object.defineProperty(e, t, {
+function NCe(e, t, n) {
+ return (t = PCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bCe(e) {
- var t = xCe(e, "string");
+function PCe(e) {
+ var t = FCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xCe(e, t) {
+function FCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60114,7 +60451,7 @@ function xCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function SCe(e, t, n, r, i) {
+function ICe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -60127,7 +60464,7 @@ function SCe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function CCe(e, t, n, r, i, a) {
+function LCe(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -60151,8 +60488,8 @@ function CCe(e, t, n, r, i, a) {
function P6(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || SK.isSsr) return gCe(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
+ if (Z(c) || TK.isSsr) return ACe(i, Z(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? T2(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -60160,19 +60497,19 @@ function P6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? mCe(w2(i, {
+ return p === "width" ? OCe(T2(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : w2(i, {
+ }), m, d) : T2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? $R(_.coordinate - g.coordinate) : 1, y = hCe(a, v, p);
- return c === "equidistantPreserveStart" ? _Ce(v, y, h, i, o) : c === "equidistantPreserveEnd" ? vCe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? CCe(v, y, h, i, o, c === "preserveStartEnd") : SCe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? ez(_.coordinate - g.coordinate) : 1, y = kCe(a, v, p);
+ return c === "equidistantPreserveStart" ? jCe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? MCe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? LCe(v, y, h, i, o, c === "preserveStartEnd") : ICe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var wCe = (e) => {
+var RCe = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -60185,7 +60522,7 @@ var wCe = (e) => {
return Math.round(l);
}
return 0;
-}, F6 = HV({
+}, F6 = GV({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -60194,14 +60531,14 @@ var wCe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = hG(i);
+ e[n][r] = vG(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: TCe, removeRenderedTicks: ECe } = F6.actions, DCe = F6.reducer, OCe = [
+}), { setRenderedTicks: zCe, removeRenderedTicks: BCe } = F6.actions, VCe = F6.reducer, HCe = [
"axisLine",
"width",
"height",
@@ -60211,16 +60548,16 @@ var wCe = (e) => {
"axisType",
"axisId"
];
-function kCe(e, t) {
+function UCe(e, t) {
if (e == null) return {};
- var n, r, i = ACe(e, t);
+ var n, r, i = WCe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ACe(e, t) {
+function WCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60252,26 +60589,26 @@ function R6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L6(Object(n), !0).forEach(function(t) {
- jCe(e, t, n[t]);
+ GCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jCe(e, t, n) {
- return (t = MCe(t)) in e ? Object.defineProperty(e, t, {
+function GCe(e, t, n) {
+ return (t = KCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MCe(e) {
- var t = NCe(e, "string");
+function KCe(e) {
+ var t = qCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NCe(e, t) {
+function qCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60303,12 +60640,12 @@ var z6 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: EY.axis
+ zIndex: kY.axis
};
-function PCe(e) {
+function JCe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = R6(R6(R6({}, c), GL(s)), {}, { fill: "none" });
+ var l = R6(R6(R6({}, c), KL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = R6(R6({}, l), {}, {
@@ -60326,9 +60663,9 @@ function PCe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ I.createElement("line", I6({}, l, { className: Um("recharts-cartesian-axis-line", XR(s, "className")) }));
+ return /*#__PURE__*/ I.createElement("line", I6({}, l, { className: Wm("recharts-cartesian-axis-line", ZR(s, "className")) }));
}
-function FCe(e, t, n, r, i, a, o, s, c) {
+function YCe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -60355,14 +60692,14 @@ function FCe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ICe(e, t) {
+function XCe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function LCe(e, t) {
+function ZCe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -60370,19 +60707,19 @@ function LCe(e, t) {
default: return t ? "end" : "start";
}
}
-function RCe(e) {
- var { option: t, tickProps: n, value: r } = e, i, a = Um(n.className, "recharts-cartesian-axis-tick-value");
+function QCe(e) {
+ var { option: t, tickProps: n, value: r } = e, i, a = Wm(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ I.isValidElement(t)) i = /*#__PURE__*/ I.cloneElement(t, R6(R6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(R6(R6({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Um(o, B4(t))), i = /*#__PURE__*/ I.createElement(U2, I6({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Wm(o, B4(t))), i = /*#__PURE__*/ I.createElement(W2, I6({}, n, { className: o }), r);
}
return i;
}
-function zCe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = Jz();
- return (0, I.useEffect)(() => r == null || n == null ? dz : (i(TCe({
+function $Ce(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = Yz();
+ return (0, I.useEffect)(() => r == null || n == null ? fz : (i(zCe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -60392,7 +60729,7 @@ function zCe(e) {
axisId: r,
axisType: n
})), () => {
- i(ECe({
+ i(BCe({
axisId: r,
axisType: n
}));
@@ -60403,15 +60740,15 @@ function zCe(e) {
n
]), null;
}
-var BCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = GL(b), E = KL(r), D = L2(T.textAnchor) ? T.textAnchor : ICe(u, d), O = LCe(u, d), k = {};
+var ewe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = KL(b), E = qL(r), D = R2(T.textAnchor) ? T.textAnchor : XCe(u, d), O = ZCe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = R6(R6({}, T), {}, { fill: "none" }, k), j = w.map((e) => R6({ entry: e }, FCe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = R6(R6({}, T), {}, { fill: "none" }, k), j = w.map((e) => R6({ entry: e }, YCe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ I.createElement(ZL, {
+ return /*#__PURE__*/ I.createElement(QL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ I.createElement("line", I6({}, A, n, { className: Um("recharts-cartesian-axis-tick-line", XR(i, "className")) })));
+ }, i && /*#__PURE__*/ I.createElement("line", I6({}, A, n, { className: Wm("recharts-cartesian-axis-tick-line", ZR(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = R6(R6({}, R6(R6(R6(R6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -60424,26 +60761,26 @@ var BCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ I.createElement(ZL, I6({
+ return /*#__PURE__*/ I.createElement(QL, I6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, yz(x, n, t)), r && /*#__PURE__*/ I.createElement(RCe, {
+ }, bz(x, n, t)), r && /*#__PURE__*/ I.createElement(QCe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(zCe, {
+ return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement($Ce, {
ticks: w,
axisId: C,
axisType: S
- }), N.length > 0 && /*#__PURE__*/ I.createElement(t2, { zIndex: EY.label }, /*#__PURE__*/ I.createElement("g", {
+ }), N.length > 0 && /*#__PURE__*/ I.createElement(n2, { zIndex: kY.label }, /*#__PURE__*/ I.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), VCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = kCe(e, OCe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
- (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => wCe({
+}), twe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = UCe(e, HCe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
+ (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => RCe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -60461,7 +60798,7 @@ var BCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(PCe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Wm("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(JCe, {
x: e.x,
y: e.y,
width: r,
@@ -60469,8 +60806,8 @@ var BCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: GL(e)
- }), /*#__PURE__*/ I.createElement(BCe, {
+ otherSvgProps: KL(e)
+ }), /*#__PURE__*/ I.createElement(ewe, {
ref: g,
axisType: c,
events: u,
@@ -60494,31 +60831,31 @@ var BCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ I.createElement(Z2, {
+ }), /*#__PURE__*/ I.createElement(Q2, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ I.createElement(a4, {
+ }, /*#__PURE__*/ I.createElement(o4, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
}), B6 = /*#__PURE__*/ I.forwardRef((e, t) => {
- var n = xz(e, z6);
- return /*#__PURE__*/ I.createElement(VCe, I6({}, n, { ref: t }));
+ var n = Sz(e, z6);
+ return /*#__PURE__*/ I.createElement(twe, I6({}, n, { ref: t }));
});
B6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var HCe = [
+var nwe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], UCe = ["offset"], WCe = ["xAxisId", "yAxisId"], GCe = ["xAxisId", "yAxisId"];
+], rwe = ["offset"], iwe = ["xAxisId", "yAxisId"], awe = ["xAxisId", "yAxisId"];
function V6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60533,26 +60870,26 @@ function H6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V6(Object(n), !0).forEach(function(t) {
- KCe(e, t, n[t]);
+ owe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KCe(e, t, n) {
- return (t = qCe(t)) in e ? Object.defineProperty(e, t, {
+function owe(e, t, n) {
+ return (t = swe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qCe(e) {
- var t = JCe(e, "string");
+function swe(e) {
+ var t = cwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JCe(e, t) {
+function cwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60573,14 +60910,14 @@ function U6() {
}
function W6(e, t) {
if (e == null) return {};
- var n, r, i = YCe(e, t);
+ var n, r, i = lwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function YCe(e, t) {
+function lwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60589,7 +60926,7 @@ function YCe(e, t) {
}
return n;
}
-var XCe = (e) => {
+var uwe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -60610,7 +60947,7 @@ function G6(e) {
if (/*#__PURE__*/ I.isValidElement(t)) r = /*#__PURE__*/ I.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = GL(W6(n, HCe)) ?? {}, { offset: u } = l, d = W6(l, UCe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = KL(W6(n, nwe)) ?? {}, { offset: u } = l, d = W6(l, rwe);
r = /*#__PURE__*/ I.createElement("line", U6({}, d, {
x1: i,
y1: a,
@@ -60622,10 +60959,10 @@ function G6(e) {
}
return r;
}
-function ZCe(e) {
+function dwe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = W6(e, WCe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, iwe), c = i.map((e, i) => {
var a = H6(H6({}, s), {}, {
x1: t,
y1: e,
@@ -60642,10 +60979,10 @@ function ZCe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function QCe(e) {
+function fwe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = W6(e, GCe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, awe), c = i.map((e, i) => {
var a = H6(H6({}, s), {}, {
x1: e,
y1: t,
@@ -60662,7 +60999,7 @@ function QCe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function $Ce(e) {
+function pwe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -60685,7 +61022,7 @@ function $Ce(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function ewe(e) {
+function mwe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -60708,10 +61045,10 @@ function ewe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var twe = (e, t) => {
+var hwe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return qH(P6(H6(H6(H6({}, z6), n), {}, {
- ticks: JH(n, !0),
+ return XH(P6(H6(H6(H6({}, z6), n), {}, {
+ ticks: ZH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -60719,10 +61056,10 @@ var twe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, nwe = (e, t) => {
+}, gwe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return qH(P6(H6(H6(H6({}, z6), n), {}, {
- ticks: JH(n, !0),
+ return XH(P6(H6(H6(H6({}, z6), n), {}, {
+ ticks: ZH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -60730,7 +61067,7 @@ var twe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, rwe = {
+}, _we = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -60742,17 +61079,17 @@ var twe = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: EY.grid
+ zIndex: kY.grid
};
function K6(e) {
- var t = uW(), n = dW(), r = lW(), i = H6(H6({}, xz(e, rwe)), {}, {
+ var t = pW(), n = mW(), r = fW(), i = H6(H6({}, Sz(e, _we)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = NU(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
- if (!RH(l) || !RH(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || twe, v = i.horizontalCoordinatesGenerator || nwe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = IU(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!VH(l) || !VH(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || hwe, v = i.horizontalCoordinatesGenerator || gwe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? H6(H6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -60760,7 +61097,7 @@ function K6(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- zU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ HU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
@@ -60769,9 +61106,9 @@ function K6(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- zU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ HU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(XCe, {
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(uwe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -60779,12 +61116,12 @@ function K6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ I.createElement($Ce, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(ewe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(ZCe, U6({}, i, {
+ }), /*#__PURE__*/ I.createElement(pwe, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(mwe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(dwe, U6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ I.createElement(QCe, U6({}, i, {
+ })), /*#__PURE__*/ I.createElement(fwe, U6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -60794,7 +61131,7 @@ function K6(e) {
K6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var q6 = HV({
+var q6 = GV({
name: "errorBars",
initialState: {},
reducers: {
@@ -60811,17 +61148,17 @@ var q6 = HV({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: iwe, replaceErrorBar: awe, removeErrorBar: owe } = q6.actions, swe = q6.reducer, cwe = ["children"];
-function lwe(e, t) {
+}), { addErrorBar: vwe, replaceErrorBar: ywe, removeErrorBar: bwe } = q6.actions, xwe = q6.reducer, Swe = ["children"];
+function Cwe(e, t) {
if (e == null) return {};
- var n, r, i = uwe(e, t);
+ var n, r, i = wwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function uwe(e, t) {
+function wwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60830,7 +61167,7 @@ function uwe(e, t) {
}
return n;
}
-var dwe = /*#__PURE__*/ (0, I.createContext)({
+var Twe = /*#__PURE__*/ (0, I.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -60842,8 +61179,8 @@ var dwe = /*#__PURE__*/ (0, I.createContext)({
errorBarOffset: 0
});
function J6(e) {
- var { children: t } = e, n = lwe(e, cwe);
- return /*#__PURE__*/ I.createElement(dwe.Provider, { value: n }, t);
+ var { children: t } = e, n = Cwe(e, Swe);
+ return /*#__PURE__*/ I.createElement(Twe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -60868,30 +61205,30 @@ function X6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), fwe = $([
- pW,
+var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), Ewe = $([
+ gW,
Z6,
$6,
Q6,
e8
-], (e, t, n, r, i) => KH(e, "xAxis") ? sU(t, r, !1) : sU(n, i, !1)), pwe = (e, t, n, r, i) => i;
-function mwe(e) {
+], (e, t, n, r, i) => YH(e, "xAxis") ? uU(t, r, !1) : uU(n, i, !1)), Dwe = (e, t, n, r, i) => i;
+function Owe(e) {
return e.type === "line";
}
-var hwe = $([
- pW,
+var kwe = $([
+ gW,
Z6,
$6,
Q6,
e8,
- $([H$, pwe], (e, t) => e.filter(mwe).find((e) => e.id === t)),
- fwe,
- $J
+ $([H$, Dwe], (e, t) => e.filter(Owe).find((e) => e.id === t)),
+ Ewe,
+ nY
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return Fwe({
+ if (p != null) return Ywe({
layout: e,
xAxis: t,
yAxis: n,
@@ -60906,7 +61243,7 @@ var hwe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function t8(e) {
- var t = KL(e), n = 3, r = 2;
+ var t = qL(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -60921,13 +61258,13 @@ function t8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var gwe = ["id"], _we = [
+var Awe = ["id"], jwe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], vwe = [
+], Mwe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -60966,26 +61303,26 @@ function i8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r8(Object(n), !0).forEach(function(t) {
- ywe(e, t, n[t]);
+ Nwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ywe(e, t, n) {
- return (t = bwe(t)) in e ? Object.defineProperty(e, t, {
+function Nwe(e, t, n) {
+ return (t = Pwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bwe(e) {
- var t = xwe(e, "string");
+function Pwe(e) {
+ var t = Fwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xwe(e, t) {
+function Fwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60997,14 +61334,14 @@ function xwe(e, t) {
}
function a8(e, t) {
if (e == null) return {};
- var n, r, i = Swe(e, t);
+ var n, r, i = Iwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Swe(e, t) {
+function Iwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61013,27 +61350,27 @@ function Swe(e, t) {
}
return n;
}
-var Cwe = (e) => {
+var Lwe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: lU(n, t),
+ value: fU(n, t),
payload: e
}];
-}, wwe = /*#__PURE__*/ I.memo((e) => {
+}, Rwe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: dz,
+ getPosition: fz,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: lU(o, t),
+ name: fU(o, t),
hide: s,
type: l,
color: r,
@@ -61043,11 +61380,11 @@ var Cwe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: d });
}), o8 = (e, t) => `${t}px ${e}px`;
-function Twe(e, t) {
+function zwe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var Ewe = (e, t, n) => {
+var Bwe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return o8(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -61059,13 +61396,13 @@ var Ewe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...Twe(n, i),
+ ...zwe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function Dwe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = GL(a8(r, gwe));
+function Vwe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = KL(a8(r, Awe));
return /*#__PURE__*/ I.createElement(E3, {
points: n,
dot: i,
@@ -61077,7 +61414,7 @@ function Dwe(e) {
clipPathId: t
});
}
-function Owe(e) {
+function Hwe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, I.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -61095,10 +61432,10 @@ function Owe(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, n);
}
function s8(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, qL(a8(a, _we))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, JL(a8(a, jwe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -61111,31 +61448,31 @@ function s8(e) {
return /*#__PURE__*/ I.createElement(I.Fragment, null, r?.length > 1 && /*#__PURE__*/ I.createElement(f3, n8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(Dwe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(Vwe, {
points: r,
clipPathId: t,
props: a
}));
}
-function kwe(e) {
+function Uwe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Awe(e) {
- var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = Gq(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
+function Wwe(e) {
+ var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = Jq(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, I.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = kwe(r.current), E = (0, I.useRef)(0);
+ }, [g]), T = Uwe(r.current), E = (0, I.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ I.createElement(Owe, {
+ return /*#__PURE__*/ I.createElement(Hwe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ I.createElement(Wq, {
+ }, n.children, /*#__PURE__*/ I.createElement(qq, {
animationId: v,
begin: l,
duration: u,
@@ -61145,20 +61482,20 @@ function Awe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = oz(D, T + D, e), u = Math.min(l, T), d = c ? s ? Ewe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
+ var l = sz(D, T + D, e), u = Math.min(l, T), d = c ? s ? Bwe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return i8(i8({}, t), {}, {
- x: oz(i.x, t.x, e),
- y: oz(i.y, t.y, e)
+ x: sz(i.x, t.x, e),
+ y: sz(i.y, t.y, e)
});
}
return f ? i8(i8({}, t), {}, {
- x: oz(p * 2, t.x, e),
- y: oz(m / 2, t.y, e)
+ x: sz(p * 2, t.x, e),
+ y: sz(m / 2, t.y, e)
}) : i8(i8({}, t), {}, {
x: t.x,
y: t.y
@@ -61179,11 +61516,11 @@ function Awe(e) {
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ I.createElement(f4, { label: n.label }));
+ }), /*#__PURE__*/ I.createElement(p4, { label: n.label }));
}
-function jwe(e) {
+function Gwe(e) {
var { clipPathId: t, props: n } = e, r = (0, I.useRef)(null), i = (0, I.useRef)(0), a = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(Awe, {
+ return /*#__PURE__*/ I.createElement(Wwe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -61191,17 +61528,17 @@ function jwe(e) {
pathRef: a
});
}
-var Mwe = (e, t) => ({
+var Kwe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: WH(e.payload, t)
-}), Nwe = class extends I.Component {
+ errorVal: qH(e.payload, t)
+}), qwe = class extends I.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Um("recharts-line", r), m = u, { r: h, strokeWidth: g } = t8(t), _ = r3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(ZL, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
+ var p = Wm("recharts-line", r), m = u, { r: h, strokeWidth: g } = t8(t), _ = r3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: f }, /*#__PURE__*/ I.createElement(QL, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -61214,9 +61551,9 @@ var Mwe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: Mwe,
+ dataPointFormatter: Kwe,
errorBarOffset: 0
- }, /*#__PURE__*/ I.createElement(jwe, {
+ }, /*#__PURE__*/ I.createElement(Gwe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ I.createElement(N3, {
@@ -61244,14 +61581,14 @@ var Mwe = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: EY.line,
+ zIndex: kY.line,
type: "linear"
};
-function Pwe(e) {
- var t = xz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, vwe), { needClip: _ } = Y6(p, m), v = A3(), y = mW(), b = NU(), x = Q((e) => hwe(e, p, m, b, h));
+function Jwe(e) {
+ var t = Sz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, Mwe), { needClip: _ } = Y6(p, m), v = A3(), y = _W(), b = IU(), x = Q((e) => kwe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ I.createElement(Nwe, n8({}, g, {
+ return /*#__PURE__*/ I.createElement(qwe, n8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -61275,23 +61612,23 @@ function Pwe(e) {
needClip: _
}));
}
-function Fwe(e) {
+function Ywe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
- var l = WH(e, o);
+ var l = qH(e, o);
if (t === "horizontal") return {
- x: $H({
+ x: nU({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (cz(l) ? null : r.scale.map(l)) ?? null,
+ y: (lz(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = cz(l) ? null : n.scale.map(l), d = $H({
+ var u = lz(l) ? null : n.scale.map(l), d = nU({
axis: r,
ticks: a,
bandSize: s,
@@ -61306,12 +61643,12 @@ function Fwe(e) {
};
}).filter(Boolean);
}
-function Iwe(e) {
- var t = xz(e, c8), n = NU();
+function Xwe(e) {
+ var t = Sz(e, c8), n = IU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: Cwe(t) }), /*#__PURE__*/ I.createElement(wwe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: Lwe(t) }), /*#__PURE__*/ I.createElement(Rwe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -61332,9 +61669,9 @@ function Iwe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ I.createElement(Pwe, n8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(Jwe, n8({}, t, { id: e }))));
}
-var l8 = /*#__PURE__*/ I.memo(Iwe, VG);
+var l8 = /*#__PURE__*/ I.memo(Xwe, WG);
l8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -61346,36 +61683,36 @@ function d8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Lwe = $([
- pW,
+var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Zwe = $([
+ gW,
f8,
m8,
p8,
h8
-], (e, t, n, r, i) => KH(e, "xAxis") ? sU(t, r, !1) : sU(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => KH(pW(e), "xAxis") ? "yAxis" : "xAxis", Rwe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), zwe = $([
- pW,
+], (e, t, n, r, i) => YH(e, "xAxis") ? uU(t, r, !1) : uU(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => YH(gW(e), "xAxis") ? "yAxis" : "xAxis", Qwe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), $we = $([
+ gW,
f8,
m8,
p8,
h8,
- $([g8, (e, t, n) => a1(e, _8(e), Rwe(e, t), n)], (e, t) => {
+ $([g8, (e, t, n) => a1(e, _8(e), Qwe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = ZY(e);
+ var { stackId: n } = e, r = eX(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- eY,
- Lwe,
+ rY,
+ Zwe,
g8,
- TY
+ OY
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return aTe({
+ if (m != null) return yTe({
layout: e,
xAxis: t,
yAxis: n,
@@ -61389,7 +61726,7 @@ var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), Bwe = ["id"], Vwe = [
+}), eTe = ["id"], tTe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -61416,14 +61753,14 @@ function v8() {
}
function y8(e, t) {
if (e == null) return {};
- var n, r, i = Hwe(e, t);
+ var n, r, i = nTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Hwe(e, t) {
+function nTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61446,26 +61783,26 @@ function x8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? b8(Object(n), !0).forEach(function(t) {
- Uwe(e, t, n[t]);
+ rTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uwe(e, t, n) {
- return (t = Wwe(t)) in e ? Object.defineProperty(e, t, {
+function rTe(e, t, n) {
+ return (t = iTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wwe(e) {
- var t = Gwe(e, "string");
+function iTe(e) {
+ var t = aTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gwe(e, t) {
+function aTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61478,27 +61815,27 @@ function Gwe(e, t) {
function S8(e, t) {
return e && e !== "none" ? e : t;
}
-var Kwe = (e) => {
+var oTe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: S8(r, i),
- value: lU(n, t),
+ value: fU(n, t),
payload: e
}];
-}, qwe = /*#__PURE__*/ I.memo((e) => {
+}, sTe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: dz,
+ getPosition: fz,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: lU(o, t),
+ name: fU(o, t),
hide: s,
type: l,
color: S8(r, a),
@@ -61508,8 +61845,8 @@ var Kwe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: d });
});
-function Jwe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = GL(r);
+function cTe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = KL(r);
return /*#__PURE__*/ I.createElement(E3, {
points: n,
dot: a,
@@ -61521,7 +61858,7 @@ function Jwe(e) {
clipPathId: t
});
}
-function Ywe(e) {
+function lTe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -61539,11 +61876,11 @@ function Ywe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, n);
}
function C8(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, Bwe), p = GL(f), m = qL(f);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(ZL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(qK, v8({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, eTe), p = KL(f), m = JL(f);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(QL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(XK, v8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -61552,29 +61889,29 @@ function C8(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ I.createElement(qK, v8({}, p, {
+ })), c !== "none" && /*#__PURE__*/ I.createElement(XK, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ I.createElement(qK, v8({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ I.createElement(XK, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ I.createElement(Jwe, {
+ }))), /*#__PURE__*/ I.createElement(cTe, {
points: t,
props: f,
clipPathId: i
}));
}
-function Xwe(e) {
+function uTe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!LH(a) || !LH(o)) return null;
+ if (!BH(a) || !BH(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: 0,
@@ -61583,9 +61920,9 @@ function Xwe(e) {
height: Math.floor(s)
}) : null;
}
-function Zwe(e) {
+function dTe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!LH(a) || !LH(o)) return null;
+ if (!BH(a) || !BH(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: a < o ? a : a - s,
@@ -61594,35 +61931,35 @@ function Zwe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function Qwe(e) {
+function fTe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ I.createElement(Xwe, {
+ return n === "vertical" ? /*#__PURE__*/ I.createElement(uTe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ I.createElement(Zwe, {
+ }) : /*#__PURE__*/ I.createElement(dTe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function $we(e) {
- var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = Gq((0, I.useMemo)(() => ({
+function pTe(e) {
+ var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = Jq((0, I.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = hW(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = vW(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, I.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ I.createElement(Ywe, {
+ return /*#__PURE__*/ I.createElement(lTe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ I.createElement(Wq, {
+ }, r.children, /*#__PURE__*/ I.createElement(qq, {
animationId: m,
begin: l,
duration: u,
@@ -61638,18 +61975,18 @@ function $we(e) {
if (x[r]) {
var i = x[r];
return x8(x8({}, t), {}, {
- x: oz(i.x, t.x, e),
- y: oz(i.y, t.y, e)
+ x: sz(i.x, t.x, e),
+ y: sz(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? oz(S, s, e) : cz(s) || ez(s) ? oz(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? sz(S, s, e) : lz(s) || tz(s) ? sz(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return x8(x8({}, t), {}, {
- x: oz(i.x, t.x, e),
- y: oz(i.y, t.y, e)
+ x: sz(i.x, t.x, e),
+ y: sz(i.y, t.y, e)
});
}
return t;
@@ -61662,24 +61999,24 @@ function $we(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(ZL, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Qwe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(QL, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(fTe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ I.createElement(ZL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(C8, {
+ }))), /*#__PURE__*/ I.createElement(QL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(C8, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ I.createElement(f4, { label: r.label }));
+ }), /*#__PURE__*/ I.createElement(p4, { label: r.label }));
}
-function eTe(e) {
+function mTe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, I.useRef)(null), a = (0, I.useRef)();
- return /*#__PURE__*/ I.createElement($we, {
+ return /*#__PURE__*/ I.createElement(pTe, {
needClip: t,
clipPathId: n,
props: r,
@@ -61687,12 +62024,12 @@ function eTe(e) {
previousBaselineRef: a
});
}
-var tTe = class extends I.PureComponent {
+var hTe = class extends I.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Um("recharts-area", r), h = d, { r: g, strokeWidth: _ } = t8(t), v = r3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(ZL, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
+ var m = Wm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = t8(t), v = r3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: p }, /*#__PURE__*/ I.createElement(QL, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -61701,7 +62038,7 @@ var tTe = class extends I.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ I.createElement(eTe, {
+ }))), /*#__PURE__*/ I.createElement(mTe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -61719,7 +62056,7 @@ var tTe = class extends I.PureComponent {
clipPath: b
}));
}
-}, nTe = {
+}, gTe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -61737,13 +62074,13 @@ var tTe = class extends I.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: EY.area
+ zIndex: kY.area
};
-function rTe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, Vwe), g = mW(), _ = U0(), { needClip: v } = Y6(p, m), y = NU(), { points: b, isRange: x, baseLine: S } = Q((t) => zwe(t, e.id, y)) ?? {}, C = A3();
+function _Te(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, tTe), g = _W(), _ = W0(), { needClip: v } = Y6(p, m), y = IU(), { points: b, isRange: x, baseLine: S } = Q((t) => $we(t, e.id, y)) ?? {}, C = A3();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ I.createElement(tTe, v8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ I.createElement(hTe, v8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -61769,7 +62106,7 @@ function rTe(e) {
yAxisId: m
}));
}
-var iTe = (e, t, n, r, i) => {
+var vTe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -61779,17 +62116,17 @@ var iTe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function aTe(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = iTe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function yTe(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = vTe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = WH(e, r);
+ var o = qH(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && WH(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && qH(e, r) == null;
return g ? {
- x: $H({
+ x: nU({
axis: s,
ticks: d,
bandSize: p,
@@ -61801,7 +62138,7 @@ function aTe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: $H({
+ y: nU({
axis: c,
ticks: f,
bandSize: p,
@@ -61829,12 +62166,12 @@ function aTe(e) {
isRange: _
};
}
-function oTe(e) {
- var t = xz(e, nTe), n = NU();
+function bTe(e) {
+ var t = Sz(e, gTe), n = IU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: Kwe(t) }), /*#__PURE__*/ I.createElement(qwe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: oTe(t) }), /*#__PURE__*/ I.createElement(sTe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -61853,21 +62190,21 @@ function oTe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: QH(t.stackId),
+ stackId: tU(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ I.createElement(rTe, v8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(_Te, v8({}, t, { id: e }))));
}
-var w8 = /*#__PURE__*/ I.memo(oTe, VG);
+var w8 = /*#__PURE__*/ I.memo(bTe, WG);
w8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var sTe = "Invariant failed";
-function cTe(e, t) {
- if (!e) throw Error(sTe);
+var xTe = "Invariant failed";
+function STe(e, t) {
+ if (!e) throw Error(xTe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -61887,45 +62224,45 @@ function E8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var lTe = function(e) {
+var CTe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || cz(n);
- return i ? e(n, r) : (!i && cTe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || lz(n);
+ return i ? e(n, r) : (!i && STe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, uTe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), dTe = $([D8], (e) => e?.maxBarSize), fTe = (e, t, n, r) => r, pTe = $([
- pW,
+}, wTe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), TTe = $([D8], (e) => e?.maxBarSize), ETe = (e, t, n, r) => r, DTe = $([
+ gW,
H$,
u8,
d8,
- uTe
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), mTe = (e, t, n) => {
- var r = pW(e), i = u8(e, t), a = d8(e, t);
+ wTe
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), OTe = (e, t, n) => {
+ var r = gW(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, hTe = $([
- pTe,
- vY,
+}, kTe = $([
+ DTe,
+ xY,
(e, t) => {
- var n = pW(e), r = u8(e, t), i = d8(e, t);
+ var n = gW(e), r = u8(e, t), i = d8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], Y3), gTe = (e, t, n) => {
+], Y3), ATe = (e, t, n) => {
var r = D8(e, t);
if (r == null) return 0;
var i = u8(e, t), a = d8(e, t);
if (i == null || a == null) return 0;
- var o = pW(e), s = hY(e), { maxBarSize: c } = r, l = cz(c) ? s : c, u, d;
- return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), sU(u, d, !0) ?? l ?? 0;
+ var o = gW(e), s = vY(e), { maxBarSize: c } = r, l = lz(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), uU(u, d, !0) ?? l ?? 0;
}, O8 = (e, t, n) => {
- var r = pW(e), i = u8(e, t), a = d8(e, t);
+ var r = gW(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), sU(o, s);
+ return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), uU(o, s);
}
-}, _Te = $([
- kU,
- jU,
+}, jTe = $([
+ MU,
+ PU,
(e, t, n) => {
var r = u8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
@@ -61943,25 +62280,25 @@ var lTe = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- hTe,
- hY,
- gY,
- _Y,
- gTe,
+ kTe,
+ vY,
+ yY,
+ bY,
+ ATe,
O8,
- dTe
+ TTe
], Q3), D8], e6),
- pW,
- eY,
+ gW,
+ rY,
O8,
- $([mTe, D8], $3),
+ $([OTe, D8], $3),
D8,
- fTe
+ ETe
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return GTe({
+ if (_ != null) return aEe({
layout: s,
barSettings: d,
pos: o,
@@ -61978,7 +62315,7 @@ var lTe = function(e) {
dataStartIndex: m
});
}
-}), vTe = ["index"];
+}), MTe = ["index"];
function k8() {
return k8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61988,16 +62325,16 @@ function k8() {
return e;
}, k8.apply(null, arguments);
}
-function yTe(e, t) {
+function NTe(e, t) {
if (e == null) return {};
- var n, r, i = bTe(e, t);
+ var n, r, i = PTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function bTe(e, t) {
+function PTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62006,31 +62343,31 @@ function bTe(e, t) {
}
return n;
}
-var A8 = /*#__PURE__*/ (0, I.createContext)(void 0), xTe = (e) => {
+var A8 = /*#__PURE__*/ (0, I.createContext)(void 0), FTe = (e) => {
var t = (0, I.useContext)(A8);
if (t != null) return t.stackId;
- if (e != null) return QH(e);
-}, STe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, CTe = (e) => {
+ if (e != null) return tU(e);
+}, ITe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, LTe = (e) => {
var t = (0, I.useContext)(A8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${STe(n, e)})`;
+ return `url(#${ITe(n, e)})`;
}
}, j8 = (e) => {
- var { index: t } = e, n = yTe(e, vTe), r = CTe(t);
- return /*#__PURE__*/ I.createElement(ZL, k8({
+ var { index: t } = e, n = NTe(e, MTe), r = LTe(t);
+ return /*#__PURE__*/ I.createElement(QL, k8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, wTe = [
+}, RTe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], TTe = [
+], zTe = [
"value",
"background",
"tooltipPosition"
-], ETe = ["id"], DTe = [
+], BTe = ["id"], VTe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -62058,26 +62395,26 @@ function P8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N8(Object(n), !0).forEach(function(t) {
- OTe(e, t, n[t]);
+ HTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OTe(e, t, n) {
- return (t = kTe(t)) in e ? Object.defineProperty(e, t, {
+function HTe(e, t, n) {
+ return (t = UTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kTe(e) {
- var t = ATe(e, "string");
+function UTe(e) {
+ var t = WTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ATe(e, t) {
+function WTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62089,14 +62426,14 @@ function ATe(e, t) {
}
function F8(e, t) {
if (e == null) return {};
- var n, r, i = jTe(e, t);
+ var n, r, i = GTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function jTe(e, t) {
+function GTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62105,27 +62442,27 @@ function jTe(e, t) {
}
return n;
}
-var MTe = (e) => {
+var KTe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: lU(n, t),
+ value: fU(n, t),
payload: e
}];
-}, NTe = /*#__PURE__*/ I.memo((e) => {
+}, qTe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: dz,
+ getPosition: fz,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: lU(a, t),
+ name: fU(a, t),
hide: o,
type: c,
color: i,
@@ -62135,17 +62472,17 @@ var MTe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: u });
});
-function PTe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, wTe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
+function JTe(e) {
+ var t = Q(F0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, RTe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
if (!i || n == null) return null;
- var p = KL(i);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p6(i, EY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, TTe);
+ var p = qL(i);
+ return /*#__PURE__*/ I.createElement(n2, { zIndex: p6(i, kY.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, zTe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = P8(P8(P8(P8(P8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), yz(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), bz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -62156,7 +62493,7 @@ function PTe(e) {
return /*#__PURE__*/ I.createElement(E8, M8({ key: `background-bar-${n}` }, _));
}));
}
-function FTe(e) {
+function YTe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -62174,10 +62511,10 @@ function FTe(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ I.createElement(u4, { value: t ? i : void 0 }, n);
}
-function ITe(e) {
- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)(!1);
+function XTe(e) {
+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(F0), c = Q(L0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
var e;
return l ? (d(!0), e = requestAnimationFrame(() => {
@@ -62195,9 +62532,9 @@ function ITe(e) {
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ I.createElement(t2, { zIndex: EY.activeBar }, /*#__PURE__*/ I.createElement(j8, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ I.createElement(n2, { zIndex: kY.activeBar }, /*#__PURE__*/ I.createElement(j8, { index: i.originalDataIndex }, v)) : v;
}
-function LTe(e) {
+function ZTe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ I.createElement(E8, M8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -62206,24 +62543,24 @@ function LTe(e) {
dataKey: a
}));
}
-function RTe(e) {
- var { data: t, props: n } = e, r = GL(n) ?? {}, { id: i } = r, a = F8(r, ETe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, DTe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
+function QTe(e) {
+ var { data: t, props: n } = e, r = KL(n) ?? {}, { id: i } = r, a = F8(r, BTe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, VTe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
return t ? /*#__PURE__*/ I.createElement(I.Fragment, null, t.map((e, t) => /*#__PURE__*/ I.createElement(j8, M8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, yz(f, e, t), {
+ }, bz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ I.createElement(ITe, {
+ }), c ? /*#__PURE__*/ I.createElement(XTe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ I.createElement(LTe, {
+ }) : /*#__PURE__*/ I.createElement(ZTe, {
shape: o,
baseProps: a,
entry: e,
@@ -62231,16 +62568,16 @@ function RTe(e) {
dataKey: s
})))) : null;
}
-function zTe(e) {
- var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = Gq(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
+function $Te(e) {
+ var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = Jq(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, I.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ I.createElement(FTe, {
+ return /*#__PURE__*/ I.createElement(YTe, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ I.createElement(Wq, {
+ }, /*#__PURE__*/ I.createElement(qq, {
animationId: f,
begin: o,
duration: s,
@@ -62253,68 +62590,68 @@ function zTe(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return P8(P8({}, t), {}, {
- x: oz(r.x, t.x, e),
- y: oz(r.y, t.y, e),
- width: oz(r.width, t.width, e),
- height: oz(r.height, t.height, e)
+ x: sz(r.x, t.x, e),
+ y: sz(r.y, t.y, e),
+ width: sz(r.width, t.width, e),
+ height: sz(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = oz(0, t.height, e), o = oz(t.stackedBarStart, t.y, e);
+ var a = sz(0, t.height, e), o = sz(t.stackedBarStart, t.y, e);
return P8(P8({}, t), {}, {
y: o,
height: a
});
}
- var s = oz(0, t.width, e), c = oz(t.stackedBarStart, t.x, e);
+ var s = sz(0, t.width, e), c = sz(t.stackedBarStart, t.x, e);
return P8(P8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(ZL, null, /*#__PURE__*/ I.createElement(RTe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(QL, null, /*#__PURE__*/ I.createElement(QTe, {
props: t,
data: a
}));
- }), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ I.createElement(p4, { label: t.label }), t.children);
}
-function BTe(e) {
+function eEe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(zTe, {
+ return /*#__PURE__*/ I.createElement($Te, {
previousRectanglesRef: t,
props: e
});
}
-var I8 = 0, VTe = (e, t) => {
+var I8 = 0, tEe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: WH(e, t)
+ errorVal: qH(e, t)
};
-}, HTe = class extends I.PureComponent {
+}, nEe = class extends I.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
- var l = Um("recharts-bar", r), u = c;
- return /*#__PURE__*/ I.createElement(ZL, {
+ var l = Wm("recharts-bar", r), u = c;
+ return /*#__PURE__*/ I.createElement(QL, {
className: l,
id: c
}, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ I.createElement(ZL, {
+ })), /*#__PURE__*/ I.createElement(QL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ I.createElement(PTe, {
+ }, /*#__PURE__*/ I.createElement(JTe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ I.createElement(BTe, this.props)));
+ }), /*#__PURE__*/ I.createElement(eEe, this.props)));
}
-}, UTe = {
+}, rEe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -62327,19 +62664,19 @@ var I8 = 0, VTe = (e, t) => {
minPointSize: I8,
xAxisId: 0,
yAxisId: 0,
- zIndex: EY.bar
+ zIndex: kY.bar
};
-function WTe(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = mW(), p = NU(), m = n3(e.children, v2), h = Q((t) => _Te(t, e.id, p, m));
+function iEe(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = _W(), p = IU(), m = n3(e.children, y2), h = Q((t) => jTe(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ I.createElement(J6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: VTe,
+ dataPointFormatter: tEe,
errorBarOffset: g
- }, /*#__PURE__*/ I.createElement(HTe, M8({}, e, {
+ }, /*#__PURE__*/ I.createElement(nEe, M8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -62355,20 +62692,20 @@ function WTe(e) {
isAnimationActive: u
})));
}
-function GTe(e) {
- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = tU({ numericAxis: _ }), b = _.scale.map(y);
+function aEe(e) {
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = iU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = YH(E, v);
- } else _ = WH(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = lTe(r, I8)(_[1], f);
+ _ = QH(E, v);
+ } else _ = qH(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = CTe(r, I8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = eU({
+ x = rU({
axis: s,
ticks: l,
bandSize: o,
@@ -62377,19 +62714,19 @@ function GTe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = ez(A) ? 0 : A, T = {
+ if (w = tz(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = $R(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = ez(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = eU({
+ if (x = M, S = rU({
axis: c,
ticks: u,
bandSize: o,
@@ -62402,8 +62739,8 @@ function GTe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = $R(C || D) * (Math.abs(D) - Math.abs(C));
- C += P;
+ var ee = ez(C || D) * (Math.abs(D) - Math.abs(C));
+ C += ee;
}
}
return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : P8(P8({}, e), {}, {
@@ -62424,12 +62761,12 @@ function GTe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function KTe(e) {
- var t = xz(e, UTe), n = xTe(t.stackId), r = NU();
+function oEe(e) {
+ var t = Sz(e, rEe), n = FTe(t.stackId), r = IU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: MTe(t) }), /*#__PURE__*/ I.createElement(NTe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: KTe(t) }), /*#__PURE__*/ I.createElement(qTe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -62454,23 +62791,23 @@ function KTe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(WTe, M8({}, t, { id: e })))));
+ }), /*#__PURE__*/ I.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(iEe, M8({}, t, { id: e })))));
}
-var L8 = /*#__PURE__*/ I.memo(KTe, VG);
+var L8 = /*#__PURE__*/ I.memo(oEe, WG);
L8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var qTe = ["domain", "range"], JTe = ["domain", "range"];
+var sEe = ["domain", "range"], cEe = ["domain", "range"];
function R8(e, t) {
if (e == null) return {};
- var n, r, i = YTe(e, t);
+ var n, r, i = lEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function YTe(e, t) {
+function lEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62484,16 +62821,16 @@ function z8(e, t) {
}
function B8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = R8(e, qTe), { domain: a, range: o } = t, s = R8(t, JTe);
- return !z8(n, a) || !z8(r, o) ? !1 : VG(i, s);
+ var { domain: n, range: r } = e, i = R8(e, sEe), { domain: a, range: o } = t, s = R8(t, cEe);
+ return !z8(n, a) || !z8(r, o) ? !1 : WG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var XTe = ["type"], ZTe = [
+var uEe = ["type"], dEe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], QTe = ["id", "scale"];
+], fEe = ["id", "scale"];
function V8() {
return V8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62517,26 +62854,26 @@ function U8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H8(Object(n), !0).forEach(function(t) {
- $Te(e, t, n[t]);
+ pEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $Te(e, t, n) {
- return (t = eEe(t)) in e ? Object.defineProperty(e, t, {
+function pEe(e, t, n) {
+ return (t = mEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eEe(e) {
- var t = tEe(e, "string");
+function mEe(e) {
+ var t = hEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tEe(e, t) {
+function hEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62548,14 +62885,14 @@ function tEe(e, t) {
}
function W8(e, t) {
if (e == null) return {};
- var n, r, i = nEe(e, t);
+ var n, r, i = gEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nEe(e, t) {
+function gEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62564,35 +62901,35 @@ function nEe(e, t) {
}
return n;
}
-function rEe(e) {
- var t = Jz(), n = (0, I.useRef)(null), r = hW(), { type: i } = e, a = W8(e, XTe), o = AY(r, "xAxis", i), s = (0, I.useMemo)(() => {
+function _Ee(e) {
+ var t = Yz(), n = (0, I.useRef)(null), r = vW(), { type: i } = e, a = W8(e, uEe), o = NY(r, "xAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return U8(U8({}, a), {}, { type: o });
}, [a, o]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(yxe(s)) : n.current !== s && t(bxe({
+ s != null && (n.current === null ? t(Nxe(s)) : n.current !== s && t(Pxe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(xxe(n.current)), null);
+ n.current &&= (t(Fxe(n.current)), null);
}, [t]), null;
}
-var iEe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(jU), i = NU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Ege(e, t)), l = Q((e) => M$(e, t));
+var vEe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(PU), i = IU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Bge(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, ZTe), { id: m, scale: h } = l, g = W8(l, QTe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, dEe), { id: m, scale: h } = l, g = W8(l, fEe);
return /*#__PURE__*/ I.createElement(B6, V8({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
height: s.height,
- className: Um(`recharts-${a} ${a}`, n),
+ className: Wm(`recharts-${a} ${a}`, n),
viewBox: r,
ticks: o,
axisType: a,
axisId: t
}));
-}, aEe = {
+}, yEe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -62617,8 +62954,8 @@ var iEe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, G8 = /*#__PURE__*/ I.memo((e) => {
- var t = xz(e, aEe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(rEe, {
+ var t = Sz(e, yEe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_Ee, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -62644,16 +62981,16 @@ var iEe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(iEe, t));
+ }), /*#__PURE__*/ I.createElement(vEe, t));
}, B8);
G8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var oEe = ["type"], sEe = [
+var bEe = ["type"], xEe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], cEe = ["id", "scale"];
+], SEe = ["id", "scale"];
function K8() {
return K8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62677,26 +63014,26 @@ function J8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q8(Object(n), !0).forEach(function(t) {
- lEe(e, t, n[t]);
+ CEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lEe(e, t, n) {
- return (t = uEe(t)) in e ? Object.defineProperty(e, t, {
+function CEe(e, t, n) {
+ return (t = wEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uEe(e) {
- var t = dEe(e, "string");
+function wEe(e) {
+ var t = TEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dEe(e, t) {
+function TEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62708,14 +63045,14 @@ function dEe(e, t) {
}
function Y8(e, t) {
if (e == null) return {};
- var n, r, i = fEe(e, t);
+ var n, r, i = EEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function fEe(e, t) {
+function EEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62724,27 +63061,27 @@ function fEe(e, t) {
}
return n;
}
-function pEe(e) {
- var t = Jz(), n = (0, I.useRef)(null), r = hW(), { type: i } = e, a = Y8(e, oEe), o = AY(r, "yAxis", i), s = (0, I.useMemo)(() => {
+function DEe(e) {
+ var t = Yz(), n = (0, I.useRef)(null), r = vW(), { type: i } = e, a = Y8(e, bEe), o = NY(r, "yAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return J8(J8({}, a), {}, { type: o });
}, [o, a]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Sxe(s)) : n.current !== s && t(Cxe({
+ s != null && (n.current === null ? t(Ixe(s)) : n.current !== s && t(Lxe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(wxe(n.current)), null);
+ n.current &&= (t(Rxe(n.current)), null);
}, [t]), null;
}
-function mEe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(jU), c = NU(), l = Jz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Dge(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function OEe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(PU), c = IU(), l = Yz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Vge(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, I.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || t4(i) || /*#__PURE__*/ (0, I.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || n4(i) || /*#__PURE__*/ (0, I.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(Oxe({
+ Math.round(d.width) !== Math.round(n) && l(Hxe({
id: t,
width: n
}));
@@ -62759,7 +63096,7 @@ function mEe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, sEe), { id: y, scale: b } = m, x = Y8(m, cEe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, xEe), { id: y, scale: b } = m, x = Y8(m, SEe);
return /*#__PURE__*/ I.createElement(B6, K8({}, v, x, {
ref: a,
labelRef: o,
@@ -62768,14 +63105,14 @@ function mEe(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: Um(`recharts-${u} ${u}`, n),
+ className: Wm(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
axisId: t
}));
}
-var hEe = {
+var kEe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -62800,8 +63137,8 @@ var hEe = {
width: P$.width,
yAxisId: 0
}, X8 = /*#__PURE__*/ I.memo((e) => {
- var t = xz(e, hEe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(pEe, {
+ var t = Sz(e, kEe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(DEe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -62827,27 +63164,27 @@ var hEe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(mEe, t));
+ }), /*#__PURE__*/ I.createElement(OEe, t));
}, B8);
X8.displayName = "YAxis";
var Z8 = $([
(e, t) => t,
- pW,
- JY,
- rX,
- D0,
- k0,
- C_e,
- kU
-], A_e);
+ gW,
+ ZY,
+ oX,
+ O0,
+ A0,
+ I_e,
+ MU
+], U_e);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function gEe(e) {
+function AEe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Q8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (gEe(e)) {
+ if (AEe(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -62862,19 +63199,19 @@ function Q8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var $8 = wV("mouseClick"), e5 = OH();
+var $8 = TV("mouseClick"), e5 = jH();
e5.startListening({
actionCreator: $8,
effect: (e, t) => {
var n = e.payload, r = Z8(t.getState(), Q8(n));
- r?.activeIndex != null && t.dispatch(Lge({
+ r?.activeIndex != null && t.dispatch(Xge({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var t5 = wV("mouseMove"), n5 = OH(), r5 = null, i5 = null, a5 = null;
+var t5 = TV("mouseMove"), n5 = jH(), r5 = null, i5 = null, a5 = null;
n5.startListening({
actionCreator: t5,
effect: (e, t) => {
@@ -62888,7 +63225,7 @@ n5.startListening({
}
if (n === "axis") {
var r = Z8(e, a5);
- r?.activeIndex == null ? t.dispatch(r0()) : t.dispatch(i0({
+ r?.activeIndex == null ? t.dispatch(i0()) : t.dispatch(a0({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -62905,7 +63242,7 @@ n5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function _Ee(e, t) {
+function jEe(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
@@ -62922,17 +63259,17 @@ var o5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, s5 = HV({
+}, s5 = GV({
name: "rootProps",
initialState: o5,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? o5.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), vEe = s5.reducer, { updateOptions: yEe } = s5.actions, c5 = HV({
+}), MEe = s5.reducer, { updateOptions: NEe } = s5.actions, c5 = GV({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: bEe } = c5.actions, xEe = c5.reducer, l5 = wV("keyDown"), u5 = wV("focus"), d5 = wV("blur"), f5 = OH(), p5 = null, m5 = null, h5 = null;
+}), { updatePolarOptions: PEe } = c5.actions, FEe = c5.reducer, l5 = TV("keyDown"), u5 = TV("focus"), d5 = TV("blur"), f5 = jH(), p5 = null, m5 = null, h5 = null;
f5.startListening({
actionCreator: l5,
effect: (e, t) => {
@@ -62945,22 +63282,22 @@ f5.startListening({
if (e.rootProps.accessibilityLayer === !1) return;
var { keyboardInteraction: n } = e.tooltip, r = h5;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = u0(n, x0(e), r1(e), T0(e)), a = i == null ? -1 : Number(i);
+ var i = d0(n, S0(e), r1(e), E0(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
- var o = k0(e);
+ var o = A0(e);
if (r === "Enter") {
- var s = X0(e, "axis", "hover", String(n.index));
- t.dispatch(o0({
+ var s = Z0(e, "axis", "hover", String(n.index));
+ t.dispatch(s0({
active: !n.active,
activeIndex: n.index,
activeCoordinate: s
}));
return;
}
- var c = Oge(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = Hge(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
- var u = X0(e, "axis", "hover", String(l));
- t.dispatch(o0({
+ var u = Z0(e, "axis", "hover", String(l));
+ t.dispatch(s0({
active: !0,
activeIndex: l.toString(),
activeCoordinate: u
@@ -62984,8 +63321,8 @@ f5.startListening({
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
if (!r.active && r.index == null) {
- var i = "0", a = X0(n, "axis", "hover", String(i));
- t.dispatch(o0({
+ var i = "0", a = Z0(n, "axis", "hover", String(i));
+ t.dispatch(s0({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -62999,7 +63336,7 @@ f5.startListening({
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
- r.active && t.dispatch(o0({
+ r.active && t.dispatch(s0({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -63020,7 +63357,7 @@ function g5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var _5 = wV("externalEvent"), v5 = OH(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
+var _5 = TV("externalEvent"), v5 = jH(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
v5.startListening({
actionCreator: _5,
effect: (e, t) => {
@@ -63040,12 +63377,12 @@ v5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: l_e(a),
- activeDataKey: I0(a),
- activeIndex: P0(a),
- activeLabel: F0(a),
- activeTooltipIndex: P0(a),
- isTooltipActive: u_e(a)
+ activeCoordinate: S_e(a),
+ activeDataKey: L0(a),
+ activeIndex: F0(a),
+ activeLabel: I0(a),
+ activeTooltipIndex: F0(a),
+ isTooltipActive: C_e(a)
};
n && n(o, r);
} finally {
@@ -63069,8 +63406,8 @@ v5.startListening({
}
}
});
-var SEe = $([
- $([m0], (e) => e.tooltipItemPayloads),
+var IEe = $([
+ $([h0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -63081,7 +63418,7 @@ var SEe = $([
if (i != null) return i(t);
}
}
-}), S5 = wV("touchMove"), C5 = OH(), w5 = null, T5 = null, E5 = null, D5 = null;
+}), S5 = TV("touchMove"), C5 = jH(), w5 = null, T5 = null, E5 = null, D5 = null;
C5.startListening({
actionCreator: S5,
effect: (e, t) => {
@@ -63104,7 +63441,7 @@ C5.startListening({
return;
}
var i = Z8(e, r);
- i?.activeIndex != null && t.dispatch(i0({
+ i?.activeIndex != null && t.dispatch(a0({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
@@ -63114,10 +63451,10 @@ C5.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(vU), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(xU), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = x0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = SEe(e, s, c);
- t.dispatch(n0({
+ var { dataKey: u } = l, d = IEe(e, s, c);
+ t.dispatch(r0({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
@@ -63148,33 +63485,33 @@ var O5 = {
"scroll",
"wheel"
]
-}, k5 = HV({
+}, k5 = GV({
name: "eventSettings",
initialState: O5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hG(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = vG(t.payload.throttledEvents));
} }
-}), { setEventSettings: CEe } = k5.actions, wEe = k5.reducer, TEe = fB({
- brush: HSe,
- cartesianAxis: kxe,
- chartData: rve,
- errorBars: swe,
- eventSettings: wEe,
- graphicalItems: axe,
- layout: FH,
- legend: SG,
- options: Q_e,
- polarAxis: Yye,
- polarOptions: xEe,
- referenceElements: $Se,
- renderedTicks: DCe,
- rootProps: vEe,
- tooltip: Rge,
- zIndex: U_e
-}), EEe = function(e) {
+}), { setEventSettings: LEe } = k5.actions, REe = k5.reducer, zEe = pB({
+ brush: nCe,
+ cartesianAxis: Uxe,
+ chartData: gve,
+ errorBars: xwe,
+ eventSettings: REe,
+ graphicalItems: yxe,
+ layout: RH,
+ legend: TG,
+ options: dve,
+ polarAxis: lbe,
+ polarOptions: FEe,
+ referenceElements: pCe,
+ renderedTicks: VCe,
+ rootProps: MEe,
+ tooltip: Zge,
+ zIndex: nve
+}), BEe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return MV({
- reducer: TEe,
+ return FV({
+ reducer: zEe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -63192,10 +63529,10 @@ var O5 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(jV({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(NV({ type: "raf" }));
},
- devTools: SK.devToolsEnabled && {
- serialize: { replacer: _Ee },
+ devTools: TK.devToolsEnabled && {
+ serialize: { replacer: jEe },
name: `recharts-${t}`
}
});
@@ -63203,21 +63540,21 @@ var O5 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function A5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = NU(), a = (0, I.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = IU(), a = (0, I.useRef)(null);
if (i) return n;
- a.current ??= EEe(t, r);
- var o = qz;
- return /*#__PURE__*/ I.createElement(RG, {
+ a.current ??= BEe(t, r);
+ var o = Jz;
+ return /*#__PURE__*/ I.createElement(VG, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function DEe(e) {
- var { layout: t, margin: n } = e, r = Jz(), i = NU();
+function VEe(e) {
+ var { layout: t, margin: n } = e, r = Yz(), i = IU();
return (0, I.useEffect)(() => {
- i || (r(MH(t)), r(jH(n)));
+ i || (r(FH(t)), r(PH(n)));
}, [
r,
i,
@@ -63225,31 +63562,31 @@ function DEe(e) {
n
]), null;
}
-var j5 = /*#__PURE__*/ (0, I.memo)(DEe, VG);
+var j5 = /*#__PURE__*/ (0, I.memo)(VEe, WG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function M5(e) {
- var t = Jz();
+ var t = Yz();
return (0, I.useEffect)(() => {
- t(yEe(e));
+ t(NEe(e));
}, [t, e]), null;
}
var N5 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Jz();
+ var t = Yz();
return (0, I.useEffect)(() => {
- t(CEe(e));
+ t(LEe(e));
}, [t, e]), null;
-}, VG);
+}, WG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function P5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = Jz();
- return (0, I.useLayoutEffect)(() => (r.current && i(V_e({
+ var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = Yz();
+ return (0, I.useLayoutEffect)(() => (r.current && i(eve({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(H_e({
+ i(tve({
zIndex: t,
isPanorama: n
}));
@@ -63264,7 +63601,7 @@ function P5(e) {
});
}
function F5(e) {
- var { children: t, isPanorama: n } = e, r = Q(M_e);
+ var { children: t, isPanorama: n } = e, r = Q(G_e);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ I.createElement(I.Fragment, null, i.map((e) => /*#__PURE__*/ I.createElement(P5, {
@@ -63279,17 +63616,17 @@ function F5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var OEe = ["children"];
-function kEe(e, t) {
+var HEe = ["children"];
+function UEe(e, t) {
if (e == null) return {};
- var n, r, i = AEe(e, t);
+ var n, r, i = WEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function AEe(e, t) {
+function WEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63307,46 +63644,46 @@ function I5() {
return e;
}, I5.apply(null, arguments);
}
-var jEe = {
+var GEe = {
width: "100%",
height: "100%",
display: "block"
-}, MEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = uW(), r = dW(), i = MK();
- if (!RH(n) || !RH(r)) return null;
+}, KEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = pW(), r = mW(), i = FK();
+ if (!VH(n) || !VH(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ I.createElement(YL, I5({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ I.createElement(XL, I5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: jEe,
+ style: GEe,
ref: t
}), a);
-}), NEe = (e) => {
- var { children: t } = e, n = Q(FU);
+}), qEe = (e) => {
+ var { children: t } = e, n = Q(RU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ I.createElement(YL, {
+ return /*#__PURE__*/ I.createElement(XL, {
width: r,
height: i,
x: o,
y: a
}, t);
}, L5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n } = e, r = kEe(e, OEe);
- return NU() ? /*#__PURE__*/ I.createElement(NEe, null, /*#__PURE__*/ I.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(MEe, I5({ ref: t }, r), /*#__PURE__*/ I.createElement(F5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = UEe(e, HEe);
+ return IU() ? /*#__PURE__*/ I.createElement(qEe, null, /*#__PURE__*/ I.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(KEe, I5({ ref: t }, r), /*#__PURE__*/ I.createElement(F5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function PEe() {
- var e = Jz(), [t, n] = (0, I.useState)(null), r = Q(mU);
+function JEe() {
+ var e = Yz(), [t, n] = (0, I.useState)(null), r = Q(_U);
return (0, I.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- LH(n) && n !== r && e(PH(n));
+ BH(n) && n !== r && e(LH(n));
}
}, [
t,
@@ -63366,30 +63703,30 @@ function R5(e, t) {
}
return n;
}
-function FEe(e) {
+function YEe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R5(Object(n), !0).forEach(function(t) {
- IEe(e, t, n[t]);
+ XEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IEe(e, t, n) {
- return (t = LEe(t)) in e ? Object.defineProperty(e, t, {
+function XEe(e, t, n) {
+ return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LEe(e) {
- var t = REe(e, "string");
+function ZEe(e) {
+ var t = QEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function REe(e, t) {
+function QEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63408,7 +63745,7 @@ function z5() {
return e;
}, z5.apply(null, arguments);
}
-var zEe = () => (fve(), null);
+var $Ee = () => (Tve(), null);
function B5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -63417,7 +63754,7 @@ function B5(e) {
}
return 0;
}
-var BEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var eDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = (0, I.useRef)(null), [r, i] = (0, I.useState)({
containerWidth: B5(e.style?.width),
containerHeight: B5(e.style?.height)
@@ -63445,11 +63782,11 @@ var BEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}, [t, a]);
return (0, I.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
+ }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ I.createElement("div", z5({ ref: o }, e)));
-}), VEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), tDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, I.useState)({
containerWidth: B5(n),
containerHeight: B5(r)
@@ -63467,32 +63804,32 @@ var BEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ I.createElement("div", z5({ ref: s }, e)));
-}), HEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), nDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", z5({ ref: t }, e)));
-}), UEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), rDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(VEe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(HEe, z5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(tDe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(nDe, z5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
+ })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", z5({ ref: t }, e)));
});
-function WEe(e) {
- return e ? BEe : UEe;
+function iDe(e) {
+ return e ? eDe : rDe;
}
-var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = Jz(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = PEe(), D = rW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
+var aDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = Yz(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = JEe(), D = oW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -63510,20 +63847,20 @@ var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
reactEvent: e
}));
}, [x, l]), N = (0, I.useCallback)((e) => {
- x(r0()), x(_5({
+ x(i0()), x(_5({
handler: u,
reactEvent: e
}));
- }, [x, u]), P = (0, I.useCallback)((e) => {
+ }, [x, u]), ee = (0, I.useCallback)((e) => {
x(t5(e)), x(_5({
handler: d,
reactEvent: e
}));
- }, [x, d]), ee = (0, I.useCallback)(() => {
+ }, [x, d]), te = (0, I.useCallback)(() => {
x(u5());
- }, [x]), F = (0, I.useCallback)(() => {
+ }, [x]), P = (0, I.useCallback)(() => {
x(d5());
- }, [x]), te = (0, I.useCallback)((e) => {
+ }, [x]), F = (0, I.useCallback)((e) => {
x(l5(e.key));
}, [x]), ne = (0, I.useCallback)((e) => {
x(_5({
@@ -63535,12 +63872,12 @@ var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: s,
reactEvent: e
}));
- }, [x, s]), L = (0, I.useCallback)((e) => {
+ }, [x, s]), ie = (0, I.useCallback)((e) => {
x(_5({
handler: c,
reactEvent: e
}));
- }, [x, c]), ie = (0, I.useCallback)((e) => {
+ }, [x, c]), L = (0, I.useCallback)((e) => {
x(_5({
handler: f,
reactEvent: e
@@ -63564,12 +63901,12 @@ var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), ce = WEe(v);
- return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(QL.Provider, { value: w }, /*#__PURE__*/ I.createElement(ce, {
+ }, [x, p]), ce = iDe(v);
+ return /*#__PURE__*/ I.createElement(o2.Provider, { value: S }, /*#__PURE__*/ I.createElement($L.Provider, { value: w }, /*#__PURE__*/ I.createElement(ce, {
width: O ?? g?.width,
height: k ?? g?.height,
- className: Um("recharts-wrapper", r),
- style: FEe({
+ className: Wm("recharts-wrapper", r),
+ style: YEe({
position: "relative",
cursor: "default",
width: O,
@@ -63578,20 +63915,20 @@ var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
onClick: j,
onContextMenu: ne,
onDoubleClick: re,
- onFocus: ee,
- onBlur: F,
- onKeyDown: te,
- onMouseDown: L,
+ onFocus: te,
+ onBlur: P,
+ onKeyDown: F,
+ onMouseDown: ie,
onMouseEnter: M,
onMouseLeave: N,
- onMouseMove: P,
- onMouseUp: ie,
+ onMouseMove: ee,
+ onMouseUp: L,
onTouchEnd: se,
onTouchMove: oe,
onTouchStart: ae,
ref: A
- }, /*#__PURE__*/ I.createElement(zEe, null), n)));
-}), KEe = [
+ }, /*#__PURE__*/ I.createElement($Ee, null), n)));
+}), oDe = [
"width",
"height",
"responsive",
@@ -63602,16 +63939,16 @@ var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
"title",
"desc"
];
-function qEe(e, t) {
+function sDe(e, t) {
if (e == null) return {};
- var n, r, i = JEe(e, t);
+ var n, r, i = cDe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function JEe(e, t) {
+function cDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63621,15 +63958,15 @@ function JEe(e, t) {
return n;
}
var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = GL(qEe(e, KEe));
- return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = KL(sDe(e, oDe));
+ return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement(L5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ I.createElement(GEe, {
+ }, a)) : /*#__PURE__*/ I.createElement(aDe, {
className: o,
style: s,
width: n,
@@ -63651,7 +63988,7 @@ var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ I.createElement(eCe, null, a)));
+ }, /*#__PURE__*/ I.createElement(mCe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -63674,30 +64011,30 @@ function U5(e, t) {
}
return n;
}
-function YEe(e) {
+function lDe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? U5(Object(n), !0).forEach(function(t) {
- XEe(e, t, n[t]);
+ uDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XEe(e, t, n) {
- return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {
+function uDe(e, t, n) {
+ return (t = dDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ZEe(e) {
- var t = QEe(e, "string");
+function dDe(e) {
+ var t = fDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QEe(e, t) {
+function fDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63707,7 +64044,7 @@ function QEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $Ee = YEe({
+var pDe = lDe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -63723,7 +64060,7 @@ var $Ee = YEe({
stackOffset: "none",
syncMethod: "index"
}, O5), W5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = xz(e.categoricalChartProps, $Ee), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = Sz(e.categoricalChartProps, pDe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -63752,32 +64089,32 @@ var $Ee = YEe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ I.createElement(V5, H5({}, n, { ref: t })));
-}), eDe = ["axis"], tDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+}), mDe = ["axis"], hDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: eDe,
- tooltipPayloadSearcher: l2,
+ validateTooltipEventTypes: mDe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
-})), nDe = ["axis", "item"], G5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+})), gDe = ["axis", "item"], G5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: nDe,
- tooltipPayloadSearcher: l2,
+ validateTooltipEventTypes: gDe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function rDe(e) {
- var t = Jz();
+function _De(e) {
+ var t = Yz();
return (0, I.useEffect)(() => {
- t(bEe(e));
+ t(PEe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var iDe = ["layout"];
+var vDe = ["layout"];
function K5() {
return K5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63787,16 +64124,16 @@ function K5() {
return e;
}, K5.apply(null, arguments);
}
-function aDe(e, t) {
+function yDe(e, t) {
if (e == null) return {};
- var n, r, i = oDe(e, t);
+ var n, r, i = bDe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function oDe(e, t) {
+function bDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63815,30 +64152,30 @@ function q5(e, t) {
}
return n;
}
-function sDe(e) {
+function xDe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q5(Object(n), !0).forEach(function(t) {
- cDe(e, t, n[t]);
+ SDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cDe(e, t, n) {
- return (t = lDe(t)) in e ? Object.defineProperty(e, t, {
+function SDe(e, t, n) {
+ return (t = CDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lDe(e) {
- var t = uDe(e, "string");
+function CDe(e) {
+ var t = wDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uDe(e, t) {
+function wDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63848,7 +64185,7 @@ function uDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var J5 = sDe({
+var J5 = xDe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -63868,7 +64205,7 @@ var J5 = sDe({
innerRadius: 0,
outerRadius: "80%"
}, O5), Y5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = xz(e.categoricalChartProps, J5), { layout: r } = n, i = aDe(n, iDe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = Sz(e.categoricalChartProps, J5), { layout: r } = n, i = yDe(n, vDe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -63896,7 +64233,7 @@ var J5 = sDe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ I.createElement(rDe, {
+ }), /*#__PURE__*/ I.createElement(_De, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -63921,26 +64258,26 @@ function Z5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X5(Object(n), !0).forEach(function(t) {
- dDe(e, t, n[t]);
+ TDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dDe(e, t, n) {
- return (t = fDe(t)) in e ? Object.defineProperty(e, t, {
+function TDe(e, t, n) {
+ return (t = EDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fDe(e) {
- var t = pDe(e, "string");
+function EDe(e) {
+ var t = DDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pDe(e, t) {
+function DDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63950,25 +64287,25 @@ function pDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mDe = ["axis"], hDe = Z5(Z5({}, J5), {}, {
+var ODe = ["axis"], kDe = Z5(Z5({}, J5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), gDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = xz(e, hDe);
+}), ADe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = Sz(e, kDe);
return /*#__PURE__*/ I.createElement(Y5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: mDe,
- tooltipPayloadSearcher: l2,
+ validateTooltipEventTypes: ODe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
-}), _De = ["axis"], vDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+}), jDe = ["axis"], MDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: _De,
- tooltipPayloadSearcher: l2,
+ validateTooltipEventTypes: jDe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
@@ -63988,26 +64325,26 @@ function $5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q5(Object(n), !0).forEach(function(t) {
- yDe(e, t, n[t]);
+ NDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yDe(e, t, n) {
- return (t = bDe(t)) in e ? Object.defineProperty(e, t, {
+function NDe(e, t, n) {
+ return (t = PDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bDe(e) {
- var t = xDe(e, "string");
+function PDe(e) {
+ var t = FDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xDe(e, t) {
+function FDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64017,17 +64354,17 @@ function xDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var SDe = ["axis", "item"], CDe = $5($5({}, J5), {}, {
+var IDe = ["axis", "item"], LDe = $5($5({}, J5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), wDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = xz(e, CDe);
+}), RDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = Sz(e, LDe);
return /*#__PURE__*/ I.createElement(Y5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: SDe,
- tooltipPayloadSearcher: l2,
+ validateTooltipEventTypes: IDe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
@@ -64035,7 +64372,7 @@ var SDe = ["axis", "item"], CDe = $5($5({}, J5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e7(...e) {
- return gw(Um(e));
+ return Tw(Wm(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -64043,7 +64380,7 @@ var t7 = {
light: "",
dark: ".dark"
}, n7 = Object.keys(t7);
-function TDe(e) {
+function zDe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !n7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${n7.join(", ")}). Received empty object or invalid keys.`);
}
var r7 = I.createContext(null);
@@ -64057,7 +64394,7 @@ function a7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = I.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return TDe(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
+ return zDe(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, L.jsxs)("div", {
"data-slot": "chart",
@@ -64069,7 +64406,7 @@ function a7({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, L.jsx)(aW, {
+ /* @__PURE__ */ (0, L.jsx)(cW, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -64088,7 +64425,7 @@ function o7({ isLoading: e }) {
})
}) : null;
}
-function EDe(e, t) {
+function BDe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -64103,7 +64440,7 @@ var s7 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : EDe(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : BDe(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(t7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, L.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -64117,15 +64454,15 @@ function l7(e) {
let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var DDe = (e = 10, t = 0, n = 70) => {
+var VDe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, ODe = {
+}, HDe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, kDe = {
+}, UDe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -64152,7 +64489,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", ODe[p], kDe[m], n),
+ className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", HDe[p], UDe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, L.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -64166,7 +64503,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: ADe(n, o)
+ style: WDe(n, o)
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -64185,10 +64522,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function ADe(e, t) {
+function WDe(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(bve, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(Nve, {
animationDuration: e,
...t
});
@@ -64205,7 +64542,7 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(jDe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(GDe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -64214,8 +64551,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function jDe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = MDe(t, n), i = NDe(t, n);
+function GDe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = KDe(t, n), i = qDe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, L.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -64247,10 +64584,10 @@ function jDe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function MDe(e, t) {
+function KDe(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function NDe(e, t) {
+function qDe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -64265,12 +64602,12 @@ function NDe(e, t) {
...n
};
}
-var p7 = aK, m7 = () => null, h7 = {
+var p7 = cK, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function PDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function JDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = I.useRef(null), [a, o] = I.useState(!1), s = (0, I.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, I.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -64316,7 +64653,7 @@ function PDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function YDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = I.useRef(null), S = I.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = I.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = I.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -64350,7 +64687,7 @@ function FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = PDe({
+ }, [C, v]), { isDragging: A, bind: j } = JDe({
range: E,
totalPoints: C,
containerRef: x,
@@ -64375,16 +64712,16 @@ function FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
A
]);
- let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, P = C > 1 ? M.endIndex / (C - 1) * 100 : 100, ee = vf(N), F = vf(P);
- ee.get() !== N && ee.set(N), F.get() !== P && F.set(P);
- let te = Tf(ee, h7), ne = Tf(F, h7), re = xf(te, (e) => `${e}%`), ie = xf(ne, (e) => `${e}%`), ae = xf(te, (e) => `${e}%`), oe = xf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = vf(`${Math.max(0, P - N)}%`), ce = (0, I.useCallback)(() => {
- se.set(`${Math.max(0, ne.get() - te.get())}%`);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = yf(N), P = yf(ee);
+ te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
+ let F = Ef(te, h7), ne = Ef(P, h7), re = Sf(F, (e) => `${e}%`), ie = Sf(ne, (e) => `${e}%`), ae = Sf(F, (e) => `${e}%`), oe = Sf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = yf(`${Math.max(0, ee - N)}%`), ce = (0, I.useCallback)(() => {
+ se.set(`${Math.max(0, ne.get() - F.get())}%`);
}, [
- te,
+ F,
ne,
se
]);
- _f(te, "change", ce), _f(ne, "change", ce);
+ vf(F, "change", ce), vf(ne, "change", ce);
let le = (0, I.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -64406,7 +64743,7 @@ function FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, L.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, L.jsx)(IDe, {
+ children: /* @__PURE__ */ (0, L.jsx)(XDe, {
data: e,
keys: S,
chartConfig: t,
@@ -64419,15 +64756,15 @@ function FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, L.jsx)(Df.div, {
+ /* @__PURE__ */ (0, L.jsx)(Of.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: ae }
}),
- /* @__PURE__ */ (0, L.jsx)(Df.div, {
+ /* @__PURE__ */ (0, L.jsx)(Of.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: oe }
}),
- /* @__PURE__ */ (0, L.jsx)(Df.div, {
+ /* @__PURE__ */ (0, L.jsx)(Of.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: re,
@@ -64452,7 +64789,7 @@ function FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function g7({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, L.jsxs)(Df.div, {
+ return /* @__PURE__ */ (0, L.jsxs)(Of.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, L.jsx)("div", {
@@ -64475,7 +64812,7 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function IDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function XDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = I.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: l7(t)
@@ -64532,10 +64869,10 @@ function IDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, L.jsx)(aW, {
+ if (r === "line") return /* @__PURE__ */ (0, L.jsx)(cW, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(tDe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(hDe, {
data: e,
margin: {
top: 4,
@@ -64559,7 +64896,7 @@ function IDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, L.jsx)(aW, {
+ return /* @__PURE__ */ (0, L.jsx)(cW, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, L.jsxs)(G5, {
@@ -64588,10 +64925,10 @@ function IDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(aW, {
+ return /* @__PURE__ */ (0, L.jsx)(cW, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(vDe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(MDe, {
data: e,
margin: {
top: 4,
@@ -64617,7 +64954,7 @@ function IDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function LDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function ZDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = I.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -64641,7 +64978,7 @@ function LDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var RDe = {
+var QDe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, L.jsx)("pattern", {
id: e,
x: "0",
@@ -64814,8 +65151,8 @@ var RDe = {
})
};
function _7({ variant: e }) {
- let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = RDe[e];
- return /* @__PURE__ */ (0, L.jsxs)(t2, {
+ let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = QDe[e];
+ return /* @__PURE__ */ (0, L.jsxs)(n2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, L.jsxs)("defs", { children: [
/* @__PURE__ */ (0, L.jsx)(a, { id: n }),
@@ -64845,7 +65182,7 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, zDe = "loading", BDe = 2e3, VDe = "evil-stacked", HDe = .5, UDe = .05, WDe = [
+var v7 = 2, $De = "loading", eOe = 2e3, tOe = "evil-stacked", nOe = .5, rOe = .05, iOe = [
0,
.7,
.5,
@@ -64857,7 +65194,7 @@ function b7() {
return e;
}
function x7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = v7, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = lOe(m, h), { visibleData: T, brushProps: E } = LDe({ data: t }), D = (0, I.useMemo)(() => {
+ let _ = (0, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = COe(m, h), { visibleData: T, brushProps: E } = ZDe({ data: t }), D = (0, I.useMemo)(() => {
let e = I.Children.toArray(n), t = e.find((e) => (0, I.isValidElement)(e) && e.type === m7), r = (0, I.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -64900,7 +65237,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, L.jsx)(FDe, {
+ footer: O && !m && /* @__PURE__ */ (0, L.jsx)(YDe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -64931,7 +65268,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, L.jsx)(_7, { variant: d }),
/* @__PURE__ */ (0, L.jsx)(k6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, L.jsx)(uOe, {
+ m && /* @__PURE__ */ (0, L.jsx)(wOe, {
chartId: _,
onShimmerExit: w
})
@@ -64940,8 +65277,8 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function GDe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = Ef();
+function aOe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = Df();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -64963,7 +65300,7 @@ function GDe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
dataKey: e,
- stackId: u ? VDe : void 0,
+ stackId: u ? tOe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -64980,44 +65317,44 @@ function GDe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(eOe, {
+ /* @__PURE__ */ (0, L.jsx)(mOe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, L.jsx)(tOe, {
+ t === "hatched" && /* @__PURE__ */ (0, L.jsx)(hOe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, L.jsx)(rOe, {
+ t === "duotone" && /* @__PURE__ */ (0, L.jsx)(_Oe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(iOe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(vOe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, L.jsx)(aOe, {
+ t === "gradient" && /* @__PURE__ */ (0, L.jsx)(yOe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, L.jsx)(oOe, {
+ t === "stripped" && /* @__PURE__ */ (0, L.jsx)(bOe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, L.jsx)(nOe, {
+ s && /* @__PURE__ */ (0, L.jsx)(gOe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, L.jsx)(sOe, {
+ o && /* @__PURE__ */ (0, L.jsx)(xOe, {
id: b,
dataKey: e
})
] })] });
}
-function KDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function oOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = b7();
return o ? null : /* @__PURE__ */ (0, L.jsx)(G8, {
tickLine: e,
@@ -65028,7 +65365,7 @@ function KDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function qDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function sOe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = b7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(X8, {
tickLine: e,
@@ -65040,7 +65377,7 @@ function qDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function JDe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function cOe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = b7();
return /* @__PURE__ */ (0, L.jsx)(K6, {
strokeDasharray: e,
@@ -65049,7 +65386,7 @@ function JDe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function YDe({ variant: e, roundness: t, defaultIndex: n }) {
+function lOe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = b7();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
@@ -65061,7 +65398,7 @@ function YDe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function XDe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function uOe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = b7();
return /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -65075,7 +65412,7 @@ function XDe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var S7 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = ZDe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : QDe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = $De({
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = dOe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : fOe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = pOe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -65087,7 +65424,7 @@ var S7 = (e) => {
c,
0,
0
- ] : c, A = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(hJ, {
+ ] : c, A = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(vJ, {
x: t,
y: n,
width: r,
@@ -65098,7 +65435,7 @@ var S7 = (e) => {
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, L.jsx)(hJ, {
+ }), C && /* @__PURE__ */ (0, L.jsx)(vJ, {
x: t,
y: n - 4,
width: r,
@@ -65109,10 +65446,10 @@ var S7 = (e) => {
return /* @__PURE__ */ (0, L.jsxs)("g", {
style: O,
onClick: b,
- children: [/* @__PURE__ */ (0, L.jsx)(hJ, {
+ children: [/* @__PURE__ */ (0, L.jsx)(vJ, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, L.jsx)(Df.g, {
+ }), w ? /* @__PURE__ */ (0, L.jsx)(Of.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -65120,7 +65457,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, ZDe = (e, t, n, r, i) => {
+}, dOe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -65135,11 +65472,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * UDe * 1e3, l = HDe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * rOe * 1e3, l = nOe * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: WDe,
+ ease: iOe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -65153,7 +65490,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, QDe = (e, t, n) => {
+}, fOe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -65162,10 +65499,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, $De = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, pOe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, eOe = ({ id: e, dataKey: t, config: n }) => {
+}, mOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -65187,7 +65524,7 @@ var S7 = (e) => {
}, i);
})
});
-}, tOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, hOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -65228,7 +65565,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), nOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), gOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -65269,7 +65606,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), rOe = ({ id: e, dataKey: t, config: n }) => {
+] }), _Oe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -65337,7 +65674,7 @@ var S7 = (e) => {
})
})
] });
-}, iOe = ({ id: e, dataKey: t, config: n }) => {
+}, vOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -65405,7 +65742,7 @@ var S7 = (e) => {
})
})
] });
-}, aOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, yOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -65442,7 +65779,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), oOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), bOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -65479,7 +65816,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), sOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+] }), xOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -65499,35 +65836,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), cOe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), SOe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function lOe(e, t = 12) {
+function COe(e, t = 12) {
let [n, r] = (0, I.useState)(!1), i = (0, I.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, I.useMemo)(() => DDe(t, 20, 80), [t, n]),
+ loadingData: (0, I.useMemo)(() => VDe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var uOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
- dataKey: zDe,
+var wOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
+ dataKey: $De,
fill: "currentColor",
fillOpacity: .15,
radius: v7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(dOe, {
+}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(TOe, {
chartId: e,
onShimmerExit: t
-}) })] }), dOe = ({ chartId: e, onShimmerExit: t }) => {
- let n = cOe(), r = (0, I.useRef)(-1);
+}) })] }), TOe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = SOe(), r = (0, I.useRef)(-1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -65550,7 +65887,7 @@ var uOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, L.jsx)(Df.rect, {
+ children: /* @__PURE__ */ (0, L.jsx)(Of.rect, {
y: "0",
width: "1",
height: "1",
@@ -65558,7 +65895,7 @@ var uOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: BDe / 1e3,
+ duration: eOe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -65580,10 +65917,10 @@ var uOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
})
] });
};
-x7.Bar = GDe, x7.XAxis = KDe, x7.YAxis = qDe, x7.Grid = JDe, x7.Tooltip = YDe, x7.Legend = XDe, x7.Brush = m7;
+x7.Bar = aOe, x7.XAxis = oOe, x7.YAxis = sOe, x7.Grid = cOe, x7.Tooltip = lOe, x7.Legend = uOe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${Mw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var C7 = `${Vw({ 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",
@@ -65610,7 +65947,7 @@ var T7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function fOe(e) {
+function EOe(e) {
return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
colors: E7(T7[t % T7.length])
@@ -65635,7 +65972,7 @@ function k7({ swatch: e, name: t, value: n }) {
});
}
var A7 = "size-2.5 shrink-0 rounded-xs";
-function pOe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function DOe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = i7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -65660,7 +65997,7 @@ function pOe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
- content: /* @__PURE__ */ (0, L.jsx)(pOe, {
+ content: /* @__PURE__ */ (0, L.jsx)(DOe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -65737,7 +66074,7 @@ var F7 = [
"周六",
"周日"
], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function mOe(e) {
+function OOe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -65754,7 +66091,7 @@ function mOe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function hOe(e) {
+function kOe(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -65793,19 +66130,19 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, gOe = {
+}, AOe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function _Oe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function jOe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${gOe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${AOe[a]}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -65863,7 +66200,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, L.jsx)(_Oe, {
+ }), g && _ ? /* @__PURE__ */ (0, L.jsx)(jOe, {
cell: g,
series: t.series,
tone: c,
@@ -65879,7 +66216,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var vOe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
+var MOe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
x: 0,
y: 18 + t * R7 + 7,
dominantBaseline: "middle",
@@ -65893,7 +66230,7 @@ var vOe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) =>
children: t
}, t))] });
function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = mOe(e), s = hOe(e);
+ let o = OOe(e), s = kOe(e);
return s.cells.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, L.jsx)(B7, {
@@ -65904,7 +66241,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: vOe,
+ axis: MOe,
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, L.jsx)(B7, {
title: n,
@@ -65970,20 +66307,20 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, L.jsx)(lS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, L.jsx)(hS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var yOe = "30%", bOe = "100%", U7 = 5, W7 = 14, xOe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
+var NOe = "30%", POe = "100%", U7 = 5, W7 = 14, FOe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
function q7() {
let e = (0, I.use)(K7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = yOe, outerRadius: l = bOe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = OOe(f), v = TOe(o), y = (0, I.useCallback)((e, t) => {
+function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = NOe, outerRadius: l = POe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = HOe(f), v = zOe(o), y = (0, I.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -66015,7 +66352,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(wDe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(RDe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -66034,8 +66371,8 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, L.jsx)(_7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, L.jsx)(kOe, {}),
- /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(EOe, {
+ f && /* @__PURE__ */ (0, L.jsx)(UOe, {}),
+ /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(BOe, {
config: e,
chartId: m
}) })
@@ -66044,7 +66381,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function SOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function IOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = q7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(b6, {
dataKey: e,
@@ -66060,7 +66397,7 @@ function SOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, L.jsx)(KJ, {
+ return /* @__PURE__ */ (0, L.jsx)(YJ, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -66069,7 +66406,7 @@ function SOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function COe({ variant: e, roundness: t, defaultIndex: n }) {
+function LOe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = q7();
return i ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -66082,7 +66419,7 @@ function COe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function wOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function ROe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = q7();
return a ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -66096,7 +66433,7 @@ function wOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function TOe(e) {
+function zOe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -66112,7 +66449,7 @@ function TOe(e) {
};
}
}
-var EOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var BOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = l7(n);
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -66135,13 +66472,13 @@ var EOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function DOe() {
- return Array.from({ length: xOe }, (e, t) => ({
+function VOe() {
+ return Array.from({ length: FOe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function OOe(e) {
+function HOe(e) {
let [t, n] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -66149,9 +66486,9 @@ function OOe(e) {
n((e) => e + 1);
}, G7);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => DOe(), [t]);
+ }, [e]), (0, I.useMemo)(() => VOe(), [t]);
}
-var kOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
+var UOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
dataKey: "value",
cornerRadius: U7,
barSize: W7,
@@ -66159,23 +66496,23 @@ var kOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
isAnimationActive: !0,
animationDuration: G7,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, L.jsx)(KJ, {
+ shape: (e) => /* @__PURE__ */ (0, L.jsx)(YJ, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-J7.RadialBar = SOe, J7.Tooltip = COe, J7.Legend = wOe;
+J7.RadialBar = IOe, J7.Tooltip = LOe, J7.Legend = ROe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var AOe = [
+var WOe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], jOe = [
+], GOe = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -66216,15 +66553,15 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, L.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: fOe(s.map((e) => e.name)),
- max: gue(s.map((e) => e.value)),
+ config: EOe(s.map((e) => e.name)),
+ max: kue(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, L.jsx)(J7.RadialBar, {
dataKey: "value",
- barSize: _ue(s.length),
+ barSize: Aue(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, L.jsx)(KJ, {
+ shape: (e) => /* @__PURE__ */ (0, L.jsx)(YJ, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -66248,13 +66585,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${jOe[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${GOe[t % 6]}`,
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${AOe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${WOe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, L.jsx)("b", {
@@ -66273,7 +66610,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var MOe = 10, X7 = T7[5], NOe = T7[4], POe = `${Mw()} flex flex-col gap-4`, FOe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", IOe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", LOe = "开始播放后,这里会显示最近的真实观看证据。", ROe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", zOe = "添加媒体文件夹后,这里会显示存储空间。";
+var KOe = 10, X7 = T7[5], qOe = T7[4], JOe = `${Vw()} flex flex-col gap-4`, YOe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", XOe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", ZOe = "开始播放后,这里会显示最近的真实观看证据。", QOe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", $Oe = "添加媒体文件夹后,这里会显示存储空间。";
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",
@@ -66295,10 +66632,10 @@ function Q7({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [RL(t, n), "%"]
+ children: [zL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(zw, {
+ }), /* @__PURE__ */ (0, L.jsx)(Jw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -66326,14 +66663,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${POe} md:flex-row md:gap-6`,
+ className: `${JOe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function BOe({ data: t, configurable: n, openMediaSettings: r }) {
+function eke({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -66361,14 +66698,14 @@ function BOe({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: X7,
- rows: xue(t.by_length)
+ rows: Pue(t.by_length)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
color: X7,
- rows: VL(t.by_quality)
+ rows: HL(t.by_quality)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "文件类型",
@@ -66376,28 +66713,28 @@ function BOe({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: X7,
layout: "horizontal",
- rows: yue(t.by_medium)
+ rows: Mue(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: PS,
+ icon: US,
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)(xw, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: FOe
+ children: YOe
});
}
-function VOe({ data: e }) {
+function tke({ data: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
@@ -66412,11 +66749,11 @@ function VOe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: NOe,
- rows: Cue(e.replays)
+ color: qOe,
+ rows: Iue(e.replays)
})] });
}
-function HOe({ attribution: e }) {
+function nke({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -66449,7 +66786,7 @@ function HOe({ attribution: e }) {
]
});
}
-function UOe({ volume: e }) {
+function rke({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -66466,11 +66803,11 @@ function UOe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [a(n), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [RL(n, t), "%"]
+ children: [zL(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, L.jsx)(zw, {
+ t == null ? null : /* @__PURE__ */ (0, L.jsx)(Jw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -66488,25 +66825,25 @@ function UOe({ volume: e }) {
]
});
}
-function WOe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function ike({ 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)(UOe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(rke, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: bS,
+ icon: ES,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: zOe
+ children: $Oe
});
}
-function GOe({ tags: e, tagLabel: t, onTag: n }) {
+function ake({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: MOe,
+ previewCount: KOe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, L.jsx)("li", {
className: "min-w-0",
@@ -66530,24 +66867,24 @@ function GOe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: TS,
+ icon: PS,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: IOe
+ children: XOe
});
}
-function KOe({ rows: e }) {
+function oke({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = zL(e);
+ let t = BL(e);
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -66555,41 +66892,41 @@ function KOe({ rows: e }) {
children: [/* @__PURE__ */ (0, L.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, L.jsx)("a", {
- href: hue(e),
+ href: Oue(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, L.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: mue(e) })]
+ children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: Due(e) })]
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, L.jsx)(zw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${BL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${VL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: xS,
+ icon: DS,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: LOe
+ children: ZOe
});
}
-function qOe({ sources: e, videos: t }) {
+function ske({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)("article", {
@@ -66608,7 +66945,7 @@ function qOe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(zw, {
+ /* @__PURE__ */ (0, L.jsx)(Jw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -66619,27 +66956,27 @@ function qOe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: TS,
+ icon: PS,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(Aw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: ROe
+ children: QOe
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
return /* @__PURE__ */ (0, L.jsx)(hO, {
id: e,
- className: PA({
+ className: AA({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, L.jsx)(RA, {
+ children: /* @__PURE__ */ (0, L.jsx)(PA, {
label: t,
icon: i,
accent: a,
@@ -66648,18 +66985,18 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function JOe(e) {
- let t = Ot({
- queryKey: IL,
- queryFn: ({ signal: e }) => LL(e)
+function cke(e) {
+ let t = kt({
+ queryKey: LL,
+ queryFn: ({ signal: e }) => RL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Gw, { 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 = RL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
+ 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 = zL(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
@@ -66669,12 +67006,12 @@ function JOe(e) {
children: [
/* @__PURE__ */ (0, L.jsxs)(mO, {
"aria-label": "统计视图",
- className: FA,
+ className: jA,
children: [
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: gS,
+ icon: SS,
accent: 0,
figure: o.toLocaleString(),
detail: a(s)
@@ -66682,15 +67019,15 @@ function JOe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: yS,
+ icon: TS,
accent: 1,
figure: r.played.toLocaleString(),
- detail: pue(r.play_seconds)
+ detail: Eue(r.play_seconds)
}),
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: TS,
+ icon: PS,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -66698,7 +67035,7 @@ function JOe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: bS,
+ icon: ES,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${a(i.used)}` : "容量未取得"
@@ -66707,7 +67044,7 @@ function JOe(e) {
}),
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "inventory",
- children: /* @__PURE__ */ (0, L.jsx)(BOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(eke, {
data: n,
...e
})
@@ -66758,7 +67095,7 @@ function JOe(e) {
})
]
})
- }), /* @__PURE__ */ (0, L.jsx)(VOe, { data: n })]
+ }), /* @__PURE__ */ (0, L.jsx)(tke, { data: n })]
}),
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "coverage",
@@ -66768,7 +67105,7 @@ function JOe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, L.jsx)(HOe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, L.jsx)(nke, { attribution: n.attribution })
})
}),
/* @__PURE__ */ (0, L.jsx)(gO, {
@@ -66779,7 +67116,7 @@ function JOe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, L.jsx)(WOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(ike, {
volumes: n.storage_volumes,
...e
})
@@ -66788,27 +67125,27 @@ function JOe(e) {
]
}),
/* @__PURE__ */ (0, L.jsxs)(pO, {
- className: `${Mw({ padding: "none" })} flex flex-col`,
+ className: `${Vw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, L.jsxs)(mO, {
"aria-label": "统计维度",
- className: TN,
+ className: SM,
children: [
/* @__PURE__ */ (0, L.jsx)(hO, {
id: "tags",
- className: EN,
+ className: CM,
children: "内容标签"
}),
/* @__PURE__ */ (0, L.jsx)(hO, {
id: "recent",
- className: EN,
+ className: CM,
children: "最近看过"
}),
/* @__PURE__ */ (0, L.jsx)(hO, {
id: "sources",
- className: EN,
+ className: CM,
children: "标签来源"
})
]
@@ -66817,7 +67154,7 @@ function JOe(e) {
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(GOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(ake, {
tags: n.top_tags,
...e
})
@@ -66825,12 +67162,12 @@ function JOe(e) {
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(KOe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, L.jsx)(oke, { rows: n.recent })
}),
/* @__PURE__ */ (0, L.jsx)(gO, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(qOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(ske, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -66841,7 +67178,7 @@ function JOe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function YOe(e, t) {
+function lke(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -66865,13 +67202,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function XOe(e) {
+function uke(e) {
return e.index;
}
-function ZOe(e) {
+function dke(e) {
return e.nodes;
}
-function QOe(e) {
+function fke(e) {
return e.links;
}
function s9(e, t) {
@@ -66886,8 +67223,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function $Oe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = XOe, c = YOe, l, u, d = ZOe, f = QOe, p = 6;
+function pke() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = uke, c = lke, l, u, d = dke, f = fke, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -66956,7 +67293,7 @@ function $Oe() {
}
}
function y({ nodes: t }) {
- let r = TX(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = OX(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -66965,7 +67302,7 @@ function $Oe() {
return o;
}
function b(e) {
- let n = EX(e, (e) => (r - t - (e.length - 1) * o) / MX(e, o9));
+ let n = kX(e, (e) => (r - t - (e.length - 1) * o) / MX(e, o9));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -66982,7 +67319,7 @@ function $Oe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (TX(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (OX(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -67073,7 +67410,7 @@ function $Oe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, eke = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, mke = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -67114,7 +67451,7 @@ f9.prototype = p9.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > eke ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > mke ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -67132,27 +67469,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function tke(e) {
+function hke(e) {
return e[0];
}
-function nke(e) {
+function gke(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var rke = Array.prototype.slice;
+var _ke = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function ike(e) {
+function vke(e) {
return e.source;
}
-function ake(e) {
+function yke(e) {
return e.target;
}
-function oke(e) {
- var t = ike, n = ake, r = tke, i = nke, a = null;
+function bke(e) {
+ var t = vke, n = yke, r = hke, i = gke, a = null;
function o() {
- var o, s = rke.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = _ke.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = p9(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
@@ -67167,48 +67504,48 @@ function oke(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function ske(e, t, n, r, i) {
+function xke(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function cke() {
- return oke(ske);
+function Ske() {
+ return bke(xke);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function lke(e) {
+function Cke(e) {
return [e.source.x1, e.y0];
}
-function uke(e) {
+function wke(e) {
return [e.target.x0, e.y1];
}
-function dke() {
- return cke().source(lke).target(uke);
+function Tke() {
+ return Ske().source(Cke).target(wke);
}
//#endregion
//#region src/react/taste/taste.ts
-var fke = "/api/taste", h9 = "/api/taste/refresh", pke = "/api/taste/import", mke = "/api/taste/source", g9 = (e) => ["taste", e], hke = ["taste", "refresh"], gke = [
+var Eke = "/api/taste", h9 = "/api/taste/refresh", Dke = "/api/taste/import", Oke = "/api/taste/source", g9 = (e) => ["taste", e], kke = ["taste", "refresh"], Ake = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => ww(`${fke}?window=${e}`, t), _ke = (e) => ww(h9, e);
-async function vke(e, t) {
+], _9 = (e, t) => Nw(`${Eke}?window=${e}`, t), jke = (e) => Nw(h9, e);
+async function Mke(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var yke = (e) => q(h9, {
+var Nke = (e) => q(h9, {
window: e,
background: !0
-}), bke = (e, t) => q(mke, {
+}), Pke = (e, t) => q(Oke, {
operation: "remove",
source_key: e,
window: t
});
-async function xke(e) {
- let t = await fetch(pke, {
+async function Fke(e) {
+ let t = await fetch(Dke, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -67222,25 +67559,25 @@ async function xke(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new Sw(e || `导入失败(${t.status})`, t.status, n);
+ throw new jw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var Ske = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Cke = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, wke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function Tke(e) {
+var Ike = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Lke = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Rke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function zke(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function Eke(e) {
- let t = e.map(wke), n = Math.max(1, ...t);
+function Bke(e) {
+ let t = e.map(Rke), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var y9 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function Dke(e) {
+function Vke(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -67251,10 +67588,10 @@ var b9 = {
source: 145,
target: 545
};
-function Oke(e = []) {
+function Hke(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = $Oe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = pke().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -67269,7 +67606,7 @@ function Oke(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = dke();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = Tke();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -67299,7 +67636,7 @@ function Oke(e = []) {
total: a
};
}
-var kke = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var Uke = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = I.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -67422,14 +67759,14 @@ var T9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
T9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var Ake = 1, jke = .3, Mke = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
+var Wke = 1, Gke = .3, Kke = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
function k9() {
let e = (0, I.use)(O9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function A9({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = Gke(c, l), m = (0, I.useCallback)((e) => {
+ let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = aAe(c, l), m = (0, I.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, I.useMemo)(() => ({
config: e,
@@ -67447,32 +67784,32 @@ function A9({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(gDe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(ADe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, L.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, L.jsx)(Kke, {})
+ c && /* @__PURE__ */ (0, L.jsx)(oAe, {})
]
})]
})
});
}
-function Nke({ dataKey: e, variant: t = "filled", fillOpacity: n = jke, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function qke({ dataKey: e, variant: t = "filled", fillOpacity: n = Gke, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, I.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = zke(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = $ke(a, d, e, p.dot);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(W3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: Ake,
+ strokeWidth: Wke,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -67485,30 +67822,30 @@ function Nke({ dataKey: e, variant: t = "filled", fillOpacity: n = jke, isGlowin
},
...o
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(Bke, {
+ /* @__PURE__ */ (0, L.jsx)(eAe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, L.jsx)(Vke, {
+ /* @__PURE__ */ (0, L.jsx)(tAe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, L.jsx)(Hke, {
+ m && /* @__PURE__ */ (0, L.jsx)(nAe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, L.jsx)(Uke, {
+ r && /* @__PURE__ */ (0, L.jsx)(rAe, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function Pke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, L.jsx)(I4, {
+function Jke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, L.jsx)(L4, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -67516,7 +67853,7 @@ function Pke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function Fke({ tick: e = {
+function Yke({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -67527,7 +67864,7 @@ function Fke({ tick: e = {
...n
});
}
-function Ike({ tick: e = {
+function Xke({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -67539,7 +67876,7 @@ function Ike({ tick: e = {
...r
});
}
-function Lke({ variant: e, roundness: t, defaultIndex: n }) {
+function Zke({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -67551,7 +67888,7 @@ function Lke({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Rke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function Qke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
return i ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -67564,7 +67901,7 @@ function Rke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var zke = (e, t, n, r) => {
+var $ke = (e, t, n, r) => {
let i = !1, a = !1;
return I.Children.forEach(e, (e) => {
if ((0, I.isValidElement)(e)) {
@@ -67606,7 +67943,7 @@ var zke = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), Bke = ({ id: e, dataKey: t, config: n }) => {
+}) }), eAe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -67619,7 +67956,7 @@ var zke = (e, t, n, r) => {
colorsCount: r
})
});
-}, Vke = ({ id: e, dataKey: t, config: n }) => {
+}, tAe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -67632,7 +67969,7 @@ var zke = (e, t, n, r) => {
colorsCount: r
})
});
-}, Hke = ({ id: e, dataKey: t, config: n }) => {
+}, nAe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, L.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -67645,7 +67982,7 @@ var zke = (e, t, n, r) => {
opacities: i
})
});
-}, Uke = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+}, rAe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -67665,7 +68002,7 @@ var zke = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), Wke = (e) => [
+}), iAe = (e) => [
"A",
"B",
"C",
@@ -67676,7 +68013,7 @@ var zke = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function Gke(e, t = Mke) {
+function aAe(e, t = Kke) {
let [n, r] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -67684,9 +68021,9 @@ function Gke(e, t = Mke) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => Wke(t), [t, n]);
+ }, [e]), (0, I.useMemo)(() => iAe(t), [t, n]);
}
-var Kke = () => /* @__PURE__ */ (0, L.jsx)(W3, {
+var oAe = () => /* @__PURE__ */ (0, L.jsx)(W3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -67698,17 +68035,17 @@ var Kke = () => /* @__PURE__ */ (0, L.jsx)(W3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = Nke, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = Pke, A9.PolarAngleAxis = Fke, A9.PolarRadiusAxis = Ike, A9.Tooltip = Lke, A9.Legend = Rke;
+A9.Radar = qke, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = Jke, A9.PolarAngleAxis = Yke, A9.PolarRadiusAxis = Xke, A9.Tooltip = Zke, A9.Legend = Qke;
//#endregion
//#region src/react/taste/charts.tsx
-var qke = [
+var sAe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Jke = [
+], cAe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -67718,7 +68055,7 @@ var qke = [
], P9 = { value: {
label: "标签命中",
colors: E7(T7[3])
-} }, Yke = [
+} }, lAe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -67728,20 +68065,20 @@ var qke = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Xke = 26, Zke = { radius: P9.value }, Qke = (e, t) => Math.sqrt(e / t);
-function $ke({ rows: e, label: t }) {
- let n = Dke(e);
+], uAe = 26, dAe = { radius: P9.value }, fAe = (e, t) => Math.sqrt(e / t);
+function pAe({ rows: e, label: t }) {
+ let n = Vke(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: Qke(e.value, r)
+ radius: fAe(e.value, r)
}));
return /* @__PURE__ */ (0, L.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, L.jsxs)(A9, {
data: i,
- config: Zke,
+ config: dAe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -67758,17 +68095,17 @@ function $ke({ rows: e, label: t }) {
})
});
}
-function eAe({ rows: e, label: t }) {
+function mAe({ rows: e, label: t }) {
let n = y9(e, 8);
return n.length ? /* @__PURE__ */ (0, L.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${Yke[n.length]}`,
+ className: `flex grow flex-col ${lAe[n.length]}`,
children: /* @__PURE__ */ (0, L.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: Xke },
+ chartProps: { maxBarSize: uAe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)(x7.YAxis, {
@@ -67792,8 +68129,8 @@ function eAe({ rows: e, label: t }) {
})
}) : null;
}
-function tAe({ flows: e }) {
- let [t, n] = (0, I.useState)(null), r = Oke(e);
+function hAe({ flows: e }) {
+ let [t, n] = (0, I.useState)(null), r = Hke(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, L.jsxs)("section", {
@@ -67821,7 +68158,7 @@ function tAe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${qke[e.color]}`,
+ className: `outline-none transition-opacity ${sAe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -67855,14 +68192,14 @@ function tAe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Jke[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? cAe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, L.jsxs)("text", {
x: x9[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [kke(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
+ children: [Uke(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -67880,11 +68217,11 @@ function tAe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var nAe = 10, F9 = gw(HA, UA, "text-body-2-medium"), I9 = `${Mw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", rAe = "读取运行 Peach 的这台电脑上的浏览记录", iAe = "导入或读取浏览记录后,这里会列出已采集设备。", aAe = "馆藏里暂时没有对得上浏览信号的标签。", oAe = "采集浏览记录后,这里会显示聚合后的口味证据。", sAe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", cAe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", lAe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", uAe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", dAe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var gAe = 10, F9 = Tw(RA, zA, "text-body-2-medium"), I9 = `${Vw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", _Ae = "读取运行 Peach 的这台电脑上的浏览记录", vAe = "导入或读取浏览记录后,这里会列出已采集设备。", yAe = "馆藏里暂时没有对得上浏览信号的标签。", bAe = "采集浏览记录后,这里会显示聚合后的口味证据。", xAe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", SAe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", CAe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", wAe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", TAe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: PA(),
- children: /* @__PURE__ */ (0, L.jsx)(RA, {
+ className: AA(),
+ children: /* @__PURE__ */ (0, L.jsx)(PA, {
label: t,
icon: e,
accent: i,
@@ -67907,22 +68244,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function fAe({ html: e }) {
+function EAe({ html: e }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${fL}`,
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${pL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function pAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, L.jsx)(Pw, {
+function DAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: OS,
+ icon: LS,
title: "暂无足够证据",
children: r
});
- let o = Eke(e);
+ let o = Bke(e);
return /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: nAe,
+ previewCount: gAe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
@@ -67949,7 +68286,7 @@ function pAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(fAe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(EAe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -67961,10 +68298,10 @@ function pAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: Tke(e)
+ children: zke(e)
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(dS, {
+ s ? /* @__PURE__ */ (0, L.jsx)(_S, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -67986,22 +68323,22 @@ function pAe({ 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)(pO, {
- className: `${Mw({ padding: "none" })} flex flex-col`,
+ className: `${Vw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, L.jsx)(mO, {
"aria-label": e,
- className: TN,
+ className: SM,
children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(hO, {
id: e.id,
- className: EN,
+ className: CM,
children: e.name
}, e.id))
})
}), t.map((e) => /* @__PURE__ */ (0, L.jsx)(gO, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(pAe, {
+ children: /* @__PURE__ */ (0, L.jsx)(DAe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -68009,7 +68346,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function mAe({ data: e, onSignal: t, navigate: n }) {
+function OAe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -68075,21 +68412,21 @@ function mAe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, L.jsx)(dS, {
+ }), /* @__PURE__ */ (0, L.jsx)(_S, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: OS,
+ icon: LS,
title: "还没有可探索的入口",
- children: aAe
+ children: yAe
})
]
});
}
-function hAe({ onboarding: e, done: t }) {
+function kAe({ onboarding: e, done: t }) {
let [n, r] = (0, I.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -68098,21 +68435,21 @@ function hAe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, L.jsx)("div", {
- className: Mw({
+ className: Vw({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, L.jsxs)(dj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(aj, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: cAe
+ children: SAe
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: lAe
+ children: CAe
}),
/* @__PURE__ */ (0, L.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -68142,7 +68479,7 @@ function hAe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: uAe
+ children: wAe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
@@ -68162,7 +68499,7 @@ function hAe({ onboarding: e, done: t }) {
})
});
}
-function gAe({ busy: e, onRefresh: t, onImport: n }) {
+function AAe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -68171,15 +68508,15 @@ function gAe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: hS,
- title: rAe,
+ leadingIcon: xS,
+ title: _Ae,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: lS,
+ leadingIcon: hS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -68191,7 +68528,7 @@ function gAe({ busy: e, onRefresh: t, onImport: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: VA,
+ className: LA,
children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
@@ -68199,7 +68536,7 @@ function gAe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(hS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -68207,7 +68544,7 @@ function gAe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(MS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(VS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -68215,9 +68552,9 @@ function gAe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function _Ae({ sources: e, window: t, toast: n }) {
- let r = kt({
- mutationFn: (e) => bke(e, t),
+function jAe({ sources: e, window: t, toast: n }) {
+ let r = At({
+ mutationFn: (e) => Pke(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -68241,10 +68578,10 @@ function _Ae({ 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)(MS, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(VS, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, L.jsx)(gS, {
+ }) : /* @__PURE__ */ (0, L.jsx)(SS, {
"aria-hidden": !0,
className: "size-4"
})
@@ -68264,12 +68601,12 @@ function _Ae({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: _S,
+ leadingIcon: CS,
...Y(r.isPending),
onClick: () => {
r.isPending || h({
title: "移除口味数据源",
- body: dAe,
+ body: TAe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -68277,30 +68614,30 @@ function _Ae({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: gS,
+ icon: SS,
title: "还没有数据源",
- children: iAe
+ children: vAe
})
]
});
}
-function vAe(e) {
- let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: o } = e, [s, c] = (0, I.useState)("all"), [l, u] = (0, I.useState)("browser"), d = (0, I.useRef)(null), f = Ot({
+function MAe(e) {
+ let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: o } = e, [s, c] = (0, I.useState)("all"), [l, u] = (0, I.useState)("browser"), d = (0, I.useRef)(null), f = kt({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
- placeholderData: De
- }), { job: p, running: m, outcome: h, start: g } = Nj({
- queryKey: hke,
- queryFn: ({ signal: e }) => _ke(e),
- start: () => yke(s),
- idlePollMs: Ske,
+ placeholderData: Oe
+ }), { job: p, running: m, outcome: h, start: g } = Dj({
+ queryKey: kke,
+ queryFn: ({ signal: e }) => jke(e),
+ start: () => Nke(s),
+ idlePollMs: Ike,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), _ = kt({
- mutationFn: (e) => xke(e),
+ }), _ = At({
+ mutationFn: (e) => Fke(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -68310,13 +68647,13 @@ function vAe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, L.jsx)(Gw, { 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)(Iw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(Gw, { children: [
/* @__PURE__ */ (0, L.jsxs)(pO, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
@@ -68326,31 +68663,31 @@ function vAe(e) {
className: "flex flex-wrap items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, L.jsxs)(mO, {
"aria-label": "口味证据来源",
- className: TN,
+ className: SM,
children: [/* @__PURE__ */ (0, L.jsx)(hO, {
id: "browser",
- className: EN,
+ className: CM,
children: "浏览器记录"
}), /* @__PURE__ */ (0, L.jsx)(hO, {
id: "peach",
- className: EN,
+ className: CM,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)(Sj, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: gke.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
+ children: Ake.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Cj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(gAe, {
+ /* @__PURE__ */ (0, L.jsx)(AAe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -68366,7 +68703,7 @@ function vAe(e) {
]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(hAe, {
+ /* @__PURE__ */ (0, L.jsx)(kAe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -68376,7 +68713,7 @@ function vAe(e) {
children: [
m ? p?.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(zw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Jw, {
label: p.message || "正在读取浏览记录",
value: p.checked || 0,
max: p.total
@@ -68384,8 +68721,8 @@ function vAe(e) {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在导入历史文件" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(Ww, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, L.jsx)(Ww, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: k
@@ -68397,31 +68734,31 @@ function vAe(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: FA,
+ className: jA,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: xS,
+ icon: DS,
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: TS,
+ icon: PS,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: OS,
+ icon: LS,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: gS,
+ icon: SS,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: a(w.bytes || 0)
@@ -68438,7 +68775,7 @@ function vAe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, L.jsx)($ke, {
+ /* @__PURE__ */ (0, L.jsx)(pAe, {
rows: T,
label: "主要口味维度"
}),
@@ -68449,14 +68786,14 @@ function vAe(e) {
]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, L.jsx)(eAe, {
+ children: T.length ? /* @__PURE__ */ (0, L.jsx)(mAe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Uw, {
shell: "plain",
- icon: OS,
+ icon: LS,
title: "暂无口味维度",
- children: oAe
+ children: bAe
})
})]
}),
@@ -68472,7 +68809,7 @@ function vAe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, L.jsx)(tAe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, L.jsx)(hAe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, L.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -68515,7 +68852,7 @@ function vAe(e) {
rows: E,
kind: "",
visual: "none",
- empty: sAe
+ empty: xAe
}
}
]
@@ -68527,30 +68864,30 @@ function vAe(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: FA,
+ className: jA,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: yS,
+ icon: TS,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: Cke(x.peach_seconds || 0)
+ detail: Lke(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: jS,
+ icon: BS,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: AS,
+ icon: zS,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: TS,
+ icon: PS,
term: "有标签",
figure: D.toLocaleString()
})
@@ -68629,12 +68966,12 @@ function vAe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(mAe, {
+ /* @__PURE__ */ (0, L.jsx)(OAe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, L.jsx)(_Ae, {
+ /* @__PURE__ */ (0, L.jsx)(jAe, {
sources: b.sources || [],
window: s,
toast: r
@@ -68654,7 +68991,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(zw, {
+ }), /* @__PURE__ */ (0, L.jsx)(Jw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -68663,26 +69000,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function yAe(e) {
+function NAe(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var bAe = (e) => {
+var PAe = (e) => {
switch (e) {
- case "success": return CAe;
- case "info": return TAe;
- case "warning": return wAe;
- case "error": return EAe;
+ case "success": return LAe;
+ case "info": return zAe;
+ case "warning": return RAe;
+ case "error": return BAe;
default: return null;
}
-}, xAe = Array(12).fill(0), SAe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
+}, FAe = Array(12).fill(0), IAe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, xAe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
+}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, FAe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), CAe = /*#__PURE__*/ I.createElement("svg", {
+})))), LAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -68693,7 +69030,7 @@ var bAe = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), wAe = /*#__PURE__*/ I.createElement("svg", {
+})), RAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -68704,7 +69041,7 @@ var bAe = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), TAe = /*#__PURE__*/ I.createElement("svg", {
+})), zAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -68715,7 +69052,7 @@ var bAe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), EAe = /*#__PURE__*/ I.createElement("svg", {
+})), BAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -68726,7 +69063,7 @@ var bAe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), DAe = /*#__PURE__*/ I.createElement("svg", {
+})), VAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -68747,7 +69084,7 @@ var bAe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), OAe = () => {
+})), HAe = () => {
let [e, t] = I.useState(document.hidden);
return I.useEffect(() => {
let e = () => {
@@ -68755,7 +69092,7 @@ var bAe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, kAe = 1, AAe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : kAe++, W9 = new class {
+}, UAe = 1, WAe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : UAe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -68765,7 +69102,7 @@ var bAe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - AAe;
+ let e = this.toasts.length - WAe;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = U9(e), i = this.pendingDismissals.get(r);
@@ -68843,7 +69180,7 @@ var bAe = (e) => {
type: "default",
message: e
});
- else if (MAe(e) && !e.ok) {
+ else if (KAe(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !I.isValidElement(r) ? r : { message: r };
this.create({
@@ -68896,7 +69233,7 @@ var bAe = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), jAe = (e, t) => W9.message(e, t), MAe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(jAe, {
+}(), GAe = (e, t) => W9.message(e, t), KAe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(GAe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -68910,20 +69247,20 @@ var bAe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-yAe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+NAe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function K9(e) {
return e.label !== void 0;
}
-var NAe = 3, PAe = "24px", FAe = "16px", q9 = 4e3, IAe = 356, LAe = 14, RAe = 45, zAe = 200;
+var qAe = 3, JAe = "24px", YAe = "16px", q9 = 4e3, XAe = 356, ZAe = 14, QAe = 45, $Ae = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function BAe(e) {
+function eje(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var VAe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [P, ee] = I.useState(!1), [F, te] = I.useState(!1), [ne, re] = I.useState(!1), [L, ie] = I.useState(0), [ae, oe] = I.useState(0), se = I.useRef(n.duration || y || q9), ce = I.useRef(null), le = I.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = OAe(), Ee = I.useMemo(() => e.swipeDirections ?? BAe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var tje = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, F] = I.useState(!1), [ne, re] = I.useState(!1), [ie, L] = I.useState(0), [ae, oe] = I.useState(0), se = I.useRef(n.duration || y || q9), ce = I.useRef(null), le = I.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = HAe(), Ee = I.useMemo(() => e.swipeDirections ?? eje(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = I.useMemo(() => he * x + we, [he, we]), I.useEffect(() => {
se.current = _e;
}, [_e]), I.useEffect(() => {
@@ -68962,9 +69299,9 @@ var VAe = (e) => {
n.cancel
]);
let ke = I.useCallback(() => {
- N(!0), ie(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
+ N(!0), L(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, zAe);
+ }, $Ae);
}, [
n,
d,
@@ -68997,12 +69334,12 @@ var VAe = (e) => {
return w?.loading ? /*#__PURE__*/ I.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ I.createElement(SAe, {
+ }, w.loading) : /*#__PURE__*/ I.createElement(IAe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || bAe(z);
+ let je = n.icon || w?.[z] || PAe(z);
return /*#__PURE__*/ I.createElement("li", {
tabIndex: 0,
ref: le,
@@ -69019,11 +69356,11 @@ var VAe = (e) => {
"data-x-position": Ce,
"data-index": c,
"data-front": ue,
- "data-swiping": P,
+ "data-swiping": ee,
"data-dismissible": fe,
"data-type": z,
"data-invert": De,
- "data-swipe-out": F,
+ "data-swipe-out": P,
"data-swipe-direction": O,
"data-expanded": !!(u || S && A),
"data-testid": n.testId,
@@ -69031,30 +69368,30 @@ var VAe = (e) => {
"--index": c,
"--toasts-before": c,
"--z-index": l.length - c,
- "--offset": `${M ? L : ye.current}px`,
+ "--offset": `${M ? ie : ye.current}px`,
"--initial-height": S ? "auto" : `${ae}px`,
...m,
...n.style
},
onDragEnd: () => {
- ee(!1), D(null), xe.current = null;
+ te(!1), D(null), xe.current = null;
},
onPointerDown: (e) => {
- e.button !== 2 && (Oe || !fe || (ce.current = /* @__PURE__ */ new Date(), ie(ye.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (ee(!0), xe.current = {
+ e.button !== 2 && (Oe || !fe || (ce.current = /* @__PURE__ */ new Date(), L(ye.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (te(!0), xe.current = {
x: e.clientX,
y: e.clientY
})));
},
onPointerUp: () => {
- if (F || !fe) return;
+ if (P || !fe) return;
xe.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= RAe || a > .11)) {
- ie(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), te(!0);
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= QAe || a > .11)) {
+ L(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), F(!0);
return;
}
var o, s;
- (o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), ee(!1), D(null);
+ (o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), te(!1), D(null);
},
onPointerMove: (e) => {
var t, n;
@@ -69090,7 +69427,7 @@ var VAe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? DAe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
+ }, w?.close ?? VAe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
"data-icon": "",
className: J9(C?.icon, n?.classNames?.icon)
}, z === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, z === "loading" ? null : je) : null, /*#__PURE__*/ I.createElement("div", {
@@ -69125,10 +69462,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function HAe(e, t) {
+function nje(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? FAe : PAe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? YAe : JAe;
function o(e) {
[
"top",
@@ -69149,8 +69486,8 @@ function HAe(e, t) {
}) : o(a);
}), n;
}
-var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = NAe, toastOptions: g, dir: _ = Y9(), gap: v = LAe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = I.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = I.useRef(null), te = I.useRef(!1), ne = I.useCallback((e) => {
+var rje = /*#__PURE__*/ I.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = qAe, toastOptions: g, dir: _ = Y9(), gap: v = ZAe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), F = I.useRef(!1), ne = I.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return I.useEffect(() => W9.subscribe((e) => {
@@ -69164,7 +69501,7 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
return;
}
setTimeout(() => {
- vh.flushSync(() => {
+ yh.flushSync(() => {
C((t) => {
let n = t.findIndex((t) => t.id === e.id);
return n === -1 ? [e, ...t] : [
@@ -69204,18 +69541,18 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
let e = (e) => {
if (a.length > 0 && a.every((t) => e[t] || e.code === t)) {
var t;
- k(!0), (t = P.current) == null || t.focus();
+ k(!0), (t = ee.current) == null || t.focus();
}
- e.code === "Escape" && (document.activeElement === P.current || P.current?.contains(document.activeElement)) && k(!1);
+ e.code === "Escape" && (document.activeElement === ee.current || ee.current?.contains(document.activeElement)) && k(!1);
};
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
}, [a]), I.useEffect(() => {
- if (P.current) return () => {
- F.current && (F.current.focus({ preventScroll: !0 }), F.current = null, te.current = !1);
+ if (ee.current) return () => {
+ P.current && (P.current.focus({ preventScroll: !0 }), P.current = null, F.current = !1);
};
- }, [P.current]), /*#__PURE__*/ I.createElement("section", {
+ }, [ee.current]), /*#__PURE__*/ I.createElement("section", {
ref: t,
- "aria-label": b ?? `${x} ${ee}`,
+ "aria-label": b ?? `${x} ${te}`,
tabIndex: -1,
"aria-live": "polite",
"aria-relevant": "additions text",
@@ -69228,7 +69565,7 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
key: t,
dir: _ === "auto" ? Y9() : _,
tabIndex: -1,
- ref: P,
+ ref: ee,
className: c,
"data-sonner-toaster": !0,
"data-sonner-theme": M,
@@ -69236,16 +69573,16 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${IAe}px`,
+ "--width": `${XAe}px`,
"--gap": `${v}px`,
...m,
- ...HAe(l, u)
+ ...nje(l, u)
},
onBlur: (e) => {
- te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));
+ F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
},
onFocus: (e) => {
- e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || te.current || (te.current = !0, F.current = e.relatedTarget);
+ e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || F.current || (F.current = !0, P.current = e.relatedTarget);
},
onMouseEnter: () => k(!0),
onMouseMove: () => k(!0),
@@ -69257,7 +69594,7 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(VAe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(tje, {
key: n.id,
icons: y,
index: i,
@@ -69291,8 +69628,8 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, WAe = (e, t) => {
- Z9 || (Z9 = !0, (0, cS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(UAe, {
+}), Z9 = !1, ije = (e, t) => {
+ Z9 || (Z9 = !0, (0, mS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(rje, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -69313,7 +69650,7 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, GAe = (e, t) => {
+}, aje = (e, t) => {
let n = t.alert ? G9.error : G9.success, r = t.action;
n(/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -69326,100 +69663,104 @@ var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function KAe() {
+function oje() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
return (t, n) => {
- let r = (0, cS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(oe, {
+ let r = (0, mS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(se, {
client: X,
- children: /* @__PURE__ */ (0, L.jsx)(Nu, {
+ children: /* @__PURE__ */ (0, L.jsx)(Pu, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, L.jsx)(ay, {
- getContainer: KAe,
+ children: /* @__PURE__ */ (0, L.jsx)(iy, {
+ getContainer: oje,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
})
}));
- return (0, vh.flushSync)(() => i(n)), {
+ return (0, yh.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var qAe = {
+var sje = {
activity: {
- prefetch: (e, t) => Yw(t),
- mount: $9(ine)
+ prefetch: (e, t) => iT(t),
+ mount: $9(ane)
},
"catalog-grid": {
- prefetch: dne,
- mount: $9(Rne)
+ prefetch: fne,
+ mount: $9(zne)
},
"cover-crop": {
prefetch: async () => {},
- mount: $9(Xie)
+ mount: $9(Zie)
},
configuration: {
- prefetch: (e, t) => OL(t),
- mount: $9(cue)
+ prefetch: (e, t) => kL(t),
+ mount: $9(xue)
},
"configuration-summary": {
- prefetch: (e, t) => OL(t),
- mount: $9(uue)
+ prefetch: (e, t) => kL(t),
+ mount: $9(Cue)
},
"data-cleanup": {
- prefetch: (e, t) => Uae(t),
- mount: $9(_oe)
+ prefetch: (e, t) => Jae(t),
+ mount: $9(xoe)
},
duplicates: {
- prefetch: (e, t) => rae(t),
- mount: $9(Ooe)
+ prefetch: (e, t) => VO(t),
+ mount: $9(Aoe)
},
"entity-hero": {
prefetch: async () => {},
- mount: $9(ose)
+ mount: $9(vse)
+ },
+ "entity-filter": {
+ prefetch: async () => {},
+ mount: $9(Poe)
},
"follow-manage": {
- prefetch: (e, t) => Xse(t, e.tab),
- mount: $9(qF)
+ prefetch: (e, t) => cce(t, e.tab),
+ mount: $9(aI)
},
index: {
- prefetch: (e, t) => hI(e, t),
- mount: $9(WI)
+ prefetch: (e, t) => DI(e, t),
+ mount: $9(xce)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(Tce)
+ mount: $9(Rce)
},
"library-processing": {
prefetch: (e, t) => YO(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(jce, { ...e }) : /* @__PURE__ */ (0, L.jsx)(Sj, { ...e }))
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Wce, { ...e }) : /* @__PURE__ */ (0, L.jsx)(gj, { ...e }))
},
playlists: {
- prefetch: (e, t) => Nce(t),
- mount: $9(Gce)
+ prefetch: (e, t) => Kce(t),
+ mount: $9(ile)
},
"quality-goals": {
- prefetch: (e, t) => pk(t),
- mount: $9(qce)
+ prefetch: (e, t) => hk(t),
+ mount: $9(ole)
},
review: {
- prefetch: (e, t) => Pk(t),
- mount: $9(lle)
+ prefetch: (e, t) => Mk(t),
+ mount: $9(Sle)
},
scraping: {
- prefetch: (e, t) => gle(t),
- mount: $9(Cle)
+ prefetch: (e, t) => kle(t),
+ mount: $9(Ile)
},
stats: {
- prefetch: (e, t) => fue(t),
- mount: $9(JOe)
+ prefetch: (e, t) => Tue(t),
+ mount: $9(cke)
},
taste: {
- prefetch: (e, t) => vke("all", t),
- mount: $9(vAe)
+ prefetch: (e, t) => Mke("all", t),
+ mount: $9(MAe)
}
};
//#endregion
-export { WAe as mountToaster, qAe as pages, GAe as showToast };
+export { ije as mountToaster, sje as pages, aje as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index 946130826..973dc8cf3 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -892,6 +892,7 @@ var Z = {
"cover-crop": { react: "cover-crop" },
"data-cleanup": { react: "data-cleanup" },
duplicates: { react: "duplicates" },
+ "entity-filter": { react: "entity-filter" },
"entity-hero": { react: "entity-hero" },
"follow-manage": { react: "follow-manage" },
index: { react: "index" },