Peach: Local-first video metadata scraper and media manager.
feat(stats): 统计页图表改用 EvilCharts,补上分布图与播放热力图
longmeidaof1350513b767
diff --git a/docs/adr/0076-evilcharts-recharts-charts.md b/docs/adr/0076-evilcharts-recharts-charts.mdindex 8887e9bea..d375293a1 100644--- a/docs/adr/0076-evilcharts-recharts-charts.md+++ b/docs/adr/0076-evilcharts-recharts-charts.md@@ -18,8 +18,9 @@ EvilCharts 是 shadcn 注册表形态的图表组件,MIT 许可,同时有 Re**一、用 Recharts 分支,源码逐字复制进 `frontend/src/react/evilcharts/`。** 依赖钉 `[email protected]`、`[email protected]`、`[email protected]`。这一支画 SVG,系列颜色是 CSS 变量:`ChartConfig` 里写`var(--color-chart-N)`,深浅两档跟着 BoardUI token 走,不用在 JS 里读色值;提示浮层、轴刻度写的是 Tailwind-类,桥到 BoardUI 已有 token 就能用。上游文件不改,差异(路径别名、`cn`、语义色名、reduced motion、lint 排除)-全在 Peach 自己的文件里,由 `UPSTREAM.sha256` 与 `tests/test_frontend_build.py` 守住。+类,桥到 BoardUI 已有 token 就能用。上游文件不改,差异(路径别名、`cn`、语义色名、reduced motion、浮层内容、+lint 排除)全在 Peach 自己的文件里,由 `UPSTREAM.sha256` 与 `tests/test_frontend_build.py` 守住。浮层内容要重组,+是因为上游容器写的 `grid` 类与旧样式表卡片网格的 `.grid` 同名。**二、不用 ECharts 分支。** ECharts 默认画在 canvas 上,颜色是 option 里的字面值:换深浅色要在 JS 里重读token 再重设 option,Tailwind 类与 `@theme` 管不到图里任何一处,BoardUI 的 token 体系在图上断开。@@ -28,8 +29,8 @@ Recharts 是 React 组件树,和现有的 React Aria、Query 在同一棵根**三、热力图保留自绘,视觉对齐 EvilCharts。** Recharts 没有热力图类型,EvilCharts 的 Recharts 分支也没有;一格一个 `rect` 本身就是最小实现,换库没有东西可以复用。热力卡搬到 `frontend/src/react/charts/`,统计页的-播放时间与口味页的浏览时间共用:格子颜色取 `chart-*`,悬停时其余格子淡下去,浮层提示取 EvilCharts-`ChartTooltipContent` 同一套外观,页头读数照旧跟着指到的那一格走。+播放时间与口味页的浏览时间共用:格子颜色取 `chart-*`,悬停时其余格子淡下去,浮层与 EvilCharts 图共用+`frontend/src/react/charts/chart-tip.tsx` 那一块面,页头读数照旧跟着指到的那一格走。**四、流向图保留 `d3-sankey`。** EvilCharts 的桑基图按节点名生成 CSS 变量和渐变 id,创作者名不能直接当标识符;节点标签只能附节点总量,Peach 右侧要显示的是线索占比;节点和流都不能用键盘聚焦。换过去这三样diff --git a/frontend/src/react/boardui/ORIGIN.md b/frontend/src/react/boardui/ORIGIN.mdindex f7777ea0c..fe5ed8435 100644--- a/frontend/src/react/boardui/ORIGIN.md+++ b/frontend/src/react/boardui/ORIGIN.md@@ -63,9 +63,9 @@| 候选网格 | 同上:一排四张 3:4 的候选,弹层宽度与格子比例取 `../styles.css` 的 `--container-avatar-picker` 与 `--aspect-avatar-choice` | 注册表里没有图片选择网格;这两档在工具类里没有对应档位,写成 `@theme` 而不是任意值 || 空态里的去处 | `../components/empty-state.tsx` 的 `EmptyState` 收一个 `actions`,按钮与链接画在说明下面 | 上游没有空态组件;标题、说明和那个去处必须在同一个组件里,散到调用处就会各排各的 || 读数兼页签 | `../stats/stats-page.tsx` 的四张读数卡是 React Aria 的 `Tabs`/`TabList`/`Tab`,选中态是一圈 `border-focus-ring` | `tabs` 条目是页面级导航的下划线页签,这里切的是同一页里的四层细节,而且页签本身要显示读数 |-| 径向图 | `../stats/radial-card.tsx`:每段一圈 SVG,`pathLength={100}` 把一圈钉成 100,颜色只取 `chart-1`…`chart-6`,高亮是 React 状态 | 注册表里没有图表条目;`library-processing-notice.tsx` 的 `Gauge` 是单圈进度,排不下多段对比 |+| 径向图 | `../stats/radial-card.tsx`:圈由 EvilCharts 的 `EvilRadialChart` 画(`../evilcharts/ORIGIN.md`),图下的图例格子取 `background-tertiary-default` 与 `border-focus-ring`,高亮是 React 状态 | 注册表里没有图表条目;`library-processing-notice.tsx` 的 `Gauge` 是单圈进度,排不下多段对比 || 排行 | 同上页面的 `TagRanking`:两列的 `ol`,收起时露前十,展开键是一颗 `secondary` 按钮 | 注册表里没有排行榜;`table` 条目带表头与排序,这里一行只有名次、名字和一个数 || 两套证据的切换 | `../taste/taste-page.tsx` 顶上用 React Aria 的 `Tabs`/`TabList`/`Tab` 整块切浏览器记录与 Peach 内部,选中态取 `background-tertiary-default` | `segmented-control` 没有条目,`tabs` 条目是页面级导航;这里切的是两块各自成篇的内容,不是同一个字段的两种填法 || 雷达图与排行条 | `../taste/charts.tsx` 的 `TasteRadar` 与 `RankedBars`:多边形与矩形都写成 SVG 属性,颜色只取 `chart-4` 与 `chart-track` | 注册表里没有图表条目;`../stats/radial-card.tsx` 是环形占比,画不出多维度的形状与并排的长度 |-| 热力图 | 同上的 `ActivityCharts`:一格一个 `rect`,浓度是 `fill-opacity`,指到哪一格读数换成哪一格 | 注册表里没有热力图;一格单独没有标注,不换读数就只剩一片颜色深浅 |-| 流向图 | 同上的 `CreatorSankey`:布局由 `d3-sankey` 算,路径与节点是 SVG,淡入淡出用 `stroke-opacity` | 注册表里没有流向图;`table` 条目排得出同样的数,但看不出来源与创作者之间的分流 |+| 热力图 | `../charts/heat-card.tsx` 的 `ActivityHeat`,统计页与口味页共用:一格一个 `rect`,浓度是 `fill-opacity`,指到哪一格读数换成哪一格,浮层与 EvilCharts 图共用 `../charts/chart-tip.tsx` | 注册表里没有热力图,EvilCharts 的 Recharts 分支也没有;一格单独没有标注,不换读数就只剩一片颜色深浅 |+| 流向图 | `../taste/charts.tsx` 的 `CreatorSankey`:布局由 `d3-sankey` 算,路径与节点是 SVG,淡入淡出用 `stroke-opacity` | 注册表里没有流向图;`table` 条目排得出同样的数,但看不出来源与创作者之间的分流 |diff --git a/frontend/src/react/charts/bar-card.tsx b/frontend/src/react/charts/bar-card.tsxnew file mode 100644index 000000000..0be1d6c6c--- /dev/null+++ b/frontend/src/react/charts/bar-card.tsx@@ -0,0 +1,45 @@+/* 分布柱状图:一类一根柱子,画的是 EvilCharts 的 `EvilBarChart`。+ *+ * 页头的大数是各类合计,柱子的数在悬停浮层(`./chart-tip.tsx`)里读。柱子由 Motion 逐根长出来,+ * 系统开了减弱动态效果时直接画终态(`../entry.tsx` 的 `MotionConfig`)。 */+import { EvilBarChart } from '@/registry/charts/recharts-bar-chart';++import { CHART_CARD, ChartHead, tone } from './chart-card';+import { ChartTip } from './chart-tip';++/** 一根柱子:显示的名字和它的数。 */+export interface BarRow { name: string; value: number }++/** 浮层那一行的名字:`series` 是这一组数的叫法(「视频」「作品」),不是单位。 */+export function BarCard(+ { title, unit, series, rows, color, layout = 'vertical' }:+ {+ title: string; unit: string; series: string; rows: BarRow[]; color: string;+ layout?: 'vertical' | 'horizontal';+ },+) {+ const data = rows+ .filter((row) => Number.isFinite(row.value) && row.value >= 0)+ .map((row) => ({ name: row.name, value: row.value }));+ const total = data.reduce((sum, row) => sum + row.value, 0);+ if (!total) return null;+ const horizontal = layout === 'horizontal';+ return (+ <section className={CHART_CARD} aria-label={title}>+ <ChartHead title={title} figure={total.toLocaleString()} note={unit} />+ <EvilBarChart data={data} config={{ value: { label: series, colors: tone(color) } }}+ layout={layout} barRadius={4}+ className={horizontal ? 'aspect-auto h-64 text-text-secondary' : 'aspect-auto h-56 text-text-secondary'}>+ <EvilBarChart.Grid />+ {horizontal+ ? <EvilBarChart.YAxis dataKey="name" />+ : <EvilBarChart.XAxis dataKey="name" />}+ {horizontal+ ? <EvilBarChart.XAxis tickFormatter={(value: number) => value.toLocaleString()} />+ : <EvilBarChart.YAxis tickFormatter={(value: number) => value.toLocaleString()} />}+ <EvilBarChart.Bar dataKey="value" enableHoverHighlight />+ <ChartTip />+ </EvilBarChart>+ </section>+ );+}diff --git a/frontend/src/react/charts/chart-card.tsx b/frontend/src/react/charts/chart-card.tsxnew file mode 100644index 000000000..5d11ad6a4--- /dev/null+++ b/frontend/src/react/charts/chart-card.tsx@@ -0,0 +1,44 @@+/* 图表卡的外壳、页头与 EvilCharts 配色,统计页与口味页共用。+ *+ * 图表卡比读数卡大一档圆角:旧 `.board-radial-card`/`.board-heat-card`/`.board-sankey-card`+ * 都是 20px。页头是两列:标题压着大数在左,那句注解贴右下角对齐大数的基线,注解长短不一+ * 也不会把标题挤走。 */+import type { ChartConfig } from '@/registry/ui/recharts-chart';++import { cardClass } from '../components/card';++export const CHART_CARD = `${cardClass({ radius: 'chart' })} flex flex-col gap-4 max-sm:p-4`;++/** 一张图的头:一个标题、一个大数、一句它此刻指的是什么。 */+export function ChartHead({ title, figure, note }: { title: string; figure: string; note: string }) {+ return (+ <header className="flex flex-wrap items-end justify-between gap-x-4 gap-y-1">+ <span className="flex min-w-0 flex-col gap-1">+ <h3 className="text-title-2-medium text-text-primary">{title}</h3>+ <b className="text-display-4-medium tabular-nums text-text-primary">{figure}</b>+ </span>+ <small className="min-w-0 text-caption-1-regular break-words text-text-secondary">{note}</small>+ </header>+ );+}++/** BoardUI 的六档图表色,`ChartConfig` 里只写这几个变量,深浅两档跟着 token 走。 */+export const CHART_COLORS = [+ 'var(--color-chart-1)', 'var(--color-chart-2)', 'var(--color-chart-3)',+ 'var(--color-chart-4)', 'var(--color-chart-5)', 'var(--color-chart-6)',+] as const;++/** 一种颜色的 EvilCharts 配色。 */+export const tone = (color: string): ChartConfig[string]['colors'] => ({ light: [color] });++/** 分类图(径向、每段一色)的键。+ *+ * EvilCharts 拿键拼 CSS 变量名和 SVG 渐变 id,媒体库名、来源名里的空格与中文进不了标识符,+ * 所以键一律是 `s0`、`s1`…,显示的名字放在 `label` 里。 */+export const sliceKey = (index: number) => `s${index}`;++export function sliceConfig(names: string[]): ChartConfig {+ return Object.fromEntries(names.map((label, index) => [+ sliceKey(index), { label, colors: tone(CHART_COLORS[index % CHART_COLORS.length]!) },+ ]));+}diff --git a/frontend/src/react/charts/chart-tip.tsx b/frontend/src/react/charts/chart-tip.tsxnew file mode 100644index 000000000..8ebe8e16c--- /dev/null+++ b/frontend/src/react/charts/chart-tip.tsx@@ -0,0 +1,65 @@+/* 图表的悬停浮层:柱状、径向、雷达与热力图共用这一块面。+ *+ * 面、边线、阴影、字阶与一行的排法照 EvilCharts 的 `ChartTooltipContent`。那一份的容器写的是+ * `grid` 类,和旧样式表卡片网格的 `.grid` 同名:落到页面上,浮层会被撑成一排卡片宽的格子,+ * 行距也变成 24px。Tailwind 这边又不生成 `grid`(`../styles.css`),所以这里按同一套类名重组,+ * 容器换成 `flex flex-col`,Recharts 那一侧仍由上游的 `ChartTooltip` 接进图里。+ * 差异登记在 `../evilcharts/ORIGIN.md`。 */+import type { ReactNode } from 'react';+import type { TooltipContentProps } from 'recharts';++import { getPayloadConfigFromPayload, useChart } from '@/registry/ui/recharts-chart';+import { ChartTooltip } from '@/registry/ui/recharts-tooltip';++/** 浮层的面。热力图的浮层自己定位,拼在这串后面。 */+export const TIP_SURFACE =+ 'flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl';++/** 浮层里的一行:色点、这一组数的叫法、数。 */+export function TipRow({ swatch, name, value }: { swatch: ReactNode; name: ReactNode; value: number }) {+ return (+ <div className="flex w-full items-center gap-2">+ {swatch}+ <div className="flex flex-1 items-center justify-between gap-4 leading-none">+ <span className="text-muted-foreground">{name}</span>+ <span className="font-mono font-medium tabular-nums text-foreground">{value.toLocaleString()}</span>+ </div>+ </div>+ );+}++export const TIP_SWATCH = 'size-2.5 shrink-0 rounded-xs';++type TipProps = Partial<Pick<TooltipContentProps<number, string>, 'active' | 'payload' | 'label'>> & {+ nameKey?: string; hideLabel?: boolean;+};++function TipContent({ active, payload, label, nameKey, hideLabel }: TipProps) {+ const { config } = useChart();+ const items = (payload ?? []).filter((item) => item.type !== 'none');+ /* 上游同款:没有内容时留一块空的占位,浮层下一次出现才不会从图的左上角滑过来。 */+ if (!active || !items.length) return <span className="p-4" />;+ const title = hideLabel || typeof label !== 'string' ? null : (config[label]?.label ?? label);+ return (+ <div className={TIP_SURFACE}>+ {title ? <div className="font-medium text-foreground">{title}</div> : null}+ {items.map((item, index) => {+ const named = nameKey && item.payload ? (item.payload as Record<string, unknown>)[nameKey] : undefined;+ const key = `${named ?? item.name ?? item.dataKey ?? 'value'}`;+ const entry = getPayloadConfigFromPayload(config, item, key);+ return (+ <TipRow key={key + index} name={entry?.label ?? item.name} value={Number(item.value ?? 0)}+ swatch={(+ // oxlint-disable-next-line shadcn/no-inline-styles -- 色点取 ChartStyle 按系列键生成的 CSS 变量,变量名随键变+ <i className={TIP_SWATCH} style={{ background: `var(--color-${key}-0)` }} />+ )} />+ );+ })}+ </div>+ );+}++/** 接进 EvilCharts 图里的浮层。`nameKey` 是径向图那种一段一个名字的数据列。 */+export function ChartTip({ nameKey, hideLabel }: { nameKey?: string; hideLabel?: boolean }) {+ return <ChartTooltip cursor={false} content={<TipContent nameKey={nameKey} hideLabel={hideLabel} />} />;+}diff --git a/frontend/src/react/charts/heat-card.tsx b/frontend/src/react/charts/heat-card.tsxnew file mode 100644index 000000000..0f90ccdd3--- /dev/null+++ b/frontend/src/react/charts/heat-card.tsx@@ -0,0 +1,150 @@+/* 热力图:统计页的播放时间与口味页的浏览时间共用。+ *+ * Recharts 没有热力图,EvilCharts 的 Recharts 分支也没有,所以格子仍是自绘的 SVG:一格一个+ * `rect`,浓度是 `fill-opacity`,几何全写成属性。外观对齐同页的 EvilCharts 图:颜色只取+ * `chart-*`,指到一格时其余格子淡下去,浮层与柱状、径向图共用 `./chart-tip.tsx` 那一块面;+ * 页头读数也跟着换,键盘聚焦一格时读的是它。取舍见 ADR-0076。 */+import { useState } from 'react';+import type { ReactNode } from 'react';++import { CHART_CARD, ChartHead } from './chart-card';+import { TIP_SURFACE, TIP_SWATCH, TipRow } from './chart-tip';+import { dayCalendar, hourGrid, WEEKDAYS, type ActivityCounts, type HeatCell } from './heat';++const SIZE = 14;+const STEP = 17;++/** 格子与浮层色点的颜色。类名写成整串,Tailwind 扫得到。 */+const TONES = {+ 4: { fill: 'fill-chart-4', dot: 'bg-chart-4' },+ 5: { fill: 'fill-chart-5', dot: 'bg-chart-5' },+} as const;+export type HeatTone = keyof typeof TONES;++/** 浮层靠哪一边对齐指到的那一格:两侧各留一成宽,靠边的格子浮层往里放,不被卡片切掉。 */+const ANCHOR = {+ start: 'translate-x-0',+ center: '-translate-x-1/2',+ end: '-translate-x-full',+} as const;++function HeatTooltip(+ { cell, series, tone, left, top, anchor }:+ { cell: HeatCell; series: string; tone: HeatTone; left: number; top: number; anchor: keyof typeof ANCHOR },+) {+ return (+ <div aria-hidden+ // oxlint-disable-next-line shadcn/no-inline-styles -- 浮层跟着指到的那一格走,位置是运行期算出的百分比+ style={{ left: `${left}%`, top: `${top}%` }}+ className={`pointer-events-none absolute z-10 -mt-2 -translate-y-full ${TIP_SURFACE} ${ANCHOR[anchor]}`}>+ <div className="font-medium text-foreground">{cell.label}</div>+ <TipRow name={series} value={cell.count} swatch={<i className={`${TIP_SWATCH} ${TONES[tone].dot}`} />} />+ </div>+ );+}++/** 读数的三处文字:页头大数旁的单位、浮层那一行的名字、读屏时每一格计数后面的量词。 */+export interface HeatWords { unit: string; series: string; cellUnit: string }++/** 一张热力图:一格一个计数,指到哪一格读数就换成哪一格。 */+export function HeatCard(+ { title, words, cells, total, columns, rows, axis, footer, tone }:+ {+ title: string; words: HeatWords; cells: HeatCell[]; total: number;+ columns: number; rows: number; axis?: ReactNode; footer: ReactNode; tone: HeatTone;+ },+) {+ const [shown, setShown] = useState(-1);+ const left = axis ? 30 : 0;+ const top = axis ? 18 : 0;+ const width = left + columns * STEP;+ const height = top + rows * STEP;+ const at = (index: number) => ({+ x: left + (index % columns) * STEP, y: top + Math.floor(index / columns) * STEP,+ });+ const cell = cells[shown];+ const pin = cell ? at(shown) : null;+ const share = pin ? (pin.x + SIZE / 2) / width : 0;+ const anchor = share < 0.1 ? 'start' : share > 0.9 ? 'end' : 'center';+ const edge = pin ? { start: pin.x, center: pin.x + SIZE / 2, end: pin.x + SIZE }[anchor] : 0;+ return (+ <section className={CHART_CARD}>+ <ChartHead title={title} figure={(cell ? cell.count : total).toLocaleString()}+ note={cell ? cell.label : words.unit} />+ <div className="relative">+ <div className="min-w-0 overflow-x-auto">+ <svg role="img" aria-label={title} onPointerLeave={() => setShown(-1)}+ viewBox={`0 0 ${width} ${height}`} className="block h-auto min-w-80 w-full">+ {axis}+ {cells.map((item, index) => {+ const { x, y } = at(index);+ return (+ <rect key={item.key} tabIndex={0} role="img" aria-label={`${item.label},${item.count} ${words.cellUnit}`}+ x={x} y={y} width={SIZE} height={SIZE} rx={3} fillOpacity={item.share || 1}+ opacity={shown >= 0 && shown !== index ? 0.4 : 1}+ className={item.share+ ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${TONES[tone].fill}`+ : 'fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring'}+ onPointerEnter={() => setShown(index)}+ onFocus={() => setShown(index)} onBlur={() => setShown(-1)} />+ );+ })}+ </svg>+ </div>+ {cell && pin ? (+ <HeatTooltip cell={cell} series={words.series} tone={tone} anchor={anchor}+ left={edge / width * 100} top={pin.y / height * 100} />+ ) : null}+ </div>+ <footer className="flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary">+ {footer}+ </footer>+ </section>+ );+}++/** 星期 × 小时的坐标:左边一列星期,顶上每隔两小时一个钟点。 */+const HOUR_AXIS = (+ <>+ {WEEKDAYS.map((name, day) => (+ <text key={name} x={0} y={18 + day * STEP + 7} dominantBaseline="middle"+ className="fill-text-secondary text-caption-1-regular">{name}</text>+ ))}+ {Array.from({ length: 24 }, (_, hour) => (hour % 2 ? null : (+ <text key={hour} x={30 + hour * STEP} y={8} dominantBaseline="middle"+ className="fill-text-secondary text-caption-1-regular">{hour}</text>+ )))}+ </>+);++/** 一份活跃计数的两张热力图:星期 × 小时,和最近 91 天。+ *+ * 没有可用记录时,给了 `empty` 就留一张只有那句话的卡,没给就整块不出现。 */+export function ActivityHeat(+ { activity, title, dailyTitle, words, tone, empty }:+ {+ activity: ActivityCounts | undefined; title: string; dailyTitle: string;+ words: HeatWords; tone: HeatTone; empty?: string;+ },+) {+ const hours = hourGrid(activity);+ const days = dayCalendar(activity);+ if (!days.cells.length) {+ return empty ? (+ <section className={CHART_CARD}>+ <h3 className="text-title-2-medium text-text-primary">{title}</h3>+ <p className="text-body-2-regular text-text-secondary">{empty}</p>+ </section>+ ) : null;+ }+ return (+ <div className="inline-grid w-full gap-5 lg:grid-cols-2">+ <HeatCard title={title} words={words} tone={tone}+ cells={hours.cells} total={hours.total} columns={24} rows={7} axis={HOUR_AXIS}+ footer={<><span>星期 × 小时</span><span>{activity?.timezone || 'UTC+08:00'}</span></>} />+ <HeatCard title={dailyTitle} words={words} tone={tone}+ cells={days.cells} total={days.total} columns={13} rows={7}+ footer={<><span>{days.start}</span><span>{days.end}</span></>} />+ </div>+ );+}diff --git a/frontend/src/react/charts/heat.ts b/frontend/src/react/charts/heat.tsnew file mode 100644index 000000000..b6813132e--- /dev/null+++ b/frontend/src/react/charts/heat.ts@@ -0,0 +1,64 @@+/* 热力图的数据形状与折算。统计页的播放时间与口味页的浏览时间是同一个形状,+ * 服务端分别由 `web_stats.q_stats` 的 `play_activity` 与口味分析的 `activity` 给出。 */++/** 按天与按「星期 × 钟点」的计数。`weekday` 0 是周一,`timezone` 形如 `UTC+08:00`。 */+export interface ActivityCounts {+ timezone?: string;+ days?: { date: string; count: number }[];+ hours?: { weekday: number; hour: number; count: number }[];+}++/** 热力图里的一格。`share` 是这一格相对最忙那一格的浓度,0 到 1。 */+export interface HeatCell { key: string; label: string; count: number; share: number }++export const WEEKDAYS = ['周一', '周二', '周三', '周四', '周五', '周六', '周日'];++/** 有计数的格子至少留一成浓度:一次和一次都没有必须看得出差别。 */+const shareOf = (count: number, max: number) => (count ? Math.max(0.12, count / max) : 0);++/** 星期 × 小时的 168 格。越界或负数的记录当作没有。 */+export function hourGrid(activity: ActivityCounts | undefined): { cells: HeatCell[]; total: number } {+ const counts = Array.from({ length: 7 }, () => Array<number>(24).fill(0));+ for (const item of activity?.hours || []) {+ const { weekday, hour, count } = item;+ if (!Number.isInteger(weekday) || weekday < 0 || weekday > 6) continue;+ if (!Number.isInteger(hour) || hour < 0 || hour > 23) continue;+ if (!Number.isFinite(count) || count < 0) continue;+ counts[weekday]![hour] = (counts[weekday]![hour] || 0) + count;+ }+ const flat = counts.flat();+ const max = Math.max(1, ...flat);+ const cells = counts.flatMap((row, day) => row.map((count, hour) => ({+ key: `${day}-${hour}`, label: `${WEEKDAYS[day]} ${hour}:00`, count, share: shareOf(count, max),+ })));+ return { cells, total: flat.reduce((sum, count) => sum + count, 0) };+}++/** 最近 91 天的日历。末尾那天由数据说了算,往前数 90 天,中间没有记录的那些补 0。 */+export function dayCalendar(activity: ActivityCounts | undefined):+{ cells: HeatCell[]; total: number; start: string; end: string } {+ const days = (activity?.days || [])+ .filter((row) => /^\d{4}-\d{2}-\d{2}$/.test(row.date)+ && Number.isFinite(row.count) && row.count >= 0)+ .slice().sort((a, b) => a.date.localeCompare(b.date));+ const empty = { cells: [], total: 0, start: '', end: '' };+ if (!days.length) return empty;+ const end = new Date(`${days.at(-1)!.date}T00:00:00Z`);+ const start = new Date(end);+ start.setUTCDate(start.getUTCDate() - 90);+ const daily = new Map(days.map((row) => [row.date, row.count]));+ const max = Math.max(1, ...days.map((row) => row.count));+ const cells = Array.from({ length: 91 }, (_, index) => {+ const date = new Date(start);+ date.setUTCDate(start.getUTCDate() + index);+ const key = date.toISOString().slice(0, 10);+ const count = daily.get(key) || 0;+ return { key, label: key, count, share: shareOf(count, max) };+ });+ return {+ cells,+ total: cells.reduce((sum, cell) => sum + cell.count, 0),+ start: start.toISOString().slice(0, 10),+ end: days.at(-1)!.date,+ };+}diff --git a/frontend/src/react/evilcharts/ORIGIN.md b/frontend/src/react/evilcharts/ORIGIN.mdindex 0cc001357..c2ebf7a42 100644--- a/frontend/src/react/evilcharts/ORIGIN.md+++ b/frontend/src/react/evilcharts/ORIGIN.md@@ -36,4 +36,13 @@| shadcn 语义色名 | `../styles.css` 的 `@theme inline` 把 `background`、`foreground`、`muted`、`muted-foreground`、`border` 接到 BoardUI 已有 token;`primary` 不接 | 上游浮层与轴刻度写的是 shadcn 色名,Peach 没有这一套变量;`primary` 只有加载指示用,Peach 不传 `isLoading` || 系列颜色 | 调用处的 `ChartConfig` 只写 `var(--color-chart-N)`,不写上游示例里的 oklch 字面值 | 颜色只取 BoardUI 的 `chart-*` 档,深浅两档跟着 token 走 || reduced motion | `../entry.tsx` 在每棵 React 根外包一层 `MotionConfig reducedMotion="user"` | 柱状图的生长动画由 Motion 逐帧驱动,`web/css/01-base.css` 的全局规则只关得掉 CSS 过渡;Recharts 自己的动画在 `isAnimationActive="auto"` 下已读系统设置 |-| lint | `frontend/.oxlintrc.json` 的 `ignorePatterns` 排除本目录,与 `boardui/` 同一个做法 | 上游源码用任意值类名、内联样式和原始颜色,逐字复制就过不了 `@shadcn/lint`;Peach 自己的组合仍全量检查 |+| 浮层内容 | `../charts/chart-tip.tsx` 的 `ChartTip` 照 `ChartTooltipContent` 的类名重组,容器换成 `flex flex-col`,经上游的 `ChartTooltip` 接进图里;各图的 `Tooltip` 子组件都不用 | 上游容器写 `grid` 类,与旧样式表卡片网格的 `.grid` 同名,页面上浮层会被撑成卡片宽的格子、行距变成 24px |+| lint | `frontend/.oxlintrc.json` 的 `ignorePatterns` 排除本目录,与 `boardui/` 同一个做法 | 上游源码用任意值类名、内联样式和原始颜色,逐字复制就过不了 `@shadcn/lint`;Peach 自己的组合仍全量检查。排除之后本目录里与旧样式表同名的类名不会被拦(上面那一行就是),升级上游时按 `../styles.css` 里 `@source not inline` 的几个词搜一遍 |++## Peach 的组合++| 组合 | 用到的上游 | 做法 |+| --- | --- | --- |+| `../charts/bar-card.tsx` 的 `BarCard` | `EvilBarChart` | 单系列,`ChartConfig` 只有 `value` 一个键;统计页的时长、画质、文件类型与播放次数 |+| `../stats/radial-card.tsx` 的 `RadialCard` | `EvilRadialChart` | 键写成 `s0`…`sN`,名字放进 `label`:键会进 CSS 变量名与渐变 id,来源名、库名不能直接当键。圈的形状与点击走 `radialBarProps`,按 React 状态淡化其余段、点下钉住;图例格子由 Peach 自己画 |+| `../charts/chart-tip.tsx` 的 `ChartTip` | `ChartTooltip`、`useChart`、`getPayloadConfigFromPayload` | 见上表「浮层内容」 |diff --git a/frontend/src/react/stats/radial-card.tsx b/frontend/src/react/stats/radial-card.tsxindex 4dc2d32c3..0b6ab418d 100644--- a/frontend/src/react/stats/radial-card.tsx+++ b/frontend/src/react/stats/radial-card.tsx@@ -1,21 +1,20 @@/* 库存的径向图:一段一圈,读数跟着指到的那一段走。*- * 注册表里没有图表条目,环用 SVG 画:`pathLength={100}` 把一圈长度钉成 100,- * `stroke-dasharray` 写的那个数就是百分比本身,几何全走属性、不用内联样式。颜色只取- * BoardUI 的 `chart-*` 档,差异登记在 `../boardui/ORIGIN.md`。- *- * 高亮是 React 状态:指针进出与点选各管一件事——扫过去是看一眼,点下去是钉住。- * 过渡用 CSS,`web/css/01-base.css` 的全局规则在 reduced motion 下把它整个关掉。 */+ * 圈由 EvilCharts 的 `EvilRadialChart` 画,颜色按 `chart-1`…`chart-6` 循环,满圈是最长那段的+ * 1.1 倍(`radialCeiling`)。高亮是 React 状态:指针进出与点选各管一件事——扫过去是看一眼,+ * 点下去是钉住。图下那排格子是同一份状态的按钮,键盘也够得着;上游的可点选图例只有一个+ * 选中态,分不出「看一眼」和「钉住」,所以圈的形状与点击走 `radialBarProps` 接到这里。+ * 差异登记在 `../evilcharts/ORIGIN.md`。 */import { useState } from 'react';+import { Sector, type SectorProps } from 'recharts';++import { EvilRadialChart } from '@/registry/charts/recharts-radial-chart';-import { cardClass } from '../components/card';-import { rings, type RadialSlice } from './stats';+import { CHART_CARD, sliceConfig, sliceKey } from '../charts/chart-card';+import { ChartTip } from '../charts/chart-tip';+import { radialBarSize, radialCeiling, type RadialSlice } from './stats';/** 六档图表色循环。类名写成整串,Tailwind 扫得到。 */-const RING_STROKE = [- 'stroke-chart-1', 'stroke-chart-2', 'stroke-chart-3',- 'stroke-chart-4', 'stroke-chart-5', 'stroke-chart-6',-];const TILE_SWATCH = ['bg-chart-1', 'bg-chart-2', 'bg-chart-3','bg-chart-4', 'bg-chart-5', 'bg-chart-6',@@ -43,12 +42,12 @@ export function RadialCard(const focus = hovered >= 0 ? hovered : pinned;const total = slices.reduce((sum, row) => sum + row.value, 0);- const geometry = rings(slices.map((row) => row.value));const shown = slices[focus];const toggle = (index: number) => setPinned((at) => (at === index ? -1 : index));+ const data = slices.map((row, index) => ({ slice: sliceKey(index), value: row.value }));return (- <section className={`${cardClass({ radius: 'chart' })} flex flex-col gap-4 max-sm:p-4`}>+ <section className={CHART_CARD}><header className="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span className="flex min-w-0 flex-col gap-1"><h3 className="text-title-2-medium text-text-primary">{shown ? shown.name : title}</h3>@@ -58,22 +57,22 @@ export function RadialCard(</span><small className="text-caption-1-regular text-text-secondary">{unit}</small></header>- <svg viewBox="0 0 320 320" fill="none" role="img" aria-label={title}- className="block h-75 w-full max-sm:h-65" onPointerLeave={() => setHovered(-1)}>- {slices.map((row, index) => (- <g key={row.name} onPointerEnter={() => setHovered(index)} onClick={() => toggle(index)}>- <title>{`${row.name}:${row.value.toLocaleString()} ${unit}`}</title>- <circle cx="160" cy="160" r={geometry[index]!.radius} strokeWidth={geometry[index]!.width}- strokeLinecap="round" className="stroke-chart-track" />- <circle cx="160" cy="160" r={geometry[index]!.radius} strokeWidth={geometry[index]!.width}- strokeLinecap="round" pathLength={100} transform="rotate(-90 160 160)"- strokeDasharray={`${geometry[index]!.length} ${100 - geometry[index]!.length}`}- className={focus >= 0 && focus !== index- ? `cursor-pointer opacity-30 transition-opacity ${RING_STROKE[index % 6]}`- : `cursor-pointer transition-opacity ${RING_STROKE[index % 6]}`} />- </g>- ))}- </svg>+ <div role="img" aria-label={title} onPointerLeave={() => setHovered(-1)}>+ <EvilRadialChart data={data} nameKey="slice" config={sliceConfig(slices.map((row) => row.name))}+ max={radialCeiling(slices.map((row) => row.value))} innerRadius="22%"+ className="aspect-auto h-75 max-sm:h-65">+ <EvilRadialChart.RadialBar dataKey="value" barSize={radialBarSize(slices.length)} radialBarProps={{+ shape: (props: SectorProps & { index?: number }) => (+ <Sector {...props}+ opacity={focus >= 0 && focus !== props.index ? 0.3 : 1}+ className="cursor-pointer transition-opacity duration-200" />+ ),+ onClick: (_entry: unknown, index: number) => toggle(index),+ onMouseEnter: (_entry: unknown, index: number) => setHovered(index),+ }} />+ <ChartTip nameKey="slice" hideLabel />+ </EvilRadialChart>+ </div><div className="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">{slices.map((row, index) => (<button key={row.name} type="button" aria-pressed={pinned === index}diff --git a/frontend/src/react/stats/stats-page.tsx b/frontend/src/react/stats/stats-page.tsxindex 54a24c67c..7750e057b 100644--- a/frontend/src/react/stats/stats-page.tsx+++ b/frontend/src/react/stats/stats-page.tsx@@ -21,6 +21,9 @@ import { LinkButton } from '@/components/base/buttons/link-button';import { errorMessage } from '../../api';import type { StatsProps } from '../bundle';+import { BarCard } from '../charts/bar-card';+import { CHART_COLORS } from '../charts/chart-card';+import { ActivityHeat } from '../charts/heat-card';import { cardClass } from '../components/card';import { EmptyState } from '../components/empty-state';import { ExpandableRanking } from '../components/expandable-ranking';@@ -31,13 +34,18 @@ import { SEGMENT, SEGMENTED_TRACK } from '../components/segmented';import { StatCard, statCardClass, STAT_STRIP } from '../components/stat-card';import { RadialCard } from './radial-card';import {- fetchStats, percentOf, playedFor, playedItemUrl, reachedShare, STATS_KEY, watchedShare, watchNote,+ bandRows, fetchStats, lengthRows, mediumRows, percentOf, playedFor, playedItemUrl, reachedShare,+ replayRows, STATS_KEY, watchedShare, watchNote,type Attribution, type RecentPlay, type StatsData, type StorageVolume, type TagSource, type TopTag,} from './stats';/** 收起时露这么多条排行。三十条一次铺开会把下面两个面板整个顶到屏外。 */const RANKING_PREVIEW = 10;+/** 图表色跟着上面那张读数卡的强调色走:馆藏是 `chart-6`,看过是 `chart-5`(`StatCard` 的 `accent`)。 */+const INVENTORY_COLOR = CHART_COLORS[5];+const VIEWING_COLOR = CHART_COLORS[4];+const CARD = `${cardClass()} flex flex-col gap-4`;const NO_VIDEO_HINT = '添加媒体文件夹或关注来源后,这里会显示馆藏统计。';@@ -112,15 +120,37 @@ function InventoryDetail({ data, configurable, openMediaSettings }: { data: Stat);}return (- <div className="inline-grid w-full gap-5 md:grid-cols-2">- <RadialCard title="网盘与本地" rows={data.by_loc.map((row) => (- { name: LOC[row.k] ?? row.k, value: row.videos, detail: fmtSize(row.bytes) }))} />- <RadialCard title="媒体库" rows={data.by_library.map((row) => (- { name: row.name, value: row.videos, detail: fmtSize(row.bytes) }))} />+ <div className="flex flex-col gap-5">+ <div className="inline-grid w-full gap-5 md:grid-cols-2">+ <RadialCard title="网盘与本地" rows={data.by_loc.map((row) => (+ { name: LOC[row.k] ?? row.k, value: row.videos, detail: fmtSize(row.bytes) }))} />+ <RadialCard title="媒体库" rows={data.by_library.map((row) => (+ { name: row.name, value: row.videos, detail: fmtSize(row.bytes) }))} />+ </div>+ <div className="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">+ <BarCard title="时长" unit="个视频" series="视频" color={INVENTORY_COLOR}+ rows={lengthRows(data.by_length)} />+ <BarCard title="画质" unit="个视频" series="视频" color={INVENTORY_COLOR}+ rows={bandRows(data.by_quality)} />+ <BarCard title="文件类型" unit="个条目" series="条目" color={INVENTORY_COLOR} layout="horizontal"+ rows={mediumRows(data.by_medium)} />+ </div></div>);}+/** 看过那一层的图:最近一次播放落在什么时候,和每个作品播了几次。 */+function ViewingCharts({ data }: { data: StatsData }) {+ return (+ <>+ <ActivityHeat activity={data.play_activity} title="播放时间" dailyTitle="每日播放"+ words={{ unit: '个作品', series: '作品', cellUnit: '个作品' }} tone={5} />+ <BarCard title="播放次数" unit="个作品" series="作品" color={VIEWING_COLOR}+ rows={replayRows(data.replays)} />+ </>+ );+}+function CoverageDetail({ attribution }: { attribution: Attribution }) {const videos = attribution.videos;return (@@ -305,18 +335,20 @@ export function StatsPage(props: StatsProps) {detail={storage.measured ? `已用 ${fmtSize(storage.used)}` : '容量未取得'} /></TabList><TabPanel id="inventory"><InventoryDetail data={data} {...props} /></TabPanel>- <TabPanel id="viewing">+ <TabPanel id="viewing" className="flex flex-col gap-5"><Detail headline={<Headline term="观看" figure={consumption.played.toLocaleString()} unit="个作品有播放记录" />}><div className="inline-grid w-full gap-3 sm:grid-cols-2"><Fact term="馆藏观看" value={consumption.library_played} /><Fact term="在线直接观看" value={consumption.online_played} /><Fact term="高潮计数" value={consumption.o_total} /><Fact term="快进扫过" value={consumption.skimmed} />+ <Fact term="喜欢" value={consumption.liked} /><Fact term="明确不喜欢" value={consumption.dislike} /><Fact term="看过了" value={consumption.seen} /><Fact term="回收站" value={consumption.trash} /></div></Detail>+ <ViewingCharts data={data} /></TabPanel><TabPanel id="coverage"><Detail headline={<Headline term="内容标签覆盖" figure={`${coverage}%`}diff --git a/frontend/src/react/stats/stats.ts b/frontend/src/react/stats/stats.tsindex 8d410a1e0..d0ca9f231 100644--- a/frontend/src/react/stats/stats.ts+++ b/frontend/src/react/stats/stats.ts@@ -4,9 +4,11 @@* 这一页是账本当前的快照,没有后台任务也不轮询:整页只有一个 `queryKey`,一屏里的四个* 指标、下面那三个面板读的都是同一份数,分开取就会出现这一格是新的、那一格是旧的。*- * 体积走 `/js/core.js` 的 `fmtSize`,与馆藏、重复项、高清版同一套口径;只有播放时长和- * 那几条百分比是这一页自己的折算,写成纯函数放在这里,由 vitest 直接验。 */+ * 体积走 `/js/core.js` 的 `fmtSize`,与馆藏、重复项、高清版同一套口径;播放时长、百分比+ * 与图表的分档是这一页自己的折算,写成纯函数放在这里,由 vitest 直接验。 */import { apiGet } from '../../api';+import type { BarRow } from '../charts/bar-card';+import type { ActivityCounts } from '../charts/heat';import { queryClient } from '../query';export const STATS_URL = '/api/stats';@@ -31,9 +33,18 @@ export interface TopTag { k: string; n: number; cat: string }export interface Consumption {played: number; library_played: number; online_played: number; play_seconds: number;- o_total: number; dislike: number; seen: number; trash: number; skimmed: number;+ o_total: number; liked: number; dislike: number; seen: number; trash: number; skimmed: number;}+/** 按文件类型分的条目数。`k` 是 `video`/`image`/`archive` 这些媒介代号。 */+export interface MediumCount { k: string; n: number; bytes: number }++/** 视频的一个时长或画质分档。 */+export interface BandCount { k: string; n: number }++/** 播放过 `k` 次的作品有 `n` 个。 */+export interface ReplayCount { k: number; n: number }+/** 最近一条播放记录。馆藏与在线追更两条来源合并后按时间排,`kind` 决定点进去去哪。 */export interface RecentPlay {id: number; name: string; creator: string | null; play_seconds: number;@@ -53,7 +64,12 @@ export interface StorageSummary {/** `/api/stats` 的响应。字段与 `web_stats.q_stats` 对齐。 */export interface StatsData {by_loc: LocationCount[];+ by_medium: MediumCount[];by_library: LibraryCount[];+ by_length: BandCount[];+ by_quality: BandCount[];+ play_activity: ActivityCounts;+ replays: ReplayCount[];attribution: Attribution;tag_source: TagSource[];tag_cov: number;@@ -106,18 +122,43 @@ export const playedItemUrl = (row: RecentPlay): string =>/** 径向图里的一段。 */export interface RadialSlice { name: string; value: number; detail: string }-/** 一段环的几何。半径由外往里排,`length` 已经是百分比(`pathLength=100`)。 */-export interface Ring { radius: number; width: number; length: number }+/** 满圈代表的数:最长那段留一成余量,看得出是「最多」而不是「全部」。 */+export const radialCeiling = (values: number[]): number => Math.max(1, ...values) * 1.1;-/** 环的几何:最长那段留一成余量,环之间等距,线宽跟着间距走。- *- * 满圈留余量是为了让最大的那一段看得出是「最多」而不是「全部」;段数多时间距压到- * 110/段数,最内圈才不会缩进圆心。 */-export function rings(values: number[]): Ring[] {- const ceiling = Math.max(1, ...values) * 1.1;- const step = Math.min(22, 110 / Math.max(1, values.length));- const width = Math.min(15, step * 0.68);- return values.map((value, index) => ({- radius: 32 + index * step, width, length: value / ceiling * 100,+/** 每圈的粗细(像素)。段数多时压细,最内圈才不会缩进圆心,也不会和相邻那圈叠在一起。 */+export const radialBarSize = (count: number): number =>+ Math.max(4, Math.min(14, Math.round(90 / Math.max(1, count))));++/** 文件类型的显示名。与馆藏里资源卡片的叫法相同。 */+const MEDIUM_LABEL: Record<string, string> = {+ video: '视频', image: '图片', illustration: '插画', archive: '压缩包',+ audio: '音频', account: '账号', other: '其它文件',+};++/** 按文件类型分的条目数,多的在前。 */+export const mediumRows = (rows: MediumCount[]): BarRow[] =>+ rows.map((row) => ({ name: MEDIUM_LABEL[row.k] ?? row.k, value: row.n }))+ .sort((a, b) => b.value - a.value);++/** 时长分档的显示名。分界同 `media_probe.context_fields`:300、900、2400 秒。 */+const LENGTH_LABEL: Record<string, string> = {+ 速食: '5 分钟内', 短: '5–15 分钟', 中: '15–40 分钟', 长: '40 分钟以上',+};++/** 时长与画质分档,顺序由服务端给。时长换成分钟区间,画质原样。 */+export const bandRows = (rows: BandCount[], labels: Record<string, string> = {}): BarRow[] =>+ rows.map((row) => ({ name: labels[row.k] ?? row.k, value: row.n }));++export const lengthRows = (rows: BandCount[]): BarRow[] => bandRows(rows, LENGTH_LABEL);++/** 播放次数的分档:五次以内一次一档,往后并成两档,长尾不把柱子拉成一排细线。 */+const REPLAY_BANDS: readonly [number, number, string][] = [+ [1, 1, '1 次'], [2, 2, '2 次'], [3, 3, '3 次'], [4, 4, '4 次'], [5, 5, '5 次'],+ [6, 9, '6–9 次'], [10, Infinity, '10 次以上'],+];++export const replayRows = (rows: ReplayCount[]): BarRow[] =>+ REPLAY_BANDS.map(([low, high, name]) => ({+ name,+ value: rows.filter((row) => row.k >= low && row.k <= high).reduce((sum, row) => sum + row.n, 0),}));-}diff --git a/frontend/src/react/taste/charts.tsx b/frontend/src/react/taste/charts.tsxindex 37c8af596..bdddf8b38 100644--- a/frontend/src/react/taste/charts.tsx+++ b/frontend/src/react/taste/charts.tsx@@ -1,19 +1,18 @@-/* 口味页的四张图:口味维度的雷达与排行条、浏览活跃的两张热力图、创作者线索的流向图。+/* 口味页的三张图:口味维度的雷达与排行条、创作者线索的流向图。浏览活跃的两张热力图与+ * 统计页共用 `../charts/heat-card.tsx`。*- * 四张都用 SVG 画,几何全写成属性——浓度是 `fill-opacity`,条长是 `rect` 的宽度,- * 流的粗细是 `stroke-width`,`no-inline-styles` 因此不必开例外。颜色只取 BoardUI 的- * `chart-*` 与 `border-focus-ring` 档。+ * 三张都用 SVG 画,几何全写成属性——条长是 `rect` 的宽度,流的粗细是 `stroke-width`,+ * `no-inline-styles` 因此不必开例外。颜色只取 BoardUI 的 `chart-*` 与 `border-focus-ring` 档。*- * 指向一格时读数换成那一格的:这几张图里单独一格没有标注,不换读数就只剩一片颜色深浅。- * 换的是 React 状态,指针离开或焦点移走就回到总数。差异登记在 `../boardui/ORIGIN.md`。 */+ * 指向流向图的一条流或一个节点时读数换成它的;换的是 React 状态,指针离开或焦点移走就回到+ * 总数。差异登记在 `../boardui/ORIGIN.md`。 */import { useState } from 'react';-import type { ReactNode } from 'react';-import { cardClass } from '../components/card';+import { CHART_CARD, ChartHead } from '../charts/chart-card';import {- dayCalendar, flowGraph, flowLabel, FLOW_LABEL_X, FLOW_NODE_WIDTH, FLOW_VIEWBOX, hourGrid,- RADAR_GRID, radarPoints, radarRing, radarShape, rankShares, WEEKDAYS,- type HeatCell, type CreatorFlow, type RankRow, type TasteActivity,+ flowGraph, flowLabel, FLOW_LABEL_X, FLOW_NODE_WIDTH, FLOW_VIEWBOX,+ RADAR_GRID, radarPoints, radarRing, radarShape, rankShares,+ type CreatorFlow, type RankRow,} from './taste';/** 六档图表色循环。类名写成整串,Tailwind 扫得到。 */@@ -26,25 +25,6 @@ const FLOW_FILL = ['fill-chart-4', 'fill-chart-5', 'fill-chart-6',];-/* 图表卡比读数卡大一档圆角:旧 `.board-heat-card`/`.board-sankey-card` 都是 20px。 */-const CARD = `${cardClass({ radius: 'chart' })} flex flex-col gap-4 max-sm:p-4`;--/** 一张图的头:一个标题、一个大数、一句它此刻指的是什么。- *- * 旧 `.board-heat-card>header` 是两列:标题压着大数在左,那句注解贴右下角对齐大数的基线。- * 三张图表卡(环形、热图、桑基)共用这一套,所以注解长短不一也不会把标题挤走。 */-function ChartHead({ title, figure, note }: { title: string; figure: string; note: string }) {- return (- <header className="flex flex-wrap items-end justify-between gap-x-4 gap-y-1">- <span className="flex min-w-0 flex-col gap-1">- <h3 className="text-title-2-medium text-text-primary">{title}</h3>- <b className="text-display-4-medium tabular-nums text-text-primary">{figure}</b>- </span>- <small className="min-w-0 text-caption-1-regular break-words text-text-secondary">{note}</small>- </header>- );-}-/** 主要口味维度的雷达图。三个维度以下画不成面,那时整块不出现。 */export function TasteRadar({ rows, label }: { rows: RankRow[]; label: string }) {const points = radarPoints(rows);@@ -94,89 +74,6 @@ export function RankedBars({ rows, label }: { rows: RankRow[]; label: string }));}-/** 一张热力图:一格一次浓度,指到哪一格读数就换成哪一格。 */-function HeatCard(- { title, unit, cells, total, columns, rows, axis, footer }:- {- title: string; unit: string; cells: HeatCell[]; total: number;- columns: number; rows: number; axis?: ReactNode; footer: ReactNode;- },-) {- const [shown, setShown] = useState<HeatCell | null>(null);- const size = 14;- const step = 17;- const left = axis ? 30 : 0;- const top = axis ? 18 : 0;- return (- <section className={CARD}>- <ChartHead title={title} figure={(shown ? shown.count : total).toLocaleString()}- note={shown ? shown.label : unit} />- <div className="min-w-0 overflow-x-auto">- <svg role="img" aria-label={title} onPointerLeave={() => setShown(null)}- viewBox={`0 0 ${left + columns * step} ${top + rows * step}`}- className="block h-auto min-w-80 w-full">- {axis}- {cells.map((cell, index) => {- const column = index % columns;- const row = Math.floor(index / columns);- return (- <rect key={cell.key} tabIndex={0} role="img" aria-label={`${cell.label},${cell.count} 次访问`}- x={left + column * step} y={top + row * step} width={size} height={size} rx={3}- fillOpacity={cell.share || 1}- className={cell.share- ? 'fill-chart-4 outline-none focus-visible:stroke-border-focus-ring'- : 'fill-chart-track outline-none focus-visible:stroke-border-focus-ring'}- onPointerEnter={() => setShown(cell)}- onFocus={() => setShown(cell)} onBlur={() => setShown(null)} />- );- })}- </svg>- </div>- <footer className="flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary">- {footer}- </footer>- </section>- );-}--const HEAT_UNIT = '口味网站访问';--/** 浏览活跃:星期 × 小时,和最近 91 天。没有可用记录时只留一句话。 */-export function ActivityCharts({ activity }: { activity: TasteActivity | undefined }) {- const hours = hourGrid(activity);- const days = dayCalendar(activity);- if (!days.cells.length) {- return (- <section className={CARD}>- <h3 className="text-title-2-medium text-text-primary">浏览活跃时间</h3>- <p className="text-body-2-regular text-text-secondary">还没有可用于分析的口味网站访问记录。</p>- </section>- );- }- const axis = (- <>- {WEEKDAYS.map((name, day) => (- <text key={name} x={0} y={18 + day * 17 + 7} dominantBaseline="middle"- className="fill-text-secondary text-caption-1-regular">{name}</text>- ))}- {Array.from({ length: 24 }, (_, hour) => (hour % 2 ? null : (- <text key={hour} x={30 + hour * 17} y={8} dominantBaseline="middle"- className="fill-text-secondary text-caption-1-regular">{hour}</text>- )))}- </>- );- return (- <div className="inline-grid w-full gap-5 lg:grid-cols-2">- <HeatCard title="浏览活跃时间" unit={HEAT_UNIT} cells={hours.cells} total={hours.total}- columns={24} rows={7} axis={axis}- footer={<><span>星期 × 小时</span><span>{activity?.timezone || 'UTC+08:00'}</span></>} />- <HeatCard title="每日活跃" unit={HEAT_UNIT} cells={days.cells} total={days.total}- columns={13} rows={7}- footer={<><span>{days.start}</span><span>{days.end}</span></>} />- </div>- );-}-/** 创作者线索的来源流向。指一条流或一个节点,读数换成它。 */export function CreatorSankey({ flows }: { flows: CreatorFlow[] | undefined }) {const [shown, setShown] = useState<{ value: number; label: string; node: number | null } | null>(null);@@ -189,7 +86,7 @@ export function CreatorSankey({ flows }: { flows: CreatorFlow[] | undefined }) {: node !== null ? link.source === node || link.target === node: shown.label === key);return (- <section className={CARD}>+ <section className={CHART_CARD}><ChartHead title="创作者线索来源" figure={(shown ? shown.value : graph.total).toLocaleString()}note={shown ? shown.label : '条线索'} /><div className="min-w-0 overflow-x-auto">diff --git a/frontend/src/react/taste/taste-page.tsx b/frontend/src/react/taste/taste-page.tsxindex a77afa955..bd279c3fb 100644--- a/frontend/src/react/taste/taste-page.tsx+++ b/frontend/src/react/taste/taste-page.tsx@@ -47,7 +47,8 @@ import { StatCard, statCardClass, STAT_STRIP } from '../components/stat-card';import { queryClient } from '../query';import { Disclosure } from '../settings/section';import { busyProps } from '../settings/use-action';-import { ActivityCharts, CreatorSankey, RankedBars, TasteRadar } from './charts';+import { ActivityHeat } from '../charts/heat-card';+import { CreatorSankey, RankedBars, TasteRadar } from './charts';import {DEFAULT_WINDOW, fetchTaste, fetchTasteJob, IDLE_POLL_MS, importTasteExport, rankDetail,rankShares, removeTasteSource, startTasteRefresh, tasteDate, tasteHours, tasteKey,@@ -519,7 +520,9 @@ export function TastePage(props: TasteProps) {: <EmptyState shell="plain" icon={RiSearchLine} title="暂无口味维度">{NO_CATEGORY_HINT}</EmptyState>}</div></section>- <ActivityCharts activity={data.activity} />+ <ActivityHeat activity={data.activity} title="浏览活跃时间" dailyTitle="每日活跃"+ words={{ unit: '口味网站访问', series: '访问', cellUnit: '次访问' }} tone={4}+ empty="还没有可用于分析的口味网站访问记录。" /><CreatorSankey flows={data.creator_flows} /><DimensionPanels label="浏览器口味维度" onSignal={onSignal} avatarInner={avatarInner}panels={[diff --git a/frontend/src/react/taste/taste.ts b/frontend/src/react/taste/taste.tsindex 53a0c8fdd..ff306eafb 100644--- a/frontend/src/react/taste/taste.ts+++ b/frontend/src/react/taste/taste.ts@@ -12,6 +12,7 @@import { sankey, sankeyLinkHorizontal } from 'd3-sankey';import { apiGet, apiSend, ApiError } from '../../api';+import type { ActivityCounts } from '../charts/heat';import { queryClient } from '../query';export const TASTE_URL = '/api/taste';@@ -87,12 +88,6 @@ export interface TasteAnalysis {next_steps?: { route: string; title: string; detail: string }[];}-export interface TasteActivity {- timezone?: string;- days?: { date: string; count: number }[];- hours?: { weekday: number; hour: number; count: number }[];-}-export interface CreatorFlow { source: string; target: string; value: number }/** `/api/taste` 的响应。字段与 `web_stats.q_taste` 对齐。 */@@ -103,7 +98,7 @@ export interface TasteData {gaps?: RankRow[];sources?: TasteSource[];analysis?: TasteAnalysis;- activity?: TasteActivity;+ activity?: ActivityCounts;creator_flows?: CreatorFlow[];storage?: { exports?: number; bytes?: number };window?: string;@@ -235,61 +230,6 @@ export const radarRing = (radius: number, count: number): string =>export const radarShape = (points: RadarPoint[]): string =>points.map((point) => `${point.x.toFixed(2)},${point.y.toFixed(2)}`).join(' ');-/** 热力图里的一格。`share` 是这一格相对最忙那一格的浓度,0 到 1。 */-export interface HeatCell { key: string; label: string; count: number; share: number }--export const WEEKDAYS = ['周一', '周二', '周三', '周四', '周五', '周六', '周日'];--/** 有访问的格子至少留一成浓度:一次访问和一次都没有必须看得出差别。 */-const shareOf = (count: number, max: number) => (count ? Math.max(0.12, count / max) : 0);--/** 星期 × 小时的 168 格。越界或负数的记录当作没有。 */-export function hourGrid(activity: TasteActivity | undefined): { cells: HeatCell[]; total: number } {- const counts = Array.from({ length: 7 }, () => Array<number>(24).fill(0));- for (const item of activity?.hours || []) {- const { weekday, hour, count } = item;- if (!Number.isInteger(weekday) || weekday < 0 || weekday > 6) continue;- if (!Number.isInteger(hour) || hour < 0 || hour > 23) continue;- if (!Number.isFinite(count) || count < 0) continue;- counts[weekday]![hour] = (counts[weekday]![hour] || 0) + count;- }- const flat = counts.flat();- const max = Math.max(1, ...flat);- const cells = counts.flatMap((row, day) => row.map((count, hour) => ({- key: `${day}-${hour}`, label: `${WEEKDAYS[day]} ${hour}:00`, count, share: shareOf(count, max),- })));- return { cells, total: flat.reduce((sum, count) => sum + count, 0) };-}--/** 最近 91 天的日历。末尾那天由数据说了算,往前数 90 天,中间没有记录的那些补 0。 */-export function dayCalendar(activity: TasteActivity | undefined):-{ cells: HeatCell[]; total: number; start: string; end: string } {- const days = (activity?.days || [])- .filter((row) => /^\d{4}-\d{2}-\d{2}$/.test(row.date)- && Number.isFinite(row.count) && row.count >= 0)- .slice().sort((a, b) => a.date.localeCompare(b.date));- const empty = { cells: [], total: 0, start: '', end: '' };- if (!days.length) return empty;- const end = new Date(`${days.at(-1)!.date}T00:00:00Z`);- const start = new Date(end);- start.setUTCDate(start.getUTCDate() - 90);- const daily = new Map(days.map((row) => [row.date, row.count]));- const max = Math.max(1, ...days.map((row) => row.count));- const cells = Array.from({ length: 91 }, (_, index) => {- const date = new Date(start);- date.setUTCDate(start.getUTCDate() + index);- const key = date.toISOString().slice(0, 10);- const count = daily.get(key) || 0;- return { key, label: key, count, share: shareOf(count, max) };- });- return {- cells,- total: cells.reduce((sum, cell) => sum + cell.count, 0),- start: start.toISOString().slice(0, 10),- end: days.at(-1)!.date,- };-}-/** 桑基图的一个节点。`side` 决定它落在左边还是右边,也决定它的文字往哪边排。 */export interface FlowNode {id: string; name: string; side: 'source' | 'target'; index: number;diff --git a/frontend/test/react/stats.test.tsx b/frontend/test/react/stats.test.tsxindex baf51b775..7c67801a0 100644--- a/frontend/test/react/stats.test.tsx+++ b/frontend/test/react/stats.test.tsx@@ -1,13 +1,18 @@/* 统计页的行为:一屏读的是不是同一份数、四张卡当页签切到哪一层、几个空态去哪、- * 点内容标签交回给壳的是哪个键。+ * 点内容标签交回给壳的是哪个键、图表的分档怎么折算。*- * 外观(环的粗细、卡片间距)是设计决定,由 `frontend/e2e/design.test.ts` 读- * `getComputedStyle` 断言;这里只看结构、文字与请求。 */+ * 外观(卡片间距、阴影)是设计决定,由 `frontend/e2e/design.test.ts` 读+ * `getComputedStyle` 断言;这里只看结构、文字与请求。Recharts 在这里量不到容器尺寸,+ * 画不出图形本身,图的读数从图例、页头与纯函数上验。 */+import { act } from 'react';import { notifyManager, QueryClientProvider } from '@tanstack/react-query';import { afterEach, expect, it, vi } from 'vitest';import { queryClient } from '../../src/react/query';-import { prefetchStats, rings, STATS_URL, watchNote, type StatsData } from '../../src/react/stats/stats';+import {+ lengthRows, mediumRows, prefetchStats, radialBarSize, radialCeiling, replayRows, STATS_URL, watchNote,+ type StatsData,+} from '../../src/react/stats/stats';import { StatsPage } from '../../src/react/stats/stats-page';import { buttonNamed, click, mount, mountRoot } from './render';@@ -22,14 +27,23 @@ notifyManager.setScheduler((notify) => notify());const payload = (overrides: Partial<StatsData> = {}): StatsData => ({by_loc: [{ k: 'local', n: 3, bytes: 3221225472, videos: 3 },{ k: '115', n: 1, bytes: 1073741824, videos: 1 }],+ by_medium: [{ k: 'video', n: 4, bytes: 4294967296 }, { k: 'image', n: 6, bytes: 1048576 }],by_library: [{ k: 'main', name: '主库', icon: 'film', videos: 4, bytes: 4294967296 }],+ by_length: [{ k: '速食', n: 1 }, { k: '短', n: 3 }, { k: '中', n: 0 }, { k: '长', n: 0 }],+ by_quality: [{ k: '4K', n: 0 }, { k: '2K', n: 0 }, { k: '1080P', n: 4 }, { k: '720P', n: 0 }, { k: '低画质', n: 0 }],+ play_activity: {+ timezone: 'UTC+08:00',+ days: [{ date: '2026-09-20', count: 1 }, { date: '2026-09-22', count: 1 }],+ hours: [{ weekday: 0, hour: 23, count: 1 }, { weekday: 6, hour: 8, count: 1 }],+ },+ replays: [{ k: 1, n: 1 }, { k: 3, n: 1 }],attribution: { videos: 4, creator: 3, code: 2, studio: 1, thumb: 4, duration: 4 },tag_source: [{ k: 'javdb', n: 12, assets: 3 }],tag_cov: 2,top_tags: [{ k: 'tag:a', n: 9, cat: 'genre' }, { k: 'tag:b', n: 4, cat: 'genre' }],consumption: {played: 2, library_played: 1, online_played: 1, play_seconds: 7200,- o_total: 5, dislike: 1, seen: 2, trash: 0, skimmed: 1,+ o_total: 5, liked: 1, dislike: 1, seen: 2, trash: 0, skimmed: 1,},recent: [{id: 42, name: 'one.mp4', creator: '甲', play_seconds: 600,@@ -103,32 +117,83 @@ it('四张卡就是页签:点「看过」换到看过那一层,其余的收expect(panel.textContent).not.toContain('已抽帧');});-it('库存那一层每个来源一段环,读数用来源的界面名称', async () => {+/** 库存那一层的两张径向图:图形那一块以图的标题为名。 */+const radialCharts = (root: ParentNode) =>+ [...root.querySelectorAll<HTMLElement>('[role=tabpanel] div[role=img]')];++it('库存那一层每个来源一圈,图例用来源的界面名称', async () => {const { host } = await open();- const charts = host.querySelectorAll('svg[role=img]');- expect([...charts].map((chart) => chart.getAttribute('aria-label'))).toEqual(['网盘与本地', '媒体库']);- expect([...charts[0]!.querySelectorAll('title')].map((node) => node.textContent))- .toEqual(['本地:3 个视频', '115:1 个视频']);+ const charts = radialCharts(host);+ expect(charts.map((chart) => chart.getAttribute('aria-label'))).toEqual(['网盘与本地', '媒体库']);+ const tiles = [...charts[0]!.closest('section')!.querySelectorAll('button')];+ expect(tiles.map((tile) => tile.querySelector('span')?.textContent)).toEqual(['本地', '115']);+ expect(tiles.map((tile) => tile.querySelector('b')?.textContent)).toEqual(['3', '1']);});-it('环写的是百分比本身:一圈钉成 100,最长那段留一成余量', async () => {- const geometry = rings([10, 5]);- expect(geometry[0]!.length).toBeCloseTo(100 / 1.1);- expect(geometry[1]!.length).toBeCloseTo(50 / 1.1);- const { host } = await open();- const value = host.querySelectorAll('svg[role=img]')[0]!.querySelectorAll('circle')[1]!;- expect(value.getAttribute('pathLength')).toBe('100');+it('满圈是最长那段的 1.1 倍,圈数越多每圈越细', () => {+ expect(radialCeiling([10, 5])).toBeCloseTo(11);+ expect(radialCeiling([])).toBeCloseTo(1.1);+ expect([2, 12, 40].map(radialBarSize)).toEqual([14, 8, 4]);});it('点图例把那一段钉住,读数跟着换;再点一次放开', async () => {const { host } = await open();- const tile = buttonNamed('115', host) ?? [...host.querySelectorAll('button')]- .find((button) => button.textContent?.startsWith('115'))!;+ const card = radialCharts(host)[0]!.closest('section')!;+ const tile = [...card.querySelectorAll('button')].find((button) => button.textContent?.startsWith('115'))!;await click(tile);expect(tile.getAttribute('aria-pressed')).toBe('true');- expect(host.querySelector('svg[role=img]')!.closest('section')!.textContent).toContain('115');+ expect(card.querySelector('h3')?.textContent).toBe('115');+ expect(card.querySelector('header b')?.textContent).toBe('1');await click(tile);expect(tile.getAttribute('aria-pressed')).toBe('false');+ expect(card.querySelector('h3')?.textContent).toBe('网盘与本地');+});++it('库存那一层按时长、画质、文件类型各出一张分布图,页头读合计', async () => {+ const { host } = await open();+ const panel = host.querySelector('[role=tabpanel]')!;+ const bars = [...panel.querySelectorAll('section[aria-label]')];+ expect(bars.map((bar) => [bar.getAttribute('aria-label'), bar.querySelector('header b')?.textContent]))+ .toEqual([['时长', '4'], ['画质', '4'], ['文件类型', '10']]);+});++it('分布图的分档:时长换成分钟区间,文件类型多的在前,播放次数长尾并档', () => {+ expect(lengthRows([{ k: '速食', n: 1 }, { k: '长', n: 2 }, { k: '超长', n: 3 }]))+ .toEqual([{ name: '5 分钟内', value: 1 }, { name: '40 分钟以上', value: 2 }, { name: '超长', value: 3 }]);+ expect(mediumRows([{ k: 'video', n: 4, bytes: 0 }, { k: 'account', n: 9, bytes: 0 }, { k: 'x', n: 1, bytes: 0 }]))+ .toEqual([{ name: '账号', value: 9 }, { name: '视频', value: 4 }, { name: 'x', value: 1 }]);+ expect(replayRows([{ k: 1, n: 52 }, { k: 2, n: 13 }, { k: 4, n: 6 }, { k: 7, n: 1 }, { k: 9, n: 1 }, { k: 12, n: 2 }]))+ .toEqual([+ { name: '1 次', value: 52 }, { name: '2 次', value: 13 }, { name: '3 次', value: 0 },+ { name: '4 次', value: 6 }, { name: '5 次', value: 0 }, { name: '6–9 次', value: 2 },+ { name: '10 次以上', value: 2 },+ ]);+});++it('看过那一层有播放时间的两张热力图,指到一格读数换成那一格', async () => {+ const { host } = await open();+ await click(tabNamed(host, '看过'));+ const panel = host.querySelector('[role=tabpanel]')!;+ const heats = [...panel.querySelectorAll('svg[role=img]')];+ expect(heats.map((heat) => heat.getAttribute('aria-label'))).toEqual(['播放时间', '每日播放']);+ const card = heats[0]!.closest('section')!;+ expect(card.querySelector('header b')?.textContent).toBe('2');+ expect(card.querySelector('footer')?.textContent).toContain('UTC+08:00');+ const cell = card.querySelector<SVGRectElement>('rect[aria-label="周一 23:00,1 个作品"]')!;+ await act(async () => { cell.dispatchEvent(new FocusEvent('focusin', { bubbles: true })); });+ expect(card.querySelector('header small')?.textContent).toBe('周一 23:00');+ expect(card.querySelector('header b')?.textContent).toBe('1');+ await act(async () => { cell.dispatchEvent(new FocusEvent('focusout', { bubbles: true })); });+ expect(card.querySelector('header b')?.textContent).toBe('2');+ expect(panel.querySelector('section[aria-label="播放次数"] header b')?.textContent).toBe('2');+ const liked = [...panel.querySelectorAll('span')].find((term) => term.textContent === '喜欢');+ expect(liked?.nextElementSibling?.textContent).toBe('1');+});++it('没有播放时间记录时看过那一层不出热力图', async () => {+ const { host } = await open(payload({ play_activity: { timezone: 'UTC+08:00', days: [], hours: [] } }));+ await click(tabNamed(host, '看过'));+ expect(host.querySelector('[role=tabpanel] svg[role=img]')).toBeNull();});it('覆盖率那一层的每条进度用同一对分子分母,不另算一遍', async () => {@@ -188,7 +253,8 @@ it('快进扫过和正常看完是两回事,一行里分得出来', async () =it('一个视频都没有时给空态,能改配置就给去添加媒体文件夹', async () => {const { host, props } = await open(payload({ by_loc: [], by_library: [] }));expect(host.querySelector('h3')?.textContent).toBe('还没有视频');- expect(host.querySelector('svg[role=img]')).toBeNull();+ expect(radialCharts(host)).toEqual([]);+ expect(host.querySelector('[role=tabpanel] section[aria-label]')).toBeNull();await click(buttonNamed('添加媒体文件夹', host));expect(props.openMediaSettings).toHaveBeenCalledTimes(1);});diff --git a/tests/test_frontend_build.py b/tests/test_frontend_build.pyindex 46905805f..8a21a6354 100644--- a/tests/test_frontend_build.py+++ b/tests/test_frontend_build.py@@ -457,10 +457,6 @@ class StatsEndpointTests(unittest.TestCase):self.assertIn("react-aria-components", self.source)self.assertEqual(self.source.count("<MetricTab"), 4)- def test_ring_geometry_is_a_percentage_of_one_turn(self):- """一圈钉成 100,`stroke-dasharray` 写的那个数就是百分比本身。"""- self.assertIn("pathLength={100}", self.source)-def test_the_endpoint_is_declared_once(self):"""端点在前端只能有一个声明处,就是这一页的数据模块。"""sources = sorted(path for path in (FRONTEND / "src").rglob("*.ts*"))@@ -526,7 +522,7 @@ class TasteEndpointTests(unittest.TestCase):def test_every_chart_is_a_react_component(self):"""六种图都在 React 里:雷达、排行条、读数卡、两张热力图、创作者流向。"""- for component in ("TasteRadar", "RankedBars", "SummaryCard", "HeatCard", "CreatorSankey"):+ for component in ("TasteRadar", "RankedBars", "SummaryCard", "ActivityHeat", "CreatorSankey"):self.assertIn(component, self.source)self.assertIn("from 'd3-sankey'", self.source)diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.pyindex 078155d56..96ec48290 100644--- a/tests/test_source_assertion_ratchet.py+++ b/tests/test_source_assertion_ratchet.py@@ -40,7 +40,7 @@ BASELINE: dict[str, int] = {"test_fastapi_api.py": 4,"test_follow_assets.py": 2,"test_follow_web.py": 343,- "test_frontend_build.py": 81,+ "test_frontend_build.py": 80,"test_job_status.py": 3,"test_metadata_library.py": 7,"test_repo_hygiene.py": 2,diff --git a/web/dist/peach-react.css b/web/dist/peach-react.cssindex 42de5f6c9..d4f8a976e 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-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;--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-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-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;--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{--color-card-footer:var(--card-footer,transparent);--color-card-hover:var(--card-hover,transparent)}}.\@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}.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-full{top:100%}.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-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)}.-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-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.container{width:100%}@media (width>=600px){.container{max-width:600px}}@media (width>=900px){.container{max-width:900px}}@media (width>=1000px){.container{max-width:1000px}}@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}.-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-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-auto{margin-top:auto}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.-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}.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}.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-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.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-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.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-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-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.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-\[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-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-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-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.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-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-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-40{min-height:calc(var(--spacing) * 40)}.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-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-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-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-\[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-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.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-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.-translate-x-full{--tw-translate-x:-100%;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)}.-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}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.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-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-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.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-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-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.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-start{align-self:flex-start}.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-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-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-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)}.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-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-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--color-card-footer)}.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-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-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-chart-track{stroke:var(--color-chart-track)}.stroke-current{stroke:currentColor}.stroke-separator-border{stroke:var(--color-separator-border)}.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-\[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-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-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-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-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)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-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-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-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-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-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-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.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)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.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-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)}.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-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\: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-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--color-card-hover)}}.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)}.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-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-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-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-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-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\:ring-2[data-selected]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:ring-border-focus-ring[data-selected]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:ring-inset[data-selected]{--tw-ring-inset:inset}.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>=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\: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))}}@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\: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\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&\>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)}}@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 [data-review-filter]{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-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-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-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-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;--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-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-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;--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{--color-card-footer:var(--card-footer,transparent);--color-card-hover:var(--card-hover,transparent)}}.\@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}.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-full{top:100%}.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-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)}.-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-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.container{width:100%}@media (width>=600px){.container{max-width:600px}}@media (width>=900px){.container{max-width:900px}}@media (width>=1000px){.container{max-width:1000px}}@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}.-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-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-auto{margin-top:auto}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.-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}.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}.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-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.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-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-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-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.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-\[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-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-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-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.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-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-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-40{min-height:calc(var(--spacing) * 40)}.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-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-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-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-\[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-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.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-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.-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}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.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-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-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.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-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-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.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-start{align-self:flex-start}.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-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-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-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)}.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-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-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--color-card-footer)}.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-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-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-separator-border{stroke:var(--color-separator-border)}.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-\[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-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-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-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-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)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-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-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-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-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-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-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.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)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.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-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)}.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-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\: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-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--color-card-hover)}}.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)}.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-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-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-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-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-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\:ring-2[data-selected]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:ring-border-focus-ring[data-selected]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:ring-inset[data-selected]{--tw-ring-inset:inset}.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>=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\: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\: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\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&\>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)}}@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 [data-review-filter]{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-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-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-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 filediff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsindex 5f48a7b39..8cdba18e3 100644--- a/web/dist/peach-react.js+++ b/web/dist/peach-react.js@@ -90,7 +90,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrfunction M(e, t) {return typeof e == "object" && e && e.key != null ? A("" + e.key) : t.toString(36);}- function ee(e) {+ function N(e) {switch (e.status) {case "fulfilled": return e.value;case "rejected": throw e.reason;@@ -105,7 +105,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr}throw e;}- function te(e, r, i, a, o) {+ function P(e, r, i, a, o) {var s = typeof e;(s === "undefined" || s === "boolean") && (e = null);var c = !1;@@ -121,30 +121,30 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrcase n:c = !0;break;- case d: return c = e._init, te(c(e._payload), r, i, a, o);+ case d: return c = e._init, P(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, "$&/") + "/"), te(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, "$&/") + "/"), P(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 += te(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 += te(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 += 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);else if (s === "object") {- if (typeof e.then == "function") return te(ee(e), r, i, a, o);+ if (typeof e.then == "function") return P(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 N(e, t, n) {+ function F(e, t, n) {if (e == null) return e;var r = [], i = 0;- return te(e, r, "", "", function(e) {+ return P(e, r, "", "", function(e) {return t.call(n, e, i++);}), r;}- function P(e) {+ function I(e) {if (e._status === -1) {var t = e._result, n = t();n.then(function(t) {@@ -156,7 +156,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrif (e._status === 1) return e._result.default;throw e._result;}- var ne = typeof reportError == "function" ? reportError : function(e) {+ var ee = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -171,40 +171,40 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr}console.error(e);};- function re(e) {+ function te(e) {var t = T.T, n = {};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, ne);+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, ee);} catch (e) {- ne(e);+ ee(e);} finally {t !== null && n.types !== null && (t.types = n.types), T.T = t;}}- function F(e) {+ function L(e) {var t = T.T;if (t !== null) {var n = t.types;n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);- } else re(F.bind(null, e));+ } else te(L.bind(null, e));}- var ie = {- map: N,+ var ne = {+ map: F,forEach: function(e, t, n) {- N(e, function() {+ F(e, function() {t.apply(this, arguments);}, n);},count: function(e) {var t = 0;- return N(e, function() {+ return F(e, function() {t++;}), t;},toArray: function(e) {- return N(e, function(e) {+ return F(e, function(e) {return e;}) || [];},@@ -213,12 +213,12 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrreturn e;}};- 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 = {+ e.Activity = f, e.Children = ne, 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);}- }, e.addTransitionType = F, e.cache = function(e) {+ }, e.addTransitionType = L, e.cache = function(e) {return function() {return e.apply(null, arguments);};@@ -272,7 +272,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr_status: -1,_result: e},- _init: P+ _init: I};}, e.memo = function(e, t) {return {@@ -280,7 +280,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrtype: e,compare: t === void 0 ? null : t};- }, e.startTransition = re, e.unstable_useCacheRefresh = function() {+ }, e.startTransition = te, e.unstable_useCacheRefresh = function() {return T.H.useCacheRefresh();}, e.use = function(e) {return T.H.use(e);@@ -371,31 +371,31 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrthis.#e.clearInterval(e);}}();-function ee(e) {+function N(e) {setTimeout(e, 0);}//#endregion//#region node_modules/@tanstack/query-core/build/modern/utils.js-var te = typeof window > "u" || "Deno" in globalThis;-function N() {}-function P(e, t) {+var P = typeof window > "u" || "Deno" in globalThis;+function F() {}+function I(e, t) {return typeof e == "function" ? e(t) : e;}-function ne(e) {+function ee(e) {return typeof e == "number" && e >= 0 && e !== Infinity;}-function re(e, t) {+function te(e, t) {return Math.max(e + (t || 0) - Date.now(), 0);}-function F(e, t) {+function L(e, t) {return typeof e == "function" ? e(t) : e;}-function ie(e, t) {+function ne(e, t) {let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;if (o) {if (r) {- if (t.queryHash !== oe(o, t.options)) return !1;- } else if (!ce(t.queryKey, o)) return !1;+ if (t.queryHash !== ie(o, t.options)) return !1;+ } else if (!oe(t.queryKey, o)) return !1;}if (n !== "all") {let e = t.isActive();@@ -403,105 +403,105 @@ function ie(e, t) {}return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));}-function ae(e, t) {+function re(e, t) {let { exact: n, status: r, predicate: i, mutationKey: a } = e;if (a) {if (!t.options.mutationKey) return !1;if (n) {- if (se(t.options.mutationKey) !== se(a)) return !1;- } else if (!ce(t.options.mutationKey, a)) return !1;+ if (ae(t.options.mutationKey) !== ae(a)) return !1;+ } else if (!oe(t.options.mutationKey, a)) return !1;}return !(r && t.state.status !== r || i && !i(t));}-function oe(e, t) {- return (t?.queryKeyHashFn || se)(e);+function ie(e, t) {+ return (t?.queryKeyHashFn || ae)(e);}-function se(e) {- return JSON.stringify(e, (e, t) => I(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);+function ae(e) {+ return JSON.stringify(e, (e, t) => R(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function ce(e, t) {+function oe(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 (!ce(e[n], t[n])) return !1;+ for (let n = 0; n < t.length; n++) if (!oe(e[n], t[n])) return !1;return !0;}let n = Object.keys(t);- for (let r of n) if (!ce(e[r], t[r])) return !1;+ for (let r of n) if (!oe(e[r], t[r])) return !1;return !0;}return !1;}-var le = Object.prototype.hasOwnProperty;-function ue(e, t, n = 0) {+var se = Object.prototype.hasOwnProperty;+function ce(e, t, n = 0) {if (e === t) return e;if (n > 500) return t;- let r = fe(e) && fe(t);- if (!r && !(I(e) && I(t))) return t;+ let r = ue(e) && ue(t);+ if (!r && !(R(e) && R(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 : le.call(e, o)) && c++;+ s[o] = u, (r ? l < i : se.call(e, o)) && c++;continue;}if (u === null || d === null || typeof u != "object" || typeof d != "object") {s[o] = d;continue;}- let f = ue(u, d, n + 1);+ let f = ce(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function de(e, t) {+function le(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 fe(e) {+function ue(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function I(e) {- if (!pe(e)) return !1;+function R(e) {+ if (!de(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 !(!pe(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);+ return !(!de(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);}-function pe(e) {+function de(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function me(e) {+function fe(e) {return new Promise((t) => {M.setTimeout(t, e);});}-function he(e, t, n) {- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : ue(e, t);+function pe(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : ce(e, t);}-function ge(e) {+function me(e) {return e;}-function _e(e, t, n = 0) {+function he(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function ve(e, t, n = 0) {+function ge(e, t, n = 0) {let r = [t, ...e];return n && r.length > n ? r.slice(0, -1) : r;}-var ye = Symbol();-function be(e, t) {- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === ye ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;+var _e = Symbol();+function ve(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === _e ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;}-function xe(e, t) {+function ye(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function Se(e, t, n) {+function be(e, t, n) {let r = !1, i;return Object.defineProperty(e, "signal", {enumerable: !0,@@ -510,7 +510,7 @@ function Se(e, t, n) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js-var Ce = () => te, we = () => Ce(), Te = class {+var xe = () => P, Se = () => xe(), Ce = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -524,7 +524,7 @@ var Ce = () => te, we = () => Ce(), Te = class {}onSubscribe() {}onUnsubscribe() {}-}, Ee = new class extends Te {+}, we = new class extends Ce {#e;#t;#n;@@ -561,13 +561,13 @@ var Ce = () => te, we = () => Ce(), Te = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), De = ee;-function Oe() {+}(), Te = N;+function Ee() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = De, a = (r) => {+ }, i = Te, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -609,7 +609,7 @@ function Oe() {}};}-var ke = Oe(), Ae = new class extends Te {+var De = Ee(), Oe = new class extends Ce {#e = !0;#t;#n;@@ -643,32 +643,32 @@ var ke = Oe(), Ae = new class extends Te {}();//#endregion//#region node_modules/@tanstack/query-core/build/modern/retryer.js-function je(e) {+function ke(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function Me(e) {- return (e ?? "online") !== "online" || Ae.isOnline();+function Ae(e) {+ return (e ?? "online") !== "online" || Oe.isOnline();}-var Ne = class extends Error {+var je = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function Pe(e) {+function Me(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});- s.catch(N);+ s.catch(F);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new Ne(t);+ let n = new je(t);h(n), e.onCancel?.(n);}}, u = () => {t = !0;}, d = () => {t = !1;- }, f = () => Ee.isFocused() && (e.networkMode === "always" || Ae.isOnline()) && e.canRun(), p = () => Me(e.networkMode) && e.canRun(), m = (e) => {+ }, f = () => we.isFocused() && (e.networkMode === "always" || Oe.isOnline()) && e.canRun(), p = () => Ae(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 Pe(e) {}Promise.resolve(r).then(m).catch((r) => {if (c()) return;- let i = e.retry ?? (we() ? 0 : 3), a = e.retryDelay ?? je, 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 ?? (Se() ? 0 : 3), a = e.retryDelay ?? ke, 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), me(o).then(() => f() ? void 0 : g()).then(() => {+ n++, e.onFail?.(n, r), fe(o).then(() => f() ? void 0 : g()).then(() => {t ? h(r) : _();});});@@ -711,18 +711,18 @@ function Pe(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/removable.js-var Fe = class {+var Ne = class {#e;destroy() {this.clearGcTimeout();}scheduleGc() {- this.clearGcTimeout(), ne(this.gcTime) && (this.#e = M.setTimeout(() => {+ this.clearGcTimeout(), ee(this.gcTime) && (this.#e = M.setTimeout(() => {this.optionalRemove();}, this.gcTime));}updateGcTime(e) {- this.gcTime = Math.max(this.gcTime || 0, e ?? (we() ? Infinity : 3e5));+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Se() ? Infinity : 3e5));}clearGcTimeout() {this.#e !== void 0 && (M.clearTimeout(this.#e), this.#e = void 0);@@ -730,15 +730,15 @@ var Fe = class {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function Ie(e) {+function Pe(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) => {- Se(e, () => t.signal, () => n = !0);- }, u = be(t.options, t.fetchOptions), d = async (e, r, i) => {+ be(e, () => t.signal, () => n = !0);+ }, u = ve(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 Ie(e) {meta: t.options.meta};return l(e), e;- })(), o = await u(a), { maxPages: s } = t.options, c = i ? ve : _e;+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? ge : he;return {pages: c(e.pages, o, s),pageParams: c(e.pageParams, r, s)};};if (i && a.length) {- let e = i === "backward", t = e ? Re : Le, n = {+ let e = i === "backward", t = e ? Ie : Fe, n = {pages: a,pageParams: o};@@ -765,7 +765,7 @@ function Ie(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] ?? r.initialPageParam : Le(r, s);+ let e = c === 0 ? o[0] ?? r.initialPageParam : Fe(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -780,16 +780,16 @@ function Ie(e) {}, n) : l;} };}-function Le(e, { pages: t, pageParams: n }) {+function Fe(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 Re(e, { pages: t, pageParams: n }) {+function Ie(e, { pages: t, pageParams: n }) {return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/query.js-var ze = class extends Fe {+var Le = class extends Ne {#e;#t;#n;@@ -799,7 +799,7 @@ var ze = class extends Fe {#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 = He(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 = Be(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -815,15 +815,15 @@ var ze = class extends Fe {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = He(this.options);- e.data !== void 0 && (this.setState(Ve(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = Be(this.options);+ e.data !== void 0 && (this.setState(ze(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);}setData(e, t) {- let n = he(this.state.data, e, this.options);+ let n = pe(this.state.data, e, this.options);return this.#c({data: n,type: "success",@@ -839,7 +839,7 @@ var ze = class extends Fe {}cancel(e) {let t = this.#a?.promise;- return this.#a?.cancel(e), t ? t.then(N).catch(N) : Promise.resolve();+ return this.#a?.cancel(e), t ? t.then(F).catch(F) : Promise.resolve();}destroy() {super.destroy(), this.cancel({ silent: !0 });@@ -851,22 +851,22 @@ var ze = class extends Fe {this.destroy(), this.setState(this.resetState);}isActive() {- return this.observers.some((e) => F(e.options.enabled, this) !== !1);+ return this.observers.some((e) => L(e.options.enabled, this) !== !1);}isDisabled() {- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === ye || !this.isFetched();+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === _e || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;}isStatic() {- return this.getObserversCount() > 0 && this.observers.some((e) => F(e.options.staleTime, this) === "static");+ return this.getObserversCount() > 0 && this.observers.some((e) => L(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 : !re(this.state.dataUpdatedAt, e);+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !te(this.state.dataUpdatedAt, e);}onFocus() {this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();@@ -910,7 +910,7 @@ var ze = class extends Fe {get: () => (this.#s = !0, n.signal)});}, i = () => {- let e = be(this.options, t), n = (() => {+ let e = ve(this.options, t), n = (() => {let e = {client: this.#i,queryKey: this.queryKey,@@ -930,15 +930,15 @@ var ze = class extends Fe {};return r(e), e;})();- (this.#e === "infinite" ? Ie(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" ? Pe(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 = Pe({+ let o = this.#a = Me({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof Ne && e.revert && this.setState({+ e instanceof je && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -966,7 +966,7 @@ var ze = class extends Fe {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 Ne) {+ if (e instanceof je) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -999,13 +999,13 @@ var ze = class extends Fe {};case "fetch": return {...t,- ...Be(t.data, this.options),+ ...Re(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...Ve(e.data, e.dataUpdatedAt),+ ...ze(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -1037,7 +1037,7 @@ var ze = class extends Fe {};}};- this.state = t(this.state), ke.batch(() => {+ this.state = t(this.state), De.batch(() => {this.observers.slice().forEach((e) => {e.onQueryUpdate();}), this.#r.notify({@@ -1048,18 +1048,18 @@ var ze = class extends Fe {});}};-function Be(e, t) {+function Re(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: Me(t.networkMode) ? "fetching" : "paused",+ fetchStatus: Ae(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function Ve(e, t) {+function ze(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -1068,7 +1068,7 @@ function Ve(e, t) {status: "success"};}-function He(e) {+function Be(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,@@ -1087,7 +1087,7 @@ function He(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js-var Ue = class extends Te {+var Ve = class extends Ce {#e;#t = void 0;#n = void 0;@@ -1109,36 +1109,36 @@ var Ue = class extends Te {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), Ge(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), Ue(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return Ke(this.#t, this.options, this.options.refetchOnReconnect);+ return We(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return Ke(this.#t, this.options, this.options.refetchOnWindowFocus);+ return We(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 F(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 && !de(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 L(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 && !le(this.options, t) && this.#e.getQueryCache().notify({type: "observerOptionsUpdated",query: this.#t,observer: this});let r = this.hasListeners();- r && qe(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || F(this.options.enabled, this.#t) !== F(t.enabled, this.#t) || F(this.options.staleTime, this.#t) !== F(t.staleTime, this.#t)) && this.#g();+ r && Ge(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(t.enabled, this.#t) || L(this.options.staleTime, this.#t) !== L(t.staleTime, this.#t)) && this.#g();let i = this.#_();- r && (this.#t !== n || F(this.options.enabled, this.#t) !== F(t.enabled, this.#t) || i !== this.#f) && this.#v(i);+ r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(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 de(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;+ return le(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;}getCurrentResult() {return this.#r;@@ -1177,26 +1177,26 @@ var Ue = class extends Te {#m(e) {this.#S();let t = this.#t.fetch(this.options, e);- return e?.throwOnError || (t = t.catch(N)), t;+ return e?.throwOnError || (t = t.catch(F)), t;}#h(e) {- return !we() && F(this.options.enabled, this.#t) !== !1 && ne(e);+ return !Se() && L(this.options.enabled, this.#t) !== !1 && ee(e);}#g() {this.#b();- let e = F(this.options.staleTime, this.#t);+ let e = L(this.options.staleTime, this.#t);if (this.#r.isStale || !this.#h(e)) return;- let t = re(this.#r.dataUpdatedAt, e) + 1;+ let t = te(this.#r.dataUpdatedAt, e) + 1;this.#u = M.setTimeout(() => {this.#r.isStale || this.updateResult();}, t);}#_() {- return F(this.options.refetchInterval, this.#t) ?? !1;+ return L(this.options.refetchInterval, this.#t) ?? !1;}#v(e) {this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = M.setInterval(() => {- (this.options.refetchIntervalInBackground || Ee.isFocused()) && this.#m();+ (this.options.refetchIntervalInBackground || we.isFocused()) && this.#m();}, this.#f));}#y() {@@ -1211,10 +1211,10 @@ var Ue = class extends Te {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 && Ge(e, t), o = i && qe(e, n, t, r);+ let i = this.hasListeners(), a = !i && Ue(e, t), o = i && Ge(e, n, t, r);(a || o) && (l = {...l,- ...Be(c.data, e.options)+ ...Re(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -1222,12 +1222,12 @@ var Ue = class extends Te {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 = he(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 = pe(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 = he(i?.data, d, t), this.#c = d, this.#o = null;+ this.#s = t.select, d = t.select(d), d = pe(i?.data, d, t), this.#c = d, this.#o = null;} catch (e) {this.#o = e;}@@ -1257,14 +1257,14 @@ var Ue = class extends Te {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && b,- isStale: Je(e, t),+ isStale: Ke(e, t),refetch: this.refetch,- isEnabled: F(t.enabled, e) !== !1+ isEnabled: L(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), de(t, e)) return;+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), le(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -1276,7 +1276,7 @@ var Ue = class extends Te {return this.#r[n] !== e[n] && r.has(n);});})();- ke.batch(() => {+ De.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -1295,34 +1295,34 @@ var Ue = class extends Te {this.updateResult(), this.hasListeners() && this.#y();}};-function We(e, t) {- return F(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || F(t.retryOnMount, e) !== !1);+function He(e, t) {+ return L(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || L(t.retryOnMount, e) !== !1);}-function Ge(e, t) {- return We(e, t) || e.state.data !== void 0 && Ke(e, t, t.refetchOnMount);+function Ue(e, t) {+ return He(e, t) || e.state.data !== void 0 && We(e, t, t.refetchOnMount);}-function Ke(e, t, n) {- if (F(t.enabled, e) !== !1 && F(t.staleTime, e) !== "static") {- let r = F(n, e);- return r === "always" || r !== !1 && Je(e, t);+function We(e, t, n) {+ if (L(t.enabled, e) !== !1 && L(t.staleTime, e) !== "static") {+ let r = L(n, e);+ return r === "always" || r !== !1 && Ke(e, t);}return !1;}-function qe(e, t, n, r) {- return (e !== t || F(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Je(e, n);+function Ge(e, t, n, r) {+ return (e !== t || L(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ke(e, n);}-function Je(e, t) {- return F(t.enabled, e) !== !1 && e.isStaleByTime(F(t.staleTime, e));+function Ke(e, t) {+ return L(t.enabled, e) !== !1 && e.isStaleByTime(L(t.staleTime, e));}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutation.js-var Ye = class extends Fe {+var qe = class extends Ne {#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 || Xe(), 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 || Je(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -1357,7 +1357,7 @@ var Ye = class extends Fe {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = Pe({+ }, r = this.#r = Me({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -1473,7 +1473,7 @@ var Ye = class extends Fe {};}};- this.state = t(this.state), ke.batch(() => {+ this.state = t(this.state), De.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -1484,7 +1484,7 @@ var Ye = class extends Fe {});}};-function Xe() {+function Je() {return {context: void 0,data: void 0,@@ -1499,7 +1499,7 @@ function Xe() {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js-var Ze = class extends Te {+var Ye = class extends Ce {#e;#t;#n;@@ -1507,7 +1507,7 @@ var Ze = class extends Te {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new Ye({+ let r = new qe({client: e,mutationCache: this,mutationId: ++this.#n,@@ -1518,7 +1518,7 @@ var Ze = class extends Te {}add(e) {this.#e.add(e);- let t = Qe(e);+ let t = Xe(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -1530,7 +1530,7 @@ var Ze = class extends Te {}remove(e) {if (this.#e.delete(e)) {- let t = Qe(e);+ let t = Xe(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -1547,7 +1547,7 @@ var Ze = class extends Te {});}canRun(e) {- let t = Qe(e);+ let t = Xe(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -1555,11 +1555,11 @@ var Ze = class extends Te {return !0;}runNext(e) {- let t = Qe(e);+ let t = Xe(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- ke.batch(() => {+ De.batch(() => {this.#e.forEach((e) => {this.notify({type: "removed",@@ -1576,13 +1576,13 @@ var Ze = class extends Te {exact: !0,...e};- return this.getAll().find((e) => ae(t, e));+ return this.getAll().find((e) => re(t, e));}findAll(e = {}) {- return this.getAll().filter((t) => ae(e, t));+ return this.getAll().filter((t) => re(e, t));}notify(e) {- ke.batch(() => {+ De.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -1590,15 +1590,15 @@ var Ze = class extends Te {}resumePausedMutations() {let e = this.getAll().filter((e) => e.state.isPaused);- return ke.batch(() => Promise.all(e.map((e) => e.continue().catch(N))));+ return De.batch(() => Promise.all(e.map((e) => e.continue().catch(F))));}};-function Qe(e) {+function Xe(e) {return e.options.scope?.id;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var $e = class extends Te {+var Ze = class extends Ce {#e;#t = void 0;#n;@@ -1611,11 +1611,11 @@ var $e = class extends Te {}setOptions(e) {let t = this.options;- this.options = this.#e.defaultMutationOptions(e), de(this.options, t) || this.#e.getMutationCache().notify({+ this.options = this.#e.defaultMutationOptions(e), le(this.options, t) || this.#e.getMutationCache().notify({type: "observerOptionsUpdated",mutation: this.#n,observer: this- }), t?.mutationKey && this.options.mutationKey && se(t.mutationKey) !== se(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);+ }), t?.mutationKey && this.options.mutationKey && ae(t.mutationKey) !== ae(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());@@ -1636,7 +1636,7 @@ var $e = class extends Te {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 ?? Xe();+ let e = this.#n?.state ?? Je();this.#t = {...e,isPending: e.status === "pending",@@ -1648,7 +1648,7 @@ var $e = class extends Te {};}#a(e) {- ke.batch(() => {+ De.batch(() => {if (this.#r && this.hasListeners()) {let t = this.#t.variables, n = this.#t.context, r = {client: this.#e,@@ -1684,14 +1684,14 @@ var $e = class extends Te {});});}-}, et = class extends Te {+}, Qe = class extends Ce {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {- let r = t.queryKey, i = t.queryHash ?? oe(r, t), a = this.get(i);- return a || (a = new ze({+ let r = t.queryKey, i = t.queryHash ?? ie(r, t), a = this.get(i);+ return a || (a = new Le({client: e,queryKey: r,queryHash: i,@@ -1714,7 +1714,7 @@ var $e = class extends Te {}));}clear() {- ke.batch(() => {+ De.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -1731,34 +1731,34 @@ var $e = class extends Te {exact: !0,...e};- return this.getAll().find((e) => ie(t, e));+ return this.getAll().find((e) => ne(t, e));}findAll(e = {}) {let t = this.getAll();- return Object.keys(e).length > 0 ? t.filter((t) => ie(e, t)) : t;+ return Object.keys(e).length > 0 ? t.filter((t) => ne(e, t)) : t;}notify(e) {- ke.batch(() => {+ De.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- ke.batch(() => {+ De.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- ke.batch(() => {+ De.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, tt = class {+}, $e = class {#e;#t;#n;@@ -1768,12 +1768,12 @@ var $e = class extends Te {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new et(), this.#t = e.mutationCache || new Ze(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new Qe(), this.#t = e.mutationCache || new Ye(), 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 = Ee.subscribe(async (e) => {+ this.#a++, this.#a === 1 && (this.#o = we.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = Ae.subscribe(async (e) => {+ }), this.#s = Oe.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -1798,20 +1798,20 @@ var $e = class extends Te {}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(F(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(L(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 = P(t, i);+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = I(t, i);if (a !== void 0) return this.#e.build(this, r).setData(a, {...n,manual: !0});}setQueriesData(e, t, n) {- return ke.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));+ return De.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -1819,7 +1819,7 @@ var $e = class extends Te {}removeQueries(e) {let t = this.#e;- ke.batch(() => {+ De.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -1827,7 +1827,7 @@ var $e = class extends Te {}resetQueries(e, t) {let n = this.#e;- return ke.batch(() => {+ return De.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -1841,11 +1841,11 @@ var $e = class extends Te {let n = {revert: !0,...t- }, r = ke.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));- return Promise.all(r).then(N).catch(N);+ }, r = De.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ return Promise.all(r).then(F).catch(F);}invalidateQueries(e, t = {}) {- return ke.batch(() => (this.#e.findAll(e).forEach((e) => {+ return De.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -1856,26 +1856,26 @@ var $e = class extends Te {let n = {...t,cancelRefetch: t.cancelRefetch ?? !0- }, r = ke.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {+ }, r = De.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(N)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;+ return n.throwOnError || (t = t.catch(F)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));- return Promise.all(r).then(N);+ return Promise.all(r).then(F);}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(F(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;+ let n = this.#e.build(this, t), r = n.isStaleByTime(L(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(F(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);+ return n.isStaleByTime(L(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);}prefetchQuery(e) {- return this.fetchQuery(e).then(N).catch(N);+ return this.fetchQuery(e).then(F).catch(F);}infiniteQuery(e) {return e._type = "infinite", this.query(e);@@ -1884,13 +1884,13 @@ var $e = class extends Te {return e._type = "infinite", this.fetchQuery(e);}prefetchInfiniteQuery(e) {- return this.fetchInfiniteQuery(e).then(N).catch(N);+ return this.fetchInfiniteQuery(e).then(F).catch(F);}ensureInfiniteQueryData(e) {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return Ae.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return Oe.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -1905,7 +1905,7 @@ var $e = class extends Te {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(se(e), {+ this.#r.set(ae(e), {queryKey: e,defaultOptions: t});@@ -1913,11 +1913,11 @@ var $e = class extends Te {getQueryDefaults(e) {let t = [...this.#r.values()], n = {};return t.forEach((t) => {- ce(e, t.queryKey) && Object.assign(n, t.defaultOptions);+ oe(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(se(e), {+ this.#i.set(ae(e), {mutationKey: e,defaultOptions: t});@@ -1925,7 +1925,7 @@ var $e = class extends Te {getMutationDefaults(e) {let t = [...this.#i.values()], n = {};return t.forEach((t) => {- ce(e, t.mutationKey) && Object.assign(n, t.defaultOptions);+ oe(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -1936,7 +1936,7 @@ var $e = class extends Te {...e,_defaulted: !0};- return t.queryHash ||= oe(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 === ye && (t.enabled = !1), t;+ return t.queryHash ||= ie(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 === _e && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -1949,11 +1949,11 @@ var $e = class extends Te {clear() {this.#e.clear(), this.#t.clear();}-}, nt = E.createContext(!1), rt = () => E.useContext(nt);-nt.Provider;+}, et = E.createContext(!1), tt = () => E.useContext(et);+et.Provider;//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function it() {+function nt() {let e = !1;return {clearReset: () => {@@ -1965,34 +1965,34 @@ function it() {isReset: () => e};}-var at = E.createContext(it()), ot = () => E.useContext(at), st = (e, t, n) => {- let r = n?.state.error && typeof e.throwOnError == "function" ? xe(e.throwOnError, [n.state.error, n]) : e.throwOnError;+var rt = E.createContext(nt()), it = () => E.useContext(rt), at = (e, t, n) => {+ let r = n?.state.error && typeof e.throwOnError == "function" ? ye(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, ct = (e) => {+}, ot = (e) => {E.useEffect(() => {e.clearReset();}, [e]);-}, lt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || xe(n, [e.error, r])), ut = (e) => {+}, st = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ye(n, [e.error, r])), ct = (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));}-}, dt = (e, t) => e?.suspense && t.isPending, ft = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, lt = (e, t) => e?.suspense && t.isPending, ut = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});//#endregion//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function pt(e, t, n) {- let r = rt(), i = ot(), a = k(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ut(o), st(o, i, s), ct(i);+function dt(e, t, n) {+ let r = tt(), i = it(), a = k(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ct(o), at(o, i, s), ot(i);let [l] = E.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (E.useSyncExternalStore(E.useCallback((e) => {- let t = d ? l.subscribe(ke.batchCalls(e)) : N;+ let t = d ? l.subscribe(De.batchCalls(e)) : F;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), E.useEffect(() => {l.setOptions(o);- }, [o, l]), dt(o, u)) throw ft(o, l, i);- if (lt({+ }, [o, l]), lt(o, u)) throw ut(o, l, i);+ if (st({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -2003,20 +2003,20 @@ function pt(e, t, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQuery.js-function mt(e, t) {- return pt(e, Ue, t);+function ft(e, t) {+ return dt(e, Ve, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutation.js-function ht(e, t) {- let n = k(t), [r] = E.useState(() => new $e(n, e));+function pt(e, t) {+ let n = k(t), [r] = E.useState(() => new Ze(n, e));E.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = E.useSyncExternalStore(E.useCallback((e) => r.subscribe(ke.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = E.useCallback((...e) => {- r.mutate(e[0], e[1]).catch(N);+ let i = E.useSyncExternalStore(E.useCallback((e) => r.subscribe(De.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = E.useCallback((...e) => {+ r.mutate(e[0], e[1]).catch(F);}, [r]);- if (i.error && xe(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && ye(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -2024,8481 +2024,13475 @@ function ht(e, t) {};}//#endregion+//#region node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs+var mt = (0, E.createContext)({});+//#endregion//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs-function gt(e) {+function ht(e) {let t = (0, E.useRef)(null);return t.current === null && (t.current = e()), t.current;}//#endregion-//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function _t(e, t) {- if (e?.inherit && t) {- let { inherit: n, ...r } = e;- return {- ...t,- ...r- };- }- return e;+//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs+var gt = typeof window < "u" ? E.useLayoutEffect : E.useEffect, _t = /* @__PURE__ */ (0, E.createContext)(null);+//#endregion+//#region node_modules/motion-utils/dist/es/array.mjs+function vt(e, t) {+ e.indexOf(t) === -1 && e.push(t);+}+function yt(e, t) {+ let n = e.indexOf(t);+ n > -1 && e.splice(n, 1);}//#endregion-//#region node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var vt = (0, E.createContext)({- transformPagePoint: (e) => e,- isStatic: !1,- reducedMotion: "never"-}), yt = /* @__PURE__ */ v({ default: () => bt }), bt, xt = g((() => {- throw bt = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");-}));-try {- (xt(), x(yt)).default;-} catch {}+//#region node_modules/motion-utils/dist/es/clamp.mjs+var bt = (e, t, n) => n > t ? t : n < e ? e : n, xt = {}, St = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Ct = (e) => typeof e == "object" && !!e, wt = (e) => /^0[^.\s]+$/u.test(e);//#endregion-//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function St({ children: e, isValidProp: t, ...n }) {- let r = (0, E.useContext)(vt);- n = {- ...r,- ...n- }, n.transition = _t(n.transition, r.transition), n.isStatic = gt(() => n.isStatic);- let i = (0, E.useMemo)(() => n, [- JSON.stringify(n.transition),- n.transformPagePoint,- n.reducedMotion,- n.skipAnimations- ]);- return (0, D.jsx)(vt.Provider, {- value: i,- children: e- });+//#region node_modules/motion-utils/dist/es/memo.mjs+/*#__NO_SIDE_EFFECTS__*/+function Tt(e) {+ let t;+ return () => (t === void 0 && (t = e()), t);}//#endregion-//#region node_modules/react-aria/dist/private/collections/BaseCollection.mjs-var Ct = 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;- }- get childNodes() {- throw Error("childNodes is not supported");- }- clone() {- let e = new this.constructor(this.key);- return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;+//#region node_modules/motion-utils/dist/es/noop.mjs+var Et = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Dt = (...e) => e.reduce((e, t) => (n) => t(e(n))), Ot = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {+ let r = t - e;+ return r ? (n - e) / r : 1;+}, kt = class {+ constructor() {+ this.subscriptions = [];}- filter(e, t, n) {- let r = this.clone();- return t.addDescendants(r, e), r;+ add(e) {+ return vt(this.subscriptions, e), () => yt(this.subscriptions, e);}-}, wt = class extends Ct {- filter(e, t, n) {- let [r, i] = Ot(e, t, this.firstChildKey, n), a = this.clone();- return a.firstChildKey = r, a.lastChildKey = i, a;+ notify(e, t, n) {+ let r = this.subscriptions.length;+ if (r) {+ if (r === 1) this.subscriptions[0](e, t, n);+ else for (let i = 0; i < r; i++) {+ let r = this.subscriptions[i];+ r && r(e, t, n);+ }+ }}-};-(class extends Ct {- static {- this.type = "header";+ getSize() {+ return this.subscriptions.length;}-});-var Tt = class extends Ct {- static {- this.type = "loader";+ clear() {+ this.subscriptions.length = 0;}-}, Et = class extends wt {- static {- this.type = "item";+}, At = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, jt = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Mt = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Nt = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Pt = 1e-7, Ft = 12;+function It(e, t, n, r, i) {+ let a, o, s = 0;+ do+ o = t + (n - t) / 2, a = Nt(o, r, i) - e, a > 0 ? n = o : t = o;+ while (Math.abs(a) > Pt && ++s < Ft);+ return o;+}+/*#__NO_SIDE_EFFECTS__*/+function Lt(e, t, n, r) {+ if (e === t && n === r) return Et;+ let i = (t) => It(t, 0, 1, e, n);+ return (e) => e === 0 || e === 1 ? e : Nt(i(e), t, r);+}+//#endregion+//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs+var Rt = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, zt = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Bt = /*@__PURE__*/ Lt(.33, 1.53, .69, .99), Vt = /*@__PURE__*/ zt(Bt), Ht = /*@__PURE__*/ Rt(Vt), Ut = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Vt(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Wt = (e) => 1 - Math.sin(Math.acos(e)), Gt = /* @__PURE__ */ zt(Wt), Kt = /* @__PURE__ */ Rt(Wt), qt = /*@__PURE__*/ Lt(.42, 0, 1, 1), Jt = /*@__PURE__*/ Lt(0, 0, .58, 1), Yt = /*@__PURE__*/ Lt(.42, 0, .58, 1), Xt = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", Zt = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Qt = {+ linear: Et,+ easeIn: qt,+ easeInOut: Yt,+ easeOut: Jt,+ circIn: Wt,+ circInOut: Kt,+ circOut: Gt,+ backIn: Vt,+ backInOut: Ht,+ backOut: Bt,+ anticipate: Ut+}, $t = (e) => typeof e == "string", en = (e) => {+ if (/* @__PURE__ */ Zt(e)) {+ e.length;+ let [t, n, r, i] = e;+ return /* @__PURE__ */ Lt(t, n, r, i);+ }+ return $t(e) ? (Qt[e], `${e}`, Qt[e]) : e;+}, tn = [+ "setup",+ "read",+ "resolveKeyframes",+ "preUpdate",+ "update",+ "preRender",+ "render",+ "postRender"+];+//#endregion+//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs+function nn(e) {+ let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {+ delta: 0,+ timestamp: 0,+ isProcessing: !1+ };+ function s(t) {+ a.has(t) && (c.schedule(t), e()), t(o);}- filter(e, t, n) {- if (n(this.textValue, this)) {- let n = this.clone();- return t.addDescendants(n, e), n;+ let c = {+ schedule: (e, i = !1, o = !1) => {+ let s = o && r ? t : n;+ return i && a.add(e), s.add(e), e;+ },+ cancel: (e) => {+ n.delete(e), a.delete(e);+ },+ process: (e) => {+ if (o = e, r) {+ i = !0;+ return;+ }+ r = !0;+ let a = t;+ t = n, n = a, t.forEach(s), t.clear(), r = !1, i && (i = !1, c.process(e));}- return null;+ };+ return c;+}+//#endregion+//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs+var rn = 40;+function an(e, t) {+ let n = !1, r = !0, i = {+ delta: 0,+ timestamp: 0,+ isProcessing: !1+ }, a = () => n = !0, o = tn.reduce((e, t) => (e[t] = nn(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let a = xt.useManualTiming, o = a ? i.timestamp : performance.now();+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, rn), 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: tn.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 < tn.length; t++) o[tn[t]].cancel(e);+ },+ state: i,+ steps: o+ };+}+//#endregion+//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs+var { schedule: on, cancel: sn, state: cn, steps: ln } = /* @__PURE__ */ an(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Et, !0), un;+function dn() {+ un = void 0;+}+var fn = {+ now: () => (un === void 0 && fn.set(cn.isProcessing || xt.useManualTiming ? cn.timestamp : performance.now()), un),+ set: (e) => {+ un = e, queueMicrotask(dn);}+}, pn = (e) => (t) => typeof t == "string" && t.startsWith(e), mn = /*@__PURE__*/ pn("--"), hn = /*@__PURE__*/ pn("var(--"), gn = (e) => hn(e) ? _n.test(e.split("/*")[0].trim()) : !1, _n = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;+function vn(e) {+ return typeof e == "string" && e.split("/*")[0].includes("var(--");+}+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs+var yn = {+ test: (e) => typeof e == "number",+ parse: parseFloat,+ transform: (e) => e+}, bn = {+ ...yn,+ transform: (e) => bt(0, 1, e)+}, xn = {+ ...yn,+ default: 1+}, Sn = (e) => Math.round(e * 1e5) / 1e5, Cn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs+function wn(e) {+ return e == null;+}+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs+var Tn = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, En = (e, t) => (n) => !!(typeof n == "string" && Tn.test(n) && n.startsWith(e) || t && !wn(n) && Object.prototype.hasOwnProperty.call(n, t)), Dn = (e, t, n) => (r) => {+ if (typeof r != "string") return r;+ let [i, a, o, s] = r.match(Cn);+ return {+ [e]: parseFloat(i),+ [t]: parseFloat(a),+ [n]: parseFloat(o),+ alpha: s === void 0 ? 1 : parseFloat(s)+ };+}, On = (e) => bt(0, 255, e), kn = {+ ...yn,+ transform: (e) => Math.round(On(e))+}, An = {+ test: /*@__PURE__*/ En("rgb", "red"),+ parse: /*@__PURE__*/ Dn("red", "green", "blue"),+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + kn.transform(e) + ", " + kn.transform(t) + ", " + kn.transform(n) + ", " + Sn(bn.transform(r)) + ")"};-(class extends wt {- static {- this.type = "section";- }- filter(e, t, n) {- let r = super.filter(e, t, n);- if (r && r.lastChildKey !== null) {- let t = e.getItem(r.lastChildKey);- if (t && t.type !== "header") return r;+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs+function jn(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),+ green: parseInt(n, 16),+ blue: parseInt(r, 16),+ alpha: i ? parseInt(i, 16) / 255 : 1+ };+}+var Mn = {+ test: /*@__PURE__*/ En("#"),+ parse: jn,+ transform: An.transform+}, Nn = /* @__NO_SIDE_EFFECTS__ */ (e) => ({+ test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,+ parse: parseFloat,+ transform: (t) => `${t}${e}`+}), Pn = /*@__PURE__*/ Nn("deg"), Fn = /*@__PURE__*/ Nn("%"), z = /*@__PURE__*/ Nn("px"), In = /*@__PURE__*/ Nn("vh"), Ln = /*@__PURE__*/ Nn("vw"), Rn = {+ ...Fn,+ parse: (e) => Fn.parse(e) / 100,+ transform: (e) => Fn.transform(e * 100)+}, zn = {+ test: /*@__PURE__*/ En("hsl", "hue"),+ parse: /*@__PURE__*/ Dn("hue", "saturation", "lightness"),+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Fn.transform(Sn(t)) + ", " + Fn.transform(Sn(n)) + ", " + Sn(bn.transform(r)) + ")"+}, Bn = {+ test: (e) => An.test(e) || Mn.test(e) || zn.test(e),+ parse: (e) => An.test(e) ? An.parse(e) : zn.test(e) ? zn.parse(e) : Mn.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? An.transform(e) : zn.transform(e),+ getAnimatableNone: (e) => {+ let t = Bn.parse(e);+ return t.alpha = 0, Bn.transform(t);+ }+}, Vn = /(?:#[\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 Hn(e) {+ return isNaN(e) && typeof e == "string" && (e.match(Cn)?.length || 0) + (e.match(Vn)?.length || 0) > 0;+}+var Un = "number", Wn = "color", Gn = "var", Kn = "var(", qn = "${}", Jn = /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 Yn(e) {+ let t = e.toString(), n = [], r = {+ color: [],+ number: [],+ var: []+ }, i = [], a = 0;+ return {+ values: n,+ split: t.replace(Jn, (e) => (Bn.test(e) ? (r.color.push(a), i.push(Wn), n.push(Bn.parse(e))) : e.startsWith(Kn) ? (r.var.push(a), i.push(Gn), n.push(e)) : (r.number.push(a), i.push(Un), n.push(parseFloat(e))), ++a, qn)).split(qn),+ indexes: r,+ types: i+ };+}+function Xn(e) {+ return Yn(e).values;+}+function Zn({ 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 === Un ? Sn(r[a]) : e === Wn ? Bn.transform(r[a]) : r[a];}- return null;- }-});-var Dt = class {- get size() {- return this.itemCount;- }- getKeys() {- return this.keyMap.keys();+ return i;+ };+}+function Qn(e) {+ return Zn(Yn(e));+}+var $n = (e) => typeof e == "number" ? 0 : Bn.test(e) ? Bn.getAnimatableNone(e) : e, er = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : $n(e);+function tr(e) {+ let t = Yn(e);+ return Zn(t)(t.values.map((e, n) => er(e, t.split[n])));+}+var nr = {+ test: Hn,+ parse: Xn,+ createTransformer: Qn,+ getAnimatableNone: tr+};+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs+function rr(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 ir({ 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 = rr(s, r, e + 1 / 3), a = rr(s, r, e), o = rr(s, r, e - 1 / 3);}- *[Symbol.iterator]() {- let e = this.firstKey == null ? void 0 : this.keyMap.get(this.firstKey);- for (; e;) yield e, e = e.nextKey == null ? void 0 : this.keyMap.get(e.nextKey);+ return {+ red: Math.round(i * 255),+ green: Math.round(a * 255),+ blue: Math.round(o * 255),+ alpha: r+ };+}+//#endregion+//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs+function ar(e, t) {+ return (n) => n > 0 ? t : e;+}+//#endregion+//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs+var or = (e, t, n) => e + (t - e) * n, sr = (e, t, n) => {+ let r = e * e, i = n * (t * t - r) + r;+ return i < 0 ? 0 : Math.sqrt(i);+}, cr = [+ Mn,+ An,+ zn+], lr = (e) => cr.find((t) => t.test(e));+function ur(e) {+ let t = lr(e);+ if (`${e}`, !t) return !1;+ let n = t.parse(e);+ return t === zn && (n = ir(n)), n;+}+var dr = (e, t) => {+ let n = ur(e), r = ur(t);+ if (!n || !r) return ar(e, t);+ let i = { ...n };+ return (e) => (i.red = sr(n.red, r.red, e), i.green = sr(n.green, r.green, e), i.blue = sr(n.blue, r.blue, e), i.alpha = or(n.alpha, r.alpha, e), An.transform(i));+}, fr = /* @__PURE__ */ new Set(["none", "hidden"]);+function pr(e, t) {+ return fr.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 mr(e, t) {+ return (n) => or(e, t, n);+}+function hr(e) {+ return typeof e == "number" ? mr : typeof e == "string" ? gn(e) ? ar : Bn.test(e) ? dr : yr : Array.isArray(e) ? gr : typeof e == "object" ? Bn.test(e) ? dr : _r : ar;+}+function gr(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => hr(e)(e, t[n]));+ return (e) => {+ for (let t = 0; t < r; t++) n[t] = i[t](e);+ return n;+ };+}+function _r(e, t) {+ let n = {+ ...e,+ ...t+ }, r = {};+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = hr(e[i])(e[i], t[i]));+ return (e) => {+ for (let t in r) n[t] = r[t](e);+ return n;+ };+}+function vr(e, t) {+ let n = [], r = {+ color: 0,+ var: 0,+ number: 0+ };+ for (let i = 0; i < t.values.length; i++) {+ let a = t.types[i], o = e.indexes[a][r[a]], s = e.values[o] ?? 0;+ n[i] = s, r[a]++;}- getChildren(e) {- let t = this.keyMap;- return { *[Symbol.iterator]() {- let n = t.get(e), r = n?.firstChildKey == null ? null : t.get(n.firstChildKey);- for (; r;) yield r, r = r.nextKey == null ? void 0 : t.get(r.nextKey);- } };+ return n;+}+var yr = (e, t) => {+ let n = nr.createTransformer(t), r = Yn(e), i = Yn(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 ? fr.has(e) && !i.values.length || fr.has(t) && !r.values.length ? pr(e, t) : Dt(gr(vr(r, i), i.values), n) : (`${e}${t}`, ar(e, t));+};+//#endregion+//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs+function br(e, t, n) {+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? or(e, t, n) : hr(e)(e, t);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs+var xr = (e) => {+ let t = ({ timestamp: t }) => e(t);+ return {+ start: (e = !0) => on.update(t, e),+ stop: () => sn(t),+ now: () => cn.isProcessing ? cn.timestamp : fn.now()+ };+}, Sr = (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)})`;+}, Cr = 2e4;+function wr(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 Tr(e, t = 100, n) {+ let r = n({+ ...e,+ keyframes: [0, t]+ }), i = Math.min(wr(r), Cr);+ return {+ type: "keyframes",+ ease: (e) => r.next(i * e).value / t,+ duration: /* @__PURE__ */ jt(i)+ };+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs+var Er = {+ stiffness: 100,+ damping: 10,+ mass: 1,+ velocity: 0,+ duration: 800,+ bounce: .3,+ visualDuration: .3,+ restSpeed: {+ granular: .01,+ default: 2+ },+ restDelta: {+ granular: .005,+ default: .5+ },+ minDuration: .01,+ maxDuration: 10,+ minDamping: .05,+ maxDamping: 1+};+function Dr(e, t) {+ return e * Math.sqrt(1 - t * t);+}+var Or = 12;+function kr(e, t, n) {+ let r = n;+ for (let n = 1; n < Or; n++) r -= e(r) / t(r);+ return r;+}+var Ar = .001;+function jr({ duration: e = Er.duration, bounce: t = Er.bounce, velocity: n = Er.velocity, mass: r = Er.mass }) {+ let i, a;+ Er.maxDuration;+ let o = 1 - t;+ o = bt(Er.minDamping, Er.maxDamping, o), e = bt(Er.minDuration, Er.maxDuration, /* @__PURE__ */ jt(e)), o < 1 ? (i = (t) => {+ let r = t * o, i = r * e, a = r - n, s = Dr(t, o), c = Math.exp(-i);+ return Ar - 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 = Dr(t ** 2, o);+ return (-i(t) + Ar > 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__ */ At(e), isNaN(c)) return {+ stiffness: Er.stiffness,+ damping: Er.damping,+ duration: e+ };+ {+ let t = c ** 2 * r;+ return {+ stiffness: t,+ damping: o * 2 * Math.sqrt(r * t),+ duration: e+ };}- getKeyBefore(e) {- let t = this.keyMap.get(e);- if (!t) return null;- if (t.prevKey != null) {- for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null;) t = this.keyMap.get(t.lastChildKey);- return t?.key ?? null;+}+var Mr = ["duration", "bounce"], Nr = [+ "stiffness",+ "damping",+ "mass"+];+function Pr(e, t) {+ return t.some((t) => e[t] !== void 0);+}+function Fr(e) {+ let t = {+ velocity: Er.velocity,+ stiffness: Er.stiffness,+ damping: Er.damping,+ mass: Er.mass,+ isResolvedFromDuration: !1,+ ...e+ };+ if (!Pr(e, Nr) && Pr(e, Mr)) {+ if (t.velocity = 0, e.visualDuration) {+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * bt(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);+ t = {+ ...t,+ mass: Er.mass,+ stiffness: i,+ damping: a+ };+ } else {+ let n = jr({+ ...e,+ velocity: 0+ });+ t = {+ ...t,+ ...n,+ mass: Er.mass+ }, t.isResolvedFromDuration = !0;}- return t.parentKey;}- getKeyAfter(e) {- let t = this.keyMap.get(e);- if (!t) return null;- if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;- for (; t;) {- if (t.nextKey != null) return t.nextKey;- if (t.parentKey != null) t = this.keyMap.get(t.parentKey);- else return null;+ return t;+}+function Ir(e = Er.visualDuration, t = Er.bounce) {+ let n = typeof e == "object" ? e : {+ visualDuration: e,+ keyframes: [0, 1],+ bounce: t+ }, { 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 } = Fr({+ ...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 ? Er.restSpeed.granular : Er.restSpeed.default, i ||= v ? Er.restDelta.granular : Er.restDelta.default;+ let y, b, x, S, C, w;+ if (h < 1) x = Dr(_, 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));+ else if (h === 1) {+ y = (e) => o - Math.exp(-_ * e) * (g + (m + _ * g) * e);+ let e = m + _ * g;+ b = (t) => Math.exp(-_ * t) * (_ * e * t - m);+ } else {+ let e = _ * Math.sqrt(h * h - 1);+ y = (t) => {+ let n = Math.exp(-h * _ * t), r = Math.min(e * t, 300);+ return o - n * ((m + h * _ * g) * Math.sinh(r) + e * g * Math.cosh(r)) / e;+ };+ let t = (m + h * _ * g) / e, n = h * _ * t - g * e, r = h * _ * g - t * e;+ b = (t) => {+ let i = Math.exp(-h * _ * t), a = Math.min(e * t, 300);+ return i * (n * Math.sinh(a) + r * Math.cosh(a));+ };+ }+ let T = {+ calculatedDuration: p && d || null,+ velocity: (e) => /* @__PURE__ */ At(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__ */ At(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__ */ At(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(wr(T), Cr), t = Sr((t) => T.next(e * t).value, e, 30);+ return e + "ms " + t;+ },+ toTransition: () => {}+ };+ return T;+}+Ir.applyToOptions = (e) => {+ let t = Tr(e, 100, Ir);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ At(t.duration), e.type = "keyframes", e;+};+//#endregion+//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs+var Lr = 5;+function Rr(e, t, n) {+ let r = Math.max(t - Lr, 0);+ return /* @__PURE__ */ Mt(n - e(r), t - r);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs+function zr({ 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+ }, p = (e) => s !== void 0 && e < s || c !== void 0 && e > c, m = (e) => s === void 0 ? c : c === void 0 || Math.abs(s - e) < Math.abs(c - e) ? s : c, h = n * t, g = d + h, _ = o === void 0 ? g : o(g);+ _ !== g && (h = _ - d);+ let v = (e) => -h * Math.exp(-e / r), y = (e) => _ + v(e), b = (e) => {+ 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 = Ir({+ keyframes: [f.value, m(f.value)],+ velocity: Rr(y, e, f.value),+ damping: i,+ stiffness: a,+ restDelta: l,+ restSpeed: u+ }));+ };+ return C(0), {+ calculatedDuration: null,+ next: (e) => {+ let t = !1;+ return !S && x === void 0 && (t = !0, b(e), C(e)), x !== void 0 && e >= x ? S.next(e - x) : (!t && b(e), f);}- return null;+ };+}+//#endregion+//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs+function Br(e, t, n) {+ let r = [], i = n || xt.mix || br, a = e.length - 1;+ for (let n = 0; n < a; n++) {+ let a = i(e[n], e[n + 1]);+ t && (a = Dt(Array.isArray(t) ? t[n] || Et : t, a)), r.push(a);}- getFirstKey() {- return this.firstKey;+ return r;+}+function Vr(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 = Br(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__ */ Ot(e[r], e[r + 1], n);+ return s[r](i);+ };+ return n ? (t) => l(bt(e[0], e[a - 1], t)) : l;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs+function Hr(e, t) {+ let n = e[e.length - 1];+ for (let r = 1; r <= t; r++) {+ let i = /* @__PURE__ */ Ot(0, t, r);+ e.push(or(n, 1, i));}- getLastKey() {- let e = this.lastKey == null ? null : this.keyMap.get(this.lastKey);- for (; e?.lastChildKey != null;) e = this.keyMap.get(e.lastChildKey);- return e?.key ?? null;- }- getItem(e) {- return this.keyMap.get(e) ?? null;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs+function Ur(e) {+ let t = [0];+ return Hr(t, e.length - 1), t;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs+function Wr(e, t) {+ return e.map((e) => e * t);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs+function Gr(e, t) {+ return e.map(() => t || Yt).splice(0, e.length - 1);+}+function Kr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {+ let i = /* @__PURE__ */ Xt(r) ? r.map(en) : en(r), a = {+ done: !1,+ value: t[0]+ }, o = Vr(Wr(n && n.length === t.length ? n : Ur(t), e), t, { ease: Array.isArray(i) ? i : Gr(t, i) });+ return {+ calculatedDuration: e,+ next: (t) => (a.value = o(t), a.done = t >= e, a)+ };+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs+var qr = (e) => e !== null;+function Jr(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(qr), 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 Yr = {+ decay: zr,+ inertia: zr,+ tween: Kr,+ keyframes: Kr,+ spring: Ir+};+function Xr(e) {+ typeof e.type == "string" && (e.type = Yr[e.type]);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs+var Zr = class {+ constructor() {+ this.updateFinished();}- at() {- throw Error("Not implemented");+ get finished() {+ return this._finished;}- clone() {- let e = this.constructor, t = new e();- return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;+ updateFinished() {+ this._finished = new Promise((e) => {+ this.resolve = e;+ });}- addNode(e) {- if (this.frozen) throw Error("Cannot add a node to a frozen collection");- e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);+ notifyFinished() {+ this.resolve();}- addDescendants(e, t) {- this.addNode(e);- let n = t.getChildren(e.key);- for (let e of n) this.addDescendants(e, t);+ then(e, t) {+ return this.finished.then(e, t);}- removeNode(e) {- if (this.frozen) throw Error("Cannot remove a node to a frozen collection");- let t = this.keyMap.get(e);- t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);+}, Qr = (e) => e / 100, $r = class extends Zr {+ 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 !== fn.now() && this.tick(fn.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;+ Xr(e);+ let { type: t = Kr, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Kr;+ s !== Kr && typeof o[0] != "number" && (this.mixKeyframes = Dt(Qr, br(o[0], o[1])), o = [0, 100]);+ let c = s({+ ...e,+ keyframes: o+ });+ i === "mirror" && (this.mirroredGenerator = s({+ ...e,+ keyframes: [...o].reverse(),+ velocity: -a+ })), c.calculatedDuration === null && (c.calculatedDuration = wr(c));+ let { calculatedDuration: l } = c;+ this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;+ }+ updateTime(e) {+ let t = Math.round(e - this.startTime) * this.playbackSpeed;+ this.currentTime = this.holdTime === null ? t : this.holdTime;+ }+ tick(e, t = !1) {+ let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o, calculatedDuration: s } = this;+ if (this.startTime === null) return n.next(0);+ let { delay: c = 0, keyframes: l, repeat: u, repeatType: d, repeatDelay: f, type: p, onUpdate: m, finalKeyframe: h } = this.options;+ this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ let g = this.currentTime - c * (this.playbackSpeed >= 0 ? 1 : -1), _ = this.playbackSpeed >= 0 ? g < 0 : g > r;+ this.currentTime = Math.max(g, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);+ 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 = bt(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 !== zr && (b.value = Jr(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;}- commit(e, t, n = !1) {- if (this.frozen) throw Error("Cannot commit a frozen collection");- this.firstKey = e, this.lastKey = t, this.frozen = !n;+ then(e, t) {+ return this.finished.then(e, t);}- filter(e) {- let t = new this.constructor(), [n, r] = Ot(this, t, this.firstKey, e);- return t?.commit(n, r), t;+ get duration() {+ return /* @__PURE__ */ jt(this.calculatedDuration);}- constructor() {- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;+ get iterationDuration() {+ let { delay: e = 0 } = this.options || {};+ return this.duration + /* @__PURE__ */ jt(e);}-};-function Ot(e, t, n, r) {- if (n == null) return [null, null];- let i = null, a = null, o = e.getItem(n);- for (; o != null;) {- let n = o.filter(e, t, r);- n != null && (n.nextKey = null, a && (n.prevKey = a.key, a.nextKey = n.key), i ??= n, t.addNode(n), a = n), o = o.nextKey == null ? null : e.getItem(o.nextKey);+ get time() {+ return /* @__PURE__ */ jt(this.currentTime);}- if (a && a.type === "separator") {- let e = a.prevKey;- t.removeNode(a.key), e == null ? a = null : (a = t.getItem(e), a.nextKey = null);+ set time(e) {+ e = /* @__PURE__ */ At(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));}- return [i?.key ?? null, a?.key ?? null];-}-//#endregion-//#region node_modules/react-aria/dist/private/collections/Document.mjs-var kt = class {- constructor(e) {- this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = 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 Rr((e) => this.generator.next(e).value, e, t);}- *[Symbol.iterator]() {- let e = this.firstChild;- for (; e;) yield e, e = e.nextSibling;+ get speed() {+ return this.playbackSpeed;}- get firstChild() {- return this._firstChild;+ set speed(e) {+ let t = this.playbackSpeed !== e;+ t && this.driver && this.updateTime(fn.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ jt(this.currentTime));}- set firstChild(e) {- this._firstChild = e, this.ownerDocument.markDirty(this);+ play() {+ if (this.isStopped) return;+ let { driver: e = xr, 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();}- get lastChild() {- return this._lastChild;+ pause() {+ this.state = "paused", this.updateTime(fn.now()), this.holdTime = this.currentTime;}- set lastChild(e) {- this._lastChild = e, this.ownerDocument.markDirty(this);+ complete() {+ this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;}- get previousSibling() {- return this._previousSibling;+ finish() {+ this.notifyFinished(), this.teardown(), this.state = "finished", this.options.onComplete?.();}- set previousSibling(e) {- this._previousSibling = e, this.ownerDocument.markDirty(this);+ cancel() {+ this.holdTime = null, this.startTime = 0, this.tick(0), this.teardown(), this.options.onCancel?.();}- get nextSibling() {- return this._nextSibling;+ teardown() {+ this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null;}- set nextSibling(e) {- this._nextSibling = e, this.ownerDocument.markDirty(this);+ stopDriver() {+ this.driver &&= (this.driver.stop(), void 0);}- get parentNode() {- return this._parentNode;+ sample(e) {+ return this.startTime = 0, this.tick(e, !0);}- set parentNode(e) {- this._parentNode = e, this.ownerDocument.markDirty(this);+ attachTimeline(e) {+ return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}- get isConnected() {- return this.parentNode?.isConnected || !1;+};+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs+function ei(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 ti = (e) => e * 180 / Math.PI, ni = (e) => ii(ti(Math.atan2(e[1], e[0]))), ri = {+ x: 4,+ y: 5,+ translateX: 4,+ translateY: 5,+ scaleX: 0,+ scaleY: 3,+ scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,+ rotate: ni,+ rotateZ: ni,+ skewX: (e) => ti(Math.atan(e[1])),+ skewY: (e) => ti(Math.atan(e[2])),+ skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2+}, ii = (e) => (e %= 360, e < 0 && (e += 360), e), ai = ni, oi = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), si = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), ci = {+ x: 12,+ y: 13,+ z: 14,+ translateX: 12,+ translateY: 13,+ translateZ: 14,+ scaleX: oi,+ scaleY: si,+ scale: (e) => (oi(e) + si(e)) / 2,+ rotateX: (e) => ii(ti(Math.atan2(e[6], e[5]))),+ rotateY: (e) => ii(ti(Math.atan2(-e[2], e[0]))),+ rotateZ: ai,+ rotate: ai,+ skewX: (e) => ti(Math.atan(e[4])),+ skewY: (e) => ti(Math.atan(e[1])),+ skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2+};+function li(e) {+ return +!!e.includes("scale");+}+function ui(e, t) {+ if (!e || e === "none") return li(t);+ let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;+ if (n) r = ci, i = n;+ else {+ let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);+ r = ri, i = t;}- invalidateChildIndices(e) {- (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));+ if (!i) return li(t);+ let a = r[t], o = i[1].split(",").map(fi);+ return typeof a == "function" ? a(o) : o[a];+}+var di = (e, t) => {+ let { transform: n = "none" } = getComputedStyle(e);+ return ui(n, t);+};+function fi(e) {+ return parseFloat(e.trim());+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs+var pi = [+ "transformPerspective",+ "x",+ "y",+ "z",+ "translateX",+ "translateY",+ "translateZ",+ "scale",+ "scaleX",+ "scaleY",+ "rotate",+ "rotateX",+ "rotateY",+ "rotateZ",+ "skew",+ "skewX",+ "skewY"+], mi = /* @__PURE__ */ new Set([...pi, "pathRotation"]), hi = (e) => e === yn || e === z, gi = /* @__PURE__ */ new Set([+ "x",+ "y",+ "z"+]), _i = pi.filter((e) => !gi.has(e));+function vi(e) {+ let t = [];+ return _i.forEach((n) => {+ let r = e.getValue(n);+ r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));+ }), t;+}+var yi = {+ 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);+ },+ height: ({ y: e }, { paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }) => {+ let i = e.max - e.min;+ return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);+ },+ top: (e, { top: t }) => parseFloat(t),+ 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 }) => ui(t, "x"),+ y: (e, { transform: t }) => ui(t, "y")+};+yi.translateX = yi.x, yi.translateY = yi.y;+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs+var bi = /* @__PURE__ */ new Set(), xi = !1, Si = !1, Ci = !1;+function wi() {+ if (Si) {+ let e = Array.from(bi).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();+ t.forEach((e) => {+ let t = vi(e);+ t.length && (n.set(e, t), e.render());+ }), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {+ e.render();+ let t = n.get(e);+ t && t.forEach(([t, n]) => {+ e.getValue(t)?.set(n);+ });+ }), e.forEach((e) => e.measureEndState()), e.forEach((e) => {+ e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);+ });}- updateChildIndices() {- let e = this._minInvalidChildIndex;- for (; e;) e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;- this._minInvalidChildIndex = null;+ Si = !1, xi = !1, bi.forEach((e) => e.complete(Ci)), bi.clear();+}+function Ti() {+ bi.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (Si = !0);+ });+}+function Ei() {+ Ci = !0, Ti(), wi(), Ci = !1;+}+var Di = 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;}- appendChild(e) {- e.parentNode && e.parentNode.removeChild(e), this.firstChild ??= e, this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();+ scheduleResolve() {+ this.state = "scheduled", this.isAsync ? (bi.add(this), xi || (xi = !0, on.read(Ti), on.resolveKeyframes(wi))) : (this.readKeyframes(), this.complete());}- insertBefore(e, t) {- if (t == null) return this.appendChild(e);- e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();+ readKeyframes() {+ let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;+ if (e[0] === null) {+ let i = r?.get(), a = e[e.length - 1];+ if (i !== void 0) e[0] = i;+ else if (n && t) {+ let r = n.readValue(t, a);+ r != null && (e[0] = r);+ }+ e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);+ }+ ei(e);}- removeChild(e) {- e.parentNode === this && (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());+ setFinalKeyframe() {}+ measureInitialState() {}+ renderEndStyles() {}+ measureEndState() {}+ complete(e = !1) {+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), bi.delete(this);}- addEventListener() {}- removeEventListener() {}- get previousVisibleSibling() {- let e = this.previousSibling;- for (; e && e.isHidden;) e = e.previousSibling;- return e;+ cancel() {+ this.state === "scheduled" && (bi.delete(this), this.state = "pending");}- get nextVisibleSibling() {- let e = this.nextSibling;- for (; e && e.isHidden;) e = e.nextSibling;- return e;+ resume() {+ this.state === "pending" && this.scheduleResolve();}- get firstVisibleChild() {- let e = this.firstChild;- for (; e && e.isHidden;) e = e.nextSibling;- return e;+}, Oi = (e) => e.startsWith("--");+//#endregion+//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs+function ki(e, t, n) {+ Oi(t) ? e.style.setProperty(t, n) : e.style[t] = n;+}+//#endregion+//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs+var Ai = {};+//#endregion+//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs+function ji(e, t) {+ let n = /* @__PURE__ */ Tt(e);+ return () => Ai[t] ?? n();+}+//#endregion+//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs+var Mi = /* @__PURE__ */ ji(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Ni = /*@__PURE__*/ ji(() => {+ try {+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });+ } catch {+ return !1;}- get lastVisibleChild() {- let e = this.lastChild;- for (; e && e.isHidden;) e = e.previousSibling;- return e;+ return !0;+}, "linearEasing"), Pi = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Fi = {+ linear: "linear",+ ease: "ease",+ easeIn: "ease-in",+ easeOut: "ease-out",+ easeInOut: "ease-in-out",+ circIn: /*@__PURE__*/ Pi([+ 0,+ .65,+ .55,+ 1+ ]),+ circOut: /*@__PURE__*/ Pi([+ .55,+ 0,+ 1,+ .45+ ]),+ backIn: /*@__PURE__*/ Pi([+ .31,+ .01,+ .66,+ -.59+ ]),+ backOut: /*@__PURE__*/ Pi([+ .33,+ 1.53,+ .69,+ .99+ ])+};+//#endregion+//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs+function Ii(e, t) {+ if (e) return typeof e == "function" ? Ni() ? Sr(e, t) : "ease-out" : /* @__PURE__ */ Zt(e) ? Pi(e) : Array.isArray(e) ? e.map((e) => Ii(e, t) || Fi.easeOut) : Fi[e];+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs+function Li(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 = Ii(s, i);+ Array.isArray(d) && (u.easing = d);+ let f = {+ delay: r,+ duration: i,+ easing: Array.isArray(d) ? "linear" : d,+ fill: "both",+ iterations: a + 1,+ direction: o === "reverse" ? "alternate" : "normal"+ };+ return l && (f.pseudoElement = l), e.animate(u, f);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs+function Ri(e) {+ return typeof e == "function" && "applyToOptions" in e;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs+function zi({ type: e, ...t }) {+ return Ri(e) && Ni() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs+var Bi = class extends Zr {+ 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 = zi(e);+ this.animation = Li(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ if (this.finishedTime = this.time, !i) {+ let e = Jr(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), ki(t, n, e), this.animation.cancel();+ }+ s?.(), this.notifyFinished();+ };}-}, At = class e extends kt {- constructor(e, t) {- super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;+ play() {+ this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());}- get index() {- return this._index;+ pause() {+ this.animation.pause();}- set index(e) {- this._index = e, this.ownerDocument.markDirty(this);+ complete() {+ this.animation.finish?.();}- get level() {- return this.parentNode instanceof e ? this.parentNode.level + +(this.parentNode.node?.type === "item") : 0;+ cancel() {+ try {+ this.animation.cancel();+ } catch {}}- getMutableNode() {- return this.node == null ? null : (this.isMutated ||= (this.node = this.node.clone(), !0), this.ownerDocument.markDirty(this), this.node);+ stop() {+ if (this.isStopped) return;+ this.isStopped = !0;+ let { state: e } = this;+ e !== "idle" && e !== "finished" && (this.updateMotionValue ? this.updateMotionValue() : this.commitStyles(), this.isPseudoElement || this.cancel());}- updateNode() {- let t = this.nextVisibleSibling, n = this.getMutableNode();- if (n != null && (n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof e ? this.parentNode.node?.key ?? null : null, n.prevKey = this.previousVisibleSibling?.node?.key ?? null, n.nextKey = t?.node?.key ?? null, n.hasChildNodes = !!this.firstChild, n.firstChildKey = this.firstVisibleChild?.node?.key ?? null, n.lastChildKey = this.lastVisibleChild?.node?.key ?? null, (n.colSpan != null || n.colIndex != null) && t)) {- let e = (n.colIndex ?? n.index) + (n.colSpan ?? 1);- if (t.node != null && e !== t.node.colIndex) {- let n = t.getMutableNode();- n.colIndex = e;- }- }+ commitStyles() {+ let e = this.options?.element;+ !this.isPseudoElement && e?.isConnected && this.animation.commitStyles?.();}- setProps(e, t, n, r, i) {- let a, { value: o, textValue: s, id: c, ...l } = e;- if (this.node == null ? (a = new n(c ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = a) : a = this.getMutableNode(), l.ref = t, a.props = l, a.rendered = r, a.render = i, a.value = o, e["aria-label"] && (a["aria-label"] = e["aria-label"]), a.textValue = s || (typeof l.children == "string" ? l.children : "") || e["aria-label"] || "", c != null && c !== a.key) throw Error("Cannot change the id of an item");- l.colSpan != null && (a.colSpan = l.colSpan), this.isConnected && this.ownerDocument.queueUpdate();+ get duration() {+ let e = this.animation.effect?.getComputedTiming?.().duration || 0;+ return /* @__PURE__ */ jt(Number(e));}- get style() {- let e = this;- return {- get display() {- return e.isHidden ? "none" : "";- },- set display(t) {- let n = t === "none";- if (e.isHidden !== n) {- (e.parentNode?.firstVisibleChild === e || e.parentNode?.lastVisibleChild === e) && e.ownerDocument.markDirty(e.parentNode);- let t = e.previousVisibleSibling, r = e.nextVisibleSibling;- t && e.ownerDocument.markDirty(t), r && e.ownerDocument.markDirty(r), e.isHidden = n, e.ownerDocument.markDirty(e);- }- }- };+ get iterationDuration() {+ let { delay: e = 0 } = this.options || {};+ return this.duration + /* @__PURE__ */ jt(e);}- hasAttribute() {}- setAttribute() {}- setAttributeNS() {}- removeAttribute() {}-}, jt = class extends kt {- 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;+ get time() {+ return /* @__PURE__ */ jt(Number(this.animation.currentTime) || 0);}- get isConnected() {- return !0;+ set time(e) {+ let t = this.finishedTime !== null;+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ At(e), t && this.animation.pause();}- createElement(e) {- return new At(e, this);+ get speed() {+ return this.animation.playbackRate;}- getMutableCollection() {- return this.nextCollection ||= this.collection.clone(), this.nextCollection;+ set speed(e) {+ e < 0 && (this.finishedTime = null), this.animation.playbackRate = e;}- markDirty(e) {- this.dirtyNodes.add(e);+ get state() {+ return this.finishedTime === null ? this.animation.playState : "finished";}- addNode(e) {- if (e.isHidden || e.node == null) return;- let t = this.getMutableCollection();- if (!t.getItem(e.node.key)) for (let t of e) this.addNode(t);- t.addNode(e.node);+ get startTime() {+ return this.manualStartTime ?? Number(this.animation.startTime);}- removeNode(e) {- for (let t of e) this.removeNode(t);- e.node && this.getMutableCollection().removeNode(e.node.key);+ set startTime(e) {+ this.manualStartTime = this.animation.startTime = e;}- getCollection() {- return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);+ attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Mi() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Et) : r(this);}- updateCollection() {- for (let e of this.dirtyNodes) e instanceof At && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof At ? (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));+}, Vi = {+ anticipate: Ut,+ backInOut: Ht,+ circInOut: Kt+};+function Hi(e) {+ return e in Vi;+}+function Ui(e) {+ typeof e.ease == "string" && Hi(e.ease) && (e.ease = Vi[e.ease]);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs+var Wi = 10, Gi = class extends Bi {+ constructor(e) {+ Ui(e), Xr(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}- queueUpdate() {- if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {- this.queuedRender = !0, this.inSubscription = !0, this.isSSR || (this.collection = this.collection.clone());- for (let e of this.subscriptions) e();- this.inSubscription = !1;+ updateMotionValue(e) {+ let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;+ if (!t) return;+ if (e !== void 0) {+ t.set(e);+ return;+ }+ let o = new $r({+ ...a,+ autoplay: !1+ }), s = Math.max(Wi, fn.now() - this.startTime), c = bt(0, Wi, s - Wi), 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();+ }+}, Ki = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (nr.test(e) || e === "0") && !e.startsWith("url("));+//#endregion+//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs+function qi(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 Ji(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 = Ki(i, t), s = Ki(a, t);+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : qi(e) || (n === "spring" || Ri(n)) && r;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs+function Yi(e) {+ e.duration = 0, e.type = "keyframes";+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs+var Xi = /* @__PURE__ */ new Set([+ "opacity",+ "clipPath",+ "filter",+ "transform",+ "backgroundColor"+]), Zi = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function Qi(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Zi.test(e[t])) return !0;+ return !1;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs+var $i = /* @__PURE__ */ new Set([+ "color",+ "backgroundColor",+ "outlineColor",+ "fill",+ "stroke",+ "borderColor",+ "borderTopColor",+ "borderRightColor",+ "borderBottomColor",+ "borderLeftColor"+]), ea = /*@__PURE__*/ Tt(() => Object.hasOwnProperty.call(Element.prototype, "animate"));+function ta(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 ea() && n && (Xi.has(n) || $i.has(n) && Qi(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs+var na = 40, ra = class extends Zr {+ 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 = fn.now();+ let d = {+ autoplay: e,+ delay: t,+ type: n,+ repeat: r,+ repeatDelay: i,+ repeatType: a,+ name: s,+ motionValue: c,+ element: l,+ ...u+ }, f = l?.KeyframeResolver || Di;+ 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 = fn.now();+ let u = !0;+ Ji(e, i, a, o) || (u = !1, (xt.instantAnimations || !s) && l?.(Jr(e, n, t)), e[0] = e[e.length - 1], Yi(n), n.repeat = 0);+ let d = {+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > na ? this.resolvedAt : this.createdAt : void 0,+ finalKeyframe: t,+ ...n,+ keyframes: e+ }, f = u && !c && ta(d), p = d.motionValue?.owner?.current, m;+ if (f) try {+ m = new Gi({+ ...d,+ element: p+ });+ } catch {+ m = new $r(d);}+ else m = new $r(d);+ m.finished.then(() => {+ this.notifyFinished();+ }).catch(Et), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}- subscribe(e) {- return this.subscriptions.add(e), this.queuedRender && e(), () => this.subscriptions.delete(e);+ get finished() {+ return this._animation ? this.animation.finished : this._finished;}- resetAfterSSR() {- this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);+ then(e, t) {+ return this.finished.finally(e).then(() => {});+ }+ get animation() {+ return this._animation || (this.keyframeResolver?.resume(), Ei()), this._animation;+ }+ get duration() {+ return this.animation.duration;+ }+ get iterationDuration() {+ return this.animation.iterationDuration;+ }+ get time() {+ return this.animation.time;+ }+ set time(e) {+ this.animation.time = e;+ }+ get speed() {+ return this.animation.speed;+ }+ get state() {+ return this.animation.state;+ }+ set speed(e) {+ this.animation.speed = e;+ }+ get startTime() {+ return this.animation.startTime;+ }+ attachTimeline(e) {+ return this._animation ? this.stopTimeline = this.animation.attachTimeline(e) : this.pendingTimeline = e, () => this.stop();+ }+ play() {+ this.animation.play();+ }+ pause() {+ this.animation.pause();+ }+ complete() {+ this.animation.complete();+ }+ cancel() {+ this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();}};//#endregion-//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function Mt(e) {- let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, E.useMemo)(() => void 0, [t]), s = (0, E.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);- return (0, E.useMemo)(() => {- if (n && typeof t == "function") {- let e = [];- for (let a of n) {- let n = Nt(a) ? a : null, o = n ? s.get(n) : null;- if (!o) {- o = t(a);- let c = o.props.id ?? a?.key ?? a?.id;- r != null && o.props.id == null && c != null && (c = r + ":" + c);- let l = c ?? e.length;- o = (0, E.cloneElement)(o, i ? {- key: l,- id: c,- value: a- } : { key: l }), n && s.set(n, o);- }- e.push(o);- }- return e;- }- if (typeof t != "function") return t;- }, [- t,- n,- s,- r,- i- ]);+//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs+function ia(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;}-function Nt(e) {- switch (typeof e) {- case "object": return e != null;- case "function":- case "symbol": return !0;- default: return !1;+//#endregion+//#region node_modules/motion-dom/dist/es/value/index.mjs+var aa = 30, oa = (e) => !isNaN(parseFloat(e)), sa = { current: void 0 }, ca = class {+ constructor(e, t = {}) {+ this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {+ let t = fn.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 = fn.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = oa(this.current));+ }+ setPrevFrameValue(e = this.current) {+ this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;+ }+ onChange(e) {+ return this.on("change", e);+ }+ on(e, t) {+ this.events[e] || (this.events[e] = new kt());+ let n = this.events[e].add(t);+ return e === "change" ? () => {+ n(), on.read(() => {+ this.events.change.getSize() || this.stop();+ });+ } : n;+ }+ clearListeners() {+ for (let e in this.events) this.events[e].clear();+ }+ attach(e, t) {+ this.passiveEffect = e, this.stopPassiveEffect = t;+ }+ set(e) {+ this.passiveEffect ? this.passiveEffect(e, this.updateAndNotify) : this.updateAndNotify(e);+ }+ setWithVelocity(e, t, n) {+ this.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;+ }+ jump(e, t = !0) {+ this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, t && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();+ }+ dirty() {+ this.events.change?.notify(this.current);+ }+ addDependent(e) {+ this.dependents ||= /* @__PURE__ */ new Set(), this.dependents.add(e);+ }+ removeDependent(e) {+ this.dependents && this.dependents.delete(e);}+ get() {+ return sa.current && sa.current.push(this), this.current;+ }+ getPrevious() {+ return this.prev;+ }+ getVelocity() {+ let e = fn.now();+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > aa) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, aa);+ return /* @__PURE__ */ Mt(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);+ }+ start(e) {+ return this.stop(), new Promise((t) => {+ this.hasAnimated = !0, this.animation = e(t), this.events.animationStart && this.events.animationStart.notify();+ }).then(() => {+ this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation();+ });+ }+ stop() {+ this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();+ }+ isAnimating() {+ return !!this.animation;+ }+ clearAnimation() {+ delete this.animation;+ }+ destroy() {+ this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();+ }+};+function la(e, t) {+ return new ca(e, t);}//#endregion-//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Pt(e) {- if (It()) e.focus({ preventScroll: !0 });- else {- let t = Lt(e);- e.focus(), Rt(t);+//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs+function ua(e, t) {+ if (e?.inherit && t) {+ let { inherit: n, ...r } = e;+ return {+ ...t,+ ...r+ };}+ return e;}-var Ft = null;-function It() {- if (Ft == null) {- Ft = !1;- try {- document.createElement("div").focus({ get preventScroll() {- return Ft = !0, !0;- } });- } catch {}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs+function da(e, t) {+ let n = e?.[t] ?? e?.default ?? e;+ return n === e ? n : ua(n, e);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs+var fa = {+ type: "spring",+ stiffness: 500,+ damping: 25,+ restSpeed: 10+}, pa = (e) => ({+ type: "spring",+ stiffness: 550,+ damping: e === 0 ? 2 * Math.sqrt(550) : 30,+ restSpeed: 10+}), ma = {+ type: "keyframes",+ duration: .8+}, ha = {+ type: "keyframes",+ ease: [+ .25,+ .1,+ .35,+ 1+ ],+ duration: .3+}, ga = (e, { keyframes: t }) => t.length > 2 ? ma : mi.has(e) ? e.startsWith("scale") ? pa(t[1]) : fa : ha, _a = /* @__PURE__ */ new Set([+ "when",+ "delay",+ "delayChildren",+ "staggerChildren",+ "staggerDirection",+ "repeat",+ "repeatType",+ "repeatDelay",+ "from",+ "elapsed"+]);+function va(e) {+ for (let t in e) if (!_a.has(t)) return !0;+ return !1;+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs+var ya = (e, t, n, r = {}, i, a) => (o) => {+ let s = da(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+ l -= /* @__PURE__ */ At(c);+ let u = {+ keyframes: Array.isArray(n) ? n : [null, n],+ ease: "easeOut",+ velocity: t.getVelocity(),+ ...s,+ delay: -l,+ onUpdate: (e) => {+ t.set(e), s.onUpdate && s.onUpdate(e);+ },+ onComplete: () => {+ o(), s.onComplete && s.onComplete();+ },+ name: e,+ motionValue: t,+ element: a ? void 0 : i+ };+ va(s) || Object.assign(u, ga(e, u)), u.duration &&= /* @__PURE__ */ At(u.duration), u.repeatDelay &&= /* @__PURE__ */ At(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ let d = !1;+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Yi(u), u.delay === 0 && (d = !0)), (xt.instantAnimations || xt.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Yi(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = Jr(u.keyframes, s);+ if (e !== void 0) {+ on.update(() => {+ u.onUpdate(e), u.onComplete();+ });+ return;+ }+ }+ return s.isSync ? new $r(u) : new ra(u);+}, ba = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function xa(e) {+ let t = ba.exec(e);+ if (!t) return [,];+ let [, n, r, i] = t;+ return [`--${n ?? r}`, i];+}+function Sa(e, t, n = 1) {+ `${e}`;+ let [r, i] = xa(e);+ if (!r) return;+ let a = window.getComputedStyle(t).getPropertyValue(r);+ if (a) {+ let e = a.trim();+ return St(e) ? parseFloat(e) : e;}- return Ft;+ return gn(i) ? Sa(i, t, n + 1) : i;}-function Lt(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,- scrollTop: t.scrollTop,- scrollLeft: t.scrollLeft- }), t = t.parentNode;- return r instanceof HTMLElement && n.push({- element: r,- scrollTop: r.scrollTop,- scrollLeft: r.scrollLeft- }), n;+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs+function Ca(e) {+ let t = [{}, {}];+ return e?.values.forEach((e, n) => {+ t[0][n] = e.get(), t[1][n] = e.getVelocity();+ }), t;}-function Rt(e) {- for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;+function wa(e, t, n, r) {+ if (typeof t == "function") {+ let [i, a] = Ca(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] = Ca(r);+ t = t(n === void 0 ? e.custom : n, i, a);+ }+ return t;}//#endregion-//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var L = (e) => Vt(e) ? e.document : Ht(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), zt = (e) => L(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Bt(e) {- return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";-}-function Vt(e) {- return typeof e == "object" && !!e && "window" in e && e.window === e;+//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs+function Ta(e, t, n) {+ let r = e.getProps();+ return wa(r, t, n === void 0 ? r.custom : n, e);}-function Ht(e) {- return Bt(e) && e.nodeType === 9;+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs+var Ea = /* @__PURE__ */ new Set([+ "width",+ "height",+ "top",+ "left",+ "right",+ "bottom",+ ...pi+]), Da = (e) => Array.isArray(e);+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs+function Oa(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, la(n));}-function Ut(e) {- return Bt(e) && e.nodeType === 11 && "host" in e;+function ka(e) {+ return Da(e) ? e[e.length - 1] || 0 : e;}-function Wt(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);- return () => {- for (let e of i) e.removeEventListener(t, n, r);+function Aa(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = Ta(e, t) || {};+ i = {+ ...i,+ ...n};+ for (let t in i) Oa(e, t, ka(i[t]));}-function Gt(e, t, n, r) {- if (e == null) return () => {};- let i = [], a = Array.isArray(e) ? e : [e];- for (let e of a) {- let a = e.style.getPropertyValue(t), o = e.style.getPropertyPriority(t);- e.style.setProperty(t, n, r), i.unshift(() => {- a ? e.style.setProperty(t, a, o) : e.style.removeProperty(t);- });+//#endregion+//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs+var ja = (e) => !!(e && e.getVelocity);+//#endregion+//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs+function Ma(e) {+ return !!(ja(e) && e.add);+}+//#endregion+//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs+function Na(e, t) {+ let n = e.getValue("willChange");+ if (Ma(n)) return n.add(t);+ if (!n && xt.WillChange) {+ let n = new xt.WillChange("auto");+ e.addValue("willChange", n), n.add(t);}- return () => {- for (let e of i) e();- };}//#endregion-//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Kt = !1;-function qt() {- return Kt;+//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs+function Pa(e) {+ return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}+var Fa = "data-" + Pa("framerAppearId");//#endregion-//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function R(e, t) {- if (!qt()) 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 : Ut(n) ? n.host : n.parentNode;+//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs+function Ia(e) {+ return e.props[Fa];+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs+function La({ protectedKeys: e, needsAnimating: t }, n) {+ let r = e.hasOwnProperty(n) && t[n] !== !0;+ return t[n] = !1, r;+}+function Ra(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+ let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();+ a = a ? ua(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 && La(f, t)) continue;+ let o = {+ delay: n,+ ...da(a || {}, t)+ };+ u && (o.skipAnimations = !0);+ let c = r.get();+ if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {+ on.update(() => r.set(i));+ continue;+ }+ let p = !1;+ if (window.MotionHandoffAnimation) {+ let n = Ia(e);+ if (n) {+ let e = window.MotionHandoffAnimation(n, t, on);+ e !== null && (o.startTime = e, p = !0);+ }+ }+ Na(e, t);+ let m = l ?? e.shouldReduceMotion;+ r.start(ya(t, r, i, m && Ea.has(t) ? { type: !1 } : o, e, p));+ let h = r.animation;+ h && d.push(h);}- return !1;-}-var Jt = (e = document) => {- if (!qt()) return e.activeElement;- let t = e.activeElement;- for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;- return t;-};-function z(e) {- if (qt() && 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;+ if (o) {+ let t = () => on.update(() => {+ o && Aa(e, o);+ });+ d.length ? Promise.all(d).then(t) : t();}- return e.target;-}-function Yt(e, t) {- if (t === null) return [];- t ??= zt(e);- let n = [t];- if (!qt() || !e || e === t) return n;- let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Ut(i) && i !== r;) n.push(i), i = i.host.getRootNode();- return n;-}-function Xt(e) {- if (!e) return !1;- let t = e.getRootNode(), n = zt(e);- if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;- let r = t.activeElement;- return r != null && e.contains(r);+ return d;}//#endregion-//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var Zt = typeof Element < "u" && "checkVisibility" in Element.prototype;-function Qt(e) {- let t = zt(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 } = zt(e), { display: n, visibility: r } = t(e);- i = n !== "none" && r !== "hidden" && r !== "collapse";+//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs+function za(e, t, n = {}) {+ let r = Ta(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(Ra(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {+ let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;+ return Ba(e, t, r, a, o, s, n);+ } : () => Promise.resolve(), { when: s } = i;+ if (s) {+ let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];+ return e().then(() => t());}- return i;-}-function $t(e, t) {- return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);+ return Promise.all([a(), o(n.delay)]);}-function en(e, t) {- return Zt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Qt(e) && $t(e, t) && (!e.parentElement || en(e.parentElement, e));+function Ba(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(za(c, t, {+ ...o,+ delay: n + (typeof r == "function" ? 0 : r) + ia(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 Va(e, t, n = {}) {+ e.notify("AnimationStart", t);+ let r;+ if (Array.isArray(t)) {+ let i = t.map((t) => za(e, t, n));+ r = Promise.all(i);+ } else if (typeof t == "string") r = za(e, t, n);+ else {+ let i = typeof t == "function" ? Ta(e, t, n.custom) : t;+ r = Promise.all(Ra(e, i, n));+ }+ return r.then(() => {+ e.notify("AnimationComplete", t);+ });}//#endregion-//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var tn = [- "input:not([disabled]):not([type=hidden])",- "select:not([disabled])",- "textarea:not([disabled])",- "button:not([disabled])",- "a[href]",- "area[href]",- "summary",- "iframe",- "object",- "embed",- "audio[controls]",- "video[controls]",- "[contenteditable]:not([contenteditable^=\"false\"])",- "permission"-], nn = tn.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-tn.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var rn = tn.join(":not([hidden]):not([tabindex=\"-1\"]),");-function an(e, t) {- return e.matches(nn) && !sn(e) && (t?.skipVisibilityCheck || en(e));+//#region node_modules/motion-dom/dist/es/value/types/auto.mjs+var Ha = {+ test: (e) => e === "auto",+ parse: (e) => e+}, Ua = (e) => (t) => t.test(e), Wa = [+ yn,+ z,+ Fn,+ Pn,+ Ln,+ In,+ Ha+], Ga = (e) => Wa.find(Ua(e));+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs+function Ka(e) {+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || wt(e);}-function on(e) {- return e.matches(rn) && en(e) && !sn(e);+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs+var qa = /* @__PURE__ */ new Set([+ "brightness",+ "contrast",+ "saturate",+ "opacity"+]);+function Ja(e) {+ let [t, n] = e.slice(0, -1).split("(");+ if (t === "drop-shadow") return e;+ let [r] = n.match(Cn) || [];+ if (!r) return e;+ let i = n.replace(r, ""), a = +!!qa.has(t);+ return r !== n && (a *= 100), t + "(" + a + i + ")";+}+var Ya = /\b([a-z-]*)\(.*?\)/gu, Xa = {+ ...nr,+ getAnimatableNone: (e) => {+ let t = e.match(Ya);+ return t ? t.map(Ja).join(" ") : e;+ }+}, Za = {+ ...nr,+ getAnimatableNone: (e) => {+ let t = nr.parse(e);+ return nr.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ ...e,+ alpha: 1+ } : e));+ }+}, Qa = {+ ...yn,+ transform: Math.round+}, $a = {+ borderWidth: z,+ borderTopWidth: z,+ borderRightWidth: z,+ borderBottomWidth: z,+ borderLeftWidth: z,+ borderRadius: z,+ borderTopLeftRadius: z,+ borderTopRightRadius: z,+ borderBottomRightRadius: z,+ borderBottomLeftRadius: z,+ width: z,+ maxWidth: z,+ height: z,+ maxHeight: z,+ top: z,+ right: z,+ bottom: z,+ left: z,+ inset: z,+ insetBlock: z,+ insetBlockStart: z,+ insetBlockEnd: z,+ insetInline: z,+ insetInlineStart: z,+ insetInlineEnd: z,+ padding: z,+ paddingTop: z,+ paddingRight: z,+ paddingBottom: z,+ paddingLeft: z,+ paddingBlock: z,+ paddingBlockStart: z,+ paddingBlockEnd: z,+ paddingInline: z,+ paddingInlineStart: z,+ paddingInlineEnd: z,+ margin: z,+ marginTop: z,+ marginRight: z,+ marginBottom: z,+ marginLeft: z,+ marginBlock: z,+ marginBlockStart: z,+ marginBlockEnd: z,+ marginInline: z,+ marginInlineStart: z,+ marginInlineEnd: z,+ fontSize: z,+ backgroundPositionX: z,+ backgroundPositionY: z,+ rotate: Pn,+ pathRotation: Pn,+ rotateX: Pn,+ rotateY: Pn,+ rotateZ: Pn,+ scale: xn,+ scaleX: xn,+ scaleY: xn,+ scaleZ: xn,+ skew: Pn,+ skewX: Pn,+ skewY: Pn,+ distance: z,+ translateX: z,+ translateY: z,+ translateZ: z,+ x: z,+ y: z,+ z,+ perspective: z,+ transformPerspective: z,+ opacity: bn,+ originX: Rn,+ originY: Rn,+ originZ: z,+ zIndex: Qa,+ fillOpacity: bn,+ strokeOpacity: bn,+ numOctaves: Qa+}, eo = {+ ...$a,+ color: Bn,+ backgroundColor: Bn,+ outlineColor: Bn,+ fill: Bn,+ stroke: Bn,+ borderColor: Bn,+ borderTopColor: Bn,+ borderRightColor: Bn,+ borderBottomColor: Bn,+ borderLeftColor: Bn,+ filter: Xa,+ WebkitFilter: Xa,+ mask: Za,+ WebkitMask: Za+}, to = (e) => eo[e], no = /*@__PURE__*/ new Set([Xa, Za]);+function ro(e, t) {+ let n = to(e);+ return no.has(n) || (n = nr), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}-function sn(e) {- let t = e;- for (; t != null;) {- if (t instanceof zt(t).HTMLElement && t.inert) return !0;- t = t.parentElement;+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs+var io = /* @__PURE__ */ new Set([+ "auto",+ "none",+ "0"+]);+function ao(e, t, n) {+ let r = 0, i;+ for (; r < e.length && !i;) {+ let t = e[r];+ typeof t == "string" && !io.has(t) && Yn(t).values.length && (i = e[r]), r++;+ }+ if (i && n) for (let r of t) e[r] = ro(n, i);+}+//#endregion+//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs+var oo = class extends Di {+ constructor(e, t, n, r, i) {+ super(e, t, n, r, i, !0);+ }+ readKeyframes() {+ let { unresolvedKeyframes: e, element: t, name: n } = this;+ if (!t || !t.current) return;+ super.readKeyframes();+ for (let n = 0; n < e.length; n++) {+ let r = e[n];+ if (typeof r == "string" && (r = r.trim(), gn(r))) {+ let i = Sa(r, t.current);+ i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);+ }+ }+ if (this.resolveNoneKeyframes(), !Ea.has(n) || e.length !== 2) return;+ let [r, i] = e, a = Ga(r), o = Ga(i);+ if (vn(r) !== vn(i) && yi[n]) {+ this.needsMeasurement = !0;+ return;+ }+ if (a !== o) {+ if (hi(a) && hi(o)) for (let t = 0; t < e.length; t++) {+ let n = e[t];+ typeof n == "string" && (e[t] = parseFloat(n));+ }+ else yi[n] && (this.needsMeasurement = !0);+ }+ }+ resolveNoneKeyframes() {+ let { unresolvedKeyframes: e, name: t } = this, n = [];+ for (let t = 0; t < e.length; t++) (e[t] === null || Ka(e[t])) && n.push(t);+ n.length && ao(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 = yi[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);+ }+ measureEndState() {+ let { element: e, name: t, unresolvedKeyframes: n } = this;+ if (!e || !e.current) return;+ let r = e.getValue(t);+ r && r.jump(this.measuredOrigin, !1);+ let i = n.length - 1, a = n[i];+ n[i] = yi[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();+ }+}, so = [+ "borderTopLeftRadius",+ "borderTopRightRadius",+ "borderBottomRightRadius",+ "borderBottomLeftRadius"+];+//#endregion+//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs+function co(e, t, n) {+ if (e == null) return [];+ if (e instanceof EventTarget) return [e];+ if (typeof e == "string") {+ let r = document;+ t && (r = t.current);+ let i = n?.[e] ?? r.querySelectorAll(e);+ return i ? Array.from(i) : [];}- return !1;+ return Array.from(e).filter((e) => e != null);}//#endregion-//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var cn = typeof document < "u" ? E.useLayoutEffect : () => {};+//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs+var lo = (e, t) => t && typeof e == "number" ? t.transform(e) : e;//#endregion-//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function ln(e) {- let t = e;- return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;+//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs+function uo(e) {+ return Ct(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}-function un(e, t) {- Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });+//#endregion+//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs+var { schedule: fo, cancel: po } = /* @__PURE__ */ an(queueMicrotask, !1), mo = {+ x: !1,+ y: !1+};+function ho() {+ return mo.x || mo.y;}-function dn(e) {- let t = (0, E.useRef)({- isFocused: !1,- observer: null+//#endregion+//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs+function go(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;});- return cn(() => {- let e = t.current;- return () => {- e.observer &&= (e.observer.disconnect(), null);- };- }, []), (0, E.useCallback)((n) => {- let r = z(n);- if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {- t.current.isFocused = !0;- let n = r;- n.addEventListener("focusout", (r) => {- if (t.current.isFocused = !1, n.disabled) {- let t = ln(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 === Jt() ? null : Jt();- n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {- bubbles: !0,- relatedTarget: e- }));+}+//#endregion+//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs+function _o(e, t) {+ let n = co(e), r = new AbortController();+ return [+ n,+ {+ passive: !0,+ ...t,+ signal: r.signal+ },+ () => r.abort()+ ];+}+//#endregion+//#region node_modules/motion-dom/dist/es/gestures/hover.mjs+function vo(e) {+ return !(e.pointerType === "touch" || ho());+}+function yo(e, t, n = {}) {+ let [r, i, a] = _o(e, n);+ return r.forEach((e) => {+ let n = !1, r = !1, a, o = () => {+ e.removeEventListener("pointerleave", u);+ }, s = (e) => {+ a &&= (a(e), void 0), o();+ }, c = (e) => {+ n = !1, window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c), r && (r = !1, s(e));+ }, l = () => {+ n = !0, window.addEventListener("pointerup", c, i), window.addEventListener("pointercancel", c, i);+ }, u = (e) => {+ if (e.pointerType !== "touch") {+ if (n) {+ r = !0;+ return;}- }), t.current.observer.observe(n, {- attributes: !0,- attributeFilter: ["disabled"]- });- }- }, [e]);+ s(e);+ }+ };+ e.addEventListener("pointerenter", (n) => {+ if (!vo(n)) return;+ r = !1;+ let o = t(e, n);+ typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));+ }, i), e.addEventListener("pointerdown", l, i);+ }), a;+}+//#endregion+//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs+var bo = (e, t) => t ? e === t || bo(e, t.parentElement) : !1, xo = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, So = /* @__PURE__ */ new Set([+ "BUTTON",+ "INPUT",+ "SELECT",+ "TEXTAREA",+ "A"+]);+function Co(e) {+ return So.has(e.tagName) || e.isContentEditable === !0;}-var fn = !1;-function pn(e) {- for (; e && !an(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = Jt(zt(e).document);- if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Ut(n) ? n : zt(e), i = (t) => t === e || t != null && R(e, t), a = (e) => e === t || t != null && e != null && R(t, e);- fn = !0;- let o = !1, s = (e) => {- (a(z(e)) || o) && e.stopImmediatePropagation();- }, c = (n) => {- (a(z(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Pt(t), d()));- }, l = (e) => {- (i(z(e)) || o) && e.stopImmediatePropagation();- }, u = (e) => {- (i(z(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Pt(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), fn = !1, o = !1;- }, f = requestAnimationFrame(d);- return d;+var wo = /* @__PURE__ */ new Set([+ "INPUT",+ "SELECT",+ "TEXTAREA"+]);+function To(e) {+ return wo.has(e.tagName) || e.isContentEditable === !0;}//#endregion-//#region node_modules/react-aria/dist/private/utils/platform.mjs-function mn(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);+//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs+var Eo = /* @__PURE__ */ new WeakSet();+//#endregion+//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs+function Do(e) {+ return (t) => {+ t.key === "Enter" && e(t);+ };}-function hn(e) {- return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);+function Oo(e, t) {+ e.dispatchEvent(new PointerEvent("pointer" + t, {+ isPrimary: !0,+ bubbles: !0+ }));}-function gn(e) {- let t = null;- return () => (t ??= e(), t);+var ko = (e, t) => {+ let n = e.currentTarget;+ if (!n) return;+ let r = Do(() => {+ if (Eo.has(n)) return;+ Oo(n, "down");+ let e = Do(() => {+ Oo(n, "up");+ });+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Oo(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 Ao(e) {+ return xo(e) && !ho();+}+var jo = /* @__PURE__ */ new WeakSet();+function Mo(e, t, n = {}) {+ let [r, i, a] = _o(e, n), o = (e) => {+ let r = e.currentTarget;+ if (!Ao(e) || jo.has(e)) return;+ Eo.add(r), n.stopPropagation && jo.add(e);+ let a = t(r, e), o = {+ ...i,+ capture: !0+ }, s = (e, t) => {+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Eo.has(r) && Eo.delete(r), Ao(e) && typeof a == "function" && a(e, { success: t });+ }, c = (e) => {+ s(e, r === window || r === document || n.useGlobalTarget || bo(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), uo(e) && (e.addEventListener("focus", (e) => ko(e, i)), !Co(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ }), a;}-var _n = gn(function() {- return hn(/^Mac/i);-}), vn = gn(function() {- return hn(/^iPhone/i);-}), yn = gn(function() {- return hn(/^iPad/i) || _n() && navigator.maxTouchPoints > 1;-}), bn = gn(function() {- return vn() || yn();-}), xn = gn(function() {- return _n() || bn();-}), Sn = gn(function() {- return mn(/AppleWebKit/i) && (bn() || !Cn());-}), Cn = gn(function() {- return mn(/Chrome|CriOS|CrMo/i);-}), wn = gn(function() {- return mn(/Android/i);-}), Tn = gn(function() {- return mn(/(Firefox|FxiOS)/i);-});//#endregion-//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function En(e) {- return e.pointerType === "" && e.isTrusted ? !0 : wn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs+function No(e) {+ return Ct(e) && "ownerSVGElement" in e;+}+//#endregion+//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs+var Po = /* @__PURE__ */ new WeakMap(), Fo, Io = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : No(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Lo = /*@__PURE__*/ Io("inline", "width", "offsetWidth"), Ro = /*@__PURE__*/ Io("block", "height", "offsetHeight");+function zo({ target: e, borderBoxSize: t }) {+ Po.get(e)?.forEach((n) => {+ n(e, {+ get width() {+ return Lo(e, t);+ },+ get height() {+ return Ro(e, t);+ }+ });+ });}-function Dn(e) {- return !wn() && e.width === 0 && e.height === 0 || wn() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Bo(e) {+ e.forEach(zo);+}+function Vo() {+ typeof ResizeObserver > "u" || (Fo = new ResizeObserver(Bo));+}+function Ho(e, t) {+ Fo || Vo();+ let n = co(e);+ return n.forEach((e) => {+ let n = Po.get(e);+ n || (n = /* @__PURE__ */ new Set(), Po.set(e, n)), n.add(t), Fo?.observe(e);+ }), () => {+ n.forEach((e) => {+ let n = Po.get(e);+ n?.delete(t), n?.size || Fo?.unobserve(e);+ });+ };}//#endregion-//#region node_modules/react-aria/dist/private/utils/openLink.mjs-var On = /*#__PURE__*/ (0, E.createContext)({- isNative: !0,- open: Mn,- useHref: (e) => e-});-function kn() {- return (0, E.useContext)(On);+//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs+var Uo = /* @__PURE__ */ new Set(), Wo;+function Go() {+ Wo = () => {+ let e = {+ get width() {+ return window.innerWidth;+ },+ get height() {+ return window.innerHeight;+ }+ };+ Uo.forEach((t) => t(e));+ }, window.addEventListener("resize", Wo);}-function An(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;- !Sn() && Tn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (_n() ? r = !0 : i = !0);- let s = Sn() && _n() && !yn() ? new KeyboardEvent("keydown", {- keyIdentifier: "Enter",- metaKey: r,- ctrlKey: i,- altKey: a,- shiftKey: o- }) : new MouseEvent("click", {- metaKey: r,- ctrlKey: i,- altKey: a,- shiftKey: o,- detail: 1,- bubbles: !0,- cancelable: !0- });- An.isOpening = n, Pt(e), e.dispatchEvent(s), An.isOpening = !1;+function Ko(e) {+ return Uo.add(e), Wo || Go(), () => {+ Uo.delete(e), !Uo.size && typeof Wo == "function" && (window.removeEventListener("resize", Wo), Wo = void 0);+ };}-An.isOpening = !1;-function jn(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);- }+//#endregion+//#region node_modules/motion-dom/dist/es/resize/index.mjs+function qo(e, t) {+ return typeof e == "function" ? Ko(e) : Ho(e, t);}-function Mn(e, t) {- jn(e, (e) => An(e, t));+//#endregion+//#region node_modules/motion-dom/dist/es/stats/buffer.mjs+var Jo = {+ value: null,+ addProjectionMetrics: null+};+//#endregion+//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs+function Yo(e) {+ return No(e) && e.tagName === "svg";}-function Nn(e) {- let t = kn().useHref(e.href ?? "");- return {- "data-href": e.href ? t : void 0,- "data-target": e.target,- "data-rel": e.rel,- "data-download": e.download,- "data-ping": e.ping,- "data-referrer-policy": e.referrerPolicy+//#endregion+//#region node_modules/motion-dom/dist/es/utils/transform.mjs+function Xo(...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 = Vr(i, a, o);+ return t ? s(r) : s;+}+//#endregion+//#region node_modules/motion-dom/dist/es/value/follow-value.mjs+function Zo(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 = $o(e.get()), r = $o(a);+ if (t === r) {+ c();+ return;+ }+ let s = i ? i.getGeneratorVelocity() : e.getVelocity();+ c(), i = new $r({+ keyframes: [t, r],+ velocity: s,+ type: "spring",+ restDelta: .001,+ restSpeed: .01,+ ...n,+ onUpdate: o+ });+ }, u = () => {+ l(), e.animation = i ?? void 0, e.events.animationStart?.notify(), i?.then(() => {+ e.animation = void 0, e.events.animationComplete?.notify();+ });};+ if (e.attach((e, t) => {+ a = e, o = (e) => t(Qo(e, s)), on.postRender(u);+ }, c), ja(t)) {+ let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {+ r ? (r = !1, e.jump(Qo(t, s), !1)) : e.set(Qo(t, s));+ }), a = e.on("destroy", i);+ return () => {+ i(), a();+ };+ }+ return c;}-function Pn(e) {- let t = kn().useHref(e?.href ?? ""), n = {};- if (e) for (let r of [- "href",- "target",- "rel",- "download",- "ping",- "referrerPolicy"- ]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);- return n;+function Qo(e, t) {+ return t ? e + t : e;+}+function $o(e) {+ return typeof e == "number" ? e : parseFloat(e);+}+//#endregion+//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs+var es = [+ ...Wa,+ Bn,+ nr+], ts = (e) => es.find(Ua(e)), ns = () => ({+ translate: 0,+ scale: 1,+ origin: 0,+ originPoint: 0+}), rs = () => ({+ x: ns(),+ y: ns()+}), is = () => ({+ min: 0,+ max: 0+}), as = () => ({+ x: is(),+ y: is()+}), os = /* @__PURE__ */ new WeakMap();+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs+function ss(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 cs(e) {+ return typeof e == "string" || Array.isArray(e);+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs+var ls = [+ "animate",+ "whileInView",+ "whileFocus",+ "whileHover",+ "whileTap",+ "whileDrag",+ "exit"+], us = ["initial", ...ls];+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs+function ds(e) {+ return ss(e.animate) || us.some((t) => cs(e[t]));+}+function fs(e) {+ return !!(ds(e) || e.variants);+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs+function ps(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, la(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, la(t === void 0 ? i : t, { owner: e }));+ }+ }+ }+ for (let r in n) t[r] === void 0 && e.removeValue(r);+ return t;}//#endregion-//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Fn = {- prefix: String(Math.round(Math.random() * 1e10)),- current: 0-}, In = /*#__PURE__*/ E.createContext(Fn), Ln = /*#__PURE__*/ E.createContext(!1);-typeof window < "u" && window.document && window.document.createElement;-var Rn = /* @__PURE__ */ new WeakMap();-function zn(e = !1) {- let t = (0, E.useContext)(In), n = (0, E.useRef)(null);- if (n.current === null && !e) {- let e = E.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;- if (e) {- let n = Rn.get(e);- n == null ? Rn.set(e, {- id: t.current,- state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Rn.delete(e));+//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs+var ms = { current: null }, hs = { current: !1 }, gs = typeof window < "u";+function _s() {+ if (hs.current = !0, gs) {+ if (window.matchMedia) {+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => ms.current = e.matches;+ e.addEventListener("change", t), t();+ } else ms.current = !1;+ }+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs+var vs = [+ "AnimationStart",+ "AnimationComplete",+ "Update",+ "BeforeLayoutMeasure",+ "LayoutMeasure",+ "LayoutAnimationStart",+ "LayoutAnimationComplete"+], ys = {};+function bs(e) {+ ys = e;+}+function xs() {+ return ys;+}+var Ss = 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 = Di, 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 = fn.now();+ this.renderScheduledAt < e && (this.renderScheduledAt = e, on.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 = ds(t), this.isVariantNode = fs(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]);}- n.current = ++t.current;}- return n.current;+ 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, os.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 : (hs.current || _s(), 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(), sn(this.notifyUpdate), sn(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];+ t && (t.unmount(), t.isMounted = !1);+ }+ this.current = null;+ }+ addChild(e) {+ this.children.add(e), this.enteringChildren ??= /* @__PURE__ */ new Set(), this.enteringChildren.add(e);+ }+ removeChild(e) {+ this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);+ }+ bindToMotionValue(e, t) {+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Xi.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Bi({+ element: this.current,+ name: e,+ keyframes: r,+ times: i,+ ease: a,+ duration: /* @__PURE__ */ At(o)+ }), c = n(s);+ this.valueSubscriptions.set(e, () => {+ c(), s.cancel();+ });+ return;+ }+ let n = mi.has(e);+ n && this.onBindTransform && this.onBindTransform();+ let r = t.on("change", (t) => {+ this.latestValues[e] = t, this.props.onUpdate && on.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();+ });+ }+ sortNodePosition(e) {+ return !this.current || !this.sortInstanceNodePosition || this.type !== e.type ? 0 : this.sortInstanceNodePosition(this.current, e.current);+ }+ updateFeatures() {+ let e = "animation";+ for (e in ys) {+ let t = ys[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]) {+ let t = this.features[e];+ t.isMounted ? t.update() : (t.mount(), t.isMounted = !0);+ }+ }+ }+ triggerBuild() {+ this.build(this.renderState, this.latestValues, this.props);+ }+ measureViewportBox() {+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : as();+ }+ getStaticValue(e) {+ return this.latestValues[e];+ }+ setStaticValue(e, t) {+ this.latestValues[e] = t;+ }+ 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 < vs.length; t++) {+ let n = vs[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 = ps(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();+ }+ getProps() {+ return this.props;+ }+ getVariant(e) {+ return this.props.variants ? this.props.variants[e] : void 0;+ }+ getDefaultTransition() {+ return this.props.transition;+ }+ getTransformPagePoint() {+ return this.props.transformPagePoint;+ }+ getClosestVariantNode() {+ return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0;+ }+ addVariantChild(e) {+ let t = this.getClosestVariantNode();+ if (t) return t.variantChildren && t.variantChildren.add(e), () => t.variantChildren.delete(e);+ }+ addValue(e, t) {+ let n = this.values.get(e);+ t !== n && (n && this.removeValue(e), this.bindToMotionValue(e, t), this.values.set(e, t), this.latestValues[e] = t.get());+ }+ removeValue(e) {+ this.values.delete(e);+ let t = this.valueSubscriptions.get(e);+ t && (t(), this.valueSubscriptions.delete(e)), delete this.latestValues[e], this.removeValueFromRenderState(e, this.renderState);+ }+ hasValue(e) {+ return this.values.has(e);+ }+ 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 = la(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" && (St(n) || wt(n)) ? n = parseFloat(n) : !ts(n) && nr.test(t) && (n = ro(e, t)), this.setBaseTarget(e, ja(n) ? n.get() : n)), ja(n) ? n.get() : n;+ }+ setBaseTarget(e, t) {+ this.baseTarget[e] = t;+ }+ getBaseTarget(e) {+ let { initial: t } = this.props, n;+ if (typeof t == "string" || typeof t == "object") {+ let r = wa(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];+ }+ on(e, t) {+ return this.events[e] || (this.events[e] = new kt()), this.events[e].add(t);+ }+ notify(e, ...t) {+ this.events[e] && this.events[e].notify(...t);+ }+ scheduleRenderMicrotask() {+ fo.render(this.render);+ }+}, Cs = class extends Ss {+ constructor() {+ super(...arguments), this.KeyframeResolver = oo;+ }+ sortInstanceNodePosition(e, t) {+ return e.compareDocumentPosition(t) & 2 ? 1 : -1;+ }+ getBaseTargetFromProps(e, t) {+ let n = e.style;+ return n ? n[t] : void 0;+ }+ removeValueFromRenderState(e, { vars: t, style: n }) {+ delete t[e], delete n[e];+ }+ handleChildMotionValue() {+ this.childSubscription && (this.childSubscription(), delete this.childSubscription);+ let { children: e } = this.props;+ ja(e) && (this.childSubscription = e.on("change", (e) => {+ this.current && (this.current.textContent = `${e}`);+ }));+ }+}, ws = class {+ constructor(e) {+ this.isMounted = !1, this.node = e;+ }+ update() {}+};+//#endregion+//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs+function Ts({ top: e, left: t, right: n, bottom: r }) {+ return {+ x: {+ min: t,+ max: n+ },+ y: {+ min: e,+ max: r+ }+ };}-function Bn(e) {- let t = (0, E.useContext)(In), n = zn(!!e), r = `react-aria${t.prefix}`;- return e || `${r}-${n}`;+function Es({ x: e, y: t }) {+ return {+ top: t.min,+ right: e.max,+ bottom: t.max,+ left: e.min+ };}-function Vn(e) {- let t = E.useId(), [n] = (0, E.useState)(Kn()), r = n ? "react-aria" : `react-aria${Fn.prefix}`;- return e || `${r}-${t}`;+function Ds(e, t) {+ if (!t) return e;+ let n = t({+ x: e.left,+ y: e.top+ }), r = t({+ x: e.right,+ y: e.bottom+ });+ return {+ top: n.y,+ left: n.x,+ bottom: r.y,+ right: r.x+ };}-var Hn = typeof E.useId == "function" ? Vn : Bn;-function Un() {- return !1;+//#endregion+//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs+function Os(e) {+ return e === void 0 || e === 1;}-function Wn() {- return !0;+function ks({ scale: e, scaleX: t, scaleY: n }) {+ return !Os(e) || !Os(t) || !Os(n);}-function Gn(e) {- return () => {};+function As(e) {+ return ks(e) || js(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;}-function Kn() {- return typeof E.useSyncExternalStore == "function" ? E.useSyncExternalStore(Gn, Un, Wn) : (0, E.useContext)(Ln);+function js(e) {+ return Ms(e.x) || Ms(e.y);}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var qn = null, Jn = /* @__PURE__ */ new Set(), Yn = /* @__PURE__ */ new Map(), Xn = !1, Zn = !1, Qn = {- Tab: !0,- Escape: !0-};-function $n(e, t) {- for (let n of Jn) n(e, t);+function Ms(e) {+ return e && e !== "0%";}-function er(e) {- return !(e.metaKey || !_n() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+//#endregion+//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs+function Ns(e, t, n) {+ return n + t * (e - n);}-function tr(e) {- Xn = !0, !An.isOpening && er(e) && (qn = "keyboard", $n("keyboard", e));+function Ps(e, t, n, r, i) {+ return i !== void 0 && (e = Ns(e, i, r)), Ns(e, n, r) + t;}-function nr(e) {- qn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Xn = !0, $n("pointer", e));+function Fs(e, t = 0, n = 1, r, i) {+ e.min = Ps(e.min, t, n, r, i), e.max = Ps(e.max, t, n, r, i);}-function rr(e) {- !An.isOpening && En(e) && (Xn = !0, qn = "virtual");+function Is(e, { x: t, y: n }) {+ Fs(e.x, t.translate, t.scale, t.originPoint), Fs(e.y, n.translate, n.scale, n.originPoint);}-function ir(e) {- if (fn) return;- let t = z(e), n = zt(t), r = L(t);- if (t === n) {- Zn = !0;- return;+var Ls = .999999999999, Rs = 1.0000000000001;+function zs(e, t, n, r = !1) {+ let i = n.length;+ if (!i) return;+ t.x = t.y = 1;+ let a, o;+ 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 && (Bs(e.x, -a.scroll.offset.x), Bs(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Is(e, o)), r && As(a.latestValues) && Us(e, a.latestValues, a.layout?.layoutBox));}- t === r || !e.isTrusted || (!Xn && !Zn && (qn = "virtual", $n("virtual", e)), Xn = !1, Zn = !1);+ t.x < Rs && t.x > Ls && (t.x = 1), t.y < Rs && t.y > Ls && (t.y = 1);}-function ar() {- fn || (Xn = !1, Zn = !0);-}-function or(e) {- if (typeof window > "u" || typeof document > "u") return;- let t = zt(e), n = L(e);- if (Yn.get(t)) return;- let r = t.HTMLElement.prototype.focus;- Reflect.defineProperty(t.HTMLElement.prototype, "focus", {- configurable: !0,- writable: !0,- value: function() {- Xn = !0, r.apply(this, arguments);- }- }), n.addEventListener("keydown", tr, !0), n.addEventListener("keyup", tr, !0), n.addEventListener("click", rr, !0), t.addEventListener("focus", ir, !0), t.addEventListener("blur", ar, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", nr, !0), n.addEventListener("pointermove", nr, !0), n.addEventListener("pointerup", nr, !0)), t.addEventListener("beforeunload", () => {- sr(e);- }, { once: !0 }), Yn.set(t, { focus: r });+function Bs(e, t) {+ e.min += t, e.max += t;}-var sr = (e, t) => {- let n = zt(e), r = L(e);- t && r.removeEventListener("DOMContentLoaded", t), Yn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {- configurable: !0,- writable: !0,- value: Yn.get(n).focus- }), r.removeEventListener("keydown", tr, !0), r.removeEventListener("keyup", tr, !0), r.removeEventListener("click", rr, !0), n.removeEventListener("focus", ir, !0), n.removeEventListener("blur", ar, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", nr, !0), r.removeEventListener("pointermove", nr, !0), r.removeEventListener("pointerup", nr, !0)), Yn.delete(n));-};-function cr(e) {- let t = L(e), n;- return t.readyState === "loading" ? (n = () => {- or(e);- }, t.addEventListener("DOMContentLoaded", n)) : or(e), () => sr(e, n);+function Vs(e, t, n, r, i = .5) {+ Fs(e, t, n, or(e.min, e.max, i), r);}-typeof document < "u" && cr();-function lr() {- return qn !== "pointer";+function Hs(e, t) {+ return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function ur() {- return qn;+function Us(e, t, n) {+ let r = n ?? e;+ Vs(e.x, Hs(t.x, r.x), t.scaleX, t.scale, t.originX), Vs(e.y, Hs(t.y, r.y), t.scaleY, t.scale, t.originY);}-function dr(e) {- qn = e, $n(e, null);+//#endregion+//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs+function Ws(e, t) {+ return Ts(Ds(e.getBoundingClientRect(), t));}-function fr() {- or();- let [e, t] = (0, E.useState)(qn);- return (0, E.useEffect)(() => {- let e = () => {- t(qn);- };- return Jn.add(e), () => {- Jn.delete(e);- };- }, []), Kn() ? null : e;-}-var pr = /* @__PURE__ */ new Set([- "checkbox",- "radio",- "range",- "color",- "file",- "image",- "button",- "submit",- "reset"-]);-function mr(e, t, n) {- let r = n ? z(n) : void 0, i = L(r), a = zt(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 = Jt(i);- return e = e || u instanceof o && !pr.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Qn[n.key]);-}-function hr(e, t, n) {- or(), (0, E.useEffect)(() => {- if (n?.enabled === !1) return;- let t = (t, r) => {- mr(!!n?.isTextInput, t, r) && e(lr());- };- return Jn.add(t), () => {- Jn.delete(t);- };- }, t);+function Gs(e, t, n) {+ let r = Ws(e, n), { scroll: i } = t;+ return i && (Bs(r.x, i.offset.x), Bs(r.y, i.offset.y)), r;}//#endregion-//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var gr = /* @__PURE__ */ new Map(), _r = /* @__PURE__ */ new Set();-function vr() {- if (typeof window > "u") return;- function e(e) {- return "propertyName" in e;- }- let t = (t) => {- let r = z(t);- if (!e(t) || !r) return;- let i = gr.get(r);- i || (i = /* @__PURE__ */ new Set(), gr.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);- }, n = (t) => {- let r = z(t);- if (!e(t) || !r) return;- let i = gr.get(r);- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), gr.delete(r)), gr.size === 0)) {- for (let e of _r) e();- _r.clear();+//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs+var Ks = {+ x: "translateX",+ y: "translateY",+ z: "translateZ",+ transformPerspective: "perspective"+}, qs = pi.length;+function Js(e, t, n) {+ let r = "", i = !0;+ for (let a = 0; a < qs; a++) {+ let o = pi[a], s = e[o];+ if (s === void 0) continue;+ let c = !0;+ if (typeof s == "number") c = s === +!!o.startsWith("scale");+ else {+ let e = parseFloat(s);+ c = o.startsWith("scale") ? e === 1 : e === 0;}- };- document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);-}-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", vr) : vr());-function yr() {- for (let [e] of gr) "isConnected" in e && !e.isConnected && gr.delete(e);-}-function br(e) {- requestAnimationFrame(() => {- yr(), gr.size === 0 ? e() : _r.add(e);- });+ if (!c || n) {+ let e = lo(s, $a[o]);+ if (!c) {+ i = !1;+ let t = Ks[o] || o;+ r += `${t}(${e}) `;+ }+ n && (t[o] = e);+ }+ }+ let a = e.pathRotation;+ return a && (i = !1, r += `rotate(${lo(a, $a.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;}//#endregion-//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function xr(e) {- if (!e.isConnected) return;- let t = L(e);- if (ur() === "virtual") {- let n = Jt(t);- br(() => {- let r = Jt(t);- (r === n || r === t.body) && e.isConnected && Pt(e);- });- } else Pt(e);+//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs+function Ys(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 (mi.has(e)) {+ o = !0;+ continue;+ }+ if (mn(e)) {+ i[e] = n;+ continue;+ }+ {+ let t = lo(n, $a[e]);+ e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;+ }+ }+ if (t.transform || (o || n ? r.transform = Js(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/react-aria/dist/private/utils/chain.mjs-function Sr(...e) {- return (...t) => {- for (let n of e) typeof n == "function" && n(...t);- };+//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs+function Xs(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/react-aria/dist/private/utils/useValueEffect.mjs-function Cr(e) {- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(t), i = (0, E.useRef)(null), a = (0, E.useRef)(() => {- if (!i.current) return;- let e = i.current.next();- if (e.done) {- i.current = null;- return;- }- r.current === e.value ? a.current() : n(e.value);- });- return cn(() => {- r.current = t, i.current && a.current();- }), [t, (0, E.useCallback)((e) => {- i.current = e(r.current), a.current();- }, [a])];+//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs+function Zs(e, t) {+ return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}+var Qs = { correct: (e, t) => {+ if (!t.target) return e;+ if (typeof e == "string") {+ if (z.test(e)) e = parseFloat(e);+ else return e;+ }+ return `${Zs(e, t.target.x)}% ${Zs(e, t.target.y)}%`;+} }, $s = { correct: (e, { treeScale: t, projectionDelta: n }) => {+ let r = e, i = nr.parse(e);+ if (i.length > 5) return r;+ let a = nr.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 = or(s, c, .5);+ return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);+} }, ec = {+ borderRadius: {+ ...Qs,+ applyTo: [...so]+ },+ borderTopLeftRadius: Qs,+ borderTopRightRadius: Qs,+ borderBottomLeftRadius: Qs,+ borderBottomRightRadius: Qs,+ boxShadow: $s+};//#endregion-//#region node_modules/react-aria/dist/private/utils/useId.mjs-var wr = !!(typeof window < "u" && window.document && window.document.createElement), Tr = /* @__PURE__ */ new Map(), Er;-typeof FinalizationRegistry < "u" && (Er = new FinalizationRegistry((e) => {- Tr.delete(e);-}));-var Dr = /* @__PURE__ */ new WeakMap();-function Or(e) {- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(null), i = Hn(t), a = (0, E.useRef)(null), o = Dr.get(a);- if (Er && o !== i && (o != null && Er.unregister(a), Er.register(a, i, a), Dr.set(a, i)), wr) {- let e = Tr.get(i);- e && !e.includes(r) ? e.push(r) : Tr.set(i, [r]);- }- return cn(() => {- let e = i;- return () => {- Er && (Er.unregister(a), Dr.delete(a)), Tr.delete(e);- };- }, [i]), (0, E.useEffect)(() => {- let e = r.current;- return e && n(e), () => {- e && (r.current = null);- };- }), i;-}-function kr(e, t) {- if (e === t) return e;- let n = Tr.get(e);- if (n) return n.forEach((e) => e.current = t), t;- let r = Tr.get(t);- return r ? (r.forEach((t) => t.current = e), e) : t;-}-function Ar(e = []) {- let t = Or(), [n, r] = Cr(t), i = (0, E.useCallback)(() => {- r(function* () {- yield t, yield document.getElementById(t) ? t : void 0;- });- }, [t, r]);- return cn(i, [- t,- i,- ...e- ]), n;+//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs+function tc(e, { layout: t, layoutId: n }) {+ return mi.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!ec[e] || e === "opacity");}//#endregion-//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function jr(...e) {- return e.length === 1 && e[0] ? e[0] : (t) => {- let n = !1, r = e.map((e) => {- let r = Mr(e, t);- return n ||= typeof r == "function", r;- });- if (n) return () => {- r.forEach((t, n) => {- typeof t == "function" ? t() : Mr(e[n], null);- });- };- };-}-function Mr(e, t) {- if (typeof e == "function") return e(t);- e != null && (e.current = t);+//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs+function nc(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]) || tc(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ return a;}//#endregion-//#region node_modules/clsx/dist/clsx.mjs-function Nr(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 = Nr(e[t])) && (r && (r += " "), r += n);- } else for (n in e) e[n] && (r && (r += " "), r += n);- }- return r;+//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs+function rc(e) {+ return window.getComputedStyle(e);}-function Pr() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Nr(e)) && (r && (r += " "), r += t);+var ic = class extends Cs {+ constructor() {+ super(...arguments), this.type = "html", this.renderInstance = Xs;+ }+ mount(e) {+ e.style, super.mount(e);+ }+ readValueFromInstance(e, t) {+ if (mi.has(t)) return this.projection?.isProjecting ? li(t) : di(e, t);+ {+ let n = rc(e), r = (mn(t) ? n.getPropertyValue(t) : n[t]) || 0;+ return typeof r == "string" ? r.trim() : r;+ }+ }+ measureInstanceViewportBox(e, { transformPagePoint: t }) {+ return Ws(e, t);+ }+ build(e, t, n) {+ Ys(e, t, n.transformTemplate);+ }+ scrapeMotionValuesFromProps(e, t, n) {+ return nc(e, t, n);+ }+}, ac = {+ offset: "stroke-dashoffset",+ array: "stroke-dasharray"+}, oc = {+ offset: "strokeDashoffset",+ array: "strokeDasharray"+};+function sc(e, t, n = 1, r = 0, i = !0) {+ e.pathLength = 1;+ let a = i ? ac : oc;+ e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs+var cc = [+ "offsetDistance",+ "offsetPath",+ "offsetRotate",+ "offsetAnchor"+];+function lc(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (Ys(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 cc) 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 && sc(d, i, a, o, !1);+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs+var uc = /* @__PURE__ */ new Set([+ "baseFrequency",+ "diffuseConstant",+ "kernelMatrix",+ "kernelUnitLength",+ "keySplines",+ "keyTimes",+ "limitingConeAngle",+ "markerHeight",+ "markerWidth",+ "numOctaves",+ "targetX",+ "targetY",+ "surfaceScale",+ "specularConstant",+ "specularExponent",+ "stdDeviation",+ "tableValues",+ "viewBox",+ "gradientTransform",+ "pathLength",+ "startOffset",+ "textLength",+ "lengthAdjust"+]), dc = (e) => typeof e == "string" && e.toLowerCase() === "svg";+//#endregion+//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs+function fc(e, t, n, r) {+ Xs(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(uc.has(n) ? n : Pa(n), t.attrs[n]);+}+//#endregion+//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs+function pc(e, t, n) {+ let r = nc(e, t, n);+ for (let n in e) if (ja(e[n]) || ja(t[n])) {+ let t = pi.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+ r[t] = e[n];+ }return r;}//#endregion-//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs-function B(...e) {- let t = { ...e[0] };- for (let n = 1; n < e.length; n++) {- 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] = Sr(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Pr(n, i) : e === "id" && n && i ? t.id = kr(n, i) : e === "ref" && n && i ? t.ref = jr(n, i) : t[e] = i === void 0 ? n : i;+//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs+var mc = class extends Cs {+ constructor() {+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = as;+ }+ getBaseTargetFromProps(e, t) {+ return e[t];+ }+ readValueFromInstance(e, t) {+ if (mi.has(t)) {+ let e = to(t);+ return e && e.default || 0;}+ return t = uc.has(t) ? t : Pa(t), e.getAttribute(t);+ }+ scrapeMotionValuesFromProps(e, t, n) {+ return pc(e, t, n);+ }+ build(e, t, n) {+ lc(e, t, this.isSVGTag, n.transformTemplate, n.style);+ }+ renderInstance(e, t, n, r) {+ fc(e, t, n, r);+ }+ mount(e) {+ this.isSVGTag = dc(e.tagName), super.mount(e);+ }+}, hc = us.length;+function gc(e) {+ if (!e) return;+ if (!e.isControllingVariants) {+ let t = e.parent && gc(e.parent) || {};+ return e.props.initial !== void 0 && (t.initial = e.props.initial), t;+ }+ let t = {};+ for (let n = 0; n < hc; n++) {+ let r = us[n], i = e.props[r];+ (cs(i) || i === !1) && (t[r] = i);}return t;}//#endregion-//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Fr(e) {- let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, E.useCallback)((e) => {- if (z(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = dn(a), s = (0, E.useCallback)((e) => {- let t = z(e), r = L(t), a = r ? Jt(r) : Jt();- t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));- }, [- i,- n,- o- ]);- return { focusProps: {- onFocus: !t && (n || i || r) ? s : void 0,- onBlur: !t && (r || i) ? a : void 0- } };+//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs+function _c(e, t) {+ if (!Array.isArray(t)) return !1;+ let n = t.length;+ if (n !== e.length) return !1;+ for (let r = 0; r < n; r++) if (t[r] !== e[r]) return !1;+ return !0;}//#endregion-//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function Ir(e) {- if (e) return (t) => {- let n = !0;- e({- ...t,- preventDefault() {- t.preventDefault();- },- isDefaultPrevented() {- return t.isDefaultPrevented();- },- stopPropagation() {- n = !0;- },- continuePropagation() {- n = !1, typeof t.continuePropagation == "function" && t.continuePropagation();- },- isPropagationStopped() {- return n;+//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs+var vc = [...ls].reverse(), yc = ls.length;+function bc(e) {+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => Va(e, t, n)));+}+function xc(e) {+ let t = bc(e), n = wc(), r = !0, i = !1, a = (t) => (n, r) => {+ let i = Ta(e, r, t === "exit" ? e.presenceContext?.custom : void 0);+ if (i) {+ let { transition: e, transitionEnd: t, ...r } = i;+ n = {+ ...n,+ ...r,+ ...t+ };+ }+ return n;+ };+ function o(n) {+ t = n(e);+ }+ function s(o) {+ let { props: s } = e, c = gc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;+ for (let t = 0; t < yc; t++) {+ let p = vc[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = cs(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 || ss(h) || typeof h == "boolean") continue;+ if (p === "exit" && m.isActive && _ !== !0) {+ m.prevResolvedValues && (d = {+ ...d,+ ...m.prevResolvedValues+ });+ continue;}- }), n && !(typeof t.isPropagationStopped == "function" && t.isPropagationStopped()) && t.stopPropagation();+ let y = Sc(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,+ ...C+ }, E = (t) => {+ b = !0, u.has(t) && (x = !0, u.delete(t)), m.needsAnimating[t] = !0;+ let n = e.getValue(t);+ n && (n.liveStyle = !1);+ };+ for (let e in T) {+ let t = C[e], n = w[e];+ if (d.hasOwnProperty(e)) continue;+ let r = !1;+ r = Da(t) && Da(n) ? !_c(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,+ ...C+ }), (r || i) && e.blockInitialAnimation && (b = !1);+ let D = v && y;+ 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 = Ta(r, t);+ if (r.enteringChildren && i) {+ let { delayChildren: t } = i.transition || {};+ n.delay = ia(r.enteringChildren, e, t);+ }+ }+ return {+ animation: t,+ options: n+ };+ }));+ }+ if (u.size) {+ let t = {};+ if (typeof s.initial != "boolean") {+ let n = Ta(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);+ n && n.transition && (t.transition = n.transition);+ }+ u.forEach((n) => {+ let r = e.getBaseTarget(n), i = e.getValue(n);+ i && (i.liveStyle = !0), t[n] = r ?? null;+ }), l.push({ animation: t });+ }+ let p = !!l.length;+ return r && (s.initial === !1 || s.initial === s.animate) && !e.manuallyAnimateOnMount && (p = !1), r = !1, i = !1, p ? t(l) : Promise.resolve();+ }+ function c(t, r) {+ if (n[t].isActive === r) return Promise.resolve();+ e.variantChildren?.forEach((e) => e.animationState?.setActive(t, r)), n[t].isActive = r;+ let i = s(t);+ for (let e in n) n[e].protectedKeys = {};+ return i;+ }+ return {+ animateChanges: s,+ setActive: c,+ setAnimateFunction: o,+ getState: () => n,+ reset: () => {+ n = wc(), i = !0;+ }+ };+}+function Sc(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !_c(t, e) : !1;+}+function Cc(e = !1) {+ return {+ isActive: e,+ protectedKeys: {},+ needsAnimating: {},+ prevResolvedValues: {}+ };+}+function wc() {+ return {+ animate: Cc(!0),+ whileInView: Cc(),+ whileHover: Cc(),+ whileTap: Cc(),+ whileDrag: Cc(),+ whileFocus: Cc(),+ exit: Cc()};}//#endregion-//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Lr = /* @__PURE__ */ new Set([- "shift",- "alt",- "control",- "meta",- "mod"-]), Rr = [- "Alt",- "Control",- "Meta",- "Shift"-];-function zr(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(_n() ? "Meta" : "Control"), t;+//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs+function Tc(e, t) {+ e.min = t.min, e.max = t.max;}-function Br(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;+function Ec(e, t) {+ Tc(e.x, t.x), Tc(e.y, t.y);}-function Vr(e) {- return Rr.filter((t) => e.has(t));+function Dc(e, t) {+ e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}-function Hr(e) {- let t = e.split("+").reduce((e, t) => {- let n = t.toLowerCase();- return Lr.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,- ctrl: !1,- meta: !1,- mod: !1,- key: ""- });- 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;+//#endregion+//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs+var Oc = .9999, kc = 1.0001, Ac = -.01, jc = .01;+function Mc(e) {+ return e.max - e.min;}-function Ur(e) {- return e.toLowerCase();+function Nc(e, t, n) {+ return Math.abs(e - t) <= n;}-var Wr = {- space: " ",- esc: "escape",- del: "delete",- ins: "insert",- left: "arrowleft",- right: "arrowright",- up: "arrowup",- down: "arrowdown",- pageup: "pageup",- pagedown: "pagedown"-};-function Gr(e) {- let t = Ur(e);- return Wr[t] ?? t;+function Pc(e, t, n, r = .5) {+ e.origin = r, e.originPoint = or(t.min, t.max, e.origin), e.scale = Mc(n) / Mc(t), e.translate = or(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Oc && e.scale <= kc || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Ac && e.translate <= jc || isNaN(e.translate)) && (e.translate = 0);}-function Kr(e) {- let t = Vr(zr(e)), n = Gr(e.key);- return t.length > 0 ? `${t.join("+")}+${n}` : n;+function Fc(e, t, n, r) {+ Pc(e.x, t.x, n.x, r ? r.originX : void 0), Pc(e.y, t.y, n.y, r ? r.originY : void 0);}-function qr(e) {- let t = Vr(Br(e)), n = Ur(e.key);- return (t.length > 0 ? `${t.join("+")}+` : "") + n;+function Ic(e, t, n, r = 0) {+ e.min = (r ? or(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Mc(t);}-function Jr(e) {- let t = /* @__PURE__ */ new Map();- for (let [n, r] of Object.entries(e)) {- let e = Hr(n);- t.set(Kr(e), r);- }- return (e) => {- let n = qr(e), r = t.get(n), i = r?.(e);- i === void 0 && r !== void 0 ? i = {- shouldContinuePropagation: !1,- shouldPreventDefault: !0- } : typeof i == "boolean" && (i = {- shouldContinuePropagation: !i,- shouldPreventDefault: i- }), i?.shouldPreventDefault && e.preventDefault(), (!r || i?.shouldContinuePropagation) && e.continuePropagation();- };+function Lc(e, t, n, r) {+ Ic(e.x, t.x, n.x, r?.x), Ic(e.y, t.y, n.y, r?.y);+}+function Rc(e, t, n, r = 0) {+ let i = r ? or(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + Mc(t);+}+function zc(e, t, n, r) {+ Rc(e.x, t.x, n.x, r?.x), Rc(e.y, t.y, n.y, r?.y);}//#endregion-//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Yr(e) {- let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;- if (t) {- let o = Jr(t), s = Ir((e) => {- if (!R(e.currentTarget, z(e))) {- e.continuePropagation();- return;- }- if (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r) {- e.continuePropagation();- return;- }- o(e);- }), c = Ir((e) => {- if (!R(e.currentTarget, z(e))) {- e.continuePropagation();- return;- }- if (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r) {- e.continuePropagation();- return;- }- e.continuePropagation();- });- i = e.onKeyDown ? Sr(e.onKeyDown, s) : s, a = e.onKeyUp ? Sr(e.onKeyUp, c) : c;- } else i = Ir(e.onKeyDown), a = Ir(e.onKeyUp);- return { keyboardProps: e.isDisabled ? {} : {- onKeyDown: i,- onKeyUp: a- } };+//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs+function Bc(e, t, n, r, i) {+ return e -= t, e = Ns(e, 1 / n, r), i !== void 0 && (e = Ns(e, 1 / i, r)), e;+}+function Vc(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (Fn.test(t) && (t = parseFloat(t), t = or(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = or(a.min, a.max, r);+ e === a && (s -= t), e.min = Bc(e.min, t, n, s, i), e.max = Bc(e.max, t, n, s, i);+}+function Hc(e, t, [n, r, i], a, o) {+ Vc(e, t[n], t[r], t[i], t.scale, a, o);+}+var Uc = [+ "x",+ "scaleX",+ "originX"+], Wc = [+ "y",+ "scaleY",+ "originY"+];+function Gc(e, t, n, r) {+ Hc(e.x, t, Uc, n ? n.x : void 0, r ? r.x : void 0), Hc(e.y, t, Wc, n ? n.y : void 0, r ? r.y : void 0);}//#endregion-//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Xr(e) {- let t = (0, E.useRef)(null), n = (0, E.useRef)(void 0), r = (0, E.useCallback)((t) => {- if (typeof e == "function") {- let n = e, r = n(t);- return () => {- typeof r == "function" ? r() : n(null);- };- }- if (e) return e.current = t, () => {- e.current = null;- };- }, [e]);- return (0, E.useMemo)(() => ({- get current() {- return t.current;- },- set current(e) {- t.current = e, n.current &&= (n.current(), void 0), e != null && (n.current = r(e));- }- }), [r]);+//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs+function Kc(e) {+ return e.translate === 0 && e.scale === 1;+}+function qc(e) {+ return Kc(e.x) && Kc(e.y);+}+function Jc(e, t) {+ return e.min === t.min && e.max === t.max;+}+function Yc(e, t) {+ return Jc(e.x, t.x) && Jc(e.y, t.y);+}+function Xc(e, t) {+ return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);+}+function Zc(e, t) {+ return Xc(e.x, t.x) && Xc(e.y, t.y);+}+function Qc(e) {+ return Mc(e.x) / Mc(e.y);+}+function $c(e, t) {+ return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}//#endregion-//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Zr(e, t) {- cn(() => {- if (e && e.ref && t) return e.ref.current = t.current, () => {- e.ref && (e.ref.current = null);- };- });+//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs+function el(e) {+ return [e("x"), e("y")];}//#endregion-//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Qr = /*#__PURE__*/ E.createContext(null);-function $r(e) {- let t = (0, E.useContext)(Qr) || {};- Zr(t, e);- let { ref: n, ...r } = t;- return r;+//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs+function tl(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;+ e && (r = `perspective(${e}px) ${r}`), t && (r += `rotate(${t}deg) `), i && (r += `rotate(${i}deg) `), a && (r += `rotateX(${a}deg) `), o && (r += `rotateY(${o}deg) `), s && (r += `skewX(${s}deg) `), c && (r += `skewY(${c}deg) `);+ }+ let s = e.x.scale * t.x, c = e.y.scale * t.y;+ return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}-function ei(e, t) {- let { focusProps: n } = Fr(e), { keyboardProps: r } = Yr(e), i = B(n, r), a = $r(t), o = e.isDisabled ? {} : a, s = (0, E.useRef)(e.autoFocus);- (0, E.useEffect)(() => {- s.current && t.current && xr(t.current), s.current = !1;- }, [t]);- let c = e.excludeFromTabOrder ? -1 : 0;- return e.isDisabled && (c = void 0), { focusableProps: B({- ...i,- tabIndex: c- }, o) };+//#endregion+//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs+var nl = so.length, rl = (e) => typeof e == "string" ? parseFloat(e) : e, il = (e) => typeof e == "number" || z.test(e);+function al(e, t, n, r, i, a) {+ i ? (e.opacity = or(0, n.opacity ?? 1, sl(r)), e.opacityExit = or(t.opacity ?? 1, 0, cl(r))) : a && (e.opacity = or(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < nl; i++) {+ let a = so[i], o = ol(t, a), s = ol(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || il(o) === il(s) ? (e[a] = Math.max(or(rl(o), rl(s), r), 0), (Fn.test(s) || Fn.test(o)) && (e[a] += "%")) : e[a] = s);+ }+ (t.rotate || n.rotate) && (e.rotate = or(t.rotate || 0, n.rotate || 0, r));+}+function ol(e, t) {+ return e[t] === void 0 ? e.borderRadius : e[t];+}+var sl = /*@__PURE__*/ ll(0, .5, Gt), cl = /*@__PURE__*/ ll(.5, .95, Et);+function ll(e, t, n) {+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Ot(e, t, r));}//#endregion-//#region node_modules/react-aria/dist/private/collections/Hidden.mjs-typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {- configurable: !0,- enumerable: !0,- get: function() {- return this.content.firstChild;+//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs+function ul(e, t, n) {+ let r = ja(e) ? e : la(e);+ return r.start(ya("", r, t, n)), r.animation;+}+//#endregion+//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs+function dl(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 fl = (e, t) => e.depth - t.depth, pl = class {+ constructor() {+ this.children = [], this.isDirty = !1;}-}), Object.defineProperty(HTMLTemplateElement.prototype, "appendChild", {- configurable: !0,- enumerable: !0,- value: function(e) {- return this.content.appendChild(e);+ add(e) {+ vt(this.children, e), this.isDirty = !0;}-}), Object.defineProperty(HTMLTemplateElement.prototype, "removeChild", {- configurable: !0,- enumerable: !0,- value: function(e) {- return this.content.removeChild(e);+ remove(e) {+ yt(this.children, e), this.isDirty = !0;}-}), Object.defineProperty(HTMLTemplateElement.prototype, "insertBefore", {- configurable: !0,- enumerable: !0,- value: function(e, t) {- return this.content.insertBefore(e, t);+ forEach(e) {+ this.isDirty && this.children.sort(fl), this.isDirty = !1, this.children.forEach(e);}-}));-var ti = /*#__PURE__*/ (0, E.createContext)(!1);-function ni(e) {- if ((0, E.useContext)(ti)) return /*#__PURE__*/ E.createElement(E.Fragment, null, e.children);- let t = /*#__PURE__*/ E.createElement(ti.Provider, { value: !0 }, e.children);- return /*#__PURE__*/ E.createElement("template", null, t);-}-function ri(e) {- let t = (t, n) => (0, E.useContext)(ti) ? null : e(t, n);- return t.displayName = e.displayName || e.name, (0, E.forwardRef)(t);+};+//#endregion+//#region node_modules/motion-dom/dist/es/utils/delay.mjs+function ml(e, t) {+ let n = fn.now(), r = ({ timestamp: i }) => {+ let a = i - n;+ a >= t && (sn(r), e(a - t));+ };+ return on.setup(r, !0), () => sn(r);}-function ii() {- return (0, E.useContext)(ti);+//#endregion+//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs+function hl(e) {+ return ja(e) ? e.get() : e;}//#endregion-//#region node_modules/react-dom/cjs/react-dom.production.js-var ai = /* @__PURE__ */ _(((e) => {- var t = C();- function n(e) {- var t = "https://react.dev/errors/" + e;- if (1 < arguments.length) {- t += "?args[]=" + encodeURIComponent(arguments[1]);- for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);+//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs+var gl = class {+ constructor() {+ this.members = [];+ }+ add(e) {+ vt(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 && (yt(this.members, n), n.unmount());}- return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";+ e.scheduleRender();}- function r() {}- var i = {- d: {- f: r,- r: function() {- throw Error(n(522));- },- D: r,- C: r,- L: r,- m: r,- X: r,- S: r,- M: r- },- p: 0,- findDOMNode: null- }, a = Symbol.for("react.portal"), o = Symbol.for("react.recoverable"), s = Symbol.for("react.optimistic_key");- function c(e, t, n) {- var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;- return {- $$typeof: a,- key: r == null ? null : r === s ? s : "" + r,- children: e,- containerInfo: t,- implementation: n- };+ remove(e) {+ if (yt(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);+ }}- var l = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;- function u(e, t) {- if (e === "font") return "";- if (typeof t == "string") return t === "use-credentials" ? t : "";+ relegate(e) {+ for (let t = this.members.indexOf(e) - 1; t >= 0; t--) {+ let e = this.members[t];+ if (e.isPresent !== !1 && e.instance?.isConnected !== !1) return this.promote(e), !0;+ }+ return !1;}- e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, e.browser = function(e) {- return {- $$typeof: o,- _reason: e- };- }, e.createPortal = function(e, t) {- var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;- if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));- return c(e, t, null, r);- }, e.flushSync = function(e) {- var t = l.T, n = i.p;- try {- if (l.T = null, i.p = 2, e) return e();- } finally {- l.T = t, i.p = n, i.d.f();+ promote(e, t) {+ let n = this.lead;+ if (e !== n && (this.prevLead = n, this.lead = e, e.show(), n)) {+ n.updateSnapshot(), e.scheduleRender();+ let { layoutDependency: r } = n.options, { layoutDependency: i } = e.options;+ (r === void 0 || r !== i) && (e.resumeFrom = n, t && (n.preserveOpacity = !0), n.snapshot && (e.snapshot = n.snapshot, e.snapshot.latestValues = n.animationValues || n.latestValues), e.root?.isUpdating && (e.isLayoutDirty = !0)), e.options.crossfade === !1 && n.hide();}- }, e.preconnect = function(e, t) {- typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, i.d.C(e, t));- }, e.prefetchDNS = function(e) {- typeof e == "string" && i.d.D(e);- }, e.preinit = function(e, t) {- if (typeof e == "string" && t && typeof t.as == "string") {- var n = t.as, r = u(n, t.crossOrigin), a = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;- n === "style" ? i.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {- crossOrigin: r,- integrity: a,- fetchPriority: o- }) : n === "script" && i.d.X(e, {- crossOrigin: r,- integrity: a,- fetchPriority: o,- nonce: typeof t.nonce == "string" ? t.nonce : void 0+ }+ exitAnimationComplete() {+ this.members.forEach((e) => {+ e.options.onExitComplete?.(), e.resumingFrom?.options.onExitComplete?.();+ });+ }+ scheduleRender() {+ this.members.forEach((e) => e.instance && e.scheduleRender(!1));+ }+ removeLeadSnapshot() {+ this.lead?.snapshot && (this.lead.snapshot = void 0);+ }+}, _l = {+ hasAnimatedSinceResize: !0,+ hasEverUpdated: !1+}, vl = {+ nodes: 0,+ calculatedTargetDeltas: 0,+ calculatedProjections: 0+}, yl = [+ "",+ "X",+ "Y",+ "Z"+], bl = 1e3, xl = 0;+function Sl(e, t, n, r) {+ let { latestValues: i } = t;+ i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));+}+function Cl(e) {+ if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;+ let { visualElement: t } = e.options;+ if (!t) return;+ let n = Ia(t);+ if (window.MotionHasOptimisedAnimation(n, "transform")) {+ let { layout: t, layoutId: r } = e.options;+ window.MotionCancelOptimisedAnimation(n, "transform", on, !(t || r));+ }+ let { parent: r } = e;+ r && !r.hasCheckedOptimisedAppear && Cl(r);+}+function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return class {+ constructor(e = {}, n = t?.()) {+ this.id = xl++, 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, Jo.value && (vl.nodes = vl.calculatedTargetDeltas = vl.calculatedProjections = 0), this.nodes.forEach(Dl), this.nodes.forEach(Il), this.nodes.forEach(Ll), this.nodes.forEach(Ol), Jo.addProjectionMetrics && Jo.addProjectionMetrics(vl);+ }, 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 pl());+ }+ addEventListener(e, t) {+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new kt()), this.eventHandlers.get(e).add(t);+ }+ notifyListeners(e, ...t) {+ let n = this.eventHandlers.get(e);+ n && n.notify(...t);+ }+ hasListeners(e) {+ return this.eventHandlers.has(e);+ }+ mount(t) {+ if (this.instance) return;+ this.isSVG = No(t) && !Yo(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;+ on.read(() => {+ r = window.innerWidth;+ }), e(t, () => {+ let e = window.innerWidth;+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ml(i, 250), _l.hasAnimatedSinceResize && (_l.hasAnimatedSinceResize = !1, this.nodes.forEach(Fl)));+ });+ }+ n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {+ if (this.isTreeAnimationBlocked()) {+ this.target = void 0, this.relativeTarget = void 0;+ return;+ }+ let a = this.options.transition || i.getDefaultTransition() || Wl, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Zc(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 = {+ ...da(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 || Fl(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();+ this.targetLayout = r;});}- }, e.preinitModule = function(e, t) {- if (typeof e == "string") {- if (typeof t == "object" && t) {- if (t.as == null || t.as === "script") {- var n = u(t.as, t.crossOrigin);- i.d.M(e, {- crossOrigin: n,- integrity: typeof t.integrity == "string" ? t.integrity : void 0,- nonce: typeof t.nonce == "string" ? t.nonce : void 0,- fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0- });- }- } else t ?? i.d.M(e);+ 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(), sn(this.updateProjection);}- }, e.preload = function(e, t) {- if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {- var n = t.as, r = u(n, t.crossOrigin);- i.d.L(e, n, {- crossOrigin: r,- integrity: typeof t.integrity == "string" ? t.integrity : void 0,- nonce: typeof t.nonce == "string" ? t.nonce : void 0,- type: typeof t.type == "string" ? t.type : void 0,- fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,- referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,- imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,- imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,- media: typeof t.media == "string" ? t.media : void 0- });+ blockUpdate() {+ this.updateManuallyBlocked = !0;}- }, e.preloadModule = function(e, t) {- if (typeof e == "string") {- if (t) {- var n = u(t.as, t.crossOrigin);- i.d.m(e, {- as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,- crossOrigin: n,- integrity: typeof t.integrity == "string" ? t.integrity : void 0,- nonce: typeof t.nonce == "string" ? t.nonce : void 0,- fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0- });- } else i.d.m(e);+ unblockUpdate() {+ this.updateManuallyBlocked = !1;}- }, e.requestFormReset = function(e) {- i.d.r(e);- }, e.unstable_batchedUpdates = function(e, t) {- return e(t);- }, e.useFormState = function(e, t, n) {- return l.H.useFormState(e, t, n);- }, e.useFormStatus = function() {- return l.H.useHostTransitionStatus();- }, e.version = "19.3.0";-})), oi = /* @__PURE__ */ _(((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);- } catch (e) {- console.error(e);+ isUpdateBlocked() {+ return this.updateManuallyBlocked || this.updateBlockedByResize;}- }- n(), t.exports = ai();-})), si = /* @__PURE__ */ _(((e) => {- var t = C();- function n(e, t) {- return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;- }- var r = typeof Object.is == "function" ? Object.is : n, i = t.useState, a = t.useEffect, o = t.useLayoutEffect, s = t.useDebugValue;- function c(e, t) {- var n = t(), r = i({ inst: {- value: n,- getSnapshot: t- } }), c = r[0].inst, u = r[1];- return o(function() {- c.value = n, c.getSnapshot = t, l(c) && u({ inst: c });- }, [- e,- n,- t- ]), a(function() {- return l(c) && u({ inst: c }), e(function() {- l(c) && u({ inst: c });+ isTreeAnimationBlocked() {+ return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;+ }+ startUpdate() {+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Rl), this.animationId++);+ }+ getTransformTemplate() {+ let { visualElement: e } = this.options;+ return e && e.getProps().transformTemplate;+ }+ willUpdate(e = !0) {+ if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {+ this.options.onExitComplete && this.options.onExitComplete();+ return;+ }+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Cl(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];+ t.shouldResetTransform = !0, (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1);+ }+ let { layoutId: t, layout: n } = this.options;+ if (t === void 0 && !n) return;+ let r = this.getTransformTemplate();+ this.prevTransformTemplateValue = r ? r(this.latestValues, "") : void 0, this.updateSnapshot(), e && this.notifyListeners("willUpdate");+ }+ 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(Al);+ return;+ }+ if (this.animationId <= this.animationCommitId) {+ this.nodes.forEach(Ml);+ return;+ }+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Nl), this.nodes.forEach(Pl), this.nodes.forEach(Tl), this.nodes.forEach(El)) : this.nodes.forEach(Ml), this.clearAllSnapshots();+ let e = fn.now();+ cn.delta = bt(0, 1e3 / 60, e - cn.timestamp), cn.timestamp = e, cn.isProcessing = !0, ln.update.process(cn), ln.preRender.process(cn), ln.render.process(cn), cn.isProcessing = !1;+ }+ didUpdate() {+ this.updateScheduled || (this.updateScheduled = !0, fo.read(this.scheduleUpdate));+ }+ clearAllSnapshots() {+ this.nodes.forEach(kl), this.sharedNodes.forEach(zl);+ }+ scheduleUpdateProjection() {+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, on.preRender(this.updateProjection, !1, !0));+ }+ scheduleCheckAfterUnmount() {+ on.postRender(() => {+ this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});- }, [e]), s(n), n;- }- function l(e) {- var t = e.getSnapshot;- e = e.value;- try {- var n = t();- return !r(e, n);- } catch {- return !0;}+ updateSnapshot() {+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !Mc(this.snapshot.measuredBox.x) && !Mc(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 ||= as(), 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);+ }+ updateScroll(e = "measure") {+ let t = !!(this.options.layoutScroll && this.instance);+ if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === e && (t = !1), t && this.instance) {+ let t = r(this.instance);+ this.scroll = {+ animationId: this.root.animationId,+ phase: e,+ isRoot: t,+ offset: n(this.instance),+ wasRoot: this.scroll ? this.scroll.isRoot : t+ };+ }+ }+ resetTransform() {+ if (!i) return;+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !qc(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || As(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)), Jl(n), {+ animationId: this.root.animationId,+ measuredBox: t,+ layoutBox: n,+ latestValues: {},+ source: this.id+ };+ }+ measurePageBox() {+ let { visualElement: e } = this.options;+ if (!e) return as();+ let t = e.measureViewportBox();+ if (!(this.scroll?.wasRoot || this.path.some(Xl))) {+ let { scroll: e } = this.root;+ e && (Bs(t.x, e.offset.x), Bs(t.y, e.offset.y));+ }+ return t;+ }+ removeElementScroll(e) {+ let t = as();+ if (Ec(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 && Ec(t, e), Bs(t.x, i.offset.x), Bs(t.y, i.offset.y));+ }+ return t;+ }+ applyTransform(e, t = !1, n) {+ let r = n || as();+ Ec(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 && (Bs(r.x, -n.scroll.offset.x), Bs(r.y, -n.scroll.offset.y)), As(n.latestValues) && Us(r, n.latestValues, n.layout?.layoutBox);+ }+ return As(this.latestValues) && Us(r, this.latestValues, this.layout?.layoutBox), r;+ }+ removeTransform(e) {+ let t = as();+ Ec(t, e);+ for (let e = 0; e < this.path.length; e++) {+ let n = this.path[e];+ if (!As(n.latestValues)) continue;+ let r;+ n.instance && (ks(n.latestValues) && n.updateSnapshot(), r = as(), Ec(r, n.measurePageBox())), Gc(t, n.latestValues, n.snapshot?.layoutBox, r);+ }+ return As(this.latestValues) && Gc(t, this.latestValues), t;+ }+ setTargetDelta(e) {+ this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;+ }+ setOptions(e) {+ this.options = {+ ...this.options,+ ...e,+ crossfade: e.crossfade === void 0 || e.crossfade+ };+ }+ clearMeasurements() {+ 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 !== cn.timestamp && this.relativeParent.resolveTargetDelta(!0);+ }+ resolveTargetDelta(e = !1) {+ let t = this.getLead();+ this.isProjectionDirty ||= t.isProjectionDirty, this.isTransformDirty ||= t.isTransformDirty, this.isSharedProjectionDirty ||= t.isSharedProjectionDirty;+ let n = !!this.resumingFrom || this !== t;+ 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 = cn.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 = as(), this.targetWithTransforms = as()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Lc(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Ec(this.target, this.layout.layoutBox), Is(this.target, this.targetDelta)) : Ec(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), Jo.value && vl.calculatedTargetDeltas++);+ }+ getClosestProjectingParent() {+ if (!(!this.parent || ks(this.parent.latestValues) || js(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 = as(), this.relativeTargetOrigin = as(), zc(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Ec(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 === cn.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;+ Ec(this.layoutCorrected, this.layout.layoutBox);+ let a = this.treeScale.x, o = this.treeScale.y;+ zs(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 = as());+ let { target: s } = e;+ if (!s) {+ this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ return;+ }+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Dc(this.prevProjectionDelta.x, this.projectionDelta.x), Dc(this.prevProjectionDelta.y, this.projectionDelta.y)), Fc(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !$c(this.projectionDelta.x, this.prevProjectionDelta.x) || !$c(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Jo.value && vl.calculatedProjections++;+ }+ hide() {+ this.isVisible = !1;+ }+ show() {+ this.isVisible = !0;+ }+ scheduleRender(e = !0) {+ if (this.options.visualElement?.scheduleRender(), e) {+ let e = this.getStack();+ e && e.scheduleRender();+ }+ this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);+ }+ createProjectionDeltas() {+ this.prevProjectionDelta = rs(), this.projectionDelta = rs(), this.projectionDeltaWithTransform = rs();+ }+ setAnimationOrigin(e, t = !1, n) {+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = rs();+ (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;+ let s = as(), 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(Ul));+ 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 = or(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 = or(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Bl(o.x, e.x, n), Bl(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (zc(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Hl(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Yc(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= as(), Ec(f, this.relativeTarget)), c && (this.animationValues = a, al(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 &&= (sn(this.pendingAnimation), void 0), this.pendingAnimation = on.update(() => {+ _l.hasAnimatedSinceResize = !0, this.motionValue ||= la(0), this.motionValue.jump(0, !1), this.currentAnimation = ul(this.motionValue, [0, 1e3], {+ ...e,+ velocity: 0,+ isSync: !0,+ onUpdate: (t) => {+ this.mixTargetDelta(t), e.onUpdate && e.onUpdate(t);+ },+ onComplete: () => {+ e.onComplete && e.onComplete(), this.completeAnimation();+ }+ }), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ });+ }+ completeAnimation() {+ this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);+ let e = this.getStack();+ e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");+ }+ finishAnimation() {+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(bl), 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 && Yl(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {+ n = this.target || as();+ let t = Mc(this.layout.layoutBox.x);+ n.x.min = e.target.x.min, n.x.max = n.x.min + t;+ let r = Mc(this.layout.layoutBox.y);+ n.y.min = e.target.y.min, n.y.max = n.y.min + r;+ }+ Ec(t, n), Us(t, i), Fc(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);+ }+ }+ registerSharedNode(e, t) {+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new gl()), this.sharedNodes.get(e).add(t);+ let n = t.options.initialPromotionConfig;+ t.promote({+ transition: n ? n.transition : void 0,+ preserveFollowOpacity: n && n.shouldPreserveFollowOpacity ? n.shouldPreserveFollowOpacity(t) : void 0+ });+ }+ isLead() {+ let e = this.getStack();+ return !e || e.lead === this;+ }+ getLead() {+ let { layoutId: e } = this.options;+ return e && this.getStack()?.lead || this;+ }+ getPrevLead() {+ let { layoutId: e } = this.options;+ return e ? this.getStack()?.prevLead : void 0;+ }+ getStack() {+ let { layoutId: e } = this.options;+ if (e) return this.root.sharedNodes.get(e);+ }+ promote({ needsReset: e, transition: t, preserveFollowOpacity: n } = {}) {+ let r = this.getStack();+ r && r.promote(this, n), e && (this.projectionDelta = void 0, this.needsReset = !0), t && this.setOptions({ transition: t });+ }+ relegate() {+ let e = this.getStack();+ return e ? e.relegate(this) : !1;+ }+ resetSkewAndRotation() {+ let { visualElement: e } = this.options;+ if (!e) return;+ 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 && Sl("z", e, r, this.animationValues);+ for (let t = 0; t < yl.length; t++) Sl(`rotate${yl[t]}`, e, r, this.animationValues), Sl(`skew${yl[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();+ }+ applyProjectionStyles(e, t) {+ if (!this.instance || this.isSVG) return;+ if (!this.isVisible) {+ e.visibility = "hidden";+ return;+ }+ let n = this.getTransformTemplate();+ if (this.needsReset) {+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = hl(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 = hl(t?.pointerEvents) || ""), this.hasProjected && !As(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);+ return;+ }+ e.visibility = "";+ let i = r.animationValues || r.latestValues;+ this.applyTransformsToTarget();+ let a = tl(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 ec) {+ if (i[t] === void 0) continue;+ let { correct: n, applyTo: o, isCSSVariable: s } = ec[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 ? hl(t?.pointerEvents) || "" : "none");+ }+ clearSnapshot() {+ this.resumeFrom = this.snapshot = void 0;+ }+ resetTree() {+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(Al), this.root.sharedNodes.clear();+ }+ };+}+function Tl(e) {+ e.updateLayout();+}+function El(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") el((e) => {+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Mc(r);+ r.min = n[e].min, r.max = r.min + i;+ });+ else if (i === "x" || i === "y") {+ let e = i === "x" ? "y" : "x";+ Tc(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);+ } else Yl(i, t.layoutBox, n) && el((r) => {+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Mc(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 = rs();+ Fc(o, n, t.layoutBox);+ let s = rs();+ a ? Fc(s, e.applyTransform(r, !0), t.measuredBox) : Fc(s, n, t.layoutBox);+ let c = !qc(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 = as();+ zc(s, t.layoutBox, i.layoutBox, o);+ let c = as();+ zc(c, n, a.layoutBox, o), Zc(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);+ }+ }+ }+ e.notifyListeners("didUpdate", {+ layout: n,+ snapshot: t,+ delta: s,+ layoutDelta: o,+ hasLayoutChanged: c,+ hasRelativeLayoutChanged: l+ });+ } else if (e.isLead()) {+ let { onExitComplete: t } = e.options;+ t && t();}- function u(e, t) {- return t();- }- 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;-})), ci = /* @__PURE__ */ _(((e, t) => {- t.exports = si();-})), li = /* @__PURE__ */ b(oi(), 1), ui = ci(), di = /*#__PURE__*/ (0, E.createContext)(!1), fi = /*#__PURE__*/ (0, E.createContext)(null);-function pi(e) {- if ((0, E.useContext)(fi)) return e.content;- let { collection: t, document: n } = _i(e.createCollection);- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(ni, null, /*#__PURE__*/ E.createElement(fi.Provider, { value: n }, e.content)), /*#__PURE__*/ E.createElement(mi, {- render: e.children,- collection: t- }));+ e.options.transition = void 0;}-function mi({ collection: e, render: t }) {- return t(e);+function Dl(e) {+ Jo.value && vl.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 hi(e, t, n) {- let r = Kn(), i = (0, E.useRef)(r);- i.current = r;- let a = (0, E.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, ui.useSyncExternalStore)(e, a);+function Ol(e) {+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-var gi = typeof E.useSyncExternalStore == "function" ? E.useSyncExternalStore : hi;-function _i(e) {- let [t] = (0, E.useState)(() => new jt(e?.() || new Dt()));- return {- collection: gi((0, E.useCallback)((e) => t.subscribe(e), [t]), (0, E.useCallback)(() => {- let e = t.getCollection();- return t.isSSR && t.resetAfterSSR(), e;- }, [t]), (0, E.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),- document: t- };+function kl(e) {+ e.clearSnapshot();}-var vi = /*#__PURE__*/ (0, E.createContext)(null);-function yi(e) {- return class extends Ct {- static {- this.type = e;- }- };+function Al(e) {+ e.clearMeasurements();}-function bi(e, t, n, r, i, a) {- typeof e == "string" && (e = yi(e));- let o = (0, E.useCallback)((i) => {- i?.setProps(t, n, e, r, a);- }, [- t,- n,- r,- a,- e- ]), s = (0, E.useContext)(vi);- 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__*/ E.createElement(vi.Provider, { value: o }, i) : null;- }- return /*#__PURE__*/ E.createElement(e.type, { ref: o }, i);+function jl(e) {+ e.isLayoutDirty = !0, e.updateLayout();}-function xi(e, t) {- let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, E.forwardRef)((r, i) => {- let a = (0, E.useContext)(Qr);- if (!(0, E.useContext)(di)) {- if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");- return t(r, i);- }- return bi(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ E.createElement(Qr.Provider, { value: a }, /*#__PURE__*/ E.createElement(n, { node: e })));- });- return r.displayName = t.name, r;+function Ml(e) {+ e.isLayoutDirty = !1;}-function Si(e, t, n = Ci) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, E.forwardRef)((t, i) => bi(e, t, i, null, n(t), (e) => /*#__PURE__*/ E.createElement(r, { node: e })) ?? /*#__PURE__*/ E.createElement(E.Fragment, null));- return i.displayName = t.name, i;+function Nl(e) {+ e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);}-function Ci(e) {- return Mt({- ...e,- addIdAndValue: !0- });+function Pl(e) {+ let { visualElement: t } = e.options;+ t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-var wi = /*#__PURE__*/ (0, E.createContext)(null);-function Ti(e) {- let t = (0, E.useContext)(wi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Ci({- ...e,- idScope: r,- dependencies: n- });- return (0, E.useContext)(fi) && (i = /*#__PURE__*/ E.createElement(Ei, null, i)), t = (0, E.useMemo)(() => ({- dependencies: n,- idScope: r- }), [r, ...n]), /*#__PURE__*/ E.createElement(wi.Provider, { value: t }, i);+function Fl(e) {+ e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function Ei({ children: e }) {- let t = (0, E.useContext)(fi), n = (0, E.useMemo)(() => /*#__PURE__*/ E.createElement(fi.Provider, { value: null }, /*#__PURE__*/ E.createElement(di.Provider, { value: !0 }, e)), [e]);- return Kn() ? /*#__PURE__*/ E.createElement(vi.Provider, { value: t }, n) : /*#__PURE__*/ (0, li.createPortal)(n, t);+function Il(e) {+ e.resolveTargetDelta();}-//#endregion-//#region node_modules/react-aria/dist/private/utils/constants.mjs-var Di = "react-aria-clear-focus", Oi = "react-aria-focus";-//#endregion-//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function ki(e) {- let t = Mi(L(e));- t !== e && (t && Ai(t, e), e && ji(e, t));+function Ll(e) {+ e.calcProjection();}-function Ai(e, t) {- e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {- bubbles: !0,- relatedTarget: t- }));+function Rl(e) {+ e.resetSkewAndRotation();}-function ji(e, t) {- e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {- bubbles: !0,- relatedTarget: t- }));+function zl(e) {+ e.removeLeadSnapshot();}-function Mi(e) {- let t = Jt(e), n = t?.getAttribute("aria-activedescendant");- return n && e.getElementById(n) || t;+function Bl(e, t, n) {+ e.translate = or(t.translate, 0, n), e.scale = or(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-//#endregion-//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-function Ni(e) {- return _n() ? e.metaKey : e.ctrlKey;+function Vl(e, t, n, r) {+ e.min = or(t.min, n.min, r), e.max = or(t.max, n.max, r);}-var Pi = /* @__PURE__ */ new Set([- "checkbox",- "radio",- "range",- "color",- "file",- "image",- "button",- "submit",- "reset"-]);-function Fi(e) {- return e instanceof HTMLInputElement && !Pi.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;+function Hl(e, t, n, r) {+ Vl(e.x, t.x, n.x, r), Vl(e.y, t.y, n.y, r);}-//#endregion-//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var Ii = E.useInsertionEffect ?? cn;-function Li(e) {- let t = (0, E.useRef)(null);- return Ii(() => {- t.current = e;- }, [e]), (0, E.useCallback)((...e) => {- let n = t.current;- return n?.(...e);- }, []);+function Ul(e) {+ return e.animationValues && e.animationValues.opacityExit !== void 0;+}+var Wl = {+ duration: .45,+ ease: [+ .4,+ 0,+ .1,+ 1+ ]+}, Gl = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Kl = Gl("applewebkit/") && !Gl("chrome/") ? Math.round : Et;+function ql(e) {+ e.min = Kl(e.min), e.max = Kl(e.max);+}+function Jl(e) {+ ql(e.x), ql(e.y);+}+function Yl(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Nc(Qc(t), Qc(n), .2);+}+function Xl(e) {+ return e !== e.root && e.scroll?.wasRoot;}//#endregion-//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function Ri(e, t, n, r) {- let i = Li(n), a = n == null;+//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs+var Zl = wl({+ attachResizeListener: (e, t) => dl(e, "resize", t),+ measureScroll: () => ({+ x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,+ y: document.documentElement.scrollTop || document.body?.scrollTop || 0+ }),+ checkIsScrollRoot: () => !0+}), Ql = { current: void 0 }, $l = wl({+ measureScroll: (e) => ({+ x: e.scrollLeft,+ y: e.scrollTop+ }),+ defaultParent: () => {+ if (!Ql.current) {+ let e = new Zl({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), Ql.current = e;+ }+ return Ql.current;+ },+ resetTransform: (e, t) => {+ e.style.transform = t === void 0 ? "none" : t;+ },+ checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"+}), eu = (0, E.createContext)({+ transformPagePoint: (e) => e,+ isStatic: !1,+ reducedMotion: "never"+});+//#endregion+//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs+function tu(e = !0) {+ let t = (0, E.useContext)(_t);+ if (t === null) return [!0, null];+ let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, E.useId)();(0, E.useEffect)(() => {- if (!(a || e.current == null)) return Wt(e.current, t, i, r);- }, [- e,- t,+ if (e) return i(a);+ }, [e]);+ let o = (0, E.useCallback)(() => e && r && r(a), [+ a,r,- a+ e]);+ return !n && r ? [!1, o] : [!0];+}+//#endregion+//#region node_modules/framer-motion/dist/es/context/LazyContext.mjs+var nu = (0, E.createContext)({ strict: !1 }), ru = {+ animation: [+ "animate",+ "variants",+ "whileHover",+ "whileTap",+ "exit",+ "whileInView",+ "whileFocus",+ "whileDrag"+ ],+ exit: ["exit"],+ drag: ["drag", "dragControls"],+ focus: ["whileFocus"],+ hover: [+ "whileHover",+ "onHoverStart",+ "onHoverEnd"+ ],+ tap: [+ "whileTap",+ "onTap",+ "onTapStart",+ "onTapCancel"+ ],+ pan: [+ "onPan",+ "onPanStart",+ "onPanSessionStart",+ "onPanEnd"+ ],+ inView: [+ "whileInView",+ "onViewportEnter",+ "onViewportLeave"+ ],+ layout: ["layout", "layoutId"]+}, iu = !1;+function au() {+ if (iu) return;+ let e = {};+ for (let t in ru) e[t] = { isEnabled: (e) => ru[t].some((t) => !!e[t]) };+ bs(e), iu = !0;+}+function ou() {+ return au(), xs();+}+//#endregion+//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs+function su(e) {+ let t = ou();+ for (let n in e) t[n] = {+ ...t[n],+ ...e[n]+ };+ bs(t);}//#endregion-//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function zi(e, t) {- let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = Or(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- };+//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs+var cu = /* @__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 lu(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || cu.has(e);}//#endregion-//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var Bi = /* @__PURE__ */ new Set([- "Arab",- "Syrc",- "Samr",- "Mand",- "Thaa",- "Mend",- "Nkoo",- "Adlm",- "Rohg",- "Hebr"-]), Vi = /* @__PURE__ */ new Set([- "ae",- "ar",- "arc",- "bcc",- "bqi",- "ckb",- "dv",- "fa",- "glk",- "he",- "ku",- "mzn",- "nqo",- "pnb",- "ps",- "sd",- "ug",- "ur",- "yi"-]);-function Hi(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 Bi.has(t.script);+//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion+var uu = /* @__PURE__ */ v({ default: () => du }), du, fu = g((() => {+ throw du = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");+})), pu = (e) => !lu(e);+function mu(e) {+ typeof e == "function" && (pu = (t) => t.startsWith("on") ? !lu(t) : e(t));+}+try {+ mu((fu(), x(uu)).default);+} catch {}+function hu(e, t, n) {+ let r = {};+ for (let i in e) (i !== "values" || typeof e.values != "object") && (ja(e[i]) || (pu(i) || n === !0 && lu(i) || !t && !lu(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 gu({ children: e, isValidProp: t, ...n }) {+ t && mu(t);+ let r = (0, E.useContext)(eu);+ n = {+ ...r,+ ...n+ }, n.transition = ua(n.transition, r.transition), n.isStatic = ht(() => n.isStatic);+ let i = (0, E.useMemo)(() => n, [+ JSON.stringify(n.transition),+ n.transformPagePoint,+ n.reducedMotion,+ n.skipAnimations+ ]);+ return (0, D.jsx)(eu.Provider, {+ value: i,+ children: e+ });+}+//#endregion+//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs+var _u = /* @__PURE__ */ (0, E.createContext)({});+//#endregion+//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs+function vu(e, t) {+ if (ds(e)) {+ let { initial: t, animate: n } = e;+ return {+ initial: t === !1 || cs(t) ? t : void 0,+ animate: cs(n) ? n : void 0+ };}- let t = e.split("-")[0];- return Vi.has(t);+ return e.inherit === !1 ? {} : t;}//#endregion-//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Ui = Symbol.for("react-aria.i18n.locale");-function Wi() {- let e = typeof window < "u" && window[Ui] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";- try {- Intl.DateTimeFormat.supportedLocalesOf([e]);- } catch {- e = "en-US";+//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs+function yu(e) {+ let { initial: t, animate: n } = vu(e, (0, E.useContext)(_u));+ return (0, E.useMemo)(() => ({+ initial: t,+ animate: n+ }), [bu(t), bu(n)]);+}+function bu(e) {+ return Array.isArray(e) ? e.join(" ") : e;+}+//#endregion+//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs+var xu = () => ({+ style: {},+ transform: {},+ transformOrigin: {},+ vars: {}+});+//#endregion+//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs+function Su(e, t, n) {+ for (let r in t) !ja(t[r]) && !tc(r, n) && (e[r] = t[r]);+}+function Cu({ transformTemplate: e }, t) {+ return (0, E.useMemo)(() => {+ let n = xu();+ return Ys(n, t, e), Object.assign({}, n.vars, n.style);+ }, [t]);+}+function wu(e, t) {+ let n = e.style || {}, r = {};+ return Su(r, n, e), Object.assign(r, Cu(e, t)), r;+}+function Tu(e, t) {+ let n = {}, r = wu(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 Eu = () => ({+ ...xu(),+ attrs: {}+});+//#endregion+//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs+function Du(e, t, n, r) {+ let i = (0, E.useMemo)(() => {+ let n = Eu();+ return lc(n, t, dc(r), e.transformTemplate, e.style), {+ ...n.attrs,+ style: { ...n.style }+ };+ }, [t]);+ if (e.style) {+ let t = {};+ Su(t, e.style, e), i.style = {+ ...t,+ ...i.style+ };}+ return i;+}+//#endregion+//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs+var Ou = [+ "animate",+ "circle",+ "defs",+ "desc",+ "ellipse",+ "g",+ "image",+ "line",+ "filter",+ "marker",+ "mask",+ "metadata",+ "path",+ "pattern",+ "polygon",+ "polyline",+ "rect",+ "stop",+ "switch",+ "symbol",+ "svg",+ "text",+ "tspan",+ "use",+ "view"+];+//#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 : !!(Ou.indexOf(e) > -1 || /[A-Z]/u.test(e));+}+//#endregion+//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs+function Au(e, t, n, { latestValues: r }, i, a = !1, o) {+ let s = (o ?? ku(e) ? Du : Tu)(t, r, i, e), c = hu(t, typeof e == "string", a), l = e === E.Fragment ? {} : {+ ...c,+ ...s,+ ref: n+ }, { children: u } = t, d = (0, E.useMemo)(() => ja(u) ? u.get() : u, [u]);+ return (0, E.createElement)(e, {+ ...l,+ children: d+ });+}+//#endregion+//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs+function ju({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- locale: e,- direction: Hi(e) ? "rtl" : "ltr"+ latestValues: Mu(n, r, i, e),+ renderState: t()};}-var Gi = Wi(), Ki = /* @__PURE__ */ new Set();-function qi() {- Gi = Wi();- for (let e of Ki) e(Gi);+function Mu(e, t, n, r) {+ let i = {}, a = r(e, {});+ for (let e in a) i[e] = hl(a[e]);+ let { initial: o, animate: s } = e, c = ds(e), l = fs(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" && !ss(d)) {+ let t = Array.isArray(d) ? d : [d];+ for (let n = 0; n < t.length; n++) {+ let r = wa(e, t[n]);+ if (r) {+ let { transitionEnd: e, transition: t, ...n } = r;+ for (let e in n) {+ let t = n[e];+ if (Array.isArray(t)) {+ let e = u ? t.length - 1 : 0;+ t = t[e];+ }+ t !== null && (i[e] = t);+ }+ for (let t in e) i[t] = e[t];+ }+ }+ }+ return i;}-function Ji() {- let e = Kn(), [t, n] = (0, E.useState)(Gi);- return (0, E.useEffect)(() => (Ki.size === 0 && window.addEventListener("languagechange", qi), Ki.add(n), () => {- Ki.delete(n), Ki.size === 0 && window.removeEventListener("languagechange", qi);- }), []), e ? {- locale: typeof window < "u" && window[Ui] || "en-US",- direction: "ltr"- } : t;+var Nu = (e) => (t, n) => {+ let r = (0, E.useContext)(_u), i = (0, E.useContext)(_t), a = () => ju(e, t, r, i);+ return n ? a() : ht(a);+}, Pu = /*@__PURE__*/ Nu({+ scrapeMotionValuesFromProps: nc,+ createRenderState: xu+}), Fu = /*@__PURE__*/ Nu({+ scrapeMotionValuesFromProps: pc,+ createRenderState: Eu+}), Iu = Symbol.for("motionComponentSymbol");+//#endregion+//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs+function Lu(e, t, n) {+ let r = (0, E.useRef)(n);+ (0, E.useInsertionEffect)(() => {+ r.current = n;+ });+ let i = (0, E.useRef)(null);+ return (0, E.useCallback)((n) => {+ n && e.onMount?.(n), t && (n ? t.mount(n) : t.unmount());+ let a = r.current;+ if (typeof a == "function") {+ if (n) {+ let e = a(n);+ typeof e == "function" && (i.current = e);+ } else i.current ? (i.current(), i.current = null) : a(n);+ } else a && (a.current = n);+ }, [t]);}//#endregion-//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Yi = /*#__PURE__*/ E.createContext(null);-function Xi() {- let e = Ji();- return (0, E.useContext)(Yi) || e;+//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs+var Ru = (0, E.createContext)({});+//#endregion+//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs+function zu(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 Bu(e, t, n, r, i, a) {+ let { visualElement: o } = (0, E.useContext)(_u), s = (0, E.useContext)(nu), c = (0, E.useContext)(_t), l = (0, E.useContext)(eu), u = l.reducedMotion, d = l.skipAnimations, f = (0, E.useRef)(null), p = (0, E.useRef)(!1);+ r ||= s.renderer, !f.current && r && (f.current = r(e, {+ visualState: t,+ parent: o,+ props: n,+ presenceContext: c,+ blockInitialAnimation: c ? c.initial === !1 : !1,+ reducedMotionConfig: u,+ skipAnimations: d,+ isSVG: a+ }), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));+ let m = f.current, h = (0, E.useContext)(Ru);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Vu(f.current, n, i, h);+ let g = (0, E.useRef)(!1);+ (0, E.useInsertionEffect)(() => {+ m && g.current && m.update(n, c);+ });+ let _ = n[Fa], v = (0, E.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));+ return gt(() => {+ p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());+ }), (0, E.useEffect)(() => {+ m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {+ window.MotionHandoffMarkAsComplete?.(_);+ }), !1), m.enteringChildren = void 0);+ }), m;+}+function Vu(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 : Hu(e.parent)), e.projection.setOptions({+ layoutId: i,+ layout: a,+ alwaysMeasureLayout: !!o || s && zu(s),+ visualElement: e,+ animationType: typeof a == "string" ? a : "both",+ initialPromotionConfig: r,+ crossfade: d,+ layoutScroll: c,+ layoutRoot: l,+ layoutAnchor: u+ });+}+function Hu(e) {+ if (e) return e.options.allowProjection === !1 ? Hu(e.parent) : e.projection;+}+//#endregion+//#region node_modules/framer-motion/dist/es/motion/index.mjs+function Uu(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && su(r);+ let a = n ? n === "svg" : ku(e), o = a ? Fu : Pu;+ function s(n, s) {+ let c, l = {+ ...(0, E.useContext)(eu),+ ...n,+ layoutId: Wu(n)+ }, { isStatic: u } = l, d = yu(n), f = o(n, u);+ if (!u && typeof window < "u") {+ Gu(l, r);+ let t = Ku(l);+ c = t.MeasureLayout, d.visualElement = Bu(e, f, l, i, t.ProjectionNode, a);+ }+ return (0, D.jsxs)(_u.Provider, {+ value: d,+ children: [c && d.visualElement ? (0, D.jsx)(c, {+ visualElement: d.visualElement,+ ...l+ }) : null, Au(e, n, Lu(f, d.visualElement, s), f, u, t, a)]+ });+ }+ s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;+ let c = (0, E.forwardRef)(s);+ return c[Iu] = e, c;+}+function Wu({ layoutId: e }) {+ let t = (0, E.useContext)(mt).id;+ return t && e !== void 0 ? t + "-" + e : e;+}+function Gu(e, t) {+ (0, E.useContext)(nu).strict;+}+function Ku(e) {+ let { drag: t, layout: n } = ou();+ if (!t && !n) return {};+ let r = {+ ...t,+ ...n+ };+ return {+ MeasureLayout: t?.isEnabled(e) || n?.isEnabled(e) ? r.MeasureLayout : void 0,+ ProjectionNode: r.ProjectionNode+ };}//#endregion-//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Zi = Symbol.for("react-aria.i18n.locale"), Qi = Symbol.for("react-aria.i18n.strings"), $i = void 0, ea = class e {- constructor(e, t = "en-US") {- this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;+//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs+function qu(e, t) {+ if (typeof Proxy > "u") return Uu;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Uu(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Uu(a, void 0, e, t)), n.get(a)) });+}+//#endregion+//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs+var Ju = (e, t) => t.isSVG ?? ku(e) ? new mc(t) : new ic(t, { allowProjection: e !== E.Fragment }), Yu = class extends ws {+ constructor(e) {+ super(e), e.animationState ||= xc(e);}- getStringForLocale(e, t) {- let n = this.getStringsForLocale(t)[e];- if (!n) throw Error(`Could not find intl message ${e} in ${t} locale`);- return n;+ updateAnimationControlsSubscription() {+ let { animate: e } = this.node.getProps();+ ss(e) && (this.unmountControls = e.subscribe(this.node));}- getStringsForLocale(e) {- let t = this.strings[e];- return t || (t = ta(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ mount() {+ this.updateAnimationControlsSubscription();}- static getGlobalDictionaryForPackage(t) {- if (typeof window > "u") return null;- let n = window[Zi];- if ($i === void 0) {- let t = window[Qi];- if (!t) return null;- $i = {};- for (let r in t) $i[r] = new e({ [n]: t[r] }, n);- }- let r = $i?.[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;+ update() {+ let { animate: e } = this.node.getProps(), { animate: t } = this.node.prevProps || {};+ e !== t && this.updateAnimationControlsSubscription();}+ unmount() {+ this.node.animationState.reset(), this.unmountControls?.();+ }+}, Xu = 0, Zu = {+ animation: { Feature: Yu },+ exit: { Feature: class extends ws {+ constructor() {+ super(...arguments), this.id = Xu++, this.isExitComplete = !1;+ }+ update() {+ if (!this.node.presenceContext) return;+ let { isPresent: e, onExitComplete: t } = this.node.presenceContext, { isPresent: n } = this.node.prevPresenceContext || {};+ if (!this.node.animationState || e === n) return;+ if (e && n === !1) {+ if (this.isExitComplete) {+ let { initial: e, custom: t } = this.node.getProps();+ if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {+ let n = Ta(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]);+ }+ }+ this.node.animationState.reset(), this.node.animationState.animateChanges();+ } else this.node.animationState.setActive("exit", !1);+ this.isExitComplete = !1;+ return;+ }+ let r = this.node.animationState.setActive("exit", !e);+ t && !e && r.then(() => {+ this.isExitComplete = !0, t(this.id);+ });+ }+ mount() {+ let { register: e, onExitComplete: t } = this.node.presenceContext || {};+ t && t(this.id), e && (this.unmount = e(this.id));+ }+ unmount() {}+ } }};-function ta(e, t, n = "en-US") {- if (t[e]) return t[e];- let r = na(e), i = ra(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 na(e) {- return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];-}-function ra(e) {- if (Intl.Locale) return new Intl.Locale(e).script;-}//#endregion-//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var ia = /* @__PURE__ */ new Map(), aa = /* @__PURE__ */ new Map(), oa = class {- constructor(e, t) {- this.locale = e, this.strings = t;+//#region node_modules/framer-motion/dist/es/events/event-info.mjs+function Qu(e) {+ return { point: {+ x: e.pageX,+ y: e.pageY+ } };+}+var $u = (e) => (t) => xo(t) && e(t, Qu(t));+//#endregion+//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs+function ed(e, t, n, r) {+ return dl(e, t, $u(n), r);+}+//#endregion+//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs+var td = ({ current: e }) => e ? e.ownerDocument.defaultView : null, nd = (e, t) => Math.abs(e - t);+function rd(e, t) {+ let n = nd(e.x, t.x), r = nd(e.y, t.y);+ return Math.sqrt(n ** 2 + r ** 2);+}+//#endregion+//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs+var id = /*#__PURE__*/ new Set(["auto", "scroll"]), ad = 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);+ }, this.onWindowScroll = () => {+ this.handleScroll(window);+ }, this.updatePoint = () => {+ if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = od(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = cd(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = rd(e.offset, {+ x: 0,+ y: 0+ }) >= this.distanceThreshold;+ if (!t && !n) return;+ let { point: r } = e, { timestamp: i } = cn;+ this.history.push({+ ...r,+ timestamp: i+ });+ 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 = od(t, this.transformPagePoint), on.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 = cd(e.type === "pointercancel" ? this.lastMoveEventInfo : od(t, this.transformPagePoint), this.history);+ this.startEvent && n && n(e, a), r && r(e, a);+ }, !xo(e)) return;+ this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;+ let s = od(Qu(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = cn;+ this.history = [{+ ...c,+ timestamp: l+ }];+ let { onSessionStart: u } = t;+ u && u(e, cd(s, this.history));+ let d = {+ passive: !0,+ capture: !0+ };+ this.removeListeners = Dt(ed(this.contextWindow, "pointermove", this.handlePointerMove, d), ed(this.contextWindow, "pointerup", this.handlePointerUp, d), ed(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}- format(e, t) {- let n = this.strings.getStringForLocale(e, this.locale);- return typeof n == "function" ? n(t, this) : n;+ startScrollTracking(e) {+ let t = e.parentElement;+ for (; t;) {+ let e = getComputedStyle(t);+ (id.has(e.overflowX) || id.has(e.overflowY)) && this.scrollPositions.set(t, {+ x: t.scrollLeft,+ y: t.scrollTop+ }), t = t.parentElement;+ }+ this.scrollPositions.set(window, {+ x: window.scrollX,+ y: window.scrollY+ }), window.addEventListener("scroll", this.onElementScroll, { capture: !0 }), window.addEventListener("scroll", this.onWindowScroll), this.removeScrollListeners = () => {+ window.removeEventListener("scroll", this.onElementScroll, { capture: !0 }), window.removeEventListener("scroll", this.onWindowScroll);+ };}- plural(e, t, n = "cardinal") {- let r = t["=" + e];- if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = ia.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), ia.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ handleScroll(e) {+ let t = this.scrollPositions.get(e);+ if (!t) return;+ let n = e === window, r = n ? {+ x: window.scrollX,+ y: window.scrollY+ } : {+ x: e.scrollLeft,+ y: e.scrollTop+ }, i = {+ 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), on.update(this.updatePoint, !0));}- number(e) {- let t = aa.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), aa.set(this.locale, t)), t.format(e);+ updateHandlers(e) {+ this.handlers = e;}- select(e, t) {- let n = e[t] || e.other;- return typeof n == "function" ? n() : n;+ end() {+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), sn(this.updatePoint);}-}, sa = /* @__PURE__ */ new WeakMap();-function ca(e) {- let t = sa.get(e);- return t || (t = new ea(e), sa.set(e, t)), t;+};+function od(e, t) {+ return t ? { point: t(e.point) } : e;}-function la(e, t) {- return t && ea.getGlobalDictionaryForPackage(t) || ca(e);+function sd(e, t) {+ return {+ x: e.x - t.x,+ y: e.y - t.y+ };}-function ua(e, t) {- let { locale: n } = Xi(), r = la(e, t);- return (0, E.useMemo)(() => new oa(n, r), [n, r]);+function cd({ point: e }, t) {+ return {+ point: e,+ delta: sd(e, ud(t)),+ offset: sd(e, ld(t)),+ velocity: dd(t, .1)+ };}-//#endregion-//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var da = /* @__PURE__ */ new Set(["id"]), fa = /* @__PURE__ */ new Set([- "aria-label",- "aria-labelledby",- "aria-describedby",- "aria-details"-]), pa = /* @__PURE__ */ new Set([- "href",- "hrefLang",- "target",- "rel",- "download",- "ping",- "referrerPolicy"-]), ma = /* @__PURE__ */ new Set([- "dir",- "lang",- "hidden",- "inert",- "translate"-]), ha = /* @__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(".")), ga = /^(data-.*)$/;-function V(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) && (da.has(t) || n && fa.has(t) || r && pa.has(t) || i && ma.has(t) || a && (ha.has(t) || t.endsWith("Capture") && ha.has(t.slice(0, -7))) || o?.has(t) || ga.test(t)) && (s[t] = e[t]);- return s;+function ld(e) {+ return e[0];}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var _a = "default", va = "", ya = /* @__PURE__ */ new WeakMap();-function ba(e) {- if (bn() && Sn()) {- if (_a === "default") {- let t = L(e);- va = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- _a = "disabled";- } else if (e instanceof HTMLElement || e instanceof SVGElement) {- let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- ya.set(e, e.style[t]), e.style[t] = "none";- }+function ud(e) {+ return e[e.length - 1];}-function xa(e) {- if (bn() && Sn()) {- if (_a !== "disabled") return;- _a = "restoring", setTimeout(() => {- br(() => {- if (_a === "restoring") {- let t = L(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = va || ""), va = "", _a = "default";- }- });- }, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ya.has(e)) {- let t = ya.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ya.delete(e);- }+function dd(e, t) {+ if (e.length < 2) return {+ x: 0,+ y: 0+ };+ let n = e.length - 1, r = null, i = ud(e);+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ At(t)));) n--;+ if (!r) return {+ x: 0,+ y: 0+ };+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ At(t) * 2 && (r = e[1]);+ let a = /* @__PURE__ */ jt(i.timestamp - r.timestamp);+ if (a === 0) return {+ x: 0,+ y: 0+ };+ let o = {+ x: (i.x - r.x) / a,+ y: (i.y - r.y) / a+ };+ return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}//#endregion-//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function Sa(e, t) {- let n = zt(t), r = L(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;+//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs+function fd(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? or(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? or(n, e, r.max) : Math.min(e, n)), e;}-//#endregion-//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var Ca = /* @__PURE__ */ new WeakMap();-function wa(e) {- let t = L(e), n = Ca.get(t);- return n ??= Sa("csp-nonce", t), n !== void 0 && Ca.set(t, n), n;+function pd(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)+ };}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/context.mjs-var Ta = E.createContext({ register: () => {} });-Ta.displayName = "PressResponderContext";-//#endregion-//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function Ea() {- let e = (0, E.useRef)(/* @__PURE__ */ new Map()), t = (0, E.useCallback)((t, n, r, i) => {- let a = i?.once ? (...t) => {- e.current.delete(r), r(...t);- } : r;- e.current.set(r, {- type: n,- eventTarget: t,- fn: a,- options: i- }), t.addEventListener(n, a, i);- }, []), n = (0, E.useCallback)((t, n, r, i) => {- let a = e.current.get(r)?.fn || r;- t.removeEventListener(n, a, i), e.current.delete(r);- }, []), r = (0, E.useCallback)(() => {- e.current.forEach((e, t) => {- n(e.eventTarget, e.type, t, e.options);- });- }, [n]);- return (0, E.useEffect)(() => r, [r]), {- addGlobalListener: t,- removeGlobalListener: n,- removeAllGlobalListeners: r+function md(e, { top: t, left: n, bottom: r, right: i }) {+ return {+ x: pd(e.x, n, i),+ y: pd(e.y, t, r)};}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function Da(e) {- let t = (0, E.useContext)(Ta);- if (t) {- let { register: n, ref: r, ...i } = t;- e = B(i, e), n();- }- return Zr(t, e.ref), e;+function hd(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+ };}-var Oa = class {- #e;- constructor(e, t, n, r) {- this.#e = !0;- let i = (r?.target ?? n.currentTarget)?.getBoundingClientRect(), a, o = 0, s, c = null;- n.clientX != null && n.clientY != null && (s = n.clientX, c = n.clientY), i && (s != null && c != null ? (a = s - i.left, o = c - i.top) : (a = i.width / 2, o = i.height / 2)), this.type = e, this.pointerType = t, this.target = n.currentTarget, this.shiftKey = n.shiftKey, this.metaKey = n.metaKey, this.ctrlKey = n.ctrlKey, this.altKey = n.altKey, this.x = a, this.y = o, this.key = n.key;- }- continuePropagation() {- this.#e = !1;- }- get shouldStopPropagation() {- return this.#e;- }-}, ka = Symbol("linkClicked"), Aa = "react-aria-pressable-style", ja = "data-react-aria-pressable";-function Ma(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 } = Da(e), [m, h] = (0, E.useState)(!1), g = (0, E.useRef)({- isPressed: !1,- ignoreEmulatedMouseEvents: !1,- didFirePressStart: !1,- isTriggeringEvent: !1,- activePointerId: null,- target: null,- isOverTarget: !1,- pointerType: null,- disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Ea(), y = (0, E.useCallback)((e, t) => {- let i = g.current;- if (s || i.didFirePressStart) return !1;- let a = !0;- if (i.isTriggeringEvent = !0, r) {- let n = new Oa("pressstart", t, e);- r(n), a = n.shouldStopPropagation;- }- return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;- }, [- s,- r,- n- ]), b = (0, E.useCallback)((e, r, a = !0) => {- let o = g.current;- if (!o.didFirePressStart) return !1;- o.didFirePressStart = !1, o.isTriggeringEvent = !0;- let c = !0;- if (i) {- let t = new Oa("pressend", r, e);- i(t), c = t.shouldStopPropagation;- }- if (n && n(!1), h(!1), t && a && !s) {- let n = new Oa("press", r, e);- t(n), c &&= n.shouldStopPropagation;- }- return o.isTriggeringEvent = !1, c;- }, [- s,- i,- n,- t- ]), x = Li(b), S = Li((0, E.useCallback)((e, t) => {- let n = g.current;- if (s) return !1;- if (a) {- n.isTriggeringEvent = !0;- let r = new Oa("pressup", t, e);- return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;- }- return !0;- }, [s, a])), C = (0, E.useCallback)((e) => {- let t = g.current;- if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(Fa(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || xa(t.target);- for (let e of t.disposables) e();- t.disposables = [];- }- }, [- d,- v,- b- ]), w = Li(C);- (0, E.useEffect)(() => {- s && g.current.isPressed && w({- currentTarget: g.current.target,- shiftKey: !1,- ctrlKey: !1,- metaKey: !1,- altKey: !1- });- }, [s]);- let T = (0, E.useCallback)((e) => {- u && C(e);- }, [u, C]), D = (0, E.useCallback)((e) => {- s || o?.(e);- }, [s, o]), O = (0, E.useCallback)((e, t) => {- if (!s && o) {- let n = new MouseEvent("click", e);- un(n, t), o(ln(n));- }- }, [s, o]), k = (0, E.useMemo)(() => {- let e = g.current, t = {- onKeyDown(t) {- if (Pa(t.nativeEvent, t.currentTarget) && R(t.currentTarget, z(t))) {- La(z(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;- _(L(t.currentTarget), "keyup", Sr((t) => {- Pa(t, i) && !t.repeat && R(i, z(t)) && e.target && S(Fa(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && _n() && e.metaKeyEvents?.set(t.key, t.nativeEvent);- } else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());- },- onClick(t) {- if (!(t && !R(t.currentTarget, z(t))) && t && t.button === 0 && !e.isTriggeringEvent && !An.isOpening) {- let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || En(t.nativeEvent))) {- let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");- D(t), n = e && r && i;- } else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Fa(t.currentTarget, t), r), a = x(Fa(t.currentTarget, t), r, !0);- n = i && a, e.isOverTarget = !1, D(t), w(t);- }- e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();- }- }- }, n = (t) => {- if (e.isPressed && e.target && Pa(t, e.target)) {- La(z(t), t.key) && t.preventDefault();- let n = z(t), r = R(e.target, n);- x(Fa(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Na(e.target) && R(e.target, n) && !t[ka] && (t[ka] = !0, An(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;- for (let n of t.values()) e.target?.dispatchEvent(new KeyboardEvent("keyup", n));- }- };- if (typeof PointerEvent < "u") {- t.onPointerDown = (t) => {- if (t.button !== 0 || !R(t.currentTarget, z(t))) return;- if (Dn(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 || ba(e.target), i = y(t, e.pointerType);- let a = z(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(L(t.currentTarget), "pointerup", n, !1), _(L(t.currentTarget), "pointercancel", r, !1);- }- i && t.stopPropagation();- }, t.onMouseDown = (t) => {- if (R(t.currentTarget, z(t)) && t.button === 0) {- if (l) {- let n = pn(t.target);- n && e.disposables.push(n);- }- t.stopPropagation();- }- }, t.onPointerUp = (t) => {- !R(t.currentTarget, z(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(Fa(e.target, t), e.pointerType));- }, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Fa(e.target, t), e.pointerType, !1), T(t));- };- let n = (t) => {- if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (R(e.target, z(t)) && e.pointerType != null) {- let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Pt(e.target), e.target.click()));- }, 80);- _(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));- } else w(t);- e.isOverTarget = !1;- }- }, r = (e) => {- w(e);- };- t.onDragStart = (e) => {- R(e.currentTarget, z(e)) && w(e);- };- }- return t;- }, [- _,- s,- l,- v,- d,- T,- y,- D,- O- ]);- return (0, E.useEffect)(() => {- if (!f) return;- let e = L(f.current);- if (!e || !e.head || e.getElementById(Aa)) return;- let t = e.createElement("style");- t.id = Aa;- let n = wa(e);- n && (t.nonce = n), t.textContent = `-@layer {- [${ja}] {- touch-action: pan-x pan-y pinch-zoom;- }-}- `.trim(), e.head.prepend(t);- }, [f]), (0, E.useEffect)(() => {- let e = g.current;- return () => {- d || xa(e.target ?? void 0);- for (let t of e.disposables) t();- e.disposables = [];- };- }, [d]), {- isPressed: c || m,- pressProps: B(p, k, { [ja]: !0 })- };-}-function Na(e) {- return e.tagName === "A" && e.hasAttribute("href");-}-function Pa(e, t) {- let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof zt(i).HTMLInputElement && !za(i, n) || i instanceof zt(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Na(i)) && n !== "Enter");-}-function Fa(e, t) {- let n = t.clientX, r = t.clientY;+function gd(e, t) {return {- currentTarget: e,- shiftKey: t.shiftKey,- ctrlKey: t.ctrlKey,- metaKey: t.metaKey,- altKey: t.altKey,- clientX: n,- clientY: r,- key: t.key+ x: hd(e.x, t.x),+ y: hd(e.y, t.y)};}-function Ia(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Na(e);-}-function La(e, t) {- return _n() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !za(e, t) : Ia(e);+function _d(e, t) {+ let n = .5, r = Mc(e), i = Mc(t);+ return i > r ? n = /* @__PURE__ */ Ot(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Ot(e.min, e.max - i, t.min)), bt(0, 1, n);}-var Ra = /* @__PURE__ */ new Set([- "checkbox",- "radio",- "range",- "color",- "file",- "image",- "button",- "submit",- "reset"-]);-function za(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : Ra.has(e.type);+function vd(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;}-//#endregion-//#region node_modules/react-aria/dist/private/button/useButton.mjs-function Ba(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,- disabled: r,- form: e.form,- formAction: e.formAction,- formEncType: e.formEncType,- formMethod: e.formMethod,- formNoValidate: e.formNoValidate,- formTarget: e.formTarget,- name: e.name,- value: e.value- } : {- role: "button",- href: n === "a" && !r ? f : void 0,- target: n === "a" ? p : void 0,- type: n === "input" ? h : void 0,- disabled: n === "input" ? r : void 0,- "aria-disabled": !r || n === "input" ? void 0 : r,- rel: n === "a" ? m : void 0+var yd = .35;+function bd(e = yd) {+ return e === !1 ? e = 0 : e === !0 && (e = yd), {+ x: xd(e, "left", "right"),+ y: xd(e, "top", "bottom")};- let { pressProps: _, isPressed: v } = Ma({- onPressStart: a,- onPressEnd: o,- onPressChange: c,- onPress: i,- onPressUp: s,- onClick: d,- isDisabled: r,- preventFocusOnPress: l,- ref: t- }), { focusableProps: y } = ei(e, t);- u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = B(y, _, V(e, { labelable: !0 }));+}+function xd(e, t, n) {return {- isPressed: v,- buttonProps: B(g, b, {- "aria-haspopup": e["aria-haspopup"],- "aria-expanded": e["aria-expanded"],- "aria-controls": e["aria-controls"],- "aria-pressed": e["aria-pressed"],- "aria-current": e["aria-current"],- "aria-disabled": e["aria-disabled"]- })+ min: Sd(e, t),+ max: Sd(e, n)};}+function Sd(e, t) {+ return typeof e == "number" ? e : e[t] || 0;+}//#endregion-//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Va = class {- constructor(e, t, n, r) {- this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {- if (e.nodeType === Node.ELEMENT_NODE) {- let t = e.shadowRoot;- if (t) {- let e = this._doc.createTreeWalker(t, this.whatToShow, { acceptNode: this._acceptNode });- return this._walkerStack.unshift(e), NodeFilter.FILTER_ACCEPT;+//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs+var Cd = /* @__PURE__ */ new WeakMap(), wd = 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 = as(), 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(Qu(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 = go(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), el((e) => {+ let t = this.getAxisMotionValue(e).get() || 0;+ if (Fn.test(t)) {+ let { projection: n } = this.visualElement;+ if (n && n.layout) {+ let r = n.layout.layoutBox[e];+ r && (t = Mc(r) * (parseFloat(t) / 100));+ }}- if (typeof this.filter == "function") return this.filter(e);- if (this.filter?.acceptNode) return this.filter.acceptNode(e);- if (this.filter === null) return NodeFilter.FILTER_ACCEPT;+ this.originPoint[e] = t;+ }), i && on.update(() => i(e, t), !1, !0), Na(this.visualElement, "transform");+ let { animationState: a } = this.visualElement;+ a && a.setActive("whileDrag", !0);+ }, o = (e, t) => {+ this.latestPointerEvent = e, this.latestPanInfo = t;+ let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();+ if (!n && !this.openDragLock) return;+ let { offset: o } = t;+ if (r && this.currentDirection === null) {+ this.currentDirection = Od(o), this.currentDirection !== null && i && i(this.currentDirection);+ return;}- return NodeFilter.FILTER_SKIP;- }, this._doc = e, this.root = t, this.filter = r ?? null, this.whatToShow = n ?? NodeFilter.SHOW_ALL, this._currentNode = t, this._walkerStack.unshift(e.createTreeWalker(t, n, this._acceptNode));- let i = t.shadowRoot;- if (i) {- let e = this._doc.createTreeWalker(i, this.whatToShow, { acceptNode: this._acceptNode });- this._walkerStack.unshift(e);- }+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && on.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 = () => {+ let { dragSnapToOrigin: e } = this.getProps();+ (e || this.constraints) && this.startAnimation({+ x: 0,+ y: 0+ });+ }, { dragSnapToOrigin: l } = this.getProps();+ this.panSession = new ad(e, {+ onSessionStart: i,+ onStart: a,+ onMove: o,+ onSessionEnd: s,+ resumeAnimation: c+ }, {+ transformPagePoint: this.visualElement.getTransformPagePoint(),+ dragSnapToOrigin: l,+ distanceThreshold: n,+ contextWindow: td(this.visualElement),+ element: this.visualElement.current+ });}- get currentNode() {- return this._currentNode;+ stop(e, t) {+ let n = e || this.latestPointerEvent, r = t || this.latestPanInfo, i = this.isDragging;+ if (this.cancel(), !i || !r || !n) return;+ let { velocity: a } = r;+ this.startAnimation(a);+ let { onDragEnd: o } = this.getProps();+ o && on.postRender(() => o(n, r));+ }+ cancel() {+ this.isDragging = !1;+ let { projection: e, animationState: t } = this.visualElement;+ e && (e.isAnimationBlocked = !1), this.endPanSession();+ let { dragPropagation: n } = this.getProps();+ !n && this.openDragLock && (this.openDragLock(), this.openDragLock = null), t && t.setActive("whileDrag", !1);+ }+ endPanSession() {+ this.panSession && this.panSession.end(), this.panSession = void 0;+ }+ updateAxis(e, t, n) {+ let { drag: r } = this.getProps();+ if (!n || !Dd(e, r, this.currentDirection)) return;+ let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];+ this.constraints && this.constraints[e] && (a = fd(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 && zu(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? md(n.layoutBox, e) : !1, this.elastic = bd(t), r !== this.constraints && !zu(e) && n && this.constraints && !this.hasMutatedConstraints && el((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = vd(n.layoutBox[e], this.constraints[e]));+ });}- set currentNode(e) {- if (!R(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 });- t.push(i), i.currentNode = r, this._currentSetFor.add(i), n = r = e.host;- } else n = n.parentNode;- let i = this._doc.createTreeWalker(this.root, this.whatToShow, { acceptNode: this._acceptNode });- t.push(i), i.currentNode = r, this._currentSetFor.add(i), this._walkerStack = t;+ resolveRefConstraints() {+ let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();+ if (!e || !zu(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 = Gs(n, r.root, this.visualElement.getTransformPagePoint()), a = gd(r.layout.layoutBox, i);+ if (t) {+ let e = t(Es(a));+ this.hasMutatedConstraints = !!e, e && (a = Ts(e));+ }+ return a;}- get doc() {- return this._doc;+ startAnimation(e) {+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = el((o) => {+ if (!Dd(o, t, this.currentDirection)) return;+ let c = s && s[o] || {};+ (a === !0 || a === o) && (c = {+ min: 0,+ max: 0+ });+ let l = r ? 200 : 1e6, u = r ? 40 : 1e7, d = {+ type: "inertia",+ velocity: n ? e[o] : 0,+ bounceStiffness: l,+ bounceDamping: u,+ timeConstant: 750,+ restDelta: 1,+ restSpeed: 10,+ ...i,+ ...c+ };+ return this.startAxisValueAnimation(o, d);+ });+ return Promise.all(c).then(o);}- firstChild() {- let e = this.currentNode, t = this.nextNode();- return R(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ startAxisValueAnimation(e, t) {+ let n = this.getAxisMotionValue(e);+ return Na(this.visualElement, e), n.start(ya(e, n, 0, t, this.visualElement, !1));}- lastChild() {- let e = this._walkerStack[0].lastChild();- return e && (this.currentNode = e), e;+ stopAnimation() {+ el((e) => this.getAxisMotionValue(e).stop());}- nextNode() {- let e = this._walkerStack[0].nextNode();- if (e) {- if (e.shadowRoot) {- let t;- if (typeof this.filter == "function" ? t = this.filter(e) : this.filter?.acceptNode && (t = this.filter.acceptNode(e)), t === NodeFilter.FILTER_ACCEPT) return this.currentNode = e, e;- let n = this.nextNode();- return n && (this.currentNode = n), n;+ getAxisMotionValue(e) {+ let t = `_drag${e.toUpperCase()}`;+ return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);+ }+ snapToCursor(e) {+ el((t) => {+ let { drag: n } = this.getProps();+ if (!Dd(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] - or(n, a, .5) + o);}- return e && (this.currentNode = e), e;- }- if (this._walkerStack.length > 1) {- this._walkerStack.shift();- let e = this.nextNode();- return e && (this.currentNode = e), e;- }- return null;+ });}- previousNode() {- let e = this._walkerStack[0];- if (e.currentNode === e.root) {- if (this._currentSetFor.has(e)) {- if (this._currentSetFor.delete(e), this._walkerStack.length > 1) {- this._walkerStack.shift();- let e = this.previousNode();- return e && (this.currentNode = e), e;- }- return null;+ scalePositionWithinConstraints() {+ if (!this.visualElement.current) return;+ let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;+ if (!zu(t) || !n || !this.constraints) return;+ this.stopAnimation();+ let r = {+ x: 0,+ y: 0+ };+ el((e) => {+ let t = this.getAxisMotionValue(e);+ if (t && this.constraints !== !1) {+ let n = t.get();+ r[e] = _d({+ min: n,+ max: n+ }, this.constraints[e]);}- return null;- }- let t = e.previousNode();+ });+ 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(), el((t) => {+ if (!Dd(t, e, null)) return;+ let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];+ n.set(or(i, a, r[t]));+ }), this.visualElement.render();+ }+ addListeners() {+ if (!this.visualElement.current) return;+ Cd.set(this.visualElement, this);+ let e = this.visualElement.current, t = ed(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && To(i);+ n && r && !a && this.start(t);+ }), n, r = () => {+ let { dragConstraints: t } = this.getProps();+ zu(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ed(e, t.current, () => this.scalePositionWithinConstraints()));+ }, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), on.read(r);+ let o = dl(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (el((t) => {+ let n = this.getAxisMotionValue(t);+ n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));+ }), this.visualElement.render());+ }));+ return () => {+ o(), t(), a(), s && s(), n && n();+ };+ }+ getProps() {+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = yd, dragMomentum: o = !0 } = e;+ return {+ ...e,+ drag: t,+ dragDirectionLock: n,+ dragPropagation: r,+ dragConstraints: i,+ dragElastic: a,+ dragMomentum: o+ };+ }+};+function Td(e) {+ let t = !0;+ return () => {if (t) {- if (t.shadowRoot) {- let e;- if (typeof this.filter == "function" ? e = this.filter(t) : this.filter?.acceptNode && (e = this.filter.acceptNode(t)), e === NodeFilter.FILTER_ACCEPT) return t && (this.currentNode = t), t;- let n = this.lastChild();- return n && (this.currentNode = n), n;- }- return t && (this.currentNode = t), t;- }- if (this._walkerStack.length > 1) {- this._walkerStack.shift();- let e = this.previousNode();- return e && (this.currentNode = e), e;+ t = !1;+ return;}- return null;+ e();+ };+}+function Ed(e, t, n) {+ let r = qo(e, Td(n)), i = qo(t, Td(n));+ return () => {+ r(), i();+ };+}+function Dd(e, t, n) {+ return (t === !0 || t === e) && (n === null || n === e);+}+function Od(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 ws {+ constructor(e) {+ super(e), this.removeGroupControls = Et, this.removeListeners = Et, this.controls = new wd(e);}- nextSibling() {- return null;+ mount() {+ let { dragControls: e } = this.node.getProps();+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Et;}- previousSibling() {- return null;+ update() {+ let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};+ e !== t && (this.removeGroupControls(), e && (this.removeGroupControls = e.subscribe(this.controls)));}- parentNode() {+ unmount() {+ this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();+ }+}, Ad = (e) => (t, n) => {+ e && on.update(() => e(t, n), !1, !0);+}, jd = class extends ws {+ constructor() {+ super(...arguments), this.removePointerDownListener = Et;+ }+ onPointerDown(e) {+ this.session = new ad(e, this.createPanHandlers(), {+ transformPagePoint: this.node.getTransformPagePoint(),+ contextWindow: td(this.node)+ });+ }+ createPanHandlers() {+ let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();+ return {+ onSessionStart: Ad(e),+ onStart: Ad(t),+ onMove: Ad(n),+ onEnd: (e, t) => {+ delete this.session, r && on.postRender(() => r(e, t));+ }+ };+ }+ mount() {+ this.removePointerDownListener = ed(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ }+ update() {+ this.session && this.session.updateHandlers(this.createPanHandlers());+ }+ unmount() {+ this.removePointerDownListener(), this.session && this.session.end();+ }+}, Md = !1, Nd = class extends E.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), Md && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ this.safeToRemove();+ }), i.setOptions({+ ...i.options,+ layoutDependency: this.props.layoutDependency,+ onExitComplete: () => this.safeToRemove()+ })), _l.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+ }), Md = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || on.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(), fo.postRender(() => {+ !n.currentAnimation && n.isLead() && this.safeToRemove();+ }));+ }+ componentWillUnmount() {+ let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;+ Md = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ }+ safeToRemove() {+ let { safeToRemove: e } = this.props;+ e && e();+ }+ render() {return null;}};-function Ha(e, t, n, r) {- return qt() ? new Va(e, t, n, r) : e.createTreeWalker(t, n, r);+function Pd(e) {+ let [t, n] = tu(), r = (0, E.useContext)(mt);+ return (0, D.jsx)(Nd, {+ ...e,+ layoutGroup: r,+ switchLayoutGroup: (0, E.useContext)(Ru),+ isPresent: t,+ safeToRemove: n+ });}//#endregion-//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var Ua = /*#__PURE__*/ E.createContext(null), Wa = "react-aria-focus-scope-restore", Ga = null;-function Ka(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)([]), { parentNode: c } = (0, E.useContext)(Ua) || {}, l = (0, E.useMemo)(() => new ho({ scopeRef: s }), [s]);- cn(() => {- let e = c || go.root;- if (go.getTreeNode(e.scopeRef) && Ga && !ro(Ga, e.scopeRef)) {- let t = go.getTreeNode(Ga);- t && (e = t);- }- e.addChild(l), go.addNode(l);- }, [l, c]), cn(() => {- let e = go.getTreeNode(s);- e && (e.contain = !!n);- }, [n]), cn(() => {- let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(Wa, n), e = e.nextSibling;- return s.current = t, () => {- for (let e of t) e.removeEventListener(Wa, n);- };- }, [t]), co(s, r, n), Qa(s, n), uo(s, r, n), so(s, i), (0, E.useEffect)(() => {- let e = Jt(L(s.current ? s.current[0] : void 0)), t = null;- if (eo(e, s.current)) {- for (let n of go.traverse()) n.scopeRef && eo(e, n.scopeRef.current) && (t = n);- t === go.getTreeNode(s) && (Ga = t.scopeRef);- }- }, [s]), cn(() => () => {- let e = go.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === Ga || ro(s, Ga)) && (!e || go.getTreeNode(e)) && (Ga = e), go.removeTreeNode(s);- }, [s]);- let u = (0, E.useMemo)(() => qa(s), []), d = (0, E.useMemo)(() => ({- focusManager: u,- parentNode: l- }), [l, u]);- return /*#__PURE__*/ E.createElement(Ua.Provider, { value: d }, /*#__PURE__*/ E.createElement("span", {- "data-focus-scope-start": !0,- hidden: !0,- ref: a- }), t, /*#__PURE__*/ E.createElement("span", {- "data-focus-scope-end": !0,- hidden: !0,- ref: o- }));+//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs+var Fd = {+ pan: { Feature: jd },+ drag: {+ Feature: kd,+ ProjectionNode: $l,+ MeasureLayout: Pd+ }+};+//#endregion+//#region node_modules/framer-motion/dist/es/gestures/hover.mjs+function Id(e, t, n) {+ let { props: r } = e;+ e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");+ let i = r["onHover" + n];+ i && on.postRender(() => i(t, Qu(t)));}-function qa(e) {- return {- focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Jt(L(n[0] ?? void 0)), c = n[0].previousElementSibling, l = po(Ja(n), {- tabbable: i,- accept: o- }, n);- l.currentNode = eo(s, n) ? s : c;- let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && io(u, !0), u;- },- focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Jt(L(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = po(Ja(n), {- tabbable: i,- accept: o- }, n);- l.currentNode = eo(s, n) ? s : c;- let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && io(u, !0), u;- },- focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = po(Ja(n), {- tabbable: r,- accept: i- }, n);- a.currentNode = n[0].previousElementSibling;- let o = a.nextNode();- return o && io(o, !0), o;- },- focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = po(Ja(n), {- tabbable: r,- accept: i- }, n);- a.currentNode = n[n.length - 1].nextElementSibling;- let o = a.previousNode();- return o && io(o, !0), o;+var Ld = class extends ws {+ mount() {+ let { current: e } = this.node;+ e && (this.unmount = yo(e, (e, t) => (Id(this.node, t, "Start"), (e) => Id(this.node, e, "End"))));+ }+ unmount() {}+}, Rd = class extends ws {+ constructor() {+ super(...arguments), this.isActive = !1;+ }+ onFocus() {+ let e = !1;+ try {+ e = this.node.current.matches(":focus-visible");+ } catch {+ e = !0;}- };-}-function Ja(e) {- return e[0].parentElement;-}-function Ya(e) {- let t = go.getTreeNode(Ga);- for (; t && t.scopeRef !== e;) {- if (t.contain) return !1;- t = t.parent;+ !e || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !0), this.isActive = !0);}- return !0;+ onBlur() {+ !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);+ }+ mount() {+ this.unmount = Dt(dl(this.node.current, "focus", () => this.onFocus()), dl(this.node.current, "blur", () => this.onBlur()));+ }+ unmount() {}+};+//#endregion+//#region node_modules/framer-motion/dist/es/gestures/press.mjs+function zd(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 && on.postRender(() => i(t, Qu(t)));}-function Xa(e) {- if (!e.form) return Array.from(L(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = zt(e);- return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];+var Bd = class extends ws {+ mount() {+ let { current: e } = this.node;+ if (!e) return;+ let { globalTapTarget: t, propagate: n } = this.node.props;+ this.unmount = Mo(e, (e, t) => (zd(this.node, t, "Start"), (e, { success: t }) => zd(this.node, e, t ? "End" : "Cancel")), {+ useGlobalTarget: t,+ stopPropagation: n?.tap === !1+ });+ }+ unmount() {}+}, Vd = /* @__PURE__ */ new WeakMap(), Hd = /* @__PURE__ */ new WeakMap(), Ud = (e) => {+ let t = Vd.get(e.target);+ t && t(e);+}, Wd = (e) => {+ e.forEach(Ud);+};+function Gd({ root: e, ...t }) {+ let n = e || document;+ Hd.has(n) || Hd.set(n, {});+ let r = Hd.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Wd, {+ root: e,+ ...t+ })), r[i];}-function Za(e) {- if (e.checked) return !0;- let t = Xa(e);- return t.length > 0 && !t.some((e) => e.checked);+function Kd(e, t, n) {+ let r = Gd(t);+ return Vd.set(e, n), r.observe(e), () => {+ Vd.delete(e), r.unobserve(e);+ };}-function Qa(e, t) {- let n = (0, E.useRef)(void 0), r = (0, E.useRef)(void 0);- cn(() => {- let i = e.current;- if (!t) {- r.current &&= (cancelAnimationFrame(r.current), void 0);- return;- }- let a = L(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ya(e) || t.isComposing) return;- let n = Jt(a), r = e.current;- if (!r || !eo(n, r)) return;- let i = po(Ja(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 && (io(o, !0), o instanceof zt(o).HTMLInputElement && o.select());- }, s = (t) => {- (!Ga || ro(Ga, e)) && eo(z(t), e.current) ? (Ga = e, n.current = z(t)) : Ya(e) && !to(z(t), e) ? n.current ? io(n.current) : Ga && Ga.current && oo(Ga.current) : Ya(e) && (n.current = z(t));- }, c = (t) => {- r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = ur(), i = (r === "virtual" || r === null) && wn() && Cn(), o = Jt(a);- if (!i && o && Ya(e) && !to(o, e)) {- Ga = e;- let r = z(t);- r && r.isConnected ? (n.current = r, io(n.current)) : Ga.current && oo(Ga.current);- }- });+//#endregion+//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs+var qd = {+ some: 0,+ all: 1+}, Jd = class extends ws {+ constructor() {+ super(...arguments), this.hasEnteredView = !1, this.isInView = !1;+ }+ startObserver() {+ this.stopObserver?.();+ 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 : qd[r]+ }, o = (e) => {+ let { isIntersecting: t } = e;+ if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;+ t && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", t);+ let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;+ a && a(e);};- 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));+ this.stopObserver = Kd(this.node.current, a, o);+ }+ mount() {+ this.startObserver();+ }+ update() {+ if (typeof IntersectionObserver > "u") return;+ let { props: e, prevProps: t } = this.node;+ [+ "amount",+ "margin",+ "root"+ ].some(Yd(e, t)) && this.startObserver();+ }+ unmount() {+ this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;+ }+};+function Yd({ viewport: e = {} }, { viewport: t = {} } = {}) {+ return (n) => e[n] !== t[n];+}+//#endregion+//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs+var Xd = {+ inView: { Feature: Jd },+ tap: { Feature: Bd },+ focus: { Feature: Rd },+ hover: { Feature: Ld }+}, Zd = { layout: {+ ProjectionNode: $l,+ MeasureLayout: Pd+} }, Qd = /*@__PURE__*/ qu({+ ...Zu,+ ...Xd,+ ...Fd,+ ...Zd+}, Ju);+//#endregion+//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs+function $d(e, t, n) {+ (0, E.useInsertionEffect)(() => e.on(t, n), [+ e,+ t,+ n+ ]);+}+//#endregion+//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs+function ef(e) {+ let t = ht(() => la(e)), { isStatic: n } = (0, E.useContext)(eu);+ if (n) {+ let [, n] = (0, E.useState)(e);+ (0, E.useEffect)(() => t.on("change", n), []);+ }+ return t;+}+//#endregion+//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs+function tf(e, t) {+ let n = ef(t()), r = () => n.set(t());+ return r(), gt(() => {+ let t = () => on.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));+ return () => {+ n.forEach((e) => e()), sn(r);};- }, [e, t]), cn(() => () => {- r.current && cancelAnimationFrame(r.current);- }, [r]);+ }), n;}-function $a(e) {- return to(e);+//#endregion+//#region node_modules/framer-motion/dist/es/value/use-computed.mjs+function nf(e) {+ sa.current = [], e();+ let t = tf(sa.current, e);+ return sa.current = void 0, t;}-function eo(e, t) {- return !e || !t ? !1 : t.some((t) => R(t, e));+//#endregion+//#region node_modules/framer-motion/dist/es/value/use-transform.mjs+function rf(e, t, n, r) {+ if (typeof e == "function") return nf(e);+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return of(e, t, n, r);+ let i = typeof t == "function" ? t : Xo(t, n, r), a = Array.isArray(e) ? af(e, i) : af([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,+ keyframes: n,+ isTransformed: !0,+ ...r?.ease ? { ease: r.ease } : {}+ }), a;+}+function af(e, t) {+ let n = ht(() => []);+ return tf(e, () => {+ n.length = 0;+ let r = e.length;+ for (let t = 0; t < r; t++) n[t] = e[t].get();+ return t(n);+ });+}+function of(e, t, n, r) {+ let i = ht(() => Object.keys(n)), a = ht(() => ({}));+ for (let o of i) a[o] = rf(e, t, n[o], r);+ return a;}-function to(e, t = null) {- if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of go.traverse(go.getTreeNode(t))) if (n && eo(e, n.current)) return !0;- return !1;+//#endregion+//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs+function sf(e, t = {}) {+ let { isStatic: n } = (0, E.useContext)(eu), r = () => ja(e) ? e.get() : e;+ if (n) return rf(r);+ let i = ef(r());+ return (0, E.useInsertionEffect)(() => Zo(i, e, t), [i, JSON.stringify(t)]), i;}-function no(e) {- return to(e, Ga);+//#endregion+//#region node_modules/framer-motion/dist/es/value/use-spring.mjs+function cf(e, t = {}) {+ return sf(e, {+ type: "spring",+ ...t+ });}-function ro(e, t) {- let n = go.getTreeNode(t)?.parent;- for (; n;) {- if (n.scopeRef === e) return !0;- n = n.parent;- }- return !1;+//#endregion+//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs+function lf() {+ !hs.current && _s();+ let [e] = (0, E.useState)(ms.current);+ return e;}-function io(e, t = !1) {- if (e != null && !t) try {- xr(e);- } catch {}- else if (e != null) try {- e.focus();- } catch {}-}-function ao(e, t = !0) {- let n = e[0].previousElementSibling, r = Ja(e), i = po(r, { tabbable: t }, e);- i.currentNode = n;- let a = i.nextNode();- return t && !a && (r = Ja(e), i = po(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;-}-function oo(e, t = !0) {- io(ao(e, t));-}-function so(e, t) {- let n = E.useRef(t);- (0, E.useEffect)(() => {- n.current && (Ga = e, !eo(Jt(L(e.current ? e.current[0] : void 0)), Ga.current) && e.current && oo(e.current)), n.current = !1;- }, [e]);-}-function co(e, t, n) {- cn(() => {- if (t || n) return;- let r = e.current, i = L(r ? r[0] : void 0), a = (t) => {- let n = z(t);- eo(n, e.current) ? Ga = e : $a(n) || (Ga = 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));- };- }, [- e,- t,- n- ]);-}-function lo(e) {- let t = go.getTreeNode(Ga);- for (; t && t.scopeRef !== e;) {- if (t.nodeToRestore) return !1;- t = t.parent;+//#endregion+//#region node_modules/motion/dist/es/react.mjs+var uf = Qd, df = 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;}- return t?.scopeRef === e;-}-function uo(e, t, n) {- let r = (0, E.useRef)(typeof document < "u" ? Jt(L(e.current ? e.current[0] : void 0)) : null);- cn(() => {- let r = e.current, i = L(r ? r[0] : void 0);- if (!t || n) return;- let a = () => {- (!Ga || ro(Ga, e)) && eo(Jt(i), e.current) && (Ga = 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]), cn(() => {- let r = L(e.current ? e.current[0] : void 0);- if (!t) return;- let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ya(e) || t.isComposing) return;- let n = r.activeElement;- if (!to(n, e) || !lo(e)) return;- let i = go.getTreeNode(e);- if (!i) return;- let a = i.nodeToRestore, o = po(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 || !to(s, e)) && a) {- o.currentNode = a;- do- s = t.shiftKey ? o.previousNode() : o.nextNode();- while (to(s, e));- t.preventDefault(), t.stopPropagation(), s ? io(s, !0) : $a(a) ? io(a, !0) : n.blur();- }- };- return n || r.addEventListener("keydown", i, !0), () => {- n || r.removeEventListener("keydown", i, !0);- };- }, [- e,- t,- n- ]), cn(() => {- let n = L(e.current ? e.current[0] : void 0);- if (!t) return;- let i = go.getTreeNode(e);- if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = go.getTreeNode(e);- if (!r) return;- let i = r.nodeToRestore, a = Jt(n);- if (t && i && (a && to(a, e) || a === n.body && lo(e))) {- let t = go.clone();- requestAnimationFrame(() => {- if (n.activeElement === n.body) {- let n = t.getTreeNode(e);- for (; n;) {- if (n.nodeToRestore && n.nodeToRestore.isConnected) {- fo(n.nodeToRestore);- return;- }- n = n.parent;- }- for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && go.getTreeNode(n.scopeRef)) {- let e = ao(n.scopeRef.current, !0);- if (e) {- fo(e);- return;- }- }- n = n.parent;- }- }- });- }- };- }, [e, t]);-}-function fo(e) {- e.dispatchEvent(new CustomEvent(Wa, {- bubbles: !0,- cancelable: !0- })) && io(e);-}-function po(e, t, n) {- let r = t?.tabbable ? on : an, i = L(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Ha(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return R(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Za(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || eo(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;- } });- return t?.from && (a.currentNode = t.from), a;-}-var mo = class e {- constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new ho({ scopeRef: null }), this.fastMap.set(null, this.root);+ get childNodes() {+ throw Error("childNodes is not supported");}- get size() {- return this.fastMap.size;+ clone() {+ let e = new this.constructor(this.key);+ return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;}- getTreeNode(e) {- return this.fastMap.get(e);+ filter(e, t, n) {+ let r = this.clone();+ return t.addDescendants(r, e), r;}- addTreeNode(e, t, n) {- let r = this.fastMap.get(t ?? null);- if (!r) return;- let i = new ho({ scopeRef: e });- r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);+}, ff = class extends df {+ filter(e, t, n) {+ let [r, i] = gf(e, t, this.firstChildKey, n), a = this.clone();+ return a.firstChildKey = r, a.lastChildKey = i, a;}- addNode(e) {- this.fastMap.set(e.scopeRef, e);+};+(class extends df {+ static {+ this.type = "header";}- removeTreeNode(e) {- if (e === null) return;- 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 && eo(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);+});+var pf = class extends df {+ static {+ this.type = "loader";}- *traverse(e = this.root) {- if (e.scopeRef != null && (yield e), e.children.size > 0) for (let t of e.children) yield* this.traverse(t);+}, mf = class extends ff {+ static {+ this.type = "item";}- clone() {- let t = new e();- for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);- return t;+ filter(e, t, n) {+ if (n(this.textValue, this)) {+ let n = this.clone();+ return t.addDescendants(n, e), n;+ }+ return null;}-}, ho = class {- constructor(e) {- this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;+};+(class extends ff {+ static {+ this.type = "section";}- addChild(e) {- this.children.add(e), e.parent = this;+ filter(e, t, n) {+ let r = super.filter(e, t, n);+ if (r && r.lastChildKey !== null) {+ let t = e.getItem(r.lastChildKey);+ if (t && t.type !== "header") return r;+ }+ return null;}- removeChild(e) {- this.children.delete(e), e.parent = void 0;+});+var hf = class {+ get size() {+ return this.itemCount;}-}, go = new mo(), _o = 7e3, vo = null;-function yo(e, t = "assertive", n = _o) {- vo ? vo.announce(e, t, n) : (vo = new bo(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? vo.announce(e, t, n) : setTimeout(() => {- vo?.isAttached() && vo?.announce(e, t, n);- }, 100));-}-var bo = 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,- clip: "rect(0 0 0 0)",- clipPath: "inset(50%)",- height: "1px",- margin: "-1px",- overflow: "hidden",- padding: 0,- position: "absolute",- width: "1px",- whiteSpace: "nowrap"- }), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));+ getKeys() {+ return this.keyMap.keys();}- isAttached() {- return this.node?.isConnected;+ *[Symbol.iterator]() {+ let e = this.firstKey == null ? void 0 : this.keyMap.get(this.firstKey);+ for (; e;) yield e, e = e.nextKey == null ? void 0 : this.keyMap.get(e.nextKey);}- createLog(e) {- let t = document.createElement("div");- return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;+ getChildren(e) {+ let t = this.keyMap;+ return { *[Symbol.iterator]() {+ let n = t.get(e), r = n?.firstChildKey == null ? null : t.get(n.firstChildKey);+ for (; r;) yield r, r = r.nextKey == null ? void 0 : t.get(r.nextKey);+ } };}- destroy() {- this.node &&= (document.body.removeChild(this.node), null);+ getKeyBefore(e) {+ let t = this.keyMap.get(e);+ if (!t) return null;+ if (t.prevKey != null) {+ for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null;) t = this.keyMap.get(t.lastChildKey);+ return t?.key ?? null;+ }+ return t.parentKey;}- announce(e, t = "assertive", n = _o) {- 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(() => {- r.remove();- }, n);+ getKeyAfter(e) {+ let t = this.keyMap.get(e);+ if (!t) return null;+ if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;+ for (; t;) {+ if (t.nextKey != null) return t.nextKey;+ if (t.parentKey != null) t = this.keyMap.get(t.parentKey);+ else return null;+ }+ return null;}- clear(e) {- this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));+ getFirstKey() {+ return this.firstKey;}-};-//#endregion-//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function xo(e, t) {- let n = (0, E.useRef)(!0), r = (0, E.useRef)(null), i = Li(e);- (0, E.useEffect)(() => (n.current = !0, () => {- n.current = !1;- }), []), (0, E.useEffect)(() => {- let e = r.current;- n.current ? n.current = !1 : (!e || t.some((t, n) => !Object.is(t, e[n]))) && i(), r.current = t;- }, t);-}-//#endregion-//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function So(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 Co(e, t) {- let n = e;- for (So(n, t) && (n = n.parentElement); n && !So(n, t);) n = n.parentElement;- return n || document.scrollingElement || document.documentElement;-}-//#endregion-//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function wo(e, t) {- let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (So(e, t) && n.push(e), e !== r);) e = e.parentElement;- return n;-}-//#endregion-//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function To(e, t, n = {}) {- e !== t && Eo(e, t, t.getBoundingClientRect(), n);-}-function Eo(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, ee = e === d ? 0 : D + O, te = e === d ? 0 : T + E, N = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - te, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;- bn() && Sn() || u.direction === "ltr" ? ie -= N : u.direction === "rtl" && (F += N);- let ae = k < ne || A > re, oe = j < F || M > ie;- if (ae && i === "start") o += k - ne;- else if (ae && i === "center") o += (k + A) / 2 - (ne + re) / 2;- else if (ae && i === "end") o += A - re;- else if (ae && i === "nearest") {- let e = k - ne, t = A - re;- o += Math.abs(e) <= Math.abs(t) ? e : t;+ getLastKey() {+ let e = this.lastKey == null ? null : this.keyMap.get(this.lastKey);+ for (; e?.lastChildKey != null;) e = this.keyMap.get(e.lastChildKey);+ return e?.key ?? null;}- if (oe && a === "start") s += j - F;- else if (oe && a === "center") s += (j + M) / 2 - (F + ie) / 2;- else if (oe && a === "end") s += M - ie;- else if (oe && a === "nearest") {- let e = j - F, t = M - ie;- s += Math.abs(e) <= Math.abs(t) ? e : t;+ getItem(e) {+ return this.keyMap.get(e) ?? null;}- e.scrollTo({- left: s,- top: o- });-}-function Do(e, t = {}) {- let { containingElement: n } = t;- if (e && e.isConnected) {- let t = document.scrollingElement || document.documentElement;- if (window.getComputedStyle(t).overflow !== "hidden") {- let { left: t, top: r } = e.getBoundingClientRect();- e?.scrollIntoView?.({ block: "nearest" });- let { left: i, top: a } = e.getBoundingClientRect();- (Math.abs(t - i) > 1 || Math.abs(r - a) > 1) && (n?.scrollIntoView?.({- block: "center",- inline: "center"- }), e.scrollIntoView?.({ block: "nearest" }));- } else {- let { left: t, top: r } = e.getBoundingClientRect(), i = wo(e, !0);- for (let t of i) To(t, e);- let { left: a, top: o } = e.getBoundingClientRect();- if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? wo(n, !0) : [];- for (let e of i) To(e, n, {- block: "center",- inline: "center"- });- for (let t of wo(e, !0)) To(t, e);- }- }+ at() {+ throw Error("Not implemented");}-}-//#endregion-//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var Oo = 0, ko = /* @__PURE__ */ new Map();-function Ao(e) {- let [t, n] = (0, E.useState)();- return cn(() => {- if (!e) return;- let t = ko.get(e);- if (t) n(t.element.id);- else {- let r = `react-aria-description-${Oo++}`;- 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- }, ko.set(e, t);- }- return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), ko.delete(e));- };- }, [e]), { "aria-describedby": e ? t : void 0 };-}-//#endregion-//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function jo(e, t, n) {- let r = Li((e) => {- n && !e.defaultPrevented && n(t);- });- (0, E.useEffect)(() => {- let t = e?.current?.form;- return t?.addEventListener("reset", r), () => {- t?.removeEventListener("reset", r);- };- }, [e]);-}-//#endregion-//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function Mo(e, t, n) {- let { validationBehavior: r, focus: i } = e;- cn(() => {- 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(Po(n.current));- }- });- let a = (0, E.useRef)(!1), o = Li(() => {- a.current || t.resetValidation();- }), s = Li((e) => {- t.displayValidation.isInvalid || t.commitValidation();- let r = n?.current?.form;- !e.defaultPrevented && n && r && Fo(r) === n.current && (i ? i() : n.current?.focus(), dr("keyboard")), e.preventDefault();- }), c = Li(() => {- t.commitValidation();- });- (0, E.useEffect)(() => {- let e = n?.current;- if (!e) return;- let t = e.form, r = t?.reset;- return t && (t.reset = () => {- a.current = !window.event || window.event.type === "message" && z(window.event) instanceof MessagePort, r?.call(t), a.current = !1;- }), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {- e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);- };- }, [n, r]);-}-function No(e) {- let t = e.validity;- return {- badInput: t.badInput,- customError: t.customError,- patternMismatch: t.patternMismatch,- rangeOverflow: t.rangeOverflow,- rangeUnderflow: t.rangeUnderflow,- stepMismatch: t.stepMismatch,- tooLong: t.tooLong,- tooShort: t.tooShort,- typeMismatch: t.typeMismatch,- valueMissing: t.valueMissing,- valid: t.valid- };-}-function Po(e) {- return {- isInvalid: !e.validity.valid,- validationDetails: No(e),- validationErrors: e.validationMessage ? [e.validationMessage] : []- };-}-function Fo(e) {- for (let t = 0; t < e.elements.length; t++) {- let n = e.elements[t];- if (n.validity?.valid === !1) return n;+ clone() {+ let e = this.constructor, t = new e();+ return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;}- return null;-}-//#endregion-//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function Io(e = !0) {- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {- r.current = !0, n(!!e);- }, []);- return cn(() => {- r.current || n(!1);- }, []), [i, t];-}-function Lo(e = !0) {- let t = Or(), [n, r] = Io(e);- return {- id: r ? t : void 0,- ref: n- };-}-//#endregion-//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var Ro = {- badInput: !1,- customError: !1,- patternMismatch: !1,- rangeOverflow: !1,- rangeUnderflow: !1,- stepMismatch: !1,- tooLong: !1,- tooShort: !1,- typeMismatch: !1,- valueMissing: !1,- valid: !0-}, zo = {- ...Ro,- customError: !0,- valid: !1-}, Bo = {- isInvalid: !1,- validationDetails: Ro,- validationErrors: []-}, H = (0, E.createContext)({}), Vo = "__reactAriaFormValidationState";-function Ho(e) {- if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Vo];- return {- realtimeValidation: t,- displayValidation: n,- updateValidation: r,- resetValidation: i,- commitValidation: a- };+ addNode(e) {+ if (this.frozen) throw Error("Cannot add a node to a frozen collection");+ e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);}- return Uo(e);-}-function Uo(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: zo- }, l = (0, E.useMemo)(() => !o || i == null ? null : Ko(Go(o, i)), [o, i]);- a?.validationDetails.valid && (a = void 0);- let u = (0, E.useContext)(H), d = (0, E.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Wo(u[e])) : Wo(u[r]) : [], [u, r]), [f, p] = (0, E.useState)(u), [m, h] = (0, E.useState)(!1);- u !== f && (p(u), h(!1));- let g = (0, E.useMemo)(() => Ko(m ? [] : d), [m, d]), _ = (0, E.useRef)(Bo), [v, y] = (0, E.useState)(Bo), b = (0, E.useRef)(Bo), x = () => {- if (!S) return;- C(!1);- let e = l || a || _.current;- qo(e, b.current) || (b.current = e, y(e));- }, [S, C] = (0, E.useState)(!1);- return (0, E.useEffect)(x), {- realtimeValidation: c || g || l || a || Bo,- displayValidation: s === "native" ? c || g || v : c || g || l || a || v,- updateValidation(e) {- s === "aria" && !qo(v, e) ? y(e) : _.current = e;- },- resetValidation() {- let e = Bo;- qo(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);- },- commitValidation() {- s === "native" && C(!0), h(!0);- }- };-}-function Wo(e) {- return e ? Array.isArray(e) ? e : [e] : [];-}-function Go(e, t) {- if (typeof e == "function") {- let n = e(t);- if (n && typeof n != "boolean") return Wo(n);+ addDescendants(e, t) {+ this.addNode(e);+ let n = t.getChildren(e.key);+ for (let e of n) this.addDescendants(e, t);}- return [];-}-function Ko(e) {- return e.length ? {- isInvalid: !0,- validationErrors: e,- validationDetails: zo- } : null;-}-function qo(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);+ removeNode(e) {+ if (this.frozen) throw Error("Cannot remove a node to a frozen collection");+ let t = this.keyMap.get(e);+ t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);+ }+ commit(e, t, n = !1) {+ if (this.frozen) throw Error("Cannot commit a frozen collection");+ this.firstKey = e, this.lastKey = t, this.frozen = !n;+ }+ filter(e) {+ let t = new this.constructor(), [n, r] = gf(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 gf(e, t, n, r) {+ if (n == null) return [null, null];+ let i = null, a = null, o = e.getItem(n);+ for (; o != null;) {+ let n = o.filter(e, t, r);+ n != null && (n.nextKey = null, a && (n.prevKey = a.key, a.nextKey = n.key), i ??= n, t.addNode(n), a = n), o = o.nextKey == null ? null : e.getItem(o.nextKey);+ }+ if (a && a.type === "separator") {+ let e = a.prevKey;+ t.removeNode(a.key), e == null ? a = null : (a = t.getItem(e), a.nextKey = null);+ }+ return [i?.key ?? null, a?.key ?? null];}//#endregion-//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs-function Jo(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 = Ho({- ...e,- value: t.isSelected- }), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- Mo(e, b, n);- let w = (e) => {- e.stopPropagation(), t.setSelected(z(e).checked);- }, { pressProps: T, isPressed: D } = Ma({- onPressStart: m,- onPressEnd: h,- onPressChange: g,- onPress: _,- onPressUp: v,- onClick: y,- isDisabled: r- }), [O, k] = (0, E.useState)(!1), { pressProps: A } = Ma({- onPressStart(e) {- if (e.pointerType === "keyboard" || e.pointerType === "virtual") {- e.continuePropagation();- return;- }- m?.(e), g?.(!0), k(!0);- },- onPressEnd(e) {- if (e.pointerType === "keyboard" || e.pointerType === "virtual") {- e.continuePropagation();- return;- }- h?.(e), g?.(!1), k(!1);- },- onPressUp(e) {- if (e.pointerType === "keyboard" || e.pointerType === "virtual") {- e.continuePropagation();- return;- }- v?.(e);- },- onClick: y,- onPress(r) {- if (r.pointerType === "keyboard" || r.pointerType === "virtual") {- r.continuePropagation();- return;- }- _?.(r), t.toggle(), n.current?.focus();- let { [Vo]: i } = e, { commitValidation: a } = i || b;- a();- },- isDisabled: r || i- }), { focusableProps: j } = ei(e, n), M = B(T, j), ee = V(e, { labelable: !0 });- jo(n, t.defaultSelected, t.setSelected);- let te = Lo(), N = Lo();- return {- labelProps: B(A, { onClick: (e) => e.preventDefault() }),- inputProps: B(ee, {- checked: t.isSelected,- "aria-required": l && u === "aria" || void 0,- required: l && u === "native",- "aria-invalid": x || e.validationState === "invalid" || void 0,- "aria-errormessage": e["aria-errormessage"],- "aria-controls": e["aria-controls"],- "aria-readonly": i || void 0,- "aria-describedby": [- te.id,- N.id,- p- ].filter(Boolean).join(" ") || void 0,- onChange: w,- disabled: r,- ...a == null ? {} : { value: a },- name: o,- form: s,- type: "checkbox",- ...M- }),- descriptionProps: te,- errorMessageProps: N,- isSelected: t.isSelected,- isPressed: D || O,- isDisabled: r,- isReadOnly: i,- isInvalid: x || e.validationState === "invalid",- validationErrors: S,- validationDetails: C- };-}-//#endregion-//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function Yo(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 } = Jo(e, t, n), { isIndeterminate: m } = e;- return (0, E.useEffect)(() => {- n.current && (n.current.indeterminate = !!m);- }), {- labelProps: B(r, (0, E.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),- inputProps: i,- descriptionProps: a,- errorMessageProps: o,- isSelected: s,- isPressed: c,- isDisabled: l,- isReadOnly: u,- isInvalid: d,- validationErrors: f,- validationDetails: p- };-}-//#endregion-//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var Xo = /* @__PURE__ */ new WeakMap();-//#endregion-//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function Zo(e) {- let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = Or(t);- let o = Or(), s = {};- n && (r = r ? `${o} ${r}` : o, s = {- id: o,- htmlFor: a === "label" ? t : void 0- });- let c = zi({- id: t,- "aria-label": i,- "aria-labelledby": r- });- return {- labelProps: s,- fieldProps: c- };-}-//#endregion-//#region node_modules/react-aria/dist/private/label/useField.mjs-function Qo(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Zo(e), s = Ar([- !!t,- !!n,- r,- i- ]), c = Ar([- !!t,- !!n,- r,- i- ]);- return o = B(o, { "aria-describedby": [- s,- c,- e["aria-describedby"]- ].filter(Boolean).join(" ") || void 0 }), {- labelProps: a,- fieldProps: o,- descriptionProps: { id: s },- errorMessageProps: { id: c }- };-}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function $o(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, E.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Ea(), c = (0, E.useCallback)((e) => {- R(e.currentTarget, z(e)) && a.current.isFocusWithin && !R(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));- }, [- n,- i,- a,- s- ]), l = dn(c), u = (0, E.useCallback)((e) => {- if (!R(e.currentTarget, z(e))) return;- let t = z(e), n = L(t), s = Jt(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 = z(e);- if (a.current.isFocusWithin && !R(t, r)) {- let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- un(e, t);- let i = ln(e);- c(i);- }- }, { capture: !0 });- }- }, [- r,- i,- l,- o,- c- ]);- return t ? { focusWithinProps: {- onFocus: void 0,- onBlur: void 0- } } : { focusWithinProps: {- onFocus: u,- onBlur: c- } };-}-//#endregion-//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var es = typeof document < "u" ? E.useInsertionEffect ?? E.useLayoutEffect : () => {};-function ts(e, t, n) {- let [r, i] = (0, E.useState)(e || t), a = (0, E.useRef)(r), o = (0, E.useRef)(e !== void 0), s = e !== void 0;- (0, E.useEffect)(() => {- o.current, o.current = s;- }, [s]);- let c = s ? e : r;- es(() => {- a.current = c;- });- let [, l] = (0, E.useReducer)(() => ({}), {});- return [c, (0, E.useCallback)((e, ...t) => {- let r = typeof e == "function" ? e(a.current) : e;- Object.is(a.current, r) || (a.current = r, i(r), l(), n?.(r, ...t));- }, [n])];-}-//#endregion-//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function ns(e = {}) {- let { isReadOnly: t } = e, [n, r] = ts(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, E.useState)(n);- function a(e) {- t || r(e);+//#region node_modules/react-aria/dist/private/collections/Document.mjs+var _f = class {+ constructor(e) {+ this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}- function o() {- t || r(!n);+ *[Symbol.iterator]() {+ let e = this.firstChild;+ for (; e;) yield e, e = e.nextSibling;}- return {- isSelected: n,- defaultSelected: e.defaultSelected ?? i,- setSelected: a,- toggle: o- };-}-//#endregion-//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function rs(e, t, n) {- let r = ns({- 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);+ get firstChild() {+ return this._firstChild;+ }+ set firstChild(e) {+ this._firstChild = e, this.ownerDocument.markDirty(this);+ }+ get lastChild() {+ return this._lastChild;+ }+ set lastChild(e) {+ this._lastChild = e, this.ownerDocument.markDirty(this);+ }+ get previousSibling() {+ return this._previousSibling;+ }+ set previousSibling(e) {+ this._previousSibling = e, this.ownerDocument.markDirty(this);+ }+ get nextSibling() {+ return this._nextSibling;+ }+ set nextSibling(e) {+ this._nextSibling = e, this.ownerDocument.markDirty(this);+ }+ get parentNode() {+ return this._parentNode;+ }+ set parentNode(e) {+ this._parentNode = e, this.ownerDocument.markDirty(this);+ }+ get isConnected() {+ return this.parentNode?.isConnected || !1;+ }+ invalidateChildIndices(e) {+ (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));+ }+ updateChildIndices() {+ let e = this._minInvalidChildIndex;+ for (; e;) e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;+ this._minInvalidChildIndex = null;+ }+ appendChild(e) {+ e.parentNode && e.parentNode.removeChild(e), this.firstChild ??= e, this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();+ }+ insertBefore(e, t) {+ if (t == null) return this.appendChild(e);+ e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();+ }+ removeChild(e) {+ e.parentNode === this && (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());+ }+ addEventListener() {}+ removeEventListener() {}+ get previousVisibleSibling() {+ let e = this.previousSibling;+ for (; e && e.isHidden;) e = e.previousSibling;+ return e;+ }+ get nextVisibleSibling() {+ let e = this.nextSibling;+ for (; e && e.isHidden;) e = e.nextSibling;+ return e;+ }+ get firstVisibleChild() {+ let e = this.firstChild;+ for (; e && e.isHidden;) e = e.nextSibling;+ return e;+ }+ get lastVisibleChild() {+ let e = this.lastChild;+ for (; e && e.isHidden;) e = e.previousSibling;+ return e;+ }+}, vf = class e extends _f {+ constructor(e, t) {+ super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;+ }+ get index() {+ return this._index;+ }+ set index(e) {+ this._index = e, this.ownerDocument.markDirty(this);+ }+ get level() {+ return this.parentNode instanceof e ? this.parentNode.level + +(this.parentNode.node?.type === "item") : 0;+ }+ getMutableNode() {+ return this.node == null ? null : (this.isMutated ||= (this.node = this.node.clone(), !0), this.ownerDocument.markDirty(this), this.node);+ }+ updateNode() {+ let t = this.nextVisibleSibling, n = this.getMutableNode();+ if (n != null && (n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof e ? this.parentNode.node?.key ?? null : null, n.prevKey = this.previousVisibleSibling?.node?.key ?? null, n.nextKey = t?.node?.key ?? null, n.hasChildNodes = !!this.firstChild, n.firstChildKey = this.firstVisibleChild?.node?.key ?? null, n.lastChildKey = this.lastVisibleChild?.node?.key ?? null, (n.colSpan != null || n.colIndex != null) && t)) {+ let e = (n.colIndex ?? n.index) + (n.colSpan ?? 1);+ if (t.node != null && e !== t.node.colIndex) {+ let n = t.getMutableNode();+ n.colIndex = e;+ }}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Xo.get(t);- c = e.validationBehavior ?? c;- let { realtimeValidation: l } = Ho({- ...e,- value: r.isSelected,- name: void 0,- validationBehavior: "aria"- }), u = (0, E.useRef)(Bo), d = () => {- t.setInvalid(e.value, l.isInvalid ? l : u.current);- };- (0, E.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Yo({- ...e,- isReadOnly: e.isReadOnly || t.isReadOnly,- isDisabled: e.isDisabled || t.isDisabled,- name: e.name || i,- form: e.form || a,- isRequired: e.isRequired ?? t.isRequired,- validationBehavior: c,- [Vo]: {- realtimeValidation: f,- displayValidation: p,- resetValidation: t.resetValidation,- commitValidation: t.commitValidation,- updateValidation(e) {- u.current = e, d();+ }+ setProps(e, t, n, r, i) {+ let a, { value: o, textValue: s, id: c, ...l } = e;+ if (this.node == null ? (a = new n(c ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = a) : a = this.getMutableNode(), l.ref = t, a.props = l, a.rendered = r, a.render = i, a.value = o, e["aria-label"] && (a["aria-label"] = e["aria-label"]), a.textValue = s || (typeof l.children == "string" ? l.children : "") || e["aria-label"] || "", c != null && c !== a.key) throw Error("Cannot change the id of an item");+ l.colSpan != null && (a.colSpan = l.colSpan), this.isConnected && this.ownerDocument.queueUpdate();+ }+ get style() {+ let e = this;+ return {+ get display() {+ return e.isHidden ? "none" : "";+ },+ set display(t) {+ let n = t === "none";+ if (e.isHidden !== n) {+ (e.parentNode?.firstVisibleChild === e || e.parentNode?.lastVisibleChild === e) && e.ownerDocument.markDirty(e.parentNode);+ let t = e.previousVisibleSibling, r = e.nextVisibleSibling;+ t && e.ownerDocument.markDirty(t), r && e.ownerDocument.markDirty(r), e.isHidden = n, e.ownerDocument.markDirty(e);+ }}+ };+ }+ hasAttribute() {}+ setAttribute() {}+ setAttributeNS() {}+ removeAttribute() {}+}, yf = class extends _f {+ 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;+ }+ get isConnected() {+ return !0;+ }+ createElement(e) {+ return new vf(e, this);+ }+ getMutableCollection() {+ return this.nextCollection ||= this.collection.clone(), this.nextCollection;+ }+ markDirty(e) {+ this.dirtyNodes.add(e);+ }+ addNode(e) {+ if (e.isHidden || e.node == null) return;+ let t = this.getMutableCollection();+ if (!t.getItem(e.node.key)) for (let t of e) this.addNode(t);+ t.addNode(e.node);+ }+ removeNode(e) {+ for (let t of e) this.removeNode(t);+ e.node && this.getMutableCollection().removeNode(e.node.key);+ }+ getCollection() {+ return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);+ }+ updateCollection() {+ for (let e of this.dirtyNodes) e instanceof vf && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof vf ? (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() {+ if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {+ this.queuedRender = !0, this.inSubscription = !0, this.isSSR || (this.collection = this.collection.clone());+ for (let e of this.subscriptions) e();+ this.inSubscription = !1;}- }, r, n);- return {- ...m,- inputProps: {- ...m.inputProps,- "aria-describedby": [- m.inputProps["aria-describedby"],- t.isInvalid ? s : null,- o- ].filter(Boolean).join(" ") || void 0+ }+ subscribe(e) {+ return this.subscriptions.add(e), this.queuedRender && e(), () => this.subscriptions.delete(e);+ }+ resetAfterSSR() {+ this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);+ }+};+//#endregion+//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs+function bf(e) {+ let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, E.useMemo)(() => void 0, [t]), s = (0, E.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);+ return (0, E.useMemo)(() => {+ if (n && typeof t == "function") {+ let e = [];+ for (let a of n) {+ let n = xf(a) ? a : null, o = n ? s.get(n) : null;+ if (!o) {+ o = t(a);+ let c = o.props.id ?? a?.key ?? a?.id;+ r != null && o.props.id == null && c != null && (c = r + ":" + c);+ let l = c ?? e.length;+ o = (0, E.cloneElement)(o, i ? {+ key: l,+ id: c,+ value: a+ } : { key: l }), n && s.set(n, o);+ }+ e.push(o);+ }+ return e;}- };+ if (typeof t != "function") return t;+ }, [+ t,+ n,+ s,+ r,+ i+ ]);}-//#endregion-//#region node_modules/react-stately/dist/private/utils/number.mjs-function is(e, t = -Infinity, n = Infinity) {- return Math.min(Math.max(e, t), n);+function xf(e) {+ switch (typeof e) {+ case "object": return e != null;+ case "function":+ case "symbol": return !0;+ default: return !1;+ }}//#endregion-//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var as = {- border: 0,- clip: "rect(0 0 0 0)",- clipPath: "inset(50%)",- height: "1px",- margin: "-1px",- overflow: "hidden",- padding: 0,- position: "absolute",- width: "1px",- whiteSpace: "nowrap"-};-function os(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, E.useState)(!1), { focusWithinProps: a } = $o({- isDisabled: !n,- onFocusWithinChange: (e) => i(e)- }), o = (0, E.useMemo)(() => r ? t : t ? {- ...as,- ...t- } : as, [r]);- return { visuallyHiddenProps: {- ...a,- style: o- } };+//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs+function Sf(e) {+ if (wf()) e.focus({ preventScroll: !0 });+ else {+ let t = Tf(e);+ e.focus(), Ef(t);+ }}-function ss(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = os(e);- return /*#__PURE__*/ E.createElement(n, B(a, o), t);+var Cf = null;+function wf() {+ if (Cf == null) {+ Cf = !1;+ try {+ document.createElement("div").focus({ get preventScroll() {+ return Cf = !0, !0;+ } });+ } catch {}+ }+ return Cf;+}+function Tf(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,+ scrollTop: t.scrollTop,+ scrollLeft: t.scrollLeft+ }), t = t.parentNode;+ return r instanceof HTMLElement && n.push({+ element: r,+ scrollTop: r.scrollTop,+ scrollLeft: r.scrollLeft+ }), n;+}+function Ef(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/textfield/useTextField.mjs-function cs(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = ts(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ei(e, t), d = Ho({- ...e,- value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Qo({- ...e,- isInvalid: f,- errorMessage: e.errorMessage || p- }), y = V(e, { labelable: !0 }), b = {- type: o,- pattern: e.pattern- }, [x] = (0, E.useState)(c);- return jo(t, e.defaultValue ?? x, l), Mo(e, d, t), {- labelProps: h,- inputProps: B(y, n === "input" ? b : void 0, {- disabled: r,- readOnly: a,- required: i && s === "native",- "aria-required": i && s === "aria" || void 0,- "aria-invalid": f || void 0,- "aria-errormessage": e["aria-errormessage"],- "aria-activedescendant": e["aria-activedescendant"],- "aria-autocomplete": e["aria-autocomplete"],- "aria-haspopup": e["aria-haspopup"],- "aria-controls": e["aria-controls"],- value: c,- onChange: (e) => l(z(e).value),- autoComplete: e.autoComplete,- autoCapitalize: e.autoCapitalize,- maxLength: e.maxLength,- minLength: e.minLength,- name: e.name,- form: e.form,- placeholder: e.placeholder,- inputMode: e.inputMode,- autoCorrect: e.autoCorrect,- spellCheck: e.spellCheck,- enterKeyHint: e.enterKeyHint,- onCopy: e.onCopy,- onCut: e.onCut,- onPaste: e.onPaste,- onCompositionEnd: e.onCompositionEnd,- onCompositionStart: e.onCompositionStart,- onCompositionUpdate: e.onCompositionUpdate,- onSelect: e.onSelect,- onBeforeInput: e.onBeforeInput,- onInput: e.onInput,- ...u,- ...g- }),- descriptionProps: _,- errorMessageProps: v,- isInvalid: f,- validationErrors: p,- validationDetails: m+//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs+var Df = (e) => Af(e) ? e.document : jf(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Of = (e) => Df(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function kf(e) {+ return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";+}+function Af(e) {+ return typeof e == "object" && !!e && "window" in e && e.window === e;+}+function jf(e) {+ return kf(e) && e.nodeType === 9;+}+function Mf(e) {+ return kf(e) && e.nodeType === 11 && "host" in e;+}+function Nf(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);+ return () => {+ for (let e of i) e.removeEventListener(t, n, r);+ };+}+function Pf(e, t, n, r) {+ if (e == null) return () => {};+ let i = [], a = Array.isArray(e) ? e : [e];+ for (let e of a) {+ let a = e.style.getPropertyValue(t), o = e.style.getPropertyPriority(t);+ e.style.setProperty(t, n, r), i.unshift(() => {+ a ? e.style.setProperty(t, a, o) : e.style.removeProperty(t);+ });+ }+ return () => {+ for (let e of i) e();};}//#endregion-//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var ls = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function us(e) {- return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;+//#region node_modules/react-stately/dist/private/flags/flags.mjs+var Ff = !1;+function If() {+ return Ff;}-var ds = /* @__PURE__ */ new WeakMap(), fs = [];-function ps(e, t) {- let n = zt(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && ls, 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 (qt()) {- let t = i.getRootNode();- for (let n of e) {- let e = n.getRootNode();- for (; Ut(e) && e !== t;) u.add(e), e = e.host.getRootNode();- }+//#endregion+//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs+function Lf(e, t) {+ if (!If()) 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 : Mf(n) ? n.host : n.parentNode;}- 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 (R(e, t)) return NodeFilter.FILTER_SKIP;- return NodeFilter.FILTER_ACCEPT;- }, n = Ha(L(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 = ds.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ds.set(e, t + 1));- };- fs.length && fs[fs.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) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && us(e) ? o.add(e) : e instanceof Element && d(e);- if (qt()) {- for (let e of u) if (!e.isConnected) {- p.disconnect();- break;- }- }- }- });- p.observe(i, {- childList: !0,- subtree: !0+ return !1;+}+var Rf = (e = document) => {+ if (!If()) return e.activeElement;+ let t = e.activeElement;+ for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;+ return t;+};+function B(e) {+ if (If() && 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 zf(e, t) {+ if (t === null) return [];+ t ??= Of(e);+ let n = [t];+ if (!If() || !e || e === t) return n;+ let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;+ for (; Mf(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ return n;+}+function Bf(e) {+ if (!e) return !1;+ let t = e.getRootNode(), n = Of(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 Vf = typeof Element < "u" && "checkVisibility" in Element.prototype;+function Hf(e) {+ let t = Of(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 } = Of(e), { display: n, visibility: r } = t(e);+ i = n !== "none" && r !== "hidden" && r !== "collapse";+ }+ return i;+}+function Uf(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 Wf(e, t) {+ return Vf ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Hf(e) && Uf(e, t) && (!e.parentElement || Wf(e.parentElement, e));+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs+var Gf = [+ "input:not([disabled]):not([type=hidden])",+ "select:not([disabled])",+ "textarea:not([disabled])",+ "button:not([disabled])",+ "a[href]",+ "area[href]",+ "summary",+ "iframe",+ "object",+ "embed",+ "audio[controls]",+ "video[controls]",+ "[contenteditable]:not([contenteditable^=\"false\"])",+ "permission"+], Kf = Gf.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Gf.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var qf = Gf.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Jf(e, t) {+ return e.matches(Kf) && !Xf(e) && (t?.skipVisibilityCheck || Wf(e));+}+function Yf(e) {+ return e.matches(qf) && Wf(e) && !Xf(e);+}+function Xf(e) {+ let t = e;+ for (; t != null;) {+ if (t instanceof Of(t).HTMLElement && t.inert) return !0;+ t = t.parentElement;+ }+ return !1;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs+var V = typeof document < "u" ? E.useLayoutEffect : () => {};+//#endregion+//#region node_modules/react-aria/dist/private/interactions/utils.mjs+function Zf(e) {+ let t = e;+ return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;+}+function Qf(e, t) {+ Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });+}+function $f(e) {+ let t = (0, E.useRef)({+ isFocused: !1,+ observer: null});- let m = /* @__PURE__ */ new Set();- if (qt()) 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) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && us(e) ? o.add(e) : e instanceof Element && d(e);- if (qt()) {- for (let e of u) if (!e.isConnected) {- p.disconnect();- break;- }+ return V(() => {+ let e = t.current;+ return () => {+ e.observer &&= (e.observer.disconnect(), null);+ };+ }, []), (0, E.useCallback)((n) => {+ let r = B(n);+ if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {+ t.current.isFocused = !0;+ let n = r;+ n.addEventListener("focusout", (r) => {+ if (t.current.isFocused = !1, n.disabled) {+ let t = Zf(r);+ e?.(t);}- }- });- t.observe(e, {- childList: !0,- subtree: !0- }), m.add(t);- }- let h = {- visibleNodes: o,- hiddenNodes: s,- observe() {- p.observe(i, {- childList: !0,- subtree: !0+ 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 === Rf() ? null : Rf();+ n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {+ bubbles: !0,+ relatedTarget: e+ }));+ }+ }), t.current.observer.observe(n, {+ attributes: !0,+ attributeFilter: ["disabled"]});- },- disconnect() {- p.disconnect();- }- };- return fs.push(h), () => {- if (p.disconnect(), qt()) for (let e of m) e.disconnect();- for (let e of s) {- let t = ds.get(e);- t != null && (t === 1 ? (l(e, !1), ds.delete(e)) : ds.set(e, t - 1));}- h === fs[fs.length - 1] ? (fs.pop(), fs.length && fs[fs.length - 1].observe()) : fs.splice(fs.indexOf(h), 1);- };+ }, [e]);}-function ms(e) {- let t = fs[fs.length - 1];- if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {- t.visibleNodes.delete(e);+var ep = !1;+function tp(e) {+ for (; e && !Jf(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = Rf(Of(e).document);+ if (!t || t === e) return;+ let n = e?.getRootNode(), r = n != null && Mf(n) ? n : Of(e), i = (t) => t === e || t != null && Lf(e, t), a = (e) => e === t || t != null && e != null && Lf(t, e);+ ep = !0;+ let o = !1, s = (e) => {+ (a(B(e)) || o) && e.stopImmediatePropagation();+ }, c = (n) => {+ (a(B(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Sf(t), d()));+ }, l = (e) => {+ (i(B(e)) || o) && e.stopImmediatePropagation();+ }, u = (e) => {+ (i(B(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Sf(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), ep = !1, o = !1;+ }, f = requestAnimationFrame(d);+ return d;}//#endregion-//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var hs = /* @__PURE__ */ new WeakMap();-function gs(e) {- return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;+//#region node_modules/react-aria/dist/private/utils/platform.mjs+function np(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 _s(e, t) {- let n = hs.get(e);- if (!n) throw Error("Unknown list");- return `${n.id}-option-${gs(t)}`;+function rp(e) {+ return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);+}+function ip(e) {+ let t = null;+ return () => (t ??= e(), t);}+var ap = ip(function() {+ return rp(/^Mac/i);+}), op = ip(function() {+ return rp(/^iPhone/i);+}), sp = ip(function() {+ return rp(/^iPad/i) || ap() && navigator.maxTouchPoints > 1;+}), cp = ip(function() {+ return op() || sp();+}), lp = ip(function() {+ return ap() || cp();+}), up = ip(function() {+ return np(/AppleWebKit/i) && (cp() || !dp());+}), dp = ip(function() {+ return np(/Chrome|CriOS|CrMo/i);+}), fp = ip(function() {+ return np(/Android/i);+}), pp = ip(function() {+ return np(/(Firefox|FxiOS)/i);+});//#endregion-//#region node_modules/react-aria/dist/private/selection/utils.mjs-function vs(e) {- return xn() ? e.altKey : e.ctrlKey;+//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs+function mp(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : fp() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function ys(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);+function hp(e) {+ return !fp() && e.width === 0 && e.height === 0 || fp() && 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 gp = /*#__PURE__*/ (0, E.createContext)({+ isNative: !0,+ open: bp,+ useHref: (e) => e+});+function _p() {+ return (0, E.useContext)(gp);+}+function vp(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;+ !up() && pp() && window.event?.type?.startsWith("key") && e.target === "_blank" && (ap() ? r = !0 : i = !0);+ let s = up() && ap() && !sp() ? new KeyboardEvent("keydown", {+ keyIdentifier: "Enter",+ metaKey: r,+ ctrlKey: i,+ altKey: a,+ shiftKey: o+ }) : new MouseEvent("click", {+ metaKey: r,+ ctrlKey: i,+ altKey: a,+ shiftKey: o,+ detail: 1,+ bubbles: !0,+ cancelable: !0+ });+ vp.isOpening = n, Sf(e), e.dispatchEvent(s), vp.isOpening = !1;+}+vp.isOpening = !1;+function yp(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) {+ yp(e, (e) => vp(e, t));}-var bs = /* @__PURE__ */ new WeakMap();-function xs(e) {- let t = Or();- return bs.set(e, t), t;+function xp(e) {+ let t = _p().useHref(e.href ?? "");+ return {+ "data-href": e.href ? t : void 0,+ "data-target": e.target,+ "data-rel": e.rel,+ "data-download": e.download,+ "data-ping": e.ping,+ "data-referrer-policy": e.referrerPolicy+ };}-function Ss(e) {- return bs.get(e);+function Sp(e) {+ let t = _p().useHref(e?.href ?? ""), n = {};+ if (e) for (let r of [+ "href",+ "target",+ "rel",+ "download",+ "ping",+ "referrerPolicy"+ ]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);+ return n;}//#endregion-//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var Cs = class {- constructor(e) {- this.ref = e;- }- getItemRect(e) {- let t = this.ref.current;- if (!t) return null;- let n = e == null ? null : ys(this.ref, e);- if (!n) return null;- let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();- return {- x: i.left - r.left - t.clientLeft + t.scrollLeft,- y: i.top - r.top - t.clientTop + t.scrollTop,- width: i.width,- height: i.height- };+//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs+var Cp = {+ prefix: String(Math.round(Math.random() * 1e10)),+ current: 0+}, wp = /*#__PURE__*/ E.createContext(Cp), Tp = /*#__PURE__*/ E.createContext(!1);+typeof window < "u" && window.document && window.document.createElement;+var Ep = /* @__PURE__ */ new WeakMap();+function Dp(e = !1) {+ let t = (0, E.useContext)(wp), n = (0, E.useRef)(null);+ if (n.current === null && !e) {+ let e = E.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;+ if (e) {+ let n = Ep.get(e);+ n == null ? Ep.set(e, {+ id: t.current,+ state: e.memoizedState+ }) : e.memoizedState !== n.state && (t.current = n.id, Ep.delete(e));+ }+ n.current = ++t.current;}- getContentSize() {- let e = this.ref.current;- return {- width: e?.scrollWidth ?? 0,- height: e?.scrollHeight ?? 0- };- }- getVisibleRect() {- let e = this.ref.current;- return {- x: e?.scrollLeft ?? 0,- y: e?.scrollTop ?? 0,- width: e?.clientWidth ?? 0,- height: e?.clientHeight ?? 0- };- }-}, ws = 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 Cs(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 Cs(this.ref);- this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);- }- isDisabled(e) {- return this.disabledBehavior === "all" && (e.props?.isDisabled || this.disabledKeys.has(e.key)) && e.props?.disabledBehavior !== "selection";- }- findNextNonDisabled(e, t, n = !1) {- let r = e;- for (; r != null;) {- let e = this.collection.getItem(r);- if (e?.type === "item" && (n || !this.isDisabled(e))) return r;- r = t(r);- }- return null;- }- getNextKey(e, t) {- let n = e;- return n = this.collection.getKeyAfter(n), this.findNextNonDisabled(n, (e) => this.collection.getKeyAfter(e), t?.includeDisabled);- }- getPreviousKey(e, t) {- let n = e;- return n = this.collection.getKeyBefore(n), this.findNextNonDisabled(n, (e) => this.collection.getKeyBefore(e), t?.includeDisabled);- }- findKey(e, t, n) {- let r = e, i = this.layoutDelegate.getItemRect(r);- if (!i || r == null) return null;- let a = i;- do {- if (r = t(r), r == null) break;- i = this.layoutDelegate.getItemRect(r);- } while (i && n(a, i) && r != null);- return r;- }- isSameRow(e, t) {- return e.y === t.y || e.x !== t.x;- }- isSameColumn(e, t) {- return e.x === t.x || e.y !== t.y;- }- isReversed(e) {- let t = this.getNextKey(e), n = ys(this.ref, e);- if (t != null) {- let e = ys(this.ref, t);- return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;- }- let r = this.getPreviousKey(e);- if (r != null) {- let e = ys(this.ref, r);- return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;- }- return !1;- }- getKeyBelow(e, t) {- return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (e) => this.getNextKey(e, t), this.isSameRow) : this.orientation === "vertical" && this.isReversed(e) ? this.getPreviousKey(e, t) : this.getNextKey(e, t);- }- getKeyAbove(e, t) {- return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (e) => this.getPreviousKey(e, t), this.isSameRow) : this.orientation === "vertical" && this.isReversed(e) ? this.getNextKey(e, t) : this.getPreviousKey(e, t);- }- getNextColumn(e, t, n) {- return t ? this.getPreviousKey(e, n) : this.getNextKey(e, n);- }- getKeyRightOf(e, t) {- let n = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";- return this.layoutDelegate[n] ? (e = this.layoutDelegate[n](e), this.findNextNonDisabled(e, (e) => this.layoutDelegate[n](e), t?.includeDisabled)) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl", t) : this.findKey(e, (e) => this.getNextColumn(e, this.direction === "rtl", t), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl", t) : null;- }- getKeyLeftOf(e, t) {- let n = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";- return this.layoutDelegate[n] ? (e = this.layoutDelegate[n](e), this.findNextNonDisabled(e, (e) => this.layoutDelegate[n](e), t?.includeDisabled)) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr", t) : this.findKey(e, (e) => this.getNextColumn(e, this.direction === "ltr", t), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr", t) : null;- }- getFirstKey() {- let e = this.collection.getFirstKey();- return this.findNextNonDisabled(e, (e) => this.collection.getKeyAfter(e));- }- getLastKey() {- let e = this.collection.getLastKey();- return this.findNextNonDisabled(e, (e) => this.collection.getKeyBefore(e));- }- getKeyPageAbove(e) {- let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);- if (!n) return null;- let r = this.isReversed(e);- if (t && !So(t)) return this.getFirstKey();- let i = e;- if (this.orientation === "horizontal") {- let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);- for (; n && n.x > e && i != null;) i = this.getKeyAbove(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);- } else {- let e = this.layoutDelegate.getVisibleRect(), t = r ? n.y - e.height : Math.max(0, n.y + n.height - e.height);- for (; n && n.y > t && i != null;) i = this.getKeyAbove(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);- }- return i ?? (r ? this.getLastKey() : this.getFirstKey());+ return n.current;+}+function Op(e) {+ let t = (0, E.useContext)(wp), n = Dp(!!e), r = `react-aria${t.prefix}`;+ return e || `${r}-${n}`;+}+function kp(e) {+ let t = E.useId(), [n] = (0, E.useState)(Pp()), r = n ? "react-aria" : `react-aria${Cp.prefix}`;+ return e || `${r}-${t}`;+}+var Ap = typeof E.useId == "function" ? kp : Op;+function jp() {+ return !1;+}+function Mp() {+ return !0;+}+function Np(e) {+ return () => {};+}+function Pp() {+ return typeof E.useSyncExternalStore == "function" ? E.useSyncExternalStore(Np, jp, Mp) : (0, E.useContext)(Tp);+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs+var Fp = null, Ip = /* @__PURE__ */ new Set(), Lp = /* @__PURE__ */ new Map(), Rp = !1, zp = !1, Bp = {+ Tab: !0,+ Escape: !0+};+function Vp(e, t) {+ for (let n of Ip) n(e, t);+}+function Hp(e) {+ return !(e.metaKey || !ap() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+}+function Up(e) {+ Rp = !0, !vp.isOpening && Hp(e) && (Fp = "keyboard", Vp("keyboard", e));+}+function Wp(e) {+ Fp = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Rp = !0, Vp("pointer", e));+}+function Gp(e) {+ !vp.isOpening && mp(e) && (Rp = !0, Fp = "virtual");+}+function Kp(e) {+ if (ep) return;+ let t = B(e), n = Of(t), r = Df(t);+ if (t === n) {+ zp = !0;+ return;}- getKeyPageBelow(e) {- let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);- if (!n) return null;- let r = this.isReversed(e);- if (t && !So(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);- for (; n && n.x < e && i != null;) i = this.getKeyBelow(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);- } else {- let e = Math.min(this.layoutDelegate.getContentSize().height, n.y - n.height + this.layoutDelegate.getVisibleRect().height);- for (; n && n.y < e && i != null;) i = this.getKeyBelow(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);+ t === r || !e.isTrusted || (!Rp && !zp && (Fp = "virtual", Vp("virtual", e)), Rp = !1, zp = !1);+}+function qp() {+ ep || (Rp = !1, zp = !0);+}+function Jp(e) {+ if (typeof window > "u" || typeof document > "u") return;+ let t = Of(e), n = Df(e);+ if (Lp.get(t)) return;+ let r = t.HTMLElement.prototype.focus;+ Reflect.defineProperty(t.HTMLElement.prototype, "focus", {+ configurable: !0,+ writable: !0,+ value: function() {+ Rp = !0, r.apply(this, arguments);}- return i ?? (r ? this.getFirstKey() : this.getLastKey());+ }), n.addEventListener("keydown", Up, !0), n.addEventListener("keyup", Up, !0), n.addEventListener("click", Gp, !0), t.addEventListener("focus", Kp, !0), t.addEventListener("blur", qp, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Wp, !0), n.addEventListener("pointermove", Wp, !0), n.addEventListener("pointerup", Wp, !0)), t.addEventListener("beforeunload", () => {+ Yp(e);+ }, { once: !0 }), Lp.set(t, { focus: r });+}+var Yp = (e, t) => {+ let n = Of(e), r = Df(e);+ t && r.removeEventListener("DOMContentLoaded", t), Lp.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+ configurable: !0,+ writable: !0,+ value: Lp.get(n).focus+ }), r.removeEventListener("keydown", Up, !0), r.removeEventListener("keyup", Up, !0), r.removeEventListener("click", Gp, !0), n.removeEventListener("focus", Kp, !0), n.removeEventListener("blur", qp, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Wp, !0), r.removeEventListener("pointermove", Wp, !0), r.removeEventListener("pointerup", Wp, !0)), Lp.delete(n));+};+function Xp(e) {+ let t = Df(e), n;+ return t.readyState === "loading" ? (n = () => {+ Jp(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Jp(e), () => Yp(e, n);+}+typeof document < "u" && Xp();+function Zp() {+ return Fp !== "pointer";+}+function Qp() {+ return Fp;+}+function $p(e) {+ Fp = e, Vp(e, null);+}+function em() {+ Jp();+ let [e, t] = (0, E.useState)(Fp);+ return (0, E.useEffect)(() => {+ let e = () => {+ t(Fp);+ };+ return Ip.add(e), () => {+ Ip.delete(e);+ };+ }, []), Pp() ? null : e;+}+var tm = /* @__PURE__ */ new Set([+ "checkbox",+ "radio",+ "range",+ "color",+ "file",+ "image",+ "button",+ "submit",+ "reset"+]);+function nm(e, t, n) {+ let r = n ? B(n) : void 0, i = Df(r), a = Of(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 = Rf(i);+ return e = e || u instanceof o && !tm.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Bp[n.key]);+}+function rm(e, t, n) {+ Jp(), (0, E.useEffect)(() => {+ if (n?.enabled === !1) return;+ let t = (t, r) => {+ nm(!!n?.isTextInput, t, r) && e(Zp());+ };+ return Ip.add(t), () => {+ Ip.delete(t);+ };+ }, t);+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs+var im = /* @__PURE__ */ new Map(), am = /* @__PURE__ */ new Set();+function om() {+ if (typeof window > "u") return;+ function e(e) {+ return "propertyName" in e;}- getKeyForSearch(e, t) {- if (!this.collator) return null;- let n = this.collection, r = t || this.getFirstKey();- for (; r != null;) {- let t = n.getItem(r);- if (!t) return null;- let i = t.textValue.slice(0, e.length);- if (t.textValue && this.collator.compare(i, e) === 0) return r;- r = this.getNextKey(r);+ let t = (t) => {+ let r = B(t);+ if (!e(t) || !r) return;+ let i = im.get(r);+ i || (i = /* @__PURE__ */ new Set(), im.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);+ }, n = (t) => {+ let r = B(t);+ if (!e(t) || !r) return;+ let i = im.get(r);+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), im.delete(r)), im.size === 0)) {+ for (let e of am) e();+ am.clear();}- return null;- }-}, Ts = {};-Ts = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var Es = {};-Es = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var Ds = {};-Ds = { 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 Os = {};-Os = { 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 ks = {};-ks = { 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 As = {};-As = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var js = {};-js = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var Ms = {};-Ms = { 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 Ns = {};-Ns = { 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 Ps = {};-Ps = { 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 Fs = {};-Fs = { 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 Is = {};-Is = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+ };+ document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);+}+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", om) : om());+function sm() {+ for (let [e] of im) "isConnected" in e && !e.isConnected && im.delete(e);+}+function cm(e) {+ requestAnimationFrame(() => {+ sm(), im.size === 0 ? e() : am.add(e);+ });+}//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var Ls = {};-Ls = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs+function lm(e) {+ if (!e.isConnected) return;+ let t = Df(e);+ if (Qp() === "virtual") {+ let n = Rf(t);+ cm(() => {+ let r = Rf(t);+ (r === n || r === t.body) && e.isConnected && Sf(e);+ });+ } else Sf(e);+}//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var Rs = {};-Rs = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+//#region node_modules/react-aria/dist/private/utils/chain.mjs+function um(...e) {+ return (...t) => {+ for (let n of e) typeof n == "function" && n(...t);+ };+}//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var zs = {};-zs = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs+function dm(e) {+ let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(t), i = (0, E.useRef)(null), a = (0, E.useRef)(() => {+ if (!i.current) return;+ let e = i.current.next();+ if (e.done) {+ i.current = null;+ return;+ }+ r.current === e.value ? a.current() : n(e.value);+ });+ return V(() => {+ r.current = t, i.current && a.current();+ }), [t, (0, E.useCallback)((e) => {+ i.current = e(r.current), a.current();+ }, [a])];+}//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var Bs = {};-Bs = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var Vs = {};-Vs = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Hs = {};-Hs = { 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 Us = {};-Us = { 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 Ws = {};-Ws = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Gs = {};-Gs = { 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 Ks = {};-Ks = { 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 qs = {};-qs = { 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 Js = {};-Js = { 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 Ys = {};-Ys = { 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 Xs = {};-Xs = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Zs = {};-Zs = { 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 Qs = {};-Qs = { 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 $s = {};-$s = { 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 ec = {};-ec = { 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 tc = {};-tc = { 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 nc = {};-nc = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var rc = {};-rc = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var ic = {};-ic = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };-//#endregion-//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var ac = {};-ac = {- "ar-AE": Ts,- "bg-BG": Es,- "cs-CZ": Ds,- "da-DK": Os,- "de-DE": ks,- "el-GR": As,- "en-US": js,- "es-ES": Ms,- "et-EE": Ns,- "fi-FI": Ps,- "fr-FR": Fs,- "he-IL": Is,- "hr-HR": Ls,- "hu-HU": Rs,- "it-IT": zs,- "ja-JP": Bs,- "ko-KR": Vs,- "lt-LT": Hs,- "lv-LV": Us,- "nb-NO": Ws,- "nl-NL": Gs,- "pl-PL": Ks,- "pt-BR": qs,- "pt-PT": Js,- "ro-RO": Ys,- "ru-RU": Xs,- "sk-SK": Zs,- "sl-SI": Qs,- "sr-SP": $s,- "sv-SE": ec,- "tr-TR": tc,- "uk-UA": nc,- "zh-CN": rc,- "zh-TW": ic-};+//#region node_modules/react-aria/dist/private/utils/useId.mjs+var fm = !!(typeof window < "u" && window.document && window.document.createElement), pm = /* @__PURE__ */ new Map(), mm;+typeof FinalizationRegistry < "u" && (mm = new FinalizationRegistry((e) => {+ pm.delete(e);+}));+var hm = /* @__PURE__ */ new WeakMap();+function gm(e) {+ let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(null), i = Ap(t), a = (0, E.useRef)(null), o = hm.get(a);+ if (mm && o !== i && (o != null && mm.unregister(a), mm.register(a, i, a), hm.set(a, i)), fm) {+ let e = pm.get(i);+ e && !e.includes(r) ? e.push(r) : pm.set(i, [r]);+ }+ return V(() => {+ let e = i;+ return () => {+ mm && (mm.unregister(a), hm.delete(a)), pm.delete(e);+ };+ }, [i]), (0, E.useEffect)(() => {+ let e = r.current;+ return e && n(e), () => {+ e && (r.current = null);+ };+ }), i;+}+function _m(e, t) {+ if (e === t) return e;+ let n = pm.get(e);+ if (n) return n.forEach((e) => e.current = t), t;+ let r = pm.get(t);+ return r ? (r.forEach((t) => t.current = e), e) : t;+}+function vm(e = []) {+ let t = gm(), [n, r] = dm(t), i = (0, E.useCallback)(() => {+ r(function* () {+ yield t, yield document.getElementById(t) ? t : void 0;+ });+ }, [t, r]);+ return V(i, [+ t,+ i,+ ...e+ ]), n;+}//#endregion-//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var oc = 500;-function sc(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = oc, accessibilityDescription: s } = e, c = (0, E.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Ea(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Ma({- isDisabled: t,- onPressStart(e) {- if (e.continuePropagation(), d(e)) {- r && r({- ...e,- type: "longpressstart"- }), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), L(e.target).activeElement !== e.target && Pt(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 = zt(e.target);- l(t, "pointerup", () => {- setTimeout(() => {- u();- }, 100);- }, { once: !0 });- }- },- onPressEnd(e) {- c.current && clearTimeout(c.current), i && d(e) && i({- ...e,- type: "longpressend"+//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs+function ym(...e) {+ return e.length === 1 && e[0] ? e[0] : (t) => {+ let n = !1, r = e.map((e) => {+ let r = bm(e, t);+ return n ||= typeof r == "function", r;+ });+ if (n) return () => {+ r.forEach((t, n) => {+ typeof t == "function" ? t() : bm(e[n], null);});- }- });- return { longPressProps: B(f, Ao(a && !t ? s : void 0)) };+ };+ };+}+function bm(e, t) {+ if (typeof e == "function") return e(t);+ e != null && (e.current = t);}//#endregion-//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function cc(e) {- let { onContextMenu: t } = e, n = (0, E.useRef)(!1), { longPressProps: r } = sc({- onLongPressStart() {- n.current = !1;- },- onLongPress(e) {- n.current ? n.current = !1 : t?.({- target: e.target,- x: e.x,- y: e.y- });- }- });- return t ? { contextMenuProps: B(bn() ? r : {}, {- onContextMenu(e) {- e.stopPropagation(), e.preventDefault(), n.current = !0;- let r = e.currentTarget.getBoundingClientRect();- t({- target: e.currentTarget,- x: e.clientX - r.x,- y: e.clientY - r.y- });- },- onKeyDown(e) {- if (_n() && e.ctrlKey && e.key === "Enter") {- n.current = !1;- let r = e.currentTarget;- e.stopPropagation(), setTimeout(() => {- if (n.current) n.current = !1;- else {- let e = r.getBoundingClientRect();- t({- target: r,- x: e.width / 2,- y: e.height / 2- });- }- }, 10);- }+//#region node_modules/clsx/dist/clsx.mjs+function xm(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 = xm(e[t])) && (r && (r += " "), r += n);+ } else for (n in e) e[n] && (r && (r += " "), r += n);+ }+ return r;+}+function Sm() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = xm(e)) && (r && (r += " "), r += t);+ return r;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs+function H(...e) {+ let t = { ...e[0] };+ for (let n = 1; n < e.length; n++) {+ 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] = um(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Sm(n, i) : e === "id" && n && i ? t.id = _m(n, i) : e === "ref" && n && i ? t.ref = ym(n, i) : t[e] = i === void 0 ? n : i;}- }) } : { contextMenuProps: {} };+ }+ return t;}//#endregion-//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var lc = /* @__PURE__ */ new WeakMap();-function uc(e) {- let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, E.useEffect)(() => !n || r === null ? void 0 : Wt(Yt(t.current), "scroll", (e) => {- let n = z(e);- if (!t.current || n instanceof Node && !R(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || lc.get(t.current);- i && i();- }, !0), [+//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs+function Cm(e) {+ let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, E.useCallback)((e) => {+ if (B(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = $f(a), s = (0, E.useCallback)((e) => {+ let t = B(e), r = Df(t), a = r ? Rf(r) : Rf();+ t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));+ }, [+ i,n,- r,- t+ o]);+ return { focusProps: {+ onFocus: !t && (n || i || r) ? s : void 0,+ onBlur: !t && (r || i) ? a : void 0+ } };}//#endregion-//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function dc(e, t, n) {- let { type: r } = e, { isOpen: i } = t;- (0, E.useEffect)(() => {- n && n.current && lc.set(n.current, t.close);- });- let a;- r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = Or();- return {- triggerProps: {- "aria-haspopup": a,- "aria-expanded": i,- "aria-controls": i ? o : void 0,- onPress: t.toggle- },- overlayProps: { id: o }+//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs+function wm(e) {+ if (e) return (t) => {+ let n = !0;+ e({+ ...t,+ preventDefault() {+ t.preventDefault();+ },+ isDefaultPrevented() {+ return t.isDefaultPrevented();+ },+ stopPropagation() {+ n = !0;+ },+ continuePropagation() {+ n = !1, typeof t.continuePropagation == "function" && t.continuePropagation();+ },+ isPropagationStopped() {+ return n;+ }+ }), n && !(typeof t.isPropagationStopped == "function" && t.isPropagationStopped()) && t.stopPropagation();};}//#endregion-//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function fc(e) {- return e && e.__esModule ? e.default : e;+//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs+var Tm = /* @__PURE__ */ new Set([+ "shift",+ "alt",+ "control",+ "meta",+ "mod"+]), Em = [+ "Alt",+ "Control",+ "Meta",+ "Shift"+];+function Dm(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(ap() ? "Meta" : "Control"), t;}-function pc(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Or(), { triggerProps: s, overlayProps: c } = dc({ type: r }, t, n), l = (e, n, r = "first") => {- if (!e || n.isDefaultPrevented()) return !1;- t.toggle(r);- }, { keyboardProps: u } = Yr({- isDisabled: i,- shortcuts: {- Enter: (e) => l(a !== "longPress", e, "first"),- " ": (e) => l(a !== "longPress", e, "first"),- ArrowDown: (e) => l(a !== "longPress", e, "first"),- ArrowUp: (e) => l(a !== "longPress", e, "last"),- "Alt+Enter": (e) => l(a === "longPress", e, "first"),- "Alt+ ": (e) => l(a === "longPress", e, "first"),- "Alt+ArrowDown": (e) => l(!0, e, "first"),- "Alt+ArrowUp": (e) => l(!0, e, "last")- }- }), d = ua(fc(ac), "@react-aria/menu"), { longPressProps: f } = sc({- isDisabled: i || a !== "longPress",- accessibilityDescription: d.format("longPressMessage"),- onLongPressStart() {- t.close();- },- onLongPress() {- t.open("first");- }- }), p = {- preventFocusOnPress: !0,- onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Pt(e.target), t.open(e.pointerType === "virtual" ? "first" : null));- },- onPress(e) {- e.pointerType === "touch" && !i && (Pt(e.target), t.toggle());- }- };- delete s.onPress;- let { contextMenuProps: m } = cc({ onContextMenu(e) {- let n = e.target.getBoundingClientRect();- t.setPoint({- x: n.x + e.x,- y: n.y + e.y- }), t.open();- } });- (0, E.useEffect)(() => {- if (t.isOpen && a === "contextMenu") {- let e = (e) => {- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && z(e) === document.body && t.close();- };- return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);- }- }, [t, a]);- let h;- if (a === "press") h = {- ...p,- ...u- };- else if (a === "longPress") h = {- ...f,- ...u- };- else if (a === "contextMenu") {- h = m;- let { "aria-haspopup": e, "aria-expanded": t, "aria-controls": n, ...r } = s;- s = r;- }- return {- menuTriggerProps: {- ...s,- ...h,- id: o- },- menuProps: {- ...c,- "aria-labelledby": o,- autoFocus: t.focusStrategy || !0,- onClose: t.close- }- };+function Om(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;}-//#endregion-//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var mc = 1e3;-function hc(e) {- let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, E.useRef)({- search: "",- timeout: void 0+function km(e) {+ return Em.filter((t) => e.has(t));+}+function Am(e) {+ let t = e.split("+").reduce((e, t) => {+ let n = t.toLowerCase();+ return Tm.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,+ ctrl: !1,+ meta: !1,+ mod: !1,+ key: ""});- return (0, E.useEffect)(() => {- let e = i.current.timeout;- return () => {- clearTimeout(e);- };- }, [i]), { typeSelectProps: {- onKeyDownCapture: t.getKeyForSearch ? (e) => {- if (i.current.search.length > 0 && e.key === " ") {- if (e.preventDefault(), (!("continuePropagation" in e) || "continuePropagation" in e && !e.isPropagationStopped()) && e.stopPropagation(), i.current.search += " ", t.getKeyForSearch != null) {- let e = t.getKeyForSearch(i.current.search, n.focusedKey);- e ??= t.getKeyForSearch(i.current.search), e != null && (n.setFocusedKey(e), r && r(e));- }- clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {- i.current.search = "";- }, mc);- }- } : void 0,- onKeyDown: t.getKeyForSearch ? (e) => {- let a = gc(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !R(e.currentTarget, z(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();- else {- i.current.search = "", clearTimeout(i.current.timeout), i.current.timeout = void 0;- return;- }- }- clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {- i.current.search = "";- }, mc);- }- } : void 0- } };+ 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 gc(e) {- return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";+function jm(e) {+ return e.toLowerCase();}-//#endregion-//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function _c(e, t) {- let n = (0, E.useRef)(!0), r = (0, E.useRef)(null);- cn(() => (n.current = !0, () => {- n.current = !1;- }), []), cn(() => {- n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;- }, t);+var Mm = {+ space: " ",+ esc: "escape",+ del: "delete",+ ins: "insert",+ left: "arrowleft",+ right: "arrowright",+ up: "arrowup",+ down: "arrowdown",+ pageup: "pageup",+ pagedown: "pagedown"+};+function Nm(e) {+ let t = jm(e);+ return Mm[t] ?? t;+}+function Pm(e) {+ let t = km(Dm(e)), n = Nm(e.key);+ return t.length > 0 ? `${t.join("+")}+${n}` : n;+}+function Fm(e) {+ let t = km(Om(e)), n = jm(e.key);+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;+}+function Im(e) {+ let t = /* @__PURE__ */ new Map();+ for (let [n, r] of Object.entries(e)) {+ let e = Am(n);+ t.set(Pm(e), r);+ }+ return (e) => {+ let n = Fm(e), r = t.get(n), i = r?.(e);+ i === void 0 && r !== void 0 ? i = {+ shouldContinuePropagation: !1,+ shouldPreventDefault: !0+ } : typeof i == "boolean" && (i = {+ shouldContinuePropagation: !i,+ shouldPreventDefault: i+ }), i?.shouldPreventDefault && e.preventDefault(), (!r || i?.shouldContinuePropagation) && e.continuePropagation();+ };}//#endregion-//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function vc(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 } = Xi(), _ = kn(), v = (e, n, i) => {- if (n != null) {- if (t.isLink(n) && m === "selection" && l && !vs(e)) {- (0, li.flushSync)(() => {- t.setFocusedKey(n, i);- });- let a = ys(r, n), o = t.getItemProps(n);- if (a) {- _.open(a, e, o.href, o.routerOptions);- return;- }- return !1;- }- if (t.setFocusedKey(n, i), t.isLink(n) && m === "override") return !1;- if (e.shiftKey && t.selectionMode === "multiple") {- t.extendSelection(n);- return;- }- if (l && !vs(e)) {- t.replaceSelection(n);- return;- }- }- return !1;- }, y = (e) => {- if (n.getKeyBelow) {- let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyBelow?.(t.focusedKey);- if (r == null && a && (r = n.getFirstKey?.(t.focusedKey)), r != null) {- v(e, r);+//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs+function Lm(e) {+ let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;+ if (t) {+ let o = Im(t), s = wm((e) => {+ if (!Lf(e.currentTarget, B(e))) {+ e.continuePropagation();return;}- }- return !1;- }, b = (e) => {- if (n.getKeyAbove) {- let r = t.focusedKey == null ? n.getLastKey?.() : n.getKeyAbove?.(t.focusedKey);- if (r == null && a && (r = n.getLastKey?.(t.focusedKey)), r != null) {- v(e, r);+ if (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r) {+ e.continuePropagation();return;}- }- return !1;- }, x = (e) => {- if (n.getFirstKey) {- if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Ni(e));- if (t.setFocusedKey(r), r != null) {- if (Ni(e) && e.shiftKey && t.selectionMode === "multiple") {- t.extendSelection(r);- return;- }- if (l) {- t.replaceSelection(r);- return;- }- }- }- return !1;- }, S = (e) => {- if (n.getKeyLeftOf) {- let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyLeftOf?.(t.focusedKey);- if (r == null && a && (r = g === "rtl" ? n.getFirstKey?.(t.focusedKey) : n.getLastKey?.(t.focusedKey)), r != null) {- v(e, r, g === "rtl" ? "first" : "last");+ o(e);+ }), c = wm((e) => {+ if (!Lf(e.currentTarget, B(e))) {+ e.continuePropagation();return;}- }- return !1;- }, C = (e) => {- if (n.getKeyRightOf) {- let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyRightOf?.(t.focusedKey);- if (r == null && a && (r = g === "rtl" ? n.getLastKey?.(t.focusedKey) : n.getFirstKey?.(t.focusedKey)), r != null) {- v(e, r, g === "rtl" ? "last" : "first");+ if (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r) {+ e.continuePropagation();return;}+ e.continuePropagation();+ });+ i = e.onKeyDown ? um(e.onKeyDown, s) : s, a = e.onKeyUp ? um(e.onKeyUp, c) : c;+ } else i = wm(e.onKeyDown), a = wm(e.onKeyUp);+ return { keyboardProps: e.isDisabled ? {} : {+ onKeyDown: i,+ onKeyUp: a+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs+function Rm(e) {+ let t = (0, E.useRef)(null), n = (0, E.useRef)(void 0), r = (0, E.useCallback)((t) => {+ if (typeof e == "function") {+ let n = e, r = n(t);+ return () => {+ typeof r == "function" ? r() : n(null);+ };}- return !1;- }, w = (e) => {- if (n.getLastKey) {- if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Ni(e));- if (t.setFocusedKey(r), r != null) {- if (Ni(e) && e.shiftKey && t.selectionMode === "multiple") {- t.extendSelection(r);- return;- }- if (l) {- t.replaceSelection(r);- return;- }- }- }- return !1;- }, T = (e) => {- if (n.getKeyPageBelow && t.focusedKey != null) {- let r = n.getKeyPageBelow(t.focusedKey);- if (r != null) return v(e, r);- }- return !1;- }, D = (e) => {- if (n.getKeyPageAbove && t.focusedKey != null) {- let r = n.getKeyPageAbove(t.focusedKey);- if (r != null) return v(e, r);- }- return !1;- }, O = () => {- if (t.selectionMode === "multiple" && s !== !0) {- t.selectAll();- return;+ if (e) return e.current = t, () => {+ e.current = null;+ };+ }, [e]);+ return (0, E.useMemo)(() => ({+ get current() {+ return t.current;+ },+ set current(e) {+ t.current = e, n.current &&= (n.current(), void 0), e != null && (n.current = r(e));}- return !1;- }, k = () => {- if (c === "clearSelection" && !o && t.selectedKeys.size !== 0) {- t.clearSelection();- return;- }- return !1;- }, A = () => {- if (!f && r.current) {- let e = po(r.current, { tabbable: !0 }), t, n;- do- n = e.lastChild(), n && (t = n);- while (n);- let i = Jt();- t && (!Xt(t) || i && !on(i)) && Pt(t);- }- return {- shouldContinuePropagation: !0,- shouldPreventDefault: !1- };- }, j = () => (!f && r.current && r.current.focus(), {- shouldContinuePropagation: !0,- shouldPreventDefault: !1- }), M = (e, t) => ({- [_n() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,- [e + "+Shift"]: t,- [_n() ? e + "+Alt" : e + "+Control"]: t,- [e]: t- }), { keyboardProps: ee } = Yr({- shortcuts: {- ...M("ArrowDown", y),- ...M("ArrowUp", b),- ...M("ArrowLeft", S),- ...M("ArrowRight", C),- ...M("PageDown", T),- ...M("PageUp", D)- },- allowRepeats: !0- }), { keyboardProps: te } = Yr({ shortcuts: {- ...M("Home", x),- ...M("End", w),- "Mod+A": O,- Escape: k,- Tab: A,- "Tab+Shift": j- } }), N = (0, E.useRef)({- top: 0,- left: 0- });- Ri(p, "scroll", () => {- N.current = {- top: p.current?.scrollTop ?? 0,- left: p.current?.scrollLeft ?? 0- };- });- let P = (e) => {- if (t.isFocused) {- R(e.currentTarget, z(e)) || t.setFocused(!1);- return;- }- if (!R(e.currentTarget, z(e))) return;- let i = ur();- t.setFocused(!0);- let a = (e) => {- e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));- };- if (h && (i === "keyboard" || i === "virtual")) a(h === "first" ? n.getFirstKey?.() : n.getLastKey?.());- 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 = N.current.top, p.current.scrollLeft = N.current.left);- if (t.focusedKey != null && p.current) {- let e = ys(r, t.focusedKey);- e instanceof HTMLElement && (!Xt(e) && !d && Pt(e), (i === "keyboard" || h && i === "virtual") && Do(e, { containingElement: r.current }));- }- }, ne = (e) => {- R(e.currentTarget, e.relatedTarget) || t.setFocused(!1);- }, re = (0, E.useRef)(!1);- Ri(r, Oi, d ? (e) => {- let { detail: n } = e;- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);- } : void 0);- let F = n.getFirstKey?.() ?? null;- _c(() => {- if (re.current) {- if (F == null) {- let e = Jt();- ki(r.current), ji(e, null), t.collection.size > 0 && (re.current = !1);- } else t.setFocusedKey(F), re.current = !1;- }- }, [F, t.collection.size]), _c(() => {- t.collection.size > 0 && (re.current = !1);- }, [t.focusedKey]), Ri(r, Di, d ? (e) => {- e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);- } : void 0);- let ie = (0, E.useRef)(i), ae = (0, E.useRef)(!1);- (0, E.useEffect)(() => {- if (ie.current) {- let e = null;- i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);- let a = t.selectedKeys;- if (a.size) {- for (let n of a) if (t.canSelectItem(n)) {- e = n;- break;- }- }- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && xr(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);- }- });- let oe = (0, E.useRef)(t.focusedKey), se = (0, E.useRef)(null);- (0, E.useEffect)(() => {- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {- let e = ur(), n = ys(r, t.focusedKey);- if (!(n instanceof HTMLElement)) return;- (e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (To(p.current, n), e !== "virtual" && Do(n, { containingElement: r.current }));- }));- }- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && xr(r.current), oe.current = t.focusedKey, ae.current = !1;- }), (0, E.useEffect)(() => () => {- se.current && cancelAnimationFrame(se.current);- }, []), Ri(r, "react-aria-focus-scope-restore", (e) => {- e.preventDefault(), t.setFocused(!0);- });- let ce = {- ...B(te, ee),- onFocus: P,- onBlur: ne,- onMouseDown(e) {- p.current === z(e) && e.preventDefault();- }- }, { typeSelectProps: le } = hc({- keyboardDelegate: n,- selectionManager: t- });- u || (ce = B(le, ce));- let ue;- d || (ue = t.focusedKey == null ? 0 : -1);- let de = xs(t.collection);- return { collectionProps: B(ce, {- tabIndex: ue,- "data-collection": de- }) };-}-//#endregion-//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function yc(e, t) {- return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;-}-function bc(e) {- return xc(e, 0);-}-function xc(e, t) {- if (t < 0) return;- let n = 0;- for (let r of e) {- if (n === t) return r;- n++;- }-}-function Sc(e) {- let t;- for (let n of e) t = n;- return t;-}-function Cc(e, t, n) {- if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...wc(e, t), t], i = [...wc(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);- return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);-}-function wc(e, t) {- let n = [], r = t;- for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);- return n;+ }), [r]);}//#endregion-//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var Tc = /* @__PURE__ */ new WeakMap();-function Ec(e) {- let t = Tc.get(e);- if (t != null) return t;- let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(yc(i, e)) : i.type === "item" && n++;- };- return r(e), Tc.set(e, n), n;+//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs+function zm(e, t) {+ V(() => {+ if (e && e.ref && t) return e.ref.current = t.current, () => {+ e.ref && (e.ref.current = null);+ };+ });}//#endregion-//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var Dc = /* @__PURE__ */ new Map();-function Oc(e) {- let { locale: t } = Xi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (Dc.has(n)) return Dc.get(n);- let r = new Intl.Collator(t, e);- return Dc.set(n, r), r;+//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs+var Bm = /*#__PURE__*/ E.createContext(null);+function Vm(e) {+ let t = (0, E.useContext)(Bm) || {};+ zm(t, e);+ let { ref: n, ...r } = t;+ return r;}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-function kc({ children: e }) {- let t = (0, E.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ E.createElement(Ta.Provider, { value: t }, e);+function Hm(e, t) {+ let { focusProps: n } = Cm(e), { keyboardProps: r } = Lm(e), i = H(n, r), a = Vm(t), o = e.isDisabled ? {} : a, s = (0, E.useRef)(e.autoFocus);+ (0, E.useEffect)(() => {+ s.current && t.current && lm(t.current), s.current = !1;+ }, [t]);+ let c = e.excludeFromTabOrder ? -1 : 0;+ return e.isDisabled && (c = void 0), { focusableProps: H({+ ...i,+ tabIndex: c+ }, o) };}//#endregion-//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var Ac = /*#__PURE__*/ (0, E.createContext)({});-function jc(e) {- let { getContainer: t } = e, { getContainer: n } = Mc();- return /*#__PURE__*/ E.createElement(Ac.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);-}-function Mc() {- return (0, E.useContext)(Ac) ?? {};+//#region node_modules/react-aria/dist/private/collections/Hidden.mjs+typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {+ configurable: !0,+ enumerable: !0,+ get: function() {+ return this.content.firstChild;+ }+}), Object.defineProperty(HTMLTemplateElement.prototype, "appendChild", {+ configurable: !0,+ enumerable: !0,+ value: function(e) {+ return this.content.appendChild(e);+ }+}), Object.defineProperty(HTMLTemplateElement.prototype, "removeChild", {+ configurable: !0,+ enumerable: !0,+ value: function(e) {+ return this.content.removeChild(e);+ }+}), Object.defineProperty(HTMLTemplateElement.prototype, "insertBefore", {+ configurable: !0,+ enumerable: !0,+ value: function(e, t) {+ return this.content.insertBefore(e, t);+ }+}));+var Um = /*#__PURE__*/ (0, E.createContext)(!1);+function Wm(e) {+ if ((0, E.useContext)(Um)) return /*#__PURE__*/ E.createElement(E.Fragment, null, e.children);+ let t = /*#__PURE__*/ E.createElement(Um.Provider, { value: !0 }, e.children);+ return /*#__PURE__*/ E.createElement("template", null, t);}-//#endregion-//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var Nc = /*#__PURE__*/ E.createContext(null);-function Pc(e) {- let t = Kn(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, E.useState)(!1), o = (0, E.useMemo)(() => ({- contain: i,- setContain: a- }), [i, a]), { getContainer: s } = Mc();- if (!e.portalContainer && s && (n = s()), !n) return null;- let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ E.createElement(Ka, {- restoreFocus: !0,- contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ E.createElement(Nc.Provider, { value: o }, /*#__PURE__*/ E.createElement(kc, null, /*#__PURE__*/ E.createElement(Qr.Provider, { value: null }, c))), /*#__PURE__*/ li.createPortal(c, n);+function Gm(e) {+ let t = (t, n) => (0, E.useContext)(Um) ? null : e(t, n);+ return t.displayName = e.displayName || e.name, (0, E.forwardRef)(t);}-function Fc() {- let e = (0, E.useContext)(Nc)?.setContain;- cn(() => {- e?.(!0);- }, [e]);+function Km() {+ return (0, E.useContext)(Um);}//#endregion-//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Ic(e, t) {- let { role: n = "dialog" } = e, r = Ar();- r = e["aria-label"] ? void 0 : r;- let i = Ar();- i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;- let a = (0, E.useRef)(!1);- (0, E.useEffect)(() => {- if (t.current && !Xt(t.current)) {- xr(t.current);- let e = setTimeout(() => {- (Jt() === t.current || Jt() === document.body) && (a.current = !0, t.current && (t.current.blur(), xr(t.current)), a.current = !1);- }, 500);- return () => {- clearTimeout(e);- };+//#region node_modules/react-dom/cjs/react-dom.production.js+var qm = /* @__PURE__ */ _(((e) => {+ var t = C();+ function n(e) {+ var t = "https://react.dev/errors/" + e;+ if (1 < arguments.length) {+ t += "?args[]=" + encodeURIComponent(arguments[1]);+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);}- }, [t]), Fc(), (0, E.useRef)(!1), (0, E.useEffect)(() => {});- let o = e["aria-describedby"] ?? i;- return {- dialogProps: {- ...V(e, { labelable: !0 }),- role: n,- tabIndex: -1,- "aria-labelledby": e["aria-labelledby"] ?? r,- "aria-describedby": o,- onBlur: (e) => {- a.current && e.stopPropagation();- }+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";+ }+ function r() {}+ var i = {+ d: {+ f: r,+ r: function() {+ throw Error(n(522));+ },+ D: r,+ C: r,+ L: r,+ m: r,+ X: r,+ S: r,+ M: r},- titleProps: { id: r },- contentProps: { id: i }- };-}-//#endregion-//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function Lc(e = {}) {- let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, E.useRef)({- isFocused: !1,- isFocusVisible: t || lr()- }), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, E.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, E.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = lr(), o(e), l();- }, [l]);- hr((e) => {- i.current.isFocusVisible = e, l();- }, [n, a], {- enabled: a,- isTextInput: n- });- let { focusProps: d } = Fr({- isDisabled: r,- onFocusChange: u- }), { focusWithinProps: f } = $o({- isDisabled: !r,- onFocusWithinChange: u- });- return {- isFocused: a,- isFocusVisible: s,- focusProps: r ? f : d- };-}-//#endregion-//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function Rc(e = {}) {- let { locale: t } = Xi();- return (0, E.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);-}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var zc = !1, Bc = 0;-function Vc() {- zc = !0, setTimeout(() => {- zc = !1;- }, 500);-}-function Hc(e) {- e.pointerType === "touch" && Vc();-}-function Uc() {- let e = L(null);- if (e !== void 0) return Bc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Hc), Bc++, () => {- Bc--, !(Bc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Hc);- };-}-function Wc(e) {- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, E.useState)(!1), s = (0, E.useRef)({- isHovered: !1,- ignoreEmulatedMouseEvents: !1,- pointerType: "",- target: null- }).current;- (0, E.useEffect)(Uc, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = Ea(), { hoverProps: u, triggerHoverEnd: d } = (0, E.useMemo)(() => {- let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !R(e.currentTarget, z(e))) return;- s.isHovered = !0;- let l = e.currentTarget;- s.target = l, c(L(z(e)), "pointerover", (e) => {- s.isHovered && s.target && !R(s.target, z(e)) && a(e, e.pointerType);- }, { capture: !0 }), t && t({- type: "hoverstart",- target: l,- pointerType: r- }), n && n(!0), o(!0);- }, a = (e, t) => {- let i = s.target;- s.pointerType = "", s.target = null, !(t === "touch" || !s.isHovered || !i) && (s.isHovered = !1, l(), r && r({- type: "hoverend",- target: i,- pointerType: t- }), n && n(!1), o(!1));- }, u = {};- return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- zc && t.pointerType === "mouse" || e(t, t.pointerType);- }, u.onPointerLeave = (e) => {- !i && R(e.currentTarget, z(e)) && a(e, e.pointerType);- }), {- hoverProps: u,- triggerHoverEnd: a+ p: 0,+ findDOMNode: null+ }, a = Symbol.for("react.portal"), o = Symbol.for("react.recoverable"), s = Symbol.for("react.optimistic_key");+ function c(e, t, n) {+ var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;+ return {+ $$typeof: a,+ key: r == null ? null : r === s ? s : "" + r,+ children: e,+ containerInfo: t,+ implementation: n};+ }+ var l = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;+ function u(e, t) {+ if (e === "font") return "";+ if (typeof t == "string") return t === "use-credentials" ? t : "";+ }+ e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, e.browser = function(e) {+ return {+ $$typeof: o,+ _reason: e+ };+ }, e.createPortal = function(e, t) {+ var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;+ if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));+ return c(e, t, null, r);+ }, e.flushSync = function(e) {+ var t = l.T, n = i.p;+ try {+ if (l.T = null, i.p = 2, e) return e();+ } finally {+ l.T = t, i.p = n, i.d.f();+ }+ }, e.preconnect = function(e, t) {+ typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, i.d.C(e, t));+ }, e.prefetchDNS = function(e) {+ typeof e == "string" && i.d.D(e);+ }, e.preinit = function(e, t) {+ if (typeof e == "string" && t && typeof t.as == "string") {+ var n = t.as, r = u(n, t.crossOrigin), a = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;+ n === "style" ? i.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {+ crossOrigin: r,+ integrity: a,+ fetchPriority: o+ }) : n === "script" && i.d.X(e, {+ crossOrigin: r,+ integrity: a,+ fetchPriority: o,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0+ });+ }+ }, e.preinitModule = function(e, t) {+ if (typeof e == "string") {+ if (typeof t == "object" && t) {+ if (t.as == null || t.as === "script") {+ var n = u(t.as, t.crossOrigin);+ i.d.M(e, {+ crossOrigin: n,+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0+ });+ }+ } else t ?? i.d.M(e);+ }+ }, e.preload = function(e, t) {+ if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {+ var n = t.as, r = u(n, t.crossOrigin);+ i.d.L(e, n, {+ crossOrigin: r,+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,+ type: typeof t.type == "string" ? t.type : void 0,+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,+ referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,+ imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,+ imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,+ media: typeof t.media == "string" ? t.media : void 0+ });+ }+ }, e.preloadModule = function(e, t) {+ if (typeof e == "string") {+ if (t) {+ var n = u(t.as, t.crossOrigin);+ i.d.m(e, {+ as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,+ crossOrigin: n,+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0+ });+ } else i.d.m(e);+ }+ }, e.requestFormReset = function(e) {+ i.d.r(e);+ }, e.unstable_batchedUpdates = function(e, t) {+ return e(t);+ }, e.useFormState = function(e, t, n) {+ return l.H.useFormState(e, t, n);+ }, e.useFormStatus = function() {+ return l.H.useHostTransitionStatus();+ }, e.version = "19.3.0";+})), Jm = /* @__PURE__ */ _(((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);+ } catch (e) {+ console.error(e);+ }+ }+ n(), t.exports = qm();+})), Ym = /* @__PURE__ */ _(((e) => {+ var t = C();+ function n(e, t) {+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;+ }+ var r = typeof Object.is == "function" ? Object.is : n, i = t.useState, a = t.useEffect, o = t.useLayoutEffect, s = t.useDebugValue;+ function c(e, t) {+ var n = t(), r = i({ inst: {+ value: n,+ getSnapshot: t+ } }), c = r[0].inst, u = r[1];+ return o(function() {+ c.value = n, c.getSnapshot = t, l(c) && u({ inst: c });+ }, [+ e,+ n,+ t+ ]), a(function() {+ return l(c) && u({ inst: c }), e(function() {+ l(c) && u({ inst: c });+ });+ }, [e]), s(n), n;+ }+ function l(e) {+ var t = e.getSnapshot;+ e = e.value;+ try {+ var n = t();+ return !r(e, n);+ } catch {+ return !0;+ }+ }+ function u(e, t) {+ return t();+ }+ 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;+})), Xm = /* @__PURE__ */ _(((e, t) => {+ t.exports = Ym();+})), Zm = /* @__PURE__ */ b(Jm(), 1), Qm = Xm(), $m = /*#__PURE__*/ (0, E.createContext)(!1), eh = /*#__PURE__*/ (0, E.createContext)(null);+function th(e) {+ if ((0, E.useContext)(eh)) return e.content;+ let { collection: t, document: n } = ah(e.createCollection);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Wm, null, /*#__PURE__*/ E.createElement(eh.Provider, { value: n }, e.content)), /*#__PURE__*/ E.createElement(nh, {+ render: e.children,+ collection: t+ }));+}+function nh({ collection: e, render: t }) {+ return t(e);+}+function rh(e, t, n) {+ let r = Pp(), i = (0, E.useRef)(r);+ i.current = r;+ let a = (0, E.useCallback)(() => i.current ? n() : t(), [t, n]);+ return (0, Qm.useSyncExternalStore)(e, a);+}+var ih = typeof E.useSyncExternalStore == "function" ? E.useSyncExternalStore : rh;+function ah(e) {+ let [t] = (0, E.useState)(() => new yf(e?.() || new hf()));+ return {+ collection: ih((0, E.useCallback)((e) => t.subscribe(e), [t]), (0, E.useCallback)(() => {+ let e = t.getCollection();+ return t.isSSR && t.resetAfterSSR(), e;+ }, [t]), (0, E.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),+ document: t+ };+}+var oh = /*#__PURE__*/ (0, E.createContext)(null);+function sh(e) {+ return class extends df {+ static {+ this.type = e;+ }+ };+}+function ch(e, t, n, r, i, a) {+ typeof e == "string" && (e = sh(e));+ let o = (0, E.useCallback)((i) => {+ i?.setProps(t, n, e, r, a);}, [t,n,r,- i,- s,- c,- l- ]);- return (0, E.useEffect)(() => {- i && d({ currentTarget: s.target }, s.pointerType);- }, [i]), {- hoverProps: u,- isHovered: a- };+ a,+ e+ ]), s = (0, E.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__*/ E.createElement(oh.Provider, { value: o }, i) : null;+ }+ return /*#__PURE__*/ E.createElement(e.type, { ref: o }, i);}-//#endregion-//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Gc(e) {- let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, E.useRef)({- isPointerDown: !1,- ignoreEmulatedMouseEvents: !1- }), o = Li((e) => {- n && Kc(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Li((e) => {- n && n(e);- });- (0, E.useEffect)(() => {- let e = a.current;- if (r) return;- let n = t.current, i = L(n);- if (typeof PointerEvent < "u") {- let n = (n) => {- e.isPointerDown && Kc(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);- };+function lh(e, t) {+ let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, E.forwardRef)((r, i) => {+ let a = (0, E.useContext)(Bm);+ if (!(0, E.useContext)($m)) {+ if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");+ return t(r, i);}- }, [t, r]);+ return ch(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ E.createElement(Bm.Provider, { value: a }, /*#__PURE__*/ E.createElement(n, { node: e })));+ });+ return r.displayName = t.name, r;}-function Kc(e, t) {- if (e.button > 0) return !1;- let n = z(e);- if (n) {- let e = n.ownerDocument;- if (!e || !R(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;- }- return t.current ? !e.composedPath().includes(t.current) : !1;+function uh(e, t, n = dh) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, E.forwardRef)((t, i) => ch(e, t, i, null, n(t), (e) => /*#__PURE__*/ E.createElement(r, { node: e })) ?? /*#__PURE__*/ E.createElement(E.Fragment, null));+ return i.displayName = t.name, i;+}+function dh(e) {+ return bf({+ ...e,+ addIdAndValue: !0+ });+}+var fh = /*#__PURE__*/ (0, E.createContext)(null);+function ph(e) {+ let t = (0, E.useContext)(fh), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = dh({+ ...e,+ idScope: r,+ dependencies: n+ });+ return (0, E.useContext)(eh) && (i = /*#__PURE__*/ E.createElement(mh, null, i)), t = (0, E.useMemo)(() => ({+ dependencies: n,+ idScope: r+ }), [r, ...n]), /*#__PURE__*/ E.createElement(fh.Provider, { value: t }, i);+}+function mh({ children: e }) {+ let t = (0, E.useContext)(eh), n = (0, E.useMemo)(() => /*#__PURE__*/ E.createElement(eh.Provider, { value: null }, /*#__PURE__*/ E.createElement($m.Provider, { value: !0 }, e)), [e]);+ return Pp() ? /*#__PURE__*/ E.createElement(oh.Provider, { value: t }, n) : /*#__PURE__*/ (0, Zm.createPortal)(n, t);}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var qc = {};-qc = {- deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,- longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",- select: "تحديد",- selectedAll: "جميع العناصر المحددة.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "لم يتم تحديد عناصر",- one: () => `${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,- other: () => `${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`- })}.`,- selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`-};+//#region node_modules/react-aria/dist/private/utils/constants.mjs+var hh = "react-aria-clear-focus", gh = "react-aria-focus";//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var Jc = {};-Jc = {- deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,- longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",- select: "Изберете",- selectedAll: "Всички елементи са избрани.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Няма избрани елементи",- one: () => `${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,- other: () => `${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`- })}.`,- selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`-};+//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs+function _h(e) {+ let t = bh(Df(e));+ t !== e && (t && vh(t, e), e && yh(e, t));+}+function vh(e, t) {+ e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {+ bubbles: !0,+ relatedTarget: t+ }));+}+function yh(e, t) {+ e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {+ bubbles: !0,+ relatedTarget: t+ }));+}+function bh(e) {+ let t = Rf(e), n = t?.getAttribute("aria-activedescendant");+ return n && e.getElementById(n) || t;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var Yc = {};-Yc = {- 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",- selectedAll: "Vybrány všechny položky.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nevybrány žádné položky",- one: () => `Vybr\xe1na ${t.number(e.count)} polo\u{17E}ka`,- other: () => `Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`- })}.`,- selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`-};+//#region node_modules/react-aria/dist/private/utils/keyboard.mjs+function xh(e) {+ return ap() ? e.metaKey : e.ctrlKey;+}+var Sh = /* @__PURE__ */ new Set([+ "checkbox",+ "radio",+ "range",+ "color",+ "file",+ "image",+ "button",+ "submit",+ "reset"+]);+function Ch(e) {+ return e instanceof HTMLInputElement && !Sh.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var Xc = {};-Xc = {- deselectedItem: (e) => `${e.item} ikke valgt.`,- longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",- select: "Vælg",- selectedAll: "Alle elementer valgt.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Ingen elementer valgt",- one: () => `${t.number(e.count)} element valgt`,- other: () => `${t.number(e.count)} elementer valgt`- })}.`,- selectedItem: (e) => `${e.item} valgt.`-};+//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs+var wh = E.useInsertionEffect ?? V;+function Th(e) {+ let t = (0, E.useRef)(null);+ return wh(() => {+ t.current = e;+ }, [e]), (0, E.useCallback)((...e) => {+ let n = t.current;+ return n?.(...e);+ }, []);+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var Zc = {};-Zc = {- deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,- longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",- select: "Auswählen",- selectedAll: "Alle Elemente ausgewählt.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Keine Elemente ausgewählt",- one: () => `${t.number(e.count)} Element ausgew\xe4hlt`,- other: () => `${t.number(e.count)} Elemente ausgew\xe4hlt`- })}.`,- selectedItem: (e) => `${e.item} ausgew\xe4hlt.`-};+//#region node_modules/react-aria/dist/private/utils/useEvent.mjs+function Eh(e, t, n, r) {+ let i = Th(n), a = n == null;+ (0, E.useEffect)(() => {+ if (!(a || e.current == null)) return Nf(e.current, t, i, r);+ }, [+ e,+ t,+ r,+ a+ ]);+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var Qc = {};-Qc = {- 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: "Επιλογή",- selectedAll: "Επιλέχθηκαν όλα τα στοιχεία.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Δεν επιλέχθηκαν στοιχεία",- one: () => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,- other: () => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`- })}.`,- selectedItem: (e) => `\u{395}\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}.`-};+//#region node_modules/react-aria/dist/private/utils/useLabels.mjs+function Dh(e, t) {+ let { id: n, "aria-label": r, "aria-labelledby": i } = e;+ return n = gm(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+ };+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var $c = {};-$c = {- deselectedItem: (e) => `${e.item} not selected.`,- select: "Select",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "No items selected",- one: () => `${t.number(e.count)} item selected`,- other: () => `${t.number(e.count)} items selected`- })}.`,- selectedAll: "All items selected.",- selectedItem: (e) => `${e.item} selected.`,- longPressToSelect: "Long press to enter selection mode."-};+//#region node_modules/react-aria/dist/private/i18n/utils.mjs+var Oh = /* @__PURE__ */ new Set([+ "Arab",+ "Syrc",+ "Samr",+ "Mand",+ "Thaa",+ "Mend",+ "Nkoo",+ "Adlm",+ "Rohg",+ "Hebr"+]), kh = /* @__PURE__ */ new Set([+ "ae",+ "ar",+ "arc",+ "bcc",+ "bqi",+ "ckb",+ "dv",+ "fa",+ "glk",+ "he",+ "ku",+ "mzn",+ "nqo",+ "pnb",+ "ps",+ "sd",+ "ug",+ "ur",+ "yi"+]);+function Ah(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 Oh.has(t.script);+ }+ let t = e.split("-")[0];+ return kh.has(t);+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var el = {};-el = {- deselectedItem: (e) => `${e.item} no seleccionado.`,- longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",- select: "Seleccionar",- selectedAll: "Todos los elementos seleccionados.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Ningún elemento seleccionado",- one: () => `${t.number(e.count)} elemento seleccionado`,- other: () => `${t.number(e.count)} elementos seleccionados`- })}.`,- selectedItem: (e) => `${e.item} seleccionado.`-};+//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs+var jh = Symbol.for("react-aria.i18n.locale");+function Mh() {+ let e = typeof window < "u" && window[jh] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+ try {+ Intl.DateTimeFormat.supportedLocalesOf([e]);+ } catch {+ e = "en-US";+ }+ return {+ locale: e,+ direction: Ah(e) ? "rtl" : "ltr"+ };+}+var Nh = Mh(), Ph = /* @__PURE__ */ new Set();+function Fh() {+ Nh = Mh();+ for (let e of Ph) e(Nh);+}+function Ih() {+ let e = Pp(), [t, n] = (0, E.useState)(Nh);+ return (0, E.useEffect)(() => (Ph.size === 0 && window.addEventListener("languagechange", Fh), Ph.add(n), () => {+ Ph.delete(n), Ph.size === 0 && window.removeEventListener("languagechange", Fh);+ }), []), e ? {+ locale: typeof window < "u" && window[jh] || "en-US",+ direction: "ltr"+ } : t;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var tl = {};-tl = {- deselectedItem: (e) => `${e.item} pole valitud.`,- longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",- select: "Vali",- selectedAll: "Kõik üksused valitud.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Üksusi pole valitud",- one: () => `${t.number(e.count)} \xfcksus valitud`,- other: () => `${t.number(e.count)} \xfcksust valitud`- })}.`,- selectedItem: (e) => `${e.item} valitud.`-};+//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs+var Lh = /*#__PURE__*/ E.createContext(null);+function Rh() {+ let e = Ih();+ return (0, E.useContext)(Lh) || e;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var nl = {};-nl = {- deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,- longPressToSelect: "Siirry valintatilaan painamalla pitkään.",- select: "Valitse",- selectedAll: "Kaikki kohteet valittu.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Ei yhtään kohdetta valittu",- one: () => `${t.number(e.count)} kohde valittu`,- other: () => `${t.number(e.count)} kohdetta valittu`- })}.`,- selectedItem: (e) => `${e.item} valittu.`+//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs+var zh = Symbol.for("react-aria.i18n.locale"), Bh = Symbol.for("react-aria.i18n.strings"), Vh = void 0, Hh = class e {+ constructor(e, t = "en-US") {+ this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;+ }+ getStringForLocale(e, t) {+ let n = this.getStringsForLocale(t)[e];+ if (!n) throw Error(`Could not find intl message ${e} in ${t} locale`);+ return n;+ }+ getStringsForLocale(e) {+ let t = this.strings[e];+ return t || (t = Uh(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ }+ static getGlobalDictionaryForPackage(t) {+ if (typeof window > "u") return null;+ let n = window[zh];+ if (Vh === void 0) {+ let t = window[Bh];+ if (!t) return null;+ Vh = {};+ for (let r in t) Vh[r] = new e({ [n]: t[r] }, n);+ }+ let r = Vh?.[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 Uh(e, t, n = "en-US") {+ if (t[e]) return t[e];+ let r = Wh(e), i = Gh(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 Wh(e) {+ return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];+}+function Gh(e) {+ if (Intl.Locale) return new Intl.Locale(e).script;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var rl = {};-rl = {- 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",- selectedAll: "Tous les éléments sélectionnés.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Aucun élément sélectionné",- one: () => `${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,- other: () => `${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`- })}.`,- selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var il = {};-il = {- deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,- longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",- select: "בחר",- selectedAll: "כל הפריטים נבחרו.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "לא נבחרו פריטים",- one: () => `\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,- other: () => `${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`- })}.`,- selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var al = {};-al = {- deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,- longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",- select: "Odaberite",- selectedAll: "Odabrane su sve stavke.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nije odabrana nijedna stavka",- one: () => `Odabrana je ${t.number(e.count)} stavka`,- other: () => `Odabrano je ${t.number(e.count)} stavki`- })}.`,- selectedItem: (e) => `Stavka ${e.item} je odabrana.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var ol = {};-ol = {- deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,- longPressToSelect: "Nyomja hosszan a kijelöléshez.",- select: "Kijelölés",- selectedAll: "Az összes elem kijelölve.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Egy elem sincs kijelölve",- one: () => `${t.number(e.count)} elem kijel\xf6lve`,- other: () => `${t.number(e.count)} elem kijel\xf6lve`- })}.`,- selectedItem: (e) => `${e.item} kijel\xf6lve.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var sl = {};-sl = {- deselectedItem: (e) => `${e.item} non selezionato.`,- longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",- select: "Seleziona",- selectedAll: "Tutti gli elementi selezionati.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nessun elemento selezionato",- one: () => `${t.number(e.count)} elemento selezionato`,- other: () => `${t.number(e.count)} elementi selezionati`- })}.`,- selectedItem: (e) => `${e.item} selezionato.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var cl = {};-cl = {- 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: "選択",- selectedAll: "すべての項目を選択しました。",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "項目が選択されていません",- one: () => `${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,- other: () => `${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`- })}\u{3002}`,- selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var ll = {};-ll = {- 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: "선택",- selectedAll: "모든 항목이 선택되었습니다.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "선택된 항목이 없습니다",- one: () => `${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,- other: () => `${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`- })}.`,- selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var ul = {};-ul = {- deselectedItem: (e) => `${e.item} nepasirinkta.`,- longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",- select: "Pasirinkti",- selectedAll: "Pasirinkti visi elementai.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nepasirinktas nė vienas elementas",- one: () => `Pasirinktas ${t.number(e.count)} elementas`,- other: () => `Pasirinkta element\u{173}: ${t.number(e.count)}`- })}.`,- selectedItem: (e) => `Pasirinkta: ${e.item}.`-};+//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs+var Kh = /* @__PURE__ */ new Map(), qh = /* @__PURE__ */ new Map(), Jh = class {+ constructor(e, t) {+ this.locale = e, this.strings = t;+ }+ format(e, t) {+ let n = this.strings.getStringForLocale(e, this.locale);+ return typeof n == "function" ? n(t, this) : n;+ }+ plural(e, t, n = "cardinal") {+ let r = t["=" + e];+ if (r) return typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Kh.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Kh.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ }+ number(e) {+ let t = qh.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), qh.set(this.locale, t)), t.format(e);+ }+ select(e, t) {+ let n = e[t] || e.other;+ return typeof n == "function" ? n() : n;+ }+}, Yh = /* @__PURE__ */ new WeakMap();+function Xh(e) {+ let t = Yh.get(e);+ return t || (t = new Hh(e), Yh.set(e, t)), t;+}+function Zh(e, t) {+ return t && Hh.getGlobalDictionaryForPackage(t) || Xh(e);+}+function Qh(e, t) {+ let { locale: n } = Rh(), r = Zh(e, t);+ return (0, E.useMemo)(() => new Jh(n, r), [n, r]);+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var dl = {};-dl = {- deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,- longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",- select: "Atlasīt",- selectedAll: "Atlasīti visi vienumi.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nav atlasīts neviens vienums",- one: () => `Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`,- other: () => `Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`- })}.`,- selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`-};+//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs+var $h = /* @__PURE__ */ new Set(["id"]), eg = /* @__PURE__ */ new Set([+ "aria-label",+ "aria-labelledby",+ "aria-describedby",+ "aria-details"+]), tg = /* @__PURE__ */ new Set([+ "href",+ "hrefLang",+ "target",+ "rel",+ "download",+ "ping",+ "referrerPolicy"+]), ng = /* @__PURE__ */ new Set([+ "dir",+ "lang",+ "hidden",+ "inert",+ "translate"+]), rg = /* @__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(".")), ig = /^(data-.*)$/;+function ag(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) && ($h.has(t) || n && eg.has(t) || r && tg.has(t) || i && ng.has(t) || a && (rg.has(t) || t.endsWith("Capture") && rg.has(t.slice(0, -7))) || o?.has(t) || ig.test(t)) && (s[t] = e[t]);+ return s;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var fl = {};-fl = {- deselectedItem: (e) => `${e.item} er ikke valgt.`,- longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",- select: "Velg",- selectedAll: "Alle elementer er valgt.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Ingen elementer er valgt",- one: () => `${t.number(e.count)} element er valgt`,- other: () => `${t.number(e.count)} elementer er valgt`- })}.`,- selectedItem: (e) => `${e.item} er valgt.`-};+//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs+var og = "default", sg = "", cg = /* @__PURE__ */ new WeakMap();+function eee(e) {+ if (cp() && up()) {+ if (og === "default") {+ let t = Df(e);+ sg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ og = "disabled";+ } else if (e instanceof HTMLElement || e instanceof SVGElement) {+ let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ cg.set(e, e.style[t]), e.style[t] = "none";+ }+}+function lg(e) {+ if (cp() && up()) {+ if (og !== "disabled") return;+ og = "restoring", setTimeout(() => {+ cm(() => {+ if (og === "restoring") {+ let t = Df(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = sg || ""), sg = "", og = "default";+ }+ });+ }, 300);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && cg.has(e)) {+ let t = cg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), cg.delete(e);+ }+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var pl = {};-pl = {- deselectedItem: (e) => `${e.item} niet geselecteerd.`,- longPressToSelect: "Druk lang om de selectiemodus te openen.",- select: "Selecteren",- selectedAll: "Alle items geselecteerd.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Geen items geselecteerd",- one: () => `${t.number(e.count)} item geselecteerd`,- other: () => `${t.number(e.count)} items geselecteerd`- })}.`,- selectedItem: (e) => `${e.item} geselecteerd.`-};+//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs+function ug(e, t) {+ let n = Of(t), r = Df(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/intl/grid/pl-PL.mjs-var ml = {};-ml = {- deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,- longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",- select: "Zaznacz",- selectedAll: "Wszystkie zaznaczone elementy.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nie zaznaczono żadnych elementów",- one: () => `${t.number(e.count)} zaznaczony element`,- other: () => `${t.number(e.count)} zaznaczonych element\xf3w`- })}.`,- selectedItem: (e) => `Zaznaczono ${e.item}.`-};+//#region node_modules/react-aria/dist/private/utils/getNonce.mjs+var dg = /* @__PURE__ */ new WeakMap();+function fg(e) {+ let t = Df(e), n = dg.get(t);+ return n ??= ug("csp-nonce", t), n !== void 0 && dg.set(t, n), n;+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var hl = {};-hl = {- deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,- longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",- select: "Selecionar",- selectedAll: "Todos os itens selecionados.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nenhum item selecionado",- one: () => `${t.number(e.count)} item selecionado`,- other: () => `${t.number(e.count)} itens selecionados`- })}.`,- selectedItem: (e) => `${e.item} selecionado.`-};+//#region node_modules/react-aria/dist/private/interactions/context.mjs+var pg = E.createContext({ register: () => {} });+pg.displayName = "PressResponderContext";//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var gl = {};-gl = {- deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,- longPressToSelect: "Prima continuamente para entrar no modo de seleção.",- select: "Selecionar",- selectedAll: "Todos os itens selecionados.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nenhum item selecionado",- one: () => `${t.number(e.count)} item selecionado`,- other: () => `${t.number(e.count)} itens selecionados`- })}.`,- selectedItem: (e) => `${e.item} selecionado.`-};+//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs+function mg() {+ let e = (0, E.useRef)(/* @__PURE__ */ new Map()), t = (0, E.useCallback)((t, n, r, i) => {+ let a = i?.once ? (...t) => {+ e.current.delete(r), r(...t);+ } : r;+ e.current.set(r, {+ type: n,+ eventTarget: t,+ fn: a,+ options: i+ }), t.addEventListener(n, a, i);+ }, []), n = (0, E.useCallback)((t, n, r, i) => {+ let a = e.current.get(r)?.fn || r;+ t.removeEventListener(n, a, i), e.current.delete(r);+ }, []), r = (0, E.useCallback)(() => {+ e.current.forEach((e, t) => {+ n(e.eventTarget, e.type, t, e.options);+ });+ }, [n]);+ return (0, E.useEffect)(() => r, [r]), {+ addGlobalListener: t,+ removeGlobalListener: n,+ removeAllGlobalListeners: r+ };+}//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var _l = {};-_l = {- deselectedItem: (e) => `${e.item} neselectat.`,- longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",- select: "Selectare",- selectedAll: "Toate elementele selectate.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Niciun element selectat",- one: () => `${t.number(e.count)} element selectat`,- other: () => `${t.number(e.count)} elemente selectate`- })}.`,- selectedItem: (e) => `${e.item} selectat.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var vl = {};-vl = {- deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,- longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",- select: "Выбрать",- selectedAll: "Выбраны все элементы.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Нет выбранных элементов",- one: () => `${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,- other: () => `${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`- })}.`,- selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var yl = {};-yl = {- deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,- longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",- select: "Vybrať",- selectedAll: "Všetky vybraté položky.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Žiadne vybraté položky",- one: () => `${t.number(e.count)} vybrat\xe1 polo\u{17E}ka`,- other: () => `Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`- })}.`,- selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var bl = {};-bl = {- deselectedItem: (e) => `Element ${e.item} ni izbran.`,- longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",- select: "Izberite",- selectedAll: "Vsi elementi so izbrani.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Noben element ni izbran",- one: () => `${t.number(e.count)} element je izbran`,- other: () => `${t.number(e.count)} elementov je izbranih`- })}.`,- selectedItem: (e) => `Element ${e.item} je izbran.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var xl = {};-xl = {- deselectedItem: (e) => `${e.item} nije izabrano.`,- longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",- select: "Izaberite",- selectedAll: "Izabrane su sve stavke.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Nije izabrana nijedna stavka",- one: () => `Izabrana je ${t.number(e.count)} stavka`,- other: () => `Izabrano je ${t.number(e.count)} stavki`- })}.`,- selectedItem: (e) => `${e.item} je izabrano.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var Sl = {};-Sl = {- deselectedItem: (e) => `${e.item} ej markerat.`,- longPressToSelect: "Tryck länge när du vill öppna väljarläge.",- select: "Markera",- selectedAll: "Alla markerade objekt.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Inga markerade objekt",- one: () => `${t.number(e.count)} markerat objekt`,- other: () => `${t.number(e.count)} markerade objekt`- })}.`,- selectedItem: (e) => `${e.item} markerat.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var Cl = {};-Cl = {- deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,- longPressToSelect: "Seçim moduna girmek için uzun basın.",- select: "Seç",- selectedAll: "Tüm ögeler seçildi.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Hiçbir öge seçilmedi",- one: () => `${t.number(e.count)} \xf6ge se\xe7ildi`,- other: () => `${t.number(e.count)} \xf6ge se\xe7ildi`- })}.`,- selectedItem: (e) => `${e.item} se\xe7ildi.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var wl = {};-wl = {- deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,- longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",- select: "Вибрати",- selectedAll: "Усі елементи вибрано.",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "Жодних елементів не вибрано",- one: () => `${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,- other: () => `\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`- })}.`,- selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var Tl = {};-Tl = {- deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,- longPressToSelect: "长按以进入选择模式。",- select: "选择",- selectedAll: "已选择所有项目。",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "未选择项目",- one: () => `\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,- other: () => `\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`- })}\u{3002}`,- selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var El = {};-El = {- deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,- longPressToSelect: "長按以進入選擇模式。",- select: "選取",- selectedAll: "已選取所有項目。",- selectedCount: (e, t) => `${t.plural(e.count, {- "=0": "未選取任何項目",- one: () => `\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,- other: () => `\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`- })}\u{3002}`,- selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`-};-//#endregion-//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs-var Dl = {};-Dl = {- "ar-AE": qc,- "bg-BG": Jc,- "cs-CZ": Yc,- "da-DK": Xc,- "de-DE": Zc,- "el-GR": Qc,- "en-US": $c,- "es-ES": el,- "et-EE": tl,- "fi-FI": nl,- "fr-FR": rl,- "he-IL": il,- "hr-HR": al,- "hu-HU": ol,- "it-IT": sl,- "ja-JP": cl,- "ko-KR": ll,- "lt-LT": ul,- "lv-LV": dl,- "nb-NO": fl,- "nl-NL": pl,- "pl-PL": ml,- "pt-BR": hl,- "pt-PT": gl,- "ro-RO": _l,- "ru-RU": vl,- "sk-SK": yl,- "sl-SI": bl,- "sr-SP": xl,- "sv-SE": Sl,- "tr-TR": Cl,- "uk-UA": wl,- "zh-CN": Tl,- "zh-TW": El-};-//#endregion-//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Ol(e) {- return e && e.__esModule ? e.default : e;+//#region node_modules/react-aria/dist/private/interactions/usePress.mjs+function hg(e) {+ let t = (0, E.useContext)(pg);+ if (t) {+ let { register: n, ref: r, ...i } = t;+ e = H(i, e), n();+ }+ return zm(t, e.ref), e;}-function kl(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = ua(Ol(Dl), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, E.useRef)(i), o = (0, E.useCallback)(() => {- if (!t.selectionManager.isFocused || i === a.current) {- a.current = i;- return;+var gg = class {+ #e;+ constructor(e, t, n, r) {+ this.#e = !0;+ let i = (r?.target ?? n.currentTarget)?.getBoundingClientRect(), a, o = 0, s, c = null;+ n.clientX != null && n.clientY != null && (s = n.clientX, c = n.clientY), i && (s != null && c != null ? (a = s - i.left, o = c - i.top) : (a = i.width / 2, o = i.height / 2)), this.type = e, this.pointerType = t, this.target = n.currentTarget, this.shiftKey = n.shiftKey, this.metaKey = n.metaKey, this.ctrlKey = n.ctrlKey, this.altKey = n.altKey, this.x = a, this.y = o, this.key = n.key;+ }+ continuePropagation() {+ this.#e = !1;+ }+ get shouldStopPropagation() {+ return this.#e;+ }+}, _g = Symbol("linkClicked"), vg = "react-aria-pressable-style", yg = "data-react-aria-pressable";+function bg(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 } = hg(e), [m, h] = (0, E.useState)(!1), g = (0, E.useRef)({+ isPressed: !1,+ ignoreEmulatedMouseEvents: !1,+ didFirePressStart: !1,+ isTriggeringEvent: !1,+ activePointerId: null,+ target: null,+ isOverTarget: !1,+ pointerType: null,+ disposables: []+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = mg(), y = (0, E.useCallback)((e, t) => {+ let i = g.current;+ if (s || i.didFirePressStart) return !1;+ let a = !0;+ if (i.isTriggeringEvent = !0, r) {+ let n = new gg("pressstart", t, e);+ r(n), a = n.shouldStopPropagation;}- let e = Al(i, a.current), o = Al(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)) {- let t = n(e);- t && c.push(r.format("selectedItem", { item: t }));- }- } else if (e.size === 1 && o.size === 0) {- let t = e.keys().next().value;- if (t != null) {- let e = n(t);- e && c.push(r.format("selectedItem", { item: e }));- }- } else if (o.size === 1 && e.size === 0) {- let e = o.keys().next().value;- if (e != null && t.collection.getItem(e)) {- let t = n(e);- t && c.push(r.format("deselectedItem", { item: t }));- }+ return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;+ }, [+ s,+ r,+ n+ ]), b = (0, E.useCallback)((e, r, a = !0) => {+ let o = g.current;+ if (!o.didFirePressStart) return !1;+ o.didFirePressStart = !1, o.isTriggeringEvent = !0;+ let c = !0;+ if (i) {+ let t = new gg("pressend", r, e);+ i(t), c = t.shouldStopPropagation;+ }+ if (n && n(!1), h(!1), t && a && !s) {+ let n = new gg("press", r, e);+ t(n), c &&= n.shouldStopPropagation;}- 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 && yo(c.join(" ")), a.current = i;+ return o.isTriggeringEvent = !1, c;}, [+ s,i,- t.selectionManager.selectedKeys,- t.selectionManager.isFocused,- t.selectionManager.selectionBehavior,- t.selectionManager.selectionMode,- t.collection,n,- r- ]);- xo(() => {- if (t.selectionManager.isFocused) o();- else {- let e = requestAnimationFrame(o);- return () => cancelAnimationFrame(e);+ t+ ]), x = Th(b), S = Th((0, E.useCallback)((e, t) => {+ let n = g.current;+ if (s) return !1;+ if (a) {+ n.isTriggeringEvent = !0;+ let r = new gg("pressup", t, e);+ return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}- }, [i, t.selectionManager.isFocused]);-}-function Al(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);- return n;-}-//#endregion-//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function jl(e, t) {- let n = t?.isDisabled, [r, i] = (0, E.useState)(!1);- return cn(() => {- if (e?.current && !n) {- let t = () => {- if (e.current) {- let t = po(e.current, { tabbable: !0 });- i(!!t.nextNode());- }- };- t();- let n = new MutationObserver(t);- return n.observe(e.current, {- subtree: !0,- childList: !0,- attributes: !0,- attributeFilter: ["tabIndex", "disabled"]- }), () => {- n.disconnect();- };+ return !0;+ }, [s, a])), C = (0, E.useCallback)((e) => {+ let t = g.current;+ if (t.isPressed && t.target) {+ t.didFirePressStart && t.pointerType != null && b(Cg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || lg(t.target);+ for (let e of t.disposables) e();+ t.disposables = [];}- }), !n && r;-}-//#endregion-//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Ml(e) {- return e && e.__esModule ? e.default : e;-}-function Nl(e) {- let t = ua(Ml(Dl), "@react-aria/grid"), n = fr(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return Ao((0, E.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;}, [- e.selectionManager.selectionMode,- e.selectionManager.selectionBehavior,- e.hasItemActions,- t,- r- ]));-}-//#endregion-//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function Pl(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Oc({- usage: "search",- sensitivity: "base"- }), l = t.disabledBehavior, u = (0, E.useMemo)(() => a || new ws({- collection: n,- disabledKeys: r,- disabledBehavior: l,- ref: i,- collator: c,- layoutDelegate: o,- orientation: s- }), [- a,- o,- n,- r,- i,- c,- l,- s- ]), { collectionProps: d } = vc({- ...e,- ref: i,- selectionManager: t,- keyboardDelegate: u- });- return { listProps: d };-}-//#endregion-//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function Fl(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 = kn();- t = Or(t);- let p = (e) => {- if (e.pointerType === "keyboard" && vs(e)) n.toggleSelection(r);- else {- if (n.selectionMode === "none") return;- if (n.isLink(r)) {- if (d === "selection" && i.current) {- let t = n.getItemProps(r);- f.open(i.current, e, t.href, t.routerOptions), n.setSelectedKeys(n.selectedKeys);- return;+ d,+ v,+ b+ ]), w = Th(C);+ (0, E.useEffect)(() => {+ s && g.current.isPressed && w({+ currentTarget: g.current.target,+ shiftKey: !1,+ ctrlKey: !1,+ metaKey: !1,+ altKey: !1+ });+ }, [s]);+ let T = (0, E.useCallback)((e) => {+ u && C(e);+ }, [u, C]), D = (0, E.useCallback)((e) => {+ s || o?.(e);+ }, [s, o]), O = (0, E.useCallback)((e, t) => {+ if (!s && o) {+ let n = new MouseEvent("click", e);+ Qf(n, t), o(Zf(n));+ }+ }, [s, o]), k = (0, E.useMemo)(() => {+ let e = g.current, t = {+ onKeyDown(t) {+ if (Sg(t.nativeEvent, t.currentTarget) && Lf(t.currentTarget, B(t))) {+ Tg(B(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;+ _(Df(t.currentTarget), "keyup", um((t) => {+ Sg(t, i) && !t.repeat && Lf(i, B(t)) && e.target && S(Cg(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && ap() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ } else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());+ },+ onClick(t) {+ if (!(t && !Lf(t.currentTarget, B(t))) && t && t.button === 0 && !e.isTriggeringEvent && !vp.isOpening) {+ let n = !0;+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || mp(t.nativeEvent))) {+ let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");+ D(t), n = e && r && i;+ } else if (e.isPressed && e.pointerType !== "keyboard") {+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Cg(t.currentTarget, t), r), a = x(Cg(t.currentTarget, t), r, !0);+ n = i && a, e.isOverTarget = !1, D(t), w(t);+ }+ e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}- 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 && (Ni(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);- }- };- (0, E.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? ki(i.current) : s ? s() : Jt() !== i.current && i.current && xr(i.current));- }, [- i,- r,- n.focusedKey,- n.childFocusStrategy,- n.isFocused,- o- ]), c ||= n.isDisabled(r);- let m = {};- !o && !c ? m = {- tabIndex: r === n.focusedKey ? 0 : -1,- onFocus(e) {- z(e) === i.current && n.setFocusedKey(r);+ }, n = (t) => {+ if (e.isPressed && e.target && Sg(t, e.target)) {+ Tg(B(t), t.key) && t.preventDefault();+ let n = B(t), r = Lf(e.target, n);+ x(Cg(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && xg(e.target) && Lf(e.target, n) && !t[_g] && (t[_g] = !0, vp(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;+ for (let n of t.values()) e.target?.dispatchEvent(new KeyboardEvent("keyup", n));+ }+ };+ if (typeof PointerEvent < "u") {+ t.onPointerDown = (t) => {+ if (t.button !== 0 || !Lf(t.currentTarget, B(t))) return;+ if (hp(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 || eee(e.target), i = y(t, e.pointerType);+ let a = B(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Df(t.currentTarget), "pointerup", n, !1), _(Df(t.currentTarget), "pointercancel", r, !1);+ }+ i && t.stopPropagation();+ }, t.onMouseDown = (t) => {+ if (Lf(t.currentTarget, B(t)) && t.button === 0) {+ if (l) {+ let n = tp(t.target);+ n && e.disposables.push(n);+ }+ t.stopPropagation();+ }+ }, t.onPointerUp = (t) => {+ !Lf(t.currentTarget, B(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(Cg(e.target, t), e.pointerType));+ }, t.onPointerLeave = (t) => {+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Cg(e.target, t), e.pointerType, !1), T(t));+ };+ let n = (t) => {+ if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {+ if (Lf(e.target, B(t)) && e.pointerType != null) {+ let n = !1, r = setTimeout(() => {+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Sf(e.target), e.target.click()));+ }, 80);+ _(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));+ } else w(t);+ e.isOverTarget = !1;+ }+ }, r = (e) => {+ w(e);+ };+ t.onDragStart = (e) => {+ Lf(e.currentTarget, B(e)) && w(e);+ };}- } : c && (m.onMouseDown = (e) => {- e.preventDefault();- }), (0, E.useEffect)(() => {- c && n.focusedKey === r && n.setFocusedKey(null);+ return t;}, [- n,- c,- r+ _,+ s,+ l,+ v,+ d,+ T,+ y,+ D,+ O]);- let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, y = (l || _) && !c, b = y && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), x = y && v && n.selectionBehavior === "replace", S = b || x, C = (0, E.useRef)(null), w = S && v, T = (0, E.useRef)(!1), D = (0, E.useRef)(!1), O = n.getItemProps(r), k = (e) => {- l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);- }, A = { ref: i };- a ? (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Ll(e.key)) && p(e);- }, u ? (A.onPressUp = b ? void 0 : (e) => {- e.pointerType === "mouse" && v && p(e);- }, A.onPress = b ? k : (e) => {- e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);- }) : A.onPress = (e) => {- if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !Il(e.key)) return;- k(e);- } else e.pointerType !== "keyboard" && v && p(e);- }) : (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Ll(e.key))) && p(e);- }, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Il(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));- });- let j = Ss(n.collection);- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = B(A, {- onPressStart(e) {- e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));- },- onPress(e) {- e.pointerType === "touch" && (n.setFocused(!0), n.setFocusedKey(r));- }- })), O) for (let e of [- "onPressStart",- "onPressEnd",- "onPressChange",- "onPress",- "onPressUp",- "onClick"- ]) O[e] && (A[e] = Sr(A[e], O[e]));- let { pressProps: M, isPressed: ee } = Ma(A), te = x ? (e) => {- C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: N } = sc({- isDisabled: !w,- onLongPress(e) {- e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));- }- }), P = (e) => {- C.current === "touch" && T.current && e.preventDefault();- }, ne = d !== "none" && n.isLink(r) ? (e) => {- An.isOpening || e.preventDefault();- } : void 0, re = B(m, v || b || o && !c ? M : {}, w ? N : {}, {- onDoubleClick: te,- onDragStartCapture: P,- onClick: ne,- id: t- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), F = (e) => {- let t = e;- for (; t && t !== i.current;) {- let e = t.getAttribute("data-collection");- if (e != null) return e !== j;- t = t.parentElement;- }- return on(e);- }, ie = re.onPointerDown;- re.onPointerDown = (e) => {- let t = z(e);- if (t && t !== i.current && F(t)) {- e.stopPropagation();- return;- }- ie?.(e);- };- let ae = re.onMouseDown;- return re.onMouseDown = (e) => {- let t = z(e);- if (t && t !== i.current && F(t)) {- e.stopPropagation();- return;- }- ae?.(e);- }, {- itemProps: re,- isPressed: ee,- isSelected: n.isSelected(r),- isFocused: n.isFocused && n.focusedKey === r,- isDisabled: c,- allowsSelection: v,- hasAction: S+ return (0, E.useEffect)(() => {+ if (!f) return;+ let e = Df(f.current);+ if (!e || !e.head || e.getElementById(vg)) return;+ let t = e.createElement("style");+ t.id = vg;+ let n = fg(e);+ n && (t.nonce = n), t.textContent = `+@layer {+ [${yg}] {+ touch-action: pan-x pan-y pinch-zoom;+ }+}+ `.trim(), e.head.prepend(t);+ }, [f]), (0, E.useEffect)(() => {+ let e = g.current;+ return () => {+ d || lg(e.target ?? void 0);+ for (let t of e.disposables) t();+ e.disposables = [];+ };+ }, [d]), {+ isPressed: c || m,+ pressProps: H(p, k, { [yg]: !0 })};}-function Il(e) {- return e === "Enter";+function xg(e) {+ return e.tagName === "A" && e.hasAttribute("href");}-function Ll(e) {- return e === " ";+function Sg(e, t) {+ let { key: n, code: r } = e, i = t, a = i.getAttribute("role");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Of(i).HTMLInputElement && !Eg(i, n) || i instanceof Of(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && xg(i)) && n !== "Enter");}-//#endregion-//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Rl(e) {- return e && e.__esModule ? e.default : e;+function Cg(e, t) {+ let n = t.clientX, r = t.clientY;+ return {+ currentTarget: e,+ shiftKey: t.shiftKey,+ ctrlKey: t.ctrlKey,+ metaKey: t.metaKey,+ altKey: t.altKey,+ clientX: n,+ clientY: r,+ key: t.key+ };}-function zl(e, t) {- let { key: n } = e, r = t.selectionManager, i = Or(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);- return { checkboxProps: {- id: i,- "aria-label": ua(Rl(Dl), "@react-aria/grid").format("select"),- isSelected: o,- isDisabled: a,- onChange: () => r.toggleSelection(n)- } };+function wg(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !xg(e);}-//#endregion-//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Bl(e, t, n) {- let r = V(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 } = Pl({- ...e,- ref: n,- selectionManager: t.selectionManager,- collection: t.collection,- disabledKeys: t.disabledKeys,- linkBehavior: o- }), { focusWithinProps: c } = $o({- onFocusWithin: e.onFocus,- onBlurWithin: e.onBlur,- onFocusWithinChange: e.onFocusChange- }), l = Or(e.id);- hs.set(t, {- id: l,- shouldUseVirtualFocus: e.shouldUseVirtualFocus,- shouldSelectOnPressUp: e.shouldSelectOnPressUp,- shouldFocusOnHover: e.shouldFocusOnHover,- isVirtualized: e.isVirtualized,- onAction: e.onAction,- linkBehavior: o,- UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior- });- let { labelProps: u, fieldProps: d } = Zo({- ...e,- id: l,- labelElementType: "span"- });- return {- labelProps: u,- listBoxProps: B(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {- role: "listbox",- "aria-orientation": a,- ...B(d, s)- })- };+function Tg(e, t) {+ return ap() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Eg(e, t) : wg(e);}-//#endregion-//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Vl(e) {- let { heading: t, "aria-label": n } = e, r = Or();- return {- itemProps: { role: "presentation" },- headingProps: t ? {- id: r,- role: "presentation",- onMouseDown: (e) => {- e.preventDefault();- }- } : {},- groupProps: {- role: "group",- "aria-label": n,- "aria-labelledby": t ? r : void 0- }- };+var tee = /* @__PURE__ */ new Set([+ "checkbox",+ "radio",+ "range",+ "color",+ "file",+ "image",+ "button",+ "submit",+ "reset"+]);+function Eg(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : tee.has(e.type);}//#endregion-//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Hl(e, t, n) {- let { key: r } = e, i = hs.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 = Ar(), f = Ar(), p = {- role: "option",- "aria-disabled": a || void 0,- "aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,- "aria-label": e["aria-label"],- "aria-labelledby": d,- "aria-describedby": f- }, m = t.collection.getItem(r);- if (u) {- let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Ec(t.collection);- }- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = _s(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Fl({- selectionManager: t.selectionManager,- key: r,- ref: n,- shouldSelectOnPressUp: s,- allowsDifferentPressOrigin: s && c,- isVirtualized: u,- shouldUseVirtualFocus: l,- isDisabled: a,- onAction: h || m?.props?.onAction ? Sr(m?.props?.onAction, h) : void 0,- linkBehavior: i?.linkBehavior,- UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,- id: g- }), { hoverProps: S } = Wc({- isDisabled: a || !c,- onHoverStart() {- lr() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));- }- }), C = V(m?.props);- delete C.id;- let w = Pn(m?.props);+//#region node_modules/react-aria/dist/private/button/useButton.mjs+function nee(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,+ disabled: r,+ form: e.form,+ formAction: e.formAction,+ formEncType: e.formEncType,+ formMethod: e.formMethod,+ formNoValidate: e.formNoValidate,+ formTarget: e.formTarget,+ name: e.name,+ value: e.value+ } : {+ role: "button",+ href: n === "a" && !r ? f : void 0,+ target: n === "a" ? p : void 0,+ type: n === "input" ? h : void 0,+ disabled: n === "input" ? r : void 0,+ "aria-disabled": !r || n === "input" ? void 0 : r,+ rel: n === "a" ? m : void 0+ };+ let { pressProps: _, isPressed: v } = bg({+ onPressStart: a,+ onPressEnd: o,+ onPressChange: c,+ onPress: i,+ onPressUp: s,+ onClick: d,+ isDisabled: r,+ preventFocusOnPress: l,+ ref: t+ }), { focusableProps: y } = Hm(e, t);+ u && (y.tabIndex = r ? -1 : y.tabIndex);+ let b = H(y, _, ag(e, { labelable: !0 }));return {- optionProps: {- ...p,- ...B(C, _, S, w),- id: g- },- labelProps: { id: d },- descriptionProps: { id: f },- isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && lr(),- isSelected: o,- isDisabled: a,isPressed: v,- allowsSelection: x,- hasAction: b+ buttonProps: H(g, b, {+ "aria-haspopup": e["aria-haspopup"],+ "aria-expanded": e["aria-expanded"],+ "aria-controls": e["aria-controls"],+ "aria-pressed": e["aria-pressed"],+ "aria-current": e["aria-current"],+ "aria-disabled": e["aria-disabled"]+ })};}//#endregion-//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Ul() {- return window.ResizeObserver !== void 0;-}-function Wl(e) {- let { ref: t, box: n, onResize: r } = e, i = Li(r);- (0, E.useEffect)(() => {- let e = t?.current;+//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs+var ree = class {+ constructor(e, t, n, r) {+ this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {+ if (e.nodeType === Node.ELEMENT_NODE) {+ let t = e.shadowRoot;+ if (t) {+ let e = this._doc.createTreeWalker(t, this.whatToShow, { acceptNode: this._acceptNode });+ return this._walkerStack.unshift(e), NodeFilter.FILTER_ACCEPT;+ }+ if (typeof this.filter == "function") return this.filter(e);+ if (this.filter?.acceptNode) return this.filter.acceptNode(e);+ if (this.filter === null) return NodeFilter.FILTER_ACCEPT;+ }+ return NodeFilter.FILTER_SKIP;+ }, this._doc = e, this.root = t, this.filter = r ?? null, this.whatToShow = n ?? NodeFilter.SHOW_ALL, this._currentNode = t, this._walkerStack.unshift(e.createTreeWalker(t, n, this._acceptNode));+ let i = t.shadowRoot;+ if (i) {+ let e = this._doc.createTreeWalker(i, this.whatToShow, { acceptNode: this._acceptNode });+ this._walkerStack.unshift(e);+ }+ }+ get currentNode() {+ return this._currentNode;+ }+ set currentNode(e) {+ if (!Lf(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 });+ t.push(i), i.currentNode = r, this._currentSetFor.add(i), n = r = e.host;+ } else n = n.parentNode;+ let i = this._doc.createTreeWalker(this.root, this.whatToShow, { acceptNode: this._acceptNode });+ t.push(i), i.currentNode = r, this._currentSetFor.add(i), this._walkerStack = t;+ }+ get doc() {+ return this._doc;+ }+ firstChild() {+ let e = this.currentNode, t = this.nextNode();+ return Lf(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ }+ lastChild() {+ let e = this._walkerStack[0].lastChild();+ return e && (this.currentNode = e), e;+ }+ nextNode() {+ let e = this._walkerStack[0].nextNode();if (e) {- if (Ul()) {- let t = new window.ResizeObserver((e) => {- e.length && i();- });- return t.observe(e, { box: n }), () => {- e && t.unobserve(e);- };+ if (e.shadowRoot) {+ let t;+ if (typeof this.filter == "function" ? t = this.filter(e) : this.filter?.acceptNode && (t = this.filter.acceptNode(e)), t === NodeFilter.FILTER_ACCEPT) return this.currentNode = e, e;+ let n = this.nextNode();+ return n && (this.currentNode = n), n;}- return window.addEventListener("resize", i, !1), () => {- window.removeEventListener("resize", i, !1);- };+ return e && (this.currentNode = e), e;}- }, [t, n]);+ if (this._walkerStack.length > 1) {+ this._walkerStack.shift();+ let e = this.nextNode();+ return e && (this.currentNode = e), e;+ }+ return null;+ }+ previousNode() {+ let e = this._walkerStack[0];+ if (e.currentNode === e.root) {+ if (this._currentSetFor.has(e)) {+ if (this._currentSetFor.delete(e), this._walkerStack.length > 1) {+ this._walkerStack.shift();+ let e = this.previousNode();+ return e && (this.currentNode = e), e;+ }+ return null;+ }+ return null;+ }+ let t = e.previousNode();+ if (t) {+ if (t.shadowRoot) {+ let e;+ if (typeof this.filter == "function" ? e = this.filter(t) : this.filter?.acceptNode && (e = this.filter.acceptNode(t)), e === NodeFilter.FILTER_ACCEPT) return t && (this.currentNode = t), t;+ let n = this.lastChild();+ return n && (this.currentNode = n), n;+ }+ return t && (this.currentNode = t), t;+ }+ if (this._walkerStack.length > 1) {+ this._walkerStack.shift();+ let e = this.previousNode();+ return e && (this.currentNode = e), e;+ }+ return null;+ }+ nextSibling() {+ return null;+ }+ previousSibling() {+ return null;+ }+ parentNode() {+ return null;+ }+};+function Dg(e, t, n, r) {+ return If() ? new ree(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var Gl = {};-Gl = { dismiss: "تجاهل" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var Kl = {};-Kl = { dismiss: "Отхвърляне" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var ql = {};-ql = { dismiss: "Odstranit" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var Jl = {};-Jl = { dismiss: "Luk" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var Yl = {};-Yl = { dismiss: "Schließen" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var Xl = {};-Xl = { dismiss: "Απόρριψη" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var Zl = {};-Zl = { dismiss: "Dismiss" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var Ql = {};-Ql = { dismiss: "Descartar" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var $l = {};-$l = { dismiss: "Lõpeta" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var eu = {};-eu = { dismiss: "Hylkää" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var tu = {};-tu = { dismiss: "Rejeter" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var nu = {};-nu = { dismiss: "התעלם" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var ru = {};-ru = { dismiss: "Odbaci" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var iu = {};-iu = { dismiss: "Elutasítás" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var au = {};-au = { dismiss: "Ignora" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var ou = {};-ou = { dismiss: "閉じる" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var su = {};-su = { dismiss: "무시" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var cu = {};-cu = { dismiss: "Atmesti" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var lu = {};-lu = { dismiss: "Nerādīt" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var uu = {};-uu = { dismiss: "Lukk" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var du = {};-du = { dismiss: "Negeren" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var fu = {};-fu = { dismiss: "Zignoruj" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var pu = {};-pu = { dismiss: "Descartar" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var mu = {};-mu = { dismiss: "Dispensar" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var hu = {};-hu = { dismiss: "Revocare" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var gu = {};-gu = { dismiss: "Пропустить" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var _u = {};-_u = { dismiss: "Zrušiť" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var vu = {};-vu = { dismiss: "Opusti" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var yu = {};-yu = { dismiss: "Odbaci" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var bu = {};-bu = { dismiss: "Avvisa" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var xu = {};-xu = { dismiss: "Kapat" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var Su = {};-Su = { dismiss: "Скасувати" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var Cu = {};-Cu = { dismiss: "取消" };-//#endregion-//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var wu = {};-wu = { dismiss: "關閉" };-//#endregion-//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var Tu = {};-Tu = {- "ar-AE": Gl,- "bg-BG": Kl,- "cs-CZ": ql,- "da-DK": Jl,- "de-DE": Yl,- "el-GR": Xl,- "en-US": Zl,- "es-ES": Ql,- "et-EE": $l,- "fi-FI": eu,- "fr-FR": tu,- "he-IL": nu,- "hr-HR": ru,- "hu-HU": iu,- "it-IT": au,- "ja-JP": ou,- "ko-KR": su,- "lt-LT": cu,- "lv-LV": lu,- "nb-NO": uu,- "nl-NL": du,- "pl-PL": fu,- "pt-BR": pu,- "pt-PT": mu,- "ro-RO": hu,- "ru-RU": gu,- "sk-SK": _u,- "sl-SI": vu,- "sr-SP": yu,- "sv-SE": bu,- "tr-TR": xu,- "uk-UA": Su,- "zh-CN": Cu,- "zh-TW": wu-};-//#endregion-//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Eu(e) {- return e && e.__esModule ? e.default : e;-}-function Du(e) {- let { onDismiss: t, ...n } = e, r = zi(n, ua(Eu(Tu), "@react-aria/overlays").format("dismiss")), i = () => {- t && t();- };- return /*#__PURE__*/ E.createElement(ss, null, /*#__PURE__*/ E.createElement("button", {- ...r,- tabIndex: -1,- onClick: i,- style: {- width: 1,- height: 1+//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs+var Og = /*#__PURE__*/ E.createContext(null), kg = "react-aria-focus-scope-restore", Ag = null;+function jg(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)([]), { parentNode: c } = (0, E.useContext)(Og) || {}, l = (0, E.useMemo)(() => new qg({ scopeRef: s }), [s]);+ V(() => {+ let e = c || Jg.root;+ if (Jg.getTreeNode(e.scopeRef) && Ag && !zg(Ag, e.scopeRef)) {+ let t = Jg.getTreeNode(Ag);+ t && (e = t);}+ e.addChild(l), Jg.addNode(l);+ }, [l, c]), V(() => {+ let e = Jg.getTreeNode(s);+ e && (e.contain = !!n);+ }, [n]), V(() => {+ let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();+ for (; e && e !== o.current;) t.push(e), e.addEventListener(kg, n), e = e.nextSibling;+ return s.current = t, () => {+ for (let e of t) e.removeEventListener(kg, n);+ };+ }, [t]), cee(s, r, n), Pg(s, n), lee(s, r, n), see(s, i), (0, E.useEffect)(() => {+ let e = Rf(Df(s.current ? s.current[0] : void 0)), t = null;+ if (Ig(e, s.current)) {+ for (let n of Jg.traverse()) n.scopeRef && Ig(e, n.scopeRef.current) && (t = n);+ t === Jg.getTreeNode(s) && (Ag = t.scopeRef);+ }+ }, [s]), V(() => () => {+ let e = Jg.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === Ag || zg(s, Ag)) && (!e || Jg.getTreeNode(e)) && (Ag = e), Jg.removeTreeNode(s);+ }, [s]);+ let u = (0, E.useMemo)(() => iee(s), []), d = (0, E.useMemo)(() => ({+ focusManager: u,+ parentNode: l+ }), [l, u]);+ return /*#__PURE__*/ E.createElement(Og.Provider, { value: d }, /*#__PURE__*/ E.createElement("span", {+ "data-focus-scope-start": !0,+ hidden: !0,+ ref: a+ }), t, /*#__PURE__*/ E.createElement("span", {+ "data-focus-scope-end": !0,+ hidden: !0,+ ref: o}));}-//#endregion-//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var Ou = [];-function ku(e, t) {- let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, E.useRef)(void 0);- (0, E.useEffect)(() => {- if (i && !Ou.includes(t)) return Ou.push(t), () => {- let e = Ou.indexOf(t);- e >= 0 && Ou.splice(e, 1);- };- }, [i, t]);- let l = () => {- Ou[Ou.length - 1] === t && n && n();- }, u = (e) => {- let n = Ou[Ou.length - 1];- c.current = n, (!s || s(z(e))) && n === t && e.stopPropagation();- }, d = (e) => {- (!s || s(z(e))) && (Ou[Ou.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Yr({ shortcuts: { Escape: () => {- if (!o) {- l();- return;- }- return !1;- } } });- Gc({- ref: t,- onInteractOutside: a && i ? d : void 0,- onInteractOutsideStart: u- });- let { focusWithinProps: p } = $o({- isDisabled: !r,- onBlurWithin: (e) => {- !e.relatedTarget || no(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();- }- });+function iee(e) {return {- overlayProps: {- ...f,- ...p+ focusNext(t = {}) {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rf(Df(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Gg(Mg(n), {+ tabbable: i,+ accept: o+ }, n);+ l.currentNode = Ig(s, n) ? s : c;+ let u = l.nextNode();+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Bg(u, !0), u;},- underlayProps: {}+ focusPrevious(t = {}) {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rf(Df(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Gg(Mg(n), {+ tabbable: i,+ accept: o+ }, n);+ l.currentNode = Ig(s, n) ? s : c;+ let u = l.previousNode();+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Bg(u, !0), u;+ },+ focusFirst(t = {}) {+ let n = e.current, { tabbable: r, accept: i } = t, a = Gg(Mg(n), {+ tabbable: r,+ accept: i+ }, n);+ a.currentNode = n[0].previousElementSibling;+ let o = a.nextNode();+ return o && Bg(o, !0), o;+ },+ focusLast(t = {}) {+ let n = e.current, { tabbable: r, accept: i } = t, a = Gg(Mg(n), {+ tabbable: r,+ accept: i+ }, n);+ a.currentNode = n[n.length - 1].nextElementSibling;+ let o = a.previousNode();+ return o && Bg(o, !0), o;+ }};}-//#endregion-//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var Au = typeof document < "u" && window.visualViewport, ju = 0, Mu;-function Nu(e = {}) {- let { isDisabled: t } = e;- cn(() => {- if (!t) return ju++, ju === 1 && (Mu = bn() && Sn() ? Fu() : Pu()), () => {- ju--, ju === 0 && Mu();- };- }, [t]);+function Mg(e) {+ return e[0].parentElement;}-function Pu() {- let e = window.innerWidth - document.documentElement.clientWidth;- return Sr(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Gt(document.documentElement, "scrollbar-gutter", "stable") : Gt(document.documentElement, "padding-right", `${e}px`)), Gt(document.documentElement, "overflow", "hidden"));+function Ng(e) {+ let t = Jg.getTreeNode(Ag);+ for (; t && t.scopeRef !== e;) {+ if (t.contain) return !1;+ t = t.parent;+ }+ return !0;}-function Fu() {- let e = Gt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = z(e);- t = So(r) ? r : Co(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 = wa();- 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)) {- if (!t || t === document.documentElement || t === document.body) {- e.preventDefault();- return;- }- t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();- }- }, s = (e) => {- let t = z(e), n = e.relatedTarget;- n && Fi(n) ? (n.focus({ preventScroll: !0 }), Iu(n, Fi(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 = Jt(), n = t != null && Fi(t);- c.call(this, {- ...e,- preventScroll: !0- }), (!e || !e.preventScroll) && Iu(this, n);- }- });- let l = Sr(Wt(document, "touchstart", r, {- passive: !1,- capture: !0- }), Wt(document, "touchmove", o, {- passive: !1,- capture: !0- }), Wt(document, "blur", s, !0));- return () => {- e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {- configurable: !0,- writable: !0,- value: c- });- };+function aee(e) {+ if (!e.form) return Array.from(Df(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Of(e);+ return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Iu(e, t) {- t || !Au ? Lu(e) : Au.addEventListener("resize", () => Lu(e), { once: !0 });+function oee(e) {+ if (e.checked) return !0;+ let t = aee(e);+ return t.length > 0 && !t.some((e) => e.checked);}-function Lu(e) {- let t = document.scrollingElement || document.documentElement, n = e;- for (; n && n !== t;) {- let e = Co(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;- Au && (n = Math.min(n, Au.offsetTop + Au.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)),- behavior: "smooth"- });- }+function Pg(e, t) {+ let n = (0, E.useRef)(void 0), r = (0, E.useRef)(void 0);+ V(() => {+ let i = e.current;+ if (!t) {+ r.current &&= (cancelAnimationFrame(r.current), void 0);+ return;}- n = e.parentElement;+ let a = Df(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ng(e) || t.isComposing) return;+ let n = Rf(a), r = e.current;+ if (!r || !Ig(n, r)) return;+ let i = Gg(Mg(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 && (Bg(o, !0), o instanceof Of(o).HTMLInputElement && o.select());+ }, s = (t) => {+ (!Ag || zg(Ag, e)) && Ig(B(t), e.current) ? (Ag = e, n.current = B(t)) : Ng(e) && !Lg(B(t), e) ? n.current ? Bg(n.current) : Ag && Ag.current && Hg(Ag.current) : Ng(e) && (n.current = B(t));+ }, c = (t) => {+ r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {+ let r = Qp(), i = (r === "virtual" || r === null) && fp() && dp(), o = Rf(a);+ if (!i && o && Ng(e) && !Lg(o, e)) {+ Ag = e;+ let r = B(t);+ r && r.isConnected ? (n.current = r, Bg(n.current)) : Ag.current && Hg(Ag.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]), V(() => () => {+ r.current && cancelAnimationFrame(r.current);+ }, [r]);+}+function Fg(e) {+ return Lg(e);+}+function Ig(e, t) {+ return !e || !t ? !1 : t.some((t) => Lf(t, e));+}+function Lg(e, t = null) {+ if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;+ for (let { scopeRef: n } of Jg.traverse(Jg.getTreeNode(t))) if (n && Ig(e, n.current)) return !0;+ return !1;+}+function Rg(e) {+ return Lg(e, Ag);+}+function zg(e, t) {+ let n = Jg.getTreeNode(t)?.parent;+ for (; n;) {+ if (n.scopeRef === e) return !0;+ n = n.parent;}+ return !1;}-//#endregion-//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function Ru(e, t, n) {- let { overlayProps: r, underlayProps: i } = ku({- ...e,- isOpen: t.isOpen,- onClose: t.close- }, n);- return Nu({ isDisabled: !t.isOpen }), Fc(), (0, E.useEffect)(() => {- if (t.isOpen && n.current) return ps([n.current], { shouldUseInert: !0 });- }, [t.isOpen, n]), {- modalProps: B(r),- underlayProps: i- };+function Bg(e, t = !1) {+ if (e != null && !t) try {+ lm(e);+ } catch {}+ else if (e != null) try {+ e.focus();+ } catch {}}-//#endregion-//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var zu = {- top: "top",- bottom: "top",- left: "left",- right: "left"-}, Bu = {- top: "bottom",- bottom: "top",- left: "right",- right: "left"-}, Vu = {- top: "left",- left: "top"-}, Hu = {- top: "height",- left: "width"-}, Uu = {- width: "totalWidth",- height: "totalHeight"-}, Wu = {}, Gu = () => typeof document < "u" ? window.visualViewport : null;-function Ku(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} = rd(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return Sn() && (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,- totalHeight: a,- scroll: c,- top: o,- left: s- };+function Vg(e, t = !0) {+ let n = e[0].previousElementSibling, r = Mg(e), i = Gg(r, { tabbable: t }, e);+ i.currentNode = n;+ let a = i.nextNode();+ return t && !a && (r = Mg(e), i = Gg(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function qu(e) {- return {- top: e.scrollTop,- left: e.scrollLeft,- width: e.scrollWidth,- height: e.scrollHeight- };+function Hg(e, t = !0) {+ Bg(Vg(e, t));}-function Ju(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[Hu[e]], l = o[e] + r.scroll[zu[e]] + a, u = o[e] + r.scroll[zu[e]] + c - a, d = t - s + r.scroll[zu[e]] + o[e] - r[zu[e]], f = t - s + n + r.scroll[zu[e]] + o[e] - r[zu[e]];- return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;+function see(e, t) {+ let n = E.useRef(t);+ (0, E.useEffect)(() => {+ n.current && (Ag = e, !Ig(Rf(Df(e.current ? e.current[0] : void 0)), Ag.current) && e.current && Hg(e.current)), n.current = !1;+ }, [e]);}-function Yu(e) {- let t = window.getComputedStyle(e);- return {- top: parseInt(t.marginTop, 10) || 0,- bottom: parseInt(t.marginBottom, 10) || 0,- left: parseInt(t.marginLeft, 10) || 0,- right: parseInt(t.marginRight, 10) || 0- };+function cee(e, t, n) {+ V(() => {+ if (t || n) return;+ let r = e.current, i = Df(r ? r[0] : void 0), a = (t) => {+ let n = B(t);+ Ig(n, e.current) ? Ag = e : Fg(n) || (Ag = 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));+ };+ }, [+ e,+ t,+ n+ ]);}-function Xu(e) {- if (Wu[e]) return Wu[e];- let [t, n] = e.split(" "), r = zu[t] || "right", i = Vu[r];- zu[n] || (n = "center");- let a = Hu[r], o = Hu[i];- return Wu[e] = {- placement: t,- crossPlacement: n,- axis: r,- crossAxis: i,- size: a,- crossSize: o- }, Wu[e];+function Ug(e) {+ let t = Jg.getTreeNode(Ag);+ for (; t && t.scopeRef !== e;) {+ if (t.nodeToRestore) return !1;+ t = t.parent;+ }+ return t?.scopeRef === e;}-function Zu(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] = is(_[m], v, y), d === p) {- let t = s ? u[h] : u[Uu[h]];- _[Bu[p]] = Math.floor(t - e[p] + i);- } else _[p] = Math.floor(e[p] + e[h] + i);- return _;+function lee(e, t, n) {+ let r = (0, E.useRef)(typeof document < "u" ? Rf(Df(e.current ? e.current[0] : void 0)) : null);+ V(() => {+ let r = e.current, i = Df(r ? r[0] : void 0);+ if (!t || n) return;+ let a = () => {+ (!Ag || zg(Ag, e)) && Ig(Rf(i), e.current) && (Ag = 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]), V(() => {+ let r = Df(e.current ? e.current[0] : void 0);+ if (!t) return;+ let i = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ng(e) || t.isComposing) return;+ let n = r.activeElement;+ if (!Lg(n, e) || !Ug(e)) return;+ let i = Jg.getTreeNode(e);+ if (!i) return;+ let a = i.nodeToRestore, o = Gg(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 || !Lg(s, e)) && a) {+ o.currentNode = a;+ do+ s = t.shiftKey ? o.previousNode() : o.nextNode();+ while (Lg(s, e));+ t.preventDefault(), t.stopPropagation(), s ? Bg(s, !0) : Fg(a) ? Bg(a, !0) : n.blur();+ }+ };+ return n || r.addEventListener("keydown", i, !0), () => {+ n || r.removeEventListener("keydown", i, !0);+ };+ }, [+ e,+ t,+ n+ ]), V(() => {+ let n = Df(e.current ? e.current[0] : void 0);+ if (!t) return;+ let i = Jg.getTreeNode(e);+ if (i) return i.nodeToRestore = r.current ?? void 0, () => {+ let r = Jg.getTreeNode(e);+ if (!r) return;+ let i = r.nodeToRestore, a = Rf(n);+ if (t && i && (a && Lg(a, e) || a === n.body && Ug(e))) {+ let t = Jg.clone();+ requestAnimationFrame(() => {+ if (n.activeElement === n.body) {+ let n = t.getTreeNode(e);+ for (; n;) {+ if (n.nodeToRestore && n.nodeToRestore.isConnected) {+ Wg(n.nodeToRestore);+ return;+ }+ n = n.parent;+ }+ for (n = t.getTreeNode(e); n;) {+ if (n.scopeRef && n.scopeRef.current && Jg.getTreeNode(n.scopeRef)) {+ let e = Vg(n.scopeRef.current, !0);+ if (e) {+ Wg(e);+ return;+ }+ }+ n = n.parent;+ }+ }+ });+ }+ };+ }, [e, t]);}-function Qu(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[Uu.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 Wg(e) {+ e.dispatchEvent(new CustomEvent(kg, {+ bubbles: !0,+ cancelable: !0+ })) && Bg(e);}-function $u(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[Bu[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[Bu[l]] - i);+function Gg(e, t, n) {+ let r = t?.tabbable ? Yf : Jf, i = Df(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Dg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return Lf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!oee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Ig(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+ } });+ return t?.from && (a.currentNode = t.from), a;}-function ed(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = Xu(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Zu(t, s, n, v, u, d, l, f, m, h, c), T = u, E = $u(s, l, t, i, a + u, v, c, g);- if (o && n[y] > E) {- let e = Xu(`${Bu[S]} ${C}`), r = Zu(t, s, n, e, u, d, l, f, m, h, c);- $u(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+var Kg = class e {+ constructor() {+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new qg({ scopeRef: null }), this.fastMap.set(null, this.root);}- 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 = Ju(b, w[b], n[x], s, c, a, l);- w[b] += O;- let k = Qu(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Zu(t, s, n, v, T, d, l, f, m, h, c), O = Ju(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[zu[b]], M = j + .5 * t[x], ee = m / 2 + h, te = zu[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), N = n[x] - te - m / 2 - h;- A[b] = is(is(M, t[b] + m / 2 - (w[b] + i[zu[b]]), t[b] + t[x] - m / 2 - (w[b] + i[zu[b]])), ee, N), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);- let P = S === "left" || S === "top" ? n[y] : 0, ne = {- x: S === "top" || S === "bottom" ? j : P,- y: S === "left" || S === "right" ? j : P- };- return {- position: w,- maxHeight: k,- arrowOffsetLeft: A.left,- arrowOffsetTop: A.top,- placement: S,- triggerAnchorPoint: ne- };+ get size() {+ return this.fastMap.size;+ }+ getTreeNode(e) {+ return this.fastMap.get(e);+ }+ addTreeNode(e, t, n) {+ let r = this.fastMap.get(t ?? null);+ if (!r) return;+ let i = new qg({ scopeRef: e });+ r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);+ }+ addNode(e) {+ this.fastMap.set(e.scopeRef, e);+ }+ removeTreeNode(e) {+ if (e === null) return;+ 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 && Ig(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);+ }+ *traverse(e = this.root) {+ if (e.scopeRef != null && (yield e), e.children.size > 0) for (let t of e.children) yield* this.traverse(t);+ }+ clone() {+ let t = new e();+ for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);+ return t;+ }+}, qg = class {+ constructor(e) {+ this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;+ }+ addChild(e) {+ this.children.add(e), e.parent = this;+ }+ removeChild(e) {+ this.children.delete(e), e.parent = void 0;+ }+}, Jg = new Kg(), Yg = 7e3, Xg = null;+function Zg(e, t = "assertive", n = Yg) {+ Xg ? Xg.announce(e, t, n) : (Xg = new uee(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Xg.announce(e, t, n) : setTimeout(() => {+ Xg?.isAttached() && Xg?.announce(e, t, n);+ }, 100));}-function td(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 = Gu(), h = r instanceof HTMLElement ? ad(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? rd(n, !1, p) : id(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;+var uee = 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,+ clip: "rect(0 0 0 0)",+ clipPath: "inset(50%)",+ height: "1px",+ margin: "-1px",+ overflow: "hidden",+ padding: 0,+ position: "absolute",+ width: "1px",+ whiteSpace: "nowrap"+ }), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));}- let b = rd(r, !0), x = Yu(r);- b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = qu(i), C = Ku(s, m), w = Ku(h, m), T;- if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = nd(h, !1);- T = {- top: -(e.top - C.top),- left: -(e.left - C.left),- width: 0,- height: 0- };- } else T = (s.tagName === "BODY" || s.tagName === "HTML") && g ? {- top: 0,- left: 0,- width: 0,- height: 0- } : id(s, h, !1);- let E = R(s, h);- return ed(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ isAttached() {+ return this.node?.isConnected;+ }+ createLog(e) {+ let t = document.createElement("div");+ return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;+ }+ destroy() {+ this.node &&= (document.body.removeChild(this.node), null);+ }+ announce(e, t = "assertive", n = Yg) {+ 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(() => {+ r.remove();+ }, n);+ }+ clear(e) {+ this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));+ }+};+//#endregion+//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs+function Qg(e, t) {+ let n = (0, E.useRef)(!0), r = (0, E.useRef)(null), i = Th(e);+ (0, E.useEffect)(() => (n.current = !0, () => {+ n.current = !1;+ }), []), (0, E.useEffect)(() => {+ let e = r.current;+ n.current ? n.current = !1 : (!e || t.some((t, n) => !Object.is(t, e[n]))) && i(), r.current = t;+ }, t);}-function nd(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,- left: r,- width: i,- height: a- };+//#endregion+//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs+function $g(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;}-function rd(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || nd(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;- return {- top: r + s - l,- left: i + c - u,- width: a,- height: o- };+//#endregion+//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs+function e_(e, t) {+ let n = e;+ for ($g(n, t) && (n = n.parentElement); n && !$g(n, t);) n = n.parentElement;+ return n || document.scrollingElement || document.documentElement;}-function id(e, t, n, r) {- let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || nd(e, n);- else {- a = rd(e, n, r);- let i = rd(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;+//#endregion+//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs+function t_(e, t) {+ let n = [], r = document.scrollingElement || document.documentElement;+ for (; e && ($g(e, t) && n.push(e), e !== r);) e = e.parentElement;+ return n;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs+function n_(e, t, n = {}) {+ e !== t && dee(e, t, t.getBoundingClientRect(), n);+}+function dee(e, t, n, r = {}) {+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, te = m - (f ? 0 : E) - S - I, L = h + (f ? 0 : D) + C, ne = g - (f ? 0 : O) - w;+ cp() && up() || u.direction === "ltr" ? ne -= F : u.direction === "rtl" && (L += F);+ let re = k < ee || A > te, ie = j < L || M > ne;+ if (re && i === "start") o += k - ee;+ else if (re && i === "center") o += (k + A) / 2 - (ee + te) / 2;+ else if (re && i === "end") o += A - te;+ else if (re && i === "nearest") {+ let e = k - ee, t = A - te;+ o += Math.abs(e) <= Math.abs(t) ? e : t;}- return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;+ if (ie && a === "start") s += j - L;+ else if (ie && a === "center") s += (j + M) / 2 - (L + ne) / 2;+ else if (ie && a === "end") s += M - ne;+ else if (ie && a === "nearest") {+ let e = j - L, t = M - ne;+ s += Math.abs(e) <= Math.abs(t) ? e : t;+ }+ e.scrollTo({+ left: s,+ top: o+ });}-function ad(e) {- let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !od(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !od(t);) t = t.parentElement;- return t || document.documentElement;+function r_(e, t = {}) {+ let { containingElement: n } = t;+ if (e && e.isConnected) {+ let t = document.scrollingElement || document.documentElement;+ if (window.getComputedStyle(t).overflow !== "hidden") {+ let { left: t, top: r } = e.getBoundingClientRect();+ e?.scrollIntoView?.({ block: "nearest" });+ let { left: i, top: a } = e.getBoundingClientRect();+ (Math.abs(t - i) > 1 || Math.abs(r - a) > 1) && (n?.scrollIntoView?.({+ block: "center",+ inline: "center"+ }), e.scrollIntoView?.({ block: "nearest" }));+ } else {+ let { left: t, top: r } = e.getBoundingClientRect(), i = t_(e, !0);+ for (let t of i) n_(t, e);+ let { left: a, top: o } = e.getBoundingClientRect();+ if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {+ i = n ? t_(n, !0) : [];+ for (let e of i) n_(e, n, {+ block: "center",+ inline: "center"+ });+ for (let t of t_(e, !0)) n_(t, e);+ }+ }+ }}-function od(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/utils/useDescription.mjs+var fee = 0, i_ = /* @__PURE__ */ new Map();+function a_(e) {+ let [t, n] = (0, E.useState)();+ return V(() => {+ if (!e) return;+ let t = i_.get(e);+ if (t) n(t.element.id);+ else {+ let r = `react-aria-description-${fee++}`;+ 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+ }, i_.set(e, t);+ }+ return t.refCount++, () => {+ t && --t.refCount === 0 && (t.element.remove(), i_.delete(e));+ };+ }, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion-//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var sd = typeof document < "u" ? window.visualViewport : null;-function cd(e) {- let { direction: t } = Xi(), { 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, E.useState)(null), x = [- p,- s,- i.current,- r.current,- a?.current,- o.current,- c,- l,- u,- d,- f,- m,- t,- g,- _,- n- ], S = (0, E.useRef)(sd?.scale);+//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs+function o_(e, t, n) {+ let r = Th((e) => {+ n && !e.defaultPrevented && n(t);+ });(0, E.useEffect)(() => {- m && (S.current = sd?.scale);- }, [m]);- let C = (0, E.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || sd?.scale !== S.current) return;- let e = null;- if (o.current && Xt(o.current)) {- let t = Jt()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();- e = {- type: "top",- offset: (t?.top ?? 0) - n.top- }, e.offset > n.height / 2 && (e.type = "bottom", e.offset = (t?.bottom ?? 0) - n.bottom);- }- 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 = td({- placement: ud(s, t),- overlayNode: i.current,- targetNode: r.current,- scrollNode: o.current || i.current,- padding: c,- shouldFlip: l,- boundaryElement: u,- offset: d,- crossOffset: f,- maxHeight: g,- arrowSize: n ?? (a?.current ? nd(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 = Jt();- 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;+ let t = e?.current?.form;+ return t?.addEventListener("reset", r), () => {+ t?.removeEventListener("reset", r);+ };+ }, [e]);+}+//#endregion+//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs+function s_(e, t, n) {+ let { validationBehavior: r, focus: i } = e;+ V(() => {+ 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(c_(n.current));}- b(y);- }, x);- cn(C, x), ld(C), Wl({- ref: i,- onResize: C- }), Wl({- ref: r,- onResize: C});- let w = (0, E.useRef)(!1);- cn(() => {- let e, t = () => {- w.current = !0, clearTimeout(e), e = setTimeout(() => {- w.current = !1;- }, 500), C();- }, n = () => {- w.current && t();- };- sd?.addEventListener("resize", t), sd?.addEventListener("scroll", n);- let r = Wt(Yt(window), "scroll", n);- return () => {- sd?.removeEventListener("resize", t), sd?.removeEventListener("scroll", n), r();+ let a = (0, E.useRef)(!1), o = Th(() => {+ a.current || t.resetValidation();+ }), s = Th((e) => {+ t.displayValidation.isInvalid || t.commitValidation();+ let r = n?.current?.form;+ !e.defaultPrevented && n && r && l_(r) === n.current && (i ? i() : n.current?.focus(), $p("keyboard")), e.preventDefault();+ }), c = Th(() => {+ t.commitValidation();+ });+ (0, E.useEffect)(() => {+ let e = n?.current;+ if (!e) return;+ let t = e.form, r = t?.reset;+ return t && (t.reset = () => {+ a.current = !window.event || window.event.type === "message" && B(window.event) instanceof MessagePort, r?.call(t), a.current = !1;+ }), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {+ e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);};- }, [C]);- let T = (0, E.useCallback)(() => {- w.current || h?.();- }, [h, w]);- return uc({- triggerRef: r,- isOpen: m,- onClose: h && T- }), {- overlayProps: { style: {- position: y ? "absolute" : "fixed",- top: y ? void 0 : 0,- left: y ? void 0 : 0,- zIndex: 1e5,- ...y?.position,- maxHeight: y?.maxHeight ?? "100vh"- } },- placement: y?.placement ?? null,- triggerAnchorPoint: y?.triggerAnchorPoint ?? null,- arrowProps: {- "aria-hidden": "true",- role: "presentation",- style: {- left: y?.arrowOffsetLeft,- top: y?.arrowOffsetTop- }- },- updatePosition: C+ }, [n, r]);+}+function pee(e) {+ let t = e.validity;+ return {+ badInput: t.badInput,+ customError: t.customError,+ patternMismatch: t.patternMismatch,+ rangeOverflow: t.rangeOverflow,+ rangeUnderflow: t.rangeUnderflow,+ stepMismatch: t.stepMismatch,+ tooLong: t.tooLong,+ tooShort: t.tooShort,+ typeMismatch: t.typeMismatch,+ valueMissing: t.valueMissing,+ valid: t.valid};}-function ld(e) {- cn(() => (window.addEventListener("resize", e, !1), () => {- window.removeEventListener("resize", e, !1);- }), [e]);+function c_(e) {+ return {+ isInvalid: !e.validity.valid,+ validationDetails: pee(e),+ validationErrors: e.validationMessage ? [e.validationMessage] : []+ };}-function ud(e, t) {- return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");+function l_(e) {+ for (let t = 0; t < e.elements.length; t++) {+ let n = e.elements[t];+ if (n.validity?.valid === !1) return n;+ }+ return null;}//#endregion-//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs-function dd(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 } = ku({- 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 } = cd({- ...c,- targetRef: n,- overlayRef: r,- isOpen: t.isOpen,- onClose: a && !l ? t.close : null,- getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)- });- Nu({ isDisabled: a || !t.isOpen }), (0, E.useEffect)(() => {- if (t.isOpen && r.current) return a ? ms(i?.current ?? r.current) : ps([i?.current ?? r.current], { shouldUseInert: !0 });- }, [- a,- t.isOpen,- r,- i- ]);- let { focusWithinProps: g } = $o(e);+//#region node_modules/react-aria/dist/private/utils/useSlot.mjs+function u_(e = !0) {+ let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {+ r.current = !0, n(!!e);+ }, []);+ return V(() => {+ r.current || n(!1);+ }, []), [i, t];+}+function d_(e = !0) {+ let t = gm(), [n, r] = u_(e);return {- popoverProps: B(u, f, g),- arrowProps: p,- underlayProps: d,- placement: m,- triggerAnchorPoint: h+ id: r ? t : void 0,+ ref: n};}//#endregion-//#region node_modules/react-aria/dist/private/radio/utils.mjs-var fd = /* @__PURE__ */ new WeakMap();-//#endregion-//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function pd(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: _ } = Ma({- onPressStart: s,- onPressEnd: c,- onPressChange: l,- onPress: u,- onPressUp: d,- onClick: f,- isDisabled: p- }), { pressProps: v, isPressed: y } = Ma({- onPressStart: s,- onPressEnd: c,- onPressChange: l,- onPressUp: d,- onClick: f,- isDisabled: p,- onPress(e) {- u?.(e), t.setSelectedValue(r), n.current?.focus();- }- }), { focusableProps: b } = ei(B(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = B(g, b), S = V(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: D, errorMessageId: O, validationBehavior: k } = fd.get(t);- jo(n, t.defaultSelectedValue, t.setSelectedValue), Mo({ validationBehavior: k }, t, n);- let A = Lo();- return {- labelProps: B(v, (0, E.useMemo)(() => ({- onClick: (e) => e.preventDefault(),- onMouseDown: (e) => e.preventDefault()- }), [])),- inputProps: B(S, {- ...x,- type: "radio",- name: w,- form: T,- tabIndex: C,- disabled: p,- required: t.isRequired && k === "native",- checked: m,- value: r,- onChange: h,- "aria-describedby": [- e["aria-describedby"],- A.id,- t.isInvalid ? O : null,- D- ].filter(Boolean).join(" ") || void 0- }),- descriptionProps: A,- isDisabled: p,- isSelected: m,- isPressed: _ || y- };+//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs+var f_ = {+ badInput: !1,+ customError: !1,+ patternMismatch: !1,+ rangeOverflow: !1,+ rangeUnderflow: !1,+ stepMismatch: !1,+ tooLong: !1,+ tooShort: !1,+ typeMismatch: !1,+ valueMissing: !1,+ valid: !0+}, p_ = {+ ...f_,+ customError: !0,+ valid: !1+}, m_ = {+ isInvalid: !1,+ validationDetails: f_,+ validationErrors: []+}, h_ = (0, E.createContext)({}), g_ = "__reactAriaFormValidationState";+function __(e) {+ if (e.__reactAriaFormValidationState) {+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[g_];+ return {+ realtimeValidation: t,+ displayValidation: n,+ updateValidation: r,+ resetValidation: i,+ commitValidation: a+ };+ }+ return v_(e);}-//#endregion-//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function md(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Xi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Qo({- ...e,- labelElementType: "span",- isInvalid: t.isInvalid,- errorMessage: e.errorMessage || d- }), _ = V(e, { labelable: !0 }), { focusWithinProps: v } = $o({- onBlurWithin(n) {- e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);+function v_(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: p_+ }, l = (0, E.useMemo)(() => !o || i == null ? null : b_(mee(o, i)), [o, i]);+ a?.validationDetails.valid && (a = void 0);+ let u = (0, E.useContext)(h_), d = (0, E.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => y_(u[e])) : y_(u[r]) : [], [u, r]), [f, p] = (0, E.useState)(u), [m, h] = (0, E.useState)(!1);+ u !== f && (p(u), h(!1));+ let g = (0, E.useMemo)(() => b_(m ? [] : d), [m, d]), _ = (0, E.useRef)(m_), [v, y] = (0, E.useState)(m_), b = (0, E.useRef)(m_), x = () => {+ if (!S) return;+ C(!1);+ let e = l || a || _.current;+ x_(e, b.current) || (b.current = e, y(e));+ }, [S, C] = (0, E.useState)(!1);+ return (0, E.useEffect)(x), {+ realtimeValidation: c || g || l || a || m_,+ displayValidation: s === "native" ? c || g || v : c || g || l || a || v,+ updateValidation(e) {+ s === "aria" && !x_(v, e) ? y(e) : _.current = e;},- onFocusWithin: e.onFocus,- onFocusWithinChange: e.onFocusChange- });- function y(e, n) {- let r = po(n.currentTarget, {- from: z(n),- accept: (e) => e instanceof zt(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 } = Yr({- shortcuts: {- ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),- ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),- ArrowDown: (e) => y("next", e),- ArrowUp: (e) => y("prev", e)+ resetValidation() {+ let e = m_;+ x_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},- allowRepeats: !0- }), x = Or(n);- return fd.set(t, {- name: x,- form: r,- descriptionId: h.id,- errorMessageId: g.id,- validationBehavior: c- }), {- radioGroupProps: B(_, {- role: "radiogroup",- ...b,- "aria-invalid": t.isInvalid || void 0,- "aria-errormessage": e["aria-errormessage"],- "aria-readonly": i || void 0,- "aria-required": a || void 0,- "aria-disabled": o || void 0,- "aria-orientation": s,- ...m,- ...v- }),- labelProps: p,- descriptionProps: h,- errorMessageProps: g,- isInvalid: u,- validationErrors: d,- validationDetails: f+ commitValidation() {+ s === "native" && C(!0), h(!0);+ }};}+function y_(e) {+ return e ? Array.isArray(e) ? e : [e] : [];+}+function mee(e, t) {+ if (typeof e == "function") {+ let n = e(t);+ if (n && typeof n != "boolean") return y_(n);+ }+ return [];+}+function b_(e) {+ return e.length ? {+ isInvalid: !0,+ validationErrors: e,+ validationDetails: p_+ } : null;+}+function x_(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/select/useSelect.mjs-var hd = /* @__PURE__ */ new WeakMap();-function gd(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Oc({- usage: "search",- sensitivity: "base"- }), u = (0, E.useMemo)(() => r || new ws(t.collection, t.disabledKeys, n, l), [- r,- t.collection,- t.disabledKeys,- l,- n- ]), { menuTriggerProps: d, menuProps: f } = pc({- isDisabled: i,- type: "listbox"- }, t, n), { keyboardProps: p } = Yr({- shortcuts: {- ArrowLeft: () => {- if (t.selectionManager.selectionMode === "multiple") return !1;- let e = t.selectedKey == null ? u.getFirstKey?.() : u.getKeyAbove?.(t.selectedKey);- e != null && t.setSelectedKey(e);- },- ArrowRight: () => {- if (t.selectionManager.selectionMode === "multiple") return !1;- let e = t.selectedKey == null ? u.getFirstKey?.() : u.getKeyBelow?.(t.selectedKey);- e != null && t.setSelectedKey(e);+//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs+function S_(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 = __({+ ...e,+ value: t.isSelected+ }), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;+ s_(e, b, n);+ let w = (e) => {+ e.stopPropagation(), t.setSelected(B(e).checked);+ }, { pressProps: T, isPressed: D } = bg({+ onPressStart: m,+ onPressEnd: h,+ onPressChange: g,+ onPress: _,+ onPressUp: v,+ onClick: y,+ isDisabled: r+ }), [O, k] = (0, E.useState)(!1), { pressProps: A } = bg({+ onPressStart(e) {+ if (e.pointerType === "keyboard" || e.pointerType === "virtual") {+ e.continuePropagation();+ return;}+ m?.(e), g?.(!0), k(!0);},- allowRepeats: !0,- onKeyDown: e.onKeyDown,- onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = hc({- keyboardDelegate: u,- selectionManager: t.selectionManager,- onTypeSelect(e) {- t.setSelectedKey(e);- }- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = Qo({- ...e,- labelElementType: "span",- isInvalid: h,- errorMessage: e.errorMessage || g- });- t.selectionManager.selectionMode === "multiple" && (m = {});- let S = V(e, { labelable: !0 }), C = B(m, d, y), w = Or();- return hd.set(t, {- isDisabled: i,- isRequired: a,- name: o,- form: s,- validationBehavior: c- }), {- labelProps: {- ...v,- onClick: () => {- e.isDisabled || (n.current?.focus(), dr("keyboard"));+ onPressEnd(e) {+ if (e.pointerType === "keyboard" || e.pointerType === "virtual") {+ e.continuePropagation();+ return;}+ h?.(e), g?.(!1), k(!1);},- triggerProps: B(S, {- ...C,- isDisabled: i,- onKeyDown: Sr(C.onKeyDown, p.onKeyDown),- onKeyUp: p.onKeyUp,- "aria-labelledby": [- w,- C["aria-labelledby"],- C["aria-label"] && !C["aria-labelledby"] ? C.id : null- ].filter(Boolean).join(" "),- onFocus(n) {- t.isFocused || (e.onFocus && e.onFocus(n), e.onFocusChange && e.onFocusChange(!0), t.setFocused(!0));- },- onBlur(n) {- t.isOpen || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ onPressUp(e) {+ if (e.pointerType === "keyboard" || e.pointerType === "virtual") {+ e.continuePropagation();+ return;}- }),- valueProps: { id: w },- menuProps: {- ...f,- onAction: void 0,- autoFocus: t.focusStrategy || !0,- shouldSelectOnPressUp: !0,- shouldFocusOnHover: !0,- disallowEmptySelection: !0,- linkBehavior: "selection",- onBlur: (n) => {- R(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(" ")+ v?.(e);},- descriptionProps: b,- errorMessageProps: x,- isInvalid: h,- validationErrors: g,- validationDetails: _,- hiddenSelectProps: {- isDisabled: i,- name: o,- label: e.label,- state: t,- triggerRef: n,- form: s- }- };-}-//#endregion-//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function _d(e, t, n) {- let r = hd.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = os({ style: {- position: "fixed",- top: 0,- left: 0- } });- jo(e.selectRef, t.defaultValue, t.setValue), Mo({- validationBehavior: c,- focus: () => n.current?.focus()- }, t, e.selectRef);- let d = t.setValue, f = (0, E.useCallback)((e) => {- let t = z(e);- t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);- }, [d]);+ onClick: y,+ onPress(r) {+ if (r.pointerType === "keyboard" || r.pointerType === "virtual") {+ r.continuePropagation();+ return;+ }+ _?.(r), t.toggle(), n.current?.focus();+ let { [g_]: i } = e, { commitValidation: a } = i || b;+ a();+ },+ isDisabled: r || i+ }), { focusableProps: j } = Hm(e, n), M = H(T, j), N = ag(e, { labelable: !0 });+ o_(n, t.defaultSelected, t.setSelected);+ let P = d_(), F = d_();return {- containerProps: {- ...u,- "aria-hidden": !0,- "data-react-aria-prevent-focus": !0,- "data-a11y-ignore": "aria-hidden-focus"- },- inputProps: { style: { display: "none" } },- selectProps: {- tabIndex: -1,- autoComplete: i,- disabled: s,- multiple: t.selectionManager.selectionMode === "multiple",- required: c === "native" && l,- name: a,- form: o,- value: t.value ?? "",- onChange: f,- onInput: f- }+ labelProps: H(A, { onClick: (e) => e.preventDefault() }),+ inputProps: H(N, {+ checked: t.isSelected,+ "aria-required": l && u === "aria" || void 0,+ required: l && u === "native",+ "aria-invalid": x || e.validationState === "invalid" || void 0,+ "aria-errormessage": e["aria-errormessage"],+ "aria-controls": e["aria-controls"],+ "aria-readonly": i || void 0,+ "aria-describedby": [+ P.id,+ F.id,+ p+ ].filter(Boolean).join(" ") || void 0,+ onChange: w,+ disabled: r,+ ...a == null ? {} : { value: a },+ name: o,+ form: s,+ type: "checkbox",+ ...M+ }),+ descriptionProps: P,+ errorMessageProps: F,+ isSelected: t.isSelected,+ isPressed: D || O,+ isDisabled: r,+ isReadOnly: i,+ isInvalid: x || e.validationState === "invalid",+ validationErrors: S,+ validationDetails: C};}-function vd(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, E.useRef)(null), c = (0, E.useRef)(null), { containerProps: l, selectProps: u } = _d({- ...e,- selectRef: t.collection.size <= 300 ? s : c- }, t, n), d = Array.isArray(t.value) ? t.value : [t.value];- if (t.collection.size <= 300) return /*#__PURE__*/ E.createElement("div", {- ...l,- "data-testid": "hidden-select-container"- }, /*#__PURE__*/ E.createElement("label", null, r, /*#__PURE__*/ E.createElement("select", {- ...u,- ref: s- }, /*#__PURE__*/ E.createElement("option", {- value: "",- label: "\xA0"- }, "\xA0"), [...t.collection.getKeys()].map((e) => {- let n = t.collection.getItem(e);- if (n && n.type === "item") return /*#__PURE__*/ E.createElement("option", {- key: n.key,- value: n.key- }, n.textValue);- }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ E.createElement("option", {- key: t,- value: e ?? ""- })))));- if (i) {- let { validationBehavior: e } = hd.get(t) || {};- d.length === 0 && (d = [null]);- let n = d.map((t, n) => {- let r = {- type: "hidden",- autoComplete: u.autoComplete,- name: i,- form: a,- disabled: o,- value: t ?? ""- };- return e === "native" ? /*#__PURE__*/ E.createElement("input", {- key: n,- ...r,- ref: n === 0 ? c : null,- style: { display: "none" },- type: "text",- required: n === 0 && u.required,- onChange: () => {}- }) : /*#__PURE__*/ E.createElement("input", {- key: n,- ...r,- ref: n === 0 ? c : null- });- });- return /*#__PURE__*/ E.createElement(E.Fragment, null, n);- }- return null;+//#endregion+//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs+function C_(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 } = S_(e, t, n), { isIndeterminate: m } = e;+ return (0, E.useEffect)(() => {+ n.current && (n.current.indeterminate = !!m);+ }), {+ labelProps: H(r, (0, E.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ inputProps: i,+ descriptionProps: a,+ errorMessageProps: o,+ isSelected: s,+ isPressed: c,+ isDisabled: l,+ isReadOnly: u,+ isInvalid: d,+ validationErrors: f,+ validationDetails: p+ };}//#endregion-//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function yd(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = Jo(e, t, n);+//#region node_modules/react-aria/dist/private/checkbox/utils.mjs+var hee = /* @__PURE__ */ new WeakMap();+//#endregion+//#region node_modules/react-aria/dist/private/label/useLabel.mjs+function w_(e) {+ let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;+ t = gm(t);+ let o = gm(), s = {};+ n && (r = r ? `${o} ${r}` : o, s = {+ id: o,+ htmlFor: a === "label" ? t : void 0+ });+ let c = Dh({+ id: t,+ "aria-label": i,+ "aria-labelledby": r+ });return {- labelProps: r,- inputProps: {- ...i,- role: "switch",- checked: a- },- isSelected: a,- ...o+ labelProps: s,+ fieldProps: c};}//#endregion-//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var bd = 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 xd(e.layout) : new Cs(e.ref)), this.focusMode = e.focusMode ?? "row";- }- isCell(e) {- return e.type === "cell";- }- isRow(e) {- return e.type === "row" || e.type === "item";- }- isDisabled(e) {- return this.disabledBehavior === "all" && (e.props?.isDisabled || this.disabledKeys.has(e.key)) && e.props?.disabledBehavior !== "selection";- }- findPreviousKey(e, t, n = !1) {- let r = e == null ? this.collection.getLastKey() : this.collection.getKeyBefore(e);- for (; r != null;) {- let e = this.collection.getItem(r);- if (!e) return null;- if ((n || !this.isDisabled(e)) && (!t || t(e))) return r;- r = this.collection.getKeyBefore(r);+//#region node_modules/react-aria/dist/private/label/useField.mjs+function T_(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = w_(e), s = vm([+ !!t,+ !!n,+ r,+ i+ ]), c = vm([+ !!t,+ !!n,+ r,+ i+ ]);+ return o = H(o, { "aria-describedby": [+ s,+ c,+ e["aria-describedby"]+ ].filter(Boolean).join(" ") || void 0 }), {+ labelProps: a,+ fieldProps: o,+ descriptionProps: { id: s },+ errorMessageProps: { id: c }+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs+function E_(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, E.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = mg(), c = (0, E.useCallback)((e) => {+ Lf(e.currentTarget, B(e)) && a.current.isFocusWithin && !Lf(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+ }, [+ n,+ i,+ a,+ s+ ]), l = $f(c), u = (0, E.useCallback)((e) => {+ if (!Lf(e.currentTarget, B(e))) return;+ let t = B(e), n = Df(t), s = Rf(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 = B(e);+ if (a.current.isFocusWithin && !Lf(t, r)) {+ let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });+ Qf(e, t);+ let i = Zf(e);+ c(i);+ }+ }, { capture: !0 });}- return null;+ }, [+ r,+ i,+ l,+ o,+ c+ ]);+ return t ? { focusWithinProps: {+ onFocus: void 0,+ onBlur: void 0+ } } : { focusWithinProps: {+ onFocus: u,+ onBlur: c+ } };+}+//#endregion+//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs+var gee = typeof document < "u" ? E.useInsertionEffect ?? E.useLayoutEffect : () => {};+function D_(e, t, n) {+ let [r, i] = (0, E.useState)(e || t), a = (0, E.useRef)(r), o = (0, E.useRef)(e !== void 0), s = e !== void 0;+ (0, E.useEffect)(() => {+ o.current, o.current = s;+ }, [s]);+ let c = s ? e : r;+ gee(() => {+ a.current = c;+ });+ let [, l] = (0, E.useReducer)(() => ({}), {});+ return [c, (0, E.useCallback)((e, ...t) => {+ let r = typeof e == "function" ? e(a.current) : e;+ Object.is(a.current, r) || (a.current = r, i(r), l(), n?.(r, ...t));+ }, [n])];+}+//#endregion+//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs+function O_(e = {}) {+ let { isReadOnly: t } = e, [n, r] = D_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, E.useState)(n);+ function a(e) {+ t || r(e);}- findNextKey(e, t, n = !1) {- let r = e == null ? this.collection.getFirstKey() : this.collection.getKeyAfter(e);- for (; r != null;) {- let e = this.collection.getItem(r);- if (!e) return null;- if ((n || !this.isDisabled(e)) && (!t || t(e))) return r;- if (r = this.collection.getKeyAfter(r), r == null) return null;- }- return null;+ function o() {+ t || r(!n);}- getKeyForItemInRowByIndex(e, t = 0) {- if (t < 0) return null;- let n = this.collection.getItem(e);- if (!n) return null;- let r = 0;- for (let e of yc(n, this.collection)) {- if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;- r++;+ return {+ isSelected: n,+ defaultSelected: e.defaultSelected ?? i,+ setSelected: a,+ toggle: o+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs+function _ee(e, t, n) {+ let r = O_({+ 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);}- return null;- }- getKeyBelow(e, t) {- let n = e, r = this.collection.getItem(n);- if (!r || (this.isCell(r) && (n = r.parentKey ?? null), n == null)) return null;- if (n = this.findNextKey(n, (e) => e.type === "item", t?.includeDisabled), n != null) {- if (this.isCell(r)) {- let e = r.colIndex ? r.colIndex : r.index;- return this.getKeyForItemInRowByIndex(n, e);- }- if (this.focusMode === "row") return n;- }- return null;- }- getKeyAbove(e, t) {- let n = e, r = this.collection.getItem(n);- if (!r || (this.isCell(r) && (n = r.parentKey ?? null), n == null)) return null;- if (n = this.findPreviousKey(n, (e) => e.type === "item", t?.includeDisabled), n != null) {- if (this.isCell(r)) {- let e = r.colIndex ? r.colIndex : r.index;- return this.getKeyForItemInRowByIndex(n, e);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = hee.get(t);+ c = e.validationBehavior ?? c;+ let { realtimeValidation: l } = __({+ ...e,+ value: r.isSelected,+ name: void 0,+ validationBehavior: "aria"+ }), u = (0, E.useRef)(m_), d = () => {+ t.setInvalid(e.value, l.isInvalid ? l : u.current);+ };+ (0, E.useEffect)(d);+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = C_({+ ...e,+ isReadOnly: e.isReadOnly || t.isReadOnly,+ isDisabled: e.isDisabled || t.isDisabled,+ name: e.name || i,+ form: e.form || a,+ isRequired: e.isRequired ?? t.isRequired,+ validationBehavior: c,+ [g_]: {+ realtimeValidation: f,+ displayValidation: p,+ resetValidation: t.resetValidation,+ commitValidation: t.commitValidation,+ updateValidation(e) {+ u.current = e, d();}- if (this.focusMode === "row") return n;}- return null;- }- getKeyRightOf(e) {- let t = this.collection.getItem(e);- if (!t) return null;- if (this.isRow(t)) {- let e = yc(t, this.collection);- return (this.direction === "rtl" ? Sc(e)?.key : bc(e)?.key) ?? null;+ }, r, n);+ return {+ ...m,+ inputProps: {+ ...m.inputProps,+ "aria-describedby": [+ m.inputProps["aria-describedby"],+ t.isInvalid ? s : null,+ o+ ].filter(Boolean).join(" ") || void 0}- if (this.isCell(t) && t.parentKey != null) {- let n = this.collection.getItem(t.parentKey);- if (!n) return null;- let r = yc(n, this.collection), i = (this.direction === "rtl" ? xc(r, t.index - 1) : xc(r, t.index + 1)) ?? null;- return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/utils/number.mjs+function k_(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 A_ = {+ border: 0,+ clip: "rect(0 0 0 0)",+ clipPath: "inset(50%)",+ height: "1px",+ margin: "-1px",+ overflow: "hidden",+ padding: 0,+ position: "absolute",+ width: "1px",+ whiteSpace: "nowrap"+};+function j_(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, E.useState)(!1), { focusWithinProps: a } = E_({+ isDisabled: !n,+ onFocusWithinChange: (e) => i(e)+ }), o = (0, E.useMemo)(() => r ? t : t ? {+ ...A_,+ ...t+ } : A_, [r]);+ return { visuallyHiddenProps: {+ ...a,+ style: o+ } };+}+function M_(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = j_(e);+ return /*#__PURE__*/ E.createElement(n, H(a, o), t);+}+//#endregion+//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs+function vee(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = D_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Hm(e, t), d = __({+ ...e,+ value: c+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = T_({+ ...e,+ isInvalid: f,+ errorMessage: e.errorMessage || p+ }), y = ag(e, { labelable: !0 }), b = {+ type: o,+ pattern: e.pattern+ }, [x] = (0, E.useState)(c);+ return o_(t, e.defaultValue ?? x, l), s_(e, d, t), {+ labelProps: h,+ inputProps: H(y, n === "input" ? b : void 0, {+ disabled: r,+ readOnly: a,+ required: i && s === "native",+ "aria-required": i && s === "aria" || void 0,+ "aria-invalid": f || void 0,+ "aria-errormessage": e["aria-errormessage"],+ "aria-activedescendant": e["aria-activedescendant"],+ "aria-autocomplete": e["aria-autocomplete"],+ "aria-haspopup": e["aria-haspopup"],+ "aria-controls": e["aria-controls"],+ value: c,+ onChange: (e) => l(B(e).value),+ autoComplete: e.autoComplete,+ autoCapitalize: e.autoCapitalize,+ maxLength: e.maxLength,+ minLength: e.minLength,+ name: e.name,+ form: e.form,+ placeholder: e.placeholder,+ inputMode: e.inputMode,+ autoCorrect: e.autoCorrect,+ spellCheck: e.spellCheck,+ enterKeyHint: e.enterKeyHint,+ onCopy: e.onCopy,+ onCut: e.onCut,+ onPaste: e.onPaste,+ onCompositionEnd: e.onCompositionEnd,+ onCompositionStart: e.onCompositionStart,+ onCompositionUpdate: e.onCompositionUpdate,+ onSelect: e.onSelect,+ onBeforeInput: e.onBeforeInput,+ onInput: e.onInput,+ ...u,+ ...g+ }),+ descriptionProps: _,+ errorMessageProps: v,+ isInvalid: f,+ validationErrors: p,+ validationDetails: m+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs+var N_ = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function P_(e) {+ return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;+}+var F_ = /* @__PURE__ */ new WeakMap(), I_ = [];+function L_(e, t) {+ let n = Of(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && N_, 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 (If()) {+ let t = i.getRootNode();+ for (let n of e) {+ let e = n.getRootNode();+ for (; Mf(e) && e !== t;) u.add(e), e = e.host.getRootNode();}- return null;}- getKeyLeftOf(e) {- let t = this.collection.getItem(e);- if (!t) return null;- if (this.isRow(t)) {- let e = yc(t, this.collection);- return (this.direction === "rtl" ? bc(e)?.key : Sc(e)?.key) ?? null;- }- if (this.isCell(t) && t.parentKey != null) {- let n = this.collection.getItem(t.parentKey);- if (!n) return null;- let r = yc(n, this.collection), i = (this.direction === "rtl" ? xc(r, t.index + 1) : xc(r, t.index - 1)) ?? null;- return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;+ 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 (Lf(e, t)) return NodeFilter.FILTER_SKIP;+ return NodeFilter.FILTER_ACCEPT;+ }, n = Dg(Df(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();}- return null;- }- getFirstKey(e, t) {- let n = e ?? null, r;- if (n != null) {- if (r = this.collection.getItem(n), !r) return null;- if (this.isCell(r) && !t && r.parentKey != null) {- let e = this.collection.getItem(r.parentKey);- return e ? bc(yc(e, this.collection))?.key ?? null : null;+ }, f = (e) => {+ let t = F_.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), F_.set(e, t + 1));+ };+ I_.length && I_[I_.length - 1].disconnect(), d(i);+ let p = new MutationObserver((e) => {+ for (let t of e) if (t.type === "childList") {+ if (t.target.isConnected && ![...o, ...s].some((e) => Lf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && P_(e) ? o.add(e) : e instanceof Element && d(e);+ if (If()) {+ for (let e of u) if (!e.isConnected) {+ p.disconnect();+ break;+ }}}- if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {- let e = this.collection.getItem(n);- if (!e) return null;- n = bc(yc(e, this.collection))?.key ?? null;- }- return n;- }- getLastKey(e, t) {- let n = e ?? null, r;- if (n != null) {- if (r = this.collection.getItem(n), !r) return null;- if (this.isCell(r) && !t && r.parentKey != null) {- let e = this.collection.getItem(r.parentKey);- return e ? Sc(yc(e, this.collection))?.key ?? null : null;+ });+ p.observe(i, {+ childList: !0,+ subtree: !0+ });+ let m = /* @__PURE__ */ new Set();+ if (If()) 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) => Lf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && P_(e) ? o.add(e) : e instanceof Element && d(e);+ if (If()) {+ for (let e of u) if (!e.isConnected) {+ p.disconnect();+ break;+ }+ }}- }- if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {- let e = this.collection.getItem(n);- if (!e) return null;- n = Sc(yc(e, this.collection))?.key ?? null;- }- return n;- }- getKeyPageAbove(e) {- let t = e, n = this.layoutDelegate.getItemRect(t);- if (!n) return null;- let r = Math.max(0, n.y + n.height - this.layoutDelegate.getVisibleRect().height);- for (; n && n.y > r && t != null && (t = this.getKeyAbove(t) ?? null, t != null);) n = this.layoutDelegate.getItemRect(t);- return t;+ });+ t.observe(e, {+ childList: !0,+ subtree: !0+ }), m.add(t);}- getKeyPageBelow(e) {- let t = e, n = this.layoutDelegate.getItemRect(t);- if (!n) return null;- let r = this.layoutDelegate.getVisibleRect().height, i = Math.min(this.layoutDelegate.getContentSize().height, n.y + r);- for (; n && n.y + n.height < i;) {- let e = this.getKeyBelow(t);- if (e == null) break;- n = this.layoutDelegate.getItemRect(e), t = e;+ let h = {+ visibleNodes: o,+ hiddenNodes: s,+ observe() {+ p.observe(i, {+ childList: !0,+ subtree: !0+ });+ },+ disconnect() {+ p.disconnect();}- return t;- }- getKeyForSearch(e, t) {- let n = t ?? null;- if (!this.collator) return null;- let r = this.collection;- if (n = t ?? this.getFirstKey(), n == null) return null;- let i = r.getItem(n);- if (!i) return null;- i.type === "cell" && (n = i.parentKey ?? null);- let a = !1;- for (; n != null;) {- let t = r.getItem(n);- if (!t) return null;- if (t.textValue) {- let n = t.textValue.slice(0, e.length);- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? bc(yc(t, this.collection))?.key ?? null : t.key;- }- n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);+ };+ return I_.push(h), () => {+ if (p.disconnect(), If()) for (let e of m) e.disconnect();+ for (let e of s) {+ let t = F_.get(e);+ t != null && (t === 1 ? (l(e, !1), F_.delete(e)) : F_.set(e, t - 1));}- return null;- }-}, xd = class {+ h === I_[I_.length - 1] ? (I_.pop(), I_.length && I_[I_.length - 1].observe()) : I_.splice(I_.indexOf(h), 1);+ };+}+function R_(e) {+ let t = I_[I_.length - 1];+ if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {+ t.visibleNodes.delete(e);+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/listbox/utils.mjs+var z_ = /* @__PURE__ */ new WeakMap();+function B_(e) {+ return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;+}+function V_(e, t) {+ let n = z_.get(e);+ if (!n) throw Error("Unknown list");+ return `${n.id}-option-${B_(t)}`;+}+//#endregion+//#region node_modules/react-aria/dist/private/selection/utils.mjs+function H_(e) {+ return lp() ? e.altKey : e.ctrlKey;+}+function U_(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 W_ = /* @__PURE__ */ new WeakMap();+function G_(e) {+ let t = gm();+ return W_.set(e, t), t;+}+function K_(e) {+ return W_.get(e);+}+//#endregion+//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs+var q_ = class {constructor(e) {- this.layout = e;- }- getContentSize() {- return this.layout.getContentSize();+ this.ref = e;}getItemRect(e) {- return this.layout.getLayoutInfo(e)?.rect || null;+ let t = this.ref.current;+ if (!t) return null;+ let n = e == null ? null : U_(this.ref, e);+ if (!n) return null;+ let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();+ return {+ x: i.left - r.left - t.clientLeft + t.scrollLeft,+ y: i.top - r.top - t.clientTop + t.scrollTop,+ width: i.width,+ height: i.height+ };+ }+ getContentSize() {+ let e = this.ref.current;+ return {+ width: e?.scrollWidth ?? 0,+ height: e?.scrollHeight ?? 0+ };}getVisibleRect() {- return this.layout.virtualizer.visibleRect;+ let e = this.ref.current;+ return {+ x: e?.scrollLeft ?? 0,+ y: e?.scrollTop ?? 0,+ width: e?.clientWidth ?? 0,+ height: e?.clientHeight ?? 0+ };}-}, Sd = /* @__PURE__ */ new WeakMap();-//#endregion-//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function Cd(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 = Oc({- usage: "search",- sensitivity: "base"- }), { direction: g } = Xi(), _ = t.selectionManager.disabledBehavior, v = (0, E.useMemo)(() => a || new bd({- collection: t.collection,- disabledKeys: t.disabledKeys,- disabledBehavior: _,- ref: n,- direction: g,- collator: h,- focusMode: o- }), [- a,- t.collection,- t.disabledKeys,- _,- n,- g,- h,- o- ]), { collectionProps: y } = vc({- ref: n,- selectionManager: m,- keyboardDelegate: v,- isVirtualized: r,- scrollRef: s,- disallowTypeAhead: i,- escapeKeyBehavior: d- }), b = Or(e.id);- Sd.set(t, {- keyboardDelegate: v,- actions: {- onRowAction: l,- onCellAction: u- },- shouldSelectOnPressUp: f,- keyboardNavigationBehavior: p- });- let x = Nl({- selectionManager: m,- hasItemActions: !!(l || u)- }), S = V(e, { labelable: !0 }), C = (0, E.useCallback)((e) => {- if (m.isFocused) {- R(e.currentTarget, z(e)) || m.setFocused(!1);- return;+}, J_ = 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 q_(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 q_(this.ref);+ this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);+ }+ isDisabled(e) {+ return this.disabledBehavior === "all" && (e.props?.isDisabled || this.disabledKeys.has(e.key)) && e.props?.disabledBehavior !== "selection";+ }+ findNextNonDisabled(e, t, n = !1) {+ let r = e;+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (e?.type === "item" && (n || !this.isDisabled(e))) return r;+ r = t(r);}- R(e.currentTarget, z(e)) && m.setFocused(!0);- }, [m]), w = (0, E.useMemo)(() => ({- onBlur: y.onBlur,- onFocus: C- }), [C, y.onBlur]), T = jl(n, { isDisabled: t.collection.size !== 0 }), D = B(S, {- role: "grid",- id: b,- "aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0- }, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), kl({ getRowText: c }, t), { gridProps: D };-}+ return null;+ }+ getNextKey(e, t) {+ let n = e;+ return n = this.collection.getKeyAfter(n), this.findNextNonDisabled(n, (e) => this.collection.getKeyAfter(e), t?.includeDisabled);+ }+ getPreviousKey(e, t) {+ let n = e;+ return n = this.collection.getKeyBefore(n), this.findNextNonDisabled(n, (e) => this.collection.getKeyBefore(e), t?.includeDisabled);+ }+ findKey(e, t, n) {+ let r = e, i = this.layoutDelegate.getItemRect(r);+ if (!i || r == null) return null;+ let a = i;+ do {+ if (r = t(r), r == null) break;+ i = this.layoutDelegate.getItemRect(r);+ } while (i && n(a, i) && r != null);+ return r;+ }+ isSameRow(e, t) {+ return e.y === t.y || e.x !== t.x;+ }+ isSameColumn(e, t) {+ return e.x === t.x || e.y !== t.y;+ }+ isReversed(e) {+ let t = this.getNextKey(e), n = U_(this.ref, e);+ if (t != null) {+ let e = U_(this.ref, t);+ return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;+ }+ let r = this.getPreviousKey(e);+ if (r != null) {+ let e = U_(this.ref, r);+ return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;+ }+ return !1;+ }+ getKeyBelow(e, t) {+ return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (e) => this.getNextKey(e, t), this.isSameRow) : this.orientation === "vertical" && this.isReversed(e) ? this.getPreviousKey(e, t) : this.getNextKey(e, t);+ }+ getKeyAbove(e, t) {+ return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (e) => this.getPreviousKey(e, t), this.isSameRow) : this.orientation === "vertical" && this.isReversed(e) ? this.getNextKey(e, t) : this.getPreviousKey(e, t);+ }+ getNextColumn(e, t, n) {+ return t ? this.getPreviousKey(e, n) : this.getNextKey(e, n);+ }+ getKeyRightOf(e, t) {+ let n = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";+ return this.layoutDelegate[n] ? (e = this.layoutDelegate[n](e), this.findNextNonDisabled(e, (e) => this.layoutDelegate[n](e), t?.includeDisabled)) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl", t) : this.findKey(e, (e) => this.getNextColumn(e, this.direction === "rtl", t), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl", t) : null;+ }+ getKeyLeftOf(e, t) {+ let n = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";+ return this.layoutDelegate[n] ? (e = this.layoutDelegate[n](e), this.findNextNonDisabled(e, (e) => this.layoutDelegate[n](e), t?.includeDisabled)) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr", t) : this.findKey(e, (e) => this.getNextColumn(e, this.direction === "ltr", t), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr", t) : null;+ }+ getFirstKey() {+ let e = this.collection.getFirstKey();+ return this.findNextNonDisabled(e, (e) => this.collection.getKeyAfter(e));+ }+ getLastKey() {+ let e = this.collection.getLastKey();+ return this.findNextNonDisabled(e, (e) => this.collection.getKeyBefore(e));+ }+ getKeyPageAbove(e) {+ let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);+ if (!n) return null;+ let r = this.isReversed(e);+ if (t && !$g(t)) return this.getFirstKey();+ let i = e;+ if (this.orientation === "horizontal") {+ let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);+ for (; n && n.x > e && i != null;) i = this.getKeyAbove(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);+ } else {+ let e = this.layoutDelegate.getVisibleRect(), t = r ? n.y - e.height : Math.max(0, n.y + n.height - e.height);+ for (; n && n.y > t && i != null;) i = this.getKeyAbove(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);+ }+ return i ?? (r ? this.getLastKey() : this.getFirstKey());+ }+ getKeyPageBelow(e) {+ let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);+ if (!n) return null;+ let r = this.isReversed(e);+ if (t && !$g(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);+ for (; n && n.x < e && i != null;) i = this.getKeyBelow(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);+ } else {+ let e = Math.min(this.layoutDelegate.getContentSize().height, n.y - n.height + this.layoutDelegate.getVisibleRect().height);+ for (; n && n.y < e && i != null;) i = this.getKeyBelow(i), n = i == null ? null : this.layoutDelegate.getItemRect(i);+ }+ return i ?? (r ? this.getFirstKey() : this.getLastKey());+ }+ getKeyForSearch(e, t) {+ if (!this.collator) return null;+ let n = this.collection, r = t || this.getFirstKey();+ for (; r != null;) {+ let t = n.getItem(r);+ if (!t) return null;+ let i = t.textValue.slice(0, e.length);+ if (t.textValue && this.collator.compare(i, e) === 0) return r;+ r = this.getNextKey(r);+ }+ return null;+ }+}, Y_ = {};+Y_ = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion-//#region node_modules/react-aria/dist/private/table/utils.mjs-var wd = /* @__PURE__ */ new WeakMap();-function Td(e) {- return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;-}-function Ed(e, t) {- let n = wd.get(e);- if (!n) throw Error("Unknown grid");- return `${n}-${Td(t)}`;-}-function Dd(e, t, n) {- let r = wd.get(e);- if (!r) throw Error("Unknown grid");- return `${r}-${Td(t)}-${Td(n)}`;-}-function Od(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => Dd(e, t, n)).join(" ");-}+//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs+var X_ = {};+X_ = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var kd = {};-kd = {- 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: "طي",- columnSize: (e) => `${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,- descending: "تنازلي",- descendingSort: (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{646}\u{627}\u{632}\u{644}\u{64A}`,- expand: "تمديد",- resizerDescription: "اضغط على مفتاح Enter لبدء تغيير الحجم",- select: "تحديد",- selectAll: "تحديد الكل",- sortable: "عمود قابل للترتيب"-};+//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs+var Z_ = {};+Z_ = { 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/table/bg-BG.mjs-var Ad = {};-Ad = {- 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: "Свиване",- columnSize: (e) => `${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}`,- descending: "низходящ",- descendingSort: (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{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,- expand: "Разширяване",- resizerDescription: "Натиснете „Enter“, за да започнете да преоразмерявате",- select: "Изберете",- selectAll: "Изберете всичко",- sortable: "сортираща колона"-};+//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs+var Q_ = {};+Q_ = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var jd = {};-jd = {- ascending: "vzestupně",- ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,- collapse: "Sbalit",- columnSize: (e) => `${e.value} pixel\u{16F}`,- descending: "sestupně",- descendingSort: (e) => `\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,- expand: "Roztáhnout",- resizerDescription: "Stisknutím klávesy Enter začnete měnit velikost",- select: "Vybrat",- selectAll: "Vybrat vše",- sortable: "sloupec s možností řazení"-};+//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs+var $_ = {};+$_ = { 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/table/da-DK.mjs-var Md = {};-Md = {- ascending: "stigende",- ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,- collapse: "Skjul",- columnSize: (e) => `${e.value} pixels`,- descending: "faldende",- descendingSort: (e) => `sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,- expand: "Udvid",- resizerDescription: "Tryk på Enter for at ændre størrelse",- select: "Vælg",- selectAll: "Vælg alle",- sortable: "sorterbar kolonne"-};+//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs+var ev = {};+ev = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var Nd = {};-Nd = {- ascending: "aufsteigend",- ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,- collapse: "Reduzieren",- columnSize: (e) => `${e.value} Pixel`,- descending: "absteigend",- descendingSort: (e) => `sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,- expand: "Erweitern",- resizerDescription: "Eingabetaste zum Starten der Größenänderung drücken",- select: "Auswählen",- selectAll: "Alles auswählen",- sortable: "sortierbare Spalte"-};+//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs+var tv = {};+tv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var Pd = {};-Pd = {- 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: "Σύμπτυξη",- columnSize: (e) => `${e.value} pixel`,- descending: "φθίνουσα",- descendingSort: (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{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,- expand: "Ανάπτυξη",- resizerDescription: "Πατήστε Enter για έναρξη της αλλαγής μεγέθους",- select: "Επιλογή",- selectAll: "Επιλογή όλων",- sortable: "Στήλη διαλογής"-};+//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs+var nv = {};+nv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var Fd = {};-Fd = {- select: "Select",- selectAll: "Select All",- sortable: "sortable column",- ascending: "ascending",- descending: "descending",- ascendingSort: (e) => `sorted by column ${e.columnName} in ascending order`,- descendingSort: (e) => `sorted by column ${e.columnName} in descending order`,- columnSize: (e) => `${e.value} pixels`,- resizerDescription: "Press Enter to start resizing",- expand: "Expand",- collapse: "Collapse"-};+//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs+var rv = {};+rv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var Id = {};-Id = {- ascending: "ascendente",- ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,- collapse: "Contraer",- columnSize: (e) => `${e.value} p\xedxeles`,- descending: "descendente",- descendingSort: (e) => `ordenado por columna ${e.columnName} en orden descendente`,- expand: "Ampliar",- resizerDescription: "Pulse Intro para empezar a redimensionar",- select: "Seleccionar",- selectAll: "Seleccionar todos",- sortable: "columna ordenable"-};+//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs+var iv = {};+iv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var Ld = {};-Ld = {- ascending: "tõusev järjestus",- ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,- collapse: "Ahenda",- columnSize: (e) => `${e.value} pikslit`,- descending: "laskuv järjestus",- descendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,- expand: "Laienda",- resizerDescription: "Suuruse muutmise alustamiseks vajutage klahvi Enter",- select: "Vali",- selectAll: "Vali kõik",- sortable: "sorditav veerg"-};+//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs+var av = {};+av = { 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/table/fi-FI.mjs-var Rd = {};-Rd = {- ascending: "nouseva",- ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,- collapse: "Pienennä",- columnSize: (e) => `${e.value} pikseli\xe4`,- descending: "laskeva",- descendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,- expand: "Laajenna",- resizerDescription: "Aloita koon muutos painamalla Enter-näppäintä",- select: "Valitse",- selectAll: "Valitse kaikki",- sortable: "lajiteltava sarake"-};+//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs+var ov = {};+ov = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var zd = {};-zd = {- ascending: "croissant",- ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,- collapse: "Réduire",- columnSize: (e) => `${e.value}\xa0pixels`,- descending: "décroissant",- descendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,- expand: "Développer",- resizerDescription: "Appuyez sur Entrée pour commencer le redimensionnement.",- select: "Sélectionner",- selectAll: "Sélectionner tout",- sortable: "colonne triable"-};+//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs+var sv = {};+sv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var Bd = {};-Bd = {- 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: "כווץ",- columnSize: (e) => `${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,- descending: "יורד",- descendingSort: (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{5D9}\u{5D5}\u{5E8}\u{5D3}`,- expand: "הרחב",- resizerDescription: "הקש Enter כדי לשנות את הגודל",- select: "בחר",- selectAll: "בחר הכול",- sortable: "עמודה שניתן למיין"-};+//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs+var cv = {};+cv = { 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/table/hr-HR.mjs-var Vd = {};-Vd = {- ascending: "rastući",- ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,- collapse: "Sažmi",- columnSize: (e) => `${e.value} piksela`,- descending: "padajući",- descendingSort: (e) => `razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,- expand: "Proširi",- resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",- select: "Odaberite",- selectAll: "Odaberite sve",- sortable: "stupac koji se može razvrstati"-};+//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs+var lv = {};+lv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var Hd = {};-Hd = {- ascending: "növekvő",- ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,- collapse: "Összecsukás",- columnSize: (e) => `${e.value} k\xe9ppont`,- descending: "csökkenő",- descendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,- expand: "Kibontás",- resizerDescription: "Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",- select: "Kijelölés",- selectAll: "Összes kijelölése",- sortable: "rendezendő oszlop"-};+//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs+var uv = {};+uv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var Ud = {};-Ud = {- ascending: "crescente",- ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,- collapse: "Comprimi",- columnSize: (e) => `${e.value} pixel`,- descending: "decrescente",- descendingSort: (e) => `in ordine decrescente in base alla colonna ${e.columnName}`,- expand: "Espandi",- resizerDescription: "Premi Invio per iniziare a ridimensionare",- select: "Seleziona",- selectAll: "Seleziona tutto",- sortable: "colonna ordinabile"-};+//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs+var dv = {};+dv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var Wd = {};-Wd = {- ascending: "昇順",- ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,- collapse: "折りたたむ",- columnSize: (e) => `${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}`,- descending: "降順",- descendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,- expand: "展開",- resizerDescription: "Enter キーを押してサイズ変更を開始",- select: "選択",- selectAll: "すべて選択",- sortable: "並べ替え可能な列"-};+//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs+var fv = {};+fv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var Gd = {};-Gd = {- 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: "접기",- columnSize: (e) => `${e.value} \u{D53D}\u{C140}`,- descending: "내림차순",- descendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,- expand: "펼치기",- resizerDescription: "크기 조정을 시작하려면 Enter를 누르세요.",- select: "선택",- selectAll: "모두 선택",- sortable: "정렬 가능한 열"-};+//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs+var pv = {};+pv = { 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/table/lt-LT.mjs-var Kd = {};-Kd = {- ascending: "didėjančia tvarka",- ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,- collapse: "Sutraukti",- columnSize: (e) => `${e.value} piks.`,- descending: "mažėjančia tvarka",- descendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,- expand: "Išskleisti",- resizerDescription: "Paspauskite „Enter“, kad pradėtumėte keisti dydį",- select: "Pasirinkti",- selectAll: "Pasirinkti viską",- sortable: "rikiuojamas stulpelis"-};+//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs+var mv = {};+mv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var qd = {};-qd = {- 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",- columnSize: (e) => `${e.value} pikse\u{13C}i`,- descending: "dilstošā secībā",- descendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,- expand: "Izvērst",- resizerDescription: "Nospiediet Enter, lai sāktu izmēru mainīšanu",- select: "Atlasīt",- selectAll: "Atlasīt visu",- sortable: "kārtojamā kolonna"-};+//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs+var hv = {};+hv = { 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/table/nb-NO.mjs-var Jd = {};-Jd = {- ascending: "stigende",- ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,- collapse: "Skjul",- columnSize: (e) => `${e.value} piksler`,- descending: "synkende",- descendingSort: (e) => `sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,- expand: "Utvid",- resizerDescription: "Trykk på Enter for å starte størrelsesendring",- select: "Velg",- selectAll: "Velg alle",- sortable: "kolonne som kan sorteres"-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var Yd = {};-Yd = {- ascending: "oplopend",- ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,- collapse: "Samenvouwen",- columnSize: (e) => `${e.value} pixels`,- descending: "aflopend",- descendingSort: (e) => `gesorteerd in aflopende volgorde in kolom ${e.columnName}`,- expand: "Uitvouwen",- resizerDescription: "Druk op Enter om het formaat te wijzigen",- select: "Selecteren",- selectAll: "Alles selecteren",- sortable: "sorteerbare kolom"-};-//#endregion-//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var Xd = {};-Xd = {- ascending: "rosnąco",- ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,- collapse: "Zwiń",- columnSize: (e) => `Liczba pikseli: ${e.value}`,- descending: "malejąco",- descendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,- expand: "Rozwiń",- resizerDescription: "Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",- select: "Zaznacz",- selectAll: "Zaznacz wszystko",- sortable: "kolumna z możliwością sortowania"-};+//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs+var gv = {};+gv = { 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/table/pt-BR.mjs-var Zd = {};-Zd = {- ascending: "crescente",- ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,- collapse: "Recolher",- columnSize: (e) => `${e.value} pixels`,- descending: "decrescente",- descendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem decrescente`,- expand: "Expandir",- resizerDescription: "Pressione Enter para começar a redimensionar",- select: "Selecionar",- selectAll: "Selecionar tudo",- sortable: "coluna classificável"-};+//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs+var _v = {};+_v = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var Qd = {};-Qd = {- ascending: "ascendente",- ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,- collapse: "Colapsar",- columnSize: (e) => `${e.value} pixels`,- descending: "descendente",- descendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem descendente`,- expand: "Expandir",- resizerDescription: "Prima Enter para iniciar o redimensionamento",- select: "Selecionar",- selectAll: "Selecionar tudo",- sortable: "Coluna ordenável"-};+//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs+var vv = {};+vv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var $d = {};-$d = {- ascending: "crescătoare",- ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,- collapse: "Restrângeți",- columnSize: (e) => `${e.value} pixeli`,- descending: "descrescătoare",- descendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,- expand: "Extindeți",- resizerDescription: "Apăsați pe Enter pentru a începe redimensionarea",- select: "Selectare",- selectAll: "Selectare totală",- sortable: "coloană sortabilă"-};+//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs+var yv = {};+yv = { 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/table/ru-RU.mjs-var ef = {};-ef = {- 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: "Свернуть",- columnSize: (e) => `${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,- descending: "убывание",- descendingSort: (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{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,- expand: "Развернуть",- resizerDescription: "Нажмите клавишу Enter для начала изменения размеров",- select: "Выбрать",- selectAll: "Выбрать все",- sortable: "сортируемый столбец"-};+//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs+var bv = {};+bv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var tf = {};-tf = {- ascending: "vzostupne",- ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,- collapse: "Zbaliť",- columnSize: (e) => `Po\u{10D}et pixelov: ${e.value}`,- descending: "zostupne",- descendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,- expand: "Rozbaliť",- resizerDescription: "Stlačením klávesu Enter začnete zmenu veľkosti",- select: "Vybrať",- selectAll: "Vybrať všetko",- sortable: "zoraditeľný stĺpec"-};+//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs+var xv = {};+xv = { 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/table/sl-SI.mjs-var nf = {};-nf = {- 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",- columnSize: (e) => `${e.value} slikovnih pik`,- descending: "padajoče",- descendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,- expand: "Razširi",- resizerDescription: "Pritisnite tipko Enter da začnete spreminjati velikost",- select: "Izberite",- selectAll: "Izberite vse",- sortable: "razvrstljivi stolpec"-};+//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs+var Sv = {};+Sv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var rf = {};-rf = {- ascending: "rastući",- ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,- collapse: "Skupi",- columnSize: (e) => `${e.value} piksela`,- descending: "padajući",- descendingSort: (e) => `sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,- expand: "Proširi",- resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",- select: "Izaberite",- selectAll: "Izaberite sve",- sortable: "kolona koja se može sortirati"-};+//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs+var Cv = {};+Cv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var af = {};-af = {- ascending: "stigande",- ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,- collapse: "Dölj",- columnSize: (e) => `${e.value} pixlar`,- descending: "fallande",- descendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,- expand: "Expandera",- resizerDescription: "Tryck på Retur för att börja ändra storlek",- select: "Markera",- selectAll: "Markera allt",- sortable: "sorterbar kolumn"-};+//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs+var wv = {};+wv = { 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/table/tr-TR.mjs-var of = {};-of = {- ascending: "artan sırada",- ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,- collapse: "Daralt",- columnSize: (e) => `${e.value} piksel`,- descending: "azalan sırada",- descendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,- expand: "Genişlet",- resizerDescription: "Yeniden boyutlandırmak için Enter'a basın",- select: "Seç",- selectAll: "Tümünü Seç",- sortable: "Sıralanabilir sütun"-};+//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs+var Tv = {};+Tv = { 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/table/uk-UA.mjs-var sf = {};-sf = {- 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: "Згорнути",- columnSize: (e) => `${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,- descending: "низхідний",- descendingSort: (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{43D}\u{438}\u{437}\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}`,- expand: "Розгорнути",- resizerDescription: "Натисніть Enter, щоб почати зміну розміру",- select: "Вибрати",- selectAll: "Вибрати все",- sortable: "сортувальний стовпець"-};+//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs+var Ev = {};+Ev = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var cf = {};-cf = {- ascending: "升序",- ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,- collapse: "折叠",- columnSize: (e) => `${e.value} \u{50CF}\u{7D20}`,- descending: "降序",- descendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,- expand: "扩展",- resizerDescription: "按 Enter 开始调整大小。",- select: "选择",- selectAll: "全选",- sortable: "可排序的列"-};+//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs+var Dv = {};+Dv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion-//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var lf = {};-lf = {- 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: "收合",- columnSize: (e) => `${e.value} \u{50CF}\u{7D20}`,- descending: "遞減",- descendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,- expand: "展開",- resizerDescription: "按 Enter 鍵以開始調整大小",- select: "選取",- selectAll: "全選",- sortable: "可排序的欄"-};+//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs+var Ov = {};+Ov = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion-//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var uf = {};-uf = {- "ar-AE": kd,- "bg-BG": Ad,- "cs-CZ": jd,- "da-DK": Md,- "de-DE": Nd,- "el-GR": Pd,- "en-US": Fd,- "es-ES": Id,- "et-EE": Ld,- "fi-FI": Rd,- "fr-FR": zd,- "he-IL": Bd,- "hr-HR": Vd,- "hu-HU": Hd,- "it-IT": Ud,- "ja-JP": Wd,- "ko-KR": Gd,- "lt-LT": Kd,- "lv-LV": qd,- "nb-NO": Jd,- "nl-NL": Yd,- "pl-PL": Xd,- "pt-BR": Zd,- "pt-PT": Qd,- "ro-RO": $d,- "ru-RU": ef,- "sk-SK": tf,- "sl-SI": nf,- "sr-SP": rf,- "sv-SE": af,- "tr-TR": of,- "uk-UA": sf,- "zh-CN": cf,- "zh-TW": lf+//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs+var kv = {};+kv = {+ "ar-AE": Y_,+ "bg-BG": X_,+ "cs-CZ": Z_,+ "da-DK": Q_,+ "de-DE": $_,+ "el-GR": ev,+ "en-US": tv,+ "es-ES": nv,+ "et-EE": rv,+ "fi-FI": iv,+ "fr-FR": av,+ "he-IL": ov,+ "hr-HR": sv,+ "hu-HU": cv,+ "it-IT": lv,+ "ja-JP": uv,+ "ko-KR": dv,+ "lt-LT": fv,+ "lv-LV": pv,+ "nb-NO": mv,+ "nl-NL": hv,+ "pl-PL": gv,+ "pt-BR": _v,+ "pt-PT": vv,+ "ro-RO": yv,+ "ru-RU": bv,+ "sk-SK": xv,+ "sl-SI": Sv,+ "sr-SP": Cv,+ "sv-SE": wv,+ "tr-TR": Tv,+ "uk-UA": Ev,+ "zh-CN": Dv,+ "zh-TW": Ov};//#endregion-//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var df = class extends bd {- isCell(e) {- return e.type === "cell" || e.type === "rowheader" || e.type === "column";- }- getKeyBelow(e, t) {- let n = this.collection.getItem(e);- if (!n) return null;- if (n.type === "column") {- let e = bc(yc(n, this.collection));- if (e) return e.key;- let t = this.getFirstKey();- return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);- }- return super.getKeyBelow(e, t);- }- getKeyAbove(e, t) {- let n = this.collection.getItem(e);- if (!n) return null;- if (n.type === "column") {- let e = n.parentKey == null ? null : this.collection.getItem(n.parentKey);- return e && e.type === "column" ? e.key : null;+//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs+var Av = 500;+function jv(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Av, accessibilityDescription: s } = e, c = (0, E.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = mg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = bg({+ isDisabled: t,+ onPressStart(e) {+ if (e.continuePropagation(), d(e)) {+ r && r({+ ...e,+ type: "longpressstart"+ }), c.current = setTimeout(() => {+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Df(e.target).activeElement !== e.target && Sf(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 = Of(e.target);+ l(t, "pointerup", () => {+ setTimeout(() => {+ u();+ }, 100);+ }, { once: !0 });+ }+ },+ onPressEnd(e) {+ c.current && clearTimeout(c.current), i && d(e) && i({+ ...e,+ type: "longpressend"+ });}- let r = super.getKeyAbove(e, t), i = r == null ? null : this.collection.getItem(r);- return i && i.type !== "headerrow" ? r : this.isCell(n) ? this.collection.columns[n.index].key : this.collection.columns[0].key;- }- findNextColumnKey(e) {- let t = this.findNextKey(e.key, (e) => e.type === "column");- if (t != null) return t;- let n = this.collection.headerRows[e.level];- for (let e of yc(n, this.collection)) if (e.type === "column") return e.key;- return null;- }- findPreviousColumnKey(e) {- let t = this.findPreviousKey(e.key, (e) => e.type === "column");- if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...yc(n, this.collection)];- for (let e = r.length - 1; e >= 0; e--) {- let t = r[e];- if (t.type === "column") return t.key;- }- return null;- }- getKeyRightOf(e) {- let t = this.collection.getItem(e);- return t ? t.type === "column" ? this.direction === "rtl" ? this.findPreviousColumnKey(t) : this.findNextColumnKey(t) : super.getKeyRightOf(e) : null;- }- getKeyLeftOf(e) {- let t = this.collection.getItem(e);- return t ? t.type === "column" ? this.direction === "rtl" ? this.findNextColumnKey(t) : this.findPreviousColumnKey(t) : super.getKeyLeftOf(e) : null;- }- getKeyForSearch(e, t) {- if (!this.collator) return null;- let n = this.collection, r = t ?? this.getFirstKey();- if (r == null) return null;- let i = n.getItem(r);- i?.type === "cell" && (r = i.parentKey ?? null);- let a = !1;- for (; r != null;) {- let o = n.getItem(r);- if (!o) return null;- if (o.textValue) {- let t = o.textValue.slice(0, e.length);- if (this.collator.compare(t, e) === 0) return o.key;- }- for (let r of yc(o, this.collection)) {- let a = n.columns[r.index];- if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {- let a = r.textValue.slice(0, e.length);- if (this.collator.compare(a, e) === 0) return (t == null ? i : n.getItem(t))?.type === "cell" ? r.key : o.key;- }- }- r = this.getKeyBelow(r), r == null && !a && (r = this.getFirstKey(), a = !0);- }- return null;- }-};-//#endregion-//#region node_modules/react-aria/dist/private/table/useTable.mjs-function ff(e) {- return e && e.__esModule ? e.default : e;-}-function pf(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Oc({- usage: "search",- sensitivity: "base"- }), { direction: c } = Xi(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new df({- collection: t.collection,- disabledKeys: t.disabledKeys,- disabledBehavior: l,- ref: n,- direction: c,- collator: s,- layoutDelegate: a,- layout: o- }), [- r,- t.collection,- t.disabledKeys,- l,- n,- c,- s,- a,- o- ]), d = Or(e.id);- wd.set(t, d);- let { gridProps: f } = Cd({- ...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 = ua(ff(uf), "@react-aria/table"), g = (0, E.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- ]), _ = Ao(g);- return xo(() => {- g && yo(g, "assertive", 500);- }, [g]), { gridProps: B(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };+ });+ return { longPressProps: H(f, a_(a && !t ? s : void 0)) };}//#endregion-//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function mf(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Xi(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Sd.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, E.useRef)(null), h = () => {- if (n.current) {- let e = po(n.current);- if (p === "child") {- if (Xt(n.current) && n.current !== Jt(L(n.current))) return;- let r = t.selectionManager.childFocusStrategy === "last" ? hf(e) : e.firstChild();- if (r) {- xr(r);- return;- }- }- (m.current != null && r.key !== m.current || !Xt(n.current)) && xr(n.current);+//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs+function Mv(e) {+ let { onContextMenu: t } = e, n = (0, E.useRef)(!1), { longPressProps: r } = jv({+ onLongPressStart() {+ n.current = !1;+ },+ onLongPress(e) {+ n.current ? n.current = !1 : t?.({+ target: e.target,+ x: e.x,+ y: e.y+ });}- }, { itemProps: g, isPressed: _ } = Fl({- selectionManager: t.selectionManager,- key: r.key,- ref: n,- isVirtualized: i,- focus: h,- shouldSelectOnPressUp: s,- onAction: d ? () => d(r.key) : c,- isDisabled: t.collection.size === 0- }), v = B(g, {- role: "gridcell",- onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = Jt(L(n.current));- if (!R(e.currentTarget, z(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = po(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) xr(t), Do(t, { containingElement: Co(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" ? (xr(n.current), Do(n.current, { containingElement: Co(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : hf(a), t && (xr(t), Do(t, { containingElement: Co(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) xr(t), Do(t, { containingElement: Co(n.current) });+ });+ return t ? { contextMenuProps: H(cp() ? r : {}, {+ onContextMenu(e) {+ e.stopPropagation(), e.preventDefault(), n.current = !0;+ let r = e.currentTarget.getBoundingClientRect();+ t({+ target: e.currentTarget,+ x: e.clientX - r.x,+ y: e.clientY - r.y+ });+ },+ onKeyDown(e) {+ if (ap() && e.ctrlKey && e.key === "Enter") {+ n.current = !1;+ let r = e.currentTarget;+ e.stopPropagation(), setTimeout(() => {+ if (n.current) n.current = !1;else {- if (u.getKeyRightOf?.(r.key) !== r.key) {- n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));- break;- }- p === "cell" && l === "ltr" ? (xr(n.current), Do(n.current, { containingElement: Co(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? hf(a) : a.firstChild(), t && (xr(t), Do(t, { containingElement: Co(n.current) })));+ let e = r.getBoundingClientRect();+ t({+ target: r,+ x: e.width / 2,+ y: e.height / 2+ });}- break;- }- case "ArrowUp":- case "ArrowDown": !e.altKey && R(n.current, z(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));- }- } : void 0,- onKeyDown: f === "tab" ? (e) => {- let r = Jt(L(n.current));- if (!(!R(e.currentTarget, z(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {- if (f === "tab" && z(e) !== n.current && e.key !== "Tab") {- e.stopPropagation();- return;- }- if (e.key === "Tab" && f === "tab") {- let t = po(n.current, { tabbable: !0 });- t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();- }- }- } : void 0,- "aria-colspan": r.colSpan,- "aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,- colSpan: i ? void 0 : r.colSpan,- onFocus: (e) => {- if (m.current = r.key, z(e) !== n.current) {- lr() || t.selectionManager.setFocusedKey(r.key);- return;+ }, 10);}- p === "child" && e.relatedTarget && R(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && Jt(L(n.current)) === n.current && h();- });- },- ...p === "child" && f === "tab" ? { tabIndex: -1 } : {}- });- return i && (v["aria-colindex"] = (r.colIndex ?? r.index) + 1), s && v.tabIndex != null && v.onPointerDown == null && (v.onPointerDown = (e) => {- let t = e.currentTarget, n = t.getAttribute("tabindex");- t.removeAttribute("tabindex"), requestAnimationFrame(() => {- n != null && t.setAttribute("tabindex", n);- });- }), {- gridCellProps: v,- isPressed: _- };-}-function hf(e) {- let t = null, n = null;- do- n = e.lastChild(), n && (t = n);- while (n);- return t;+ }+ }) } : { contextMenuProps: {} };}//#endregion-//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function gf(e, t, n) {- let { gridCellProps: r, isPressed: i } = mf(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Dd(t, e.node.parentKey, a)), {- gridCellProps: r,- isPressed: i- };+//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs+var Nv = /* @__PURE__ */ new WeakMap();+function Pv(e) {+ let { triggerRef: t, isOpen: n, onClose: r } = e;+ (0, E.useEffect)(() => !n || r === null ? void 0 : Nf(zf(t.current), "scroll", (e) => {+ let n = B(e);+ if (!t.current || n instanceof Node && !Lf(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || Nv.get(t.current);+ i && i();+ }, !0), [+ n,+ r,+ t+ ]);}//#endregion-//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function _f(e) {- return e && e.__esModule ? e.default : e;-}-function vf(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = mf({- focusMode: "child",- ...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Ma({- isDisabled: !i || o,- onPress() {- t.sort(r.key);- },- ref: n- }), { focusableProps: l } = ei({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !wn() && (u = d ? f : "none");- let p = ua(_f(uf), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && wn() && (m = `${m}, ${p.format(f)}`));- let h = Ao(m), g = t.collection.size === 0;- return (0, E.useEffect)(() => {- g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);- }, [- g,- t.selectionManager,- r.key- ]), {- columnHeaderProps: {- ...B(l, a, s, h, g ? { tabIndex: -1 } : null),- role: "columnheader",- id: Ed(t, r.key),- "aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,- "aria-sort": u+//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs+function yee(e, t, n) {+ let { type: r } = e, { isOpen: i } = t;+ (0, E.useEffect)(() => {+ n && n.current && Nv.set(n.current, t.close);+ });+ let a;+ r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");+ let o = gm();+ return {+ triggerProps: {+ "aria-haspopup": a,+ "aria-expanded": i,+ "aria-controls": i ? o : void 0,+ onPress: t.toggle},- isPressed: c+ overlayProps: { id: o }};}//#endregion-//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function yf(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 };+//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs+function bee(e) {+ return e && e.__esModule ? e.default : e;}-//#endregion-//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function bf(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Sd.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Fl({- selectionManager: t.selectionManager,- key: r.key,- ref: n,- isVirtualized: i,- shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? Sr(r?.props?.onAction, l) : void 0,- isDisabled: t.collection.size === 0- }), f = t.selectionManager.isSelected(r.key), p = {- role: "row",- "aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : f,- "aria-disabled": d.isDisabled || void 0,- ...u- };- return i && (p["aria-rowindex"] = r.index + 1), {- rowProps: p,- ...d+function xee(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = gm(), { triggerProps: s, overlayProps: c } = yee({ type: r }, t, n), l = (e, n, r = "first") => {+ if (!e || n.isDefaultPrevented()) return !1;+ t.toggle(r);+ }, { keyboardProps: u } = Lm({+ isDisabled: i,+ shortcuts: {+ Enter: (e) => l(a !== "longPress", e, "first"),+ " ": (e) => l(a !== "longPress", e, "first"),+ ArrowDown: (e) => l(a !== "longPress", e, "first"),+ ArrowUp: (e) => l(a !== "longPress", e, "last"),+ "Alt+Enter": (e) => l(a === "longPress", e, "first"),+ "Alt+ ": (e) => l(a === "longPress", e, "first"),+ "Alt+ArrowDown": (e) => l(!0, e, "first"),+ "Alt+ArrowUp": (e) => l(!0, e, "last")+ }+ }), d = Qh(bee(kv), "@react-aria/menu"), { longPressProps: f } = jv({+ isDisabled: i || a !== "longPress",+ accessibilityDescription: d.format("longPressMessage"),+ onLongPressStart() {+ t.close();+ },+ onLongPress() {+ t.open("first");+ }+ }), p = {+ preventFocusOnPress: !0,+ onPressStart(e) {+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Sf(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ },+ onPress(e) {+ e.pointerType === "touch" && !i && (Sf(e.target), t.toggle());+ }};-}-//#endregion-//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function xf(e) {- return e && e.__esModule ? e.default : e;-}-var Sf = {- expand: {- ltr: "ArrowRight",- rtl: "ArrowLeft"- },- collapse: {- ltr: "ArrowLeft",- rtl: "ArrowRight"- }-};-function Cf(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = bf(e, t, n), { direction: s } = Xi();- 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 = ua(xf(uf), "@react-aria/table"), u = zi({- "aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": Od(t, r.key)- }), d = {}, f = {};- if (t.treeColumn != null) {- let e = t.collection.getItem(r.key);- if (e != null) {- let n = wf(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 = wf(t.collection, a);- for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);- d = {- onKeyDown: (n) => {- n.key === Sf.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Sf.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,- "aria-posinset": e.index - (c ? 0 : t.collection.columnCount) + 1,- "aria-setsize": l.index - (c ? 0 : t.collection.columnCount) + 1- }, f = {- isDisabled: o.isDisabled,- onPress: () => {- o.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));- },- excludeFromTabOrder: !0,- preventFocusOnPress: !0,- "data-react-aria-prevent-focus": !0,- ...u+ delete s.onPress;+ let { contextMenuProps: m } = Mv({ onContextMenu(e) {+ let n = e.target.getBoundingClientRect();+ t.setPoint({+ x: n.x + e.x,+ y: n.y + e.y+ }), t.open();+ } });+ (0, E.useEffect)(() => {+ if (t.isOpen && a === "contextMenu") {+ let e = (e) => {+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && B(e) === document.body && t.close();};+ return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}+ }, [t, a]);+ let h;+ if (a === "press") h = {+ ...p,+ ...u+ };+ else if (a === "longPress") h = {+ ...f,+ ...u+ };+ else if (a === "contextMenu") {+ h = m;+ let { "aria-haspopup": e, "aria-expanded": t, "aria-controls": n, ...r } = s;+ s = r;}- let p = Nn(r.props), m = o.hasAction ? p : {};return {- rowProps: {- ...B(a, d, m),- "aria-labelledby": Od(t, r.key)+ menuTriggerProps: {+ ...s,+ ...h,+ id: o},- expandButtonProps: f,- ...o+ menuProps: {+ ...c,+ "aria-labelledby": o,+ autoFocus: t.focusStrategy || !0,+ onClose: t.close+ }};}-function wf(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 Tf() {- return { rowGroupProps: { role: "rowgroup" } };-}-//#endregion-//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function Ef() {- return Tf();-}//#endregion-//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Df(e) {- return e && e.__esModule ? e.default : e;-}-function Of(e, t) {- let { key: n } = e, { checkboxProps: r } = zl(e, t);- return { checkboxProps: {- ...r,- "aria-labelledby": `${r.id} ${Od(t, n)}`- } };-}-function kf(e) {- let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;- return { checkboxProps: {- "aria-label": ua(Df(uf), "@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,- onChange: () => e.selectionManager.toggleSelectAll()+//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs+var Fv = 1e3;+function Iv(e) {+ let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, E.useRef)({+ search: "",+ timeout: void 0+ });+ return (0, E.useEffect)(() => {+ let e = i.current.timeout;+ return () => {+ clearTimeout(e);+ };+ }, [i]), { typeSelectProps: {+ onKeyDownCapture: t.getKeyForSearch ? (e) => {+ if (i.current.search.length > 0 && e.key === " ") {+ if (e.preventDefault(), (!("continuePropagation" in e) || "continuePropagation" in e && !e.isPropagationStopped()) && e.stopPropagation(), i.current.search += " ", t.getKeyForSearch != null) {+ let e = t.getKeyForSearch(i.current.search, n.focusedKey);+ e ??= t.getKeyForSearch(i.current.search), e != null && (n.setFocusedKey(e), r && r(e));+ }+ clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {+ i.current.search = "";+ }, Fv);+ }+ } : void 0,+ onKeyDown: t.getKeyForSearch ? (e) => {+ let a = See(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Lf(e.currentTarget, B(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();+ else {+ i.current.search = "", clearTimeout(i.current.timeout), i.current.timeout = void 0;+ return;+ }+ }+ clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {+ i.current.search = "";+ }, Fv);+ }+ } : void 0} };}-//#endregion-//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var Af = /* @__PURE__ */ new WeakMap();-function jf(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${Af.get(e)}-${n}-${t}`) : "";+function See(e) {+ return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion-//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function Mf(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 } = Fl({- selectionManager: o,- key: r,- ref: n,- isDisabled: l,- shouldSelectOnPressUp: a ?? u?.props.href != null,- linkBehavior: "selection"- }), p = jf(t, r, "tab"), m = jf(t, r, "tabpanel"), { tabIndex: h } = d, g = V(u?.props, { labelable: !0 });- delete g.id;- let _ = Pn(u?.props), { focusableProps: v } = ei({- ...u?.props,- isDisabled: l- }, n);- return {- tabProps: B(g, v, _, d, {- id: p,- "aria-selected": c,- "aria-disabled": l || void 0,- "aria-controls": c ? m : void 0,- tabIndex: l ? void 0 : h,- role: "tab"- }),- isSelected: c,- isDisabled: l,- isPressed: f- };+//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs+function Lv(e, t) {+ let n = (0, E.useRef)(!0), r = (0, E.useRef)(null);+ V(() => (n.current = !0, () => {+ n.current = !1;+ }), []), V(() => {+ 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/tabs/TabsKeyboardDelegate.mjs-var Nf = class {- constructor(e, t, n, r = /* @__PURE__ */ new Set()) {- this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";- }- getKeyLeftOf(e) {- return this.flipDirection ? this.getNextKey(e) : this.getPreviousKey(e);- }- getKeyRightOf(e) {- return this.flipDirection ? this.getPreviousKey(e) : this.getNextKey(e);- }- isDisabled(e) {- return this.disabledKeys.has(e) || !!this.collection.getItem(e)?.props?.isDisabled;- }- getFirstKey() {- let e = this.collection.getFirstKey();- return e != null && this.isDisabled(e) && (e = this.getNextKey(e)), e;- }- getLastKey() {- let e = this.collection.getLastKey();- return e != null && this.isDisabled(e) && (e = this.getPreviousKey(e)), e;- }- getKeyAbove(e) {- return this.tabDirection ? null : this.getPreviousKey(e);- }- getKeyBelow(e) {- return this.tabDirection ? null : this.getNextKey(e);- }- getNextKey(e) {- let t = e;- do- t = this.collection.getKeyAfter(t), t ??= this.collection.getFirstKey();- while (t != null && this.isDisabled(t) && t !== e);- return t;- }- getPreviousKey(e) {- let t = e;- do- t = this.collection.getKeyBefore(t), t ??= this.collection.getLastKey();- while (t != null && this.isDisabled(t) && t !== e);- return t;- }-};-//#endregion-//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Pf(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Xi(), { collectionProps: l } = vc({- ref: n,- selectionManager: o,- keyboardDelegate: (0, E.useMemo)(() => new Nf(a, c, r, s), [- a,- s,- r,- c- ]),- selectOnFocus: i === "automatic",- disallowEmptySelection: !0,- scrollRef: n,- linkBehavior: "selection"- }), u = Or();- return Af.set(t, u), { tabListProps: {- ...B(l, zi({- ...e,- id: u- })),- role: "tablist",- "aria-orientation": r,- tabIndex: void 0- } };-}-//#endregion-//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Ff(e, t, n) {- let r = jl(n) ? void 0 : 0, i = jf(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: B(zi({- ...e,- id: i,- "aria-labelledby": jf(t, t?.selectedKey, "tab")- }), {- tabIndex: r,- role: "tabpanel",- "aria-describedby": e["aria-describedby"],- "aria-details": e["aria-details"]- }) };-}-//#endregion-//#region node_modules/scheduler/cjs/scheduler.production.js-var If = /* @__PURE__ */ _(((e) => {- function t(e, t) {- var n = e.length;- e.push(t);- a: for (; 0 < n;) {- var r = n - 1 >>> 1, a = e[r];- if (0 < i(a, t)) e[r] = t, e[n] = a, n = r;- else break a;- }- }- function n(e) {- return e.length === 0 ? null : e[0];- }- function r(e) {- if (e.length === 0) return null;- var t = e[0], n = e.pop();- if (n !== t) {- e[0] = n;- a: for (var r = 0, a = e.length, o = a >>> 1; r < o;) {- var s = 2 * (r + 1) - 1, c = e[s], l = s + 1, u = e[l];- if (0 > i(c, n)) l < a && 0 > i(u, c) ? (e[r] = u, e[l] = n, r = l) : (e[r] = c, e[s] = n, r = s);- else if (l < a && 0 > i(u, n)) e[r] = u, e[l] = n, r = l;- else break a;+//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs+function Rv(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 } = Rh(), _ = _p(), v = (e, n, i) => {+ if (n != null) {+ if (t.isLink(n) && m === "selection" && l && !H_(e)) {+ (0, Zm.flushSync)(() => {+ t.setFocusedKey(n, i);+ });+ let a = U_(r, n), o = t.getItemProps(n);+ if (a) {+ _.open(a, e, o.href, o.routerOptions);+ return;+ }+ return !1;+ }+ if (t.setFocusedKey(n, i), t.isLink(n) && m === "override") return !1;+ if (e.shiftKey && t.selectionMode === "multiple") {+ t.extendSelection(n);+ return;+ }+ if (l && !H_(e)) {+ t.replaceSelection(n);+ return;}}- return t;- }- function i(e, t) {- var n = e.sortIndex - t.sortIndex;- return n === 0 ? e.id - t.id : n;- }- if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {- var a = performance;- e.unstable_now = function() {- return a.now();- };- } else {- var o = Date, s = o.now();- e.unstable_now = function() {- return o.now() - s;- };- }- var c = [], l = [], u = 1, d = null, f = 3, p = !1, m = !1, h = !1, g = !1, _ = typeof setTimeout == "function" ? setTimeout : null, v = typeof clearTimeout == "function" ? clearTimeout : null, y = typeof setImmediate < "u" ? setImmediate : null;- function b(e) {- for (var i = n(l); i !== null;) {- if (i.callback === null) r(l);- else if (i.startTime <= e) r(l), i.sortIndex = i.expirationTime, t(c, i);- else break;- i = n(l);+ return !1;+ }, y = (e) => {+ if (n.getKeyBelow) {+ let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyBelow?.(t.focusedKey);+ if (r == null && a && (r = n.getFirstKey?.(t.focusedKey)), r != null) {+ v(e, r);+ return;+ }}- }- function x(e) {- if (h = !1, b(e), !m) {- if (n(c) !== null) m = !0, S || (S = !0, O());- else {- var t = n(l);- t !== null && j(x, t.startTime - e);+ return !1;+ }, b = (e) => {+ if (n.getKeyAbove) {+ let r = t.focusedKey == null ? n.getLastKey?.() : n.getKeyAbove?.(t.focusedKey);+ if (r == null && a && (r = n.getLastKey?.(t.focusedKey)), r != null) {+ v(e, r);+ return;}}- }- var S = !1, C = -1, w = 5, T = -1;- function E() {- return g ? !0 : !(e.unstable_now() - T < w);- }- function D() {- if (g = !1, S) {- var t = e.unstable_now();- T = t;- var i = !0;- try {- a: {- m = !1, h && (h = !1, v(C), C = -1), p = !0;- var a = f;- try {- b: {- for (b(t), d = n(c); d !== null && !(d.expirationTime > t && E());) {- var o = d.callback;- if (typeof o == "function") {- d.callback = null, f = d.priorityLevel;- var s = o(d.expirationTime <= t);- if (t = e.unstable_now(), typeof s == "function") {- d.callback = s, b(t), i = !0;- break b;- }- d === n(c) && r(c), b(t);- } else r(c);- d = n(c);- }- if (d !== null) i = !0;- else {- var u = n(l);- u !== null && j(x, u.startTime - t), i = !1;- }- }- break a;- } finally {- d = null, f = a, p = !1;- }- i = void 0;+ return !1;+ }, x = (e) => {+ if (n.getFirstKey) {+ if (t.focusedKey === null && e.shiftKey) return !1;+ let r = n.getFirstKey(t.focusedKey, xh(e));+ if (t.setFocusedKey(r), r != null) {+ if (xh(e) && e.shiftKey && t.selectionMode === "multiple") {+ t.extendSelection(r);+ return;+ }+ if (l) {+ t.replaceSelection(r);+ return;}- } finally {- i ? O() : S = !1;}}- }- var O;- if (typeof y == "function") O = function() {- y(D);- };- else if (typeof MessageChannel < "u") {- var k = new MessageChannel(), A = k.port2;- k.port1.onmessage = D, O = function() {- A.postMessage(null);- };- } else O = function() {- _(D, 0);- };- function j(t, n) {- C = _(function() {- t(e.unstable_now());- }, n);- }- e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(e) {- e.callback = null;- }, e.unstable_forceFrameRate = function(e) {- 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : w = 0 < e ? Math.floor(1e3 / e) : 5;- }, e.unstable_getCurrentPriorityLevel = function() {- return f;- }, e.unstable_next = function(e) {- switch (f) {- case 1:- case 2:- case 3:- var t = 3;- break;- default: t = f;+ return !1;+ }, S = (e) => {+ if (n.getKeyLeftOf) {+ let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyLeftOf?.(t.focusedKey);+ if (r == null && a && (r = g === "rtl" ? n.getFirstKey?.(t.focusedKey) : n.getLastKey?.(t.focusedKey)), r != null) {+ v(e, r, g === "rtl" ? "first" : "last");+ return;+ }}- var n = f;- f = t;- try {- return e();- } finally {- f = n;+ return !1;+ }, C = (e) => {+ if (n.getKeyRightOf) {+ let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyRightOf?.(t.focusedKey);+ if (r == null && a && (r = g === "rtl" ? n.getLastKey?.(t.focusedKey) : n.getFirstKey?.(t.focusedKey)), r != null) {+ v(e, r, g === "rtl" ? "last" : "first");+ return;+ }}- }, e.unstable_requestPaint = function() {- g = !0;- }, e.unstable_runWithPriority = function(e, t) {- switch (e) {- case 1:- case 2:- case 3:- case 4:- case 5: break;- default: e = 3;+ return !1;+ }, w = (e) => {+ if (n.getLastKey) {+ if (t.focusedKey === null && e.shiftKey) return !1;+ let r = n.getLastKey(t.focusedKey, xh(e));+ if (t.setFocusedKey(r), r != null) {+ if (xh(e) && e.shiftKey && t.selectionMode === "multiple") {+ t.extendSelection(r);+ return;+ }+ if (l) {+ t.replaceSelection(r);+ return;+ }+ }}- var n = f;- f = e;- try {- return t();- } finally {- f = n;+ return !1;+ }, T = (e) => {+ if (n.getKeyPageBelow && t.focusedKey != null) {+ let r = n.getKeyPageBelow(t.focusedKey);+ if (r != null) return v(e, r);}- }, e.unstable_scheduleCallback = function(r, i, a) {- var o = e.unstable_now();- switch (typeof a == "object" && a ? (a = a.delay, a = typeof a == "number" && 0 < a ? o + a : o) : a = o, r) {- case 1:- var s = -1;- break;- case 2:- s = 250;- break;- case 5:- s = 1073741823;- break;- case 4:- s = 1e4;- break;- default: s = 5e3;+ return !1;+ }, D = (e) => {+ if (n.getKeyPageAbove && t.focusedKey != null) {+ let r = n.getKeyPageAbove(t.focusedKey);+ if (r != null) return v(e, r);}- return s = a + s, r = {- id: u++,- callback: i,- priorityLevel: r,- startTime: a,- expirationTime: s,- sortIndex: -1- }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(C), C = -1) : h = !0, j(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, O()))), r;- }, e.unstable_shouldYield = E, e.unstable_wrapCallback = function(e) {- var t = f;- return function() {- var n = f;- f = t;- try {- return e.apply(this, arguments);- } finally {- f = n;- }- };- };-})), Lf = /* @__PURE__ */ _(((e, t) => {- t.exports = If();-})), Rf = /* @__PURE__ */ _(((e) => {- var t = Lf(), n = C(), r = oi();- function i(e) {- var t = "https://react.dev/errors/" + e;- if (1 < arguments.length) {- t += "?args[]=" + encodeURIComponent(arguments[1]);- for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);+ return !1;+ }, O = () => {+ if (t.selectionMode === "multiple" && s !== !0) {+ t.selectAll();+ return;}- return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";- }- function a(e) {- return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);- }- function o(e) {- for (var t = e, n = t; n && !n.alternate;) t = n, t.flags & 4098 && (e = t.return), n = t.return;- for (; t.return;) t = t.return;- return t.tag === 3 ? e : null;- }- function s(e) {- if (e.tag === 13) {- var t = e.memoizedState;- if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ return !1;+ }, k = () => {+ if (c === "clearSelection" && !o && t.selectedKeys.size !== 0) {+ t.clearSelection();+ return;}- return null;- }- function c(e) {- if (e.tag === 31) {- var t = e.memoizedState;- if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ return !1;+ }, A = () => {+ if (!f && r.current) {+ let e = Gg(r.current, { tabbable: !0 }), t, n;+ do+ n = e.lastChild(), n && (t = n);+ while (n);+ let i = Rf();+ t && (!Bf(t) || i && !Yf(i)) && Sf(t);}- return null;- }- function l(e) {- if (o(e) !== e) throw Error(i(188));- }- function u(e) {- var t = e.alternate;- if (!t) {- if (t = o(e), t === null) throw Error(i(188));- return t === e ? e : null;+ return {+ shouldContinuePropagation: !0,+ shouldPreventDefault: !1+ };+ }, j = () => (!f && r.current && r.current.focus(), {+ shouldContinuePropagation: !0,+ shouldPreventDefault: !1+ }), M = (e, t) => ({+ [ap() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [e + "+Shift"]: t,+ [ap() ? e + "+Alt" : e + "+Control"]: t,+ [e]: t+ }), { keyboardProps: N } = Lm({+ shortcuts: {+ ...M("ArrowDown", y),+ ...M("ArrowUp", b),+ ...M("ArrowLeft", S),+ ...M("ArrowRight", C),+ ...M("PageDown", T),+ ...M("PageUp", D)+ },+ allowRepeats: !0+ }), { keyboardProps: P } = Lm({ shortcuts: {+ ...M("Home", x),+ ...M("End", w),+ "Mod+A": O,+ Escape: k,+ Tab: A,+ "Tab+Shift": j+ } }), F = (0, E.useRef)({+ top: 0,+ left: 0+ });+ Eh(p, "scroll", () => {+ F.current = {+ top: p.current?.scrollTop ?? 0,+ left: p.current?.scrollLeft ?? 0+ };+ });+ let I = (e) => {+ if (t.isFocused) {+ Lf(e.currentTarget, B(e)) || t.setFocused(!1);+ return;}- for (var n = e, r = t;;) {- var a = n.return;- if (a === null) break;- var s = a.alternate;- if (s === null) {- if (r = a.return, r !== null) {- n = r;- continue;- }- break;- }- if (a.child === s.child) {- for (s = a.child; s;) {- if (s === n) return l(a), e;- if (s === r) return l(a), t;- s = s.sibling;- }- throw Error(i(188));- }- if (n.return !== r.return) n = a, r = s;- else {- for (var c = !1, u = a.child; u;) {- if (u === n) {- c = !0, n = a, r = s;- break;- }- if (u === r) {- c = !0, r = a, n = s;- break;- }- u = u.sibling;- }- if (!c) {- for (u = s.child; u;) {- if (u === n) {- c = !0, n = s, r = a;- break;- }- if (u === r) {- c = !0, r = s, n = a;- break;- }- u = u.sibling;- }- if (!c) throw Error(i(189));+ if (!Lf(e.currentTarget, B(e))) return;+ let i = Qp();+ t.setFocused(!0);+ let a = (e) => {+ e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));+ };+ if (h && (i === "keyboard" || i === "virtual")) a(h === "first" ? n.getFirstKey?.() : n.getLastKey?.());+ 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 = F.current.top, p.current.scrollLeft = F.current.left);+ if (t.focusedKey != null && p.current) {+ let e = U_(r, t.focusedKey);+ e instanceof HTMLElement && (!Bf(e) && !d && Sf(e), (i === "keyboard" || h && i === "virtual") && r_(e, { containingElement: r.current }));+ }+ }, ee = (e) => {+ Lf(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ }, te = (0, E.useRef)(!1);+ Eh(r, gh, d ? (e) => {+ let { detail: n } = e;+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);+ } : void 0);+ let L = n.getFirstKey?.() ?? null;+ Lv(() => {+ if (te.current) {+ if (L == null) {+ let e = Rf();+ _h(r.current), yh(e, null), t.collection.size > 0 && (te.current = !1);+ } else t.setFocusedKey(L), te.current = !1;+ }+ }, [L, t.collection.size]), Lv(() => {+ t.collection.size > 0 && (te.current = !1);+ }, [t.focusedKey]), Eh(r, hh, d ? (e) => {+ e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);+ } : void 0);+ let ne = (0, E.useRef)(i), re = (0, E.useRef)(!1);+ (0, E.useEffect)(() => {+ if (ne.current) {+ let e = null;+ i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);+ let a = t.selectedKeys;+ if (a.size) {+ for (let n of a) if (t.canSelectItem(n)) {+ e = n;+ break;}}- if (n.alternate !== r) throw Error(i(190));- }- if (n.tag !== 3) throw Error(i(188));- return n.stateNode.current === n ? e : t;- }- function d(e) {- var t = e.tag;- if (t === 5 || t === 26 || t === 27 || t === 6) return e;- for (e = e.child; e !== null;) {- if (t = d(e), t !== null) return t;- e = e.sibling;+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && lm(r.current), t.collection.size > 0 && (ne.current = !1, re.current = !0);}- return null;- }- function f(e, t, n, r, i, a) {- for (; e !== null;) {- if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && n(e, r, i, a) || (e.tag !== 22 || e.memoizedState === null) && (t || e.tag !== 5 && e.tag !== 27) && f(e.child, t, n, r, i, a)) return !0;- e = e.sibling;- }- return !1;- }- function p(e) {- for (e = e.return; e !== null;) {- if (e.tag === 3 || e.tag === 5 || e.tag === 27) return e;- e = e.return;+ });+ let ie = (0, E.useRef)(t.focusedKey), ae = (0, E.useRef)(null);+ (0, E.useEffect)(() => {+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || re.current) && p.current && r.current) {+ let e = Qp(), n = U_(r, t.focusedKey);+ if (!(n instanceof HTMLElement)) return;+ (e === "keyboard" || re.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {+ p.current && (n_(p.current, n), e !== "virtual" && r_(n, { containingElement: r.current }));+ }));}- return null;- }- function m(e) {- var t = !1;- for (e = e.return; e !== null && (e.tag === 4 && (t = !0), e.tag !== 3 && e.tag !== 5 && e.tag !== 27);) e = e.return;- return t;- }- function h(e) {- var t = [null, null], n = p(e);- return n === null || g(t, e, n.child, { foundSelf: !1 }), t;- }- function g(e, t, n, r) {- for (; n !== null;) {- if (n === t) r.foundSelf = !0;- else if (n.tag === 5 || n.tag === 27 || n.tag === 6) {- if (r.foundSelf) return e[1] = n, !0;- e[0] = n;- } else if ((n.tag !== 22 || n.memoizedState === null) && g(e, t, n.child, r)) return !0;- n = n.sibling;+ !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && lm(r.current), ie.current = t.focusedKey, re.current = !1;+ }), (0, E.useEffect)(() => () => {+ ae.current && cancelAnimationFrame(ae.current);+ }, []), Eh(r, "react-aria-focus-scope-restore", (e) => {+ e.preventDefault(), t.setFocused(!0);+ });+ let oe = {+ ...H(P, N),+ onFocus: I,+ onBlur: ee,+ onMouseDown(e) {+ p.current === B(e) && e.preventDefault();}- return !1;+ }, { typeSelectProps: se } = Iv({+ keyboardDelegate: n,+ selectionManager: t+ });+ u || (oe = H(se, oe));+ let ce;+ d || (ce = t.focusedKey == null ? 0 : -1);+ let le = G_(t.collection);+ return { collectionProps: H(oe, {+ tabIndex: ce,+ "data-collection": le+ }) };+}+//#endregion+//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs+function zv(e, t) {+ return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;+}+function Bv(e) {+ return Vv(e, 0);+}+function Vv(e, t) {+ if (t < 0) return;+ let n = 0;+ for (let r of e) {+ if (n === t) return r;+ n++;}- function _(e) {- switch (e.tag) {- case 5:- case 27:- case 6: return e.stateNode;- case 3: return e.stateNode.containerInfo;- default: throw Error(i(559));- }- }- var v = null, y = null;- function b(e, t, n) {- return e === n || e === t && (v = e, !0);- }- function x(e, t, n) {- return e === n ? (y = e, !1) : e === t && (y !== null && (v = e), !0);- }- function S(e) {- if (e === null) return null;- do- e = e === null ? null : e.return;- while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);- return e || null;- }- function w(e, t, n) {- for (var r = 0, i = e; i; i = n(i)) r++;- i = 0;- for (var a = t; a; a = n(a)) i++;- for (; 0 < r - i;) e = n(e), r--;- for (; 0 < i - r;) t = n(t), i--;- for (; r--;) {- if (e === t || t !== null && e === t.alternate) return e;- e = n(e), t = n(t);- }- return null;- }- var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), ie = Symbol.for("react.legacy_hidden"), ae = Symbol.for("react.memo_cache_sentinel"), oe = Symbol.for("react.view_transition"), se = Symbol.for("react.recoverable"), ce = Symbol.iterator;- function le(e) {- return typeof e != "object" || !e ? null : (e = ce && e[ce] || e["@@iterator"], typeof e == "function" ? e : null);- }- var ue = Symbol.for("react.client.reference");- function de(e) {- if (e == null) return null;- if (typeof e == "function") return e.$$typeof === ue ? null : e.displayName || e.name || null;- if (typeof e == "string") return e;- switch (e) {- case k: return "Fragment";- case j: return "Profiler";- case A: return "StrictMode";- case N: return "Suspense";- case P: return "SuspenseList";- case F: return "Activity";- case oe: return "ViewTransition";- }- if (typeof e == "object") switch (e.$$typeof) {- case O: return "Portal";- case ee: return e.displayName || "Context";- case M: return (e._context.displayName || "Context") + ".Consumer";- case te:- var t = e.render;- return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;- case ne: return t = e.displayName || null, t === null ? de(e.type) || "Memo" : t;- case re:- t = e._payload, e = e._init;- try {- return de(e(t));- } catch {}+}+function Hv(e) {+ let t;+ for (let n of e) t = n;+ return t;+}+function Uv(e, t, n) {+ if (t.parentKey === n.parentKey) return t.index - n.index;+ let r = [...Wv(e, t), t], i = [...Wv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);+}+function Wv(e, t) {+ let n = [], r = t;+ for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);+ return n;+}+//#endregion+//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs+var Gv = /* @__PURE__ */ new WeakMap();+function Cee(e) {+ let t = Gv.get(e);+ if (t != null) return t;+ let n = 0, r = (t) => {+ for (let i of t) i.type === "section" ? r(zv(i, e)) : i.type === "item" && n++;+ };+ return r(e), Gv.set(e, n), n;+}+//#endregion+//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs+var Kv = /* @__PURE__ */ new Map();+function qv(e) {+ let { locale: t } = Rh(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (Kv.has(n)) return Kv.get(n);+ let r = new Intl.Collator(t, e);+ return Kv.set(n, r), r;+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs+function wee({ children: e }) {+ let t = (0, E.useMemo)(() => ({ register: () => {} }), []);+ return /*#__PURE__*/ E.createElement(pg.Provider, { value: t }, e);+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs+var Jv = /*#__PURE__*/ (0, E.createContext)({});+function Yv(e) {+ let { getContainer: t } = e, { getContainer: n } = Xv();+ return /*#__PURE__*/ E.createElement(Jv.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+}+function Xv() {+ return (0, E.useContext)(Jv) ?? {};+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs+var Zv = /*#__PURE__*/ E.createContext(null);+function Qv(e) {+ let t = Pp(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, E.useState)(!1), o = (0, E.useMemo)(() => ({+ contain: i,+ setContain: a+ }), [i, a]), { getContainer: s } = Xv();+ if (!e.portalContainer && s && (n = s()), !n) return null;+ let c = e.children;+ return e.disableFocusManagement || (c = /*#__PURE__*/ E.createElement(jg, {+ restoreFocus: !0,+ contain: (e.shouldContainFocus || i) && !r+ }, c)), c = /*#__PURE__*/ E.createElement(Zv.Provider, { value: o }, /*#__PURE__*/ E.createElement(wee, null, /*#__PURE__*/ E.createElement(Bm.Provider, { value: null }, c))), /*#__PURE__*/ Zm.createPortal(c, n);+}+function $v() {+ let e = (0, E.useContext)(Zv)?.setContain;+ V(() => {+ e?.(!0);+ }, [e]);+}+//#endregion+//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs+function Tee(e, t) {+ let { role: n = "dialog" } = e, r = vm();+ r = e["aria-label"] ? void 0 : r;+ let i = vm();+ i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;+ let a = (0, E.useRef)(!1);+ (0, E.useEffect)(() => {+ if (t.current && !Bf(t.current)) {+ lm(t.current);+ let e = setTimeout(() => {+ (Rf() === t.current || Rf() === document.body) && (a.current = !0, t.current && (t.current.blur(), lm(t.current)), a.current = !1);+ }, 500);+ return () => {+ clearTimeout(e);+ };}- return null;- }- var fe = Array.isArray, I = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, pe = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, me = {- pending: !1,- data: null,- method: null,- action: null- }, he = [], ge = -1;- function _e(e) {- return { current: e };- }- function ve(e) {- 0 > ge || (e.current = he[ge], he[ge] = null, ge--);- }- function ye(e, t) {- ge++, he[ge] = e.current, e.current = t;- }- var be = _e(null), xe = _e(null), Se = _e(null), Ce = _e(null);- function we(e, t) {- switch (ye(Se, t), ye(xe, e), ye(be, null), t.nodeType) {- case 9:- case 11:- e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;- break;- default: if (e = t.tagName, t = t.namespaceURI) t = bp(t), e = xp(t, e);- else switch (e) {- case "svg":- e = 1;- break;- case "math":- e = 2;- break;- default: e = 0;+ }, [t]), $v(), (0, E.useRef)(!1), (0, E.useEffect)(() => {});+ let o = e["aria-describedby"] ?? i;+ return {+ dialogProps: {+ ...ag(e, { labelable: !0 }),+ role: n,+ tabIndex: -1,+ "aria-labelledby": e["aria-labelledby"] ?? r,+ "aria-describedby": o,+ onBlur: (e) => {+ a.current && e.stopPropagation();}+ },+ titleProps: { id: r },+ contentProps: { id: i }+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs+function ey(e = {}) {+ let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, E.useRef)({+ isFocused: !1,+ isFocusVisible: t || Zp()+ }), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, E.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, E.useCallback)((e) => {+ i.current.isFocused = e, i.current.isFocusVisible = Zp(), o(e), l();+ }, [l]);+ rm((e) => {+ i.current.isFocusVisible = e, l();+ }, [n, a], {+ enabled: a,+ isTextInput: n+ });+ let { focusProps: d } = Cm({+ isDisabled: r,+ onFocusChange: u+ }), { focusWithinProps: f } = E_({+ isDisabled: !r,+ onFocusWithinChange: u+ });+ return {+ isFocused: a,+ isFocusVisible: s,+ focusProps: r ? f : d+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs+function ty(e = {}) {+ let { locale: t } = Rh();+ return (0, E.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useHover.mjs+var ny = !1, ry = 0;+function iy() {+ ny = !0, setTimeout(() => {+ ny = !1;+ }, 500);+}+function ay(e) {+ e.pointerType === "touch" && iy();+}+function oy() {+ let e = Df(null);+ if (e !== void 0) return ry === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ay), ry++, () => {+ ry--, !(ry > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ay);+ };+}+function sy(e) {+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, E.useState)(!1), s = (0, E.useRef)({+ isHovered: !1,+ ignoreEmulatedMouseEvents: !1,+ pointerType: "",+ target: null+ }).current;+ (0, E.useEffect)(oy, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = mg(), { hoverProps: u, triggerHoverEnd: d } = (0, E.useMemo)(() => {+ let e = (e, r) => {+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Lf(e.currentTarget, B(e))) return;+ s.isHovered = !0;+ let l = e.currentTarget;+ s.target = l, c(Df(B(e)), "pointerover", (e) => {+ s.isHovered && s.target && !Lf(s.target, B(e)) && a(e, e.pointerType);+ }, { capture: !0 }), t && t({+ type: "hoverstart",+ target: l,+ pointerType: r+ }), n && n(!0), o(!0);+ }, a = (e, t) => {+ let i = s.target;+ s.pointerType = "", s.target = null, !(t === "touch" || !s.isHovered || !i) && (s.isHovered = !1, l(), r && r({+ type: "hoverend",+ target: i,+ pointerType: t+ }), n && n(!1), o(!1));+ }, u = {};+ return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {+ ny && t.pointerType === "mouse" || e(t, t.pointerType);+ }, u.onPointerLeave = (e) => {+ !i && Lf(e.currentTarget, B(e)) && a(e, e.pointerType);+ }), {+ hoverProps: u,+ triggerHoverEnd: a+ };+ }, [+ t,+ n,+ r,+ i,+ s,+ c,+ l+ ]);+ return (0, E.useEffect)(() => {+ i && d({ currentTarget: s.target }, s.pointerType);+ }, [i]), {+ hoverProps: u,+ isHovered: a+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs+function cy(e) {+ let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, E.useRef)({+ isPointerDown: !1,+ ignoreEmulatedMouseEvents: !1+ }), o = Th((e) => {+ n && ly(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Th((e) => {+ n && n(e);+ });+ (0, E.useEffect)(() => {+ let e = a.current;+ if (r) return;+ let n = t.current, i = Df(n);+ if (typeof PointerEvent < "u") {+ let n = (n) => {+ e.isPointerDown && ly(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);+ };}- ve(be), ye(be, e);- }- function Te() {- ve(be), ve(xe), ve(Se);- }- function Ee(e) {- var t = e.memoizedState;- t !== null && (fh._currentValue = t.memoizedState, ye(Ce, e)), t = be.current;- var n = xp(t, e.type);- t !== n && (ye(xe, e), ye(be, n));- }- function De(e) {- xe.current === e && (ve(be), ve(xe)), Ce.current === e && (ve(Ce), fh._currentValue = me);- }- var Oe, ke;- function Ae(e) {- if (Oe === void 0) try {- throw Error();- } catch (e) {- var t = e.stack.trim().match(/\n( *(at )?)/);- Oe = t && t[1] || "", ke = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";- }- return "\n" + Oe + e + ke;+ }, [t, r]);+}+function ly(e, t) {+ if (e.button > 0) return !1;+ let n = B(e);+ if (n) {+ let e = n.ownerDocument;+ if (!e || !Lf(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}- var je = !1;- function Me(e, t) {- if (!e || je) return "";- je = !0;- var n = Error.prepareStackTrace;- Error.prepareStackTrace = void 0;- try {- var r = { DetermineComponentFrameRoot: function() {- try {- if (t) {- var n = function() {- throw Error();- };- if (Object.defineProperty(n.prototype, "props", { set: function() {- throw Error();+ return t.current ? !e.composedPath().includes(t.current) : !1;+}+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs+var uy = {};+uy = {+ deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,+ longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",+ select: "تحديد",+ selectedAll: "جميع العناصر المحددة.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "لم يتم تحديد عناصر",+ one: () => `${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,+ other: () => `${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs+var dy = {};+dy = {+ deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,+ longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",+ select: "Изберете",+ selectedAll: "Всички елементи са избрани.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Няма избрани елементи",+ one: () => `${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,+ other: () => `${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs+var fy = {};+fy = {+ 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",+ selectedAll: "Vybrány všechny položky.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nevybrány žádné položky",+ one: () => `Vybr\xe1na ${t.number(e.count)} polo\u{17E}ka`,+ other: () => `Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`+ })}.`,+ selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs+var py = {};+py = {+ deselectedItem: (e) => `${e.item} ikke valgt.`,+ longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",+ select: "Vælg",+ selectedAll: "Alle elementer valgt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ingen elementer valgt",+ one: () => `${t.number(e.count)} element valgt`,+ other: () => `${t.number(e.count)} elementer valgt`+ })}.`,+ selectedItem: (e) => `${e.item} valgt.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs+var my = {};+my = {+ deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,+ longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",+ select: "Auswählen",+ selectedAll: "Alle Elemente ausgewählt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Keine Elemente ausgewählt",+ one: () => `${t.number(e.count)} Element ausgew\xe4hlt`,+ other: () => `${t.number(e.count)} Elemente ausgew\xe4hlt`+ })}.`,+ selectedItem: (e) => `${e.item} ausgew\xe4hlt.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs+var hy = {};+hy = {+ 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: "Επιλογή",+ selectedAll: "Επιλέχθηκαν όλα τα στοιχεία.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Δεν επιλέχθηκαν στοιχεία",+ one: () => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,+ other: () => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`+ })}.`,+ selectedItem: (e) => `\u{395}\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}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs+var gy = {};+gy = {+ deselectedItem: (e) => `${e.item} not selected.`,+ select: "Select",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "No items selected",+ one: () => `${t.number(e.count)} item selected`,+ other: () => `${t.number(e.count)} items selected`+ })}.`,+ selectedAll: "All items selected.",+ selectedItem: (e) => `${e.item} selected.`,+ longPressToSelect: "Long press to enter selection mode."+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs+var _y = {};+_y = {+ deselectedItem: (e) => `${e.item} no seleccionado.`,+ longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",+ select: "Seleccionar",+ selectedAll: "Todos los elementos seleccionados.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ningún elemento seleccionado",+ one: () => `${t.number(e.count)} elemento seleccionado`,+ other: () => `${t.number(e.count)} elementos seleccionados`+ })}.`,+ selectedItem: (e) => `${e.item} seleccionado.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs+var vy = {};+vy = {+ deselectedItem: (e) => `${e.item} pole valitud.`,+ longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",+ select: "Vali",+ selectedAll: "Kõik üksused valitud.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Üksusi pole valitud",+ one: () => `${t.number(e.count)} \xfcksus valitud`,+ other: () => `${t.number(e.count)} \xfcksust valitud`+ })}.`,+ selectedItem: (e) => `${e.item} valitud.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs+var yy = {};+yy = {+ deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,+ longPressToSelect: "Siirry valintatilaan painamalla pitkään.",+ select: "Valitse",+ selectedAll: "Kaikki kohteet valittu.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ei yhtään kohdetta valittu",+ one: () => `${t.number(e.count)} kohde valittu`,+ other: () => `${t.number(e.count)} kohdetta valittu`+ })}.`,+ selectedItem: (e) => `${e.item} valittu.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs+var by = {};+by = {+ 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",+ selectedAll: "Tous les éléments sélectionnés.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Aucun élément sélectionné",+ one: () => `${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,+ other: () => `${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`+ })}.`,+ selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs+var xy = {};+xy = {+ deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,+ longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",+ select: "בחר",+ selectedAll: "כל הפריטים נבחרו.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "לא נבחרו פריטים",+ one: () => `\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,+ other: () => `${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs+var Sy = {};+Sy = {+ deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,+ longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",+ select: "Odaberite",+ selectedAll: "Odabrane su sve stavke.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nije odabrana nijedna stavka",+ one: () => `Odabrana je ${t.number(e.count)} stavka`,+ other: () => `Odabrano je ${t.number(e.count)} stavki`+ })}.`,+ selectedItem: (e) => `Stavka ${e.item} je odabrana.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs+var Cy = {};+Cy = {+ deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,+ longPressToSelect: "Nyomja hosszan a kijelöléshez.",+ select: "Kijelölés",+ selectedAll: "Az összes elem kijelölve.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Egy elem sincs kijelölve",+ one: () => `${t.number(e.count)} elem kijel\xf6lve`,+ other: () => `${t.number(e.count)} elem kijel\xf6lve`+ })}.`,+ selectedItem: (e) => `${e.item} kijel\xf6lve.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs+var wy = {};+wy = {+ deselectedItem: (e) => `${e.item} non selezionato.`,+ longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",+ select: "Seleziona",+ selectedAll: "Tutti gli elementi selezionati.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nessun elemento selezionato",+ one: () => `${t.number(e.count)} elemento selezionato`,+ other: () => `${t.number(e.count)} elementi selezionati`+ })}.`,+ selectedItem: (e) => `${e.item} selezionato.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs+var Ty = {};+Ty = {+ 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: "選択",+ selectedAll: "すべての項目を選択しました。",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "項目が選択されていません",+ one: () => `${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,+ other: () => `${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`+ })}\u{3002}`,+ selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs+var Ey = {};+Ey = {+ 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: "선택",+ selectedAll: "모든 항목이 선택되었습니다.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "선택된 항목이 없습니다",+ one: () => `${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,+ other: () => `${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`+ })}.`,+ selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs+var Dy = {};+Dy = {+ deselectedItem: (e) => `${e.item} nepasirinkta.`,+ longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",+ select: "Pasirinkti",+ selectedAll: "Pasirinkti visi elementai.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nepasirinktas nė vienas elementas",+ one: () => `Pasirinktas ${t.number(e.count)} elementas`,+ other: () => `Pasirinkta element\u{173}: ${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `Pasirinkta: ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs+var Oy = {};+Oy = {+ deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,+ longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",+ select: "Atlasīt",+ selectedAll: "Atlasīti visi vienumi.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nav atlasīts neviens vienums",+ one: () => `Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`,+ other: () => `Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs+var ky = {};+ky = {+ deselectedItem: (e) => `${e.item} er ikke valgt.`,+ longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",+ select: "Velg",+ selectedAll: "Alle elementer er valgt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ingen elementer er valgt",+ one: () => `${t.number(e.count)} element er valgt`,+ other: () => `${t.number(e.count)} elementer er valgt`+ })}.`,+ selectedItem: (e) => `${e.item} er valgt.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs+var Ay = {};+Ay = {+ deselectedItem: (e) => `${e.item} niet geselecteerd.`,+ longPressToSelect: "Druk lang om de selectiemodus te openen.",+ select: "Selecteren",+ selectedAll: "Alle items geselecteerd.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Geen items geselecteerd",+ one: () => `${t.number(e.count)} item geselecteerd`,+ other: () => `${t.number(e.count)} items geselecteerd`+ })}.`,+ selectedItem: (e) => `${e.item} geselecteerd.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs+var jy = {};+jy = {+ deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,+ longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",+ select: "Zaznacz",+ selectedAll: "Wszystkie zaznaczone elementy.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nie zaznaczono żadnych elementów",+ one: () => `${t.number(e.count)} zaznaczony element`,+ other: () => `${t.number(e.count)} zaznaczonych element\xf3w`+ })}.`,+ selectedItem: (e) => `Zaznaczono ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs+var My = {};+My = {+ deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,+ longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",+ select: "Selecionar",+ selectedAll: "Todos os itens selecionados.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nenhum item selecionado",+ one: () => `${t.number(e.count)} item selecionado`,+ other: () => `${t.number(e.count)} itens selecionados`+ })}.`,+ selectedItem: (e) => `${e.item} selecionado.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs+var Ny = {};+Ny = {+ deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,+ longPressToSelect: "Prima continuamente para entrar no modo de seleção.",+ select: "Selecionar",+ selectedAll: "Todos os itens selecionados.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nenhum item selecionado",+ one: () => `${t.number(e.count)} item selecionado`,+ other: () => `${t.number(e.count)} itens selecionados`+ })}.`,+ selectedItem: (e) => `${e.item} selecionado.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs+var Py = {};+Py = {+ deselectedItem: (e) => `${e.item} neselectat.`,+ longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",+ select: "Selectare",+ selectedAll: "Toate elementele selectate.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Niciun element selectat",+ one: () => `${t.number(e.count)} element selectat`,+ other: () => `${t.number(e.count)} elemente selectate`+ })}.`,+ selectedItem: (e) => `${e.item} selectat.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs+var Fy = {};+Fy = {+ deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,+ longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",+ select: "Выбрать",+ selectedAll: "Выбраны все элементы.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Нет выбранных элементов",+ one: () => `${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,+ other: () => `${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs+var Iy = {};+Iy = {+ deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,+ longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",+ select: "Vybrať",+ selectedAll: "Všetky vybraté položky.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Žiadne vybraté položky",+ one: () => `${t.number(e.count)} vybrat\xe1 polo\u{17E}ka`,+ other: () => `Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs+var Ly = {};+Ly = {+ deselectedItem: (e) => `Element ${e.item} ni izbran.`,+ longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",+ select: "Izberite",+ selectedAll: "Vsi elementi so izbrani.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Noben element ni izbran",+ one: () => `${t.number(e.count)} element je izbran`,+ other: () => `${t.number(e.count)} elementov je izbranih`+ })}.`,+ selectedItem: (e) => `Element ${e.item} je izbran.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs+var Ry = {};+Ry = {+ deselectedItem: (e) => `${e.item} nije izabrano.`,+ longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",+ select: "Izaberite",+ selectedAll: "Izabrane su sve stavke.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nije izabrana nijedna stavka",+ one: () => `Izabrana je ${t.number(e.count)} stavka`,+ other: () => `Izabrano je ${t.number(e.count)} stavki`+ })}.`,+ selectedItem: (e) => `${e.item} je izabrano.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs+var zy = {};+zy = {+ deselectedItem: (e) => `${e.item} ej markerat.`,+ longPressToSelect: "Tryck länge när du vill öppna väljarläge.",+ select: "Markera",+ selectedAll: "Alla markerade objekt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Inga markerade objekt",+ one: () => `${t.number(e.count)} markerat objekt`,+ other: () => `${t.number(e.count)} markerade objekt`+ })}.`,+ selectedItem: (e) => `${e.item} markerat.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs+var By = {};+By = {+ deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,+ longPressToSelect: "Seçim moduna girmek için uzun basın.",+ select: "Seç",+ selectedAll: "Tüm ögeler seçildi.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Hiçbir öge seçilmedi",+ one: () => `${t.number(e.count)} \xf6ge se\xe7ildi`,+ other: () => `${t.number(e.count)} \xf6ge se\xe7ildi`+ })}.`,+ selectedItem: (e) => `${e.item} se\xe7ildi.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs+var Vy = {};+Vy = {+ deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,+ longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",+ select: "Вибрати",+ selectedAll: "Усі елементи вибрано.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Жодних елементів не вибрано",+ one: () => `${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,+ other: () => `\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs+var Hy = {};+Hy = {+ deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,+ longPressToSelect: "长按以进入选择模式。",+ select: "选择",+ selectedAll: "已选择所有项目。",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "未选择项目",+ one: () => `\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,+ other: () => `\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`+ })}\u{3002}`,+ selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs+var Uy = {};+Uy = {+ deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,+ longPressToSelect: "長按以進入選擇模式。",+ select: "選取",+ selectedAll: "已選取所有項目。",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "未選取任何項目",+ one: () => `\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,+ other: () => `\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`+ })}\u{3002}`,+ selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`+};+//#endregion+//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs+var Wy = {};+Wy = {+ "ar-AE": uy,+ "bg-BG": dy,+ "cs-CZ": fy,+ "da-DK": py,+ "de-DE": my,+ "el-GR": hy,+ "en-US": gy,+ "es-ES": _y,+ "et-EE": vy,+ "fi-FI": yy,+ "fr-FR": by,+ "he-IL": xy,+ "hr-HR": Sy,+ "hu-HU": Cy,+ "it-IT": wy,+ "ja-JP": Ty,+ "ko-KR": Ey,+ "lt-LT": Dy,+ "lv-LV": Oy,+ "nb-NO": ky,+ "nl-NL": Ay,+ "pl-PL": jy,+ "pt-BR": My,+ "pt-PT": Ny,+ "ro-RO": Py,+ "ru-RU": Fy,+ "sk-SK": Iy,+ "sl-SI": Ly,+ "sr-SP": Ry,+ "sv-SE": zy,+ "tr-TR": By,+ "uk-UA": Vy,+ "zh-CN": Hy,+ "zh-TW": Uy+};+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs+function Eee(e) {+ return e && e.__esModule ? e.default : e;+}+function Dee(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Qh(Eee(Wy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, E.useRef)(i), o = (0, E.useCallback)(() => {+ if (!t.selectionManager.isFocused || i === a.current) {+ a.current = i;+ return;+ }+ let e = Gy(i, a.current), o = Gy(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)) {+ let t = n(e);+ t && c.push(r.format("selectedItem", { item: t }));+ }+ } else if (e.size === 1 && o.size === 0) {+ let t = e.keys().next().value;+ if (t != null) {+ let e = n(t);+ e && c.push(r.format("selectedItem", { item: e }));+ }+ } else if (o.size === 1 && e.size === 0) {+ let e = o.keys().next().value;+ if (e != null && t.collection.getItem(e)) {+ let t = n(e);+ 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 && Zg(c.join(" ")), a.current = i;+ }, [+ i,+ t.selectionManager.selectedKeys,+ t.selectionManager.isFocused,+ t.selectionManager.selectionBehavior,+ t.selectionManager.selectionMode,+ t.collection,+ n,+ r+ ]);+ Qg(() => {+ if (t.selectionManager.isFocused) o();+ else {+ let e = requestAnimationFrame(o);+ return () => cancelAnimationFrame(e);+ }+ }, [i, t.selectionManager.isFocused]);+}+function Gy(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);+ return n;+}+//#endregion+//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs+function Ky(e, t) {+ let n = t?.isDisabled, [r, i] = (0, E.useState)(!1);+ return V(() => {+ if (e?.current && !n) {+ let t = () => {+ if (e.current) {+ let t = Gg(e.current, { tabbable: !0 });+ i(!!t.nextNode());+ }+ };+ t();+ let n = new MutationObserver(t);+ return n.observe(e.current, {+ subtree: !0,+ childList: !0,+ attributes: !0,+ attributeFilter: ["tabIndex", "disabled"]+ }), () => {+ n.disconnect();+ };+ }+ }), !n && r;+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs+function Oee(e) {+ return e && e.__esModule ? e.default : e;+}+function kee(e) {+ let t = Qh(Oee(Wy), "@react-aria/grid"), n = em(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return a_((0, E.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;+ }, [+ e.selectionManager.selectionMode,+ e.selectionManager.selectionBehavior,+ e.hasItemActions,+ t,+ r+ ]));+}+//#endregion+//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs+function Aee(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = qv({+ usage: "search",+ sensitivity: "base"+ }), l = t.disabledBehavior, u = (0, E.useMemo)(() => a || new J_({+ collection: n,+ disabledKeys: r,+ disabledBehavior: l,+ ref: i,+ collator: c,+ layoutDelegate: o,+ orientation: s+ }), [+ a,+ o,+ n,+ r,+ i,+ c,+ l,+ s+ ]), { collectionProps: d } = Rv({+ ...e,+ ref: i,+ selectionManager: t,+ keyboardDelegate: u+ });+ return { listProps: d };+}+//#endregion+//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs+function qy(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 = _p();+ t = gm(t);+ let p = (e) => {+ if (e.pointerType === "keyboard" && H_(e)) n.toggleSelection(r);+ else {+ if (n.selectionMode === "none") return;+ if (n.isLink(r)) {+ if (d === "selection" && i.current) {+ let t = n.getItemProps(r);+ f.open(i.current, e, t.href, t.routerOptions), n.setSelectedKeys(n.selectedKeys);+ return;+ }+ 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 && (xh(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ }+ };+ (0, E.useEffect)(() => {+ r === n.focusedKey && n.isFocused && (o ? _h(i.current) : s ? s() : Rf() !== i.current && i.current && lm(i.current));+ }, [+ i,+ r,+ n.focusedKey,+ n.childFocusStrategy,+ n.isFocused,+ o+ ]), c ||= n.isDisabled(r);+ let m = {};+ !o && !c ? m = {+ tabIndex: r === n.focusedKey ? 0 : -1,+ onFocus(e) {+ B(e) === i.current && n.setFocusedKey(r);+ }+ } : c && (m.onMouseDown = (e) => {+ e.preventDefault();+ }), (0, E.useEffect)(() => {+ c && n.focusedKey === r && n.setFocusedKey(null);+ }, [+ n,+ c,+ r+ ]);+ let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, y = (l || _) && !c, b = y && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), x = y && v && n.selectionBehavior === "replace", S = b || x, C = (0, E.useRef)(null), w = S && v, T = (0, E.useRef)(!1), D = (0, E.useRef)(!1), O = n.getItemProps(r), k = (e) => {+ l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);+ }, A = { ref: i };+ a ? (A.onPressStart = (e) => {+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Yy(e.key)) && p(e);+ }, u ? (A.onPressUp = b ? void 0 : (e) => {+ e.pointerType === "mouse" && v && p(e);+ }, A.onPress = b ? k : (e) => {+ e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);+ }) : A.onPress = (e) => {+ if (b || x && e.pointerType !== "mouse") {+ if (e.pointerType === "keyboard" && !Jy(e.key)) return;+ k(e);+ } else e.pointerType !== "keyboard" && v && p(e);+ }) : (A.onPressStart = (e) => {+ C.current = e.pointerType, T.current = w, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Yy(e.key))) && p(e);+ }, A.onPress = (e) => {+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Jy(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));+ });+ let j = K_(n.collection);+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = H(A, {+ onPressStart(e) {+ e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));+ },+ onPress(e) {+ e.pointerType === "touch" && (n.setFocused(!0), n.setFocusedKey(r));+ }+ })), O) for (let e of [+ "onPressStart",+ "onPressEnd",+ "onPressChange",+ "onPress",+ "onPressUp",+ "onClick"+ ]) O[e] && (A[e] = um(A[e], O[e]));+ let { pressProps: M, isPressed: N } = bg(A), P = x ? (e) => {+ C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));+ } : void 0, { longPressProps: F } = jv({+ isDisabled: !w,+ onLongPress(e) {+ e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));+ }+ }), I = (e) => {+ C.current === "touch" && T.current && e.preventDefault();+ }, ee = d !== "none" && n.isLink(r) ? (e) => {+ vp.isOpening || e.preventDefault();+ } : void 0, te = H(m, v || b || o && !c ? M : {}, w ? F : {}, {+ onDoubleClick: P,+ onDragStartCapture: I,+ onClick: ee,+ id: t+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), L = (e) => {+ let t = e;+ for (; t && t !== i.current;) {+ let e = t.getAttribute("data-collection");+ if (e != null) return e !== j;+ t = t.parentElement;+ }+ return Yf(e);+ }, ne = te.onPointerDown;+ te.onPointerDown = (e) => {+ let t = B(e);+ if (t && t !== i.current && L(t)) {+ e.stopPropagation();+ return;+ }+ ne?.(e);+ };+ let re = te.onMouseDown;+ return te.onMouseDown = (e) => {+ let t = B(e);+ if (t && t !== i.current && L(t)) {+ e.stopPropagation();+ return;+ }+ re?.(e);+ }, {+ itemProps: te,+ isPressed: N,+ isSelected: n.isSelected(r),+ isFocused: n.isFocused && n.focusedKey === r,+ isDisabled: c,+ allowsSelection: v,+ hasAction: S+ };+}+function Jy(e) {+ return e === "Enter";+}+function Yy(e) {+ return e === " ";+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs+function Xy(e) {+ return e && e.__esModule ? e.default : e;+}+function Zy(e, t) {+ let { key: n } = e, r = t.selectionManager, i = gm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+ return { checkboxProps: {+ id: i,+ "aria-label": Qh(Xy(Wy), "@react-aria/grid").format("select"),+ isSelected: o,+ isDisabled: a,+ onChange: () => r.toggleSelection(n)+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs+function Qy(e, t, n) {+ let r = ag(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 } = Aee({+ ...e,+ ref: n,+ selectionManager: t.selectionManager,+ collection: t.collection,+ disabledKeys: t.disabledKeys,+ linkBehavior: o+ }), { focusWithinProps: c } = E_({+ onFocusWithin: e.onFocus,+ onBlurWithin: e.onBlur,+ onFocusWithinChange: e.onFocusChange+ }), l = gm(e.id);+ z_.set(t, {+ id: l,+ shouldUseVirtualFocus: e.shouldUseVirtualFocus,+ shouldSelectOnPressUp: e.shouldSelectOnPressUp,+ shouldFocusOnHover: e.shouldFocusOnHover,+ isVirtualized: e.isVirtualized,+ onAction: e.onAction,+ linkBehavior: o,+ UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior+ });+ let { labelProps: u, fieldProps: d } = w_({+ ...e,+ id: l,+ labelElementType: "span"+ });+ return {+ labelProps: u,+ listBoxProps: H(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {+ role: "listbox",+ "aria-orientation": a,+ ...H(d, s)+ })+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs+function $y(e) {+ let { heading: t, "aria-label": n } = e, r = gm();+ return {+ itemProps: { role: "presentation" },+ headingProps: t ? {+ id: r,+ role: "presentation",+ onMouseDown: (e) => {+ e.preventDefault();+ }+ } : {},+ groupProps: {+ role: "group",+ "aria-label": n,+ "aria-labelledby": t ? r : void 0+ }+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/listbox/useOption.mjs+function eb(e, t, n) {+ let { key: r } = e, i = z_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = vm(), f = vm(), p = {+ role: "option",+ "aria-disabled": a || void 0,+ "aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,+ "aria-label": e["aria-label"],+ "aria-labelledby": d,+ "aria-describedby": f+ }, m = t.collection.getItem(r);+ if (u) {+ let e = Number(m?.index);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Cee(t.collection);+ }+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = V_(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = qy({+ selectionManager: t.selectionManager,+ key: r,+ ref: n,+ shouldSelectOnPressUp: s,+ allowsDifferentPressOrigin: s && c,+ isVirtualized: u,+ shouldUseVirtualFocus: l,+ isDisabled: a,+ onAction: h || m?.props?.onAction ? um(m?.props?.onAction, h) : void 0,+ linkBehavior: i?.linkBehavior,+ UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,+ id: g+ }), { hoverProps: S } = sy({+ isDisabled: a || !c,+ onHoverStart() {+ Zp() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ }+ }), C = ag(m?.props);+ delete C.id;+ let w = Sp(m?.props);+ return {+ optionProps: {+ ...p,+ ...H(C, _, S, w),+ id: g+ },+ labelProps: { id: d },+ descriptionProps: { id: f },+ isFocused: y,+ isFocusVisible: y && t.selectionManager.isFocused && Zp(),+ isSelected: o,+ isDisabled: a,+ isPressed: v,+ allowsSelection: x,+ hasAction: b+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs+function tb() {+ return window.ResizeObserver !== void 0;+}+function nb(e) {+ let { ref: t, box: n, onResize: r } = e, i = Th(r);+ (0, E.useEffect)(() => {+ let e = t?.current;+ if (e) {+ if (tb()) {+ let t = new window.ResizeObserver((e) => {+ e.length && i();+ });+ return t.observe(e, { box: n }), () => {+ e && t.unobserve(e);+ };+ }+ return window.addEventListener("resize", i, !1), () => {+ window.removeEventListener("resize", i, !1);+ };+ }+ }, [t, n]);+}+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs+var rb = {};+rb = { dismiss: "تجاهل" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs+var ib = {};+ib = { dismiss: "Отхвърляне" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs+var ab = {};+ab = { dismiss: "Odstranit" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs+var ob = {};+ob = { dismiss: "Luk" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs+var sb = {};+sb = { dismiss: "Schließen" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs+var cb = {};+cb = { dismiss: "Απόρριψη" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs+var lb = {};+lb = { dismiss: "Dismiss" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs+var ub = {};+ub = { dismiss: "Descartar" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs+var db = {};+db = { dismiss: "Lõpeta" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs+var fb = {};+fb = { dismiss: "Hylkää" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs+var pb = {};+pb = { dismiss: "Rejeter" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs+var mb = {};+mb = { dismiss: "התעלם" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs+var hb = {};+hb = { dismiss: "Odbaci" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs+var gb = {};+gb = { dismiss: "Elutasítás" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs+var _b = {};+_b = { dismiss: "Ignora" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs+var vb = {};+vb = { dismiss: "閉じる" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs+var yb = {};+yb = { dismiss: "무시" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs+var bb = {};+bb = { dismiss: "Atmesti" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs+var xb = {};+xb = { dismiss: "Nerādīt" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs+var Sb = {};+Sb = { dismiss: "Lukk" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs+var Cb = {};+Cb = { dismiss: "Negeren" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs+var wb = {};+wb = { dismiss: "Zignoruj" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs+var Tb = {};+Tb = { dismiss: "Descartar" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs+var Eb = {};+Eb = { dismiss: "Dispensar" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs+var Db = {};+Db = { dismiss: "Revocare" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs+var Ob = {};+Ob = { dismiss: "Пропустить" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs+var kb = {};+kb = { dismiss: "Zrušiť" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs+var Ab = {};+Ab = { dismiss: "Opusti" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs+var jb = {};+jb = { dismiss: "Odbaci" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs+var Mb = {};+Mb = { dismiss: "Avvisa" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs+var Nb = {};+Nb = { dismiss: "Kapat" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs+var Pb = {};+Pb = { dismiss: "Скасувати" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs+var Fb = {};+Fb = { dismiss: "取消" };+//#endregion+//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs+var Ib = {};+Ib = { dismiss: "關閉" };+//#endregion+//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs+var Lb = {};+Lb = {+ "ar-AE": rb,+ "bg-BG": ib,+ "cs-CZ": ab,+ "da-DK": ob,+ "de-DE": sb,+ "el-GR": cb,+ "en-US": lb,+ "es-ES": ub,+ "et-EE": db,+ "fi-FI": fb,+ "fr-FR": pb,+ "he-IL": mb,+ "hr-HR": hb,+ "hu-HU": gb,+ "it-IT": _b,+ "ja-JP": vb,+ "ko-KR": yb,+ "lt-LT": bb,+ "lv-LV": xb,+ "nb-NO": Sb,+ "nl-NL": Cb,+ "pl-PL": wb,+ "pt-BR": Tb,+ "pt-PT": Eb,+ "ro-RO": Db,+ "ru-RU": Ob,+ "sk-SK": kb,+ "sl-SI": Ab,+ "sr-SP": jb,+ "sv-SE": Mb,+ "tr-TR": Nb,+ "uk-UA": Pb,+ "zh-CN": Fb,+ "zh-TW": Ib+};+//#endregion+//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs+function jee(e) {+ return e && e.__esModule ? e.default : e;+}+function Rb(e) {+ let { onDismiss: t, ...n } = e, r = Dh(n, Qh(jee(Lb), "@react-aria/overlays").format("dismiss")), i = () => {+ t && t();+ };+ return /*#__PURE__*/ E.createElement(M_, null, /*#__PURE__*/ E.createElement("button", {+ ...r,+ tabIndex: -1,+ onClick: i,+ style: {+ width: 1,+ height: 1+ }+ }));+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs+var zb = [];+function Bb(e, t) {+ let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, E.useRef)(void 0);+ (0, E.useEffect)(() => {+ if (i && !zb.includes(t)) return zb.push(t), () => {+ let e = zb.indexOf(t);+ e >= 0 && zb.splice(e, 1);+ };+ }, [i, t]);+ let l = () => {+ zb[zb.length - 1] === t && n && n();+ }, u = (e) => {+ let n = zb[zb.length - 1];+ c.current = n, (!s || s(B(e))) && n === t && e.stopPropagation();+ }, d = (e) => {+ (!s || s(B(e))) && (zb[zb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Lm({ shortcuts: { Escape: () => {+ if (!o) {+ l();+ return;+ }+ return !1;+ } } });+ cy({+ ref: t,+ onInteractOutside: a && i ? d : void 0,+ onInteractOutsideStart: u+ });+ let { focusWithinProps: p } = E_({+ isDisabled: !r,+ onBlurWithin: (e) => {+ !e.relatedTarget || Rg(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();+ }+ });+ return {+ overlayProps: {+ ...f,+ ...p+ },+ underlayProps: {}+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs+var Vb = typeof document < "u" && window.visualViewport, Hb = 0, Ub;+function Wb(e = {}) {+ let { isDisabled: t } = e;+ V(() => {+ if (!t) return Hb++, Hb === 1 && (Ub = cp() && up() ? Nee() : Mee()), () => {+ Hb--, Hb === 0 && Ub();+ };+ }, [t]);+}+function Mee() {+ let e = window.innerWidth - document.documentElement.clientWidth;+ return um(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Pf(document.documentElement, "scrollbar-gutter", "stable") : Pf(document.documentElement, "padding-right", `${e}px`)), Pf(document.documentElement, "overflow", "hidden"));+}+function Nee() {+ let e = Pf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = B(e);+ t = $g(r) ? r : e_(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 = fg();+ 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)) {+ if (!t || t === document.documentElement || t === document.body) {+ e.preventDefault();+ return;+ }+ t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();+ }+ }, s = (e) => {+ let t = B(e), n = e.relatedTarget;+ n && Ch(n) ? (n.focus({ preventScroll: !0 }), Gb(n, Ch(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 = Rf(), n = t != null && Ch(t);+ c.call(this, {+ ...e,+ preventScroll: !0+ }), (!e || !e.preventScroll) && Gb(this, n);+ }+ });+ let l = um(Nf(document, "touchstart", r, {+ passive: !1,+ capture: !0+ }), Nf(document, "touchmove", o, {+ passive: !1,+ capture: !0+ }), Nf(document, "blur", s, !0));+ return () => {+ e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {+ configurable: !0,+ writable: !0,+ value: c+ });+ };+}+function Gb(e, t) {+ t || !Vb ? Kb(e) : Vb.addEventListener("resize", () => Kb(e), { once: !0 });+}+function Kb(e) {+ let t = document.scrollingElement || document.documentElement, n = e;+ for (; n && n !== t;) {+ let e = e_(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;+ Vb && (n = Math.min(n, Vb.offsetTop + Vb.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)),+ behavior: "smooth"+ });+ }+ }+ n = e.parentElement;+ }+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs+function Pee(e, t, n) {+ let { overlayProps: r, underlayProps: i } = Bb({+ ...e,+ isOpen: t.isOpen,+ onClose: t.close+ }, n);+ return Wb({ isDisabled: !t.isOpen }), $v(), (0, E.useEffect)(() => {+ if (t.isOpen && n.current) return L_([n.current], { shouldUseInert: !0 });+ }, [t.isOpen, n]), {+ modalProps: H(r),+ underlayProps: i+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs+var qb = {+ top: "top",+ bottom: "top",+ left: "left",+ right: "left"+}, Jb = {+ top: "bottom",+ bottom: "top",+ left: "right",+ right: "left"+}, Fee = {+ top: "left",+ left: "top"+}, Yb = {+ top: "height",+ left: "width"+}, Xb = {+ width: "totalWidth",+ height: "totalHeight"+}, Zb = {}, Iee = () => typeof document < "u" ? window.visualViewport : null;+function Qb(e, t) {+ let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;+ if (e.tagName === "BODY" || e.tagName === "HTML") {+ let l = document.documentElement;+ i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));+ } else ({width: n, height: r, top: o, left: s} = ix(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return up() && (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,+ totalHeight: a,+ scroll: c,+ top: o,+ left: s+ };+}+function Lee(e) {+ return {+ top: e.scrollTop,+ left: e.scrollLeft,+ width: e.scrollWidth,+ height: e.scrollHeight+ };+}+function $b(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[Yb[e]], l = o[e] + r.scroll[qb[e]] + a, u = o[e] + r.scroll[qb[e]] + c - a, d = t - s + r.scroll[qb[e]] + o[e] - r[qb[e]], f = t - s + n + r.scroll[qb[e]] + o[e] - r[qb[e]];+ return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;+}+function Ree(e) {+ let t = window.getComputedStyle(e);+ return {+ top: parseInt(t.marginTop, 10) || 0,+ bottom: parseInt(t.marginBottom, 10) || 0,+ left: parseInt(t.marginLeft, 10) || 0,+ right: parseInt(t.marginRight, 10) || 0+ };+}+function ex(e) {+ if (Zb[e]) return Zb[e];+ let [t, n] = e.split(" "), r = qb[t] || "right", i = Fee[r];+ qb[n] || (n = "center");+ let a = Yb[r], o = Yb[i];+ return Zb[e] = {+ placement: t,+ crossPlacement: n,+ axis: r,+ crossAxis: i,+ size: a,+ crossSize: o+ }, Zb[e];+}+function tx(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] = k_(_[m], v, y), d === p) {+ let t = s ? u[h] : u[Xb[h]];+ _[Jb[p]] = Math.floor(t - e[p] + i);+ } else _[p] = Math.floor(e[p] + e[h] + i);+ return _;+}+function zee(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[Xb.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 nx(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[Jb[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[Jb[l]] - i);+}+function Bee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = ex(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = tx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = nx(s, l, t, i, a + u, v, c, g);+ if (o && n[y] > E) {+ let e = ex(`${Jb[S]} ${C}`), r = tx(t, s, n, e, u, d, l, f, m, h, c);+ nx(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 = $b(b, w[b], n[x], s, c, a, l);+ w[b] += O;+ let k = zee(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = tx(t, s, n, v, T, d, l, f, m, h, c), O = $b(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[qb[b]], M = j + .5 * t[x], N = m / 2 + h, P = qb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;+ A[b] = k_(k_(M, t[b] + m / 2 - (w[b] + i[qb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[qb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let I = S === "left" || S === "top" ? n[y] : 0, ee = {+ x: S === "top" || S === "bottom" ? j : I,+ y: S === "left" || S === "right" ? j : I+ };+ return {+ position: w,+ maxHeight: k,+ arrowOffsetLeft: A.left,+ arrowOffsetTop: A.top,+ placement: S,+ triggerAnchorPoint: ee+ };+}+function Vee(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 = Iee(), h = r instanceof HTMLElement ? ox(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ix(n, !1, p) : ax(n, h, !1, p);+ if (!g) {+ let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);+ y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;+ }+ let b = ix(r, !0), x = Ree(r);+ b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);+ let S = Lee(i), C = Qb(s, m), w = Qb(h, m), T;+ if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {+ let e = rx(h, !1);+ T = {+ top: -(e.top - C.top),+ left: -(e.left - C.left),+ width: 0,+ height: 0+ };+ } else T = (s.tagName === "BODY" || s.tagName === "HTML") && g ? {+ top: 0,+ left: 0,+ width: 0,+ height: 0+ } : ax(s, h, !1);+ let E = Lf(s, h);+ return Bee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+}+function rx(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,+ left: r,+ width: i,+ height: a+ };+}+function ix(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || rx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+ return {+ top: r + s - l,+ left: i + c - u,+ width: a,+ height: o+ };+}+function ax(e, t, n, r) {+ let i = window.getComputedStyle(e), a;+ if (i.position === "fixed") a = r || rx(e, n);+ else {+ a = ix(e, n, r);+ let i = ix(t, n), o = window.getComputedStyle(t);+ i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;+ }+ return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;+}+function ox(e) {+ let t = e.offsetParent;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !sx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !sx(t);) t = t.parentElement;+ return t || document.documentElement;+}+function sx(e) {+ let t = window.getComputedStyle(e);+ return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs+var cx = typeof document < "u" ? window.visualViewport : null;+function lx(e) {+ let { direction: t } = Rh(), { 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, E.useState)(null), x = [+ p,+ s,+ i.current,+ r.current,+ a?.current,+ o.current,+ c,+ l,+ u,+ d,+ f,+ m,+ t,+ g,+ _,+ n+ ], S = (0, E.useRef)(cx?.scale);+ (0, E.useEffect)(() => {+ m && (S.current = cx?.scale);+ }, [m]);+ let C = (0, E.useCallback)(() => {+ if (p === !1 || !m || !i.current || !r.current || !u || cx?.scale !== S.current) return;+ let e = null;+ if (o.current && Bf(o.current)) {+ let t = Rf()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ e = {+ type: "top",+ offset: (t?.top ?? 0) - n.top+ }, e.offset > n.height / 2 && (e.type = "bottom", e.offset = (t?.bottom ?? 0) - n.bottom);+ }+ 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 = Vee({+ placement: dx(s, t),+ overlayNode: i.current,+ targetNode: r.current,+ scrollNode: o.current || i.current,+ padding: c,+ shouldFlip: l,+ boundaryElement: u,+ offset: d,+ crossOffset: f,+ maxHeight: g,+ arrowSize: n ?? (a?.current ? rx(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 = Rf();+ 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);+ V(C, x), ux(C), nb({+ ref: i,+ onResize: C+ }), nb({+ ref: r,+ onResize: C+ });+ let w = (0, E.useRef)(!1);+ V(() => {+ let e, t = () => {+ w.current = !0, clearTimeout(e), e = setTimeout(() => {+ w.current = !1;+ }, 500), C();+ }, n = () => {+ w.current && t();+ };+ cx?.addEventListener("resize", t), cx?.addEventListener("scroll", n);+ let r = Nf(zf(window), "scroll", n);+ return () => {+ cx?.removeEventListener("resize", t), cx?.removeEventListener("scroll", n), r();+ };+ }, [C]);+ let T = (0, E.useCallback)(() => {+ w.current || h?.();+ }, [h, w]);+ return Pv({+ triggerRef: r,+ isOpen: m,+ onClose: h && T+ }), {+ overlayProps: { style: {+ position: y ? "absolute" : "fixed",+ top: y ? void 0 : 0,+ left: y ? void 0 : 0,+ zIndex: 1e5,+ ...y?.position,+ maxHeight: y?.maxHeight ?? "100vh"+ } },+ placement: y?.placement ?? null,+ triggerAnchorPoint: y?.triggerAnchorPoint ?? null,+ arrowProps: {+ "aria-hidden": "true",+ role: "presentation",+ style: {+ left: y?.arrowOffsetLeft,+ top: y?.arrowOffsetTop+ }+ },+ updatePosition: C+ };+}+function ux(e) {+ V(() => (window.addEventListener("resize", e, !1), () => {+ window.removeEventListener("resize", e, !1);+ }), [e]);+}+function dx(e, t) {+ return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");+}+//#endregion+//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs+function fx(e, t) {+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Bb({+ isOpen: t.isOpen,+ onClose: t.close,+ shouldCloseOnBlur: !0,+ isDismissable: !a || l,+ isKeyboardDismissDisabled: o,+ shouldCloseOnInteractOutside: s+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = lx({+ ...c,+ targetRef: n,+ overlayRef: r,+ isOpen: t.isOpen,+ onClose: a && !l ? t.close : null,+ getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)+ });+ Wb({ isDisabled: a || !t.isOpen }), (0, E.useEffect)(() => {+ if (t.isOpen && r.current) return a ? R_(i?.current ?? r.current) : L_([i?.current ?? r.current], { shouldUseInert: !0 });+ }, [+ a,+ t.isOpen,+ r,+ i+ ]);+ let { focusWithinProps: g } = E_(e);+ return {+ popoverProps: H(u, f, g),+ arrowProps: p,+ underlayProps: d,+ placement: m,+ triggerAnchorPoint: h+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/radio/utils.mjs+var px = /* @__PURE__ */ new WeakMap();+//#endregion+//#region node_modules/react-aria/dist/private/radio/useRadio.mjs+function mx(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: _ } = bg({+ onPressStart: s,+ onPressEnd: c,+ onPressChange: l,+ onPress: u,+ onPressUp: d,+ onClick: f,+ isDisabled: p+ }), { pressProps: v, isPressed: y } = bg({+ onPressStart: s,+ onPressEnd: c,+ onPressChange: l,+ onPressUp: d,+ onClick: f,+ isDisabled: p,+ onPress(e) {+ u?.(e), t.setSelectedValue(r), n.current?.focus();+ }+ }), { focusableProps: b } = Hm(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = ag(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: D, errorMessageId: O, validationBehavior: k } = px.get(t);+ o_(n, t.defaultSelectedValue, t.setSelectedValue), s_({ validationBehavior: k }, t, n);+ let A = d_();+ return {+ labelProps: H(v, (0, E.useMemo)(() => ({+ onClick: (e) => e.preventDefault(),+ onMouseDown: (e) => e.preventDefault()+ }), [])),+ inputProps: H(S, {+ ...x,+ type: "radio",+ name: w,+ form: T,+ tabIndex: C,+ disabled: p,+ required: t.isRequired && k === "native",+ checked: m,+ value: r,+ onChange: h,+ "aria-describedby": [+ e["aria-describedby"],+ A.id,+ t.isInvalid ? O : null,+ D+ ].filter(Boolean).join(" ") || void 0+ }),+ descriptionProps: A,+ isDisabled: p,+ isSelected: m,+ isPressed: _ || y+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs+function hx(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Rh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = T_({+ ...e,+ labelElementType: "span",+ isInvalid: t.isInvalid,+ errorMessage: e.errorMessage || d+ }), _ = ag(e, { labelable: !0 }), { focusWithinProps: v } = E_({+ onBlurWithin(n) {+ e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);+ },+ onFocusWithin: e.onFocus,+ onFocusWithinChange: e.onFocusChange+ });+ function y(e, n) {+ let r = Gg(n.currentTarget, {+ from: B(n),+ accept: (e) => e instanceof Of(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 } = Lm({+ shortcuts: {+ ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),+ ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),+ ArrowDown: (e) => y("next", e),+ ArrowUp: (e) => y("prev", e)+ },+ allowRepeats: !0+ }), x = gm(n);+ return px.set(t, {+ name: x,+ form: r,+ descriptionId: h.id,+ errorMessageId: g.id,+ validationBehavior: c+ }), {+ radioGroupProps: H(_, {+ role: "radiogroup",+ ...b,+ "aria-invalid": t.isInvalid || void 0,+ "aria-errormessage": e["aria-errormessage"],+ "aria-readonly": i || void 0,+ "aria-required": a || void 0,+ "aria-disabled": o || void 0,+ "aria-orientation": s,+ ...m,+ ...v+ }),+ labelProps: p,+ descriptionProps: h,+ errorMessageProps: g,+ isInvalid: u,+ validationErrors: d,+ validationDetails: f+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/select/useSelect.mjs+var gx = /* @__PURE__ */ new WeakMap();+function _x(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = qv({+ usage: "search",+ sensitivity: "base"+ }), u = (0, E.useMemo)(() => r || new J_(t.collection, t.disabledKeys, n, l), [+ r,+ t.collection,+ t.disabledKeys,+ l,+ n+ ]), { menuTriggerProps: d, menuProps: f } = xee({+ isDisabled: i,+ type: "listbox"+ }, t, n), { keyboardProps: p } = Lm({+ shortcuts: {+ ArrowLeft: () => {+ if (t.selectionManager.selectionMode === "multiple") return !1;+ let e = t.selectedKey == null ? u.getFirstKey?.() : u.getKeyAbove?.(t.selectedKey);+ e != null && t.setSelectedKey(e);+ },+ ArrowRight: () => {+ if (t.selectionManager.selectionMode === "multiple") return !1;+ let e = t.selectedKey == null ? u.getFirstKey?.() : u.getKeyBelow?.(t.selectedKey);+ e != null && t.setSelectedKey(e);+ }+ },+ allowRepeats: !0,+ onKeyDown: e.onKeyDown,+ onKeyUp: e.onKeyUp+ }), { typeSelectProps: m } = Iv({+ keyboardDelegate: u,+ selectionManager: t.selectionManager,+ onTypeSelect(e) {+ t.setSelectedKey(e);+ }+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = T_({+ ...e,+ labelElementType: "span",+ isInvalid: h,+ errorMessage: e.errorMessage || g+ });+ t.selectionManager.selectionMode === "multiple" && (m = {});+ let S = ag(e, { labelable: !0 }), C = H(m, d, y), w = gm();+ return gx.set(t, {+ isDisabled: i,+ isRequired: a,+ name: o,+ form: s,+ validationBehavior: c+ }), {+ labelProps: {+ ...v,+ onClick: () => {+ e.isDisabled || (n.current?.focus(), $p("keyboard"));+ }+ },+ triggerProps: H(S, {+ ...C,+ isDisabled: i,+ onKeyDown: um(C.onKeyDown, p.onKeyDown),+ onKeyUp: p.onKeyUp,+ "aria-labelledby": [+ w,+ C["aria-labelledby"],+ C["aria-label"] && !C["aria-labelledby"] ? C.id : null+ ].filter(Boolean).join(" "),+ onFocus(n) {+ t.isFocused || (e.onFocus && e.onFocus(n), e.onFocusChange && e.onFocusChange(!0), t.setFocused(!0));+ },+ onBlur(n) {+ t.isOpen || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ }+ }),+ valueProps: { id: w },+ menuProps: {+ ...f,+ onAction: void 0,+ autoFocus: t.focusStrategy || !0,+ shouldSelectOnPressUp: !0,+ shouldFocusOnHover: !0,+ disallowEmptySelection: !0,+ linkBehavior: "selection",+ onBlur: (n) => {+ Lf(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(" ")+ },+ descriptionProps: b,+ errorMessageProps: x,+ isInvalid: h,+ validationErrors: g,+ validationDetails: _,+ hiddenSelectProps: {+ isDisabled: i,+ name: o,+ label: e.label,+ state: t,+ triggerRef: n,+ form: s+ }+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs+function vx(e, t, n) {+ let r = gx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = j_({ style: {+ position: "fixed",+ top: 0,+ left: 0+ } });+ o_(e.selectRef, t.defaultValue, t.setValue), s_({+ validationBehavior: c,+ focus: () => n.current?.focus()+ }, t, e.selectRef);+ let d = t.setValue, f = (0, E.useCallback)((e) => {+ let t = B(e);+ t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);+ }, [d]);+ return {+ containerProps: {+ ...u,+ "aria-hidden": !0,+ "data-react-aria-prevent-focus": !0,+ "data-a11y-ignore": "aria-hidden-focus"+ },+ inputProps: { style: { display: "none" } },+ selectProps: {+ tabIndex: -1,+ autoComplete: i,+ disabled: s,+ multiple: t.selectionManager.selectionMode === "multiple",+ required: c === "native" && l,+ name: a,+ form: o,+ value: t.value ?? "",+ onChange: f,+ onInput: f+ }+ };+}+function yx(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, E.useRef)(null), c = (0, E.useRef)(null), { containerProps: l, selectProps: u } = vx({+ ...e,+ selectRef: t.collection.size <= 300 ? s : c+ }, t, n), d = Array.isArray(t.value) ? t.value : [t.value];+ if (t.collection.size <= 300) return /*#__PURE__*/ E.createElement("div", {+ ...l,+ "data-testid": "hidden-select-container"+ }, /*#__PURE__*/ E.createElement("label", null, r, /*#__PURE__*/ E.createElement("select", {+ ...u,+ ref: s+ }, /*#__PURE__*/ E.createElement("option", {+ value: "",+ label: "\xA0"+ }, "\xA0"), [...t.collection.getKeys()].map((e) => {+ let n = t.collection.getItem(e);+ if (n && n.type === "item") return /*#__PURE__*/ E.createElement("option", {+ key: n.key,+ value: n.key+ }, n.textValue);+ }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ E.createElement("option", {+ key: t,+ value: e ?? ""+ })))));+ if (i) {+ let { validationBehavior: e } = gx.get(t) || {};+ d.length === 0 && (d = [null]);+ let n = d.map((t, n) => {+ let r = {+ type: "hidden",+ autoComplete: u.autoComplete,+ name: i,+ form: a,+ disabled: o,+ value: t ?? ""+ };+ return e === "native" ? /*#__PURE__*/ E.createElement("input", {+ key: n,+ ...r,+ ref: n === 0 ? c : null,+ style: { display: "none" },+ type: "text",+ required: n === 0 && u.required,+ onChange: () => {}+ }) : /*#__PURE__*/ E.createElement("input", {+ key: n,+ ...r,+ ref: n === 0 ? c : null+ });+ });+ return /*#__PURE__*/ E.createElement(E.Fragment, null, n);+ }+ return null;+}+//#endregion+//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs+function bx(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = S_(e, t, n);+ return {+ labelProps: r,+ inputProps: {+ ...i,+ role: "switch",+ checked: a+ },+ isSelected: a,+ ...o+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs+var xx = 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 Sx(e.layout) : new q_(e.ref)), this.focusMode = e.focusMode ?? "row";+ }+ isCell(e) {+ return e.type === "cell";+ }+ isRow(e) {+ return e.type === "row" || e.type === "item";+ }+ isDisabled(e) {+ return this.disabledBehavior === "all" && (e.props?.isDisabled || this.disabledKeys.has(e.key)) && e.props?.disabledBehavior !== "selection";+ }+ findPreviousKey(e, t, n = !1) {+ let r = e == null ? this.collection.getLastKey() : this.collection.getKeyBefore(e);+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (!e) return null;+ if ((n || !this.isDisabled(e)) && (!t || t(e))) return r;+ r = this.collection.getKeyBefore(r);+ }+ return null;+ }+ findNextKey(e, t, n = !1) {+ let r = e == null ? this.collection.getFirstKey() : this.collection.getKeyAfter(e);+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (!e) return null;+ if ((n || !this.isDisabled(e)) && (!t || t(e))) return r;+ if (r = this.collection.getKeyAfter(r), r == null) return null;+ }+ return null;+ }+ getKeyForItemInRowByIndex(e, t = 0) {+ if (t < 0) return null;+ let n = this.collection.getItem(e);+ if (!n) return null;+ let r = 0;+ for (let e of zv(n, this.collection)) {+ if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;+ r++;+ }+ return null;+ }+ getKeyBelow(e, t) {+ let n = e, r = this.collection.getItem(n);+ if (!r || (this.isCell(r) && (n = r.parentKey ?? null), n == null)) return null;+ if (n = this.findNextKey(n, (e) => e.type === "item", t?.includeDisabled), n != null) {+ if (this.isCell(r)) {+ let e = r.colIndex ? r.colIndex : r.index;+ return this.getKeyForItemInRowByIndex(n, e);+ }+ if (this.focusMode === "row") return n;+ }+ return null;+ }+ getKeyAbove(e, t) {+ let n = e, r = this.collection.getItem(n);+ if (!r || (this.isCell(r) && (n = r.parentKey ?? null), n == null)) return null;+ if (n = this.findPreviousKey(n, (e) => e.type === "item", t?.includeDisabled), n != null) {+ if (this.isCell(r)) {+ let e = r.colIndex ? r.colIndex : r.index;+ return this.getKeyForItemInRowByIndex(n, e);+ }+ if (this.focusMode === "row") return n;+ }+ return null;+ }+ getKeyRightOf(e) {+ let t = this.collection.getItem(e);+ if (!t) return null;+ if (this.isRow(t)) {+ let e = zv(t, this.collection);+ return (this.direction === "rtl" ? Hv(e)?.key : Bv(e)?.key) ?? null;+ }+ if (this.isCell(t) && t.parentKey != null) {+ let n = this.collection.getItem(t.parentKey);+ if (!n) return null;+ let r = zv(n, this.collection), i = (this.direction === "rtl" ? Vv(r, t.index - 1) : Vv(r, t.index + 1)) ?? null;+ return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;+ }+ return null;+ }+ getKeyLeftOf(e) {+ let t = this.collection.getItem(e);+ if (!t) return null;+ if (this.isRow(t)) {+ let e = zv(t, this.collection);+ return (this.direction === "rtl" ? Bv(e)?.key : Hv(e)?.key) ?? null;+ }+ if (this.isCell(t) && t.parentKey != null) {+ let n = this.collection.getItem(t.parentKey);+ if (!n) return null;+ let r = zv(n, this.collection), i = (this.direction === "rtl" ? Vv(r, t.index + 1) : Vv(r, t.index - 1)) ?? null;+ return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;+ }+ return null;+ }+ getFirstKey(e, t) {+ let n = e ?? null, r;+ if (n != null) {+ if (r = this.collection.getItem(n), !r) return null;+ if (this.isCell(r) && !t && r.parentKey != null) {+ let e = this.collection.getItem(r.parentKey);+ return e ? Bv(zv(e, this.collection))?.key ?? null : null;+ }+ }+ if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {+ let e = this.collection.getItem(n);+ if (!e) return null;+ n = Bv(zv(e, this.collection))?.key ?? null;+ }+ return n;+ }+ getLastKey(e, t) {+ let n = e ?? null, r;+ if (n != null) {+ if (r = this.collection.getItem(n), !r) return null;+ if (this.isCell(r) && !t && r.parentKey != null) {+ let e = this.collection.getItem(r.parentKey);+ return e ? Hv(zv(e, this.collection))?.key ?? null : null;+ }+ }+ if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {+ let e = this.collection.getItem(n);+ if (!e) return null;+ n = Hv(zv(e, this.collection))?.key ?? null;+ }+ return n;+ }+ getKeyPageAbove(e) {+ let t = e, n = this.layoutDelegate.getItemRect(t);+ if (!n) return null;+ let r = Math.max(0, n.y + n.height - this.layoutDelegate.getVisibleRect().height);+ for (; n && n.y > r && t != null && (t = this.getKeyAbove(t) ?? null, t != null);) n = this.layoutDelegate.getItemRect(t);+ return t;+ }+ getKeyPageBelow(e) {+ let t = e, n = this.layoutDelegate.getItemRect(t);+ if (!n) return null;+ let r = this.layoutDelegate.getVisibleRect().height, i = Math.min(this.layoutDelegate.getContentSize().height, n.y + r);+ for (; n && n.y + n.height < i;) {+ let e = this.getKeyBelow(t);+ if (e == null) break;+ n = this.layoutDelegate.getItemRect(e), t = e;+ }+ return t;+ }+ getKeyForSearch(e, t) {+ let n = t ?? null;+ if (!this.collator) return null;+ let r = this.collection;+ if (n = t ?? this.getFirstKey(), n == null) return null;+ let i = r.getItem(n);+ if (!i) return null;+ i.type === "cell" && (n = i.parentKey ?? null);+ let a = !1;+ for (; n != null;) {+ let t = r.getItem(n);+ if (!t) return null;+ if (t.textValue) {+ let n = t.textValue.slice(0, e.length);+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Bv(zv(t, this.collection))?.key ?? null : t.key;+ }+ n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);+ }+ return null;+ }+}, Sx = class {+ constructor(e) {+ this.layout = e;+ }+ getContentSize() {+ return this.layout.getContentSize();+ }+ getItemRect(e) {+ return this.layout.getLayoutInfo(e)?.rect || null;+ }+ getVisibleRect() {+ return this.layout.virtualizer.visibleRect;+ }+}, Cx = /* @__PURE__ */ new WeakMap();+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGrid.mjs+function wx(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 = qv({+ usage: "search",+ sensitivity: "base"+ }), { direction: g } = Rh(), _ = t.selectionManager.disabledBehavior, v = (0, E.useMemo)(() => a || new xx({+ collection: t.collection,+ disabledKeys: t.disabledKeys,+ disabledBehavior: _,+ ref: n,+ direction: g,+ collator: h,+ focusMode: o+ }), [+ a,+ t.collection,+ t.disabledKeys,+ _,+ n,+ g,+ h,+ o+ ]), { collectionProps: y } = Rv({+ ref: n,+ selectionManager: m,+ keyboardDelegate: v,+ isVirtualized: r,+ scrollRef: s,+ disallowTypeAhead: i,+ escapeKeyBehavior: d+ }), b = gm(e.id);+ Cx.set(t, {+ keyboardDelegate: v,+ actions: {+ onRowAction: l,+ onCellAction: u+ },+ shouldSelectOnPressUp: f,+ keyboardNavigationBehavior: p+ });+ let x = kee({+ selectionManager: m,+ hasItemActions: !!(l || u)+ }), S = ag(e, { labelable: !0 }), C = (0, E.useCallback)((e) => {+ if (m.isFocused) {+ Lf(e.currentTarget, B(e)) || m.setFocused(!1);+ return;+ }+ Lf(e.currentTarget, B(e)) && m.setFocused(!0);+ }, [m]), w = (0, E.useMemo)(() => ({+ onBlur: y.onBlur,+ onFocus: C+ }), [C, y.onBlur]), T = Ky(n, { isDisabled: t.collection.size !== 0 }), D = H(S, {+ role: "grid",+ id: b,+ "aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0+ }, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), Dee({ getRowText: c }, t), { gridProps: D };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/utils.mjs+var Tx = /* @__PURE__ */ new WeakMap();+function Ex(e) {+ return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;+}+function Dx(e, t) {+ let n = Tx.get(e);+ if (!n) throw Error("Unknown grid");+ return `${n}-${Ex(t)}`;+}+function Ox(e, t, n) {+ let r = Tx.get(e);+ if (!r) throw Error("Unknown grid");+ return `${r}-${Ex(t)}-${Ex(n)}`;+}+function kx(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => Ox(e, t, n)).join(" ");+}+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs+var Ax = {};+Ax = {+ 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: "طي",+ columnSize: (e) => `${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,+ descending: "تنازلي",+ descendingSort: (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{646}\u{627}\u{632}\u{644}\u{64A}`,+ expand: "تمديد",+ resizerDescription: "اضغط على مفتاح Enter لبدء تغيير الحجم",+ select: "تحديد",+ selectAll: "تحديد الكل",+ sortable: "عمود قابل للترتيب"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs+var jx = {};+jx = {+ 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: "Свиване",+ columnSize: (e) => `${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}`,+ descending: "низходящ",+ descendingSort: (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{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,+ expand: "Разширяване",+ resizerDescription: "Натиснете „Enter“, за да започнете да преоразмерявате",+ select: "Изберете",+ selectAll: "Изберете всичко",+ sortable: "сортираща колона"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs+var Mx = {};+Mx = {+ ascending: "vzestupně",+ ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,+ collapse: "Sbalit",+ columnSize: (e) => `${e.value} pixel\u{16F}`,+ descending: "sestupně",+ descendingSort: (e) => `\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,+ expand: "Roztáhnout",+ resizerDescription: "Stisknutím klávesy Enter začnete měnit velikost",+ select: "Vybrat",+ selectAll: "Vybrat vše",+ sortable: "sloupec s možností řazení"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs+var Nx = {};+Nx = {+ ascending: "stigende",+ ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,+ collapse: "Skjul",+ columnSize: (e) => `${e.value} pixels`,+ descending: "faldende",+ descendingSort: (e) => `sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,+ expand: "Udvid",+ resizerDescription: "Tryk på Enter for at ændre størrelse",+ select: "Vælg",+ selectAll: "Vælg alle",+ sortable: "sorterbar kolonne"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs+var Px = {};+Px = {+ ascending: "aufsteigend",+ ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,+ collapse: "Reduzieren",+ columnSize: (e) => `${e.value} Pixel`,+ descending: "absteigend",+ descendingSort: (e) => `sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,+ expand: "Erweitern",+ resizerDescription: "Eingabetaste zum Starten der Größenänderung drücken",+ select: "Auswählen",+ selectAll: "Alles auswählen",+ sortable: "sortierbare Spalte"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs+var Fx = {};+Fx = {+ 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: "Σύμπτυξη",+ columnSize: (e) => `${e.value} pixel`,+ descending: "φθίνουσα",+ descendingSort: (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{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,+ expand: "Ανάπτυξη",+ resizerDescription: "Πατήστε Enter για έναρξη της αλλαγής μεγέθους",+ select: "Επιλογή",+ selectAll: "Επιλογή όλων",+ sortable: "Στήλη διαλογής"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs+var Ix = {};+Ix = {+ select: "Select",+ selectAll: "Select All",+ sortable: "sortable column",+ ascending: "ascending",+ descending: "descending",+ ascendingSort: (e) => `sorted by column ${e.columnName} in ascending order`,+ descendingSort: (e) => `sorted by column ${e.columnName} in descending order`,+ columnSize: (e) => `${e.value} pixels`,+ resizerDescription: "Press Enter to start resizing",+ expand: "Expand",+ collapse: "Collapse"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs+var Lx = {};+Lx = {+ ascending: "ascendente",+ ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,+ collapse: "Contraer",+ columnSize: (e) => `${e.value} p\xedxeles`,+ descending: "descendente",+ descendingSort: (e) => `ordenado por columna ${e.columnName} en orden descendente`,+ expand: "Ampliar",+ resizerDescription: "Pulse Intro para empezar a redimensionar",+ select: "Seleccionar",+ selectAll: "Seleccionar todos",+ sortable: "columna ordenable"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs+var Rx = {};+Rx = {+ ascending: "tõusev järjestus",+ ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,+ collapse: "Ahenda",+ columnSize: (e) => `${e.value} pikslit`,+ descending: "laskuv järjestus",+ descendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,+ expand: "Laienda",+ resizerDescription: "Suuruse muutmise alustamiseks vajutage klahvi Enter",+ select: "Vali",+ selectAll: "Vali kõik",+ sortable: "sorditav veerg"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs+var zx = {};+zx = {+ ascending: "nouseva",+ ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,+ collapse: "Pienennä",+ columnSize: (e) => `${e.value} pikseli\xe4`,+ descending: "laskeva",+ descendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,+ expand: "Laajenna",+ resizerDescription: "Aloita koon muutos painamalla Enter-näppäintä",+ select: "Valitse",+ selectAll: "Valitse kaikki",+ sortable: "lajiteltava sarake"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs+var Bx = {};+Bx = {+ ascending: "croissant",+ ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,+ collapse: "Réduire",+ columnSize: (e) => `${e.value}\xa0pixels`,+ descending: "décroissant",+ descendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,+ expand: "Développer",+ resizerDescription: "Appuyez sur Entrée pour commencer le redimensionnement.",+ select: "Sélectionner",+ selectAll: "Sélectionner tout",+ sortable: "colonne triable"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs+var Vx = {};+Vx = {+ 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: "כווץ",+ columnSize: (e) => `${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,+ descending: "יורד",+ descendingSort: (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{5D9}\u{5D5}\u{5E8}\u{5D3}`,+ expand: "הרחב",+ resizerDescription: "הקש Enter כדי לשנות את הגודל",+ select: "בחר",+ selectAll: "בחר הכול",+ sortable: "עמודה שניתן למיין"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs+var Hx = {};+Hx = {+ ascending: "rastući",+ ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,+ collapse: "Sažmi",+ columnSize: (e) => `${e.value} piksela`,+ descending: "padajući",+ descendingSort: (e) => `razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,+ expand: "Proširi",+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",+ select: "Odaberite",+ selectAll: "Odaberite sve",+ sortable: "stupac koji se može razvrstati"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs+var Ux = {};+Ux = {+ ascending: "növekvő",+ ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,+ collapse: "Összecsukás",+ columnSize: (e) => `${e.value} k\xe9ppont`,+ descending: "csökkenő",+ descendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,+ expand: "Kibontás",+ resizerDescription: "Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",+ select: "Kijelölés",+ selectAll: "Összes kijelölése",+ sortable: "rendezendő oszlop"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs+var Wx = {};+Wx = {+ ascending: "crescente",+ ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,+ collapse: "Comprimi",+ columnSize: (e) => `${e.value} pixel`,+ descending: "decrescente",+ descendingSort: (e) => `in ordine decrescente in base alla colonna ${e.columnName}`,+ expand: "Espandi",+ resizerDescription: "Premi Invio per iniziare a ridimensionare",+ select: "Seleziona",+ selectAll: "Seleziona tutto",+ sortable: "colonna ordinabile"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs+var Gx = {};+Gx = {+ ascending: "昇順",+ ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,+ collapse: "折りたたむ",+ columnSize: (e) => `${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}`,+ descending: "降順",+ descendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,+ expand: "展開",+ resizerDescription: "Enter キーを押してサイズ変更を開始",+ select: "選択",+ selectAll: "すべて選択",+ sortable: "並べ替え可能な列"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs+var Kx = {};+Kx = {+ 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: "접기",+ columnSize: (e) => `${e.value} \u{D53D}\u{C140}`,+ descending: "내림차순",+ descendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,+ expand: "펼치기",+ resizerDescription: "크기 조정을 시작하려면 Enter를 누르세요.",+ select: "선택",+ selectAll: "모두 선택",+ sortable: "정렬 가능한 열"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs+var qx = {};+qx = {+ ascending: "didėjančia tvarka",+ ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,+ collapse: "Sutraukti",+ columnSize: (e) => `${e.value} piks.`,+ descending: "mažėjančia tvarka",+ descendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,+ expand: "Išskleisti",+ resizerDescription: "Paspauskite „Enter“, kad pradėtumėte keisti dydį",+ select: "Pasirinkti",+ selectAll: "Pasirinkti viską",+ sortable: "rikiuojamas stulpelis"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs+var Jx = {};+Jx = {+ 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",+ columnSize: (e) => `${e.value} pikse\u{13C}i`,+ descending: "dilstošā secībā",+ descendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,+ expand: "Izvērst",+ resizerDescription: "Nospiediet Enter, lai sāktu izmēru mainīšanu",+ select: "Atlasīt",+ selectAll: "Atlasīt visu",+ sortable: "kārtojamā kolonna"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs+var Yx = {};+Yx = {+ ascending: "stigende",+ ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,+ collapse: "Skjul",+ columnSize: (e) => `${e.value} piksler`,+ descending: "synkende",+ descendingSort: (e) => `sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,+ expand: "Utvid",+ resizerDescription: "Trykk på Enter for å starte størrelsesendring",+ select: "Velg",+ selectAll: "Velg alle",+ sortable: "kolonne som kan sorteres"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs+var Xx = {};+Xx = {+ ascending: "oplopend",+ ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,+ collapse: "Samenvouwen",+ columnSize: (e) => `${e.value} pixels`,+ descending: "aflopend",+ descendingSort: (e) => `gesorteerd in aflopende volgorde in kolom ${e.columnName}`,+ expand: "Uitvouwen",+ resizerDescription: "Druk op Enter om het formaat te wijzigen",+ select: "Selecteren",+ selectAll: "Alles selecteren",+ sortable: "sorteerbare kolom"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs+var Zx = {};+Zx = {+ ascending: "rosnąco",+ ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,+ collapse: "Zwiń",+ columnSize: (e) => `Liczba pikseli: ${e.value}`,+ descending: "malejąco",+ descendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,+ expand: "Rozwiń",+ resizerDescription: "Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",+ select: "Zaznacz",+ selectAll: "Zaznacz wszystko",+ sortable: "kolumna z możliwością sortowania"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs+var Qx = {};+Qx = {+ ascending: "crescente",+ ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,+ collapse: "Recolher",+ columnSize: (e) => `${e.value} pixels`,+ descending: "decrescente",+ descendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem decrescente`,+ expand: "Expandir",+ resizerDescription: "Pressione Enter para começar a redimensionar",+ select: "Selecionar",+ selectAll: "Selecionar tudo",+ sortable: "coluna classificável"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs+var $x = {};+$x = {+ ascending: "ascendente",+ ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,+ collapse: "Colapsar",+ columnSize: (e) => `${e.value} pixels`,+ descending: "descendente",+ descendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem descendente`,+ expand: "Expandir",+ resizerDescription: "Prima Enter para iniciar o redimensionamento",+ select: "Selecionar",+ selectAll: "Selecionar tudo",+ sortable: "Coluna ordenável"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs+var eS = {};+eS = {+ ascending: "crescătoare",+ ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,+ collapse: "Restrângeți",+ columnSize: (e) => `${e.value} pixeli`,+ descending: "descrescătoare",+ descendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,+ expand: "Extindeți",+ resizerDescription: "Apăsați pe Enter pentru a începe redimensionarea",+ select: "Selectare",+ selectAll: "Selectare totală",+ sortable: "coloană sortabilă"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs+var tS = {};+tS = {+ 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: "Свернуть",+ columnSize: (e) => `${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,+ descending: "убывание",+ descendingSort: (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{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,+ expand: "Развернуть",+ resizerDescription: "Нажмите клавишу Enter для начала изменения размеров",+ select: "Выбрать",+ selectAll: "Выбрать все",+ sortable: "сортируемый столбец"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs+var nS = {};+nS = {+ ascending: "vzostupne",+ ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,+ collapse: "Zbaliť",+ columnSize: (e) => `Po\u{10D}et pixelov: ${e.value}`,+ descending: "zostupne",+ descendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,+ expand: "Rozbaliť",+ resizerDescription: "Stlačením klávesu Enter začnete zmenu veľkosti",+ select: "Vybrať",+ selectAll: "Vybrať všetko",+ sortable: "zoraditeľný stĺpec"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs+var rS = {};+rS = {+ 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",+ columnSize: (e) => `${e.value} slikovnih pik`,+ descending: "padajoče",+ descendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,+ expand: "Razširi",+ resizerDescription: "Pritisnite tipko Enter da začnete spreminjati velikost",+ select: "Izberite",+ selectAll: "Izberite vse",+ sortable: "razvrstljivi stolpec"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs+var iS = {};+iS = {+ ascending: "rastući",+ ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,+ collapse: "Skupi",+ columnSize: (e) => `${e.value} piksela`,+ descending: "padajući",+ descendingSort: (e) => `sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,+ expand: "Proširi",+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",+ select: "Izaberite",+ selectAll: "Izaberite sve",+ sortable: "kolona koja se može sortirati"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs+var aS = {};+aS = {+ ascending: "stigande",+ ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,+ collapse: "Dölj",+ columnSize: (e) => `${e.value} pixlar`,+ descending: "fallande",+ descendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,+ expand: "Expandera",+ resizerDescription: "Tryck på Retur för att börja ändra storlek",+ select: "Markera",+ selectAll: "Markera allt",+ sortable: "sorterbar kolumn"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs+var oS = {};+oS = {+ ascending: "artan sırada",+ ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,+ collapse: "Daralt",+ columnSize: (e) => `${e.value} piksel`,+ descending: "azalan sırada",+ descendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,+ expand: "Genişlet",+ resizerDescription: "Yeniden boyutlandırmak için Enter'a basın",+ select: "Seç",+ selectAll: "Tümünü Seç",+ sortable: "Sıralanabilir sütun"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs+var sS = {};+sS = {+ 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: "Згорнути",+ columnSize: (e) => `${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,+ descending: "низхідний",+ descendingSort: (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{43D}\u{438}\u{437}\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}`,+ expand: "Розгорнути",+ resizerDescription: "Натисніть Enter, щоб почати зміну розміру",+ select: "Вибрати",+ selectAll: "Вибрати все",+ sortable: "сортувальний стовпець"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs+var cS = {};+cS = {+ ascending: "升序",+ ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,+ collapse: "折叠",+ columnSize: (e) => `${e.value} \u{50CF}\u{7D20}`,+ descending: "降序",+ descendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,+ expand: "扩展",+ resizerDescription: "按 Enter 开始调整大小。",+ select: "选择",+ selectAll: "全选",+ sortable: "可排序的列"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs+var lS = {};+lS = {+ 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: "收合",+ columnSize: (e) => `${e.value} \u{50CF}\u{7D20}`,+ descending: "遞減",+ descendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,+ expand: "展開",+ resizerDescription: "按 Enter 鍵以開始調整大小",+ select: "選取",+ selectAll: "全選",+ sortable: "可排序的欄"+};+//#endregion+//#region node_modules/react-aria/dist/private/table/intlStrings.mjs+var uS = {};+uS = {+ "ar-AE": Ax,+ "bg-BG": jx,+ "cs-CZ": Mx,+ "da-DK": Nx,+ "de-DE": Px,+ "el-GR": Fx,+ "en-US": Ix,+ "es-ES": Lx,+ "et-EE": Rx,+ "fi-FI": zx,+ "fr-FR": Bx,+ "he-IL": Vx,+ "hr-HR": Hx,+ "hu-HU": Ux,+ "it-IT": Wx,+ "ja-JP": Gx,+ "ko-KR": Kx,+ "lt-LT": qx,+ "lv-LV": Jx,+ "nb-NO": Yx,+ "nl-NL": Xx,+ "pl-PL": Zx,+ "pt-BR": Qx,+ "pt-PT": $x,+ "ro-RO": eS,+ "ru-RU": tS,+ "sk-SK": nS,+ "sl-SI": rS,+ "sr-SP": iS,+ "sv-SE": aS,+ "tr-TR": oS,+ "uk-UA": sS,+ "zh-CN": cS,+ "zh-TW": lS+};+//#endregion+//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs+var Hee = class extends xx {+ isCell(e) {+ return e.type === "cell" || e.type === "rowheader" || e.type === "column";+ }+ getKeyBelow(e, t) {+ let n = this.collection.getItem(e);+ if (!n) return null;+ if (n.type === "column") {+ let e = Bv(zv(n, this.collection));+ if (e) return e.key;+ let t = this.getFirstKey();+ return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);+ }+ return super.getKeyBelow(e, t);+ }+ getKeyAbove(e, t) {+ let n = this.collection.getItem(e);+ if (!n) return null;+ if (n.type === "column") {+ let e = n.parentKey == null ? null : this.collection.getItem(n.parentKey);+ return e && e.type === "column" ? e.key : null;+ }+ let r = super.getKeyAbove(e, t), i = r == null ? null : this.collection.getItem(r);+ return i && i.type !== "headerrow" ? r : this.isCell(n) ? this.collection.columns[n.index].key : this.collection.columns[0].key;+ }+ findNextColumnKey(e) {+ let t = this.findNextKey(e.key, (e) => e.type === "column");+ if (t != null) return t;+ let n = this.collection.headerRows[e.level];+ for (let e of zv(n, this.collection)) if (e.type === "column") return e.key;+ return null;+ }+ findPreviousColumnKey(e) {+ let t = this.findPreviousKey(e.key, (e) => e.type === "column");+ if (t != null) return t;+ let n = this.collection.headerRows[e.level], r = [...zv(n, this.collection)];+ for (let e = r.length - 1; e >= 0; e--) {+ let t = r[e];+ if (t.type === "column") return t.key;+ }+ return null;+ }+ getKeyRightOf(e) {+ let t = this.collection.getItem(e);+ return t ? t.type === "column" ? this.direction === "rtl" ? this.findPreviousColumnKey(t) : this.findNextColumnKey(t) : super.getKeyRightOf(e) : null;+ }+ getKeyLeftOf(e) {+ let t = this.collection.getItem(e);+ return t ? t.type === "column" ? this.direction === "rtl" ? this.findNextColumnKey(t) : this.findPreviousColumnKey(t) : super.getKeyLeftOf(e) : null;+ }+ getKeyForSearch(e, t) {+ if (!this.collator) return null;+ let n = this.collection, r = t ?? this.getFirstKey();+ if (r == null) return null;+ let i = n.getItem(r);+ i?.type === "cell" && (r = i.parentKey ?? null);+ let a = !1;+ for (; r != null;) {+ let o = n.getItem(r);+ if (!o) return null;+ if (o.textValue) {+ let t = o.textValue.slice(0, e.length);+ if (this.collator.compare(t, e) === 0) return o.key;+ }+ for (let r of zv(o, this.collection)) {+ let a = n.columns[r.index];+ if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {+ let a = r.textValue.slice(0, e.length);+ if (this.collator.compare(a, e) === 0) return (t == null ? i : n.getItem(t))?.type === "cell" ? r.key : o.key;+ }+ }+ r = this.getKeyBelow(r), r == null && !a && (r = this.getFirstKey(), a = !0);+ }+ return null;+ }+};+//#endregion+//#region node_modules/react-aria/dist/private/table/useTable.mjs+function Uee(e) {+ return e && e.__esModule ? e.default : e;+}+function Wee(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = qv({+ usage: "search",+ sensitivity: "base"+ }), { direction: c } = Rh(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new Hee({+ collection: t.collection,+ disabledKeys: t.disabledKeys,+ disabledBehavior: l,+ ref: n,+ direction: c,+ collator: s,+ layoutDelegate: a,+ layout: o+ }), [+ r,+ t.collection,+ t.disabledKeys,+ l,+ n,+ c,+ s,+ a,+ o+ ]), d = gm(e.id);+ Tx.set(t, d);+ let { gridProps: f } = wx({+ ...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 = Qh(Uee(uS), "@react-aria/table"), g = (0, E.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+ ]), _ = a_(g);+ return Qg(() => {+ g && Zg(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 dS(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Rh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Cx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, E.useRef)(null), h = () => {+ if (n.current) {+ let e = Gg(n.current);+ if (p === "child") {+ if (Bf(n.current) && n.current !== Rf(Df(n.current))) return;+ let r = t.selectionManager.childFocusStrategy === "last" ? fS(e) : e.firstChild();+ if (r) {+ lm(r);+ return;+ }+ }+ (m.current != null && r.key !== m.current || !Bf(n.current)) && lm(n.current);+ }+ }, { itemProps: g, isPressed: _ } = qy({+ selectionManager: t.selectionManager,+ key: r.key,+ ref: n,+ isVirtualized: i,+ focus: h,+ shouldSelectOnPressUp: s,+ onAction: d ? () => d(r.key) : c,+ isDisabled: t.collection.size === 0+ }), v = H(g, {+ role: "gridcell",+ onKeyDownCapture: f !== "tab" || o ? (e) => {+ let i = Rf(Df(n.current));+ if (!Lf(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = Gg(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) lm(t), r_(t, { containingElement: e_(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" ? (lm(n.current), r_(n.current, { containingElement: e_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : fS(a), t && (lm(t), r_(t, { containingElement: e_(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) lm(t), r_(t, { containingElement: e_(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" ? (lm(n.current), r_(n.current, { containingElement: e_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? fS(a) : a.firstChild(), t && (lm(t), r_(t, { containingElement: e_(n.current) })));+ }+ break;+ }+ case "ArrowUp":+ case "ArrowDown": !e.altKey && Lf(n.current, B(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ }+ } : void 0,+ onKeyDown: f === "tab" ? (e) => {+ let r = Rf(Df(n.current));+ if (!(!Lf(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {+ if (f === "tab" && B(e) !== n.current && e.key !== "Tab") {+ e.stopPropagation();+ return;+ }+ if (e.key === "Tab" && f === "tab") {+ let t = Gg(n.current, { tabbable: !0 });+ t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();+ }+ }+ } : void 0,+ "aria-colspan": r.colSpan,+ "aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,+ colSpan: i ? void 0 : r.colSpan,+ onFocus: (e) => {+ if (m.current = r.key, B(e) !== n.current) {+ Zp() || t.selectionManager.setFocusedKey(r.key);+ return;+ }+ p === "child" && e.relatedTarget && Lf(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && Rf(Df(n.current)) === n.current && h();+ });+ },+ ...p === "child" && f === "tab" ? { tabIndex: -1 } : {}+ });+ return i && (v["aria-colindex"] = (r.colIndex ?? r.index) + 1), s && v.tabIndex != null && v.onPointerDown == null && (v.onPointerDown = (e) => {+ let t = e.currentTarget, n = t.getAttribute("tabindex");+ t.removeAttribute("tabindex"), requestAnimationFrame(() => {+ n != null && t.setAttribute("tabindex", n);+ });+ }), {+ gridCellProps: v,+ isPressed: _+ };+}+function fS(e) {+ let t = null, n = null;+ do+ n = e.lastChild(), n && (t = n);+ while (n);+ return t;+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableCell.mjs+function Gee(e, t, n) {+ let { gridCellProps: r, isPressed: i } = dS(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Ox(t, e.node.parentKey, a)), {+ gridCellProps: r,+ isPressed: i+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs+function Kee(e) {+ return e && e.__esModule ? e.default : e;+}+function qee(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = dS({+ focusMode: "child",+ ...e+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = bg({+ isDisabled: !i || o,+ onPress() {+ t.sort(r.key);+ },+ ref: n+ }), { focusableProps: l } = Hm({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !fp() && (u = d ? f : "none");+ let p = Qh(Kee(uS), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && fp() && (m = `${m}, ${p.format(f)}`));+ let h = a_(m), g = t.collection.size === 0;+ return (0, E.useEffect)(() => {+ g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);+ }, [+ g,+ t.selectionManager,+ r.key+ ]), {+ columnHeaderProps: {+ ...H(l, a, s, h, g ? { tabIndex: -1 } : null),+ role: "columnheader",+ id: Dx(t, r.key),+ "aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,+ "aria-sort": u+ },+ isPressed: c+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs+function Jee(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 Yee(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Cx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = qy({+ selectionManager: t.selectionManager,+ key: r.key,+ ref: n,+ isVirtualized: i,+ shouldSelectOnPressUp: c || a,+ onAction: l || r?.props?.onAction ? um(r?.props?.onAction, l) : void 0,+ isDisabled: t.collection.size === 0+ }), f = t.selectionManager.isSelected(r.key), p = {+ role: "row",+ "aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : f,+ "aria-disabled": d.isDisabled || void 0,+ ...u+ };+ return i && (p["aria-rowindex"] = r.index + 1), {+ rowProps: p,+ ...d+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableRow.mjs+function Xee(e) {+ return e && e.__esModule ? e.default : e;+}+var pS = {+ expand: {+ ltr: "ArrowRight",+ rtl: "ArrowLeft"+ },+ collapse: {+ ltr: "ArrowLeft",+ rtl: "ArrowRight"+ }+};+function Zee(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Yee(e, t, n), { direction: s } = Rh();+ 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 = Qh(Xee(uS), "@react-aria/table"), u = Dh({+ "aria-label": c ? l.format("collapse") : l.format("expand"),+ "aria-labelledby": kx(t, r.key)+ }), d = {}, f = {};+ if (t.treeColumn != null) {+ let e = t.collection.getItem(r.key);+ if (e != null) {+ let n = mS(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 = mS(t.collection, a);+ for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);+ d = {+ onKeyDown: (n) => {+ n.key === pS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === pS.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,+ "aria-posinset": e.index - (c ? 0 : t.collection.columnCount) + 1,+ "aria-setsize": l.index - (c ? 0 : t.collection.columnCount) + 1+ }, f = {+ isDisabled: o.isDisabled,+ onPress: () => {+ o.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));+ },+ excludeFromTabOrder: !0,+ preventFocusOnPress: !0,+ "data-react-aria-prevent-focus": !0,+ ...u+ };+ }+ }+ let p = xp(r.props), m = o.hasAction ? p : {};+ return {+ rowProps: {+ ...H(a, d, m),+ "aria-labelledby": kx(t, r.key)+ },+ expandButtonProps: f,+ ...o+ };+}+function mS(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 Qee() {+ return { rowGroupProps: { role: "rowgroup" } };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs+function hS() {+ return Qee();+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs+function $ee(e) {+ return e && e.__esModule ? e.default : e;+}+function ete(e, t) {+ let { key: n } = e, { checkboxProps: r } = Zy(e, t);+ return { checkboxProps: {+ ...r,+ "aria-labelledby": `${r.id} ${kx(t, n)}`+ } };+}+function tte(e) {+ let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;+ return { checkboxProps: {+ "aria-label": Qh($ee(uS), "@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,+ onChange: () => e.selectionManager.toggleSelectAll()+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/utils.mjs+var gS = /* @__PURE__ */ new WeakMap();+function _S(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${gS.get(e)}-${n}-${t}`) : "";+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/useTab.mjs+function nte(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 } = qy({+ selectionManager: o,+ key: r,+ ref: n,+ isDisabled: l,+ shouldSelectOnPressUp: a ?? u?.props.href != null,+ linkBehavior: "selection"+ }), p = _S(t, r, "tab"), m = _S(t, r, "tabpanel"), { tabIndex: h } = d, g = ag(u?.props, { labelable: !0 });+ delete g.id;+ let _ = Sp(u?.props), { focusableProps: v } = Hm({+ ...u?.props,+ isDisabled: l+ }, n);+ return {+ tabProps: H(g, v, _, d, {+ id: p,+ "aria-selected": c,+ "aria-disabled": l || void 0,+ "aria-controls": c ? m : void 0,+ tabIndex: l ? void 0 : h,+ role: "tab"+ }),+ isSelected: c,+ isDisabled: l,+ isPressed: f+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs+var rte = class {+ constructor(e, t, n, r = /* @__PURE__ */ new Set()) {+ this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";+ }+ getKeyLeftOf(e) {+ return this.flipDirection ? this.getNextKey(e) : this.getPreviousKey(e);+ }+ getKeyRightOf(e) {+ return this.flipDirection ? this.getPreviousKey(e) : this.getNextKey(e);+ }+ isDisabled(e) {+ return this.disabledKeys.has(e) || !!this.collection.getItem(e)?.props?.isDisabled;+ }+ getFirstKey() {+ let e = this.collection.getFirstKey();+ return e != null && this.isDisabled(e) && (e = this.getNextKey(e)), e;+ }+ getLastKey() {+ let e = this.collection.getLastKey();+ return e != null && this.isDisabled(e) && (e = this.getPreviousKey(e)), e;+ }+ getKeyAbove(e) {+ return this.tabDirection ? null : this.getPreviousKey(e);+ }+ getKeyBelow(e) {+ return this.tabDirection ? null : this.getNextKey(e);+ }+ getNextKey(e) {+ let t = e;+ do+ t = this.collection.getKeyAfter(t), t ??= this.collection.getFirstKey();+ while (t != null && this.isDisabled(t) && t !== e);+ return t;+ }+ getPreviousKey(e) {+ let t = e;+ do+ t = this.collection.getKeyBefore(t), t ??= this.collection.getLastKey();+ while (t != null && this.isDisabled(t) && t !== e);+ return t;+ }+};+//#endregion+//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs+function ite(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Rh(), { collectionProps: l } = Rv({+ ref: n,+ selectionManager: o,+ keyboardDelegate: (0, E.useMemo)(() => new rte(a, c, r, s), [+ a,+ s,+ r,+ c+ ]),+ selectOnFocus: i === "automatic",+ disallowEmptySelection: !0,+ scrollRef: n,+ linkBehavior: "selection"+ }), u = gm();+ return gS.set(t, u), { tabListProps: {+ ...H(l, Dh({+ ...e,+ id: u+ })),+ role: "tablist",+ "aria-orientation": r,+ tabIndex: void 0+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs+function ate(e, t, n) {+ let r = Ky(n) ? void 0 : 0, i = _S(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: H(Dh({+ ...e,+ id: i,+ "aria-labelledby": _S(t, t?.selectedKey, "tab")+ }), {+ tabIndex: r,+ role: "tabpanel",+ "aria-describedby": e["aria-describedby"],+ "aria-details": e["aria-details"]+ }) };+}+//#endregion+//#region node_modules/scheduler/cjs/scheduler.production.js+var ote = /* @__PURE__ */ _(((e) => {+ function t(e, t) {+ var n = e.length;+ e.push(t);+ a: for (; 0 < n;) {+ var r = n - 1 >>> 1, a = e[r];+ if (0 < i(a, t)) e[r] = t, e[n] = a, n = r;+ else break a;+ }+ }+ function n(e) {+ return e.length === 0 ? null : e[0];+ }+ function r(e) {+ if (e.length === 0) return null;+ var t = e[0], n = e.pop();+ if (n !== t) {+ e[0] = n;+ a: for (var r = 0, a = e.length, o = a >>> 1; r < o;) {+ var s = 2 * (r + 1) - 1, c = e[s], l = s + 1, u = e[l];+ if (0 > i(c, n)) l < a && 0 > i(u, c) ? (e[r] = u, e[l] = n, r = l) : (e[r] = c, e[s] = n, r = s);+ else if (l < a && 0 > i(u, n)) e[r] = u, e[l] = n, r = l;+ else break a;+ }+ }+ return t;+ }+ function i(e, t) {+ var n = e.sortIndex - t.sortIndex;+ return n === 0 ? e.id - t.id : n;+ }+ if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {+ var a = performance;+ e.unstable_now = function() {+ return a.now();+ };+ } else {+ var o = Date, s = o.now();+ e.unstable_now = function() {+ return o.now() - s;+ };+ }+ var c = [], l = [], u = 1, d = null, f = 3, p = !1, m = !1, h = !1, g = !1, _ = typeof setTimeout == "function" ? setTimeout : null, v = typeof clearTimeout == "function" ? clearTimeout : null, y = typeof setImmediate < "u" ? setImmediate : null;+ function b(e) {+ for (var i = n(l); i !== null;) {+ if (i.callback === null) r(l);+ else if (i.startTime <= e) r(l), i.sortIndex = i.expirationTime, t(c, i);+ else break;+ i = n(l);+ }+ }+ function x(e) {+ if (h = !1, b(e), !m) {+ if (n(c) !== null) m = !0, S || (S = !0, O());+ else {+ var t = n(l);+ t !== null && j(x, t.startTime - e);+ }+ }+ }+ var S = !1, C = -1, w = 5, T = -1;+ function E() {+ return g ? !0 : !(e.unstable_now() - T < w);+ }+ function D() {+ if (g = !1, S) {+ var t = e.unstable_now();+ T = t;+ var i = !0;+ try {+ a: {+ m = !1, h && (h = !1, v(C), C = -1), p = !0;+ var a = f;+ try {+ b: {+ for (b(t), d = n(c); d !== null && !(d.expirationTime > t && E());) {+ var o = d.callback;+ if (typeof o == "function") {+ d.callback = null, f = d.priorityLevel;+ var s = o(d.expirationTime <= t);+ if (t = e.unstable_now(), typeof s == "function") {+ d.callback = s, b(t), i = !0;+ break b;+ }+ d === n(c) && r(c), b(t);+ } else r(c);+ d = n(c);+ }+ if (d !== null) i = !0;+ else {+ var u = n(l);+ u !== null && j(x, u.startTime - t), i = !1;+ }+ }+ break a;+ } finally {+ d = null, f = a, p = !1;+ }+ i = void 0;+ }+ } finally {+ i ? O() : S = !1;+ }+ }+ }+ var O;+ if (typeof y == "function") O = function() {+ y(D);+ };+ else if (typeof MessageChannel < "u") {+ var k = new MessageChannel(), A = k.port2;+ k.port1.onmessage = D, O = function() {+ A.postMessage(null);+ };+ } else O = function() {+ _(D, 0);+ };+ function j(t, n) {+ C = _(function() {+ t(e.unstable_now());+ }, n);+ }+ e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(e) {+ e.callback = null;+ }, e.unstable_forceFrameRate = function(e) {+ 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : w = 0 < e ? Math.floor(1e3 / e) : 5;+ }, e.unstable_getCurrentPriorityLevel = function() {+ return f;+ }, e.unstable_next = function(e) {+ switch (f) {+ case 1:+ case 2:+ case 3:+ var t = 3;+ break;+ default: t = f;+ }+ var n = f;+ f = t;+ try {+ return e();+ } finally {+ f = n;+ }+ }, e.unstable_requestPaint = function() {+ g = !0;+ }, e.unstable_runWithPriority = function(e, t) {+ switch (e) {+ case 1:+ case 2:+ case 3:+ case 4:+ case 5: break;+ default: e = 3;+ }+ var n = f;+ f = e;+ try {+ return t();+ } finally {+ f = n;+ }+ }, e.unstable_scheduleCallback = function(r, i, a) {+ var o = e.unstable_now();+ switch (typeof a == "object" && a ? (a = a.delay, a = typeof a == "number" && 0 < a ? o + a : o) : a = o, r) {+ case 1:+ var s = -1;+ break;+ case 2:+ s = 250;+ break;+ case 5:+ s = 1073741823;+ break;+ case 4:+ s = 1e4;+ break;+ default: s = 5e3;+ }+ return s = a + s, r = {+ id: u++,+ callback: i,+ priorityLevel: r,+ startTime: a,+ expirationTime: s,+ sortIndex: -1+ }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(C), C = -1) : h = !0, j(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, O()))), r;+ }, e.unstable_shouldYield = E, e.unstable_wrapCallback = function(e) {+ var t = f;+ return function() {+ var n = f;+ f = t;+ try {+ return e.apply(this, arguments);+ } finally {+ f = n;+ }+ };+ };+})), ste = /* @__PURE__ */ _(((e, t) => {+ t.exports = ote();+})), cte = /* @__PURE__ */ _(((e) => {+ var t = ste(), n = C(), r = Jm();+ function i(e) {+ var t = "https://react.dev/errors/" + e;+ if (1 < arguments.length) {+ t += "?args[]=" + encodeURIComponent(arguments[1]);+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);+ }+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";+ }+ function a(e) {+ return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);+ }+ function o(e) {+ for (var t = e, n = t; n && !n.alternate;) t = n, t.flags & 4098 && (e = t.return), n = t.return;+ for (; t.return;) t = t.return;+ return t.tag === 3 ? e : null;+ }+ function s(e) {+ if (e.tag === 13) {+ var t = e.memoizedState;+ if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ }+ return null;+ }+ function c(e) {+ if (e.tag === 31) {+ var t = e.memoizedState;+ if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ }+ return null;+ }+ function l(e) {+ if (o(e) !== e) throw Error(i(188));+ }+ function u(e) {+ var t = e.alternate;+ if (!t) {+ if (t = o(e), t === null) throw Error(i(188));+ return t === e ? e : null;+ }+ for (var n = e, r = t;;) {+ var a = n.return;+ if (a === null) break;+ var s = a.alternate;+ if (s === null) {+ if (r = a.return, r !== null) {+ n = r;+ continue;+ }+ break;+ }+ if (a.child === s.child) {+ for (s = a.child; s;) {+ if (s === n) return l(a), e;+ if (s === r) return l(a), t;+ s = s.sibling;+ }+ throw Error(i(188));+ }+ if (n.return !== r.return) n = a, r = s;+ else {+ for (var c = !1, u = a.child; u;) {+ if (u === n) {+ c = !0, n = a, r = s;+ break;+ }+ if (u === r) {+ c = !0, r = a, n = s;+ break;+ }+ u = u.sibling;+ }+ if (!c) {+ for (u = s.child; u;) {+ if (u === n) {+ c = !0, n = s, r = a;+ break;+ }+ if (u === r) {+ c = !0, r = s, n = a;+ break;+ }+ u = u.sibling;+ }+ if (!c) throw Error(i(189));+ }+ }+ if (n.alternate !== r) throw Error(i(190));+ }+ if (n.tag !== 3) throw Error(i(188));+ return n.stateNode.current === n ? e : t;+ }+ function d(e) {+ var t = e.tag;+ if (t === 5 || t === 26 || t === 27 || t === 6) return e;+ for (e = e.child; e !== null;) {+ if (t = d(e), t !== null) return t;+ e = e.sibling;+ }+ return null;+ }+ function f(e, t, n, r, i, a) {+ for (; e !== null;) {+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && n(e, r, i, a) || (e.tag !== 22 || e.memoizedState === null) && (t || e.tag !== 5 && e.tag !== 27) && f(e.child, t, n, r, i, a)) return !0;+ e = e.sibling;+ }+ return !1;+ }+ function p(e) {+ for (e = e.return; e !== null;) {+ if (e.tag === 3 || e.tag === 5 || e.tag === 27) return e;+ e = e.return;+ }+ return null;+ }+ function m(e) {+ var t = !1;+ for (e = e.return; e !== null && (e.tag === 4 && (t = !0), e.tag !== 3 && e.tag !== 5 && e.tag !== 27);) e = e.return;+ return t;+ }+ function h(e) {+ var t = [null, null], n = p(e);+ return n === null || g(t, e, n.child, { foundSelf: !1 }), t;+ }+ function g(e, t, n, r) {+ for (; n !== null;) {+ if (n === t) r.foundSelf = !0;+ else if (n.tag === 5 || n.tag === 27 || n.tag === 6) {+ if (r.foundSelf) return e[1] = n, !0;+ e[0] = n;+ } else if ((n.tag !== 22 || n.memoizedState === null) && g(e, t, n.child, r)) return !0;+ n = n.sibling;+ }+ return !1;+ }+ function _(e) {+ switch (e.tag) {+ case 5:+ case 27:+ case 6: return e.stateNode;+ case 3: return e.stateNode.containerInfo;+ default: throw Error(i(559));+ }+ }+ var v = null, y = null;+ function b(e, t, n) {+ return e === n || e === t && (v = e, !0);+ }+ function x(e, t, n) {+ return e === n ? (y = e, !1) : e === t && (y !== null && (v = e), !0);+ }+ function S(e) {+ if (e === null) return null;+ do+ e = e === null ? null : e.return;+ while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);+ return e || null;+ }+ function w(e, t, n) {+ for (var r = 0, i = e; i; i = n(i)) r++;+ i = 0;+ for (var a = t; a; a = n(a)) i++;+ for (; 0 < r - i;) e = n(e), r--;+ for (; 0 < i - r;) t = n(t), i--;+ for (; r--;) {+ if (e === t || t !== null && e === t.alternate) return e;+ e = n(e), t = n(t);+ }+ return null;+ }+ var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), N = Symbol.for("react.context"), P = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), ee = Symbol.for("react.memo"), te = Symbol.for("react.lazy"), L = Symbol.for("react.activity"), ne = Symbol.for("react.legacy_hidden"), re = Symbol.for("react.memo_cache_sentinel"), ie = 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);+ }+ var ce = Symbol.for("react.client.reference");+ function le(e) {+ if (e == null) return null;+ if (typeof e == "function") return e.$$typeof === ce ? null : e.displayName || e.name || null;+ if (typeof e == "string") return e;+ switch (e) {+ case k: return "Fragment";+ case j: return "Profiler";+ case A: return "StrictMode";+ case F: return "Suspense";+ case I: return "SuspenseList";+ case L: return "Activity";+ case ie: return "ViewTransition";+ }+ if (typeof e == "object") switch (e.$$typeof) {+ case O: return "Portal";+ case N: return e.displayName || "Context";+ case M: return (e._context.displayName || "Context") + ".Consumer";+ case P:+ var t = e.render;+ return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;+ case ee: return t = e.displayName || null, t === null ? le(e.type) || "Memo" : t;+ case te:+ t = e._payload, e = e._init;+ try {+ return le(e(t));+ } catch {}+ }+ return null;+ }+ var ue = Array.isArray, R = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, de = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fe = {+ pending: !1,+ data: null,+ method: null,+ action: null+ }, pe = [], me = -1;+ function he(e) {+ return { current: e };+ }+ function ge(e) {+ 0 > me || (e.current = pe[me], pe[me] = null, me--);+ }+ function _e(e, t) {+ me++, pe[me] = e.current, e.current = t;+ }+ var ve = he(null), ye = he(null), be = he(null), xe = he(null);+ function Se(e, t) {+ switch (_e(be, t), _e(ye, e), _e(ve, null), t.nodeType) {+ case 9:+ case 11:+ e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;+ break;+ default: if (e = t.tagName, t = t.namespaceURI) t = bp(t), e = xp(t, e);+ else switch (e) {+ case "svg":+ e = 1;+ break;+ case "math":+ e = 2;+ break;+ default: e = 0;+ }+ }+ ge(ve), _e(ve, e);+ }+ function Ce() {+ ge(ve), ge(ye), ge(be);+ }+ function we(e) {+ var t = e.memoizedState;+ t !== null && (_h._currentValue = t.memoizedState, _e(xe, e)), t = ve.current;+ var n = xp(t, e.type);+ t !== n && (_e(ye, e), _e(ve, n));+ }+ function Te(e) {+ ye.current === e && (ge(ve), ge(ye)), xe.current === e && (ge(xe), _h._currentValue = fe);+ }+ var Ee, De;+ function Oe(e) {+ if (Ee === void 0) try {+ throw Error();+ } catch (e) {+ var t = e.stack.trim().match(/\n( *(at )?)/);+ Ee = t && t[1] || "", De = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ }+ return "\n" + Ee + e + De;+ }+ var ke = !1;+ function Ae(e, t) {+ if (!e || ke) return "";+ ke = !0;+ var n = Error.prepareStackTrace;+ Error.prepareStackTrace = void 0;+ try {+ var r = { DetermineComponentFrameRoot: function() {+ try {+ if (t) {+ var n = function() {+ throw Error();+ };+ if (Object.defineProperty(n.prototype, "props", { set: function() {+ throw Error();} }), typeof Reflect == "object" && Reflect.construct) {try {Reflect.construct(n, []);@@ -10558,50 +15552,50 @@ var If = /* @__PURE__ */ _(((e) => {}}} finally {- je = !1, Error.prepareStackTrace = n;+ ke = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? Ae(n) : "";+ return (n = e ? e.displayName || e.name : "") ? Oe(n) : "";}- function Ne(e, t) {+ function je(e, t) {switch (e.tag) {case 26:case 27:- case 5: return Ae(e.type);- case 16: return Ae("Lazy");- case 13: return e.child !== t && t !== null ? Ae("Suspense Fallback") : Ae("Suspense");- case 19: return Ae("SuspenseList");+ case 5: return Oe(e.type);+ case 16: return Oe("Lazy");+ case 13: return e.child !== t && t !== null ? Oe("Suspense Fallback") : Oe("Suspense");+ case 19: return Oe("SuspenseList");case 0:- case 15: return Me(e.type, !1);- case 11: return Me(e.type.render, !1);- case 1: return Me(e.type, !0);- case 31: return Ae("Activity");- case 30: return Ae("ViewTransition");+ case 15: return Ae(e.type, !1);+ case 11: return Ae(e.type.render, !1);+ case 1: return Ae(e.type, !0);+ case 31: return Oe("Activity");+ case 30: return Oe("ViewTransition");default: return "";}}- function Pe(e) {+ function Me(e) {try {var t = "", n = null;do- t += Ne(e, n), n = e, e = e.return;+ t += je(e, n), n = e, e = e.return;while (e);return t;} catch (e) {return "\nError generating stack: " + e.message + "\n" + e.stack;}}- var Fe = Object.prototype.hasOwnProperty, Ie = t.unstable_scheduleCallback, Le = t.unstable_cancelCallback, Re = t.unstable_shouldYield, ze = t.unstable_requestPaint, Be = t.unstable_now, Ve = t.unstable_getCurrentPriorityLevel, He = t.unstable_ImmediatePriority, Ue = t.unstable_UserBlockingPriority, We = t.unstable_NormalPriority, Ge = t.unstable_LowPriority, Ke = t.unstable_IdlePriority, qe = t.log, Je = t.unstable_setDisableYieldValue, Ye = null, Xe = null;- function Ze(e) {- if (typeof qe == "function" && Je(e), Xe && typeof Xe.setStrictMode == "function") try {- Xe.setStrictMode(Ye, e);+ var Ne = Object.prototype.hasOwnProperty, Pe = t.unstable_scheduleCallback, Fe = t.unstable_cancelCallback, Ie = t.unstable_shouldYield, Le = t.unstable_requestPaint, Re = t.unstable_now, ze = t.unstable_getCurrentPriorityLevel, Be = t.unstable_ImmediatePriority, Ve = t.unstable_UserBlockingPriority, He = t.unstable_NormalPriority, Ue = t.unstable_LowPriority, We = t.unstable_IdlePriority, Ge = t.log, Ke = t.unstable_setDisableYieldValue, qe = null, Je = null;+ function Ye(e) {+ if (typeof Ge == "function" && Ke(e), Je && typeof Je.setStrictMode == "function") try {+ Je.setStrictMode(qe, e);} catch {}}- var Qe = Math.clz32 ? Math.clz32 : tt, $e = Math.log, et = Math.LN2;- function tt(e) {- return e >>>= 0, e === 0 ? 32 : 31 - ($e(e) / et | 0) | 0;+ var Xe = Math.clz32 ? Math.clz32 : $e, Ze = Math.log, Qe = Math.LN2;+ function $e(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (Ze(e) / Qe | 0) | 0;}- var nt = 256, rt = 262144, it = 4194304;- function at(e) {+ var et = 256, tt = 262144, nt = 4194304;+ function rt(e) {var t = e & 42;if (t !== 0) return t;switch (e & -e) {@@ -10639,27 +15633,27 @@ var If = /* @__PURE__ */ _(((e) => {default: return e;}}- function ot(e, t, n) {+ function it(e, t, n) {var r = e.pendingLanes;if (r === 0) return 0;var i = 0, a = e.suspendedLanes, o = e.pingedLanes;e = e.warmLanes;var s = r & 134217727;- return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = at(n))) : i = at(o) : i = at(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = at(n))) : i = at(o)) : i = at(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = rt(n))) : i = rt(o) : i = rt(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = rt(n))) : i = rt(o)) : i = rt(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;}- function st(e, t) {+ function at(e, t) {return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- function ct(e, t) {+ function ot(e, t) {t & 8 && (t |= t & 32);var n = e.entangledLanes;if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {- var r = 31 - Qe(n), i = 1 << r;+ var r = 31 - Xe(n), i = 1 << r;t |= e[r], n &= ~i;}return t;}- function lt(e, t) {+ function st(e, t) {switch (e) {case 1:case 2:@@ -10695,23 +15689,23 @@ var If = /* @__PURE__ */ _(((e) => {default: return -1;}}- function ut() {- var e = it;- return it <<= 1, !(it & 62914560) && (it = 4194304), e;+ function ct() {+ var e = nt;+ return nt <<= 1, !(nt & 62914560) && (nt = 4194304), e;}- function dt(e) {+ function lt(e) {for (var t = [], n = 0; 31 > n; n++) t.push(e);return t;}- function ft(e, t) {+ function ut(e, t) {e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);}- function pt(e, t, n, r, i, a) {+ function dt(e, t, n, r, i, a) {var o = e.pendingLanes;e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;for (n = o & ~n; 0 < n;) {- var u = 31 - Qe(n), d = 1 << u;+ var u = 31 - Xe(n), d = 1 << u;s[u] = 0, c[u] = -1;var f = l[u];if (f !== null) for (l[u] = null, u = 0; u < f.length; u++) {@@ -10720,25 +15714,25 @@ var If = /* @__PURE__ */ _(((e) => {}n &= ~d;}- r !== 0 && mt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));+ r !== 0 && ft(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function mt(e, t, n) {+ function ft(e, t, n) {e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - Qe(t);+ var r = 31 - Xe(t);e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function ht(e, t) {+ function pt(e, t) {var n = e.entangledLanes |= t;for (e = e.entanglements; n;) {- var r = 31 - Qe(n), i = 1 << r;+ var r = 31 - Xe(n), i = 1 << r;i & t | e[r] & t && (e[r] |= t), n &= ~i;}}- function gt(e, t) {+ function mt(e, t) {var n = t & -t;- return n = n & 42 ? 1 : _t(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ return n = n & 42 ? 1 : ht(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function _t(e) {+ function ht(e) {switch (e) {case 2:e = 1;@@ -10776,32 +15770,32 @@ var If = /* @__PURE__ */ _(((e) => {}return e;}- function vt(e) {+ function gt(e) {return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- function yt() {- var e = pe.p;- return e === 0 ? (e = window.event, e === void 0 ? 32 : Eh(e.type)) : e;+ function _t() {+ var e = de.p;+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Nh(e.type)) : e;}- function bt(e, t) {- var n = pe.p;+ function vt(e, t) {+ var n = de.p;try {- return pe.p = e, t();+ return de.p = e, t();} finally {- pe.p = n;+ de.p = n;}}- var xt = Math.random().toString(36).slice(2), St = "__reactFiber$" + xt, Ct = "__reactProps$" + xt, wt = "__reactContainer$" + xt, Tt = "__reactEvents$" + xt, Et = "__reactListeners$" + xt, Dt = "__reactHandles$" + xt, Ot = "__reactResources$" + xt, kt = "__reactMarker$" + xt, At = "__reactLoad$" + xt;- function jt(e) {- delete e[St], delete e[Ct], delete e[Et], delete e[Dt];+ var yt = Math.random().toString(36).slice(2), bt = "__reactFiber$" + yt, xt = "__reactProps$" + yt, St = "__reactContainer$" + yt, Ct = "__reactEvents$" + yt, wt = "__reactListeners$" + yt, Tt = "__reactHandles$" + yt, Et = "__reactResources$" + yt, Dt = "__reactMarker$" + yt, Ot = "__reactLoad$" + yt;+ function kt(e) {+ delete e[bt], delete e[xt], delete e[wt], delete e[Tt];}- function Mt(e) {+ function At(e) {var t;- if (t = e[St]) return t;+ if (t = e[bt]) return t;for (var n = e.parentNode; n;) {- if (t = n[wt] || n[St]) {+ if (t = n[St] || n[bt]) {if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Sm(e); e !== null;) {- if (n = e[St]) return n;+ if (n = e[bt]) return n;e = Sm(e);}return t;@@ -10810,49 +15804,49 @@ var If = /* @__PURE__ */ _(((e) => {}return null;}- function Nt(e) {- if (e = e[St] || e[wt]) {+ function jt(e) {+ if (e = e[bt] || e[St]) {var t = e.tag;if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;}return null;}- function Pt(e) {+ function Mt(e) {var t = e.tag;if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;throw Error(i(33));}- function Ft(e) {- var t = e[Ot];- return t ||= e[Ot] = {+ function Nt(e) {+ var t = e[Et];+ return t ||= e[Et] = {hoistableStyles: /* @__PURE__ */ new Map(),hoistableScripts: /* @__PURE__ */ new Map()}, t;}- function It(e) {- e[kt] = !0;+ function Pt(e) {+ e[Dt] = !0;+ }+ function Ft(e) {+ e[Ot] = void 0;}- function Lt(e) {- e[At] = void 0;+ var It = /* @__PURE__ */ new Set(), Lt = {};+ function Rt(e, t) {+ zt(e, t), zt(e + "Capture", t);}- var Rt = /* @__PURE__ */ new Set(), L = {};function zt(e, t) {- Bt(e, t), Bt(e + "Capture", t);- }- function Bt(e, t) {- for (L[e] = t, e = 0; e < t.length; e++) Rt.add(t[e]);+ for (Lt[e] = t, e = 0; e < t.length; e++) It.add(t[e]);}- var Vt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Ht = {}, Ut = {};- function Wt(e) {- return Fe.call(Ut, e) ? !0 : Fe.call(Ht, e) ? !1 : Vt.test(e) ? Ut[e] = !0 : (Ht[e] = !0, !1);+ var Bt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Vt = {}, Ht = {};+ function Ut(e) {+ return Ne.call(Ht, e) ? !0 : Ne.call(Vt, e) ? !1 : Bt.test(e) ? Ht[e] = !0 : (Vt[e] = !0, !1);}- var Gt = !1;- function Kt() {- var e = Gt;- return Gt = !1, e;+ var Wt = !1;+ function Gt() {+ var e = Wt;+ return Wt = !1, e;}- function qt(e, t, n) {- if (Wt(t)) {+ function Kt(e, t, n) {+ if (Ut(t)) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -10872,7 +15866,7 @@ var If = /* @__PURE__ */ _(((e) => {}}}- function R(e, t, n) {+ function qt(e, t, n) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -10900,7 +15894,7 @@ var If = /* @__PURE__ */ _(((e) => {e.setAttributeNS(t, n, r);}}- function z(e) {+ function Yt(e) {switch (typeof e) {case "bigint":case "boolean":@@ -10911,11 +15905,11 @@ var If = /* @__PURE__ */ _(((e) => {default: return "";}}- function Yt(e) {+ function Xt(e) {var t = e.type;return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function Xt(e, t, n) {+ function Zt(e, t, n) {var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {var i = r.get, a = r.set;@@ -10940,48 +15934,48 @@ var If = /* @__PURE__ */ _(((e) => {};}}- function Zt(e) {+ function Qt(e) {if (!e._valueTracker) {- var t = Yt(e) ? "checked" : "value";- e._valueTracker = Xt(e, t, "" + e[t]);+ var t = Xt(e) ? "checked" : "value";+ e._valueTracker = Zt(e, t, "" + e[t]);}}- function Qt(e) {+ function $t(e) {if (!e) return !1;var t = e._valueTracker;if (!t) return !0;var n = t.getValue(), r = "";- return e && (r = Yt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);+ return e && (r = Xt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- var $t = /[\n"\\]/g;- function en(e) {- return e.replace($t, function(e) {+ var en = /[\n"\\]/g;+ function tn(e) {+ return e.replace(en, function(e) {return "\\" + e.charCodeAt(0).toString(16) + " ";});}- function tn(e, t, n, r, i, a, o, s) {- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + z(t)) : e.value !== "" + z(t) && (e.value = "" + z(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : rn(e, z(n)) : o === "number" && e.value == t ? rn(e, z(e.value)) : rn(e, z(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + z(s) : e.removeAttribute("name");- }function nn(e, t, n, r, i, a, o, s) {+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Yt(t)) : e.value !== "" + Yt(t) && (e.value = "" + Yt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : an(e, Yt(n)) : o === "number" && e.value == t ? an(e, Yt(e.value)) : an(e, Yt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Yt(s) : e.removeAttribute("name");+ }+ function rn(e, t, n, r, i, a, o, s) {if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {if (!(a !== "submit" && a !== "reset" || t != null)) {- Zt(e);+ Qt(e);return;}- n = n == null ? "" : "" + z(n), t = t == null ? n : "" + z(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ n = n == null ? "" : "" + Yt(n), t = t == null ? n : "" + Yt(t), s || t === e.value || (e.value = t), e.defaultValue = t;}- r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Zt(e);+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Qt(e);}- function rn(e, t) {+ function an(e, t) {e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function an(e, t, n, r) {+ function on(e, t, n, r) {if (e = e.options, t) {t = {};for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);} else {- for (n = "" + z(n), t = null, i = 0; i < e.length; i++) {+ for (n = "" + Yt(n), t = null, i = 0; i < e.length; i++) {if (e[i].value === n) {e[i].selected = !0, r && (e[i].defaultSelected = !0);return;@@ -10991,18 +15985,18 @@ var If = /* @__PURE__ */ _(((e) => {t !== null && (t.selected = !0);}}- function on(e, t, n) {- if (t != null && (t = "" + z(t), t !== e.value && (e.value = t), n == null)) {+ function sn(e, t, n) {+ if (t != null && (t = "" + Yt(t), t !== e.value && (e.value = t), n == null)) {e.defaultValue !== t && (e.defaultValue = t);return;}- e.defaultValue = n == null ? "" : "" + z(n);+ e.defaultValue = n == null ? "" : "" + Yt(n);}- function sn(e, t, n, r) {+ function cn(e, t, n, r) {if (t == null) {if (r != null) {if (n != null) throw Error(i(92));- if (fe(r)) {+ if (ue(r)) {if (1 < r.length) throw Error(i(93));r = r[0];}@@ -11010,9 +16004,9 @@ var If = /* @__PURE__ */ _(((e) => {}n ??= "", t = n;}- n = z(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Zt(e);+ n = Yt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Qt(e);}- function cn(e, t) {+ function ln(e, t) {if (t) {var n = e.firstChild;if (n && n === e.lastChild && n.nodeType === 3) {@@ -11022,19 +16016,19 @@ var If = /* @__PURE__ */ _(((e) => {}e.textContent = t;}- var ln = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));- function un(e, t, n) {+ var un = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));+ function dn(e, t, n) {var r = t.indexOf("--") === 0;- n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || ln.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || un.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";}- function dn(e, t, n) {+ function fn(e, t, n) {if (t != null && typeof t != "object") throw Error(i(62));if (e = e.style, n != null) {- for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Gt = !0);- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (un(e, a, r), Gt = !0);- } else for (var o in t) t.hasOwnProperty(o) && un(e, o, t[o]);+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Wt = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (dn(e, a, r), Wt = !0);+ } else for (var o in t) t.hasOwnProperty(o) && dn(e, o, t[o]);}- function fn(e) {+ function pn(e) {if (e.indexOf("-") === -1) return !1;switch (e) {case "annotation-xml":@@ -11048,7 +16042,7 @@ var If = /* @__PURE__ */ _(((e) => {default: return !0;}}- var pn = /* @__PURE__ */ new Map([+ var mn = /* @__PURE__ */ new Map([["acceptCharset", "accept-charset"],["htmlFor", "for"],["httpEquiv", "http-equiv"],@@ -11128,56 +16122,56 @@ var If = /* @__PURE__ */ _(((e) => {["writingMode", "writing-mode"],["xmlnsXlink", "xmlns:xlink"],["xHeight", "x-height"]- ]), mn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;- function hn(e) {- return mn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ ]), hn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;+ function gn(e) {+ return hn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- function gn() {}- var _n = null;- function vn(e) {+ function _n() {}+ var vn = null;+ function yn(e) {return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;}- var yn = null, bn = null;- function xn(e) {- var t = Nt(e);+ var bn = null, xn = null;+ function Sn(e) {+ var t = jt(e);if (t && (e = t.stateNode)) {- var n = e[Ct] || null;+ var n = e[xt] || null;a: switch (e = t.stateNode, t.type) {case "input":- if (tn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ if (nn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {for (n = e; n.parentNode;) n = n.parentNode;- for (n = n.querySelectorAll("input[name=\"" + en("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ for (n = n.querySelectorAll("input[name=\"" + tn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {var r = n[t];if (r !== e && r.form === e.form) {- var a = r[Ct] || null;+ var a = r[xt] || null;if (!a) throw Error(i(90));- tn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ nn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);}}- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Qt(r);+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && $t(r);}break a;case "textarea":- on(e, n.value, n.defaultValue);+ sn(e, n.value, n.defaultValue);break a;- case "select": t = n.value, t != null && an(e, !!n.multiple, t, !1);+ case "select": t = n.value, t != null && on(e, !!n.multiple, t, !1);}}}- var Sn = !1;- function Cn(e, t, n) {- if (Sn) return e(t, n);- Sn = !0;+ var Cn = !1;+ function wn(e, t, n) {+ if (Cn) return e(t, n);+ Cn = !0;try {return e(t);} finally {- if (Sn = !1, (yn !== null || bn !== null) && (Kd(), yn && (t = yn, e = bn, bn = yn = null, xn(t), e))) for (t = 0; t < e.length; t++) xn(e[t]);+ if (Cn = !1, (bn !== null || xn !== null) && (Jd(), bn && (t = bn, e = xn, xn = bn = null, Sn(t), e))) for (t = 0; t < e.length; t++) Sn(e[t]);}}- function wn(e, t) {+ function Tn(e, t) {var n = e.stateNode;if (n === null) return null;- var r = n[Ct] || null;+ var r = n[xt] || null;if (r === null) return null;n = r[t];a: switch (t) {@@ -11200,51 +16194,51 @@ var If = /* @__PURE__ */ _(((e) => {if (n && typeof n != "function") throw Error(i(231, t, typeof n));return n;}- var Tn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), En = !1;- if (Tn) try {- var Dn = {};- Object.defineProperty(Dn, "passive", { get: function() {- En = !0;- } }), window.addEventListener("test", Dn, Dn), window.removeEventListener("test", Dn, Dn);+ var En = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), Dn = !1;+ if (En) try {+ var On = {};+ Object.defineProperty(On, "passive", { get: function() {+ Dn = !0;+ } }), window.addEventListener("test", On, On), window.removeEventListener("test", On, On);} catch {- En = !1;+ Dn = !1;}- var On = null, kn = null, An = null;- function jn() {- if (An) return An;- var e, t = kn, n = t.length, r, i = "value" in On ? On.value : On.textContent, a = i.length;+ var kn = null, An = null, jn = null;+ function Mn() {+ if (jn) return jn;+ var e, t = An, n = t.length, r, i = "value" in kn ? kn.value : kn.textContent, a = i.length;for (e = 0; e < n && t[e] === i[e]; e++);var o = n - e;for (r = 1; r <= o && t[n - r] === i[a - r]; r++);- return An = i.slice(e, 1 < r ? 1 - r : void 0);+ return jn = i.slice(e, 1 < r ? 1 - r : void 0);}- function Mn(e) {+ function Nn(e) {var t = e.keyCode;return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;}- function Nn() {+ function Pn() {return !0;}- function Pn() {+ function Fn() {return !1;}- function Fn(e) {+ function z(e) {function t(t, n, r, i, a) {for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);- return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Nn : Pn, this.isPropagationStopped = Pn, this;+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Pn : Fn, this.isPropagationStopped = Fn, this;}return T(t.prototype, {preventDefault: function() {this.defaultPrevented = !0;var e = this.nativeEvent;- e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Nn);+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Pn);},stopPropagation: function() {var e = this.nativeEvent;- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Nn);+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Pn);},persist: function() {},- isPersistent: Nn+ isPersistent: Pn}), t;}var In = {@@ -11256,10 +16250,10 @@ var If = /* @__PURE__ */ _(((e) => {},defaultPrevented: 0,isTrusted: 0- }, Ln = Fn(In), Rn = T({}, In, {+ }, Ln = z(In), Rn = T({}, In, {view: 0,detail: 0- }), zn = Fn(Rn), Bn, Vn, Hn, Un = T({}, Rn, {+ }), zn = z(Rn), Bn, Vn, Hn, Un = T({}, Rn, {screenX: 0,screenY: 0,clientX: 0,@@ -11282,13 +16276,13 @@ var If = /* @__PURE__ */ _(((e) => {movementY: function(e) {return "movementY" in e ? e.movementY : Vn;}- }), Wn = Fn(Un), Gn = Fn(T({}, Un, { dataTransfer: 0 })), Kn = Fn(T({}, Rn, { relatedTarget: 0 })), qn = Fn(T({}, In, {+ }), Wn = z(Un), Gn = z(T({}, Un, { dataTransfer: 0 })), Kn = z(T({}, Rn, { relatedTarget: 0 })), qn = z(T({}, In, {animationName: 0,elapsedTime: 0,pseudoElement: 0- })), Jn = Fn(T({}, In, { clipboardData: function(e) {+ })), Jn = z(T({}, In, { clipboardData: function(e) {return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Yn = Fn(T({}, In, { data: 0 })), Xn = {+ } })), Yn = z(T({}, In, { data: 0 })), Xn = {Esc: "Escape",Spacebar: " ",Left: "ArrowLeft",@@ -11351,13 +16345,13 @@ var If = /* @__PURE__ */ _(((e) => {function er() {return $n;}- var tr = Fn(T({}, Rn, {+ var tr = z(T({}, Rn, {key: function(e) {if (e.key) {var t = Xn[e.key] || e.key;if (t !== "Unidentified") return t;}- return e.type === "keypress" ? (e = Mn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Zn[e.keyCode] || "Unidentified" : "";+ return e.type === "keypress" ? (e = Nn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Zn[e.keyCode] || "Unidentified" : "";},code: 0,location: 0,@@ -11369,15 +16363,15 @@ var If = /* @__PURE__ */ _(((e) => {locale: 0,getModifierState: er,charCode: function(e) {- return e.type === "keypress" ? Mn(e) : 0;+ return e.type === "keypress" ? Nn(e) : 0;},keyCode: function(e) {return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;},which: function(e) {- return e.type === "keypress" ? Mn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ return e.type === "keypress" ? Nn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- })), nr = Fn(T({}, Un, {+ })), nr = z(T({}, Un, {pointerId: 0,width: 0,height: 0,@@ -11388,7 +16382,7 @@ var If = /* @__PURE__ */ _(((e) => {twist: 0,pointerType: 0,isPrimary: 0- })), rr = Fn(T({}, In, { submitter: 0 })), ir = Fn(T({}, Rn, {+ })), rr = z(T({}, In, { submitter: 0 })), ir = z(T({}, Rn, {touches: 0,targetTouches: 0,changedTouches: 0,@@ -11397,11 +16391,11 @@ var If = /* @__PURE__ */ _(((e) => {ctrlKey: 0,shiftKey: 0,getModifierState: er- })), ar = Fn(T({}, In, {+ })), ar = z(T({}, In, {propertyName: 0,elapsedTime: 0,pseudoElement: 0- })), or = Fn(T({}, Un, {+ })), or = z(T({}, Un, {deltaX: function(e) {return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;},@@ -11410,7 +16404,7 @@ var If = /* @__PURE__ */ _(((e) => {},deltaZ: 0,deltaMode: 0- })), sr = Fn(T({}, In, {+ })), sr = z(T({}, In, {newState: 0,oldState: 0,source: 0@@ -11419,9 +16413,9 @@ var If = /* @__PURE__ */ _(((e) => {13,27,32- ], lr = Tn && "CompositionEvent" in window, ur = null;- Tn && "documentMode" in document && (ur = document.documentMode);- var dr = Tn && "TextEvent" in window && !ur, fr = Tn && (!lr || ur && 8 < ur && 11 >= ur), pr = " ", mr = !1;+ ], lr = En && "CompositionEvent" in window, ur = null;+ En && "documentMode" in document && (ur = document.documentMode);+ var dr = En && "TextEvent" in window && !ur, fr = En && (!lr || ur && 8 < ur && 11 >= ur), pr = " ", mr = !1;function hr(e, t) {switch (e) {case "keyup": return cr.indexOf(t.keyCode) !== -1;@@ -11445,7 +16439,7 @@ var If = /* @__PURE__ */ _(((e) => {}}function yr(e, t) {- if (_r) return e === "compositionend" || !lr && hr(e, t) ? (e = jn(), An = kn = On = null, _r = !1, e) : null;+ if (_r) return e === "compositionend" || !lr && hr(e, t) ? (e = Mn(), jn = An = kn = null, _r = !1, e) : null;switch (e) {case "paste": return null;case "keypress":@@ -11480,7 +16474,7 @@ var If = /* @__PURE__ */ _(((e) => {return t === "input" ? !!br[e.type] : t === "textarea";}function Sr(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({+ bn ? xn ? xn.push(r) : xn = [r] : bn = r, t = rp(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({event: n,listeners: t}));@@ -11490,15 +16484,15 @@ var If = /* @__PURE__ */ _(((e) => {Xf(e, 0);}function Er(e) {- if (Qt(Pt(e))) return e;+ if ($t(Mt(e))) return e;}function Dr(e, t) {if (e === "change") return t;}var Or = !1;- if (Tn) {+ if (En) {var kr;- if (Tn) {+ if (En) {var Ar = "oninput" in document;if (!Ar) {var jr = document.createElement("div");@@ -11514,37 +16508,37 @@ var If = /* @__PURE__ */ _(((e) => {function Nr(e) {if (e.propertyName === "value" && Er(wr)) {var t = [];- Sr(t, wr, e, vn(e)), Cn(Tr, t);+ Sr(t, wr, e, yn(e)), wn(Tr, t);}}function Pr(e, t, n) {e === "focusin" ? (Mr(), Cr = t, wr = n, Cr.attachEvent("onpropertychange", Nr)) : e === "focusout" && Mr();}- function B(e) {+ function Fr(e) {if (e === "selectionchange" || e === "keyup" || e === "keydown") return Er(wr);}- function Fr(e, t) {+ function Ir(e, t) {if (e === "click") return Er(t);}- function Ir(e, t) {+ function Lr(e, t) {if (e === "input" || e === "change") return Er(t);}- function Lr(e, t) {+ function Rr(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}- var Rr = typeof Object.is == "function" ? Object.is : Lr;- function zr(e, t) {- if (Rr(e, t)) return !0;+ var zr = typeof Object.is == "function" ? Object.is : Rr;+ function Br(e, t) {+ if (zr(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;var n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;for (r = 0; r < n.length; r++) {var i = n[r];- if (!Fe.call(t, i) || !Rr(e[i], t[i])) return !1;+ if (!Ne.call(t, i) || !zr(e[i], t[i])) return !1;}return !0;}- function Br(e) {+ function Vr(e) {if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;try {return e.activeElement || e.body;@@ -11552,12 +16546,12 @@ var If = /* @__PURE__ */ _(((e) => {return e.body;}}- function Vr(e) {+ function Hr(e) {for (; e && e.firstChild;) e = e.firstChild;return e;}- function Hr(e, t) {- var n = Vr(e);+ function Ur(e, t) {+ var n = Hr(e);e = 0;for (var r; n;) {if (n.nodeType === 3) {@@ -11577,15 +16571,15 @@ var If = /* @__PURE__ */ _(((e) => {}n = void 0;}- n = Vr(n);+ n = Hr(n);}}- function Ur(e, t) {- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ur(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;+ function Wr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Wr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;}- function Wr(e) {+ function Gr(e) {e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;- for (var t = Br(e.document); t instanceof e.HTMLIFrameElement;) {+ for (var t = Vr(e.document); t instanceof e.HTMLIFrameElement;) {try {var n = typeof t.contentWindow.location.href == "string";} catch {@@ -11593,18 +16587,18 @@ var If = /* @__PURE__ */ _(((e) => {}if (n) e = t.contentWindow;else break;- t = Br(e.document);+ t = Vr(e.document);}return t;}- function Gr(e) {+ function Kr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");}- var Kr = Tn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Xr = !1;- function Zr(e, t, n) {+ var qr = En && "documentMode" in document && 11 >= document.documentMode, Jr = null, Yr = null, Xr = null, Zr = !1;+ function Qr(e, t, n) {var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;- Xr || qr == null || qr !== Br(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {+ Zr || Jr == null || Jr !== Vr(r) || (r = Jr, "selectionStart" in r && Kr(r) ? r = {start: r.selectionStart,end: r.selectionEnd} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {@@ -11612,48 +16606,48 @@ var If = /* @__PURE__ */ _(((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({+ }), Xr && Br(Xr, r) || (Xr = r, r = rp(Yr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({event: t,listeners: r- }), t.target = qr)));+ }), t.target = Jr)));}- function Qr(e, t) {+ function $r(e, t) {var n = {};return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;}- var $r = {- animationend: Qr("Animation", "AnimationEnd"),- animationiteration: Qr("Animation", "AnimationIteration"),- animationstart: Qr("Animation", "AnimationStart"),- transitionrun: Qr("Transition", "TransitionRun"),- transitionstart: Qr("Transition", "TransitionStart"),- transitioncancel: Qr("Transition", "TransitionCancel"),- transitionend: Qr("Transition", "TransitionEnd")- }, ei = {}, ti = {};- Tn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);- function ni(e) {- if (ei[e]) return ei[e];- if (!$r[e]) return e;- var t = $r[e], n;- for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];+ var ei = {+ animationend: $r("Animation", "AnimationEnd"),+ animationiteration: $r("Animation", "AnimationIteration"),+ animationstart: $r("Animation", "AnimationStart"),+ transitionrun: $r("Transition", "TransitionRun"),+ transitionstart: $r("Transition", "TransitionStart"),+ transitioncancel: $r("Transition", "TransitionCancel"),+ transitionend: $r("Transition", "TransitionEnd")+ }, ti = {}, ni = {};+ En && (ni = document.createElement("div").style, "AnimationEvent" in window || (delete ei.animationend.animation, delete ei.animationiteration.animation, delete ei.animationstart.animation), "TransitionEvent" in window || delete ei.transitionend.transition);+ function ri(e) {+ if (ti[e]) return ti[e];+ if (!ei[e]) return e;+ var t = ei[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ni) return ti[e] = t[n];return e;}- var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), si = ni("transitionrun"), ci = ni("transitionstart"), li = ni("transitioncancel"), ui = ni("transitionend"), di = /* @__PURE__ */ new Map(), fi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");+ var ii = ri("animationend"), ai = ri("animationiteration"), oi = ri("animationstart"), si = ri("transitionrun"), ci = ri("transitionstart"), li = ri("transitioncancel"), ui = ri("transitionend"), di = /* @__PURE__ */ new Map(), fi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");fi.push("scrollEnd");function pi(e, t) {- di.set(e, t), zt(t, [e]);+ di.set(e, t), Rt(t, [e]);}var mi = 0;function hi(e, t) {if (e.name != null && e.name !== "auto") return e.name;if (t.autoName !== null) return t.autoName;- e = Dd.identifierPrefix;+ e = kd.identifierPrefix;var n = mi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}function gi(e) {if (e == null || typeof e == "string") return e;- var t = null, n = Fd;+ var t = null, n = Ld;if (n !== null) for (var r = 0; r < n.length; r++) {var i = e[n[r]];if (i != null) {@@ -11711,10 +16705,10 @@ var If = /* @__PURE__ */ _(((e) => {var r = e.alternate;r !== null && (r.lanes |= n);for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;- return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Qe(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Xe(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}function Di(e) {- if (50 < Id) throw Id = 0, Ld = null, Error(i(185));+ if (50 < Rd) throw Rd = 0, zd = null, Error(i(185));for (var t = e.return; t !== null;) e = t, t = e.return;return e.tag === 3 ? e.stateNode : null;}@@ -11746,18 +16740,18 @@ var If = /* @__PURE__ */ _(((e) => {function Pi(e, t, n, r, a, o) {var s = 0;if (r = e, typeof r == "function") ji(r) && (s = 1);- else if (typeof r == "string") s = th(e, n, be.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ else if (typeof r == "string") s = rh(e, n, ve.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {- case F: return e = Ai(31, n, t, a), e.elementType = F, e.lanes = o, e;+ case L: return e = Ai(31, n, t, a), e.elementType = L, e.lanes = o, e;case k: return Fi(n.children, a, o, t);case A:s = 8, a |= 24;break;case j: return e = Ai(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;- case N: return e = Ai(13, n, t, a), e.elementType = N, e.lanes = o, e;- case P: return e = Ai(19, n, t, a), e.elementType = P, e.lanes = o, e;- case ie:- case oe: return e = a | 32, e = Ai(30, n, t, e), e.elementType = oe, e.lanes = o, e.stateNode = {+ case F: return e = Ai(13, n, t, a), e.elementType = F, e.lanes = o, e;+ case I: return e = Ai(19, n, t, a), e.elementType = I, e.lanes = o, e;+ case ne:+ case ie: return e = a | 32, e = Ai(30, n, t, e), e.elementType = ie, e.lanes = o, e.stateNode = {autoName: null,paired: null,clones: null,@@ -11765,19 +16759,19 @@ var If = /* @__PURE__ */ _(((e) => {}, e;default:if (typeof r == "object" && r) switch (r.$$typeof) {- case ee:+ case N:s = 10;break a;case M:s = 9;break a;- case te:+ case P:s = 11;break a;- case ne:+ case ee:s = 14;break a;- case re:+ case te:s = 16, r = null;break a;}@@ -11809,13 +16803,13 @@ var If = /* @__PURE__ */ _(((e) => {return n === void 0 ? (t = {value: e,source: t,- stack: Pe(t)+ stack: Me(t)}, zi.set(e, t), t) : n;}return {value: e,source: t,- stack: Pe(t)+ stack: Me(t)};}var Vi = [], Hi = 0, Ui = null, Wi = 0, Gi = [], Ki = 0, qi = null, Ji = 1, Yi = "";@@ -11826,12 +16820,12 @@ var If = /* @__PURE__ */ _(((e) => {Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, qi = e;var r = Ji;e = Yi;- var i = 32 - Qe(r) - 1;+ var i = 32 - Xe(r) - 1;r &= ~(1 << i), n += 1;- var a = 32 - Qe(t) + i;+ var a = 32 - Xe(t) + i;if (30 < a) {var o = i - i % 5;- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - Qe(t) + i | n << i | r, Yi = a + e;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - Xe(t) + i | n << i | r, Yi = a + e;} else Ji = 1 << a | n << i | r, Yi = e;}function Qi(e) {@@ -11850,39 +16844,39 @@ var If = /* @__PURE__ */ _(((e) => {}function ca(e) {var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[St] = e, t[Ct] = r, n) {+ switch (t[bt] = e, t[xt] = r, n) {case "dialog":- U("cancel", t), U("close", t);+ V("cancel", t), V("close", t);break;case "iframe":case "object":case "embed":- U("load", t);+ V("load", t);break;case "video":case "audio":- for (n = 0; n < Jf.length; n++) U(Jf[n], t);+ for (n = 0; n < Jf.length; n++) V(Jf[n], t);break;case "source":- U("error", t);+ V("error", t);break;case "img":case "image":case "link":- U("error", t), U("load", t);+ V("error", t), V("load", t);break;case "details":- U("toggle", t);+ V("toggle", t);break;case "input":- U("invalid", t), nn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ V("invalid", t), rn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":- U("invalid", t);+ V("invalid", t);break;- case "textarea": U("invalid", t), sn(t, r.value, r.defaultValue, r.children);+ case "textarea": V("invalid", t), cn(t, r.value, r.defaultValue, r.children);}- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || lp(t.textContent, n) ? (r.popover != null && (U("beforetoggle", t), U("toggle", t)), r.onScroll != null && U("scroll", t), r.onScrollEnd != null && U("scrollend", t), r.onClick != null && (t.onclick = gn), t = !0) : t = !1, t || sa(e, !0);+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || lp(t.textContent, n) ? (r.popover != null && (V("beforetoggle", t), V("toggle", t)), r.onScroll != null && V("scroll", t), r.onScrollEnd != null && V("scrollend", t), r.onClick != null && (t.onclick = _n), t = !0) : t = !1, t || sa(e, !0);}function la(e) {for (ta = e.return; ta;) switch (ta.tag) {@@ -11916,26 +16910,26 @@ var If = /* @__PURE__ */ _(((e) => {}function fa() {var e = ia;- return e !== null && (yd === null ? yd = e : yd.push.apply(yd, e), ia = null), e;+ return e !== null && (xd === null ? xd = e : xd.push.apply(xd, e), ia = null), e;}function pa(e) {ia === null ? ia = [e] : ia.push(e);}- var ma = _e(null), ha = null, ga = null;- function V(e, t, n) {- ye(ma, t._currentValue), t._currentValue = n;+ var ma = he(null), ha = null, ga = null;+ function _a(e, t, n) {+ _e(ma, t._currentValue), t._currentValue = n;}- function _a(e) {- e._currentValue = ma.current, ve(ma);+ function va(e) {+ e._currentValue = ma.current, ge(ma);}- function va(e, t, n) {+ function ya(e, t, n) {for (; e !== null;) {var r = e.alternate;if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;e = e.return;}}- function ya(e, t, n, r) {+ function ba(e, t, n, r) {var a = e.child;for (a !== null && (a.return = e); a !== null;) {var o = a.dependencies;@@ -11946,15 +16940,15 @@ var If = /* @__PURE__ */ _(((e) => {var c = o;o = a;for (var l = 0; l < t.length; l++) if (c.context === t[l]) {- o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), va(o.return, n, e), r || (s = null);+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ya(o.return, n, e), r || (s = null);break a;}o = c.next;}} else if (a.tag === 18) {if (s = a.return, s === null) throw Error(i(341));- s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), va(s, n, e), s = null;- } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), va(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ya(s, n, e), s = null;+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), ya(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;if (s !== null) s.return = a;else for (s = a; s !== null;) {if (s === e) {@@ -11970,7 +16964,7 @@ var If = /* @__PURE__ */ _(((e) => {a = s;}}- function ba(e, t, n, r) {+ function xa(e, t, n, r) {e = null;for (var a = t, o = !1; a !== null;) {if (!o) {@@ -11982,33 +16976,33 @@ var If = /* @__PURE__ */ _(((e) => {if (s === null) throw Error(i(387));if (s = s.memoizedProps, s !== null) {var c = a.type;- Rr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));+ zr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));}- } else if (a === Ce.current) {+ } else if (a === xe.current) {if (s = a.alternate, s === null) throw Error(i(387));- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [fh] : e.push(fh));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [_h] : e.push(_h));}a = a.return;}- return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;+ return e !== null && ba(t, e, n, r), t.flags |= 262144, e !== null;}- function xa(e) {+ function Sa(e) {for (e = e.firstContext; e !== null;) {- if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;+ if (!zr(e.context._currentValue, e.memoizedValue)) return !0;e = e.next;}return !1;}- function Sa(e) {- ha = e, ga = null, e = e.dependencies, e !== null && (e.firstContext = null);- }function Ca(e) {- return Ta(ha, e);+ ha = e, ga = null, e = e.dependencies, e !== null && (e.firstContext = null);}- function wa(e, t) {- return ha === null && Sa(e), Ta(e, t);+ function wa(e) {+ return Ea(ha, e);}function Ta(e, t) {+ return ha === null && Ca(e), Ea(e, t);+ }+ function Ea(e, t) {var n = t._currentValue;if (t = {context: t,@@ -12023,7 +17017,7 @@ var If = /* @__PURE__ */ _(((e) => {} else ga = ga.next = t;return n;}- var Ea = typeof AbortController < "u" ? AbortController : function() {+ var Da = typeof AbortController < "u" ? AbortController : function() {var e = [], t = this.signal = {aborted: !1,addEventListener: function(t, n) {@@ -12035,27 +17029,27 @@ var If = /* @__PURE__ */ _(((e) => {return e();});};- }, Da = t.unstable_scheduleCallback, Oa = t.unstable_NormalPriority, ka = {- $$typeof: ee,+ }, Oa = t.unstable_scheduleCallback, ka = t.unstable_NormalPriority, Aa = {+ $$typeof: N,Consumer: null,Provider: null,_currentValue: null,_currentValue2: null,_threadCount: 0};- function Aa() {+ function ja() {return {- controller: new Ea(),+ controller: new Da(),data: /* @__PURE__ */ new Map(),refCount: 0};}- function ja(e) {- e.refCount--, e.refCount === 0 && Da(Oa, function() {+ function Ma(e) {+ e.refCount--, e.refCount === 0 && Oa(ka, function() {e.controller.abort();});}- function Ma(e, t) {+ function Na(e, t) {if (e.pendingLanes & 4194048) {var n = e.transitionTypes;for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {@@ -12064,16 +17058,16 @@ var If = /* @__PURE__ */ _(((e) => {}}}- var Na = null;- function Pa(e) {+ var Pa = null;+ function Fa(e) {var t = e.transitionTypes;return e.transitionTypes = null, t;}- var Fa = null, Ia = 0, La = 0, Ra = null;- function za(e, t) {- if (Fa === null) {- var n = Fa = [];- Ia = 0, La = Uf(), Ra = {+ var Ia = null, La = 0, Ra = 0, za = null;+ function Ba(e, t) {+ if (Ia === null) {+ var n = Ia = [];+ La = 0, Ra = Uf(), za = {status: "pending",value: void 0,then: function(e) {@@ -12081,17 +17075,17 @@ var If = /* @__PURE__ */ _(((e) => {}};}- return Ia++, t.then(Ba, Ba), t;+ return La++, t.then(Va, Va), t;}- function Ba() {- if (--Ia === 0 && (Na = null, Fa !== null)) {- Ra !== null && (Ra.status = "fulfilled");- var e = Fa;- Fa = null, La = 0, Ra = null;+ function Va() {+ if (--La === 0 && (Pa = null, Ia !== null)) {+ za !== null && (za.status = "fulfilled");+ var e = Ia;+ Ia = null, Ra = 0, za = null;for (var t = 0; t < e.length; t++) (0, e[t])();}}- function Va(e, t) {+ function Ha(e, t) {var n = [], r = {status: "pending",value: null,@@ -12107,48 +17101,48 @@ var If = /* @__PURE__ */ _(((e) => {for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);}), r;}- var Ha = I.S;- I.S = function(e, t) {- if (Sd = Be(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = Of; n !== null;) Ma(n, Na), n = n.next;+ var Ua = R.S;+ R.S = function(e, t) {+ if (wd = Re(), typeof t == "object" && t && typeof t.then == "function" && Ba(e, t), Pa !== null) for (var n = Af; n !== null;) Na(n, Pa), n = n.next;if (n = e.types, n !== null) {- for (var r = Of; r !== null;) Ma(r, n), r = r.next;- if (La !== 0) {- r = Na, r === null && (r = Na = []);+ for (var r = Af; r !== null;) Na(r, n), r = r.next;+ if (Ra !== 0) {+ r = Pa, r === null && (r = Pa = []);for (var i = 0; i < n.length; i++) {var a = n[i];r.indexOf(a) === -1 && r.push(a);}}}- Ha !== null && Ha(e, t);+ Ua !== null && Ua(e, t);};- var Ua = _e(null);- function Wa() {- var e = Ua.current;- return e === null ? rd.pooledCache : e;+ var Wa = he(null);+ function Ga() {+ var e = Wa.current;+ return e === null ? ad.pooledCache : e;}- function Ga(e, t) {- t === null ? ye(Ua, Ua.current) : ye(Ua, t.pool);+ function Ka(e, t) {+ t === null ? _e(Wa, Wa.current) : _e(Wa, t.pool);}- function Ka() {- var e = Wa();+ function qa() {+ var e = Ga();return e === null ? null : {- parent: ka._currentValue,+ parent: Aa._currentValue,pool: e};}- var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };- function Za(e) {+ var Ja = Error(i(460)), Ya = Error(i(474)), Xa = Error(i(542)), Za = { then: function() {} };+ function Qa(e) {return e = e.status, e === "fulfilled" || e === "rejected";}- function Qa(e, t, n) {- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(gn, gn), t = n), t.status) {+ function $a(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(_n, _n), t = n), t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;+ case "rejected": throw e = t.reason, ro(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;default:- if (typeof t.status == "string") t.then(gn, gn);+ if (typeof t.status == "string") t.then(_n, _n);else {- if (e = rd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ if (e = ad, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));e = t, e.status = "pending", e.then(function(e) {if (t.status === "pending") {var n = t;@@ -12163,40 +17157,40 @@ var If = /* @__PURE__ */ _(((e) => {}switch (t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e;+ case "rejected": throw e = t.reason, ro(e), e;}- throw eo = t, qa;+ throw to = t, Ja;}}- function $a(e) {+ function eo(e) {try {var t = e._init;return t(e._payload);} catch (e) {- throw typeof e == "object" && e && typeof e.then == "function" ? (eo = e, qa) : e;+ throw typeof e == "object" && e && typeof e.then == "function" ? (to = e, Ja) : e;}}- var eo = null;- function to() {- if (eo === null) throw Error(i(459));- var e = eo;- return eo = null, e;+ var to = null;+ function no() {+ if (to === null) throw Error(i(459));+ var e = to;+ return to = null, e;}- function no(e) {- if (e === qa || e === Ya) throw Error(i(483));+ function ro(e) {+ if (e === Ja || e === Xa) throw Error(i(483));}- var ro = null, io = 0;- function ao(e) {- var t = io;- return io += 1, ro === null && (ro = []), Qa(ro, e, t);+ var io = null, ao = 0;+ function oo(e) {+ var t = ao;+ return ao += 1, io === null && (io = []), $a(io, e, t);}- function oo(e, t) {+ function so(e, t) {t = t.props.ref, e.ref = t === void 0 ? null : t;}- function so(e, t) {+ function co(e, t) {throw t.$$typeof === E ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));}- function co(e) {+ function lo(e) {function t(t, n) {if (e) {var r = t.deletions;@@ -12226,7 +17220,7 @@ var If = /* @__PURE__ */ _(((e) => {}function l(e, t, n, r) {var i = n.type;- return i === k ? (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 === re && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);+ return i === k ? (e = d(e, t, n.props.children, r, n.key), so(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === te && eo(i) === t.type) ? (t = a(t, n.props), so(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), so(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 = Ri(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);@@ -12238,14 +17232,14 @@ var If = /* @__PURE__ */ _(((e) => {if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Ii("" + t, e.mode, n), t.return = e, t;if (typeof t == "object" && t) {switch (t.$$typeof) {- case D: return n = Pi(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;+ case D: return n = Pi(t.type, t.key, t.props, null, e.mode, n), so(n, t), n.return = e, n;case O: return t = Ri(t, e.mode, n), t.return = e, t;- case re: return t = $a(t), f(e, t, n);+ case te: return t = eo(t), f(e, t, n);}- if (fe(t) || le(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;- if (typeof t.then == "function") return f(e, ao(t), n);- if (t.$$typeof === ee) return f(e, wa(e, t), n);- so(e, t);+ if (ue(t) || se(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, oo(t), n);+ if (t.$$typeof === N) return f(e, Ta(e, t), n);+ co(e, t);}return null;}@@ -12256,12 +17250,12 @@ var If = /* @__PURE__ */ _(((e) => {switch (n.$$typeof) {case D: return n.key === i ? l(e, t, n, r) : null;case O: return n.key === i ? u(e, t, n, r) : null;- case re: return n = $a(n), p(e, t, n, r);+ case te: return n = eo(n), p(e, t, n, r);}- if (fe(n) || le(n)) return i === null ? d(e, t, n, r, null) : null;- if (typeof n.then == "function") return p(e, t, ao(n), r);- if (n.$$typeof === ee) return p(e, t, wa(e, n), r);- so(e, n);+ if (ue(n) || se(n)) return i === null ? d(e, t, n, r, null) : null;+ if (typeof n.then == "function") return p(e, t, oo(n), r);+ if (n.$$typeof === N) return p(e, t, Ta(e, n), r);+ co(e, n);}return null;}@@ -12271,12 +17265,12 @@ var If = /* @__PURE__ */ _(((e) => {switch (r.$$typeof) {case D: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);case O: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);- case re: return r = $a(r), m(e, t, n, r, i);+ case te: return r = eo(r), m(e, t, n, r, i);}- if (fe(r) || le(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);- if (r.$$typeof === ee) return m(e, t, n, wa(t, r), i);- so(t, r);+ 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, oo(r), i);+ if (r.$$typeof === N) return m(e, t, n, Ta(t, r), i);+ co(t, r);}return null;}@@ -12330,11 +17324,11 @@ var If = /* @__PURE__ */ _(((e) => {if (r.key === l) {if (l = o.type, l === k) {if (r.tag === 7) {- n(e, r.sibling), c = a(r, o.props.children), oo(c, o), c.return = e, e = c;+ n(e, r.sibling), c = a(r, o.props.children), so(c, o), c.return = e, e = c;break a;}- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === re && $a(l) === r.type) {- n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === te && eo(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), so(c, o), c.return = e, e = c;break a;}n(e, r);@@ -12342,7 +17336,7 @@ var If = /* @__PURE__ */ _(((e) => {}t(e, r), r = r.sibling;}- o.type === k ? (c = Fi(o.props.children, e.mode, c, o.key), oo(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), oo(c, o), c.return = e, e = c);+ o.type === k ? (c = Fi(o.props.children, e.mode, c, o.key), so(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), so(c, o), c.return = e, e = c);}return s(e);case O:@@ -12361,33 +17355,33 @@ var If = /* @__PURE__ */ _(((e) => {c = Ri(o, e.mode, c), c.return = e, e = c;}return s(e);- case re: return o = $a(o), _(e, r, o, c);+ case te: return o = eo(o), _(e, r, o, c);}- if (fe(o)) return h(e, r, o, c);- if (le(o)) {- if (l = le(o), typeof l != "function") throw Error(i(150));+ if (ue(o)) return h(e, r, o, c);+ if (se(o)) {+ if (l = se(o), typeof l != "function") throw Error(i(150));return o = l.call(o), g(e, r, o, c);}- if (typeof o.then == "function") return _(e, r, ao(o), c);- if (o.$$typeof === ee) return _(e, r, wa(e, o), c);- so(e, o);+ if (typeof o.then == "function") return _(e, r, oo(o), c);+ if (o.$$typeof === N) return _(e, r, Ta(e, o), c);+ co(e, o);}return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Ii(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}return function(e, t, n, r) {try {- io = 0;+ ao = 0;var i = _(e, t, n, r);- return ro = null, i;+ return io = null, i;} catch (t) {- if (t === qa || t === Ya) throw t;+ if (t === Ja || t === Xa) throw t;var a = Ai(29, t, null, e.mode);return a.lanes = r, a.return = e, a;}};}- var lo = co(!0), uo = co(!1), fo = !1;- function po(e) {+ var uo = lo(!0), fo = lo(!1), po = !1;+ function mo(e) {e.updateQueue = {baseState: e.memoizedState,firstBaseUpdate: null,@@ -12400,7 +17394,7 @@ var If = /* @__PURE__ */ _(((e) => {callbacks: null};}- function mo(e, t) {+ function ho(e, t) {e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {baseState: e.baseState,firstBaseUpdate: e.firstBaseUpdate,@@ -12409,7 +17403,7 @@ var If = /* @__PURE__ */ _(((e) => {callbacks: null});}- function ho(e) {+ function go(e) {return {lane: e,tag: 0,@@ -12418,22 +17412,22 @@ var If = /* @__PURE__ */ _(((e) => {next: null};}- function go(e, t, n) {+ function _o(e, t, n) {var r = e.updateQueue;if (r === null) return null;- if (r = r.shared, nd & 2) {+ if (r = r.shared, id & 2) {var i = r.pending;return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Di(e), Ei(e, null, n), t;}return Ci(e, r, t, n), Di(e);}- function _o(e, t, n) {+ function vo(e, t, n) {if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);+ r &= e.pendingLanes, n |= r, t.lanes = n, pt(e, n);}}- function vo(e, t) {+ function yo(e, t) {var n = e.updateQueue, r = e.alternate;if (r !== null && (r = r.updateQueue, n === r)) {var i = null, a = null;@@ -12461,17 +17455,17 @@ var If = /* @__PURE__ */ _(((e) => {}e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;}- var yo = !1;- function bo() {- if (yo) {- var e = Ra;+ var bo = !1;+ function xo() {+ if (bo) {+ var e = za;if (e !== null) throw e;}}- function xo(e, t, n, r) {- yo = !1;+ function So(e, t, n, r) {+ bo = !1;var i = e.updateQueue;- fo = !1;+ po = !1;var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;if (s !== null) {i.shared.pending = null;@@ -12485,8 +17479,8 @@ var If = /* @__PURE__ */ _(((e) => {o = 0, u = l = c = null, s = a;do {var f = s.lane & -536870913, p = f !== s.lane;- if (p ? (ad & f) === f : (r & f) === f) {- f !== 0 && f === La && (yo = !0), u !== null && (u = u.next = {+ if (p ? (sd & f) === f : (r & f) === f) {+ f !== 0 && f === Ra && (bo = !0), u !== null && (u = u.next = {lane: 0,tag: s.tag,payload: s.payload,@@ -12510,7 +17504,7 @@ var If = /* @__PURE__ */ _(((e) => {if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;d = T({}, d, f);break a;- case 2: fo = !0;+ case 2: po = !0;}}f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));@@ -12526,52 +17520,52 @@ var If = /* @__PURE__ */ _(((e) => {p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;}} while (1);- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), pd |= o, e.lanes = o, e.memoizedState = d;+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), hd |= o, e.lanes = o, e.memoizedState = d;}}- function So(e, t) {+ function Co(e, t) {if (typeof e != "function") throw Error(i(191, e));e.call(t);}- function Co(e, t) {+ function wo(e, t) {var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);- }- var wo = _e(null), To = _e(0);- function Eo(e, t) {- e = dd, ye(To, e), ye(wo, t), dd = e | t.baseLanes;+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) Co(n[e], t);}- function Do() {- ye(To, dd), ye(wo, wo.current);+ var To = he(null), Eo = he(0);+ function Do(e, t) {+ e = pd, _e(Eo, e), _e(To, t), pd = e | t.baseLanes;}function Oo() {- dd = To.current, ve(wo), ve(To);+ _e(Eo, pd), _e(To, To.current);}- var ko = _e(null), Ao = null;- function jo(e) {- var t = e.alternate;- ye(Io, Io.current & 1), ye(ko, e), Ao === null && (t === null || wo.current !== null || t.memoizedState !== null) && (Ao = e);+ function ko() {+ pd = Eo.current, ge(To), ge(Eo);}+ var Ao = he(null), jo = null;function Mo(e) {- ye(Io, Io.current), ye(ko, e), Ao === null && (Ao = e);+ var t = e.alternate;+ _e(Lo, Lo.current & 1), _e(Ao, e), jo === null && (t === null || To.current !== null || t.memoizedState !== null) && (jo = e);}function No(e) {- e.tag === 22 ? (ye(Io, Io.current), ye(ko, e), Ao === null && (Ao = e)) : Po();+ _e(Lo, Lo.current), _e(Ao, e), jo === null && (jo = e);}- function Po() {- ye(Io, Io.current), ye(ko, ko.current);+ function Po(e) {+ e.tag === 22 ? (_e(Lo, Lo.current), _e(Ao, e), jo === null && (jo = e)) : Fo();}- function Fo(e) {- ve(ko), Ao === e && (Ao = null), ve(Io);+ function Fo() {+ _e(Lo, Lo.current), _e(Ao, Ao.current);}- var Io = _e(0);- function Lo(e, t) {- ye(ko, ko.current), ye(Io, t);+ function Io(e) {+ ge(Ao), jo === e && (jo = null), ge(Lo);}- function Ro(e) {- ve(Io), ve(ko), Ao === e && (Ao = null);+ var Lo = he(0);+ function Ro(e, t) {+ _e(Ao, Ao.current), _e(Lo, t);}function zo(e) {+ ge(Lo), ge(Ao), jo === e && (jo = null);+ }+ function Bo(e) {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;@@ -12591,59 +17585,59 @@ var If = /* @__PURE__ */ _(((e) => {}return null;}- var Bo = 0, H = null, Vo = null, Ho = null, Uo = !1, Wo = !1, Go = !1, Ko = 0, qo = 0, Jo = null, Yo = 0;- function Xo() {+ var Vo = 0, Ho = null, Uo = null, Wo = null, Go = !1, Ko = !1, qo = !1, Jo = 0, Yo = 0, Xo = null, Zo = 0;+ function Qo() {throw Error(i(321));}- function Zo(e, t) {+ function $o(e, t) {if (t === null) return !1;- for (var n = 0; n < t.length && n < e.length; n++) if (!Rr(e[n], t[n])) return !1;+ for (var n = 0; n < t.length && n < e.length; n++) if (!zr(e[n], t[n])) return !1;return !0;}- function Qo(e, t, n, r, i, a) {- return Bo = a, H = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, I.H = e === null || e.memoizedState === null ? hc : gc, Go = !1, a = n(r, i), Go = !1, Wo && (a = es(t, n, r, i)), $o(e), a;+ function es(e, t, n, r, i, a) {+ return Vo = a, Ho = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, R.H = e === null || e.memoizedState === null ? _c : vc, qo = !1, a = n(r, i), qo = !1, Ko && (a = ns(t, n, r, i)), ts(e), a;}- function $o(e) {- I.H = mc;- var t = Vo !== null && Vo.next !== null;- if (Bo = 0, Ho = Vo = H = null, Uo = !1, qo = 0, Jo = null, t) throw Error(i(300));- e === null || Nc || (e = e.dependencies, e !== null && xa(e) && (Nc = !0));+ function ts(e) {+ R.H = gc;+ var t = Uo !== null && Uo.next !== null;+ if (Vo = 0, Wo = Uo = Ho = null, Go = !1, Yo = 0, Xo = null, t) throw Error(i(300));+ e === null || Fc || (e = e.dependencies, e !== null && Sa(e) && (Fc = !0));}- function es(e, t, n, r) {- H = e;+ function ns(e, t, n, r) {+ Ho = e;var a = 0;do {- if (Wo && (Jo = null), qo = 0, Wo = !1, 25 <= a) throw Error(i(301));- if (a += 1, Ho = Vo = null, e.updateQueue != null) {+ if (Ko && (Xo = null), Yo = 0, Ko = !1, 25 <= a) throw Error(i(301));+ if (a += 1, Wo = Uo = null, e.updateQueue != null) {var o = e.updateQueue;o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);}- I.H = _c, o = t(n, r);- } while (Wo);+ R.H = yc, o = t(n, r);+ } while (Ko);return o;}- function ts() {- var e = I.H, t = e.useState()[0];- return t = typeof t.then == "function" ? cs(t) : t, e = e.useState()[0], (Vo === null ? null : Vo.memoizedState) !== e && (H.flags |= 1024), t;+ function rs() {+ var e = R.H, t = e.useState()[0];+ return t = typeof t.then == "function" ? us(t) : t, e = e.useState()[0], (Uo === null ? null : Uo.memoizedState) !== e && (Ho.flags |= 1024), t;}- function ns() {- var e = Ko !== 0;- return Ko = 0, e;+ function is() {+ var e = Jo !== 0;+ return Jo = 0, e;}- function rs(e, t, n) {+ function as(e, t, n) {t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;}- function is(e) {- if (Uo) {+ function os(e) {+ if (Go) {for (e = e.memoizedState; e !== null;) {var t = e.queue;t !== null && (t.pending = null), e = e.next;}- Uo = !1;+ Go = !1;}- Bo = 0, Ho = Vo = H = null, Wo = !1, qo = Ko = 0, Jo = null;+ Vo = 0, Wo = Uo = Ho = null, Ko = !1, Yo = Jo = 0, Xo = null;}- function as() {+ function ss() {var e = {memoizedState: null,baseState: null,@@ -12651,28 +17645,28 @@ var If = /* @__PURE__ */ _(((e) => {queue: null,next: null};- return Ho === null ? H.memoizedState = Ho = e : Ho = Ho.next = e, Ho;+ return Wo === null ? Ho.memoizedState = Wo = e : Wo = Wo.next = e, Wo;}- function os() {- if (Vo === null) {- var e = H.alternate;+ function cs() {+ if (Uo === null) {+ var e = Ho.alternate;e = e === null ? null : e.memoizedState;- } else e = Vo.next;- var t = Ho === null ? H.memoizedState : Ho.next;- if (t !== null) Ho = t, Vo = e;+ } else e = Uo.next;+ var t = Wo === null ? Ho.memoizedState : Wo.next;+ if (t !== null) Wo = t, Uo = e;else {- if (e === null) throw H.alternate === null ? Error(i(467)) : Error(i(310));- Vo = e, e = {- memoizedState: Vo.memoizedState,- baseState: Vo.baseState,- baseQueue: Vo.baseQueue,- queue: Vo.queue,+ if (e === null) throw Ho.alternate === null ? Error(i(467)) : Error(i(310));+ Uo = e, e = {+ memoizedState: Uo.memoizedState,+ baseState: Uo.baseState,+ baseQueue: Uo.baseQueue,+ queue: Uo.queue,next: null- }, Ho === null ? H.memoizedState = Ho = e : Ho = Ho.next = e;+ }, Wo === null ? Ho.memoizedState = Wo = e : Wo = Wo.next = e;}- return Ho;+ return Wo;}- function ss() {+ function ls() {return {lastEffect: null,events: null,@@ -12680,22 +17674,22 @@ var If = /* @__PURE__ */ _(((e) => {memoCache: null};}- function cs(e) {- var t = qo;- return qo += 1, Jo === null && (Jo = []), e = Qa(Jo, e, t), t = H, (Ho === null ? t.memoizedState : Ho.next) === null && (t = t.alternate, I.H = t === null || t.memoizedState === null ? hc : gc), e;+ function us(e) {+ var t = Yo;+ return Yo += 1, Xo === null && (Xo = []), e = $a(Xo, e, t), t = Ho, (Wo === null ? t.memoizedState : Wo.next) === null && (t = t.alternate, R.H = t === null || t.memoizedState === null ? _c : vc), e;}- function ls(e) {+ function ds(e) {if (typeof e == "object" && e) {- if (typeof e.then == "function") return cs(e);- if (e.$$typeof === se) return;- if (e.$$typeof === ee) return Ca(e);+ if (typeof e.then == "function") return us(e);+ if (e.$$typeof === ae) return;+ if (e.$$typeof === N) return wa(e);}throw Error(i(438, String(e)));}- function us(e) {- var t = null, n = H.updateQueue;+ function fs(e) {+ var t = null, n = Ho.updateQueue;if (n !== null && (t = n.memoCache), t == null) {- var r = H.alternate;+ var r = Ho.alternate;r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {data: r.data.map(function(e) {return e.slice();@@ -12706,16 +17700,16 @@ var If = /* @__PURE__ */ _(((e) => {if (t ??= {data: [],index: 0- }, n === null && (n = ss(), H.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] = ae;+ }, n === null && (n = ls(), Ho.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] = re;return t.index++, n;}- function ds(e, t) {+ function ps(e, t) {return typeof t == "function" ? t(e) : t;}- function fs(e) {- return ps(os(), Vo, e);+ function ms(e) {+ return hs(cs(), Uo, e);}- function ps(e, t, n) {+ function hs(e, t, n) {var r = e.queue;if (r === null) throw Error(i(311));r.lastRenderedReducer = n;@@ -12733,7 +17727,7 @@ var If = /* @__PURE__ */ _(((e) => {var c = s = null, l = null, u = t, d = !1;do {var f = u.lane & -536870913;- if (f === u.lane ? (Bo & f) === f : (ad & f) === f) {+ if (f === u.lane ? (Vo & f) === f : (sd & f) === f) {var p = u.revertLane;if (p === 0) l !== null && (l = l.next = {lane: 0,@@ -12743,9 +17737,9 @@ var If = /* @__PURE__ */ _(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }), f === La && (d = !0);- else if ((Bo & p) === p) {- u = u.next, p === La && (d = !0);+ }), f === Ra && (d = !0);+ else if ((Vo & p) === p) {+ u = u.next, p === Ra && (d = !0);continue;} else f = {lane: 0,@@ -12755,8 +17749,8 @@ var If = /* @__PURE__ */ _(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = f, s = o) : l = l.next = f, H.lanes |= p, pd |= p;- f = u.action, Go && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);+ }, l === null ? (c = l = f, s = o) : l = l.next = f, Ho.lanes |= p, hd |= p;+ f = u.action, qo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);} else p = {lane: f,revertLane: u.revertLane,@@ -12765,16 +17759,16 @@ var If = /* @__PURE__ */ _(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = p, s = o) : l = l.next = p, H.lanes |= f, pd |= f;+ }, l === null ? (c = l = p, s = o) : l = l.next = p, Ho.lanes |= f, hd |= f;u = u.next;} while (u !== null && u !== t);- if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (Nc = !0, d && (n = Ra, n !== null))) throw n;+ if (l === null ? s = o : l.next = c, !zr(o, e.memoizedState) && (Fc = !0, d && (n = za, n !== null))) throw n;e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;}return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];}- function ms(e) {- var t = os(), n = t.queue;+ function gs(e) {+ var t = cs(), n = t.queue;if (n === null) throw Error(i(311));n.lastRenderedReducer = e;var r = n.dispatch, a = n.pending, o = t.memoizedState;@@ -12784,61 +17778,61 @@ var If = /* @__PURE__ */ _(((e) => {doo = e(o, s.action), s = s.next;while (s !== a);- Rr(o, t.memoizedState) || (Nc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;+ zr(o, t.memoizedState) || (Fc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;}return [o, r];}- function hs(e, t, n) {- var r = H, a = os(), o = ra;+ function _s(e, t, n) {+ var r = Ho, a = cs(), o = ra;if (o) {if (n === void 0) throw Error(i(407));n = n();} else n = t();- var s = !Rr((Vo || a).memoizedState, n);- if (s && (a.memoizedState = n, Nc = !0), a = a.queue, Bs(vs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Ho !== null && !!(Ho.memoizedState.tag & 1), Fs(e ? 9 : 8, { destroy: void 0 }, _s.bind(null, r, a, n, t), null), e) {- if (r.flags |= 2048, rd === null) throw Error(i(349));- o || Bo & 127 || gs(r, t, n);+ var s = !zr((Uo || a).memoizedState, n);+ if (s && (a.memoizedState = n, Fc = !0), a = a.queue, Hs(bs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Wo !== null && !!(Wo.memoizedState.tag & 1), Ls(e ? 9 : 8, { destroy: void 0 }, ys.bind(null, r, a, n, t), null), e) {+ if (r.flags |= 2048, ad === null) throw Error(i(349));+ o || Vo & 127 || vs(r, t, n);}return n;}- function gs(e, t, n) {+ function vs(e, t, n) {e.flags |= 16384, e = {getSnapshot: t,value: n- }, t = H.updateQueue, t === null ? (t = ss(), H.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));+ }, t = Ho.updateQueue, t === null ? (t = ls(), Ho.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));}- function _s(e, t, n, r) {- t.value = n, t.getSnapshot = r, ys(t) && bs(e);+ function ys(e, t, n, r) {+ t.value = n, t.getSnapshot = r, xs(t) && Ss(e);}- function vs(e, t, n) {+ function bs(e, t, n) {return n(function() {- ys(t) && bs(e);+ xs(t) && Ss(e);});}- function ys(e) {+ function xs(e) {var t = e.getSnapshot;e = e.value;try {var n = t();- return !Rr(e, n);+ return !zr(e, n);} catch {return !0;}}- function bs(e) {+ function Ss(e) {var t = Ti(e, 2);- t !== null && Vd(t, e, 2);+ t !== null && Ud(t, e, 2);}- function xs(e) {- var t = as();+ function Cs(e) {+ var t = ss();if (typeof e == "function") {var n = e;- if (e = n(), Go) {- Ze(!0);+ if (e = n(), qo) {+ Ye(!0);try {n();} finally {- Ze(!1);+ Ye(!1);}}}@@ -12846,15 +17840,15 @@ var If = /* @__PURE__ */ _(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: ds,+ lastRenderedReducer: ps,lastRenderedState: e}, t;}- function Ss(e, t, n, r) {- return e.baseState = n, ps(e, Vo, typeof r == "function" ? r : ds);+ function ws(e, t, n, r) {+ return e.baseState = n, hs(e, Uo, typeof r == "function" ? r : ps);}- function Cs(e, t, n, r, a) {- if (dc(e)) throw Error(i(485));+ function Ts(e, t, n, r, a) {+ if (pc(e)) throw Error(i(485));if (e = t.action, e !== null) {var o = {payload: a,@@ -12869,61 +17863,61 @@ var If = /* @__PURE__ */ _(((e) => {o.listeners.push(e);}};- I.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, ws(t, o)) : (o.next = n.next, t.pending = n.next = o);+ R.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Es(t, o)) : (o.next = n.next, t.pending = n.next = o);}}- function ws(e, t) {+ function Es(e, t) {var n = t.action, r = t.payload, i = e.state;if (t.isTransition) {- var a = I.T, o = {};- o.types = a === null ? null : a.types, I.T = o;+ var a = R.T, o = {};+ o.types = a === null ? null : a.types, R.T = o;try {- var s = n(i, r), c = I.S;- c !== null && c(o, s), Ts(e, t, s);+ var s = n(i, r), c = R.S;+ c !== null && c(o, s), Ds(e, t, s);} catch (n) {- Ds(e, t, n);+ ks(e, t, n);} finally {- a !== null && o.types !== null && (a.types = o.types), I.T = a;+ a !== null && o.types !== null && (a.types = o.types), R.T = a;}} else try {- a = n(i, r), Ts(e, t, a);+ a = n(i, r), Ds(e, t, a);} catch (n) {- Ds(e, t, n);+ ks(e, t, n);}}- function Ts(e, t, n) {+ function Ds(e, t, n) {typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {- Es(e, t, n);+ Os(e, t, n);}, function(n) {- return Ds(e, t, n);- }) : Es(e, t, n);+ return ks(e, t, n);+ }) : Os(e, t, n);}- function Es(e, t, n) {- t.status = "fulfilled", t.value = n, Os(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, ws(e, n)));+ function Os(e, t, n) {+ t.status = "fulfilled", t.value = n, As(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Es(e, n)));}- function Ds(e, t, n) {+ function ks(e, t, n) {var r = e.pending;if (e.pending = null, r !== null) {r = r.next;do- t.status = "rejected", t.reason = n, Os(t), t = t.next;+ t.status = "rejected", t.reason = n, As(t), t = t.next;while (t !== r);}e.action = null;}- function Os(e) {+ function As(e) {e = e.listeners;for (var t = 0; t < e.length; t++) (0, e[t])();}- function ks(e, t) {+ function js(e, t) {return t;}- function As(e, t) {+ function Ms(e, t) {if (ra) {- var n = rd.formState;+ var n = ad.formState;if (n !== null) {a: {- var r = H;+ var r = Ho;if (ra) {if (na) {b: {@@ -12951,48 +17945,48 @@ var If = /* @__PURE__ */ _(((e) => {r && (t = n[0]);}}- return n = as(), n.memoizedState = n.baseState = t, r = {+ return n = ss(), n.memoizedState = n.baseState = t, r = {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: ks,+ lastRenderedReducer: js,lastRenderedState: t- }, n.queue = r, n = cc.bind(null, H, r), r.dispatch = n, r = xs(!1), a = uc.bind(null, H, !1, r.queue), r = as(), i = {+ }, n.queue = r, n = uc.bind(null, Ho, r), r.dispatch = n, r = Cs(!1), a = fc.bind(null, Ho, !1, r.queue), r = ss(), i = {state: t,dispatch: null,action: e,pending: null- }, r.queue = i, n = Cs.bind(null, H, i, a, n), i.dispatch = n, r.memoizedState = e, [+ }, r.queue = i, n = Ts.bind(null, Ho, i, a, n), i.dispatch = n, r.memoizedState = e, [t,n,!1];}- function js(e) {- return Ms(os(), Vo, e);+ function Ns(e) {+ return Ps(cs(), Uo, e);}- function Ms(e, t, n) {- if (t = ps(e, t, ks)[0], e = fs(ds)[0], typeof t == "object" && t && typeof t.then == "function") try {- var r = cs(t);+ function Ps(e, t, n) {+ if (t = hs(e, t, js)[0], e = ms(ps)[0], typeof t == "object" && t && typeof t.then == "function") try {+ var r = us(t);} catch (e) {- throw e === qa ? Ya : e;+ throw e === Ja ? Xa : e;}else r = t;- t = os();+ t = cs();var i = t.queue, a = i.dispatch;- return n !== t.memoizedState && (H.flags |= 2048, Fs(9, { destroy: void 0 }, Ns.bind(null, i, n), null)), [+ return n !== t.memoizedState && (Ho.flags |= 2048, Ls(9, { destroy: void 0 }, Fs.bind(null, i, n), null)), [r,a,e];}- function Ns(e, t) {+ function Fs(e, t) {e.action = t;}- function Ps(e) {- var t = os(), n = Vo;- if (n !== null) return Ms(t, n, e);- os(), t = t.memoizedState, n = os();+ function Is(e) {+ var t = cs(), n = Uo;+ if (n !== null) return Ps(t, n, e);+ cs(), t = t.memoizedState, n = cs();var r = n.queue.dispatch;return n.memoizedState = e, [t,@@ -13000,60 +17994,60 @@ var If = /* @__PURE__ */ _(((e) => {!1];}- function Fs(e, t, n, r) {+ function Ls(e, t, n, r) {return e = {tag: e,create: n,deps: r,inst: t,next: null- }, t = H.updateQueue, t === null && (t = ss(), H.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;+ }, t = Ho.updateQueue, t === null && (t = ls(), Ho.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;}- function Is() {- return os().memoizedState;+ function Rs() {+ return cs().memoizedState;}- function Ls(e, t, n, r) {- var i = as();- H.flags |= e, i.memoizedState = Fs(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);+ function zs(e, t, n, r) {+ var i = ss();+ Ho.flags |= e, i.memoizedState = Ls(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);}- function Rs(e, t, n, r) {- var i = os();+ function Bs(e, t, n, r) {+ var i = cs();r = r === void 0 ? null : r;var a = i.memoizedState.inst;- Vo !== null && r !== null && Zo(r, Vo.memoizedState.deps) ? i.memoizedState = Fs(t, a, n, r) : (H.flags |= e, i.memoizedState = Fs(1 | t, a, n, r));+ Uo !== null && r !== null && $o(r, Uo.memoizedState.deps) ? i.memoizedState = Ls(t, a, n, r) : (Ho.flags |= e, i.memoizedState = Ls(1 | t, a, n, r));}- function zs(e, t) {- Ls(8390656, 8, e, t);+ function Vs(e, t) {+ zs(8390656, 8, e, t);}- function Bs(e, t) {- Rs(2048, 8, e, t);+ function Hs(e, t) {+ Bs(2048, 8, e, t);}- function Vs(e) {- H.flags |= 4;- var t = H.updateQueue;- if (t === null) t = ss(), H.updateQueue = t, t.events = [e];+ function Us(e) {+ Ho.flags |= 4;+ var t = Ho.updateQueue;+ if (t === null) t = ls(), Ho.updateQueue = t, t.events = [e];else {var n = t.events;n === null ? t.events = [e] : n.push(e);}}- function Hs(e) {- var t = os().memoizedState;- return Vs({+ function Ws(e) {+ var t = cs().memoizedState;+ return Us({ref: t,nextImpl: e}), function() {- if (nd & 2) throw Error(i(440));+ if (id & 2) throw Error(i(440));return t.impl.apply(void 0, arguments);};}- function Us(e, t) {- return Rs(4, 2, e, t);+ function Gs(e, t) {+ return Bs(4, 2, e, t);}- function Ws(e, t) {- return Rs(4, 4, e, t);+ function Ks(e, t) {+ return Bs(4, 4, e, t);}- function Gs(e, t) {+ function qs(e, t) {if (typeof t == "function") {e = e();var n = t(e);@@ -13065,76 +18059,76 @@ var If = /* @__PURE__ */ _(((e) => {t.current = null;};}- function Ks(e, t, n) {- n = n == null ? null : n.concat([e]), Rs(4, 4, Gs.bind(null, t, e), n);+ function Js(e, t, n) {+ n = n == null ? null : n.concat([e]), Bs(4, 4, qs.bind(null, t, e), n);}- function qs() {}- function Js(e, t) {- var n = os();+ function Ys() {}+ function Xs(e, t) {+ var n = cs();t = t === void 0 ? null : t;var r = n.memoizedState;- return t !== null && Zo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);+ return t !== null && $o(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);}- function Ys(e, t) {- var n = os();+ function Zs(e, t) {+ var n = cs();t = t === void 0 ? null : t;var r = n.memoizedState;- if (t !== null && Zo(t, r[1])) return r[0];- if (r = e(), Go) {- Ze(!0);+ if (t !== null && $o(t, r[1])) return r[0];+ if (r = e(), qo) {+ Ye(!0);try {e();} finally {- Ze(!1);+ Ye(!1);}}return n.memoizedState = [r, t], r;}- function Xs(e, t, n) {- return n === void 0 || Bo & 1073741824 && !(ad & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = zd(), H.lanes |= e, pd |= e, n);+ function Qs(e, t, n) {+ return n === void 0 || Vo & 1073741824 && !(sd & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Vd(), Ho.lanes |= e, hd |= e, n);}- function Zs(e, t, n, r) {- return Rr(n, t) ? n : wo.current === null ? !(Bo & 106) || Bo & 1073741824 && !(ad & 261930) ? (Nc = !0, e.memoizedState = n) : (e = zd(), H.lanes |= e, pd |= e, t) : (e = Xs(e, n, r), Rr(e, t) || (Nc = !0), e);+ function $s(e, t, n, r) {+ return zr(n, t) ? n : To.current === null ? !(Vo & 106) || Vo & 1073741824 && !(sd & 261930) ? (Fc = !0, e.memoizedState = n) : (e = Vd(), Ho.lanes |= e, hd |= e, t) : (e = Qs(e, n, r), zr(e, t) || (Fc = !0), e);}- function Qs(e, t, n, r, i) {- var a = pe.p;- pe.p = a !== 0 && 8 > a ? a : 8;- var o = I.T, s = {};- s.types = o === null ? null : o.types, I.T = s, uc(e, !1, t, n);+ function ec(e, t, n, r, i) {+ var a = de.p;+ de.p = a !== 0 && 8 > a ? a : 8;+ var o = R.T, s = {};+ s.types = o === null ? null : o.types, R.T = s, fc(e, !1, t, n);try {- var c = i(), l = I.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? lc(e, t, Va(c, r), Rd(e)) : lc(e, t, r, Rd(e));+ var c = i(), l = R.S;+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? dc(e, t, Ha(c, r), Bd(e)) : dc(e, t, r, Bd(e));} catch (n) {- lc(e, t, {+ dc(e, t, {then: function() {},status: "rejected",reason: n- }, Rd());+ }, Bd());} finally {- pe.p = a, o !== null && s.types !== null && (o.types = s.types), I.T = o;+ de.p = a, o !== null && s.types !== null && (o.types = s.types), R.T = o;}}- function $s() {}- function ec(e, t, n, r) {+ function tc() {}+ function nc(e, t, n, r) {if (e.tag !== 5) throw Error(i(476));- var a = tc(e).queue;- Qs(e, a, t, me, n === null ? $s : function() {- return nc(e), n(r);+ var a = rc(e).queue;+ ec(e, a, t, fe, n === null ? tc : function() {+ return ic(e), n(r);});}- function tc(e) {+ function rc(e) {var t = e.memoizedState;if (t !== null) return t;t = {- memoizedState: me,- baseState: me,+ memoizedState: fe,+ baseState: fe,baseQueue: null,queue: {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: ds,- lastRenderedState: me+ lastRenderedReducer: ps,+ lastRenderedState: fe},next: null};@@ -13147,41 +18141,41 @@ var If = /* @__PURE__ */ _(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: ds,+ lastRenderedReducer: ps,lastRenderedState: n},next: null}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;}- function nc(e) {- var t = tc(e);- t.next === null && (t = e.alternate.memoizedState), lc(e, t.next.queue, {}, Rd());+ function ic(e) {+ var t = rc(e);+ t.next === null && (t = e.alternate.memoizedState), dc(e, t.next.queue, {}, Bd());}- function rc() {- return Ca(fh);+ function ac() {+ return wa(_h);}- function ic() {- return os().memoizedState;+ function oc() {+ return cs().memoizedState;}- function ac() {- return os().memoizedState;+ function sc() {+ return cs().memoizedState;}- function oc(e) {+ function cc(e) {for (var t = e.return; t !== null;) {switch (t.tag) {case 24:case 3:- var n = Rd();- e = ho(n);- var r = go(t, e, n);- r !== null && (Vd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;+ var n = Bd();+ e = go(n);+ var r = _o(t, e, n);+ r !== null && (Ud(r, t, n), vo(r, t, n)), t = { cache: ja() }, e.payload = t;return;}t = t.return;}}- function sc(e, t, n) {- var r = Rd();+ function lc(e, t, n) {+ var r = Bd();n = {lane: r,revertLane: 0,@@ -13190,12 +18184,12 @@ var If = /* @__PURE__ */ _(((e) => {hasEagerState: !1,eagerState: null,next: null- }, dc(e) ? fc(t, n) : (n = wi(e, t, n, r), n !== null && (Vd(n, e, r), pc(n, t, r)));+ }, pc(e) ? mc(t, n) : (n = wi(e, t, n, r), n !== null && (Ud(n, e, r), hc(n, t, r)));}- function cc(e, t, n) {- lc(e, t, n, Rd());+ function uc(e, t, n) {+ dc(e, t, n, Bd());}- function lc(e, t, n, r) {+ function dc(e, t, n, r) {var i = {lane: r,revertLane: 0,@@ -13205,18 +18199,18 @@ var If = /* @__PURE__ */ _(((e) => {eagerState: null,next: null};- if (dc(e)) fc(t, i);+ if (pc(e)) mc(t, i);else {var a = e.alternate;if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {var o = t.lastRenderedState, s = a(o, n);- if (i.hasEagerState = !0, i.eagerState = s, Rr(s, o)) return Ci(e, t, i, 0), rd === null && Si(), !1;+ if (i.hasEagerState = !0, i.eagerState = s, zr(s, o)) return Ci(e, t, i, 0), ad === null && Si(), !1;} catch {}- if (n = wi(e, t, i, r), n !== null) return Vd(n, e, r), pc(n, t, r), !0;+ if (n = wi(e, t, i, r), n !== null) return Ud(n, e, r), hc(n, t, r), !0;}return !1;}- function uc(e, t, n, r) {+ function fc(e, t, n, r) {if (r = {lane: 2,revertLane: Uf(),@@ -13225,91 +18219,91 @@ var If = /* @__PURE__ */ _(((e) => {hasEagerState: !1,eagerState: null,next: null- }, dc(e)) {+ }, pc(e)) {if (t) throw Error(i(479));- } else t = wi(e, n, r, 2), t !== null && Vd(t, e, 2);+ } else t = wi(e, n, r, 2), t !== null && Ud(t, e, 2);}- function dc(e) {+ function pc(e) {var t = e.alternate;- return e === H || t !== null && t === H;+ return e === Ho || t !== null && t === Ho;}- function fc(e, t) {- Wo = Uo = !0;+ function mc(e, t) {+ Ko = Go = !0;var n = e.pending;n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;}- function pc(e, t, n) {+ function hc(e, t, n) {if (n & 4194048) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);- }- }- var mc = {- readContext: Ca,- use: ls,- useCallback: Xo,- useContext: Xo,- useEffect: Xo,- useImperativeHandle: Xo,- useLayoutEffect: Xo,- useInsertionEffect: Xo,- useMemo: Xo,- useReducer: Xo,- useRef: Xo,- useState: Xo,- useDebugValue: Xo,- useDeferredValue: Xo,- useTransition: Xo,- useSyncExternalStore: Xo,- useId: Xo,- useHostTransitionStatus: Xo,- useFormState: Xo,- useActionState: Xo,- useOptimistic: Xo,- useMemoCache: Xo,- useCacheRefresh: Xo,- useEffectEvent: Xo- }, hc = {- readContext: Ca,- use: ls,+ r &= e.pendingLanes, n |= r, t.lanes = n, pt(e, n);+ }+ }+ var gc = {+ readContext: wa,+ use: ds,+ useCallback: Qo,+ useContext: Qo,+ useEffect: Qo,+ useImperativeHandle: Qo,+ useLayoutEffect: Qo,+ useInsertionEffect: Qo,+ useMemo: Qo,+ useReducer: Qo,+ useRef: Qo,+ useState: Qo,+ useDebugValue: Qo,+ useDeferredValue: Qo,+ useTransition: Qo,+ useSyncExternalStore: Qo,+ useId: Qo,+ useHostTransitionStatus: Qo,+ useFormState: Qo,+ useActionState: Qo,+ useOptimistic: Qo,+ useMemoCache: Qo,+ useCacheRefresh: Qo,+ useEffectEvent: Qo+ }, _c = {+ readContext: wa,+ use: ds,useCallback: function(e, t) {- return as().memoizedState = [e, t === void 0 ? null : t], e;+ return ss().memoizedState = [e, t === void 0 ? null : t], e;},- useContext: Ca,- useEffect: zs,+ useContext: wa,+ useEffect: Vs,useImperativeHandle: function(e, t, n) {- n = n == null ? null : n.concat([e]), Ls(4194308, 4, Gs.bind(null, t, e), n);+ n = n == null ? null : n.concat([e]), zs(4194308, 4, qs.bind(null, t, e), n);},useLayoutEffect: function(e, t) {- return Ls(4194308, 4, e, t);+ return zs(4194308, 4, e, t);},useInsertionEffect: function(e, t) {- Ls(4, 2, e, t);+ zs(4, 2, e, t);},useMemo: function(e, t) {- var n = as();+ var n = ss();t = t === void 0 ? null : t;var r = e();- if (Go) {- Ze(!0);+ if (qo) {+ Ye(!0);try {e();} finally {- Ze(!1);+ Ye(!1);}}return n.memoizedState = [r, t], r;},useReducer: function(e, t, n) {- var r = as();+ var r = ss();if (n !== void 0) {var i = n(t);- if (Go) {- Ze(!0);+ if (qo) {+ Ye(!0);try {n(t);} finally {- Ze(!1);+ Ye(!1);}}} else i = t;@@ -13319,54 +18313,54 @@ var If = /* @__PURE__ */ _(((e) => {dispatch: null,lastRenderedReducer: e,lastRenderedState: i- }, r.queue = e, e = e.dispatch = sc.bind(null, H, e), [r.memoizedState, e];+ }, r.queue = e, e = e.dispatch = lc.bind(null, Ho, e), [r.memoizedState, e];},useRef: function(e) {- var t = as();+ var t = ss();return e = { current: e }, t.memoizedState = e;},useState: function(e) {- e = xs(e);- var t = e.queue, n = cc.bind(null, H, t);+ e = Cs(e);+ var t = e.queue, n = uc.bind(null, Ho, t);return t.dispatch = n, [e.memoizedState, n];},- useDebugValue: qs,+ useDebugValue: Ys,useDeferredValue: function(e, t) {- return Xs(as(), e, t);+ return Qs(ss(), e, t);},useTransition: function() {- var e = xs(!1);- return e = Qs.bind(null, H, e.queue, !0, !1), as().memoizedState = e, [!1, e];+ var e = Cs(!1);+ return e = ec.bind(null, Ho, e.queue, !0, !1), ss().memoizedState = e, [!1, e];},useSyncExternalStore: function(e, t, n) {- var r = H, a = as();+ var r = Ho, a = ss();if (ra) {if (n === void 0) throw Error(i(407));n = n();} else {- if (n = t(), rd === null) throw Error(i(349));- ad & 127 || gs(r, t, n);+ if (n = t(), ad === null) throw Error(i(349));+ sd & 127 || vs(r, t, n);}a.memoizedState = n;var o = {value: n,getSnapshot: t};- return a.queue = o, zs(vs.bind(null, r, o, e), [e]), r.flags |= 2048, Fs(9, { destroy: void 0 }, _s.bind(null, r, o, n, t), null), n;+ return a.queue = o, Vs(bs.bind(null, r, o, e), [e]), r.flags |= 2048, Ls(9, { destroy: void 0 }, ys.bind(null, r, o, n, t), null), n;},useId: function() {- var e = as(), t = rd.identifierPrefix;+ var e = ss(), t = ad.identifierPrefix;if (ra) {var n = Yi, r = Ji;- n = (r & ~(1 << 32 - Qe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Ko++, 0 < n && (t += "H" + n.toString(32)), t += "_";- } else n = Yo++, t = "_" + t + "r_" + n.toString(32) + "_";+ n = (r & ~(1 << 32 - Xe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Jo++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ } else n = Zo++, t = "_" + t + "r_" + n.toString(32) + "_";return e.memoizedState = t;},- useHostTransitionStatus: rc,- useFormState: As,- useActionState: As,+ useHostTransitionStatus: ac,+ useFormState: Ms,+ useActionState: Ms,useOptimistic: function(e) {- var t = as();+ var t = ss();t.memoizedState = t.baseState = e;var n = {pending: null,@@ -13375,132 +18369,132 @@ var If = /* @__PURE__ */ _(((e) => {lastRenderedReducer: null,lastRenderedState: null};- return t.queue = n, t = uc.bind(null, H, !0, n), n.dispatch = t, [e, t];+ return t.queue = n, t = fc.bind(null, Ho, !0, n), n.dispatch = t, [e, t];},- useMemoCache: us,+ useMemoCache: fs,useCacheRefresh: function() {- return as().memoizedState = oc.bind(null, H);+ return ss().memoizedState = cc.bind(null, Ho);},useEffectEvent: function(e) {- var t = as(), n = { impl: e };+ var t = ss(), n = { impl: e };return t.memoizedState = n, function() {- if (nd & 2) throw Error(i(440));+ if (id & 2) throw Error(i(440));return n.impl.apply(void 0, arguments);};}- }, gc = {- readContext: Ca,- use: ls,- useCallback: Js,- useContext: Ca,- useEffect: Bs,- useImperativeHandle: Ks,- useInsertionEffect: Us,- useLayoutEffect: Ws,- useMemo: Ys,- useReducer: fs,- useRef: Is,+ }, vc = {+ readContext: wa,+ use: ds,+ useCallback: Xs,+ useContext: wa,+ useEffect: Hs,+ useImperativeHandle: Js,+ useInsertionEffect: Gs,+ useLayoutEffect: Ks,+ useMemo: Zs,+ useReducer: ms,+ useRef: Rs,useState: function() {- return fs(ds);+ return ms(ps);},- useDebugValue: qs,+ useDebugValue: Ys,useDeferredValue: function(e, t) {- return Zs(os(), Vo.memoizedState, e, t);+ return $s(cs(), Uo.memoizedState, e, t);},useTransition: function() {- var e = fs(ds)[0], t = os().memoizedState;- return [typeof e == "boolean" ? e : cs(e), t];+ var e = ms(ps)[0], t = cs().memoizedState;+ return [typeof e == "boolean" ? e : us(e), t];},- useSyncExternalStore: hs,- useId: ic,- useHostTransitionStatus: rc,- useFormState: js,- useActionState: js,+ useSyncExternalStore: _s,+ useId: oc,+ useHostTransitionStatus: ac,+ useFormState: Ns,+ useActionState: Ns,useOptimistic: function(e, t) {- return Ss(os(), Vo, e, t);+ return ws(cs(), Uo, e, t);},- useMemoCache: us,- useCacheRefresh: ac,- useEffectEvent: Hs- }, _c = {- readContext: Ca,- use: ls,- useCallback: Js,- useContext: Ca,- useEffect: Bs,- useImperativeHandle: Ks,- useInsertionEffect: Us,- useLayoutEffect: Ws,- useMemo: Ys,- useReducer: ms,- useRef: Is,+ useMemoCache: fs,+ useCacheRefresh: sc,+ useEffectEvent: Ws+ }, yc = {+ readContext: wa,+ use: ds,+ useCallback: Xs,+ useContext: wa,+ useEffect: Hs,+ useImperativeHandle: Js,+ useInsertionEffect: Gs,+ useLayoutEffect: Ks,+ useMemo: Zs,+ useReducer: gs,+ useRef: Rs,useState: function() {- return ms(ds);+ return gs(ps);},- useDebugValue: qs,+ useDebugValue: Ys,useDeferredValue: function(e, t) {- var n = os();- return Vo === null ? Xs(n, e, t) : Zs(n, Vo.memoizedState, e, t);+ var n = cs();+ return Uo === null ? Qs(n, e, t) : $s(n, Uo.memoizedState, e, t);},useTransition: function() {- var e = ms(ds)[0], t = os().memoizedState;- return [typeof e == "boolean" ? e : cs(e), t];+ var e = gs(ps)[0], t = cs().memoizedState;+ return [typeof e == "boolean" ? e : us(e), t];},- useSyncExternalStore: hs,- useId: ic,- useHostTransitionStatus: rc,- useFormState: Ps,- useActionState: Ps,+ useSyncExternalStore: _s,+ useId: oc,+ useHostTransitionStatus: ac,+ useFormState: Is,+ useActionState: Is,useOptimistic: function(e, t) {- var n = os();- return Vo === null ? (n.baseState = e, [e, n.queue.dispatch]) : Ss(n, Vo, e, t);+ var n = cs();+ return Uo === null ? (n.baseState = e, [e, n.queue.dispatch]) : ws(n, Uo, e, t);},- useMemoCache: us,- useCacheRefresh: ac,- useEffectEvent: Hs+ useMemoCache: fs,+ useCacheRefresh: sc,+ useEffectEvent: Ws};- function vc(e, t, n, r) {+ function bc(e, t, n, r) {t = e.memoizedState, n = n(r, t), n = n == null ? t : T({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);}- var yc = {+ var xc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = Rd(), i = ho(r);- i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Vd(t, e, r), _o(t, e, r));+ var r = Bd(), i = go(r);+ i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Ud(t, e, r), vo(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = Rd(), i = ho(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Vd(t, e, r), _o(t, e, r));+ var r = Bd(), i = go(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Ud(t, e, r), vo(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = Rd(), r = ho(n);- r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Vd(t, e, n), _o(t, e, n));+ var n = Bd(), r = go(n);+ r.tag = 2, t != null && (r.callback = t), t = _o(e, r, n), t !== null && (Ud(t, e, n), vo(t, e, n));}};- function bc(e, t, n, r, i, a, o) {- return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !zr(n, r) || !zr(i, a) : !0;+ function Sc(e, t, n, r, i, a, o) {+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Br(n, r) || !Br(i, a) : !0;}- function xc(e, t, n, r) {- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && yc.enqueueReplaceState(t, t.state, null);+ function Cc(e, t, n, r) {+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && xc.enqueueReplaceState(t, t.state, null);}- function Sc(e, t) {+ function wc(e, t) {var n = t;if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);if (e = e.defaultProps) for (var i in n === t && (n = T({}, n)), e) n[i] === void 0 && (n[i] = e[i]);return n;}- function Cc(e) {+ function Tc(e) {vi(e);}- function wc(e) {+ function Ec(e) {console.error(e);}- function Tc(e) {+ function Dc(e) {vi(e);}- function Ec(e, t) {+ function Oc(e, t) {try {var n = e.onUncaughtError;n(t.value, { componentStack: t.stack });@@ -13510,7 +18504,7 @@ var If = /* @__PURE__ */ _(((e) => {});}}- function Dc(e, t, n) {+ function kc(e, t, n) {try {var r = e.onCaughtError;r(n.value, {@@ -13523,57 +18517,57 @@ var If = /* @__PURE__ */ _(((e) => {});}}- function Oc(e, t, n) {- return n = ho(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {- Ec(e, t);+ function Ac(e, t, n) {+ return n = go(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ Oc(e, t);}, n;}- function kc(e) {- return e = ho(e), e.tag = 3, e;+ function jc(e) {+ return e = go(e), e.tag = 3, e;}- function Ac(e, t, n, r) {+ function Mc(e, t, n, r) {var i = n.type.getDerivedStateFromError;if (typeof i == "function") {var a = r.value;e.payload = function() {return i(a);}, e.callback = function() {- Dc(t, n, r);+ kc(t, n, r);};}var o = n.stateNode;o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {- Dc(t, n, r), typeof i != "function" && (Td === null ? Td = /* @__PURE__ */ new Set([this]) : Td.add(this));+ kc(t, n, r), typeof i != "function" && (Dd === null ? Dd = /* @__PURE__ */ new Set([this]) : Dd.add(this));var e = r.stack;this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });});}- function jc(e, t, n, r, a) {+ function Nc(e, t, n, r, a) {if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {- if (t = n.alternate, t !== null && ba(t, n, a, !0), n = ko.current, n !== null) {+ if (t = n.alternate, t !== null && xa(t, n, a, !0), n = Ao.current, n !== null) {switch (n.tag) {case 31:case 13:- case 19: return Ao === null ? $d() : n.alternate === null && fd === 0 && (fd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), Sf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ case 19: return jo === null ? tf() : n.alternate === null && md === 0 && (md = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), wf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {transitions: null,markerInstances: null,retryQueue: /* @__PURE__ */ new Set([r])- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), Sf(e, r, a)), !1;+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), wf(e, r, a)), !1;}throw Error(i(435, n.tag));}- return Sf(e, r, a), $d(), !1;+ return wf(e, r, a), tf(), !1;}- if (ra) return t = ko.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), pa(Bi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Bi(r, n), a = Oc(e.stateNode, r, a), vo(e, a), fd !== 4 && (fd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), pa(Bi(e, n)))), !1;+ if (ra) return t = Ao.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), pa(Bi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Bi(r, n), a = Ac(e.stateNode, r, a), yo(e, a), md !== 4 && (md = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), pa(Bi(e, n)))), !1;var o = Error(i(520), { cause: r });- if (o = Bi(o, n), vd === null ? vd = [o] : vd.push(o), fd !== 4 && (fd = 2), t === null) return !0;+ if (o = Bi(o, n), bd === null ? bd = [o] : bd.push(o), md !== 4 && (md = 2), t === null) return !0;r = Bi(r, n), n = t;do {switch (n.tag) {- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Oc(n.stateNode, r, e), vo(n, e), !1;+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Ac(n.stateNode, r, e), yo(n, e), !1;case 1:- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Td === null || !Td.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = kc(a), Ac(a, e, n, r), vo(n, a), !1;+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Dd === null || !Dd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = jc(a), Mc(a, e, n, r), yo(n, a), !1;break;case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;}@@ -13581,41 +18575,41 @@ var If = /* @__PURE__ */ _(((e) => {} while (n !== null);return !1;}- var Mc = Error(i(461)), Nc = !1;- function Pc(e, t, n, r) {- t.child = e === null ? uo(t, null, n, r) : lo(t, e.child, n, r);+ var Pc = Error(i(461)), Fc = !1;+ function Ic(e, t, n, r) {+ t.child = e === null ? fo(t, null, n, r) : uo(t, e.child, n, r);}- function Fc(e, t, n, r, i) {+ function Lc(e, t, n, r, i) {n = n.render;var a = t.ref;if ("ref" in r) {var o = {};for (var s in r) s !== "ref" && (o[s] = r[s]);} else o = r;- return Sa(t), r = Qo(e, t, n, o, a, i), s = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Pc(e, t, r, i), t.child);+ return Ca(t), r = es(e, t, n, o, a, i), s = is(), e !== null && !Fc ? (as(e, t, i), dl(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Ic(e, t, r, i), t.child);}- function Ic(e, t, n, r, i) {+ function Rc(e, t, n, r, i) {if (e === null) {var a = n.type;- return typeof a == "function" && !ji(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Lc(e, t, a, r, i)) : (e = Pi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ return typeof a == "function" && !ji(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, zc(e, t, a, r, i)) : (e = Pi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);}- if (a = e.child, !ul(e, i)) {+ if (a = e.child, !fl(e, i)) {var o = a.memoizedProps;- if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return ll(e, t, i);+ if (n = n.compare, n = n === null ? Br : n, n(o, r) && e.ref === t.ref) return dl(e, t, i);}return t.flags |= 1, e = Mi(a, r), e.ref = t.ref, e.return = t, t.child = e;}- function Lc(e, t, n, r, i) {+ function zc(e, t, n, r, i) {if (e !== null) {var a = e.memoizedProps;- if (zr(a, r) && e.ref === t.ref) {- if (Nc = !1, t.pendingProps = r = a, ul(e, i)) e.flags & 131072 && (Nc = !0);- else return t.lanes = e.lanes, ll(e, t, i);+ if (Br(a, r) && e.ref === t.ref) {+ if (Fc = !1, t.pendingProps = r = a, fl(e, i)) e.flags & 131072 && (Fc = !0);+ else return t.lanes = e.lanes, dl(e, t, i);}}- return Gc(e, t, n, r, i);+ return qc(e, t, n, r, i);}- function Rc(e, t, n, r) {+ function Bc(e, t, n, r) {var i = r.children, a = e === null ? null : e.memoizedState;if (e === null && t.stateNode === null && (t.stateNode = {_visibility: 1,@@ -13628,17 +18622,17 @@ var If = /* @__PURE__ */ _(((e) => {for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;r = i & ~a;} else r = 0, t.child = null;- return Bc(e, t, a, n, r);+ return Hc(e, t, a, n, r);}if (n & 536870912) t.memoizedState = {baseLanes: 0,cachePool: null- }, e !== null && Ga(t, a === null ? null : a.cachePool), a === null ? Do() : Eo(t, a), No(t);- else return r = t.lanes = 536870912, Bc(e, t, a === null ? n : a.baseLanes | n, n, r);- } else a === null ? (e !== null && Ga(t, null), Do(), Po()) : (Ga(t, a.cachePool), Eo(t, a), Po(), t.memoizedState = null);- return Pc(e, t, i, n), t.child;+ }, e !== null && Ka(t, a === null ? null : a.cachePool), a === null ? Oo() : Do(t, a), Po(t);+ else return r = t.lanes = 536870912, Hc(e, t, a === null ? n : a.baseLanes | n, n, r);+ } else a === null ? (e !== null && Ka(t, null), Oo(), Fo()) : (Ka(t, a.cachePool), Do(t, a), Fo(), t.memoizedState = null);+ return Ic(e, t, i, n), t.child;}- function zc(e, t) {+ function Vc(e, t) {return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {_visibility: 1,_pendingMarkers: null,@@ -13646,34 +18640,34 @@ var If = /* @__PURE__ */ _(((e) => {_transitions: null}), t.sibling;}- function Bc(e, t, n, r, i) {- var a = Wa();+ function Hc(e, t, n, r, i) {+ var a = Ga();return a = a === null ? null : {- parent: ka._currentValue,+ parent: Aa._currentValue,pool: a}, t.memoizedState = {baseLanes: n,cachePool: a- }, e !== null && Ga(t, null), Do(), No(t), e !== null && ba(e, t, r, !0), t.childLanes = i, null;+ }, e !== null && Ka(t, null), Oo(), Po(t), e !== null && xa(e, t, r, !0), t.childLanes = i, null;}- function Vc(e, t) {- return t = el({+ function Uc(e, t) {+ return t = nl({mode: t.mode,children: t.children}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;}- function Hc(e, t, n) {- return lo(t, e.child, null, n), e = Vc(t, t.pendingProps), e.flags |= 2, Fo(t), t.memoizedState = null, e;+ function Wc(e, t, n) {+ return uo(t, e.child, null, n), e = Uc(t, t.pendingProps), e.flags |= 2, Io(t), t.memoizedState = null, e;}- function Uc(e, t, n) {+ function Gc(e, t, n) {var r = t.pendingProps, a = !!(t.flags & 128);if (t.flags &= -129, e === null) {if (ra) {- if (r.mode === "hidden") return e = Vc(t, r), t.lanes = 536870912, e.memoizedState = {+ if (r.mode === "hidden") return e = Uc(t, r), t.lanes = 536870912, e.memoizedState = {baseLanes: 0,cachePool: null- }, zc(null, e);- if (Mo(t), (e = na) ? (e = hm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ }, Vc(null, e);+ if (No(t), (e = na) ? (e = hm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,treeContext: qi === null ? null : {id: Ji,@@ -13684,22 +18678,22 @@ var If = /* @__PURE__ */ _(((e) => {}, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);return t.lanes = 536870912, null;}- return Vc(t, r);+ return Uc(t, r);}var o = e.memoizedState;if (o !== null) {var s = o.dehydrated;- if (Mo(t), a) {- if (t.flags & 256) t.flags &= -257, t = Hc(e, t, n);+ if (No(t), a) {+ if (t.flags & 256) t.flags &= -257, t = Wc(e, t, n);else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;else throw Error(i(558));- } else if (Nc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Nc || a) {- if (wo.current === null) {- if (r = rd, r !== null && (s = gt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ti(e, s), Vd(r, e, s), Mc;- $d();+ } else if (Fc || xa(e, t, n, !1), a = (n & e.childLanes) !== 0, Fc || a) {+ if (To.current === null) {+ if (r = ad, r !== null && (s = mt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ti(e, s), Ud(r, e, s), Pc;+ tf();}- t = Hc(e, t, n);- } else e = o.treeContext, na = ym(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Vc(t, r), t.flags |= 134221824;+ t = Wc(e, t, n);+ } else e = o.treeContext, na = ym(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Uc(t, r), t.flags |= 134221824;return t;}return e = Mi(e.child, {@@ -13707,7 +18701,7 @@ var If = /* @__PURE__ */ _(((e) => {children: r.children}), e.ref = t.ref, t.child = e, e.return = t, e;}- function Wc(e, t) {+ function Kc(e, t) {var n = t.ref;if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);else {@@ -13715,56 +18709,56 @@ var If = /* @__PURE__ */ _(((e) => {(e === null || e.ref !== n) && (t.flags |= 4194816);}}- function Gc(e, t, n, r, i) {- return Sa(t), n = Qo(e, t, n, r, void 0, i), r = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Pc(e, t, n, i), t.child);+ function qc(e, t, n, r, i) {+ return Ca(t), n = es(e, t, n, r, void 0, i), r = is(), e !== null && !Fc ? (as(e, t, i), dl(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Ic(e, t, n, i), t.child);}- function Kc(e, t, n, r, i, a) {- return Sa(t), t.updateQueue = null, n = es(t, r, n, i), $o(e), r = ns(), e !== null && !Nc ? (rs(e, t, a), ll(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Pc(e, t, n, a), t.child);+ function Jc(e, t, n, r, i, a) {+ return Ca(t), t.updateQueue = null, n = ns(t, r, n, i), ts(e), r = is(), e !== null && !Fc ? (as(e, t, a), dl(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Ic(e, t, n, a), t.child);}- function qc(e, t, n, r, i) {- if (Sa(t), t.stateNode === null) {+ function Yc(e, t, n, r, i) {+ if (Ca(t), t.stateNode === null) {var a = Oi, o = n.contextType;- typeof o == "object" && o && (a = Ca(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = yc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, po(t), o = n.contextType, a.context = typeof o == "object" && o ? Ca(o) : Oi, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (vc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && yc.enqueueReplaceState(a, a.state, null), xo(t, r, a, i), bo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;+ typeof o == "object" && o && (a = wa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = xc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, mo(t), o = n.contextType, a.context = typeof o == "object" && o ? wa(o) : Oi, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (bc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && xc.enqueueReplaceState(a, a.state, null), So(t, r, a, i), xo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;} else if (e === null) {a = t.stateNode;- var s = t.memoizedProps, c = Sc(n, s);+ var s = t.memoizedProps, c = wc(n, s);a.props = c;var l = a.context, u = n.contextType;- o = Oi, typeof u == "object" && u && (o = Ca(u));+ o = Oi, typeof u == "object" && u && (o = wa(u));var d = n.getDerivedStateFromProps;- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && xc(t, a, r, o), fo = !1;+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Cc(t, a, r, o), po = !1;var f = t.memoizedState;- a.state = f, xo(t, r, a, i), bo(), l = t.memoizedState, s || f !== l || fo ? (typeof d == "function" && (vc(t, n, d, r), l = t.memoizedState), (c = fo || bc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);+ a.state = f, So(t, r, a, i), xo(), l = t.memoizedState, s || f !== l || po ? (typeof d == "function" && (bc(t, n, d, r), l = t.memoizedState), (c = po || Sc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);} else {- a = t.stateNode, mo(e, t), o = t.memoizedProps, u = Sc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Oi, typeof l == "object" && l && (c = Ca(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && xc(t, a, r, c), fo = !1, f = t.memoizedState, a.state = f, xo(t, r, a, i), bo();+ a = t.stateNode, ho(e, t), o = t.memoizedProps, u = wc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Oi, typeof l == "object" && l && (c = wa(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Cc(t, a, r, c), po = !1, f = t.memoizedState, a.state = f, So(t, r, a, i), xo();var p = t.memoizedState;- o !== d || f !== p || fo || e !== null && e.dependencies !== null && xa(e.dependencies) ? (typeof s == "function" && (vc(t, n, s, r), p = t.memoizedState), (u = fo || bc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && xa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);+ o !== d || f !== p || po || e !== null && e.dependencies !== null && Sa(e.dependencies) ? (typeof s == "function" && (bc(t, n, s, r), p = t.memoizedState), (u = po || Sc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && Sa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);}- return a = r, Wc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = lo(t, e.child, null, i), t.child = lo(t, null, n, i)) : Pc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ll(e, t, i), e;+ return a = r, Kc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = uo(t, e.child, null, i), t.child = uo(t, null, n, i)) : Ic(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = dl(e, t, i), e;}- function Jc(e, t, n, r) {- return da(), t.flags |= 256, Pc(e, t, n, r), t.child;+ function Xc(e, t, n, r) {+ return da(), t.flags |= 256, Ic(e, t, n, r), t.child;}- var Yc = {+ var Zc = {dehydrated: null,treeContext: null,retryLane: 0,hydrationErrors: null};- function Xc(e) {+ function Qc(e) {return {baseLanes: e,- cachePool: Ka()+ cachePool: qa()};}- function Zc(e, t, n) {- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= gd), e;+ function $c(e, t, n) {+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= vd), e;}- function Qc(e, t, n) {+ function el(e, t, n) {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Lo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {if (ra) {- if (i ? jo(t) : Po(), (e = na) ? (e = hm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if (i ? Mo(t) : Fo(), (e = na) ? (e = hm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,treeContext: qi === null ? null : {id: Ji,@@ -13775,75 +18769,75 @@ var If = /* @__PURE__ */ _(((e) => {}, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);return t.lanes = _m(e) ? 32 : 536870912, null;}- return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = el({+ return a = r.children, r = r.fallback, i ? (Fo(), i = t.mode, a = nl({mode: "hidden",children: a- }, i), r = Fi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Xc(n), r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(null, r)) : (jo(t), $c(t, a));+ }, i), r = Fi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Qc(n), r.childLanes = $c(e, o, n), t.memoizedState = Zc, Vc(null, r)) : (Mo(t), tl(t, a));}var s = e.memoizedState;if (s !== null) {var c = s.dehydrated;- if (c !== null) return nl(e, t, a, o, r, c, s, n);+ if (c !== null) return il(e, t, a, o, r, c, s, n);}- return i ? (Po(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Mi(s, {+ return i ? (Fo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Mi(s, {mode: "hidden",children: r.children- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = Mi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, zc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Xc(n) : (a = i.cachePool, a === null ? a = Ka() : (s = ka._currentValue, a = a.parent === s ? a : {+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = Mi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Vc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Qc(n) : (a = i.cachePool, a === null ? a = qa() : (s = Aa._currentValue, a = a.parent === s ? a : {parent: s,pool: s}), i = {baseLanes: i.baseLanes | n,cachePool: a- }), r.memoizedState = i, r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(e.child, r)) : (jo(t), n = e.child, e = n.sibling, n = Mi(n, {+ }), r.memoizedState = i, r.childLanes = $c(e, o, n), t.memoizedState = Zc, Vc(e.child, r)) : (Mo(t), n = e.child, e = n.sibling, n = Mi(n, {mode: "visible",children: r.children}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);}- function $c(e, t) {- return t = el({+ function tl(e, t) {+ return t = nl({mode: "visible",children: t}, e.mode), t.return = e, e.child = t;}- function el(e, t) {+ function nl(e, t) {return e = Ai(22, e, null, t), e.lanes = 0, e;}- function tl(e, t, n) {- return lo(t, e.child, null, n), e = $c(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;+ function rl(e, t, n) {+ return uo(t, e.child, null, n), e = tl(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;}- function nl(e, t, n, r, a, o, s, c) {- if (n) return t.flags & 256 ? (jo(t), t.flags &= -257, tl(e, t, c)) : t.memoizedState === null ? (Po(), o = a.fallback, s = t.mode, a = el({+ function il(e, t, n, r, a, o, s, c) {+ if (n) return t.flags & 256 ? (Mo(t), t.flags &= -257, rl(e, t, c)) : t.memoizedState === null ? (Fo(), o = a.fallback, s = t.mode, a = nl({mode: "visible",children: a.children- }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, lo(t, e.child, null, c), a = t.child, a.memoizedState = Xc(c), a.childLanes = Zc(e, r, c), t.memoizedState = Yc, zc(null, a)) : (Po(), t.child = e.child, t.flags |= 128, null);- if (jo(t), _m(o)) {+ }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, uo(t, e.child, null, c), a = t.child, a.memoizedState = Qc(c), a.childLanes = $c(e, r, c), t.memoizedState = Zc, Vc(null, a)) : (Fo(), t.child = e.child, t.flags |= 128, null);+ if (Mo(t), _m(o)) {if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, pa({value: a,source: null,stack: null- })), tl(e, t, c);+ })), rl(e, t, c);}- if (Nc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Nc || r) {- if (wo.current !== null) return tl(e, t, c);- if (r = rd, r !== null && (a = gt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ti(e, a), Vd(r, e, a), Mc;- return gm(o) || $d(), tl(e, t, c);+ if (Fc || xa(e, t, c, !1), r = (c & e.childLanes) !== 0, Fc || r) {+ if (To.current !== null) return rl(e, t, c);+ if (r = ad, r !== null && (a = mt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ti(e, a), Ud(r, e, a), Pc;+ return gm(o) || tf(), rl(e, t, c);}- return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = ym(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = $c(t, a.children), t.flags |= 134221824, t);+ return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = ym(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = tl(t, a.children), t.flags |= 134221824, t);}- function rl(e, t, n) {+ function al(e, t, n) {e.lanes |= t;var r = e.alternate;- r !== null && (r.lanes |= t), va(e.return, t, n);+ r !== null && (r.lanes |= t), ya(e.return, t, n);}- function il(e) {+ function ol(e) {for (var t = null; e !== null;) {var n = e.alternate;- n !== null && zo(n) === null && (t = e), e = e.sibling;+ n !== null && Bo(n) === null && (t = e), e = e.sibling;}return t;}- function al(e, t, n, r, i, a) {+ function sl(e, t, n, r, i, a) {var o = e.memoizedState;o === null ? e.memoizedState = {isBackwards: t,@@ -13855,22 +18849,22 @@ var If = /* @__PURE__ */ _(((e) => {treeForkCount: a} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);}- function ol(e) {+ function cl(e) {var t = e.child;for (e.child = null; t !== null;) {var n = t.sibling;t.sibling = e.child, e.child = t, t = n;}}- function sl(e, t, n) {+ function ll(e, t, n) {var r = t.pendingProps, i = r.revealOrder, a = r.tail;r = r.children;- var o = Io.current;- if (t.flags & 128) return Lo(t, o), null;+ var o = Lo.current;+ if (t.flags & 128) return Ro(t, o), null;var s = !!(o & 2);- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Lo(t, o), i === "backwards" && e !== null ? (ol(e), Pc(e, t, r, n), ol(e)) : Pc(e, t, r, n), r = ra ? Wi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {- if (e.tag === 13) e.memoizedState !== null && rl(e, n, t);- else if (e.tag === 19) rl(e, n, t);+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Ro(t, o), i === "backwards" && e !== null ? (cl(e), Ic(e, t, r, n), cl(e)) : Ic(e, t, r, n), r = ra ? Wi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (e.tag === 13) e.memoizedState !== null && al(e, n, t);+ else if (e.tag === 19) al(e, n, t);else if (e.child !== null) {e.child.return = e, e = e.child;continue;@@ -13884,36 +18878,36 @@ var If = /* @__PURE__ */ _(((e) => {}switch (i) {case "backwards":- n = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, ol(t)), al(t, !0, i, null, a, r);+ n = ol(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, cl(t)), sl(t, !0, i, null, a, r);break;case "unstable_legacy-backwards":for (n = null, i = t.child, t.child = null; i !== null;) {- if (e = i.alternate, e !== null && zo(e) === null) {+ if (e = i.alternate, e !== null && Bo(e) === null) {t.child = i;break;}e = i.sibling, i.sibling = n, n = i, i = e;}- al(t, !0, n, null, a, r);+ sl(t, !0, n, null, a, r);break;case "together":- al(t, !1, null, null, void 0, r);+ sl(t, !1, null, null, void 0, r);break;case "independent":t.memoizedState = null;break;- default: n = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), al(t, !1, i, n, a, r);+ default: n = ol(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), sl(t, !1, i, n, a, r);}return t.child;}- function cl(e, t, n) {+ function ul(e, t, n) {var r = t.pendingProps;- return V(t, t.type, r.value), Pc(e, t, r.children, n), t.child;+ return _a(t, t.type, r.value), Ic(e, t, r.children, n), t.child;}- function ll(e, t, n) {- if (e !== null && (t.dependencies = e.dependencies), pd |= t.lanes, (n & t.childLanes) === 0) {+ function dl(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), hd |= t.lanes, (n & t.childLanes) === 0) {if (e !== null) {- if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;+ if (xa(e, t, n, !1), (n & t.childLanes) === 0) return null;} else return null;}if (e !== null && t.child !== e.child) throw Error(i(153));@@ -13923,103 +18917,103 @@ var If = /* @__PURE__ */ _(((e) => {}return t.child;}- function ul(e, t) {- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && xa(e)));+ function fl(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && Sa(e)));}- function dl(e, t, n) {+ function pl(e, t, n) {switch (t.tag) {case 3:- we(t, t.stateNode.containerInfo), V(t, ka, e.memoizedState.cache), da();+ Se(t, t.stateNode.containerInfo), _a(t, Aa, e.memoizedState.cache), da();break;case 27:case 5:- Ee(t);+ we(t);break;case 4:- we(t, t.stateNode.containerInfo);+ Se(t, t.stateNode.containerInfo);break;case 10:- V(t, t.type, t.memoizedProps.value);+ _a(t, t.type, t.memoizedProps.value);break;case 31:- if (t.memoizedState !== null) return t.flags |= 128, Mo(t), null;+ if (t.memoizedState !== null) return t.flags |= 128, No(t), null;break;case 13:var r = t.memoizedState;if (r !== null) {- if (r.dehydrated !== null) return jo(t), t.flags |= 128, null;- r = ba(e, t, n, !1);+ if (r.dehydrated !== null) return Mo(t), t.flags |= 128, null;+ r = xa(e, t, n, !1);var i = t.child.childLanes;- return r || (n & i) !== 0 ? Qc(e, t, n) : (jo(t), e = ll(e, t, n), e === null ? null : e.sibling);+ return r || (n & i) !== 0 ? el(e, t, n) : (Mo(t), e = dl(e, t, n), e === null ? null : e.sibling);}- jo(t);+ Mo(t);break;case 19:- if (t.flags & 128) return sl(e, t, n);- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ba(e, t, n, !1), (n & t.childLanes) !== 0), i) {- if (r) return sl(e, t, n);+ if (t.flags & 128) return ll(e, t, n);+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (xa(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (r) return ll(e, t, n);t.flags |= 128;}- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Lo(t, Io.current), r) break;+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Ro(t, Lo.current), r) break;return null;- case 22: return t.lanes = 0, Rc(e, t, n, t.pendingProps);- case 24: V(t, ka, e.memoizedState.cache);+ case 22: return t.lanes = 0, Bc(e, t, n, t.pendingProps);+ case 24: _a(t, Aa, e.memoizedState.cache);}- return ll(e, t, n);+ return dl(e, t, n);}- function fl(e, t, n) {+ function ml(e, t, n) {if (e !== null) {- if (e.memoizedProps !== t.pendingProps) Nc = !0;+ if (e.memoizedProps !== t.pendingProps) Fc = !0;else {- if (!ul(e, n) && !(t.flags & 128)) return Nc = !1, dl(e, t, n);- Nc = !!(e.flags & 131072);+ if (!fl(e, n) && !(t.flags & 128)) return Fc = !1, pl(e, t, n);+ Fc = !!(e.flags & 131072);}- } else Nc = !1, ra && t.flags & 1048576 && Zi(t, Wi, t.index);+ } else Fc = !1, ra && t.flags & 1048576 && Zi(t, Wi, t.index);switch (t.lanes = 0, t.tag) {case 16:a: {var r = t.pendingProps;- if (e = $a(t.elementType), t.type = e, typeof e == "function") ji(e) ? (r = Sc(e, r), t.tag = 1, t = qc(null, t, e, r, n)) : (t.tag = 0, t = Gc(null, t, e, r, n));+ if (e = eo(t.elementType), t.type = e, typeof e == "function") ji(e) ? (r = wc(e, r), t.tag = 1, t = Yc(null, t, e, r, n)) : (t.tag = 0, t = qc(null, t, e, r, n));else {if (e != null) {var a = e.$$typeof;- if (a === te) {- t.tag = 11, t = Fc(null, t, e, r, n);+ if (a === P) {+ t.tag = 11, t = Lc(null, t, e, r, n);break a;}- if (a === ne) {- t.tag = 14, t = Ic(null, t, e, r, n);+ if (a === ee) {+ t.tag = 14, t = Rc(null, t, e, r, n);break a;}- if (a === ee) {- t.tag = 10, t.type = e, t = cl(null, t, n);+ if (a === N) {+ t.tag = 10, t.type = e, t = ul(null, t, n);break a;}}- throw t = de(e) || e, Error(i(306, t, ""));+ throw t = le(e) || e, Error(i(306, t, ""));}}return t;- case 0: return Gc(e, t, t.type, t.pendingProps, n);- case 1: return r = t.type, a = Sc(r, t.pendingProps), qc(e, t, r, a, n);+ case 0: return qc(e, t, t.type, t.pendingProps, n);+ case 1: return r = t.type, a = wc(r, t.pendingProps), Yc(e, t, r, a, n);case 3:a: {- if (we(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ if (Se(t, t.stateNode.containerInfo), e === null) throw Error(i(387));r = t.pendingProps;var o = t.memoizedState;- a = o.element, mo(e, t), xo(t, r, null, n);+ a = o.element, ho(e, t), So(t, r, null, n);var s = t.memoizedState;- if (r = s.cache, V(t, ka, r), r !== o.cache && ya(t, [ka], n, !0), bo(), r = s.element, o.isDehydrated) {+ if (r = s.cache, _a(t, Aa, r), r !== o.cache && ba(t, [Aa], n, !0), xo(), r = s.element, o.isDehydrated) {if (o = {element: r,isDehydrated: !1,cache: s.cache}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {- t = Jc(e, t, r, n);+ t = Xc(e, t, r, n);break a;}if (r !== a) {- a = Bi(Error(i(424)), t), pa(a), t = Jc(e, t, r, n);+ a = Bi(Error(i(424)), t), pa(a), t = Xc(e, t, r, n);break a;}switch (e = t.stateNode.containerInfo, e.nodeType) {@@ -14028,75 +19022,75 @@ var If = /* @__PURE__ */ _(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- for (na = ym(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ for (na = ym(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = fo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {if (da(), r === a) {- t = ll(e, t, n);+ t = dl(e, t, n);break a;}- Pc(e, t, r, n);+ Ic(e, t, r, n);}t = t.child;}return t;- case 26: return Wc(e, t), e === null ? (n = Vm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = Sp(t.type, t.pendingProps, Se.current, t)) : t.memoizedState = Vm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return Ee(t), e === null && ra && (r = t.stateNode = wm(t.type, t.pendingProps, Se.current), ta = t, aa = !0, a = na, Mp(t.type) ? (bm = a, na = ym(r.firstChild)) : na = a), Pc(e, t, t.pendingProps.children, n), Wc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && ra && ((a = r = na) && (r = pm(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = ym(r.firstChild), aa = !1, a = !0)), a || sa(t)), Ee(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Qo(e, t, ts, null, null, n), fh._currentValue = a), Wc(e, t), Pc(e, t, r, n), t.child;+ case 26: return Kc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = Sp(t.type, t.pendingProps, be.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return we(t), e === null && ra && (r = t.stateNode = wm(t.type, t.pendingProps, be.current), ta = t, aa = !0, a = na, Mp(t.type) ? (bm = a, na = ym(r.firstChild)) : na = a), Ic(e, t, t.pendingProps.children, n), Kc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && ra && ((a = r = na) && (r = pm(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = ym(r.firstChild), aa = !1, a = !0)), a || sa(t)), we(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = es(e, t, rs, null, null, n), _h._currentValue = a), Kc(e, t), Ic(e, t, r, n), t.child;case 6: return e === null && ra && ((e = n = na) && (n = mm(n, t.pendingProps, aa), n === null ? e = !1 : (t.stateNode = n, ta = t, na = null, e = !0)), e || sa(t)), null;- case 13: return Qc(e, t, n);- case 4: return we(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Pc(e, t, r, n), t.child;- case 11: return Fc(e, t, t.type, t.pendingProps, n);- case 7: return r = t.pendingProps, Wc(e, t), Pc(e, t, r, n), t.child;- case 8: return Pc(e, t, t.pendingProps.children, n), t.child;- case 12: return Pc(e, t, t.pendingProps.children, n), t.child;- case 10: return cl(e, t, n);- case 9: return a = t.type._context, r = t.pendingProps.children, Sa(t), a = Ca(a), r = r(a), t.flags |= 1, Pc(e, t, r, n), t.child;- case 14: return Ic(e, t, t.type, t.pendingProps, n);- case 15: return Lc(e, t, t.type, t.pendingProps, n);- case 19: return sl(e, t, n);- case 31: return Uc(e, t, n);- case 22: return Rc(e, t, n, t.pendingProps);- case 24: return Sa(t), r = Ca(ka), e === null ? (a = Wa(), a === null && (a = rd, o = Aa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {+ case 13: return el(e, t, n);+ case 4: return Se(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = uo(t, null, r, n) : Ic(e, t, r, n), t.child;+ case 11: return Lc(e, t, t.type, t.pendingProps, n);+ case 7: return r = t.pendingProps, Kc(e, t), Ic(e, t, r, n), t.child;+ case 8: return Ic(e, t, t.pendingProps.children, n), t.child;+ case 12: return Ic(e, t, t.pendingProps.children, n), t.child;+ case 10: return ul(e, t, n);+ case 9: return a = t.type._context, r = t.pendingProps.children, Ca(t), a = wa(a), r = r(a), t.flags |= 1, Ic(e, t, r, n), t.child;+ case 14: return Rc(e, t, t.type, t.pendingProps, n);+ case 15: return zc(e, t, t.type, t.pendingProps, n);+ case 19: return ll(e, t, n);+ case 31: return Gc(e, t, n);+ case 22: return Bc(e, t, n, t.pendingProps);+ case 24: return Ca(t), r = wa(Aa), e === null ? (a = Ga(), a === null && (a = ad, o = ja(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {parent: r,cache: a- }, po(t), V(t, ka, a)) : ((e.lanes & n) !== 0 && (mo(e, t), xo(t, null, null, n), bo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, V(t, ka, r), r !== a.cache && ya(t, [ka], n, !0)) : (a = {+ }, mo(t), _a(t, Aa, a)) : ((e.lanes & n) !== 0 && (ho(e, t), So(t, null, null, n), xo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, _a(t, Aa, r), r !== a.cache && ba(t, [Aa], n, !0)) : (a = {parent: r,cache: r- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), V(t, ka, r))), Pc(e, t, t.pendingProps.children, n), t.child;+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), _a(t, Aa, r))), Ic(e, t, t.pendingProps.children, n), t.child;case 30: return t.stateNode === null && (t.stateNode = {autoName: null,paired: null,clones: null,ref: null- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Wc(e, t), Pc(e, t, r.children, n), t.child;+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Kc(e, t), Ic(e, t, r.children, n), t.child;case 29: throw t.pendingProps;}throw Error(i(156, t.tag));}- function pl(e) {+ function hl(e) {e.flags |= 4;}- function ml(e, t, n, r, i) {+ function gl(e, t, n, r, i) {var a;- if ((a = !!(e.mode & 32)) && (a = n === null ? nh(t, r) : nh(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {+ if ((a = !!(e.mode & 32)) && (a = n === null ? ih(t, r) : ih(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {if (e.flags |= 16777216, (i & 335544128) === i) {if (e.stateNode.complete) e.flags |= 8192;- else if (Xd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else if (Qd()) e.flags |= 8192;+ else throw to = Za, Ya;}} else e.flags &= -16777217;}- function hl(e, t) {+ function _l(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;- else if (e.flags |= 16777216, !rh(t)) {- if (Xd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else if (e.flags |= 16777216, !ah(t)) {+ if (Qd()) e.flags |= 8192;+ else throw to = Za, Ya;}}- function gl(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ut(), e.lanes |= t, _d |= t);+ function vl(e, t) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ct(), e.lanes |= t, yd |= t);}- function _l(e, t) {+ function yl(e, t) {if (!ra) switch (e.tailMode) {case "visible": break;case "collapsed":@@ -14108,13 +19102,13 @@ var If = /* @__PURE__ */ _(((e) => {n === null ? e.tail = null : n.sibling = null;}}- function vl(e) {+ function bl(e) {var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;return e.subtreeFlags |= r, e.childLanes = n, t;}- function yl(e, t, n) {+ function xl(e, t, n) {var r = t.pendingProps;switch ($i(t), t.tag) {case 16:@@ -14125,32 +19119,32 @@ var If = /* @__PURE__ */ _(((e) => {case 8:case 12:case 9:- case 14: return vl(t), null;- case 1: return vl(t), null;- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), _a(ka), Te(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ua(t) ? pl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, fa())), vl(t), null;+ case 14: return bl(t), null;+ case 1: return bl(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), va(Aa), Ce(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ua(t) ? hl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, fa())), bl(t), null;case 26:var a = t.type, o = t.memoizedState;- return e === null ? (pl(t), o === null ? (vl(t), ml(t, a, null, r, n)) : (vl(t), hl(t, o))) : o ? o === e.memoizedState ? (vl(t), t.flags &= -16777217) : (pl(t), vl(t), hl(t, o)) : (e = e.memoizedProps, e !== r && pl(t), vl(t), ml(t, a, e, r, n)), null;+ return e === null ? (hl(t), o === null ? (bl(t), gl(t, a, null, r, n)) : (bl(t), _l(t, o))) : o ? o === e.memoizedState ? (bl(t), t.flags &= -16777217) : (hl(t), bl(t), _l(t, o)) : (e = e.memoizedProps, e !== r && hl(t), bl(t), gl(t, a, e, r, n)), null;case 27:- if (De(t), n = Se.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);+ if (Te(t), n = be.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && hl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return vl(t), t.subtreeFlags &= -33554433, null;+ return bl(t), t.subtreeFlags &= -33554433, null;}- e = be.current, ua(t) ? ca(t, e) : (e = wm(a, r, n), t.stateNode = e, pl(t));+ e = ve.current, ua(t) ? ca(t, e) : (e = wm(a, r, n), t.stateNode = e, hl(t));}- return vl(t), t.subtreeFlags &= -33554433, null;+ return bl(t), t.subtreeFlags &= -33554433, null;case 5:- if (De(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);+ if (Te(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && hl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return vl(t), t.subtreeFlags &= -33554433, null;+ return bl(t), t.subtreeFlags &= -33554433, null;}- if (o = be.current, ua(t)) ca(t, o);+ if (o = ve.current, ua(t)) ca(t, o);else {- var s = yp(Se.current);+ var s = yp(be.current);switch (o) {case 1:o = s.createElementNS("http://www.w3.org/2000/svg", a);@@ -14174,7 +19168,7 @@ var If = /* @__PURE__ */ _(((e) => {default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);}}- o[St] = t, o[Ct] = r;+ o[bt] = t, o[xt] = r;a: for (s = t.child; s !== null;) {if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {@@ -14201,71 +19195,71 @@ var If = /* @__PURE__ */ _(((e) => {break a;default: r = !1;}- r && pl(t);+ r && hl(t);}}- return vl(t), t.subtreeFlags &= -33554433, ml(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ return bl(t), t.subtreeFlags &= -33554433, gl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;case 6:- if (e && t.stateNode != null) e.memoizedProps !== r && pl(t);+ if (e && t.stateNode != null) e.memoizedProps !== r && hl(t);else {if (typeof r != "string" && t.stateNode === null) throw Error(i(166));- if (e = Se.current, ua(t)) {+ if (e = be.current, ua(t)) {if (e = t.stateNode, n = t.memoizedProps, r = null, a = ta, a !== null) switch (a.tag) {case 27:case 5: r = a.memoizedProps;}- e[St] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || sa(t, !0);- } else e = yp(e).createTextNode(r), e[St] = t, t.stateNode = e;+ e[bt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || sa(t, !0);+ } else e = yp(e).createTextNode(r), e[bt] = t, t.stateNode = e;}- return vl(t), null;+ return bl(t), null;case 31:if (n = t.memoizedState, e === null || e.memoizedState !== null) {if (r = ua(t), n !== null) {if (e === null) {if (!r) throw Error(i(318));if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));- e[St] = t;+ e[bt] = t;} else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- vl(t), e = !1;+ bl(t), e = !1;} else n = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;- if (!e) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ if (!e) return t.flags & 256 ? (Io(t), t) : (Io(t), null);if (t.flags & 128) throw Error(i(558));}- return vl(t), null;+ return bl(t), null;case 13:if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {if (a = ua(t), r !== null && r.dehydrated !== null) {if (e === null) {if (!a) throw Error(i(318));if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));- a[St] = t;+ a[bt] = t;} else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- vl(t), a = !1;+ bl(t), a = !1;} else a = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;- if (!a) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ if (!a) return t.flags & 256 ? (Io(t), t) : (Io(t), null);}- return Fo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), gl(t, t.updateQueue), vl(t), null);- case 4: return Te(), e === null && $f(t.stateNode.containerInfo), t.flags |= 67108864, vl(t), null;- case 10: return _a(t.type), vl(t), null;+ return Io(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), vl(t, t.updateQueue), bl(t), null);+ case 4: return Ce(), e === null && $f(t.stateNode.containerInfo), t.flags |= 67108864, bl(t), null;+ case 10: return va(t.type), bl(t), null;case 19:- if (Ro(t), r = t.memoizedState, r === null) return vl(t), null;+ if (zo(t), r = t.memoizedState, r === null) return bl(t), null;if (a = !!(t.flags & 128), o = r.rendering, o === null) {- if (a) _l(r, !1);+ if (a) yl(r, !1);else {- if (fd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {- if (o = zo(e), o !== null) {- for (t.flags |= 128, _l(r, !1), e = o.updateQueue, t.updateQueue = e, gl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;- return Lo(t, Io.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;+ if (md !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {+ if (o = Bo(e), o !== null) {+ for (t.flags |= 128, yl(r, !1), e = o.updateQueue, t.updateQueue = e, vl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;+ return Ro(t, Lo.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;}e = e.sibling;}- r.tail !== null && Be() > Cd && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);+ r.tail !== null && Re() > Td && (t.flags |= 128, a = !0, yl(r, !1), t.lanes = 4194304);}} else {if (!a) {- if (e = zo(o), e !== null) {- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, gl(t, e), _l(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return vl(t), null;- } else 2 * Be() - r.renderingStartTime > Cd && n !== 536870912 && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);+ if (e = Bo(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, vl(t, e), yl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return bl(t), null;+ } else 2 * Re() - r.renderingStartTime > Td && n !== 536870912 && (t.flags |= 128, a = !0, yl(r, !1), t.lanes = 4194304);}r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);}@@ -14281,79 +19275,79 @@ var If = /* @__PURE__ */ _(((e) => {}n = !0;}- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Be(), e.sibling = null, o = Io.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Lo(t, o) : (n = o, ye(ko, t), ye(Io, n), Ao === null && (Ao = t)), ra && Xi(t, r.treeForkCount), e;+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Re(), e.sibling = null, o = Lo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Ro(t, o) : (n = o, _e(Ao, t), _e(Lo, n), jo === null && (jo = t)), ra && Xi(t, r.treeForkCount), e;}- return vl(t), null;+ return bl(t), null;case 22:- case 23: return Fo(t), Oo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (vl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : vl(t), n = t.updateQueue, n !== null && gl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && ve(Ua), null;- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), _a(ka), vl(t), null;+ case 23: return Io(t), ko(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (bl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : bl(t), n = t.updateQueue, n !== null && vl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && ge(Wa), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), va(Aa), bl(t), null;case 25: return null;- case 30: return t.flags |= 33554432, vl(t), null;+ case 30: return t.flags |= 33554432, bl(t), null;}throw Error(i(156, t.tag));}- function bl(e, t) {+ function Sl(e, t) {switch ($i(t), t.tag) {case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 3: return _a(ka), Te(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return va(Aa), Ce(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;case 26:case 27:- case 5: return De(t), null;+ case 5: return Te(t), null;case 31:if (t.memoizedState !== null) {- if (Fo(t), t.alternate === null) throw Error(i(340));+ if (Io(t), t.alternate === null) throw Error(i(340));da();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;case 13:- if (Fo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (Io(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {if (t.alternate === null) throw Error(i(340));da();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 19: return Ro(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;- case 4: return Te(), null;- case 10: return _a(t.type), null;+ case 19: return zo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;+ case 4: return Ce(), null;+ case 10: return va(t.type), null;case 22:- case 23: return Fo(t), Oo(), e !== null && ve(Ua), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 24: return _a(ka), null;+ case 23: return Io(t), ko(), e !== null && ge(Wa), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return va(Aa), null;case 25: return null;default: return null;}}- function xl(e, t) {+ function Cl(e, t) {switch ($i(t), t.tag) {case 3:- _a(ka), Te();+ va(Aa), Ce();break;case 26:case 27:case 5:- De(t);+ Te(t);break;case 4:- Te();+ Ce();break;case 31:- t.memoizedState !== null && Fo(t);+ t.memoizedState !== null && Io(t);break;case 13:- Fo(t);+ Io(t);break;case 19:- Ro(t);+ zo(t);break;case 10:- _a(t.type);+ va(t.type);break;case 22:case 23:- Fo(t), Oo(), e !== null && ve(Ua);+ Io(t), ko(), e !== null && ge(Wa);break;- case 24: _a(ka);+ case 24: va(Aa);}}- function Sl(e, t) {+ function wl(e, t) {try {var n = t.updateQueue, r = n === null ? null : n.lastEffect;if (r !== null) {@@ -14369,10 +19363,10 @@ var If = /* @__PURE__ */ _(((e) => {} while (n !== i);}} catch (e) {- xf(t, t.return, e);+ Cf(t, t.return, e);}}- function Cl(e, t, n) {+ function Tl(e, t, n) {try {var r = t.updateQueue, i = r === null ? null : r.lastEffect;if (i !== null) {@@ -14387,7 +19381,7 @@ var If = /* @__PURE__ */ _(((e) => {try {l();} catch (e) {- xf(i, c, e);+ Cf(i, c, e);}}}@@ -14395,29 +19389,29 @@ var If = /* @__PURE__ */ _(((e) => {} while (r !== a);}} catch (e) {- xf(t, t.return, e);+ Cf(t, t.return, e);}}- function wl(e) {+ function El(e) {var t = e.updateQueue;if (t !== null) {var n = e.stateNode;try {- Co(t, n);+ wo(t, n);} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}}}- function Tl(e, t, n) {- n.props = Sc(e.type, e.memoizedProps), n.state = e.memoizedState;+ function Dl(e, t, n) {+ n.props = wc(e.type, e.memoizedProps), n.state = e.memoizedState;try {n.componentWillUnmount();} catch (n) {- xf(e, t, n);+ Cf(e, t, n);}}- function El(e, t) {+ function Ol(e, t) {try {var n = e.ref;if (n !== null) {@@ -14443,43 +19437,43 @@ var If = /* @__PURE__ */ _(((e) => {typeof n == "function" ? e.refCleanup = n(r) : n.current = r;}} catch (n) {- xf(e, t, n);+ Cf(e, t, n);}}- function Dl(e, t) {+ function kl(e, t) {var n = e.ref, r = e.refCleanup;if (n !== null) {if (typeof r == "function") try {r();} catch (n) {- xf(e, t, n);+ Cf(e, t, n);} finally {e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);}else if (typeof n == "function") try {n(null);} catch (n) {- xf(e, t, n);+ Cf(e, t, n);}else n.current = null;}}- function Ol(e, t) {+ function Al(e, t) {if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) um(e.stateNode, t[n]);}- function kl(e) {- for (var t = e.return; t !== null && (Ml(t) && um(e.stateNode, t.stateNode), !jl(t));) t = t.return;+ function jl(e) {+ for (var t = e.return; t !== null && (Pl(t) && um(e.stateNode, t.stateNode), !Nl(t));) t = t.return;}- function Al(e) {- for (var t = e.return; t !== null && (Ml(t) && dm(e.stateNode, t.stateNode), !jl(t));) t = t.return;+ function Ml(e) {+ for (var t = e.return; t !== null && (Pl(t) && dm(e.stateNode, t.stateNode), !Nl(t));) t = t.return;}- function jl(e) {+ function Nl(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;}- function Ml(e) {+ function Pl(e) {return e && e.tag === 7 && e.stateNode !== null;}- function Nl(e) {+ function Fl(e) {var t = e.type, n = e.memoizedProps, r = e.stateNode;try {a: switch (t) {@@ -14492,24 +19486,24 @@ var If = /* @__PURE__ */ _(((e) => {case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);}} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}}- function Pl(e, t, n) {+ function Il(e, t, n) {try {var r = e.stateNode;- mp(r, e.type, n, t), r[Ct] = t;+ mp(r, e.type, n, t), r[xt] = t;} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}}- function Fl(e) {+ function Ll(e) {return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Mp(e.type) || e.tag === 4;}- function Il(e) {+ function Rl(e) {a: for (;;) {for (; e.sibling === null;) {- if (e.return === null || Fl(e.return)) return null;+ if (e.return === null || Ll(e.return)) return null;e = e.return;}for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {@@ -14519,39 +19513,39 @@ var If = /* @__PURE__ */ _(((e) => {if (!(e.flags & 2)) return e.stateNode;}}- function Ll(e, t, n, r) {+ function zl(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = gn)), Ol(e, r), Gt = !0;- else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = _n)), Al(e, r), Wt = !0;+ else if (i !== 4 && (i === 27 && (Al(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;}- function Rl(e, t, n, r) {+ function Bl(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Ol(e, r), Gt = !0;- else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Al(e, r), Wt = !0;+ else if (i !== 4 && (i === 27 && (Al(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Bl(e, t, n, r), e = e.sibling; e !== null;) Bl(e, t, n, r), e = e.sibling;}- function zl(e) {+ function Vl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- fp(t, r, n), t[St] = e, t[Ct] = n;+ fp(t, r, n), t[bt] = e, t[xt] = n;} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}}- var Bl = !1, Vl = null;- function Hl(e) {- (e.tag === 30 || e.subtreeFlags & 33554432) && (Bl = !0);+ var Hl = !1, Ul = null;+ function Wl(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Hl = !0);}- var Ul = null;- function Wl() {- var e = Ul;- return Ul = null, e;+ var Gl = null;+ function Kl() {+ var e = Gl;+ return Gl = null, e;}- var Gl = 0;- function Kl(e, t, n, r, i) {- return Gl = 0, ql(e.child, t, n, r, i);+ var ql = 0;+ function Jl(e, t, n, r, i) {+ return ql = 0, Yl(e.child, t, n, r, i);}- function ql(e, t, n, r, i) {+ function Yl(e, t, n, r, i) {for (var a = !1; e !== null;) {if (e.tag === 5) {var o = e.stateNode;@@ -14559,36 +19553,36 @@ var If = /* @__PURE__ */ _(((e) => {var s = Rp(o);r.push(s), s.view && (a = !0);} else a || Rp(o).view && (a = !0);- Bl = !0, Fp(o, Gl === 0 ? t : t + "_" + Gl, n), Gl++;- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || ql(e.child, t, n, r, i) && (a = !0));+ Hl = !0, Fp(o, ql === 0 ? t : t + "_" + ql, n), ql++;+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Yl(e.child, t, n, r, i) && (a = !0));e = e.sibling;}return a;}- function Jl(e, t) {- for (; e !== null;) e.tag === 5 ? Ip(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Jl(e.child, t)), e = e.sibling;+ function Xl(e, t) {+ for (; e !== null;) e.tag === 5 ? Ip(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Xl(e.child, t)), e = e.sibling;}- function Yl(e) {+ function Zl(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {- if ((e.tag !== 22 || e.memoizedState === null) && (Yl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {+ if ((e.tag !== 22 || e.memoizedState === null) && (Zl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {var t = e.memoizedProps;if (t.name == null || t.name === "auto") throw Error(i(544));var n = t.name;- t = _i(t.default, t.share), t !== "none" && (Kl(e, n, t, null, !1) || Jl(e.child, !1));+ t = _i(t.default, t.share), t !== "none" && (Jl(e, n, t, null, !1) || Xl(e.child, !1));}e = e.sibling;}}- function Xl(e, t) {+ function Ql(e, t) {if (e.tag === 30) {var n = e.stateNode, r = e.memoizedProps, i = hi(r, n), a = _i(r.default, n.paired ? r.share : r.enter);- a === "none" ? Yl(e) : Kl(e, i, a, null, !1) ? (Yl(e), n.paired || t || Bd(e, r.onEnter)) : Jl(e.child, !1);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e, t), e = e.sibling;- else Yl(e);+ a === "none" ? Zl(e) : Jl(e, i, a, null, !1) ? (Zl(e), n.paired || t || Hd(e, r.onEnter)) : Xl(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e, t), e = e.sibling;+ else Zl(e);}- function Zl(e) {- if (Vl !== null && Vl.size !== 0) {- var t = Vl;+ function $l(e) {+ if (Ul !== null && Ul.size !== 0) {+ var t = Ul;if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {@@ -14597,58 +19591,58 @@ var If = /* @__PURE__ */ _(((e) => {var i = t.get(r);if (i !== void 0) {var a = _i(n.default, n.share);- if (a !== "none" && (Kl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Bd(e, n.onShare)) : Jl(e.child, !1)), t.delete(r), t.size === 0) break;+ if (a !== "none" && (Jl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Hd(e, n.onShare)) : Xl(e.child, !1)), t.delete(r), t.size === 0) break;}}}- Zl(e);+ $l(e);}e = e.sibling;}}}- function Ql(e) {+ function eu(e) {if (e.tag === 30) {- var t = e.memoizedProps, n = hi(t, e.stateNode), r = Vl === null ? void 0 : Vl.get(n), i = _i(t.default, r === void 0 ? t.exit : t.share);- i !== "none" && (Kl(e, n, i, null, !1) ? r === void 0 ? Bd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Vl.delete(n), Bd(e, t.onShare)) : Jl(e.child, !1)), Vl !== null && Zl(e);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;- else Vl !== null && Zl(e);+ var t = e.memoizedProps, n = hi(t, e.stateNode), r = Ul === null ? void 0 : Ul.get(n), i = _i(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (Jl(e, n, i, null, !1) ? r === void 0 ? Hd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Ul.delete(n), Hd(e, t.onShare)) : Xl(e.child, !1)), Ul !== null && $l(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) eu(e), e = e.sibling;+ else Ul !== null && $l(e);}- function $l(e) {+ function tu(e) {for (e = e.child; e !== null;) {if (e.tag === 30) {var t = e.memoizedProps, n = hi(t, e.stateNode);- t = _i(t.default, t.update), e.flags &= -5, t !== "none" && Kl(e, n, t, e.memoizedState = [], !1);- } else e.subtreeFlags & 33554432 && $l(e);+ t = _i(t.default, t.update), e.flags &= -5, t !== "none" && Jl(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && tu(e);e = e.sibling;}}- function eu(e) {+ function nu(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {var t = e.stateNode;- t.paired !== null && (t.paired = null, Jl(e.child, !1));+ t.paired !== null && (t.paired = null, Xl(e.child, !1));}- eu(e);+ nu(e);}e = e.sibling;}}- function tu(e) {- if (e.tag === 30) e.stateNode.paired = null, Jl(e.child, !1), eu(e);- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) tu(e), e = e.sibling;- else eu(e);+ function ru(e) {+ if (e.tag === 30) e.stateNode.paired = null, Xl(e.child, !1), nu(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) ru(e), e = e.sibling;+ else nu(e);}- function nu(e) {- for (e = e.child; e !== null;) e.tag === 30 ? Jl(e.child, !1) : e.subtreeFlags & 33554432 && nu(e), e = e.sibling;+ function iu(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? Xl(e.child, !1) : e.subtreeFlags & 33554432 && iu(e), e = e.sibling;}- function ru(e, t, n, r, i, a, o) {+ function au(e, t, n, r, i, a, o) {for (var s = !1; t !== null;) {if (t.tag === 5) {var c = t.stateNode;- if (a !== null && Gl < a.length) {- var l = a[Gl], u = Rp(c);+ if (a !== null && ql < a.length) {+ var l = a[ql], u = Rp(c);(l.view || u.view) && (s = !0);var d;if (d = !(e.flags & 4)) {@@ -14661,13 +19655,13 @@ var If = /* @__PURE__ */ _(((e) => {}d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);} else e.flags |= 32;- e.flags & 4 && Fp(c, Gl === 0 ? n : n + "_" + Gl, i), s && e.flags & 4 || (Ul === null && (Ul = []), Ul.push(c, Gl === 0 ? r : r + "_" + Gl, t.memoizedProps)), Gl++;- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : ru(e, t.child, n, r, i, a, o) && (s = !0));+ e.flags & 4 && Fp(c, ql === 0 ? n : n + "_" + ql, i), s && e.flags & 4 || (Gl === null && (Gl = []), Gl.push(c, ql === 0 ? r : r + "_" + ql, t.memoizedProps)), ql++;+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : au(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}return s;}- function iu(e, t) {+ function ou(e, t) {for (e = e.child; e !== null;) {if (e.tag === 30) {var n = e.memoizedProps, r = e.stateNode, i = hi(n, r), a = _i(n.default, n.update);@@ -14677,14 +19671,14 @@ var If = /* @__PURE__ */ _(((e) => {} else o = e.memoizedState, e.memoizedState = null;r = e;var s = e.child;- Gl = 0, i = ru(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Bd(e, n.onUpdate));- } else e.subtreeFlags & 33554432 && iu(e, t);+ ql = 0, i = au(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Hd(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && ou(e, t);e = e.sibling;}}- var au = !1, ou = !1, su = !1, cu = !1, lu = typeof WeakSet == "function" ? WeakSet : Set, uu = null, du = !1, fu = !1, pu = !1, mu = !1;- function hu(e, t, n) {- if (e = e.containerInfo, _p = xh, e = Wr(e), Gr(e)) {+ var su = !1, cu = !1, lu = !1, uu = !1, du = typeof WeakSet == "function" ? WeakSet : Set, fu = null, pu = !1, mu = !1, hu = !1, gu = !1;+ function _u(e, t, n) {+ if (e = e.containerInfo, _p = Eh, e = Gr(e), Kr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -14726,28 +19720,28 @@ var If = /* @__PURE__ */ _(((e) => {for (vp = {focusedElem: e,selectionRange: r- }, xh = !1, n = (n & 335544064) === n, uu = t, t = n ? 9270 : 1024; uu !== null;) {- if (e = uu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Ql(r[a]);- if (e.alternate === null && e.flags & 2) n && Hl(e), gu(n);+ }, Eh = !1, n = (n & 335544064) === n, fu = t, t = n ? 9270 : 1024; fu !== null;) {+ if (e = fu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && eu(r[a]);+ if (e.alternate === null && e.flags & 2) n && Wl(e), vu(n);else {if (e.tag === 22) {if (r = e.alternate, e.memoizedState !== null) {- r !== null && r.memoizedState === null && n && Ql(r), gu(n);+ r !== null && r.memoizedState === null && n && eu(r), vu(n);continue;}if (r !== null && r.memoizedState !== null) {- n && Hl(e), gu(n);+ n && Wl(e), vu(n);continue;}}- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, uu = r) : (n && $l(e), gu(n));+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, fu = r) : (n && tu(e), vu(n));}}- Vl = null;+ Ul = null;}- function gu(e) {- for (; uu !== null;) {- var t = uu, n = e, r = t.alternate, a = t.flags;+ function vu(e) {+ for (; fu !== null;) {+ var t = fu, n = e, r = t.alternate, a = t.flags;switch (t.tag) {case 0:case 11:@@ -14757,10 +19751,10 @@ var If = /* @__PURE__ */ _(((e) => {n = void 0, a = r.memoizedProps, r = r.memoizedState;var o = t.stateNode;try {- var s = Sc(t.type, a);+ var s = wc(t.type, a);n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;} catch (e) {- xf(t, t.return, e);+ Cf(t, t.return, e);}}break;@@ -14784,46 +19778,46 @@ var If = /* @__PURE__ */ _(((e) => {case 4:case 17: break;case 30:- n && r !== null && (n = hi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = _i(a.default, a.update), a !== "none" && Kl(r, n, a, r.memoizedState = [], !0));+ n && r !== null && (n = hi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = _i(a.default, a.update), a !== "none" && Jl(r, n, a, r.memoizedState = [], !0));break;default: if (a & 1024) throw Error(i(163));}if (r = t.sibling, r !== null) {- r.return = t.return, uu = r;+ r.return = t.return, fu = r;break;}- uu = t.return;+ fu = t.return;}}- function _u(e, t, n) {+ function yu(e, t, n) {var r = n.flags;switch (n.tag) {case 0:case 11:case 15:- Lu(e, n), r & 4 && Sl(5, n);+ zu(e, n), r & 4 && wl(5, n);break;case 1:- if (Lu(e, n), r & 4) {+ if (zu(e, n), r & 4) {if (e = n.stateNode, t === null) try {e.componentDidMount();} catch (e) {- xf(n, n.return, e);+ Cf(n, n.return, e);}else {- var i = Sc(n.type, t.memoizedProps);+ var i = wc(n.type, t.memoizedProps);t = t.memoizedState;try {e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);} catch (e) {- xf(n, n.return, e);+ Cf(n, n.return, e);}}}- r & 64 && wl(n), r & 512 && El(n, n.return);+ r & 64 && El(n), r & 512 && Ol(n, n.return);break;case 3:- if (Lu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (zu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {if (t = null, n.child !== null) switch (n.child.tag) {case 27:case 5:@@ -14832,43 +19826,43 @@ var If = /* @__PURE__ */ _(((e) => {case 1: t = n.child.stateNode;}try {- Co(e, t);+ wo(e, t);} catch (e) {- xf(n, n.return, e);+ Cf(n, n.return, e);}}break;- case 27: t === null && r & 4 && zl(n);+ case 27: t === null && r & 4 && Vl(n);case 26:case 5:- Lu(e, n), t === null && r & 4 && Nl(n), r & 512 && El(n, n.return);+ zu(e, n), t === null && r & 4 && Fl(n), r & 512 && Ol(n, n.return);break;case 12:- Lu(e, n);+ zu(e, n);break;case 31:- Lu(e, n), r & 4 && Eu(e, n);+ zu(e, n), r & 4 && Ou(e, n);break;case 13:- Lu(e, n), r & 4 && Du(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Tf.bind(null, n), vm(e, n))));+ zu(e, n), r & 4 && ku(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Df.bind(null, n), vm(e, n))));break;case 22:- if (r = n.memoizedState !== null || au, !r) {- var a = t !== null && t.memoizedState !== null || ou;- t = au, i = ou, au = r, (ou = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), zu(e, n, r)) : Lu(e, n), au = t, ou = i;+ if (r = n.memoizedState !== null || su, !r) {+ var a = t !== null && t.memoizedState !== null || cu;+ t = su, i = cu, su = r, (cu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Vu(e, n, r)) : zu(e, n), su = t, cu = i;}break;case 30:- Lu(e, n), r & 512 && El(n, n.return);+ zu(e, n), r & 512 && Ol(n, n.return);break;- case 7: r & 512 && El(n, n.return);- default: Lu(e, n);+ case 7: r & 512 && Ol(n, n.return);+ default: zu(e, n);}}- function vu(e, t) {- for (e = e.child; e !== null;) yu(e, t), e = e.sibling;+ function bu(e, t) {+ for (e = e.child; e !== null;) xu(e, t), e = e.sibling;}- function yu(e, t) {+ function xu(e, t) {switch (e.tag) {case 5:case 26:@@ -14882,15 +19876,15 @@ var If = /* @__PURE__ */ _(((e) => {i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();}} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}- bu(e, t);+ Su(e, t);break;case 6:try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Gt = !0;+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Wt = !0;} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}break;case 18:@@ -14898,138 +19892,138 @@ var If = /* @__PURE__ */ _(((e) => {var s = e.stateNode;t ? Pp(s, !0) : Pp(e.stateNode, !1);} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}break;case 22:case 23:- e.memoizedState === null && vu(e, t);+ e.memoizedState === null && bu(e, t);break;- default: vu(e, t);+ default: bu(e, t);}}- function bu(e, t) {+ function Su(e, t) {if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {a: {var n = e, r = t;switch (n.tag) {case 4:- yu(n, r);+ xu(n, r);break a;case 22:- n.memoizedState === null && bu(n, r);+ n.memoizedState === null && Su(n, r);break a;- default: bu(n, r);+ default: Su(n, r);}}e = e.sibling;}}- function xu(e) {+ function Cu(e) {var t = e.alternate;- t !== null && (e.alternate = null, xu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && jt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;+ t !== null && (e.alternate = null, Cu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && kt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;}- var Su = null, Cu = !1;- function wu(e, t, n) {- for (n = n.child; n !== null;) Tu(e, t, n), n = n.sibling;+ var wu = null, Tu = !1;+ function Eu(e, t, n) {+ for (n = n.child; n !== null;) Du(e, t, n), n = n.sibling;}- function Tu(e, t, n) {- if (Xe && typeof Xe.onCommitFiberUnmount == "function") try {- Xe.onCommitFiberUnmount(Ye, n);+ function Du(e, t, n) {+ if (Je && typeof Je.onCommitFiberUnmount == "function") try {+ Je.onCommitFiberUnmount(qe, n);} catch {}switch (n.tag) {case 26:- ou || Dl(n, t), wu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !ou && (n = n.stateNode, n.parentNode.removeChild(n));+ cu || kl(n, t), Eu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !cu && (n = n.stateNode, n.parentNode.removeChild(n));break;case 27:- ou || Dl(n, t), Al(n);- var r = Su, i = Cu;- Mp(n.type) && (Su = n.stateNode, Cu = !1), wu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), Su = r, Cu = i;+ cu || kl(n, t), Ml(n);+ var r = wu, i = Tu;+ Mp(n.type) && (wu = n.stateNode, Tu = !1), Eu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), wu = r, Tu = i;break;- case 5: ou || Dl(n, t), Al(n);+ case 5: cu || kl(n, t), Ml(n);case 6:- if (n.tag === 6 && Al(n), r = Su, i = Cu, Su = null, wu(e, t, n), Su = r, Cu = i, Su !== null) {- if (Cu) try {- (Su.nodeType === 9 ? Su.body : Su.nodeName === "HTML" ? Su.ownerDocument.body : Su).removeChild(n.stateNode), Gt = !0;+ if (n.tag === 6 && Ml(n), r = wu, i = Tu, wu = null, Eu(e, t, n), wu = r, Tu = i, wu !== null) {+ if (Tu) try {+ (wu.nodeType === 9 ? wu.body : wu.nodeName === "HTML" ? wu.ownerDocument.body : wu).removeChild(n.stateNode), Wt = !0;} catch (e) {- xf(n, t, e);+ Cf(n, t, e);}else try {- Su.removeChild(n.stateNode), Gt = !0;+ wu.removeChild(n.stateNode), Wt = !0;} catch (e) {- xf(n, t, e);+ Cf(n, t, e);}}break;case 18:- Su !== null && (Cu ? (e = Su, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Gh(e)) : Np(Su, n.stateNode));+ wu !== null && (Tu ? (e = wu, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Qh(e)) : Np(wu, n.stateNode));break;case 4:- r = Su, i = Cu, Su = n.stateNode.containerInfo, Cu = !0, wu(e, t, n), Su = r, Cu = i;+ r = wu, i = Tu, wu = n.stateNode.containerInfo, Tu = !0, Eu(e, t, n), wu = r, Tu = i;break;case 0:case 11:case 14:case 15:- Cl(2, n, t), ou || Cl(4, n, t), wu(e, t, n);+ Tl(2, n, t), cu || Tl(4, n, t), Eu(e, t, n);break;case 1:- ou || (Dl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Tl(n, t, r)), wu(e, t, n);+ cu || (kl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Dl(n, t, r)), Eu(e, t, n);break;case 21:- wu(e, t, n);+ Eu(e, t, n);break;case 22:- ou = (r = ou) || n.memoizedState !== null, wu(e, t, n), ou = r;+ cu = (r = cu) || n.memoizedState !== null, Eu(e, t, n), cu = r;break;case 30:- Dl(n, t), wu(e, t, n);+ kl(n, t), Eu(e, t, n);break;case 7:- ou || Dl(n, t), wu(e, t, n);+ cu || kl(n, t), Eu(e, t, n);break;- default: wu(e, t, n);+ default: Eu(e, t, n);}}- function Eu(e, t) {+ function Ou(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {- Gh(e);+ Qh(e);} catch (e) {- xf(t, t.return, e);+ Cf(t, t.return, e);}}}- function Du(e, t) {+ function ku(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {- Gh(e);+ Qh(e);} catch (e) {- xf(t, t.return, e);+ Cf(t, t.return, e);}}- function Ou(e) {+ function Au(e) {switch (e.tag) {case 31:case 13:case 19:var t = e.stateNode;- return t === null && (t = e.stateNode = new lu()), t;- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new lu()), t;+ return t === null && (t = e.stateNode = new du()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new du()), t;default: throw Error(i(435, e.tag));}}- function ku(e, t) {- var n = Ou(e);+ function ju(e, t) {+ var n = Au(e);t.forEach(function(t) {if (!n.has(t)) {n.add(t);- var r = Ef.bind(null, e, t);+ var r = Of.bind(null, e, t);t.then(r, r);}});}- function Au(e, t, n) {+ function Mu(e, t, n) {var r = t.deletions;if (r !== null) for (var a = 0; a < r.length; a++) {var o = r[a], s = e, c = t, l = c;@@ -15037,27 +20031,27 @@ var If = /* @__PURE__ */ _(((e) => {switch (l.tag) {case 27:if (Mp(l.type)) {- Su = l.stateNode, Cu = !1;+ wu = l.stateNode, Tu = !1;break a;}break;case 5:- Su = l.stateNode, Cu = !1;+ wu = l.stateNode, Tu = !1;break a;case 3:case 4:- Su = l.stateNode.containerInfo, Cu = !0;+ wu = l.stateNode.containerInfo, Tu = !0;break a;}l = l.return;}- if (Su === null) throw Error(i(160));- Tu(s, c, o), Su = null, Cu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;+ if (wu === null) throw Error(i(160));+ Du(s, c, o), wu = null, Tu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;}- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Mu(t, e, n), t = t.sibling;+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Pu(t, e, n), t = t.sibling;}- var ju = null;- function Mu(e, t, n) {+ var Nu = null;+ function Pu(e, t, n) {var r = e.alternate, a = e.flags;switch (e.tag) {case 0:@@ -15068,26 +20062,26 @@ var If = /* @__PURE__ */ _(((e) => {var s = r[o];s.ref.impl = s.nextImpl;}- Au(t, e, n), Nu(e), a & 4 && (Cl(3, e, e.return), Sl(3, e), Cl(5, e, e.return));+ Mu(t, e, n), Fu(e), a & 4 && (Tl(3, e, e.return), wl(3, e), Tl(5, e, e.return));break;case 1:- Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), a & 64 && au && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));+ Mu(t, e, n), Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), a & 64 && su && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));break;case 26:- if (o = ju, Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), a & 4) {+ if (o = Nu, Mu(t, e, n), Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), a & 4) {if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {if (n === null) {if (e.stateNode === null) {- if (au) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);+ if (su) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);else {a: {t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;b: switch (t) {case "title":- r = a.getElementsByTagName("title")[0], (!r || r[kt] || r[St] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), fp(r, t, n), r[St] = e, It(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[Dt] || r[bt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), fp(r, t, n), r[bt] = e, Pt(r), t = r;break a;case "link":- if (o = $m("link", "href", a).get(t + (n.href || ""))) {+ if (o = th("link", "href", a).get(t + (n.href || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {o.splice(s, 1);break b;@@ -15096,7 +20090,7 @@ var If = /* @__PURE__ */ _(((e) => {r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);break;case "meta":- if (o = $m("meta", "content", a).get(t + (n.content || ""))) {+ if (o = th("meta", "content", a).get(t + (n.content || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {o.splice(s, 1);break b;@@ -15106,82 +20100,82 @@ var If = /* @__PURE__ */ _(((e) => {break;default: throw Error(i(468, t));}- r[St] = e, It(r), t = r;+ r[bt] = e, Pt(r), t = r;}e.stateNode = t;}- } else au || eh(o, e.type, e.stateNode);- } else e.stateNode = Jm(o, n, e.memoizedProps);- } else a === n ? n === null && e.stateNode !== null && Pl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || ou || t.parentNode.removeChild(t)) : a.count--, n === null ? au || eh(o, e.type, e.stateNode) : Jm(o, n, e.memoizedProps));+ } else su || nh(o, e.type, e.stateNode);+ } else e.stateNode = Xm(o, n, e.memoizedProps);+ } else a === n ? n === null && e.stateNode !== null && Il(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || cu || t.parentNode.removeChild(t)) : a.count--, n === null ? su || nh(o, e.type, e.stateNode) : Xm(o, n, e.memoizedProps));}break;case 27:- Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), r !== null && a & 4 && Pl(e, e.memoizedProps, r.memoizedProps);+ Mu(t, e, n), Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), r !== null && a & 4 && Il(e, e.memoizedProps, r.memoizedProps);break;case 5:- if (o = su, su = !1, Au(t, e, n), su = o, Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), e.flags & 32) {+ if (o = lu, lu = !1, Mu(t, e, n), lu = o, Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), e.flags & 32) {t = e.stateNode;try {- cn(t, ""), Gt = !0;+ ln(t, ""), Wt = !0;} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}}- a & 4 && e.stateNode != null && (t = e.memoizedProps, Pl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (cu = !0);+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Il(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (uu = !0);break;case 6:- if (Au(t, e, n), Nu(e), a & 4) {+ if (Mu(t, e, n), Fu(e), a & 4) {if (e.stateNode === null) throw Error(i(162));t = e.memoizedProps, n = e.stateNode;try {- n.nodeValue = t, Gt = !0;+ n.nodeValue = t, Wt = !0;} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}}break;case 3:- if (Gt = !1, Qm = null, o = ju, ju = km(t.containerInfo), Au(t, e, n), ju = o, Nu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {- Gh(t.containerInfo);+ if (Wt = !1, eh = null, o = Nu, Nu = km(t.containerInfo), Mu(t, e, n), Nu = o, Fu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ Qh(t.containerInfo);} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}- cu && (cu = !1, Pu(e)), Gt = !1;+ uu && (uu = !1, Iu(e)), Wt = !1;break;case 4:- a = su, su = au, r = Kt(), o = ju, ju = km(e.stateNode.containerInfo), Au(t, e, n), Nu(e), ju = o, Gt && fu && (pu = !0), Gt = r, su = a;+ a = lu, lu = su, r = Gt(), o = Nu, Nu = km(e.stateNode.containerInfo), Mu(t, e, n), Fu(e), Nu = o, Wt && mu && (hu = !0), Wt = r, lu = a;break;case 12:- Au(t, e, n), Nu(e);+ Mu(t, e, n), Fu(e);break;case 31:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ Mu(t, e, n), Fu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ju(e, t)));break;case 13:- Au(t, e, n), Nu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (xd = Be()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ Mu(t, e, n), Fu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (Cd = Re()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ju(e, t)));break;case 22:o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;- var c = au, l = ou, u = su;- au = c || o, su = u || o, ou = l || s, Au(t, e, n), ou = l, su = u, au = c, Nu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || au || ou || (t = s || ou, n = au, r = ou, au = o || au, ou = t, Ru(e, 2), au = n, ou = r), !o && su || vu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, ku(e, n))));+ var c = su, l = cu, u = lu;+ su = c || o, lu = u || o, cu = l || s, Mu(t, e, n), cu = l, lu = u, su = c, Fu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || su || cu || (t = s || cu, n = su, r = cu, su = o || su, cu = t, Bu(e, 2), su = n, cu = r), !o && lu || bu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, ju(e, n))));break;case 19:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ Mu(t, e, n), Fu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ju(e, t)));break;case 30:- a & 512 && (ou || r === null || Dl(r, r.return)), a = Kt(), o = fu, s = (n & 335544064) === n, c = e.memoizedProps, fu = s && _i(c.default, c.update) !== "none", Au(t, e, n), Nu(e), s && r !== null && Gt && (e.flags |= 4), fu = o, Gt = a;+ a & 512 && (cu || r === null || kl(r, r.return)), a = Gt(), o = mu, s = (n & 335544064) === n, c = e.memoizedProps, mu = s && _i(c.default, c.update) !== "none", Mu(t, e, n), Fu(e), s && r !== null && Wt && (e.flags |= 4), mu = o, Wt = a;break;case 21: break;- case 7: a & 512 && (ou || r === null || Dl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);- default: Au(t, e, n), Nu(e);+ case 7: a & 512 && (cu || r === null || kl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: Mu(t, e, n), Fu(e);}}- function Nu(e) {+ function Fu(e) {var t = e.flags;if (t & 2) {try {for (var n, r = e.return; r !== null;) {- if (Fl(r)) {+ if (Ll(r)) {n = r;break;}@@ -15189,11 +20183,11 @@ var If = /* @__PURE__ */ _(((e) => {}r = null;for (var a = e.return; a !== null;) {- if (Ml(a)) {+ if (Pl(a)) {var o = a.stateNode;r === null ? r = [o] : r.push(o);}- if (jl(a)) break;+ if (Nl(a)) break;a = a.return;}var s = r;@@ -15201,43 +20195,43 @@ var If = /* @__PURE__ */ _(((e) => {switch (n.tag) {case 27:var c = n.stateNode;- Rl(e, Il(e), c, s);+ Bl(e, Rl(e), c, s);break;case 5:var l = n.stateNode;- n.flags & 32 && (cn(l, ""), n.flags &= -33), Rl(e, Il(e), l, s);+ n.flags & 32 && (ln(l, ""), n.flags &= -33), Bl(e, Rl(e), l, s);break;case 3:case 4:var u = n.stateNode.containerInfo;- Ll(e, Il(e), u, s);+ zl(e, Rl(e), u, s);break;default: throw Error(i(161));}} catch (t) {- xf(e, e.return, t);+ Cf(e, e.return, t);}e.flags &= -3;}t & 4096 && (e.flags &= -4097);}- function Pu(e) {+ function Iu(e) {if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {var t = e;- Pu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, xh = !0, t.reset(), xh = !1), e = e.sibling;+ Iu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Eh = !0, t.reset(), Eh = !1), e = e.sibling;}}- function Fu(e, t) {- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Iu(t, e), t = t.sibling;- else iu(t, !1);+ function Lu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Ru(t, e), t = t.sibling;+ else ou(t, !1);}- function Iu(e, t) {+ function Ru(e, t) {var n = e.alternate;- if (n === null) Xl(e, !1);+ if (n === null) Ql(e, !1);else switch (e.tag) {case 3:- if (mu = du = !1, Wl(), Fu(t, e), !du && !pu) {- if (e = Ul, e !== null) for (var r = 0; r < e.length; r += 3) {+ if (gu = pu = !1, Kl(), Lu(t, e), !pu && !hu) {+ if (e = Gl, e !== null) for (var r = 0; r < e.length; r += 3) {n = e[r];var i = e[r + 1];Ip(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({@@ -15263,33 +20257,33 @@ var If = /* @__PURE__ */ _(((e) => {duration: 0,fill: "forwards",pseudoElement: "::view-transition"- })), mu = !0;+ })), gu = !0;}- Ul = null;+ Gl = null;break;case 5:- Fu(t, e);+ Lu(t, e);break;case 4:- r = du, du = !1, Fu(t, e), du && (pu = !0), du = r;+ r = pu, pu = !1, Lu(t, e), pu && (hu = !0), pu = r;break;case 22:- e.memoizedState === null && (n.memoizedState === null ? Fu(t, e) : Xl(e, !1));+ e.memoizedState === null && (n.memoizedState === null ? Lu(t, e) : Ql(e, !1));break;case 30:- r = du, i = Wl(), du = !1, Fu(t, e), du && (e.flags |= 4);+ r = pu, i = Kl(), pu = !1, Lu(t, e), pu && (e.flags |= 4);var a = e.memoizedProps, o = e.stateNode;t = hi(a, o), o = hi(n.memoizedProps, o);var s = _i(a.default, a.update);- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = ru(e, n, t, o, s, a, !0), Gl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Bd(e, e.memoizedProps.onUpdate), Ul = i) : i !== null && (i.push.apply(i, Ul), Ul = i), du = e.flags & 32 ? !0 : r;+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, ql = 0, t = au(e, n, t, o, s, a, !0), ql !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Hd(e, e.memoizedProps.onUpdate), Gl = i) : i !== null && (i.push.apply(i, Gl), Gl = i), pu = e.flags & 32 ? !0 : r;break;- default: Fu(t, e);+ default: Lu(t, e);}}- function Lu(e, t) {- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) _u(e, t.alternate, t), t = t.sibling;+ function zu(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) yu(e, t.alternate, t), t = t.sibling;}- function Ru(e, t) {+ function Bu(e, t) {for (e = e.child; e !== null;) {var n = e, r = t;switch (n.tag) {@@ -15297,218 +20291,218 @@ var If = /* @__PURE__ */ _(((e) => {case 11:case 14:case 15:- Cl(4, n, n.return), Ru(n, r);+ Tl(4, n, n.return), Bu(n, r);break;case 1:- Dl(n, n.return);+ kl(n, n.return);var i = n.stateNode;- typeof i.componentWillUnmount == "function" && Tl(n, n.return, i), Ru(n, r);+ typeof i.componentWillUnmount == "function" && Dl(n, n.return, i), Bu(n, r);break;case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);case 5:- Dl(n, n.return), n.tag !== 5 && n.tag !== 27 || Al(n), Ru(n, r);+ kl(n, n.return), n.tag !== 5 && n.tag !== 27 || Ml(n), Bu(n, r);break;case 6:- Al(n);+ Ml(n);break;case 26:- Dl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ou || i.parentNode.removeChild(i), Ru(n, r);+ kl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || cu || i.parentNode.removeChild(i), Bu(n, r);break;case 22:- n.memoizedState === null && Ru(n, r);+ n.memoizedState === null && Bu(n, r);break;case 30:- Dl(n, n.return), Ru(n, r);+ kl(n, n.return), Bu(n, r);break;- case 7: Dl(n, n.return);- default: Ru(n, r);+ case 7: kl(n, n.return);+ default: Bu(n, r);}e = e.sibling;}}- function zu(e, t, n) {+ function Vu(e, t, n) {for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);switch (a.tag) {case 0:case 11:case 15:- zu(i, a, n), Sl(4, a);+ Vu(i, a, n), wl(4, a);break;case 1:- if (zu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ if (Vu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {i.componentDidMount();} catch (e) {- xf(r, r.return, e);+ Cf(r, r.return, e);}if (r = a, i = r.updateQueue, i !== null) {var c = r.stateNode;try {var l = i.shared.hiddenCallbacks;- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) So(l[i], c);+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) Co(l[i], c);} catch (e) {- xf(r, r.return, e);+ Cf(r, r.return, e);}}- s && o & 64 && wl(a), El(a, a.return);+ s && o & 64 && El(a), Ol(a, a.return);break;- case 27: n & 2 && zl(a);+ case 27: n & 2 && Vl(a);case 5:- a.tag !== 5 && a.tag !== 27 || kl(a), zu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);+ a.tag !== 5 && a.tag !== 27 || jl(a), Vu(i, a, n), s && r === null && o & 4 && Fl(a), Ol(a, a.return);break;case 6:- kl(a);+ jl(a);break;case 26:- c = a.stateNode, a.memoizedState !== null || c === null || au || eh(km(c.ownerDocument), a.type, c), zu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);+ c = a.stateNode, a.memoizedState !== null || c === null || su || nh(km(c.ownerDocument), a.type, c), Vu(i, a, n), s && r === null && o & 4 && Fl(a), Ol(a, a.return);break;case 12:- zu(i, a, n);+ Vu(i, a, n);break;case 31:- zu(i, a, n), s && o & 4 && Eu(i, a);+ Vu(i, a, n), s && o & 4 && Ou(i, a);break;case 13:- zu(i, a, n), s && o & 4 && Du(i, a);+ Vu(i, a, n), s && o & 4 && ku(i, a);break;case 22:- a.memoizedState === null && zu(i, a, n), El(a, a.return);+ a.memoizedState === null && Vu(i, a, n), Ol(a, a.return);break;case 30:- zu(i, a, n), El(a, a.return);+ Vu(i, a, n), Ol(a, a.return);break;- case 7: El(a, a.return);- default: zu(i, a, n);+ case 7: Ol(a, a.return);+ default: Vu(i, a, n);}t = t.sibling;}}- function Bu(e, t) {+ function Hu(e, t) {var n = null;- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ja(n));+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Ma(n));}- function Vu(e, t) {- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ja(e));+ function Uu(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Ma(e));}- function Hu(e, t, n, r) {+ function Wu(e, t, n, r) {var i = (n & 335544064) === n;- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Uu(e, t, n, r), t = t.sibling;- else i && nu(t);+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Gu(e, t, n, r), t = t.sibling;+ else i && iu(t);}- function Uu(e, t, n, r) {+ function Gu(e, t, n, r) {var i = (n & 335544064) === n;- i && t.alternate === null && t.return !== null && t.return.alternate !== null && tu(t);+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && ru(t);var a = t.flags;switch (t.tag) {case 0:case 11:case 15:- Hu(e, t, n, r), a & 2048 && Sl(9, t);+ Wu(e, t, n, r), a & 2048 && wl(9, t);break;case 1:- Hu(e, t, n, r);+ Wu(e, t, n, r);break;case 3:- Hu(e, t, n, r), i && mu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && ja(a)));+ Wu(e, t, n, r), i && gu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Ma(a)));break;case 12:if (a & 2048) {- Hu(e, t, n, r), a = t.stateNode;+ Wu(e, t, n, r), a = t.stateNode;try {var o = t.memoizedProps, s = o.id, c = o.onPostCommit;typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);} catch (e) {- xf(t, t.return, e);+ Cf(t, t.return, e);}- } else Hu(e, t, n, r);+ } else Wu(e, t, n, r);break;case 31:- Hu(e, t, n, r);+ Wu(e, t, n, r);break;case 13:- Hu(e, t, n, r);+ Wu(e, t, n, r);break;case 23: break;case 22:- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && tu(t), o._visibility & 2 ? Hu(e, t, n, r) : (o._visibility |= 2, Wu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && tu(s), o._visibility & 2 ? Hu(e, t, n, r) : Gu(e, t)), a & 2048 && Bu(s, t);+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && ru(t), o._visibility & 2 ? Wu(e, t, n, r) : (o._visibility |= 2, Ku(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && ru(s), o._visibility & 2 ? Wu(e, t, n, r) : qu(e, t)), a & 2048 && Hu(s, t);break;case 24:- Hu(e, t, n, r), a & 2048 && Vu(t.alternate, t);+ Wu(e, t, n, r), a & 2048 && Uu(t.alternate, t);break;case 30:- i && (a = t.alternate, a !== null && (Jl(a.child, !0), Jl(t.child, !0))), Hu(e, t, n, r);+ i && (a = t.alternate, a !== null && (Xl(a.child, !0), Xl(t.child, !0))), Wu(e, t, n, r);break;- default: Hu(e, t, n, r);+ default: Wu(e, t, n, r);}}- function Wu(e, t, n, r, i) {+ function Ku(e, t, n, r, i) {for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {var a = e, o = t, s = n, c = r, l = o.flags;switch (o.tag) {case 0:case 11:case 15:- Wu(a, o, s, c, i), Sl(8, o);+ Ku(a, o, s, c, i), wl(8, o);break;case 23: break;case 22:var u = o.stateNode;- o.memoizedState === null ? (u._visibility |= 2, Wu(a, o, s, c, i)) : u._visibility & 2 ? Wu(a, o, s, c, i) : Gu(a, o), i && l & 2048 && Bu(o.alternate, o);+ o.memoizedState === null ? (u._visibility |= 2, Ku(a, o, s, c, i)) : u._visibility & 2 ? Ku(a, o, s, c, i) : qu(a, o), i && l & 2048 && Hu(o.alternate, o);break;case 24:- Wu(a, o, s, c, i), i && l & 2048 && Vu(o.alternate, o);+ Ku(a, o, s, c, i), i && l & 2048 && Uu(o.alternate, o);break;- default: Wu(a, o, s, c, i);+ default: Ku(a, o, s, c, i);}t = t.sibling;}}- function Gu(e, t) {+ function qu(e, t) {if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {var n = e, r = t, i = r.flags;switch (r.tag) {case 22:- Gu(n, r), i & 2048 && Bu(r.alternate, r);+ qu(n, r), i & 2048 && Hu(r.alternate, r);break;case 24:- Gu(n, r), i & 2048 && Vu(r.alternate, r);+ qu(n, r), i & 2048 && Uu(r.alternate, r);break;- default: Gu(n, r);+ default: qu(n, r);}t = t.sibling;}}- var Ku = 8192;- function qu(e, t, n) {- if (e.subtreeFlags & Ku) for (e = e.child; e !== null;) Ju(e, t, n), e = e.sibling;+ var Ju = 8192;+ function Yu(e, t, n) {+ if (e.subtreeFlags & Ju) for (e = e.child; e !== null;) Xu(e, t, n), e = e.sibling;}- function Ju(e, t, n) {+ function Xu(e, t, n) {switch (e.tag) {case 26:- qu(e, t, n), e.flags & Ku && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && ah(n, e)) : oh(n, ju, e.memoizedState, e.memoizedProps));+ Yu(e, t, n), e.flags & Ju && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && sh(n, e)) : ch(n, Nu, e.memoizedState, e.memoizedProps));break;case 5:- qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && ah(n, e));+ Yu(e, t, n), e.flags & Ju && (e = e.stateNode, (t & 335544128) === t && sh(n, e));break;case 3:case 4:- var r = ju;- ju = km(e.stateNode.containerInfo), qu(e, t, n), ju = r;+ var r = Nu;+ Nu = km(e.stateNode.containerInfo), Yu(e, t, n), Nu = r;break;case 22:- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ku, Ku = 16777216, qu(e, t, n), Ku = r) : qu(e, t, n));+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ju, Ju = 16777216, Yu(e, t, n), Ju = r) : Yu(e, t, n));break;case 30:- if ((e.flags & Ku) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ if ((e.flags & Ju) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {var i = e.stateNode;- i.paired = null, Vl === null && (Vl = /* @__PURE__ */ new Map()), Vl.set(r, i);+ i.paired = null, Ul === null && (Ul = /* @__PURE__ */ new Map()), Ul.set(r, i);}- qu(e, t, n);+ Yu(e, t, n);break;- default: qu(e, t, n);+ default: Yu(e, t, n);}}- function Yu(e) {+ function Zu(e) {var t = e.alternate;if (t !== null && (e = t.child, e !== null)) {t.child = null;@@ -15517,69 +20511,69 @@ var If = /* @__PURE__ */ _(((e) => {while (e !== null);}}- function Xu(e) {+ function Qu(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- uu = r, $u(r, e);+ fu = r, td(r, e);}- Yu(e);+ Zu(e);}- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Zu(e), e = e.sibling;+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) $u(e), e = e.sibling;}- function Zu(e) {+ function $u(e) {switch (e.tag) {case 0:case 11:case 15:- Xu(e), e.flags & 2048 && Cl(9, e, e.return);+ Qu(e), e.flags & 2048 && Tl(9, e, e.return);break;case 3:- Xu(e);+ Qu(e);break;case 12:- Xu(e);+ Qu(e);break;case 22:var t = e.stateNode;- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Qu(e)) : Xu(e);+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, ed(e)) : Qu(e);break;- default: Xu(e);+ default: Qu(e);}}- function Qu(e) {+ function ed(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- uu = r, $u(r, e);+ fu = r, td(r, e);}- Yu(e);+ Zu(e);}for (e = e.child; e !== null;) {switch (t = e, t.tag) {case 0:case 11:case 15:- Cl(8, t, t.return), Qu(t);+ Tl(8, t, t.return), ed(t);break;case 22:- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Qu(t));+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, ed(t));break;- default: Qu(t);+ default: ed(t);}e = e.sibling;}}- function $u(e, t) {- for (; uu !== null;) {- var n = uu;+ function td(e, t) {+ for (; fu !== null;) {+ var n = fu;switch (n.tag) {case 0:case 11:case 15:- Cl(8, n, t);+ Tl(8, n, t);break;case 23:case 22:@@ -15588,64 +20582,64 @@ var If = /* @__PURE__ */ _(((e) => {r != null && r.refCount++;}break;- case 24: ja(n.memoizedState.cache);+ case 24: Ma(n.memoizedState.cache);}- if (r = n.child, r !== null) r.return = n, uu = r;- else a: for (n = e; uu !== null;) {- r = uu;+ if (r = n.child, r !== null) r.return = n, fu = r;+ else a: for (n = e; fu !== null;) {+ r = fu;var i = r.sibling, a = r.return;- if (xu(r), r === n) {- uu = null;+ if (Cu(r), r === n) {+ fu = null;break a;}if (i !== null) {- i.return = a, uu = i;+ i.return = a, fu = i;break a;}- uu = a;+ fu = a;}}}- var ed = {+ var nd = {getCacheForType: function(e) {- var t = Ca(ka), n = t.data.get(e);+ var t = wa(Aa), n = t.data.get(e);return n === void 0 && (n = e(), t.data.set(e, n)), n;},cacheSignal: function() {- return Ca(ka).controller.signal;+ return wa(Aa).controller.signal;}- }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, Nd = null, Pd = null, Fd = null, Id = 0, Ld = null;- function Rd() {- return nd & 2 && ad !== 0 ? ad & -ad : I.T === null ? yt() : Uf();+ }, rd = typeof WeakMap == "function" ? WeakMap : Map, id = 0, ad = null, od = null, sd = 0, cd = 0, ld = null, ud = !1, dd = !1, fd = !1, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = 0, yd = 0, bd = null, xd = null, Sd = !1, Cd = 0, wd = 0, Td = Infinity, Ed = null, Dd = null, Od = 0, kd = null, Ad = null, jd = 0, Md = 0, Nd = null, Pd = null, Fd = null, Id = null, Ld = null, Rd = 0, zd = null;+ function Bd() {+ return id & 2 && sd !== 0 ? sd & -sd : R.T === null ? _t() : Uf();}- function zd() {- if (gd === 0) {- if (!(ad & 536870912) || ra) {- var e = rt;- rt <<= 1, !(rt & 3932160) && (rt = 262144), gd = e;- } else gd = 536870912;+ function Vd() {+ if (vd === 0) {+ if (!(sd & 536870912) || ra) {+ var e = tt;+ tt <<= 1, !(tt & 3932160) && (tt = 262144), vd = e;+ } else vd = 536870912;}- return e = ko.current, e !== null && (e.flags |= 32), gd;+ return e = Ao.current, e !== null && (e.flags |= 32), vd;}- function Bd(e, t) {+ function Hd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Wp(hi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));+ r === null && (r = n.ref = Wp(hi(e.memoizedProps, n))), Id === null && (Id = []), Id.push(t.bind(null, r));}}- function Vd(e, t, n) {- (e === rd && (od === 2 || od === 9) || e.cancelPendingCommit !== null) && (Jd(e, 0), Gd(e, ad, gd, !1)), ft(e, n), (!(nd & 2) || e !== rd) && (e === rd && (!(nd & 2) && (md |= n), fd === 4 && Gd(e, ad, gd, !1)), Pf(e));+ function Ud(e, t, n) {+ (e === ad && (cd === 2 || cd === 9) || e.cancelPendingCommit !== null) && (Xd(e, 0), qd(e, sd, vd, !1)), ut(e, n), (!(id & 2) || e !== ad) && (e === ad && (!(id & 2) && (gd |= n), md === 4 && qd(e, sd, vd, !1)), If(e));}- function Hd(e, t, n) {- if (nd & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || st(e, t), a = r ? nf(e, t) : ef(e, t, !0), o = r;+ function Wd(e, t, n) {+ if (id & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || at(e, t), a = r ? af(e, t) : nf(e, t, !0), o = r;do {if (a === 0) {- ld && !r && Gd(e, t, 0, !1);+ dd && !r && qd(e, t, 0, !1);break;}- if (n = e.current.alternate, o && !Wd(n)) {- a = ef(e, t, !1), o = !1;+ if (n = e.current.alternate, o && !Kd(n)) {+ a = nf(e, t, !1), o = !1;continue;}if (a === 2) {@@ -15655,14 +20649,14 @@ var If = /* @__PURE__ */ _(((e) => {t = s;a: {var c = e;- a = vd;+ a = bd;var l = c.current.memoizedState.isDehydrated;- if (l && (Jd(c, s).flags |= 256), s = ef(c, s, !1), s !== 2 && s !== 6) {- if (ud && !l) {- c.errorRecoveryDisabledLanes |= o, md |= o, a = 4;+ if (l && (Xd(c, s).flags |= 256), s = nf(c, s, !1), s !== 2 && s !== 6) {+ if (fd && !l) {+ c.errorRecoveryDisabledLanes |= o, gd |= o, a = 4;break a;}- o = yd, yd = a, o !== null && (yd === null ? yd = o : yd.push.apply(yd, o));+ o = xd, xd = a, o !== null && (xd === null ? xd = o : xd.push.apply(xd, o));}a = s;}@@ -15670,7 +20664,7 @@ var If = /* @__PURE__ */ _(((e) => {}}if (a === 1) {- Jd(e, 0), Gd(e, t, 0, !0);+ Xd(e, 0), qd(e, t, 0, !0);break;}a: {@@ -15679,27 +20673,27 @@ var If = /* @__PURE__ */ _(((e) => {case 1: throw Error(i(345));case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;case 6:- Gd(r, t, gd, !cd);+ qd(r, t, vd, !ud);break a;case 2:- yd = null;+ xd = null;break;case 3:case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = xd + 300 - Be(), 10 < a)) {- if (Gd(r, t, gd, !cd), ot(r, 0, !0) !== 0) break a;- kd = t, r.timeoutHandle = Ep(Ud.bind(null, r, n, yd, wd, bd, t, gd, md, _d, cd, o, "Throttled", -0, 0), a);+ if ((t & 62914560) === t && (a = Cd + 300 - Re(), 10 < a)) {+ if (qd(r, t, vd, !ud), it(r, 0, !0) !== 0) break a;+ jd = t, r.timeoutHandle = Ep(Gd.bind(null, r, n, xd, Ed, Sd, t, vd, gd, yd, ud, o, "Throttled", -0, 0), a);break a;}- Ud(r, n, yd, wd, bd, t, gd, md, _d, cd, o, null, -0, 0);+ Gd(r, n, xd, Ed, Sd, t, vd, gd, yd, ud, o, null, -0, 0);}break;} while (1);- Pf(e);+ If(e);}- function Ud(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ function Gd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {e.timeoutHandle = -1;var m = t.subtreeFlags, h = (a & 335544064) === a;if (d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {@@ -15710,21 +20704,21 @@ var If = /* @__PURE__ */ _(((e) => {suspenseyImages: [],waitingForImages: !0,waitingForViewTransition: !1,- unsuspend: gn- }, Vl = null, Ju(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = lh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? xd - Be() : (a & 4194048) === a ? Sd - Be() : 0, m = sh(d, m), m !== null)) {- kd = a, e.cancelPendingCommit = m(uf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Gd(e, a, o, !l);+ unsuspend: _n+ }, Ul = null, Xu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = fh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Cd - Re() : (a & 4194048) === a ? wd - Re() : 0, m = uh(d, m), m !== null)) {+ jd = a, e.cancelPendingCommit = m(ff.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), qd(e, a, o, !l);return;}- uf(e, t, a, n, r, i, o, s, c, l, u, d);+ ff(e, t, a, n, r, i, o, s, c, l, u, d);}- function Wd(e) {+ function Kd(e) {for (var t = e;;) {var n = t.tag;if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {var i = n[r], a = i.getSnapshot;i = i.value;try {- if (!Rr(a(), i)) return !1;+ if (!zr(a(), i)) return !1;} catch {return !1;}@@ -15741,281 +20735,281 @@ var If = /* @__PURE__ */ _(((e) => {}return !0;}- function Gd(e, t, n, r) {- t = ct(e, t), t &= ~hd, t &= ~md, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ function qd(e, t, n, r) {+ t = ot(e, t), t &= ~_d, t &= ~gd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;for (var i = t; 0 < i;) {- var a = 31 - Qe(i), o = 1 << a;+ var a = 31 - Xe(i), o = 1 << a;r[a] = -1, i &= ~o;}- n !== 0 && mt(e, n, t);+ n !== 0 && ft(e, n, t);}- function Kd() {- return nd & 6 ? !0 : (Ff(0, !1), !1);+ function Jd() {+ return id & 6 ? !0 : (Lf(0, !1), !1);}- function qd() {- if (id !== null) {- if (od === 0) var e = id.return;- else e = id, ga = ha = null, is(e), ro = null, io = 0, e = id;- for (; e !== null;) xl(e.alternate, e), e = e.return;- id = null;+ function Yd() {+ if (od !== null) {+ if (cd === 0) var e = od.return;+ else e = od, ga = ha = null, os(e), io = null, ao = 0, e = od;+ for (; e !== null;) Cl(e.alternate, e), e = e.return;+ od = null;}}- function Jd(e, t) {+ function Xd(e, t) {var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), kd = 0, qd(), rd = e, id = n = Mi(e.current, null), ad = t, od = 0, sd = null, cd = !1, ld = st(e, t), ud = !1, _d = gd = hd = md = pd = fd = 0, yd = vd = null, bd = !1, dd = ct(e, t), Si(), n;- }- function Yd(e, t) {- H = null, I.H = mc, t === qa || t === Ya ? (t = to(), od = 3) : t === Ja ? (t = to(), od = 4) : od = t === Mc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, sd = t, id === null && (fd = 1, Ec(e, Bi(t, e.current)));+ return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), jd = 0, Yd(), ad = e, od = n = Mi(e.current, null), sd = t, cd = 0, ld = null, ud = !1, dd = at(e, t), fd = !1, yd = vd = _d = gd = hd = md = 0, xd = bd = null, Sd = !1, pd = ot(e, t), Si(), n;}- function Xd() {- var e = ko.current;- return e === null ? !0 : (ad & 4194048) === ad ? Ao === null : (ad & 62914560) === ad || ad & 536870912 ? e === Ao : !1;- }- function Zd() {- var e = I.H;- return I.H = mc, e === null ? mc : e;+ function Zd(e, t) {+ Ho = null, R.H = gc, t === Ja || t === Xa ? (t = no(), cd = 3) : t === Ya ? (t = no(), cd = 4) : cd = t === Pc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, ld = t, od === null && (md = 1, Oc(e, Bi(t, e.current)));}function Qd() {- var e = I.A;- return I.A = ed, e;+ var e = Ao.current;+ return e === null ? !0 : (sd & 4194048) === sd ? jo === null : (sd & 62914560) === sd || sd & 536870912 ? e === jo : !1;}function $d() {- fd = 4, cd || (ad & 4194048) !== ad && ko.current !== null || (ld = !0), !(pd & 134217727) && !(md & 134217727) || rd === null || Gd(rd, ad, gd, !1);- }- function ef(e, t, n) {- var r = nd;- nd |= 2;- var i = Zd(), a = Qd();- (rd !== e || ad !== t) && (wd = null, Jd(e, t)), t = !1;- var o = fd;+ var e = R.H;+ return R.H = gc, e === null ? gc : e;+ }+ function ef() {+ var e = R.A;+ return R.A = nd, e;+ }+ function tf() {+ md = 4, ud || (sd & 4194048) !== sd && Ao.current !== null || (dd = !0), !(hd & 134217727) && !(gd & 134217727) || ad === null || qd(ad, sd, vd, !1);+ }+ function nf(e, t, n) {+ var r = id;+ id |= 2;+ var i = $d(), a = ef();+ (ad !== e || sd !== t) && (Ed = null, Xd(e, t)), t = !1;+ var o = md;a: dotry {- if (od !== 0 && id !== null) {- var s = id, c = sd;- switch (od) {+ if (cd !== 0 && od !== null) {+ var s = od, c = ld;+ switch (cd) {case 8:- qd(), o = 6;+ Yd(), o = 6;break a;case 3:case 2:case 9:case 6:- ko.current === null && (t = !0);- var l = od;- if (od = 0, sd = null, sf(e, s, c, l), n && ld) {+ Ao.current === null && (t = !0);+ var l = cd;+ if (cd = 0, ld = null, lf(e, s, c, l), n && dd) {o = 0;break a;}break;- default: l = od, od = 0, sd = null, sf(e, s, c, l);+ default: l = cd, cd = 0, ld = null, lf(e, s, c, l);}}- tf(), o = fd;+ rf(), o = md;break;} catch (t) {- Yd(e, t);+ Zd(e, t);}while (1);- return t && e.shellSuspendCounter++, ga = ha = null, nd = r, I.H = i, I.A = a, id === null && (rd = null, ad = 0, Si()), o;+ return t && e.shellSuspendCounter++, ga = ha = null, id = r, R.H = i, R.A = a, od === null && (ad = null, sd = 0, Si()), o;}- function tf() {- for (; id !== null;) af(id);+ function rf() {+ for (; od !== null;) sf(od);}- function nf(e, t) {- var n = nd;- nd |= 2;- var r = Zd(), a = Qd();- rd !== e || ad !== t ? (wd = null, Cd = Be() + 500, Jd(e, t)) : ld = st(e, t);+ function af(e, t) {+ var n = id;+ id |= 2;+ var r = $d(), a = ef();+ ad !== e || sd !== t ? (Ed = null, Td = Re() + 500, Xd(e, t)) : dd = at(e, t);a: dotry {- if (od !== 0 && id !== null) {- t = id;- var o = sd;- b: switch (od) {+ if (cd !== 0 && od !== null) {+ t = od;+ var o = ld;+ b: switch (cd) {case 1:- od = 0, sd = null, sf(e, t, o, 1);+ cd = 0, ld = null, lf(e, t, o, 1);break;case 2:case 9:- if (Za(o)) {- od = 0, sd = null, of(t);+ if (Qa(o)) {+ cd = 0, ld = null, cf(t);break;}t = function() {- od !== 2 && od !== 9 || rd !== e || (od = 7), Pf(e);+ cd !== 2 && cd !== 9 || ad !== e || (cd = 7), If(e);}, o.then(t, t);break a;case 3:- od = 7;+ cd = 7;break a;case 4:- od = 5;+ cd = 5;break a;case 7:- Za(o) ? (od = 0, sd = null, of(t)) : (od = 0, sd = null, sf(e, t, o, 7));+ Qa(o) ? (cd = 0, ld = null, cf(t)) : (cd = 0, ld = null, lf(e, t, o, 7));break;case 5:var s = null;- switch (id.tag) {- case 26: s = id.memoizedState;+ switch (od.tag) {+ case 26: s = od.memoizedState;case 5:case 27:- var c = id;- if (s ? rh(s) : c.stateNode.complete) {- od = 0, sd = null;+ var c = od;+ if (s ? ah(s) : c.stateNode.complete) {+ cd = 0, ld = null;var l = c.sibling;- if (l !== null) id = l;+ if (l !== null) od = l;else {var u = c.return;- u === null ? id = null : (id = u, cf(u));+ u === null ? od = null : (od = u, uf(u));}break b;}}- od = 0, sd = null, sf(e, t, o, 5);+ cd = 0, ld = null, lf(e, t, o, 5);break;case 6:- od = 0, sd = null, sf(e, t, o, 6);+ cd = 0, ld = null, lf(e, t, o, 6);break;case 8:- qd(), fd = 6;+ Yd(), md = 6;break a;default: throw Error(i(462));}}- rf();+ of();break;} catch (t) {- Yd(e, t);+ Zd(e, t);}while (1);- return ga = ha = null, I.H = r, I.A = a, nd = n, id === null ? (rd = null, ad = 0, Si(), fd) : 0;+ return ga = ha = null, R.H = r, R.A = a, id = n, od === null ? (ad = null, sd = 0, Si(), md) : 0;}- function rf() {- for (; id !== null && !Re();) af(id);+ function of() {+ for (; od !== null && !Ie();) sf(od);}- function af(e) {- var t = fl(e.alternate, e, dd);- e.memoizedProps = e.pendingProps, t === null ? cf(e) : id = t;+ function sf(e) {+ var t = ml(e.alternate, e, pd);+ e.memoizedProps = e.pendingProps, t === null ? uf(e) : od = t;}- function of(e) {+ function cf(e) {var t = e, n = t.alternate;switch (t.tag) {case 15:case 0:- t = Kc(n, t, t.pendingProps, t.type, void 0, ad);+ t = Jc(n, t, t.pendingProps, t.type, void 0, sd);break;case 11:- t = Kc(n, t, t.pendingProps, t.type.render, t.ref, ad);+ t = Jc(n, t, t.pendingProps, t.type.render, t.ref, sd);break;case 5:- is(t);+ os(t);var r = t;r === ta && (ra ? (la(r), r.tag === 5 && r.stateNode != null && (na = r.stateNode)) : (la(r), ra = !0));- default: xl(n, t), t = id = Ni(t, dd), t = fl(n, t, dd);+ default: Cl(n, t), t = od = Ni(t, pd), t = ml(n, t, pd);}- e.memoizedProps = e.pendingProps, t === null ? cf(e) : id = t;+ e.memoizedProps = e.pendingProps, t === null ? uf(e) : od = t;}- function sf(e, t, n, r) {- ga = ha = null, is(t), ro = null, io = 0;+ function lf(e, t, n, r) {+ ga = ha = null, os(t), io = null, ao = 0;var i = t.return;try {- if (jc(e, i, t, n, ad)) {- fd = 1, Ec(e, Bi(n, e.current)), id = null;+ if (Nc(e, i, t, n, sd)) {+ md = 1, Oc(e, Bi(n, e.current)), od = null;return;}} catch (t) {- if (i !== null) throw id = i, t;- fd = 1, Ec(e, Bi(n, e.current)), id = null;+ if (i !== null) throw od = i, t;+ md = 1, Oc(e, Bi(n, e.current)), od = null;return;}- t.flags & 32768 ? (ra || r === 1 ? e = !0 : ld || ad & 536870912 ? e = !1 : (cd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = ko.current, r !== null && r.tag === 13 && (r.flags |= 16384))), lf(t, e)) : cf(t);+ t.flags & 32768 ? (ra || r === 1 ? e = !0 : dd || sd & 536870912 ? e = !1 : (ud = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Ao.current, r !== null && r.tag === 13 && (r.flags |= 16384))), df(t, e)) : uf(t);}- function cf(e) {+ function uf(e) {var t = e;do {if (t.flags & 32768) {- lf(t, cd);+ df(t, ud);return;}e = t.return;- var n = yl(t.alternate, t, dd);+ var n = xl(t.alternate, t, pd);if (n !== null) {- id = n;+ od = n;return;}if (t = t.sibling, t !== null) {- id = t;+ od = t;return;}- id = t = e;+ od = t = e;} while (t !== null);- fd === 0 && (fd = 5);+ md === 0 && (md = 5);}- function lf(e, t) {+ function df(e, t) {do {- var n = bl(e.alternate, e);+ var n = Sl(e.alternate, e);if (n !== null) {- n.flags &= 32767, id = n;+ n.flags &= 32767, od = n;return;}if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {- id = e;+ od = e;return;}- id = e = n;+ od = e = n;} while (e !== null);- fd = 6, id = null;+ md = 6, od = null;}- function uf(e, t, n, r, a, o, s, c, l, u, d, f) {+ function ff(e, t, n, r, a, o, s, c, l, u, d, f) {e.cancelPendingCommit = null;do- vf();- while (Ed !== 0);- if (nd & 6) throw Error(i(327));+ bf();+ while (Od !== 0);+ if (id & 6) throw Error(i(327));if (t !== null) {if (t === e.current) throw Error(i(177));- e === rd && (id = rd = null, ad = 0), Od = t, Dd = e, kd = n, jd = a, Md = r, df(e, t, n, s, c, l, f);+ e === ad && (od = ad = null, sd = 0), Ad = t, kd = e, jd = n, Nd = a, Pd = r, pf(e, t, n, s, c, l, f);}}- function df(e, t, n, r, i, a, o) {+ function pf(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (Ad = s, s |= xi, pt(e, n, s, r, i, a), Pd = null, (n & 335544064) === n ? (Fd = Pa(e), r = 10262) : (Fd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Df(We, function() {- return yf(), null;- })) : (e.callbackNode = null, e.callbackPriority = 0), Bl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = I.T, I.T = null, i = pe.p, pe.p = 2, a = nd, nd |= 4;+ if (Md = s, s |= xi, dt(e, n, s, r, i, a), Id = null, (n & 335544064) === n ? (Ld = Fa(e), r = 10262) : (Ld = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, kf(He, function() {+ return xf(), null;+ })) : (e.callbackNode = null, e.callbackPriority = 0), Hl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = R.T, R.T = null, i = de.p, de.p = 2, a = id, id |= 4;try {- hu(e, t, n);+ _u(e, t, n);} finally {- nd = a, pe.p = i, I.T = r;+ id = a, de.p = i, R.T = r;}}- Ed = 1, Bl ? Nd = Hp(o, e.containerInfo, Fd, mf, hf, pf, gf, yf, ff, null, null) : (mf(), hf(), gf());+ Od = 1, Hl ? Fd = Hp(o, e.containerInfo, Ld, gf, _f, hf, vf, xf, mf, null, null) : (gf(), _f(), vf());}- function ff(e) {- if (Ed !== 0) {- var t = Dd.onRecoverableError;+ function mf(e) {+ if (Od !== 0) {+ var t = kd.onRecoverableError;t(e, { componentStack: null });}}- function pf() {- Ed === 3 && (Ed = 0, Iu(Od, Dd), Ed = 4);+ function hf() {+ Od === 3 && (Od = 0, Ru(Ad, kd), Od = 4);}- function mf() {- if (Ed === 1) {- Ed = 0;- var e = Dd, t = Od, n = kd, r = !!(t.flags & 13878);+ function gf() {+ if (Od === 1) {+ Od = 0;+ var e = kd, t = Ad, n = jd, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {- r = I.T, I.T = null;- var i = pe.p;- pe.p = 2;- var a = nd;- nd |= 4;+ r = R.T, R.T = null;+ var i = de.p;+ de.p = 2;+ var a = id;+ id |= 4;try {- fu = pu = !1, Mu(t, e, n), n = vp;- var o = Wr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;- if (o !== s && s && s.ownerDocument && Ur(s.ownerDocument.documentElement, s)) {- if (c !== null && Gr(s)) {+ mu = hu = !1, Pu(t, e, n), n = vp;+ var o = Gr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && Wr(s.ownerDocument.documentElement, s)) {+ if (c !== null && Kr(s)) {var l = c.start, u = c.end;if (u === void 0 && (u = l), "selectionStart" in s) s.selectionStart = l, s.selectionEnd = Math.min(u, s.value.length);else {@@ -16023,7 +21017,7 @@ var If = /* @__PURE__ */ _(((e) => {if (f.getSelection) {var p = f.getSelection(), m = s.textContent.length, h = Math.min(c.start, m), g = c.end === void 0 ? h : Math.min(c.end, m);!p.extend && h > g && (o = g, g = h, h = o);- var _ = Hr(s, h), v = Hr(s, g);+ var _ = Ur(s, h), v = Ur(s, g);if (_ && v && (p.rangeCount !== 1 || p.anchorNode !== _.node || p.anchorOffset !== _.offset || p.focusNode !== v.node || p.focusOffset !== v.offset)) {var y = d.createRange();y.setStart(_.node, _.offset), p.removeAllRanges(), h > g ? (p.addRange(y), p.extend(v.node, v.offset)) : (y.setEnd(v.node, v.offset), p.addRange(y));@@ -16041,122 +21035,122 @@ var If = /* @__PURE__ */ _(((e) => {b.element.scrollLeft = b.left, b.element.scrollTop = b.top;}}- xh = !!_p, vp = _p = null;+ Eh = !!_p, vp = _p = null;} finally {- nd = a, pe.p = i, I.T = r;+ id = a, de.p = i, R.T = r;}}- e.current = t, Ed = 2;+ e.current = t, Od = 2;}}- function hf() {- if (Ed === 2) {- Ed = 0;- var e = Dd, t = Od, n = !!(t.flags & 8772);+ function _f() {+ if (Od === 2) {+ Od = 0;+ var e = kd, t = Ad, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {- n = I.T, I.T = null;- var r = pe.p;- pe.p = 2;- var i = nd;- nd |= 4;+ n = R.T, R.T = null;+ var r = de.p;+ de.p = 2;+ var i = id;+ id |= 4;try {- _u(e, t.alternate, t);+ yu(e, t.alternate, t);} finally {- nd = i, pe.p = r, I.T = n;+ id = i, de.p = r, R.T = n;}}- Ed = 3;+ Od = 3;}}- function gf() {- if (Ed === 4 || Ed === 3) {- Ed = 0;- var e = Nd;- Nd = null, ze();- var t = Dd, n = Od, r = kd, i = Md, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Ed = 5 : (Ed = 0, Od = Dd = null, _f(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Td = null), vt(r), n = n.stateNode, Xe && typeof Xe.onCommitFiberRoot == "function") try {- Xe.onCommitFiberRoot(Ye, n, void 0, (n.current.flags & 128) == 128);+ function vf() {+ if (Od === 4 || Od === 3) {+ Od = 0;+ var e = Fd;+ Fd = null, Le();+ var t = kd, n = Ad, r = jd, i = Pd, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Od = 5 : (Od = 0, Ad = kd = null, yf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Dd = null), gt(r), n = n.stateNode, Je && typeof Je.onCommitFiberRoot == "function") try {+ Je.onCommitFiberRoot(qe, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {- n = I.T, a = pe.p, pe.p = 2, I.T = null;+ n = R.T, a = de.p, de.p = 2, R.T = null;try {for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {var c = i[s];o(c.value, { componentStack: c.stack });}} finally {- I.T = n, pe.p = a;+ R.T = n, de.p = a;}}- if (i = Pd, o = Fd, Fd = null, i !== null && (Pd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);- kd & 3 && vf(), Pf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Ld ? Id++ : (Id = 0, Ld = t) : (Id = 0, Ld = null), Ff(0, !1);+ if (i = Id, o = Ld, Ld = null, i !== null && (Id = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);+ jd & 3 && bf(), If(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === zd ? Rd++ : (Rd = 0, zd = t) : (Rd = 0, zd = null), Lf(0, !1);}}- function _f(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));+ function yf(e, t) {+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Ma(t)));}- function vf() {- return Nd !== null && (Nd.skipTransition(), Nd = null), mf(), hf(), gf(), yf();+ function bf() {+ return Fd !== null && (Fd.skipTransition(), Fd = null), gf(), _f(), vf(), xf();}- function yf() {- if (Ed !== 5) return !1;- var e = Dd, t = Ad;- Ad = 0;- var n = vt(kd), r = I.T, a = pe.p;+ function xf() {+ if (Od !== 5) return !1;+ var e = kd, t = Md;+ Md = 0;+ var n = gt(jd), r = R.T, a = de.p;try {- pe.p = 32 > n ? 32 : n, I.T = null, n = jd, jd = null;- var o = Dd, s = kd;- if (Ed = 0, Od = Dd = null, kd = 0, nd & 6) throw Error(i(331));- var c = nd;- if (nd |= 4, Zu(o.current), Uu(o, o.current, s, n), nd = c, Ff(0, !1), Xe && typeof Xe.onPostCommitFiberRoot == "function") try {- Xe.onPostCommitFiberRoot(Ye, o);+ de.p = 32 > n ? 32 : n, R.T = null, n = Nd, Nd = null;+ var o = kd, s = jd;+ if (Od = 0, Ad = kd = null, jd = 0, id & 6) throw Error(i(331));+ var c = id;+ if (id |= 4, $u(o.current), Gu(o, o.current, s, n), id = c, Lf(0, !1), Je && typeof Je.onPostCommitFiberRoot == "function") try {+ Je.onPostCommitFiberRoot(qe, o);} catch {}return !0;} finally {- pe.p = a, I.T = r, _f(e, t);+ de.p = a, R.T = r, yf(e, t);}}- function bf(e, t, n) {- t = Bi(n, t), t = Oc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (ft(e, 2), Pf(e));+ function Sf(e, t, n) {+ t = Bi(n, t), t = Ac(e.stateNode, t, 2), e = _o(e, t, 2), e !== null && (ut(e, 2), If(e));}- function xf(e, t, n) {- if (e.tag === 3) bf(e, e, n);+ function Cf(e, t, n) {+ if (e.tag === 3) Sf(e, e, n);else for (; t !== null;) {if (t.tag === 3) {- bf(t, e, n);+ Sf(t, e, n);break;}if (t.tag === 1) {var r = t.stateNode;- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Td === null || !Td.has(r))) {- e = Bi(n, e), n = kc(2), r = go(t, n, 2), r !== null && (Ac(n, r, t, e), ft(r, 2), Pf(r));+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Dd === null || !Dd.has(r))) {+ e = Bi(n, e), n = jc(2), r = _o(t, n, 2), r !== null && (Mc(n, r, t, e), ut(r, 2), If(r));break;}}t = t.return;}}- function Sf(e, t, n) {+ function wf(e, t, n) {var r = e.pingCache;if (r === null) {- r = e.pingCache = new td();+ r = e.pingCache = new rd();var i = /* @__PURE__ */ new Set();r.set(t, i);} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));- i.has(n) || (ud = !0, i.add(n), e = Cf.bind(null, e, t, n), t.then(e, e));+ i.has(n) || (fd = !0, i.add(n), e = Tf.bind(null, e, t, n), t.then(e, e));}- function Cf(e, t, n) {+ function Tf(e, t, n) {var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, rd === e && (ad & n) === n && (fd === 4 || fd === 3 && (ad & 62914560) === ad && 300 > Be() - xd ? nd & 2 ? hd |= n : Jd(e, 0) : hd |= n, _d === ad && (_d = 0)), Pf(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, ad === e && (sd & n) === n && (md === 4 || md === 3 && (sd & 62914560) === sd && 300 > Re() - Cd ? id & 2 ? _d |= n : Xd(e, 0) : _d |= n, yd === sd && (yd = 0)), If(e);}- function wf(e, t) {- t === 0 && (t = ut()), e = Ti(e, t), e !== null && (ft(e, t), Pf(e));+ function Ef(e, t) {+ t === 0 && (t = ct()), e = Ti(e, t), e !== null && (ut(e, t), If(e));}- function Tf(e) {+ function Df(e) {var t = e.memoizedState, n = 0;- t !== null && (n = t.retryLane), wf(e, n);+ t !== null && (n = t.retryLane), Ef(e, n);}- function Ef(e, t) {+ function Of(e, t) {var n = 0;switch (e.tag) {case 31:@@ -16172,105 +21166,105 @@ var If = /* @__PURE__ */ _(((e) => {break;default: throw Error(i(314));}- r !== null && r.delete(t), wf(e, n);+ r !== null && r.delete(t), Ef(e, n);}- function Df(e, t) {- return Ie(e, t);+ function kf(e, t) {+ return Pe(e, t);}- var Of = null, kf = null, Af = !1, jf = !1, Mf = !1, Nf = 0;- function Pf(e) {- e !== kf && e.next === null && (kf === null ? Of = kf = e : kf = kf.next = e), jf = !0, Af || (Af = !0, Hf());+ var Af = null, jf = null, Mf = !1, Nf = !1, Pf = !1, Ff = 0;+ function If(e) {+ e !== jf && e.next === null && (jf === null ? Af = jf = e : jf = jf.next = e), Nf = !0, Mf || (Mf = !0, Hf());}- function Ff(e, t) {- if (!Mf && jf) {- Mf = !0;+ function Lf(e, t) {+ if (!Pf && Nf) {+ Pf = !0;do- for (var n = !1, r = Of; r !== null;) {+ for (var n = !1, r = Af; r !== null;) {if (!t) {if (e !== 0) {var i = r.pendingLanes;if (i === 0) var a = 0;else {var o = r.suspendedLanes, s = r.pingedLanes;- a = (1 << 31 - Qe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ a = (1 << 31 - Xe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}a !== 0 && (n = !0, Vf(r, a));- } else a = ad, a = ot(r, r === rd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || st(r, a) || (n = !0, Vf(r, a));+ } else a = sd, a = it(r, r === ad ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || at(r, a) || (n = !0, Vf(r, a));}r = r.next;}while (n);- Mf = !1;+ Pf = !1;}}- function If() {- Rf();- }function Rf() {- jf = Af = !1;+ B();+ }+ function B() {+ Nf = Mf = !1;var e = 0;- Nf !== 0 && Tp() && (e = Nf);- for (var t = Be(), n = null, r = Of; r !== null;) {+ Ff !== 0 && Tp() && (e = Ff);+ for (var t = Re(), n = null, r = Af; r !== null;) {var i = r.next, a = zf(r, t);- a === 0 ? (r.next = null, n === null ? Of = i : n.next = i, i === null && (kf = n)) : (n = r, (e !== 0 || a & 3) && (jf = !0)), r = i;+ a === 0 ? (r.next = null, n === null ? Af = i : n.next = i, i === null && (jf = n)) : (n = r, (e !== 0 || a & 3) && (Nf = !0)), r = i;}- Ed !== 0 && Ed !== 5 || Ff(e, !1), Nf !== 0 && (Nf = 0);+ Od !== 0 && Od !== 5 || Lf(e, !1), Ff !== 0 && (Ff = 0);}function zf(e, t) {for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {- var o = 31 - Qe(a), s = 1 << o, c = i[o];- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = lt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;+ var o = 31 - Xe(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = st(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;}- if (t = rd, n = ad, n = ot(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (od === 2 || od === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Le(r), e.callbackNode = null, e.callbackPriority = 0;- if (!(n & 3) || st(e, n)) {+ if (t = ad, n = sd, n = it(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (cd === 2 || cd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Fe(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || at(e, n)) {if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && Le(r), vt(n)) {+ switch (r !== null && Fe(r), gt(n)) {case 2:case 8:- n = Ue;+ n = Ve;break;case 32:- n = We;+ n = He;break;case 268435456:- n = Ke;+ n = We;break;- default: n = We;+ default: n = He;}- return r = Bf.bind(null, e), n = Ie(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = Bf.bind(null, e), n = Pe(n, r), e.callbackPriority = t, e.callbackNode = n, t;}- return r !== null && r !== null && Le(r), e.callbackPriority = 2, e.callbackNode = null, 2;+ return r !== null && r !== null && Fe(r), e.callbackPriority = 2, e.callbackNode = null, 2;}function Bf(e, t) {- if (Ed !== 0 && Ed !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ if (Od !== 0 && Od !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;- if (vf() && e.callbackNode !== n) return null;- var r = ad;- return r = ot(e, e === rd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Hd(e, r, t), zf(e, Be()), e.callbackNode != null && e.callbackNode === n ? Bf.bind(null, e) : null);+ if (bf() && e.callbackNode !== n) return null;+ var r = sd;+ return r = it(e, e === ad ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Wd(e, r, t), zf(e, Re()), e.callbackNode != null && e.callbackNode === n ? Bf.bind(null, e) : null);}function Vf(e, t) {- if (vf()) return null;- Hd(e, t, !0);+ if (bf()) return null;+ Wd(e, t, !0);}function Hf() {Ap(function() {- nd & 6 ? Ie(He, If) : Rf();+ id & 6 ? Pe(Be, Rf) : B();});}function Uf() {- if (Nf === 0) {- var e = La;- e === 0 && (e = nt, nt <<= 1, !(nt & 261888) && (nt = 256)), Nf = e;+ if (Ff === 0) {+ var e = Ra;+ e === 0 && (e = et, et <<= 1, !(et & 261888) && (et = 256)), Ff = e;}- return Nf;+ return Ff;}function Wf(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : hn(e);+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : gn(e);}function Gf(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = Wf((i[Ct] || null).action), o = r.submitter;- o && (t = (t = o[Ct] || null) ? Wf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var a = Wf((i[xt] || null).action), o = r.submitter;+ o && (t = (t = o[xt] || null) ? Wf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));var s = new Ln("action", "action", null, r, i);e.push({event: s,@@ -16278,16 +21272,16 @@ var If = /* @__PURE__ */ _(((e) => {instance: null,listener: function() {if (r.defaultPrevented) {- if (Nf !== 0) {+ if (Ff !== 0) {var e = new FormData(i, o);- ec(n, {+ nc(n, {pending: !0,data: e,method: i.method,action: a}, null, e);}- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), ec(n, {+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), nc(n, {pending: !0,data: e,method: i.method,@@ -16303,12 +21297,12 @@ var If = /* @__PURE__ */ _(((e) => {var qf = fi[Kf];pi(qf.toLowerCase(), "on" + (qf[0].toUpperCase() + qf.slice(1)));}- pi(ri, "onAnimationEnd"), pi(ii, "onAnimationIteration"), pi(ai, "onAnimationStart"), pi("dblclick", "onDoubleClick"), pi("focusin", "onFocus"), pi("focusout", "onBlur"), pi(si, "onTransitionRun"), pi(ci, "onTransitionStart"), pi(li, "onTransitionCancel"), pi(ui, "onTransitionEnd"), Bt("onMouseEnter", ["mouseout", "mouseover"]), Bt("onMouseLeave", ["mouseout", "mouseover"]), Bt("onPointerEnter", ["pointerout", "pointerover"]), Bt("onPointerLeave", ["pointerout", "pointerover"]), zt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), zt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), zt("onBeforeInput", [+ pi(ii, "onAnimationEnd"), pi(ai, "onAnimationIteration"), pi(oi, "onAnimationStart"), pi("dblclick", "onDoubleClick"), pi("focusin", "onFocus"), pi("focusout", "onBlur"), pi(si, "onTransitionRun"), pi(ci, "onTransitionStart"), pi(li, "onTransitionCancel"), pi(ui, "onTransitionEnd"), zt("onMouseEnter", ["mouseout", "mouseover"]), zt("onMouseLeave", ["mouseout", "mouseover"]), zt("onPointerEnter", ["pointerout", "pointerover"]), zt("onPointerLeave", ["pointerout", "pointerover"]), Rt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Rt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Rt("onBeforeInput", ["compositionend","keypress","textInput","paste"- ]), zt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), zt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), zt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));+ ]), Rt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Yf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Jf));function Xf(e, t) {t = !!(t & 4);@@ -16341,9 +21335,9 @@ var If = /* @__PURE__ */ _(((e) => {}}}- function U(e, t) {- var n = t[Tt];- n === void 0 && (n = t[Tt] = /* @__PURE__ */ new Set());+ function V(e, t) {+ var n = t[Ct];+ n === void 0 && (n = t[Ct] = /* @__PURE__ */ new Set());var r = e + "__bubble";n.has(r) || (ep(t, e, 2, !1), n.add(r));}@@ -16354,7 +21348,7 @@ var If = /* @__PURE__ */ _(((e) => {var Qf = "_reactListening" + Math.random().toString(36).slice(2);function $f(e) {if (!e[Qf]) {- e[Qf] = !0, Rt.forEach(function(t) {+ e[Qf] = !0, It.forEach(function(t) {t !== "selectionchange" && (Yf.has(t) || Zf(t, !1, e), Zf(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;@@ -16362,16 +21356,16 @@ var If = /* @__PURE__ */ _(((e) => {}}function ep(e, t, n, r) {- switch (Eh(t)) {+ switch (Nh(t)) {case 2:- var i = Y;+ var i = Dh;break;case 8:- i = Sh;+ i = Oh;break;- default: i = Ch;+ default: i = kh;}- n = i.bind(null, t, n, e), i = void 0, !En || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {+ n = i.bind(null, t, n, e), i = void 0, !Dn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {capture: !0,passive: i}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });@@ -16390,7 +21384,7 @@ var If = /* @__PURE__ */ _(((e) => {s = s.return;}for (; c !== null;) {- if (s = Mt(c), s === null) return;+ if (s = At(c), s === null) return;if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {r = a = s;continue a;@@ -16400,14 +21394,14 @@ var If = /* @__PURE__ */ _(((e) => {}r = r.return;}- Cn(function() {- var r = a, i = vn(n), s = [];+ wn(function() {+ var r = a, i = yn(n), s = [];a: {var c = di.get(e);if (c !== void 0) {var l = Ln, u = e;switch (e) {- case "keypress": if (Mn(n) === 0) break a;+ case "keypress": if (Nn(n) === 0) break a;case "keydown":case "keyup":l = tr;@@ -16449,9 +21443,9 @@ var If = /* @__PURE__ */ _(((e) => {case "touchstart":l = ir;break;- case ri:case ii:case ai:+ case oi:l = qn;break;case ui:@@ -16489,7 +21483,7 @@ var If = /* @__PURE__ */ _(((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(np(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Tn(m, p), g != null && d.push(np(m, g, h))), f) break;m = m.return;}0 < d.length && (c = new l(c, u, null, n, i), s.push({@@ -16500,42 +21494,42 @@ var If = /* @__PURE__ */ _(((e) => {}if (!(t & 7)) {a: {- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== _n && (u = n.relatedTarget || n.fromElement) && (Mt(u) || u[wt])) break a;- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Mt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Wn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = nr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Pt(c), h = l == null ? u : Pt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Mt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== vn && (u = n.relatedTarget || n.fromElement) && (At(u) || u[St])) break a;+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? At(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Wn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = nr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Mt(c), h = l == null ? u : Mt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, At(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));}a: {- if (c = r ? Pt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Dr;+ if (c = r ? Mt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Dr;else if (xr(c)) {- if (Or) _ = Ir;+ if (Or) _ = Lr;else {- _ = B;+ _ = Fr;var v = Pr;}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && fn(r.elementType) && (_ = Dr) : _ = Fr;+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && pn(r.elementType) && (_ = Dr) : _ = Ir;if (_ &&= _(e, r)) {Sr(s, _, n, i);break a;}v && v(e, c, r);}- switch (v = r ? Pt(r) : window, e) {+ switch (v = r ? Mt(r) : window, e) {case "focusin":- (xr(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);+ (xr(v) || v.contentEditable === "true") && (Jr = v, Yr = r, Xr = null);break;case "focusout":- Yr = Jr = qr = null;+ Xr = Yr = Jr = null;break;case "mousedown":- Xr = !0;+ Zr = !0;break;case "contextmenu":case "mouseup":case "dragend":- Xr = !1, Zr(s, n, i);+ Zr = !1, Qr(s, n, i);break;- case "selectionchange": if (Kr) break;+ case "selectionchange": if (qr) break;case "keydown":- case "keyup": Zr(s, n, i);+ case "keyup": Qr(s, n, i);}var y;if (lr) b: {@@ -16553,7 +21547,7 @@ var If = /* @__PURE__ */ _(((e) => {b = void 0;}else _r ? hr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (fr && n.locale !== "ko" && (_r || b !== "onCompositionStart" ? b === "onCompositionEnd" && _r && (y = jn()) : (On = i, kn = "value" in On ? On.value : On.textContent, _r = !0)), v = rp(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({+ b && (fr && n.locale !== "ko" && (_r || b !== "onCompositionStart" ? b === "onCompositionEnd" && _r && (y = Mn()) : (kn = i, An = "value" in kn ? kn.value : kn.textContent, _r = !0)), v = rp(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({event: b,listeners: v}), y ? b.data = y : (y = gr(n), y !== null && (b.data = y)))), (y = dr ? vr(e, n) : yr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({@@ -16574,7 +21568,7 @@ var If = /* @__PURE__ */ _(((e) => {function rp(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(np(e, i, a)), i = wn(e, t), i != null && r.push(np(e, i, a))), e.tag === 3) return r;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Tn(e, n), i != null && r.unshift(np(e, i, a)), i = Tn(e, t), i != null && r.push(np(e, i, a))), e.tag === 3) return r;e = e.return;}return [];@@ -16590,7 +21584,7 @@ var If = /* @__PURE__ */ _(((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(np(n, l, c))) : i || (l = wn(n, a), l != null && o.push(np(n, l, c)))), n = n.return;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Tn(n, a), l != null && o.unshift(np(n, l, c))) : i || (l = Tn(n, a), l != null && o.push(np(n, l, c)))), n = n.return;}o.length !== 0 && e.push({event: t,@@ -16607,28 +21601,28 @@ var If = /* @__PURE__ */ _(((e) => {function up(e, t, n, r, a, o) {switch (n) {case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || cn(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && cn(e, "" + r);+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || ln(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && ln(e, "" + r);else return;break;case "className":- R(e, "class", r);+ qt(e, "class", r);break;case "tabIndex":- R(e, "tabindex", r);+ qt(e, "tabindex", r);break;case "dir":case "role":case "viewBox":case "width":case "height":- R(e, n, r);+ qt(e, n, r);break;case "style":- dn(e, r, o);+ fn(e, r, o);return;case "data": if (t !== "object") {- R(e, "data", r);+ qt(e, "data", r);break;}case "src":@@ -16641,7 +21635,7 @@ var If = /* @__PURE__ */ _(((e) => {e.removeAttribute(n);break;}- r = hn(r), e.setAttribute(n, r);+ r = gn(r), e.setAttribute(n, r);break;case "action":case "formAction":@@ -16653,16 +21647,16 @@ var If = /* @__PURE__ */ _(((e) => {e.removeAttribute(n);break;}- r = hn(r), e.setAttribute(n, r);+ r = gn(r), e.setAttribute(n, r);break;case "onClick":- r != null && (e.onclick = gn);+ r != null && (e.onclick = _n);return;case "onScroll":- r != null && U("scroll", e);+ r != null && V("scroll", e);return;case "onScrollEnd":- r != null && U("scrollend", e);+ r != null && V("scrollend", e);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -16691,7 +21685,7 @@ var If = /* @__PURE__ */ _(((e) => {e.removeAttribute("xlink:href");break;}- n = hn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ n = gn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);break;case "contentEditable":case "spellCheck":@@ -16744,7 +21738,7 @@ var If = /* @__PURE__ */ _(((e) => {r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);break;case "popover":- U("beforetoggle", e), U("toggle", e), qt(e, "popover", r);+ V("beforetoggle", e), V("toggle", e), Kt(e, "popover", r);break;case "xlinkActuate":Jt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);@@ -16774,19 +21768,19 @@ var If = /* @__PURE__ */ _(((e) => {Jt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);break;case "is":- qt(e, "is", r);+ Kt(e, "is", r);break;case "innerText":case "textContent": return;- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = pn.get(n) || n, qt(e, n, r);+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = mn.get(n) || n, Kt(e, n, r);else return;}- Gt = !0;+ Wt = !0;}function dp(e, t, n, r, a, o) {switch (n) {case "style":- dn(e, r, o);+ fn(e, r, o);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -16798,18 +21792,18 @@ var If = /* @__PURE__ */ _(((e) => {}break;case "children":- if (typeof r == "string") cn(e, r);- else if (typeof r == "number" || typeof r == "bigint") cn(e, "" + r);+ if (typeof r == "string") ln(e, r);+ else if (typeof r == "number" || typeof r == "bigint") ln(e, "" + r);else return;break;case "onScroll":- r != null && U("scroll", e);+ r != null && V("scroll", e);return;case "onScrollEnd":- r != null && U("scrollend", e);+ r != null && V("scrollend", e);return;case "onClick":- r != null && (e.onclick = gn);+ r != null && (e.onclick = _n);return;case "suppressContentEditableWarning":case "suppressHydrationWarning":@@ -16818,16 +21812,16 @@ var If = /* @__PURE__ */ _(((e) => {case "innerText":case "textContent": return;default:- if (!L.hasOwnProperty(n)) a: {- if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Ct] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {+ if (!Lt.hasOwnProperty(n)) a: {+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[xt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);break a;}- Gt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : qt(e, n, r);+ Wt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Kt(e, n, r);}return;}- Gt = !0;+ Wt = !0;}function fp(e, t, n) {switch (t) {@@ -16840,7 +21834,7 @@ var If = /* @__PURE__ */ _(((e) => {case "p":case "li": break;case "img":- U("error", e), U("load", e);+ V("error", e), V("load", e);var r = !1, a = !1, o;for (o in n) if (n.hasOwnProperty(o)) {var s = n[o];@@ -16859,7 +21853,7 @@ var If = /* @__PURE__ */ _(((e) => {a && up(e, t, "srcSet", n.srcSet, n, null), r && up(e, t, "src", n.src, n, null);return;case "input":- U("invalid", e);+ V("invalid", e);var c = o = s = a = null, l = null, u = null;for (r in n) if (n.hasOwnProperty(r)) {var d = n[r];@@ -16889,10 +21883,10 @@ var If = /* @__PURE__ */ _(((e) => {default: up(e, t, r, d, n, null);}}- nn(e, o, c, l, u, s, a, !1);+ rn(e, o, c, l, u, s, a, !1);return;case "select":- for (a in U("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ for (a in V("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {case "value":o = c;break;@@ -16902,10 +21896,10 @@ var If = /* @__PURE__ */ _(((e) => {case "multiple": r = c;default: up(e, t, a, c, n, null);}- t = o, n = s, e.multiple = !!r, t == null ? n != null && an(e, !!r, n, !0) : an(e, !!r, t, !1);+ t = o, n = s, e.multiple = !!r, t == null ? n != null && on(e, !!r, n, !0) : on(e, !!r, t, !1);return;case "textarea":- for (s in U("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ for (s in V("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {case "value":r = c;break;@@ -16920,7 +21914,7 @@ var If = /* @__PURE__ */ _(((e) => {break;default: up(e, t, s, c, n, null);}- sn(e, r, a, o);+ cn(e, r, a, o);return;case "option":for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {@@ -16931,25 +21925,25 @@ var If = /* @__PURE__ */ _(((e) => {}return;case "dialog":- U("beforetoggle", e), U("toggle", e), U("cancel", e), U("close", e);+ V("beforetoggle", e), V("toggle", e), V("cancel", e), V("close", e);break;case "iframe":case "object":- U("load", e);+ V("load", e);break;case "video":case "audio":- for (r = 0; r < Jf.length; r++) U(Jf[r], e);+ for (r = 0; r < Jf.length; r++) V(Jf[r], e);break;case "image":- U("error", e), U("load", e);+ V("error", e), V("load", e);break;case "details":- U("toggle", e);+ V("toggle", e);break;case "embed":case "source":- case "link": U("error", e), U("load", e);+ case "link": V("error", e), V("load", e);case "area":case "base":case "br":@@ -16967,7 +21961,7 @@ var If = /* @__PURE__ */ _(((e) => {default: up(e, t, u, r, n, null);}return;- default: if (fn(t)) {+ default: if (pn(t)) {for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && dp(e, t, d, r, n, void 0));return;}@@ -17000,22 +21994,22 @@ var If = /* @__PURE__ */ _(((e) => {var m = r[p];if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {case "type":- m !== f && (Gt = !0), o = m;+ m !== f && (Wt = !0), o = m;break;case "name":- m !== f && (Gt = !0), a = m;+ m !== f && (Wt = !0), a = m;break;case "checked":- m !== f && (Gt = !0), u = m;+ m !== f && (Wt = !0), u = m;break;case "defaultChecked":- m !== f && (Gt = !0), d = m;+ m !== f && (Wt = !0), d = m;break;case "value":- m !== f && (Gt = !0), s = m;+ m !== f && (Wt = !0), s = m;break;case "defaultValue":- m !== f && (Gt = !0), c = m;+ m !== f && (Wt = !0), c = m;break;case "children":case "dangerouslySetInnerHTML":@@ -17024,7 +22018,7 @@ var If = /* @__PURE__ */ _(((e) => {default: m !== f && up(e, t, p, m, r, f);}}- tn(e, s, c, l, u, d, o, a);+ nn(e, s, c, l, u, d, o, a);return;case "select":for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {@@ -17034,15 +22028,15 @@ var If = /* @__PURE__ */ _(((e) => {}for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {case "value":- o !== l && (Gt = !0), p = o;+ o !== l && (Wt = !0), p = o;break;case "defaultValue":- o !== l && (Gt = !0), c = o;+ o !== l && (Wt = !0), c = o;break;- case "multiple": o !== l && (Gt = !0), s = o;+ case "multiple": o !== l && (Wt = !0), s = o;default: o !== l && up(e, t, a, o, r, l);}- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? an(e, !!n, n ? [] : "", !1) : an(e, !!n, t, !0)) : an(e, !!n, p, !1);+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? on(e, !!n, n ? [] : "", !1) : on(e, !!n, t, !0)) : on(e, !!n, p, !1);return;case "textarea":for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {@@ -17052,10 +22046,10 @@ var If = /* @__PURE__ */ _(((e) => {}for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {case "value":- a !== o && (Gt = !0), p = a;+ a !== o && (Wt = !0), p = a;break;case "defaultValue":- a !== o && (Gt = !0), m = a;+ a !== o && (Wt = !0), m = a;break;case "children": break;case "dangerouslySetInnerHTML":@@ -17063,7 +22057,7 @@ var If = /* @__PURE__ */ _(((e) => {break;default: a !== o && up(e, t, s, a, r, o);}- on(e, p, m);+ sn(e, p, m);return;case "option":for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {@@ -17074,7 +22068,7 @@ var If = /* @__PURE__ */ _(((e) => {}for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {case "selected":- p !== m && (Gt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ p !== m && (Wt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;default: up(e, t, l, p, r, m);}@@ -17103,7 +22097,7 @@ var If = /* @__PURE__ */ _(((e) => {default: up(e, t, u, p, r, m);}return;- default: if (fn(t)) {+ default: if (pn(t)) {for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && dp(e, t, _, void 0, r, p);for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || dp(e, t, d, p, r, m);return;@@ -17162,7 +22156,7 @@ var If = /* @__PURE__ */ _(((e) => {return e === 1 && t === "foreignObject" ? 0 : e;}function Sp(e, t, n, r) {- return n = yp(n).createElement(e), n[St] = r, n[Ct] = t, fp(n, e, t), It(n), n;+ return n = yp(n).createElement(e), n[bt] = r, n[xt] = t, fp(n, e, t), Pt(n), n;}function Cp(e, t) {return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;@@ -17190,7 +22184,7 @@ var If = /* @__PURE__ */ _(((e) => {if (e.removeChild(n), i && i.nodeType === 8) {if (n = i.data, n === "/$" || n === "/&") {if (r === 0) {- e.removeChild(i), Gh(t);+ e.removeChild(i), Qh(t);return;}r--;@@ -17200,13 +22194,13 @@ var If = /* @__PURE__ */ _(((e) => {n = e.ownerDocument.head, Em(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;- a[kt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ a[Dt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}} else n === "body" && Em(e.ownerDocument.body);}n = i;} while (n);- Gh(t);+ Qh(t);}function Pp(e, t) {var n = e;@@ -17273,7 +22267,7 @@ var If = /* @__PURE__ */ _(((e) => {if (!f.complete) {var p = f.getBoundingClientRect();if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {- if (u += ih(f), u > K) {+ if (u += oh(f), u > lh) {s.length = o;break;}@@ -17430,7 +22424,7 @@ var If = /* @__PURE__ */ _(((e) => {f(this._fragmentFiber.child, !0, Zp, e, void 0, void 0);};function Zp(e, t) {- return e.tag !== 6 && (e = _(e), W(e, t));+ return e.tag !== 6 && (e = _(e), H(e, t));}Gp.prototype.focusLast = function(e) {var t = [];@@ -17531,7 +22525,7 @@ var If = /* @__PURE__ */ _(((e) => {return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || om(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};function om(e, t, n, r, i) {- var a = Mt(i);+ var a = At(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {for (; a !== null;) {@@ -17628,7 +22622,7 @@ var If = /* @__PURE__ */ _(((e) => {case "HTML":case "HEAD":case "BODY":- fm(n), jt(n);+ fm(n), kt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -17647,7 +22641,7 @@ var If = /* @__PURE__ */ _(((e) => {var a = i.name == null ? null : "" + i.name;if (i.type === "hidden" && e.getAttribute("name") === a) return e;} else return e;- } else if (!e[kt]) switch (t) {+ } else if (!e[Dt]) switch (t) {case "meta":if (!e.hasAttribute("itemprop")) break;return e;@@ -17732,7 +22726,7 @@ var If = /* @__PURE__ */ _(((e) => {}return null;}- function W(e, t) {+ function H(e, t) {function n() {r = !0;}@@ -17771,11 +22765,11 @@ var If = /* @__PURE__ */ _(((e) => {var i = n[r];n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === gn && (e.onclick = null), jt(e);+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === _n && (e.onclick = null), kt(e);}function Em(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- jt(e);+ kt(e);}var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();function km(e) {@@ -17785,81 +22779,81 @@ var If = /* @__PURE__ */ _(((e) => {}return e.nodeType === 9 ? e : e.ownerDocument;}- var G = pe.d;- pe.d = {- f: Am,- r: jm,- D: Pm,- C: Fm,- L: Im,- m: Lm,- X: zm,- S: Rm,- M: Bm- };- function Am() {- var e = G.f(), t = Kd();+ var Am = de.d;+ de.d = {+ f: jm,+ r: Mm,+ D: Fm,+ C: Im,+ L: Lm,+ m: Rm,+ X: Bm,+ S: zm,+ M: Vm+ };+ function jm() {+ var e = Am.f(), t = Jd();return e || t;}- function jm(e) {- var t = Nt(e);- t !== null && t.tag === 5 && t.type === "form" ? nc(t) : G.r(e);+ function Mm(e) {+ var t = jt(e);+ t !== null && t.tag === 5 && t.type === "form" ? ic(t) : Am.r(e);}- var Mm = typeof document > "u" ? null : document;- function Nm(e, t, n) {- var r = Mm;+ var Nm = typeof document > "u" ? null : document;+ function Pm(e, t, n) {+ var r = Nm;if (r && typeof t == "string" && t) {- var i = en(t);+ var i = tn(t);i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {rel: e,crossOrigin: n,href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), It(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Pt(t), r.head.appendChild(t)));}}- function Pm(e) {- G.D(e), Nm("dns-prefetch", e, null);+ function Fm(e) {+ Am.D(e), Pm("dns-prefetch", e, null);}- function Fm(e, t) {- G.C(e, t), Nm("preconnect", e, t);+ function Im(e, t) {+ Am.C(e, t), Pm("preconnect", e, t);}- function Im(e, t, n) {- G.L(e, t, n);- var r = Mm;+ function Lm(e, t, n) {+ Am.L(e, t, n);+ var r = Nm;if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + en(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + en(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + en(n.imageSizes) + "\"]")) : i += "[href=\"" + en(e) + "\"]";+ var i = "link[rel=\"preload\"][as=\"" + tn(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + tn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + tn(n.imageSizes) + "\"]")) : i += "[href=\"" + tn(e) + "\"]";var a = i;switch (t) {case "style":- a = Hm(e);+ a = Um(e);break;- case "script": a = Km(e);+ case "script": a = qm(e);}if (!(Dm.has(a) || (e = T({rel: "preload",href: t === "image" && n && n.imageSrcSet ? void 0 : e,as: t- }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Um(a)) || t === "script" && r.querySelector(qm(a))))) {+ }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Ym(a))))) {var o = r.createElement("link");- fp(o, "link", e), t === "style" && (o[At] = !0, o.onload = o.onerror = function() {- Lt(o);- }), It(o), r.head.appendChild(o);+ fp(o, "link", e), t === "style" && (o[Ot] = !0, o.onload = o.onerror = function() {+ Ft(o);+ }), Pt(o), r.head.appendChild(o);}}}- function Lm(e, t) {- G.m(e, t);- var n = Mm;+ function Rm(e, t) {+ Am.m(e, t);+ var n = Nm;if (n && e) {- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + en(r) + "\"][href=\"" + en(e) + "\"]", a = i;+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + tn(r) + "\"][href=\"" + tn(e) + "\"]", a = i;switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": a = Km(e);+ case "script": a = qm(e);}if (!Dm.has(a) && (e = T({rel: "modulepreload",@@ -17871,17 +22865,17 @@ var If = /* @__PURE__ */ _(((e) => {case "serviceworker":case "sharedworker":case "worker":- case "script": if (n.querySelector(qm(a))) return;+ case "script": if (n.querySelector(Ym(a))) return;}- r = n.createElement("link"), fp(r, "link", e), It(r), n.head.appendChild(r);+ r = n.createElement("link"), fp(r, "link", e), Pt(r), n.head.appendChild(r);}}}- function Rm(e, t, n) {- G.S(e, t, n);- var r = Mm;+ function zm(e, t, n) {+ Am.S(e, t, n);+ var r = Nm;if (r && e) {- var i = Ft(r).hoistableStyles, a = Hm(e);+ var i = Nt(r).hoistableStyles, a = Um(e);t ||= "default";var o = i.get(a);if (!o) {@@ -17889,21 +22883,21 @@ var If = /* @__PURE__ */ _(((e) => {loading: 0,preload: null};- if (o = r.querySelector(Um(a))) s.loading = 5;+ if (o = r.querySelector(Wm(a))) s.loading = 5;else {e = T({rel: "stylesheet",href: e,"data-precedence": t- }, n), (n = Dm.get(a)) && Xm(e, n);+ }, n), (n = Dm.get(a)) && Qm(e, n);var c = o = r.createElement("link");- It(c), fp(c, "link", e), c._p = new Promise(function(e, t) {+ Pt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;}), c.addEventListener("load", function() {s.loading |= 1;}), c.addEventListener("error", function() {s.loading |= 2;- }), s.loading |= 4, Ym(o, t, r);+ }), s.loading |= 4, Zm(o, t, r);}o = {type: "stylesheet",@@ -17914,15 +22908,15 @@ var If = /* @__PURE__ */ _(((e) => {}}}- function zm(e, t) {- G.X(e, t);- var n = Mm;+ function Bm(e, t) {+ Am.X(e, t);+ var n = Nm;if (n && e) {- var r = Ft(n).hoistableScripts, i = Km(e), a = r.get(i);- a || (a = n.querySelector(qm(i)), a || (e = T({+ var r = Nt(n).hoistableScripts, i = qm(e), a = r.get(i);+ a || (a = n.querySelector(Ym(i)), a || (e = T({src: e,async: !0- }, t), (t = Dm.get(i)) && Zm(e, t), a = n.createElement("script"), It(a), fp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && $m(e, t), a = n.createElement("script"), Pt(a), fp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -17930,16 +22924,16 @@ var If = /* @__PURE__ */ _(((e) => {}, r.set(i, a));}}- function Bm(e, t) {- G.M(e, t);- var n = Mm;+ function Vm(e, t) {+ Am.M(e, t);+ var n = Nm;if (n && e) {- var r = Ft(n).hoistableScripts, i = Km(e), a = r.get(i);- a || (a = n.querySelector(qm(i)), a || (e = T({+ var r = Nt(n).hoistableScripts, i = qm(e), a = r.get(i);+ a || (a = n.querySelector(Ym(i)), a || (e = T({src: e,async: !0,type: "module"- }, t), (t = Dm.get(i)) && Zm(e, t), a = n.createElement("script"), It(a), fp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && $m(e, t), a = n.createElement("script"), Pt(a), fp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -17947,13 +22941,13 @@ var If = /* @__PURE__ */ _(((e) => {}, r.set(i, a));}}- function Vm(e, t, n, r) {- var a = (a = Se.current) ? km(a) : null;+ function Hm(e, t, n, r) {+ var a = (a = be.current) ? km(a) : null;if (!a) throw Error(i(446));switch (e) {case "meta":case "title": return null;- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Hm(n.href), t = Ft(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Nt(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -17966,8 +22960,8 @@ var If = /* @__PURE__ */ _(((e) => {};case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {- e = Hm(n.href);- var o = Ft(a).hoistableStyles, s = o.get(e);+ e = Um(n.href);+ var o = Nt(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",instance: null,@@ -17976,7 +22970,7 @@ var If = /* @__PURE__ */ _(((e) => {loading: 0,preload: null}- }, o.set(e, s), (o = a.querySelector(Um(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {+ }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {rel: "preload",as: "style",href: n.href,@@ -17985,12 +22979,12 @@ var If = /* @__PURE__ */ _(((e) => {media: n.media,hrefLang: n.hrefLang,referrerPolicy: n.referrerPolicy- }, Dm.set(e, o)), Gm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ }, Dm.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));return s;}if (t && r !== null) throw Error(i(529, ""));return null;- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Km(n), t = Ft(a).hoistableScripts, r = t.get(n), r || (r = {+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Nt(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -18004,66 +22998,66 @@ var If = /* @__PURE__ */ _(((e) => {default: throw Error(i(444, e));}}- function Hm(e) {- return "href=\"" + en(e) + "\"";- }function Um(e) {- return "link[rel=\"stylesheet\"][" + e + "]";+ return "href=\"" + tn(e) + "\"";}function Wm(e) {+ return "link[rel=\"stylesheet\"][" + e + "]";+ }+ function Gm(e) {return T({}, e, {"data-precedence": e.precedence,precedence: null});}- function Gm(e, t, n, r) {+ function Km(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[At]) {+ if (!0 !== t[Ot]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[At] = !0, t.onload = t.onerror = Lt.bind(null, t), fp(t, "link", n), It(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[Ot] = !0, t.onload = t.onerror = Ft.bind(null, t), fp(t, "link", n), Pt(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {return r.loading |= 2;});}- function Km(e) {- return "[src=\"" + en(e) + "\"]";- }function qm(e) {+ return "[src=\"" + tn(e) + "\"]";+ }+ function Ym(e) {return "script[async]" + e;}- function Jm(e, t, n) {+ function Xm(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":- var r = e.querySelector("style[data-href~=\"" + en(n.href) + "\"]");- if (r) return t.instance = r, It(r), r;+ var r = e.querySelector("style[data-href~=\"" + tn(n.href) + "\"]");+ if (r) return t.instance = r, Pt(r), r;var a = T({}, n, {"data-href": n.href,"data-precedence": n.precedence,href: null,precedence: null});- return r = (e.ownerDocument || e).createElement("style"), It(r), fp(r, "style", a), Ym(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), Pt(r), fp(r, "style", a), Zm(r, n.precedence, e), t.instance = r;case "stylesheet":- a = Hm(n.href);- var o = e.querySelector(Um(a));- if (o) return t.state.loading |= 4, t.instance = o, It(o), o;- r = Wm(n), (a = Dm.get(a)) && Xm(r, a), o = (e.ownerDocument || e).createElement("link"), It(o);+ a = Um(n.href);+ var o = e.querySelector(Wm(a));+ if (o) return t.state.loading |= 4, t.instance = o, Pt(o), o;+ r = Gm(n), (a = Dm.get(a)) && Qm(r, a), o = (e.ownerDocument || e).createElement("link"), Pt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), fp(o, "link", r), t.state.loading |= 4, Ym(o, n.precedence, e), t.instance = o;- case "script": return o = Km(n.src), (a = e.querySelector(qm(o))) ? (t.instance = a, It(a), a) : (r = n, (a = Dm.get(o)) && (r = T({}, n), Zm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), It(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), fp(o, "link", r), t.state.loading |= 4, Zm(o, n.precedence, e), t.instance = o;+ case "script": return o = qm(n.src), (a = e.querySelector(Ym(o))) ? (t.instance = a, Pt(a), a) : (r = n, (a = Dm.get(o)) && (r = T({}, n), $m(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Pt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Ym(r, n.precedence, e));+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Zm(r, n.precedence, e));return t.instance;}- function Ym(e, t, n) {+ function Zm(e, t, n) {for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {var s = r[o];if (s.dataset.precedence === t) a = s;@@ -18071,22 +23065,22 @@ var If = /* @__PURE__ */ _(((e) => {}a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));}- function Xm(e, t) {+ function Qm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;}- function Zm(e, t) {+ function $m(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;}- var Qm = null;- function $m(e, t, n) {- if (Qm === null) {- var r = /* @__PURE__ */ new Map(), i = Qm = /* @__PURE__ */ new Map();+ var eh = null;+ function th(e, t, n) {+ if (eh === null) {+ var r = /* @__PURE__ */ new Map(), i = eh = /* @__PURE__ */ new Map();i.set(n, r);- } else i = Qm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ } else i = eh, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));if (r.has(e)) return r;for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {var a = n[i];- if (!(a[kt] || a[St] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {+ if (!(a[Dt] || a[bt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {var o = a.getAttribute(t) || "";o = e + o;var s = r.get(o);@@ -18095,10 +23089,10 @@ var If = /* @__PURE__ */ _(((e) => {}return r;}- function eh(e, t, n) {+ function nh(e, t, n) {e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);}- function th(e, t, n) {+ function rh(e, t, n) {if (n === 1 || t.itemProp != null) return !1;switch (e) {case "meta":@@ -18116,196 +23110,196 @@ var If = /* @__PURE__ */ _(((e) => {}return !1;}- function nh(e, t) {+ function ih(e, t) {return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";}- function rh(e) {+ function ah(e) {return !(e.type === "stylesheet" && !(e.state.loading & 3));}- function ih(e) {+ function oh(e) {return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;}- function ah(e, t) {- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += ih(t), e.suspenseyImages.push(t)), e = q.bind(e), t.decode().then(e, e));+ function sh(e, t) {+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += oh(t), e.suspenseyImages.push(t)), e = ph.bind(e), t.decode().then(e, e));}- function oh(e, t, n, r) {+ function ch(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 = Hm(r.href), a = t.querySelector(Um(i));+ var i = Um(r.href), a = t.querySelector(Wm(i));if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = lh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, It(a);+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = fh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Pt(a);return;}- a = t.ownerDocument || t, r = Wm(r), (i = Dm.get(i)) && Xm(r, i), a = a.createElement("link"), It(a);+ a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Qm(r, i), a = a.createElement("link"), Pt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;}), fp(a, "link", r), n.instance = a;}- e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = lh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = fh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));}}- var K = 0;- function sh(e, t) {- return e.stylesheets && e.count === 0 && J(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {+ var lh = 0;+ function uh(e, t) {+ return e.stylesheets && e.count === 0 && hh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {var r = setTimeout(function() {- if (e.stylesheets && J(e, e.stylesheets), e.unsuspend) {+ if (e.stylesheets && hh(e, e.stylesheets), e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}, 6e4 + t);- 0 < e.imgBytes && K === 0 && (K = 62500 * gp());+ 0 < e.imgBytes && lh === 0 && (lh = 62500 * gp());var i = setTimeout(function() {- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && J(e, e.stylesheets), e.unsuspend)) {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && hh(e, e.stylesheets), e.unsuspend)) {var t = e.unsuspend;e.unsuspend = null, t();}- }, (e.imgBytes > K ? 50 : 800) + t);+ }, (e.imgBytes > lh ? 50 : 800) + t);return e.unsuspend = n, function() {e.unsuspend = null, clearTimeout(r), clearTimeout(i);};} : null;}- function ch(e) {+ function dh(e) {if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {- if (e.stylesheets) J(e, e.stylesheets);+ if (e.stylesheets) hh(e, e.stylesheets);else if (e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}}- function lh() {- this.count--, ch(this);+ function fh() {+ this.count--, dh(this);}- function q() {- this.imgCount--, ch(this);+ function ph() {+ this.imgCount--, dh(this);}- var uh = null;- function J(e, t) {- e.stylesheets = null, e.unsuspend !== null && (e.count++, uh = /* @__PURE__ */ new Map(), t.forEach(dh, e), uh = null, lh.call(e));+ var mh = null;+ function hh(e, t) {+ e.stylesheets = null, e.unsuspend !== null && (e.count++, mh = /* @__PURE__ */ new Map(), t.forEach(gh, e), mh = null, fh.call(e));}- function dh(e, t) {+ function gh(e, t) {if (!(t.state.loading & 4)) {- var n = uh.get(e);+ var n = mh.get(e);if (n) var r = n.get(null);else {- n = /* @__PURE__ */ new Map(), uh.set(e, n);+ n = /* @__PURE__ */ new Map(), mh.set(e, n);for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {var o = i[a];(o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);}r && n.set(null, r);}- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = lh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = fh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;}}- var fh = {- $$typeof: ee,+ var _h = {+ $$typeof: N,Provider: null,Consumer: null,- _currentValue: me,- _currentValue2: me,+ _currentValue: fe,+ _currentValue2: fe,_threadCount: 0};- function ph(e, t, n, r, i, a, o, s, c) {- this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = dt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = dt(0), this.hiddenUpdates = dt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();+ function vh(e, t, n, r, i, a, o, s, c) {+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = lt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = lt(0), this.hiddenUpdates = lt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();}- function mh(e, t, n, r, i, a, o, s, c, l, u, d) {- return e = new ph(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ai(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ function yh(e, t, n, r, i, a, o, s, c, l, u, d) {+ return e = new vh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ai(3, null, null, t), e.current = a, a.stateNode = e, t = ja(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t- }, po(a), e;+ }, mo(a), e;}- function hh(e) {+ function bh(e) {return e ? (e = Oi, e) : Oi;}- function gh(e, t, n, r, i, a) {- i = hh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Vd(n, e, t), _o(n, e, t));+ function xh(e, t, n, r, i, a) {+ i = bh(i), r.context === null ? r.context = i : r.pendingContext = i, r = go(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = _o(e, r, t), n !== null && (Ud(n, e, t), vo(n, e, t));}- function _h(e, t) {+ function Sh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {var n = e.retryLane;e.retryLane = n !== 0 && n < t ? n : t;}}- function vh(e, t) {- _h(e, t), (e = e.alternate) && _h(e, t);+ function Ch(e, t) {+ Sh(e, t), (e = e.alternate) && Sh(e, t);}- function yh(e) {+ function wh(e) {if (e.tag === 13 || e.tag === 31) {var t = Ti(e, 67108864);- t !== null && Vd(t, e, 67108864), vh(e, 67108864);+ t !== null && Ud(t, e, 67108864), Ch(e, 67108864);}}- function bh(e) {+ function Th(e) {if (e.tag === 13 || e.tag === 31) {- var t = Rd();- t = _t(t);+ var t = Bd();+ t = ht(t);var n = Ti(e, t);- n !== null && Vd(n, e, t), vh(e, t);+ n !== null && Ud(n, e, t), Ch(e, t);}}- var xh = !0;- function Y(e, t, n, r) {- var i = I.T;- I.T = null;- var a = pe.p;+ var Eh = !0;+ function Dh(e, t, n, r) {+ var i = R.T;+ R.T = null;+ var a = de.p;try {- pe.p = 2, Ch(e, t, n, r);+ de.p = 2, kh(e, t, n, r);} finally {- pe.p = a, I.T = i;+ de.p = a, R.T = i;}}- function Sh(e, t, n, r) {- var i = I.T;- I.T = null;- var a = pe.p;+ function Oh(e, t, n, r) {+ var i = R.T;+ R.T = null;+ var a = de.p;try {- pe.p = 8, Ch(e, t, n, r);+ de.p = 8, kh(e, t, n, r);} finally {- pe.p = a, I.T = i;+ de.p = a, R.T = i;}}- function Ch(e, t, n, r) {- if (xh) {- var i = wh(r);- if (i === null) tp(e, t, r, X, n), Fh(e, r);- else if (Lh(i, e, t, n, r)) r.stopPropagation();- else if (Fh(e, r), t & 4 && -1 < Ph.indexOf(e)) {+ function kh(e, t, n, r) {+ if (Eh) {+ var i = Ah(r);+ if (i === null) tp(e, t, r, jh, n), Hh(e, r);+ else if (Wh(i, e, t, n, r)) r.stopPropagation();+ else if (Hh(e, r), t & 4 && -1 < Vh.indexOf(e)) {for (; i !== null;) {- var a = Nt(i);+ var a = jt(i);if (a !== null) switch (a.tag) {case 3:if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = at(a.pendingLanes);+ var o = rt(a.pendingLanes);if (o !== 0) {var s = a;for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {- var c = 1 << 31 - Qe(o);+ var c = 1 << 31 - Xe(o);s.entanglements[1] |= c, o &= ~c;}- Pf(a), !(nd & 6) && (Cd = Be() + 500, Ff(0, !1));+ If(a), !(id & 6) && (Td = Re() + 500, Lf(0, !1));}}break;case 31:- case 13: s = Ti(a, 2), s !== null && Vd(s, a, 2), Kd(), vh(a, 2);+ case 13: s = Ti(a, 2), s !== null && Ud(s, a, 2), Jd(), Ch(a, 2);}- if (a = wh(r), a === null && tp(e, t, r, X, n), a === i) break;+ if (a = Ah(r), a === null && tp(e, t, r, jh, n), a === i) break;i = a;}i !== null && r.stopPropagation();} else tp(e, t, r, null, n);}}- function wh(e) {- return e = vn(e), Th(e);+ function Ah(e) {+ return e = yn(e), Mh(e);}- var X = null;- function Th(e) {- if (X = null, e = Mt(e), e !== null) {+ var jh = null;+ function Mh(e) {+ if (jh = null, e = At(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -18322,9 +23316,9 @@ var If = /* @__PURE__ */ _(((e) => {} else t !== e && (e = null);}}- return X = e, null;+ return jh = e, null;}- function Eh(e) {+ function Nh(e) {switch (e) {case "beforetoggle":case "cancel":@@ -18398,77 +23392,77 @@ var If = /* @__PURE__ */ _(((e) => {case "mouseleave":case "pointerenter":case "pointerleave": return 8;- case "message": switch (Ve()) {- case He: return 2;- case Ue: return 8;- case We:- case Ge: return 32;- case Ke: return 268435456;+ case "message": switch (ze()) {+ case Be: return 2;+ case Ve: return 8;+ case He:+ case Ue: return 32;+ case We: return 268435456;default: return 32;}default: return 32;}}- var Dh = !1, Oh = null, kh = null, Ah = null, jh = /* @__PURE__ */ new Map(), Mh = /* @__PURE__ */ new Map(), Nh = [], Ph = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");- function Fh(e, t) {+ var Ph = !1, Fh = null, Ih = null, Lh = null, Rh = /* @__PURE__ */ new Map(), zh = /* @__PURE__ */ new Map(), Bh = [], Vh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");+ function Hh(e, t) {switch (e) {case "focusin":case "focusout":- Oh = null;+ Fh = null;break;case "dragenter":case "dragleave":- kh = null;+ Ih = null;break;case "mouseover":case "mouseout":- Ah = null;+ Lh = null;break;case "pointerover":case "pointerout":- jh.delete(t.pointerId);+ Rh.delete(t.pointerId);break;case "gotpointercapture":- case "lostpointercapture": Mh.delete(t.pointerId);+ case "lostpointercapture": zh.delete(t.pointerId);}}- function Ih(e, t, n, r, i, a) {+ function Uh(e, t, n, r, i, a) {return e === null || e.nativeEvent !== a ? (e = {blockedOn: t,domEventName: n,eventSystemFlags: r,nativeEvent: a,targetContainers: [i]- }, t !== null && (t = Nt(t), t !== null && yh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = jt(t), t !== null && wh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);}- function Lh(e, t, n, r, i) {+ function Wh(e, t, n, r, i) {switch (t) {- case "focusin": return Oh = Ih(Oh, e, t, n, r, i), !0;- case "dragenter": return kh = Ih(kh, e, t, n, r, i), !0;- case "mouseover": return Ah = Ih(Ah, e, t, n, r, i), !0;+ case "focusin": return Fh = Uh(Fh, e, t, n, r, i), !0;+ case "dragenter": return Ih = Uh(Ih, e, t, n, r, i), !0;+ case "mouseover": return Lh = Uh(Lh, e, t, n, r, i), !0;case "pointerover":var a = i.pointerId;- return jh.set(a, Ih(jh.get(a) || null, e, t, n, r, i)), !0;- case "gotpointercapture": return a = i.pointerId, Mh.set(a, Ih(Mh.get(a) || null, e, t, n, r, i)), !0;+ return Rh.set(a, Uh(Rh.get(a) || null, e, t, n, r, i)), !0;+ case "gotpointercapture": return a = i.pointerId, zh.set(a, Uh(zh.get(a) || null, e, t, n, r, i)), !0;}return !1;}- function Rh(e) {- var t = Mt(e.target);+ function Gh(e) {+ var t = At(e.target);if (t !== null) {var n = o(t);if (n !== null) {if (t = n.tag, t === 13) {if (t = s(n), t !== null) {- e.blockedOn = t, bt(e.priority, function() {- bh(n);+ e.blockedOn = t, vt(e.priority, function() {+ Th(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {- e.blockedOn = t, bt(e.priority, function() {- bh(n);+ e.blockedOn = t, vt(e.priority, function() {+ Th(n);});return;}@@ -18480,40 +23474,40 @@ var If = /* @__PURE__ */ _(((e) => {}e.blockedOn = null;}- function zh(e) {+ function Kh(e) {if (e.blockedOn !== null) return !1;for (var t = e.targetContainers; 0 < t.length;) {- var n = wh(e.nativeEvent);+ var n = Ah(e.nativeEvent);if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);- _n = r, n.target.dispatchEvent(r), _n = null;- } else return t = Nt(n), t !== null && yh(t), e.blockedOn = n, !1;+ vn = r, n.target.dispatchEvent(r), vn = null;+ } else return t = jt(n), t !== null && wh(t), e.blockedOn = n, !1;t.shift();}return !0;}- function Bh(e, t, n) {- zh(e) && n.delete(t);+ function qh(e, t, n) {+ Kh(e) && n.delete(t);}- function Vh() {- Dh = !1, Oh !== null && zh(Oh) && (Oh = null), kh !== null && zh(kh) && (kh = null), Ah !== null && zh(Ah) && (Ah = null), jh.forEach(Bh), Mh.forEach(Bh);+ function Jh() {+ Ph = !1, Fh !== null && Kh(Fh) && (Fh = null), Ih !== null && Kh(Ih) && (Ih = null), Lh !== null && Kh(Lh) && (Lh = null), Rh.forEach(qh), zh.forEach(qh);}- function Hh(e, n) {- e.blockedOn === n && (e.blockedOn = null, Dh || (Dh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Vh)));+ function Yh(e, n) {+ e.blockedOn === n && (e.blockedOn = null, Ph || (Ph = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Jh)));}- var Uh = null;- function Wh(e) {- Uh !== e && (Uh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {- Uh === e && (Uh = null);+ var Xh = null;+ function Zh(e) {+ Xh !== e && (Xh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {+ Xh === e && (Xh = null);for (var t = 0; t < e.length; t += 3) {var n = e[t], r = e[t + 1], i = e[t + 2];if (typeof r != "function") {- if (Th(r || n) === null) continue;+ if (Mh(r || n) === null) continue;break;}- var a = Nt(n);- a !== null && (e.splice(t, 3), t -= 3, ec(a, {+ var a = jt(n);+ a !== null && (e.splice(t, 3), t -= 3, nc(a, {pending: !0,data: i,method: n.method,@@ -18522,30 +23516,30 @@ var If = /* @__PURE__ */ _(((e) => {}}));}- function Gh(e) {+ function Qh(e) {function t(t) {- return Hh(t, e);+ return Yh(t, e);}- Oh !== null && Hh(Oh, e), kh !== null && Hh(kh, e), Ah !== null && Hh(Ah, e), jh.forEach(t), Mh.forEach(t);- for (var n = 0; n < Nh.length; n++) {- var r = Nh[n];+ Fh !== null && Yh(Fh, e), Ih !== null && Yh(Ih, e), Lh !== null && Yh(Lh, e), Rh.forEach(t), zh.forEach(t);+ for (var n = 0; n < Bh.length; n++) {+ var r = Bh[n];r.blockedOn === e && (r.blockedOn = null);}- for (; 0 < Nh.length && (n = Nh[0], n.blockedOn === null);) Rh(n), n.blockedOn === null && Nh.shift();+ for (; 0 < Bh.length && (n = Bh[0], n.blockedOn === null);) Gh(n), n.blockedOn === null && Bh.shift();if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {- var i = n[r], a = n[r + 1], o = i[Ct] || null;- if (typeof a == "function") o || Wh(n);+ var i = n[r], a = n[r + 1], o = i[xt] || null;+ if (typeof a == "function") o || Zh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[Ct] || null) s = o.formAction;- else if (Th(i) !== null) continue;+ if (i = a, o = a[xt] || null) s = o.formAction;+ else if (Mh(i) !== null) continue;} else s = o.action;- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Wh(n);+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Zh(n);}}}- function Kh() {+ function $h() {function e(e) {e.canIntercept && e.info === "react-transition" && e.intercept({handler: function() {@@ -18577,63 +23571,63 @@ var If = /* @__PURE__ */ _(((e) => {};}}- function qh(e) {+ function eg(e) {this._internalRoot = e;}- Jh.prototype.render = qh.prototype.render = function(e) {+ tg.prototype.render = eg.prototype.render = function(e) {var t = this._internalRoot;if (t === null) throw Error(i(409));var n = t.current;- gh(n, Rd(), e, t, null, null);- }, Jh.prototype.unmount = qh.prototype.unmount = function() {+ xh(n, Bd(), e, t, null, null);+ }, tg.prototype.unmount = eg.prototype.unmount = function() {var e = this._internalRoot;if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- gh(e.current, 2, null, e, null, null), Kd(), t[wt] = null;+ xh(e.current, 2, null, e, null, null), Jd(), t[St] = null;}};- function Jh(e) {+ function tg(e) {this._internalRoot = e;}- Jh.prototype.unstable_scheduleHydration = function(e) {+ tg.prototype.unstable_scheduleHydration = function(e) {if (e) {- var t = yt();+ var t = _t();e = {blockedOn: null,target: e,priority: t};- for (var n = 0; n < Nh.length && t !== 0 && t < Nh[n].priority; n++);- Nh.splice(n, 0, e), n === 0 && Rh(e);+ for (var n = 0; n < Bh.length && t !== 0 && t < Bh[n].priority; n++);+ Bh.splice(n, 0, e), n === 0 && Gh(e);}};- var Yh = n.version;- if (Yh !== "19.3.0") throw Error(i(527, Yh, "19.3.0"));- pe.findDOMNode = function(e) {+ var ng = n.version;+ if (ng !== "19.3.0") throw Error(i(527, ng, "19.3.0"));+ de.findDOMNode = function(e) {var t = e._reactInternals;if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;};- var Xh = {+ var rg = {bundleType: 0,version: "19.3.0",rendererPackageName: "react-dom",- currentDispatcherRef: I,+ currentDispatcherRef: R,reconcilerVersion: "19.3.0"};if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {- var Zh = __REACT_DEVTOOLS_GLOBAL_HOOK__;- if (!Zh.isDisabled && Zh.supportsFiber) try {- Ye = Zh.inject(Xh), Xe = Zh;+ var ig = __REACT_DEVTOOLS_GLOBAL_HOOK__;+ if (!ig.isDisabled && ig.supportsFiber) try {+ qe = ig.inject(rg), Je = ig;} catch {}}e.createRoot = function(e, t) {if (!a(e)) throw Error(i(299));- var n = !1, r = "", o = Cc, s = wc, c = Tc;- 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 = mh(e, 1, !1, null, null, n, r, null, o, s, c, Kh), e[wt] = t.current, $f(e), new qh(t);+ var n = !1, r = "", o = Tc, s = Ec, c = Dc;+ 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[St] = t.current, $f(e), new eg(t);};-})), zf = (/* @__PURE__ */ _(((e, t) => {+})), lte = (/* @__PURE__ */ _(((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);@@ -18641,8 +23635,8 @@ var If = /* @__PURE__ */ _(((e) => {console.error(e);}}- n(), t.exports = Rf();-})))(), Bf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+ n(), t.exports = cte();+})))(), ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18650,7 +23644,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Vf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), dte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18658,7 +23652,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Hf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18666,7 +23660,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Uf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18674,7 +23668,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Wf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18682,7 +23676,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Gf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), fte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18690,7 +23684,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Kf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18698,7 +23692,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18706,7 +23700,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), pte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18714,7 +23708,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Yf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18722,7 +23716,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Xf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18730,7 +23724,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), U = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18738,7 +23732,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18746,7 +23740,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), mte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18754,7 +23748,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), $f = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18762,7 +23756,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), ep = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18770,7 +23764,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), tp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), hte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18778,7 +23772,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), np = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18786,7 +23780,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), rp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18794,7 +23788,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), ip = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18802,7 +23796,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), ap = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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 }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18810,7 +23804,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), op = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), vte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18818,7 +23812,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), sp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), yte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18826,7 +23820,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), cp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), bte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18834,7 +23828,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), lp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), xte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18842,7 +23836,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), up = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Ste = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18850,7 +23844,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), dp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18858,7 +23852,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), fp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18866,7 +23860,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), pp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18874,7 +23868,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), mp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18882,7 +23876,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), hp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), Cte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18890,7 +23884,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), gp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18898,7 +23892,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18906,7 +23900,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), vp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), IS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18914,7 +23908,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), yp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), LS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18922,7 +23916,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), bp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), RS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18930,7 +23924,7 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), xp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.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" })), zS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -18938,100 +23932,100 @@ var If = /* @__PURE__ */ _(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, E.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" })), Sp = (e, t) => {+}, E.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" })), BS = (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;-}, Cp = (e, t) => ({+}, VS = (e, t) => ({classGroupId: e,validator: t-}), wp = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), HS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), Tp = "-", Ep = [], Dp = "arbitrary..", Op = (e) => {- let t = jp(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), US = "-", WS = [], GS = "arbitrary..", KS = (e) => {+ let t = YS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Ap(e);- let n = e.split(Tp);- return kp(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return JS(e);+ let n = e.split(US);+ return qS(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Sp(i, t) : t : i || Ep;+ return t ? i ? BS(i, t) : t : i || WS;}- return n[e] || Ep;+ return n[e] || WS;}};-}, kp = (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 = kp(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(Tp) : e.slice(t).join(Tp), s = a.length;+ let o = t === 0 ? e.join(US) : e.slice(t).join(US), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Ap = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, JS = (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 ? Dp + r : void 0;-})(), jp = (e) => {+ return r ? GS + r : void 0;+})(), YS = (e) => {let { theme: t, classGroups: n } = e;- return Mp(n, t);-}, Mp = (e, t) => {- let n = wp();+ return XS(n, t);+}, XS = (e, t) => {+ let n = HS();for (let r in e) {let i = e[r];- Np(i, n, r, t);+ ZS(i, n, r, t);}return n;-}, Np = (e, t, n, r) => {+}, ZS = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Pp(i, t, n, r);+ QS(i, t, n, r);}-}, Pp = (e, t, n, r) => {+}, QS = (e, t, n, r) => {if (typeof e == "string") {- Fp(e, t, n);+ $S(e, t, n);return;}if (typeof e == "function") {- Ip(e, t, n, r);+ eC(e, t, n, r);return;}- Lp(e, t, n, r);-}, Fp = (e, t, n) => {- let r = e === "" ? t : Rp(t, e);+ tC(e, t, n, r);+}, $S = (e, t, n) => {+ let r = e === "" ? t : nC(t, e);r.classGroupId = n;-}, Ip = (e, t, n, r) => {- if (zp(e)) {- Np(e(r), t, n, r);+}, eC = (e, t, n, r) => {+ if (rC(e)) {+ ZS(e(r), t, n, r);return;}- t.validators === null && (t.validators = []), t.validators.push(Cp(n, e));-}, Lp = (e, t, n, r) => {+ t.validators === null && (t.validators = []), t.validators.push(VS(n, e));+}, tC = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- Np(o, Rp(t, a), n, r);+ ZS(o, nC(t, a), n, r);}-}, Rp = (e, t) => {- let n = e, r = t.split(Tp), i = r.length;+}, nC = (e, t) => {+ let n = e, r = t.split(US), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = wp(), n.nextPart.set(t, i)), n = i;+ i || (i = HS(), n.nextPart.set(t, i)), n = i;}return n;-}, zp = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Bp = (e) => {+}, rC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, iC = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -19049,19 +24043,19 @@ var If = /* @__PURE__ */ _(((e) => {e in n ? n[e] = t : i(e, t);}};-}, Vp = "!", Hp = ":", Up = [], Wp = (e, t, n, r, i) => ({+}, aC = "!", oC = ":", sC = [], cC = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Gp = (e) => {+}), lC = (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 === Hp) {+ if (o === oC) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -19073,13 +24067,13 @@ var If = /* @__PURE__ */ _(((e) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(Vp) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Vp) && (c = s.slice(1), l = !0);+ s.endsWith(aC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(aC) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return Wp(t, l, c, u);+ return cC(t, l, c, u);};if (t) {- let e = t + Hp, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Wp(Up, !1, t, void 0, !0);+ let e = t + oC, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : cC(sC, !1, t, void 0, !0);}if (n) {let e = r;@@ -19089,7 +24083,7 @@ var If = /* @__PURE__ */ _(((e) => {});}return r;-}, Kp = (e) => {+}, uC = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -19101,18 +24095,18 @@ var If = /* @__PURE__ */ _(((e) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, qp = (e) => ({- cache: Bp(e.cacheSize),- parseClassName: Gp(e),- sortModifiers: Kp(e),- postfixLookupClassGroupIds: Jp(e),- ...Op(e)-}), Jp = (e) => {+}, dC = (e) => ({+ cache: iC(e.cacheSize),+ parseClassName: lC(e),+ sortModifiers: uC(e),+ postfixLookupClassGroupIds: fC(e),+ ...KS(e)+}), fC = (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;-}, Yp = /\s+/, Xp = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Yp), l = "";+}, pC = /\s+/, mC = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(pC), 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) {@@ -19136,7 +24130,7 @@ var If = /* @__PURE__ */ _(((e) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Vp : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + aC : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -19147,34 +24141,34 @@ var If = /* @__PURE__ */ _(((e) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, Zp = (...e) => {+}, hC = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = Qp(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = gC(n)) && (i && (i += " "), i += r);return i;-}, Qp = (e) => {+}, gC = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = Qp(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = gC(e[r])) && (n && (n += " "), n += t);return n;-}, $p = (e, ...t) => {- let n, r, i, a, o = (o) => (n = qp(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, _C = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = dC(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 = Xp(e, n);+ let a = mC(e, n);return i(e, a), a;};- return a = o, (...e) => a(Zp(...e));-}, em = [], tm = (e) => {- let t = (t) => t[e] || em;+ return a = o, (...e) => a(hC(...e));+}, vC = [], yC = (e) => {+ let t = (t) => t[e] || vC;return t.isThemeGetter = !0, t.themeKey = e, t;-}, nm = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, rm = /^\((?:(\w[\w-]*):)?(.+)\)$/i, im = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, am = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, om = /\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$/, sm = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, cm = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, lm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, um = (e) => im.test(e), dm = (e) => !!e && !Number.isNaN(Number(e)), fm = (e) => !!e && Number.isInteger(Number(e)), pm = (e) => e.endsWith("%") && dm(e.slice(0, -1)), mm = (e) => am.test(e), hm = () => !0, gm = (e) => om.test(e) && !sm.test(e), _m = () => !1, vm = (e) => cm.test(e), ym = (e) => lm.test(e), bm = (e) => !W(e) && !G(e), xm = (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)), Sm = (e) => Lm(e, Vm, _m), W = (e) => nm.test(e), Cm = (e) => Lm(e, Hm, gm), wm = (e) => Lm(e, Um, dm), Tm = (e) => Lm(e, Gm, hm), Em = (e) => Lm(e, Wm, _m), Dm = (e) => Lm(e, zm, _m), Om = (e) => Lm(e, Bm, ym), km = (e) => Lm(e, Km, vm), G = (e) => rm.test(e), Am = (e) => Rm(e, Hm), jm = (e) => Rm(e, Wm), Mm = (e) => Rm(e, zm), Nm = (e) => Rm(e, Vm), Pm = (e) => Rm(e, Bm), Fm = (e) => Rm(e, Km, !0), Im = (e) => Rm(e, Gm, !0), Lm = (e, t, n) => {- let r = nm.exec(e);+}, bC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, SC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, CC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wC = /\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$/, TC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, EC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, DC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, OC = (e) => SC.test(e), kC = (e) => !!e && !Number.isNaN(Number(e)), AC = (e) => !!e && Number.isInteger(Number(e)), jC = (e) => e.endsWith("%") && kC(e.slice(0, -1)), MC = (e) => CC.test(e), NC = () => !0, PC = (e) => wC.test(e) && !TC.test(e), FC = () => !1, IC = (e) => EC.test(e), LC = (e) => DC.test(e), RC = (e) => !U(e) && !W(e), zC = (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)), BC = (e) => tw(e, aw, FC), U = (e) => bC.test(e), VC = (e) => tw(e, ow, PC), HC = (e) => tw(e, sw, kC), UC = (e) => tw(e, lw, NC), WC = (e) => tw(e, cw, FC), GC = (e) => tw(e, rw, FC), KC = (e) => tw(e, iw, LC), qC = (e) => tw(e, uw, IC), W = (e) => xC.test(e), JC = (e) => nw(e, ow), YC = (e) => nw(e, cw), XC = (e) => nw(e, rw), ZC = (e) => nw(e, aw), QC = (e) => nw(e, iw), $C = (e) => nw(e, uw, !0), ew = (e) => nw(e, lw, !0), tw = (e, t, n) => {+ let r = bC.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, Rm = (e, t, n = !1) => {- let r = rm.exec(e);+}, nw = (e, t, n = !1) => {+ let r = xC.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, zm = (e) => e === "position" || e === "percentage", Bm = (e) => e === "image" || e === "url", Vm = (e) => e === "length" || e === "size" || e === "bg-size", Hm = (e) => e === "length", Um = (e) => e === "number", Wm = (e) => e === "family-name", Gm = (e) => e === "number" || e === "weight", Km = (e) => e === "shadow", qm = () => {- let e = tm("color"), t = tm("font"), n = tm("text"), r = tm("font-weight"), i = tm("tracking"), a = tm("leading"), o = tm("breakpoint"), s = tm("container"), c = tm("spacing"), l = tm("radius"), u = tm("shadow"), d = tm("inset-shadow"), f = tm("text-shadow"), p = tm("drop-shadow"), m = tm("blur"), h = tm("perspective"), g = tm("aspect"), _ = tm("ease"), v = tm("animate"), y = () => [+}, rw = (e) => e === "position" || e === "percentage", iw = (e) => e === "image" || e === "url", aw = (e) => e === "length" || e === "size" || e === "bg-size", ow = (e) => e === "length", sw = (e) => e === "number", cw = (e) => e === "family-name", lw = (e) => e === "number" || e === "weight", uw = (e) => e === "shadow", dw = () => {+ let e = yC("color"), t = yC("font"), n = yC("text"), r = yC("font-weight"), i = yC("tracking"), a = yC("leading"), o = yC("breakpoint"), s = yC("container"), c = yC("spacing"), l = yC("radius"), u = yC("shadow"), d = yC("inset-shadow"), f = yC("text-shadow"), p = yC("drop-shadow"), m = yC("blur"), h = yC("perspective"), g = yC("aspect"), _ = yC("ease"), v = yC("animate"), y = () => ["auto","avoid","all",@@ -19199,8 +24193,8 @@ var If = /* @__PURE__ */ _(((e) => {"left-bottom"], x = () => [...b(),- G,- W+ W,+ U], S = () => ["auto","hidden",@@ -19212,43 +24206,43 @@ var If = /* @__PURE__ */ _(((e) => {"contain","none"], w = () => [- G,W,+ U,c], T = () => [- um,+ OC,"full","auto",...w()], E = () => [- fm,+ AC,"none","subgrid",- G,- W+ W,+ U], D = () => ["auto",{ span: ["full",- fm,- G,- W+ AC,+ W,+ U] },- fm,- G,- W+ AC,+ W,+ U], O = () => [- fm,+ AC,"auto",- G,- W+ W,+ U], k = () => ["auto","min","max","fr",- G,- W+ W,+ U], A = () => ["start","end",@@ -19267,8 +24261,8 @@ var If = /* @__PURE__ */ _(((e) => {"stretch","center-safe","end-safe"- ], M = () => ["auto", ...w()], ee = () => [- um,+ ], M = () => ["auto", ...w()], N = () => [+ OC,"auto","full","dvw",@@ -19281,9 +24275,9 @@ var If = /* @__PURE__ */ _(((e) => {"max","fit",...w()- ], te = () => [+ ], P = () => [s,- um,+ OC,"screen","full","dvw",@@ -19293,8 +24287,8 @@ var If = /* @__PURE__ */ _(((e) => {"max","fit",...w()- ], N = () => [- um,+ ], F = () => [+ OC,"screen","full","lh",@@ -19305,50 +24299,50 @@ var If = /* @__PURE__ */ _(((e) => {"max","fit",...w()- ], P = () => [+ ], I = () => [e,- G,- W- ], ne = () => [+ W,+ U+ ], ee = () => [...b(),- Mm,- Dm,- { position: [G, W] }- ], re = () => ["no-repeat", { repeat: [+ XC,+ GC,+ { position: [W, U] }+ ], te = () => ["no-repeat", { repeat: ["","x","y","space","round"- ] }], F = () => [+ ] }], L = () => ["auto","cover","contain",- Nm,- Sm,- { size: [G, W] }- ], ie = () => [- pm,- Am,- Cm- ], ae = () => [+ ZC,+ BC,+ { size: [W, U] }+ ], ne = () => [+ jC,+ JC,+ VC+ ], re = () => ["","none","full",l,- G,- W- ], oe = () => [+ W,+ U+ ], ie = () => ["",- dm,- Am,- Cm- ], se = () => [+ kC,+ JC,+ VC+ ], ae = () => ["solid","dashed","dotted","double"- ], ce = () => [+ ], oe = () => ["normal","multiply","screen",@@ -19365,33 +24359,33 @@ var If = /* @__PURE__ */ _(((e) => {"saturation","color","luminosity"- ], le = () => [- dm,- pm,- Mm,- Dm- ], ue = () => [+ ], se = () => [+ kC,+ jC,+ XC,+ GC+ ], ce = () => ["","none",m,- G,- W- ], de = () => [+ W,+ U+ ], le = () => ["none",- dm,- G,- W- ], fe = () => [+ kC,+ W,+ U+ ], ue = () => ["none",- dm,- G,- W- ], I = () => [- dm,- G,- W- ], pe = () => [- um,+ kC,+ W,+ U+ ], R = () => [+ kC,+ W,+ U+ ], de = () => [+ OC,"full",...w()];@@ -19405,17 +24399,17 @@ var If = /* @__PURE__ */ _(((e) => {"bounce"],aspect: ["video"],- blur: [mm],- breakpoint: [mm],- color: [hm],- container: [mm],- "drop-shadow": [mm],+ blur: [MC],+ breakpoint: [MC],+ color: [NC],+ container: [MC],+ "drop-shadow": [MC],ease: ["in","out","in-out"],- font: [bm],+ font: [RC],"font-weight": ["thin","extralight",@@ -19427,7 +24421,7 @@ var If = /* @__PURE__ */ _(((e) => {"extrabold","black"],- "inset-shadow": [mm],+ "inset-shadow": [MC],leading: ["none","tight",@@ -19444,11 +24438,11 @@ var If = /* @__PURE__ */ _(((e) => {"distant","none"],- radius: [mm],- shadow: [mm],- spacing: ["px", dm],- text: [mm],- "text-shadow": [mm],+ radius: [MC],+ shadow: [MC],+ spacing: ["px", kC],+ text: [MC],+ "text-shadow": [MC],tracking: ["tighter","tight",@@ -19462,9 +24456,9 @@ var If = /* @__PURE__ */ _(((e) => {aspect: [{ aspect: ["auto","square",- um,+ OC,+ U,W,- G,g] }],container: ["container"],@@ -19472,15 +24466,15 @@ var If = /* @__PURE__ */ _(((e) => {"","normal","size",- G,- W+ W,+ U] }],- "container-named": [xm],+ "container-named": [zC],columns: [{ columns: [- dm,+ kC,"auto",+ U,W,- G,s] }],"break-after": [{ "break-after": y() }],@@ -19577,13 +24571,13 @@ var If = /* @__PURE__ */ _(((e) => {"collapse"],z: [{ z: [- fm,+ AC,"auto",- G,- W+ W,+ U] }],basis: [{ basis: [- um,+ OC,"full","auto",s,@@ -19601,32 +24595,32 @@ var If = /* @__PURE__ */ _(((e) => {"wrap-reverse"] }],flex: [{ flex: [- dm,- um,+ kC,+ OC,"auto","initial","none",- W+ U] }],grow: [{ grow: ["",- dm,- G,- W+ kC,+ W,+ U] }],shrink: [{ shrink: ["",- dm,- G,- W+ kC,+ W,+ U] }],order: [{ order: [- fm,+ AC,"first","last","none",- G,- W+ W,+ U] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -19687,23 +24681,23 @@ var If = /* @__PURE__ */ _(((e) => {"space-x-reverse": ["space-x-reverse"],"space-y": [{ "space-y": w() }],"space-y-reverse": ["space-y-reverse"],- size: [{ size: ee() }],- "inline-size": [{ inline: ["auto", ...te()] }],- "min-inline-size": [{ "min-inline": ["auto", ...te()] }],- "max-inline-size": [{ "max-inline": ["none", ...te()] }],- "block-size": [{ block: ["auto", ...N()] }],- "min-block-size": [{ "min-block": ["auto", ...N()] }],- "max-block-size": [{ "max-block": ["none", ...N()] }],+ 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", ...F()] }],+ "min-block-size": [{ "min-block": ["auto", ...F()] }],+ "max-block-size": [{ "max-block": ["none", ...F()] }],w: [{ w: [s,"screen",- ...ee()+ ...N()] }],"min-w": [{ "min-w": [s,"screen","none",- ...ee()+ ...N()] }],"max-w": [{ "max-w": [s,@@ -19711,37 +24705,37 @@ var If = /* @__PURE__ */ _(((e) => {"none","prose",{ screen: [o] },- ...ee()+ ...N()] }],h: [{ h: ["screen","lh",- ...ee()+ ...N()] }],"min-h": [{ "min-h": ["screen","lh","none",- ...ee()+ ...N()] }],"max-h": [{ "max-h": ["screen","lh","none",- ...ee()+ ...N()] }],"font-size": [{ text: ["base",n,- Am,- Cm+ JC,+ VC] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Im,- Tm+ ew,+ UC] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -19753,15 +24747,15 @@ var If = /* @__PURE__ */ _(((e) => {"expanded","extra-expanded","ultra-expanded",- pm,- W+ jC,+ U] }],"font-family": [{ font: [- jm,- Em,+ YC,+ WC,t] }],- "font-features": [{ "font-features": [W] }],+ "font-features": [{ "font-features": [U] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -19770,14 +24764,14 @@ var If = /* @__PURE__ */ _(((e) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- G,- W+ W,+ U] }],"line-clamp": [{ "line-clamp": [- dm,+ kC,"none",- G,- wm+ W,+ HC] }],leading: [{ leading: ["none",@@ -19786,16 +24780,16 @@ var If = /* @__PURE__ */ _(((e) => {] }],"list-image": [{ "list-image": ["none",- G,- W+ W,+ U] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- G,- W+ W,+ U] }],"text-alignment": [{ text: ["left",@@ -19805,28 +24799,28 @@ var If = /* @__PURE__ */ _(((e) => {"start","end"] }],- "placeholder-color": [{ placeholder: P() }],- "text-color": [{ text: P() }],+ "placeholder-color": [{ placeholder: I() }],+ "text-color": [{ text: I() }],"text-decoration": ["underline","overline","line-through","no-underline"],- "text-decoration-style": [{ decoration: [...se(), "wavy"] }],+ "text-decoration-style": [{ decoration: [...ae(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- dm,+ kC,"from-font","auto",- G,- Cm+ W,+ VC] }],- "text-decoration-color": [{ decoration: P() }],+ "text-decoration-color": [{ decoration: I() }],"underline-offset": [{ "underline-offset": [- dm,+ kC,"auto",- G,- W+ W,+ U] }],"text-transform": ["uppercase",@@ -19847,9 +24841,9 @@ var If = /* @__PURE__ */ _(((e) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- fm,- G,- W+ AC,+ W,+ U] }],"vertical-align": [{ align: ["baseline",@@ -19860,8 +24854,8 @@ var If = /* @__PURE__ */ _(((e) => {"text-bottom","sub","super",- G,- W+ W,+ U] }],whitespace: [{ whitespace: ["normal",@@ -19889,8 +24883,8 @@ var If = /* @__PURE__ */ _(((e) => {] }],content: [{ content: ["none",- G,- W+ W,+ U] }],"bg-attachment": [{ bg: ["fixed",@@ -19908,9 +24902,9 @@ var If = /* @__PURE__ */ _(((e) => {"padding","content"] }],- "bg-position": [{ bg: ne() }],- "bg-repeat": [{ bg: re() }],- "bg-size": [{ bg: F() }],+ "bg-position": [{ bg: ee() }],+ "bg-repeat": [{ bg: te() }],+ "bg-size": [{ bg: L() }],"bg-image": [{ bg: ["none",{@@ -19925,142 +24919,142 @@ var If = /* @__PURE__ */ _(((e) => {"l","tl"] },- fm,- G,- W+ AC,+ W,+ U],radial: ["",- G,- W+ W,+ U],conic: ["",- fm,- G,- W+ AC,+ W,+ U]},- Pm,- Om+ QC,+ KC] }],- "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: ae() }],- "rounded-s": [{ "rounded-s": ae() }],- "rounded-e": [{ "rounded-e": ae() }],- "rounded-t": [{ "rounded-t": ae() }],- "rounded-r": [{ "rounded-r": ae() }],- "rounded-b": [{ "rounded-b": ae() }],- "rounded-l": [{ "rounded-l": ae() }],- "rounded-ss": [{ "rounded-ss": ae() }],- "rounded-se": [{ "rounded-se": ae() }],- "rounded-ee": [{ "rounded-ee": ae() }],- "rounded-es": [{ "rounded-es": ae() }],- "rounded-tl": [{ "rounded-tl": ae() }],- "rounded-tr": [{ "rounded-tr": ae() }],- "rounded-br": [{ "rounded-br": ae() }],- "rounded-bl": [{ "rounded-bl": ae() }],- "border-w": [{ border: oe() }],- "border-w-x": [{ "border-x": oe() }],- "border-w-y": [{ "border-y": oe() }],- "border-w-s": [{ "border-s": oe() }],- "border-w-e": [{ "border-e": oe() }],- "border-w-bs": [{ "border-bs": oe() }],- "border-w-be": [{ "border-be": oe() }],- "border-w-t": [{ "border-t": oe() }],- "border-w-r": [{ "border-r": oe() }],- "border-w-b": [{ "border-b": oe() }],- "border-w-l": [{ "border-l": oe() }],- "divide-x": [{ "divide-x": oe() }],+ "bg-color": [{ bg: I() }],+ "gradient-from-pos": [{ from: ne() }],+ "gradient-via-pos": [{ via: ne() }],+ "gradient-to-pos": [{ to: ne() }],+ "gradient-from": [{ from: I() }],+ "gradient-via": [{ via: I() }],+ "gradient-to": [{ to: I() }],+ rounded: [{ rounded: re() }],+ "rounded-s": [{ "rounded-s": re() }],+ "rounded-e": [{ "rounded-e": re() }],+ "rounded-t": [{ "rounded-t": re() }],+ "rounded-r": [{ "rounded-r": re() }],+ "rounded-b": [{ "rounded-b": re() }],+ "rounded-l": [{ "rounded-l": re() }],+ "rounded-ss": [{ "rounded-ss": re() }],+ "rounded-se": [{ "rounded-se": re() }],+ "rounded-ee": [{ "rounded-ee": re() }],+ "rounded-es": [{ "rounded-es": re() }],+ "rounded-tl": [{ "rounded-tl": re() }],+ "rounded-tr": [{ "rounded-tr": re() }],+ "rounded-br": [{ "rounded-br": re() }],+ "rounded-bl": [{ "rounded-bl": re() }],+ "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() }],"divide-x-reverse": ["divide-x-reverse"],- "divide-y": [{ "divide-y": oe() }],+ "divide-y": [{ "divide-y": ie() }],"divide-y-reverse": ["divide-y-reverse"],"border-style": [{ border: [- ...se(),+ ...ae(),"hidden","none"] }],"divide-style": [{ divide: [- ...se(),+ ...ae(),"hidden","none"] }],- "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() }],+ "border-color": [{ border: I() }],+ "border-color-x": [{ "border-x": I() }],+ "border-color-y": [{ "border-y": I() }],+ "border-color-s": [{ "border-s": I() }],+ "border-color-e": [{ "border-e": I() }],+ "border-color-bs": [{ "border-bs": I() }],+ "border-color-be": [{ "border-be": I() }],+ "border-color-t": [{ "border-t": I() }],+ "border-color-r": [{ "border-r": I() }],+ "border-color-b": [{ "border-b": I() }],+ "border-color-l": [{ "border-l": I() }],+ "divide-color": [{ divide: I() }],"outline-style": [{ outline: [- ...se(),+ ...ae(),"none","hidden"] }],"outline-offset": [{ "outline-offset": [- dm,- G,- W+ kC,+ W,+ U] }],"outline-w": [{ outline: ["",- dm,- Am,- Cm+ kC,+ JC,+ VC] }],- "outline-color": [{ outline: P() }],+ "outline-color": [{ outline: I() }],shadow: [{ shadow: ["","inner","none",u,- Fm,- km+ $C,+ qC] }],- "shadow-color": [{ shadow: P() }],+ "shadow-color": [{ shadow: I() }],"inset-shadow": [{ "inset-shadow": ["none",d,- Fm,- km+ $C,+ qC] }],- "inset-shadow-color": [{ "inset-shadow": P() }],- "ring-w": [{ ring: oe() }],+ "inset-shadow-color": [{ "inset-shadow": I() }],+ "ring-w": [{ ring: ie() }],"ring-w-inset": ["ring-inset"],- "ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [dm, Cm] }],- "ring-offset-color": [{ "ring-offset": P() }],- "inset-ring-w": [{ "inset-ring": oe() }],- "inset-ring-color": [{ "inset-ring": P() }],+ "ring-color": [{ ring: I() }],+ "ring-offset-w": [{ "ring-offset": [kC, VC] }],+ "ring-offset-color": [{ "ring-offset": I() }],+ "inset-ring-w": [{ "inset-ring": ie() }],+ "inset-ring-color": [{ "inset-ring": I() }],"text-shadow": [{ "text-shadow": ["none",f,- Fm,- km+ $C,+ qC] }],- "text-shadow-color": [{ "text-shadow": P() }],+ "text-shadow-color": [{ "text-shadow": I() }],opacity: [{ opacity: [- dm,- G,- W+ kC,+ W,+ U] }],"mix-blend": [{ "mix-blend": [- ...ce(),+ ...oe(),"plus-darker","plus-lighter"] }],- "bg-blend": [{ "bg-blend": ce() }],+ "bg-blend": [{ "bg-blend": oe() }],"mask-clip": [{ "mask-clip": ["border","padding",@@ -20075,51 +25069,51 @@ var If = /* @__PURE__ */ _(((e) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [dm] }],- "mask-image-linear-from-pos": [{ "mask-linear-from": le() }],- "mask-image-linear-to-pos": [{ "mask-linear-to": le() }],- "mask-image-linear-from-color": [{ "mask-linear-from": P() }],- "mask-image-linear-to-color": [{ "mask-linear-to": P() }],- "mask-image-t-from-pos": [{ "mask-t-from": le() }],- "mask-image-t-to-pos": [{ "mask-t-to": le() }],- "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": le() }],- "mask-image-r-to-pos": [{ "mask-r-to": le() }],- "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": le() }],- "mask-image-b-to-pos": [{ "mask-b-to": le() }],- "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": le() }],- "mask-image-l-to-pos": [{ "mask-l-to": le() }],- "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": le() }],- "mask-image-x-to-pos": [{ "mask-x-to": le() }],- "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": le() }],- "mask-image-y-to-pos": [{ "mask-y-to": le() }],- "mask-image-y-from-color": [{ "mask-y-from": P() }],- "mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [G, W] }],- "mask-image-radial-from-pos": [{ "mask-radial-from": le() }],- "mask-image-radial-to-pos": [{ "mask-radial-to": le() }],- "mask-image-radial-from-color": [{ "mask-radial-from": P() }],- "mask-image-radial-to-color": [{ "mask-radial-to": P() }],+ "mask-image-linear-pos": [{ "mask-linear": [kC] }],+ "mask-image-linear-from-pos": [{ "mask-linear-from": se() }],+ "mask-image-linear-to-pos": [{ "mask-linear-to": se() }],+ "mask-image-linear-from-color": [{ "mask-linear-from": I() }],+ "mask-image-linear-to-color": [{ "mask-linear-to": I() }],+ "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": I() }],+ "mask-image-t-to-color": [{ "mask-t-to": I() }],+ "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": I() }],+ "mask-image-r-to-color": [{ "mask-r-to": I() }],+ "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": I() }],+ "mask-image-b-to-color": [{ "mask-b-to": I() }],+ "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": I() }],+ "mask-image-l-to-color": [{ "mask-l-to": I() }],+ "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": I() }],+ "mask-image-x-to-color": [{ "mask-x-to": I() }],+ "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": I() }],+ "mask-image-y-to-color": [{ "mask-y-to": I() }],+ "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": I() }],+ "mask-image-radial-to-color": [{ "mask-radial-to": I() }],"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": [dm] }],- "mask-image-conic-from-pos": [{ "mask-conic-from": le() }],- "mask-image-conic-to-pos": [{ "mask-conic-to": le() }],- "mask-image-conic-from-color": [{ "mask-conic-from": P() }],- "mask-image-conic-to-color": [{ "mask-conic-to": P() }],+ "mask-image-conic-pos": [{ "mask-conic": [kC] }],+ "mask-image-conic-from-pos": [{ "mask-conic-from": se() }],+ "mask-image-conic-to-pos": [{ "mask-conic-to": se() }],+ "mask-image-conic-from-color": [{ "mask-conic-from": I() }],+ "mask-image-conic-to-color": [{ "mask-conic-to": I() }],"mask-mode": [{ mask: ["alpha","luminance",@@ -20133,117 +25127,117 @@ var If = /* @__PURE__ */ _(((e) => {"stroke","view"] }],- "mask-position": [{ mask: ne() }],- "mask-repeat": [{ mask: re() }],- "mask-size": [{ mask: F() }],+ "mask-position": [{ mask: ee() }],+ "mask-repeat": [{ mask: te() }],+ "mask-size": [{ mask: L() }],"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- G,- W+ W,+ U] }],filter: [{ filter: ["","none",- G,- W+ W,+ U] }],- blur: [{ blur: ue() }],+ blur: [{ blur: ce() }],brightness: [{ brightness: [- dm,- G,- W+ kC,+ W,+ U] }],contrast: [{ contrast: [- dm,- G,- W+ kC,+ W,+ U] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- Fm,- km+ $C,+ qC] }],- "drop-shadow-color": [{ "drop-shadow": P() }],+ "drop-shadow-color": [{ "drop-shadow": I() }],grayscale: [{ grayscale: ["",- dm,- G,- W+ kC,+ W,+ U] }],"hue-rotate": [{ "hue-rotate": [- dm,- G,- W+ kC,+ W,+ U] }],invert: [{ invert: ["",- dm,- G,- W+ kC,+ W,+ U] }],saturate: [{ saturate: [- dm,- G,- W+ kC,+ W,+ U] }],sepia: [{ sepia: ["",- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- G,- W+ W,+ U] }],- "backdrop-blur": [{ "backdrop-blur": ue() }],+ "backdrop-blur": [{ "backdrop-blur": ce() }],"backdrop-brightness": [{ "backdrop-brightness": [- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-contrast": [{ "backdrop-contrast": [- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-invert": [{ "backdrop-invert": ["",- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-opacity": [{ "backdrop-opacity": [- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-saturate": [{ "backdrop-saturate": [- dm,- G,- W+ kC,+ W,+ U] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- dm,- G,- W+ kC,+ W,+ U] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -20259,56 +25253,56 @@ var If = /* @__PURE__ */ _(((e) => {"shadow","transform","none",- G,- W+ W,+ U] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- dm,+ kC,"initial",- G,- W+ W,+ U] }],ease: [{ ease: ["linear","initial",_,- G,- W+ W,+ U] }],delay: [{ delay: [- dm,- G,- W+ kC,+ W,+ U] }],animate: [{ animate: ["none",v,- G,- W+ W,+ U] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- G,- W+ W,+ U] }],"perspective-origin": [{ "perspective-origin": x() }],- rotate: [{ rotate: de() }],- "rotate-x": [{ "rotate-x": de() }],- "rotate-y": [{ "rotate-y": de() }],- "rotate-z": [{ "rotate-z": de() }],- scale: [{ scale: fe() }],- "scale-x": [{ "scale-x": fe() }],- "scale-y": [{ "scale-y": fe() }],- "scale-z": [{ "scale-z": fe() }],+ rotate: [{ rotate: le() }],+ "rotate-x": [{ "rotate-x": le() }],+ "rotate-y": [{ "rotate-y": le() }],+ "rotate-z": [{ "rotate-z": le() }],+ scale: [{ scale: ue() }],+ "scale-x": [{ "scale-x": ue() }],+ "scale-y": [{ "scale-y": ue() }],+ "scale-z": [{ "scale-z": ue() }],"scale-3d": ["scale-3d"],- skew: [{ skew: I() }],- "skew-x": [{ "skew-x": I() }],- "skew-y": [{ "skew-y": I() }],+ skew: [{ skew: R() }],+ "skew-x": [{ "skew-x": R() }],+ "skew-y": [{ "skew-y": R() }],transform: [{ transform: [- G,W,+ U,"","none","gpu",@@ -20316,19 +25310,19 @@ var If = /* @__PURE__ */ _(((e) => {] }],"transform-origin": [{ origin: x() }],"transform-style": [{ transform: ["3d", "flat"] }],- translate: [{ translate: pe() }],- "translate-x": [{ "translate-x": pe() }],- "translate-y": [{ "translate-y": pe() }],- "translate-z": [{ "translate-z": pe() }],+ translate: [{ translate: de() }],+ "translate-x": [{ "translate-x": de() }],+ "translate-y": [{ "translate-y": de() }],+ "translate-z": [{ "translate-z": de() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- fm,- G,- W+ AC,+ W,+ U] }],- accent: [{ accent: P() }],+ accent: [{ accent: I() }],appearance: [{ appearance: ["none", "auto"] }],- "caret-color": [{ caret: P() }],+ "caret-color": [{ caret: I() }],"color-scheme": [{ scheme: ["normal","dark",@@ -20374,8 +25368,8 @@ var If = /* @__PURE__ */ _(((e) => {"nwse-resize","zoom-in","zoom-out",- G,- W+ W,+ U] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -20386,8 +25380,8 @@ var If = /* @__PURE__ */ _(((e) => {"x"] }],"scroll-behavior": [{ scroll: ["auto", "smooth"] }],- "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],- "scrollbar-track-color": [{ "scrollbar-track": P() }],+ "scrollbar-thumb-color": [{ "scrollbar-thumb": I() }],+ "scrollbar-track-color": [{ "scrollbar-track": I() }],"scrollbar-gutter": [{ "scrollbar-gutter": ["auto","stable",@@ -20461,13574 +25455,33594 @@ var If = /* @__PURE__ */ _(((e) => {"scroll","contents","transform",- G,- W+ W,+ U] }],- fill: [{ fill: ["none", ...P()] }],+ fill: [{ fill: ["none", ...I()] }],"stroke-w": [{ stroke: [- dm,- Am,- Cm,- wm+ kC,+ JC,+ VC,+ HC] }],- stroke: [{ stroke: ["none", ...P()] }],+ stroke: [{ stroke: ["none", ...I()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]},- conflictingClassGroups: {- "container-named": ["container-type"],- overflow: ["overflow-x", "overflow-y"],- overscroll: ["overscroll-x", "overscroll-y"],- inset: [- "inset-x",- "inset-y",- "inset-bs",- "inset-be",- "start",- "end",- "top",- "right",- "bottom",- "left"- ],- "inset-x": [- "start",- "end",- "right",- "left"- ],- "inset-y": [- "inset-bs",- "inset-be",- "top",- "bottom"- ],- flex: [- "basis",- "grow",- "shrink"- ],- gap: ["gap-x", "gap-y"],- p: [- "px",- "py",- "ps",- "pe",- "pbs",- "pbe",- "pt",- "pr",- "pb",- "pl"- ],- px: [- "ps",- "pe",- "pr",- "pl"- ],- py: [- "pbs",- "pbe",- "pt",- "pb"- ],- m: [- "mx",- "my",- "ms",- "me",- "mbs",- "mbe",- "mt",- "mr",- "mb",- "ml"- ],- mx: [- "ms",- "me",- "mr",- "ml"- ],- my: [- "mbs",- "mbe",- "mt",- "mb"- ],- size: ["w", "h"],- "font-size": ["leading"],- "fvn-normal": [- "fvn-ordinal",- "fvn-slashed-zero",- "fvn-figure",- "fvn-spacing",- "fvn-fraction"- ],- "fvn-ordinal": ["fvn-normal"],- "fvn-slashed-zero": ["fvn-normal"],- "fvn-figure": ["fvn-normal"],- "fvn-spacing": ["fvn-normal"],- "fvn-fraction": ["fvn-normal"],- "line-clamp": ["display", "overflow"],- rounded: [- "rounded-s",- "rounded-e",- "rounded-t",- "rounded-r",- "rounded-b",- "rounded-l",- "rounded-ss",- "rounded-se",- "rounded-ee",- "rounded-es",- "rounded-tl",- "rounded-tr",- "rounded-br",- "rounded-bl"- ],- "rounded-s": ["rounded-ss", "rounded-es"],- "rounded-e": ["rounded-se", "rounded-ee"],- "rounded-t": ["rounded-tl", "rounded-tr"],- "rounded-r": ["rounded-tr", "rounded-br"],- "rounded-b": ["rounded-br", "rounded-bl"],- "rounded-l": ["rounded-tl", "rounded-bl"],- "border-spacing": ["border-spacing-x", "border-spacing-y"],- "border-w": [- "border-w-x",- "border-w-y",- "border-w-s",- "border-w-e",- "border-w-bs",- "border-w-be",- "border-w-t",- "border-w-r",- "border-w-b",- "border-w-l"- ],- "border-w-x": [- "border-w-s",- "border-w-e",- "border-w-r",- "border-w-l"- ],- "border-w-y": [- "border-w-bs",- "border-w-be",- "border-w-t",- "border-w-b"- ],- "border-color": [- "border-color-x",- "border-color-y",- "border-color-s",- "border-color-e",- "border-color-bs",- "border-color-be",- "border-color-t",- "border-color-r",- "border-color-b",- "border-color-l"- ],- "border-color-x": [- "border-color-s",- "border-color-e",- "border-color-r",- "border-color-l"- ],- "border-color-y": [- "border-color-bs",- "border-color-be",- "border-color-t",- "border-color-b"- ],- translate: [- "translate-x",- "translate-y",- "translate-none"- ],- "translate-none": [- "translate",- "translate-x",- "translate-y",- "translate-z"- ],- "scroll-m": [- "scroll-mx",- "scroll-my",- "scroll-ms",- "scroll-me",- "scroll-mbs",- "scroll-mbe",- "scroll-mt",- "scroll-mr",- "scroll-mb",- "scroll-ml"- ],- "scroll-mx": [- "scroll-ms",- "scroll-me",- "scroll-mr",- "scroll-ml"- ],- "scroll-my": [- "scroll-mbs",- "scroll-mbe",- "scroll-mt",- "scroll-mb"- ],- "scroll-p": [- "scroll-px",- "scroll-py",- "scroll-ps",- "scroll-pe",- "scroll-pbs",- "scroll-pbe",- "scroll-pt",- "scroll-pr",- "scroll-pb",- "scroll-pl"- ],- "scroll-px": [- "scroll-ps",- "scroll-pe",- "scroll-pr",- "scroll-pl"- ],- "scroll-py": [- "scroll-pbs",- "scroll-pbe",- "scroll-pt",- "scroll-pb"- ],- touch: [- "touch-x",- "touch-y",- "touch-pz"- ],- "touch-x": ["touch"],- "touch-y": ["touch"],- "touch-pz": ["touch"]+ conflictingClassGroups: {+ "container-named": ["container-type"],+ overflow: ["overflow-x", "overflow-y"],+ overscroll: ["overscroll-x", "overscroll-y"],+ inset: [+ "inset-x",+ "inset-y",+ "inset-bs",+ "inset-be",+ "start",+ "end",+ "top",+ "right",+ "bottom",+ "left"+ ],+ "inset-x": [+ "start",+ "end",+ "right",+ "left"+ ],+ "inset-y": [+ "inset-bs",+ "inset-be",+ "top",+ "bottom"+ ],+ flex: [+ "basis",+ "grow",+ "shrink"+ ],+ gap: ["gap-x", "gap-y"],+ p: [+ "px",+ "py",+ "ps",+ "pe",+ "pbs",+ "pbe",+ "pt",+ "pr",+ "pb",+ "pl"+ ],+ px: [+ "ps",+ "pe",+ "pr",+ "pl"+ ],+ py: [+ "pbs",+ "pbe",+ "pt",+ "pb"+ ],+ m: [+ "mx",+ "my",+ "ms",+ "me",+ "mbs",+ "mbe",+ "mt",+ "mr",+ "mb",+ "ml"+ ],+ mx: [+ "ms",+ "me",+ "mr",+ "ml"+ ],+ my: [+ "mbs",+ "mbe",+ "mt",+ "mb"+ ],+ size: ["w", "h"],+ "font-size": ["leading"],+ "fvn-normal": [+ "fvn-ordinal",+ "fvn-slashed-zero",+ "fvn-figure",+ "fvn-spacing",+ "fvn-fraction"+ ],+ "fvn-ordinal": ["fvn-normal"],+ "fvn-slashed-zero": ["fvn-normal"],+ "fvn-figure": ["fvn-normal"],+ "fvn-spacing": ["fvn-normal"],+ "fvn-fraction": ["fvn-normal"],+ "line-clamp": ["display", "overflow"],+ rounded: [+ "rounded-s",+ "rounded-e",+ "rounded-t",+ "rounded-r",+ "rounded-b",+ "rounded-l",+ "rounded-ss",+ "rounded-se",+ "rounded-ee",+ "rounded-es",+ "rounded-tl",+ "rounded-tr",+ "rounded-br",+ "rounded-bl"+ ],+ "rounded-s": ["rounded-ss", "rounded-es"],+ "rounded-e": ["rounded-se", "rounded-ee"],+ "rounded-t": ["rounded-tl", "rounded-tr"],+ "rounded-r": ["rounded-tr", "rounded-br"],+ "rounded-b": ["rounded-br", "rounded-bl"],+ "rounded-l": ["rounded-tl", "rounded-bl"],+ "border-spacing": ["border-spacing-x", "border-spacing-y"],+ "border-w": [+ "border-w-x",+ "border-w-y",+ "border-w-s",+ "border-w-e",+ "border-w-bs",+ "border-w-be",+ "border-w-t",+ "border-w-r",+ "border-w-b",+ "border-w-l"+ ],+ "border-w-x": [+ "border-w-s",+ "border-w-e",+ "border-w-r",+ "border-w-l"+ ],+ "border-w-y": [+ "border-w-bs",+ "border-w-be",+ "border-w-t",+ "border-w-b"+ ],+ "border-color": [+ "border-color-x",+ "border-color-y",+ "border-color-s",+ "border-color-e",+ "border-color-bs",+ "border-color-be",+ "border-color-t",+ "border-color-r",+ "border-color-b",+ "border-color-l"+ ],+ "border-color-x": [+ "border-color-s",+ "border-color-e",+ "border-color-r",+ "border-color-l"+ ],+ "border-color-y": [+ "border-color-bs",+ "border-color-be",+ "border-color-t",+ "border-color-b"+ ],+ translate: [+ "translate-x",+ "translate-y",+ "translate-none"+ ],+ "translate-none": [+ "translate",+ "translate-x",+ "translate-y",+ "translate-z"+ ],+ "scroll-m": [+ "scroll-mx",+ "scroll-my",+ "scroll-ms",+ "scroll-me",+ "scroll-mbs",+ "scroll-mbe",+ "scroll-mt",+ "scroll-mr",+ "scroll-mb",+ "scroll-ml"+ ],+ "scroll-mx": [+ "scroll-ms",+ "scroll-me",+ "scroll-mr",+ "scroll-ml"+ ],+ "scroll-my": [+ "scroll-mbs",+ "scroll-mbe",+ "scroll-mt",+ "scroll-mb"+ ],+ "scroll-p": [+ "scroll-px",+ "scroll-py",+ "scroll-ps",+ "scroll-pe",+ "scroll-pbs",+ "scroll-pbe",+ "scroll-pt",+ "scroll-pr",+ "scroll-pb",+ "scroll-pl"+ ],+ "scroll-px": [+ "scroll-ps",+ "scroll-pe",+ "scroll-pr",+ "scroll-pl"+ ],+ "scroll-py": [+ "scroll-pbs",+ "scroll-pbe",+ "scroll-pt",+ "scroll-pb"+ ],+ touch: [+ "touch-x",+ "touch-y",+ "touch-pz"+ ],+ "touch-x": ["touch"],+ "touch-y": ["touch"],+ "touch-pz": ["touch"]+ },+ conflictingClassGroupModifiers: { "font-size": ["leading"] },+ postfixLookupClassGroups: ["container-type"],+ orderSensitiveModifiers: [+ "*",+ "**",+ "after",+ "backdrop",+ "before",+ "details-content",+ "file",+ "first-letter",+ "first-line",+ "marker",+ "placeholder",+ "selection"+ ]+ };+}, fw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (pw(e, "cacheSize", t), pw(e, "prefix", n), pw(e, "experimentalParseClassName", r), mw(e.theme, a.theme), mw(e.classGroups, a.classGroups), mw(e.conflictingClassGroups, a.conflictingClassGroups), mw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), pw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), pw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), hw(e.theme, i.theme), hw(e.classGroups, i.classGroups), hw(e.conflictingClassGroups, i.conflictingClassGroups), hw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), gw(e, i, "postfixLookupClassGroups"), gw(e, i, "orderSensitiveModifiers"), e), pw = (e, t, n) => {+ n !== void 0 && (e[t] = n);+}, mw = (e, t) => {+ if (t) for (let n in t) pw(e, n, t[n]);+}, hw = (e, t) => {+ if (t) for (let n in t) gw(e, t, n);+}, gw = (e, t, n) => {+ let r = t[n];+ r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);+}, Tte = (e, ...t) => typeof e == "function" ? _C(dw, e, ...t) : _C(() => fw(dw(), e), ...t), Ete = [+ "large-title",+ "display-1",+ "display-2",+ "display-3",+ "display-4",+ "title-1",+ "title-2",+ "title-3",+ "headline",+ "body",+ "body-2",+ "caption-1",+ "caption-2"+], Dte = [+ "regular",+ "medium",+ "semibold",+ "bold"+], _w = Tte({ extend: { classGroups: { "font-size": [{ text: Ete.flatMap((e) => Dte.map((t) => `${e}-${t}`)) }] } } });+function vw(e) {+ return e;+}+//#endregion+//#region src/react/boardui/components/base/badges/chip.tsx+var yw = vw({+ 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",+ subtle: "py-1 text-body-medium",+ caption: "py-1 text-caption-1-medium"+ },+ color: {+ lime: "bg-status-lime-background text-status-lime-text",+ rose: "bg-status-rose-background text-status-rose-text",+ yellow: "bg-status-yellow-background text-status-yellow-text",+ cyan: "bg-status-cyan-background text-status-cyan-text",+ blue: "bg-status-blue-background text-status-blue-text",+ purple: "bg-status-purple-background text-status-purple-text",+ neutral: "bg-background-tertiary-default text-text-secondary",+ gray: "bg-background-secondary-default text-text-primary",+ soft: "bg-background-secondary-default text-text-secondary"+ }+});+function bw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+ return /* @__PURE__ */ (0, D.jsx)("span", {+ ref: r,+ className: _w(yw.base, yw.variant[e], yw.color[t], n),+ ...i+ });+}+//#endregion+//#region src/react/boardui/components/base/buttons/button.tsx+var xw = vw({+ base: [+ "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",+ "font-sans select-none cursor-pointer",+ "button-press-motion",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed"+ ].join(" "),+ size: {+ medium: "h-9 rounded-2lg p-2 text-body-medium",+ small: "h-8 rounded-lg px-2 py-1.5 text-body-medium",+ xs: "h-6 rounded-sm px-2 text-caption-1-semibold"+ },+ iconOnlySize: {+ medium: "",+ small: "size-8 p-0",+ xs: "size-6 p-0"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-[18px] shrink-0",+ xs: "size-3.5 shrink-0"+ },+ label: {+ medium: "inline-flex items-center justify-center px-1 shrink-0",+ small: "inline-flex items-center justify-center px-0.5 shrink-0",+ xs: "inline-flex items-center justify-center px-0.5 shrink-0"+ },+ variant: {+ primary: [+ "bg-button-primary text-text-white shadow-xs",+ "disabled:text-button-primary-disabled-foreground disabled:shadow-none",+ "aria-disabled:text-button-primary-disabled-foreground aria-disabled:shadow-none"+ ].join(" "),+ danger: [+ "bg-button-danger text-text-white shadow-xs",+ "disabled:text-foreground-disabled-danger disabled:shadow-none",+ "aria-disabled:text-foreground-disabled-danger aria-disabled:shadow-none"+ ].join(" "),+ secondary: [+ "bg-background-primary-default text-text-primary",+ "border border-border-button-default shadow-xs",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-text-tertiary disabled:shadow-none",+ "aria-disabled:bg-background-primary-disabled aria-disabled:border-border-button-default aria-disabled:text-text-tertiary aria-disabled:shadow-none"+ ].join(" "),+ ghost: [+ "bg-button-ghost-background text-button-ghost-foreground",+ "hover:bg-button-ghost-hover active:bg-button-ghost-active",+ "disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none",+ "aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none"+ ].join(" ")+ }+});+function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {+ return /* @__PURE__ */ (0, D.jsxs)("button", {+ ref: c,+ type: s,+ className: _w(xw.base, xw.size[t], xw.variant[e], n && xw.iconOnlySize[t], o),+ ...l,+ children: [+ r ? /* @__PURE__ */ (0, D.jsx)(r, {+ className: xw.icon[t],+ "aria-hidden": !0+ }) : null,+ !n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {+ className: xw.label[t],+ children: a+ }),+ !n && i ? /* @__PURE__ */ (0, D.jsx)(i, {+ className: xw.icon[t],+ "aria-hidden": !0+ }) : null+ ]+ });+}+function Ote({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+ return /* @__PURE__ */ (0, D.jsxs)("a", {+ ref: s,+ className: _w(xw.base, xw.size[t], xw.variant[e], n && xw.iconOnlySize[t], o),+ ...c,+ children: [+ r ? /* @__PURE__ */ (0, D.jsx)(r, {+ className: xw.icon[t],+ "aria-hidden": !0+ }) : null,+ !n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {+ className: xw.label[t],+ children: a+ }),+ !n && i ? /* @__PURE__ */ (0, D.jsx)(i, {+ className: xw.icon[t],+ "aria-hidden": !0+ }) : null+ ]+ });+}+//#endregion+//#region src/api.ts+var Sw = class extends Error {+ status;+ body;+ constructor(e, t, n = null) {+ super(i(e, t)), this.name = "ApiError", this.status = t, this.body = n;+ }+}, Cw = (e) => {+ if (!e || typeof e != "object") return "";+ let t = e;+ for (let e of [+ "message",+ "detail",+ "error"+ ]) {+ let n = t[e];+ if (typeof n == "string" && n) return n;+ }+ return "";+}, K = (e) => i(e);+async function ww(e, t) {+ let n = await fetch(e, {+ headers: { Accept: "application/json" },+ credentials: "same-origin",+ ...t ? { signal: t } : {}+ }), r = null;+ try {+ r = await n.json();+ } catch {}+ if (!n.ok) throw new Sw(Cw(r) || `请求失败(${n.status})`, n.status);+ return r;+}+async function Tw(e, t, n = "POST", r) {+ let i = await fetch(e, {+ method: n,+ ...r ? { signal: r } : {},+ headers: {+ Accept: "application/json",+ "Content-Type": "application/json"+ },+ credentials: "same-origin",+ body: JSON.stringify(t)+ }), a = null;+ try {+ a = await i.json();+ } catch {}+ if (!i.ok) throw new Sw(Cw(a) || `请求失败(${i.status})`, i.status, a);+ return a;+}+//#endregion+//#region src/react/components/card.tsx+var kte = "min-w-0", Ate = {+ filled: "bg-background-secondary-default",+ outlined: "border border-separator-border bg-background-primary-default",+ raised: "bg-background-primary-default"+}, jte = {+ default: "rounded-2xl shadow-card",+ chart: "rounded-2-5xl",+ surface: "rounded-surface"+}, Mte = {+ line: "border border-border-button-default",+ soft: "border border-separator-border"+}, Nte = {+ none: "",+ default: "p-5"+}, Pte = "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", Fte = "data-selected:bg-background-primary-default data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring";+function Ew(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 [+ kte,+ Ate[t],+ jte[s],+ Nte[n],+ a ? Mte[a] : "",+ r ? Pte : "",+ i ? Fte : "",+ o ?? ""+ ].filter(Boolean).join(" ");+}+//#endregion+//#region src/react/components/empty-state.tsx+var Ite = {+ page: "rounded-2xl border border-separator-border 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 Dw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: `flex flex-col items-center gap-2 text-center ${Ite[i]}`,+ children: [+ /* @__PURE__ */ (0, D.jsx)(e, {+ "aria-hidden": !0,+ className: "size-6 text-text-tertiary"+ }),+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-headline-medium text-text-primary",+ children: t+ }),+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "max-w-prose text-body-2-regular text-text-secondary",+ children: r+ }),+ n ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "mt-2 flex flex-wrap justify-center gap-2",+ children: n+ }) : null+ ]+ });+}+//#endregion+//#region src/react/components/loading-dots.tsx+function Ow({ label: e }) {+ return /* @__PURE__ */ (0, D.jsxs)("p", {+ role: "status",+ className: "flex items-center gap-2 text-caption-1-regular text-text-secondary",+ children: [/* @__PURE__ */ (0, D.jsxs)("span", {+ "aria-hidden": !0,+ className: "inline-flex items-center gap-1",+ children: [+ /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-0 size-1 rounded-full bg-current" }),+ /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-1 size-1 rounded-full bg-current" }),+ /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-2 size-1 rounded-full bg-current" })+ ]+ }), e]+ });+}+//#endregion+//#region src/react/components/note.tsx+function q({ tone: e, title: t, action: n, extra: r, children: i }) {+ let a = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center justify-between gap-3",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-1 flex-col gap-0.5",+ children: [t ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-medium",+ children: t+ }) : null, /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular",+ children: i+ })]+ }), n]+ }), r] });+ switch (e) {+ case "info": return /* @__PURE__ */ (0, D.jsx)("div", {+ role: "status",+ className: "flex flex-col gap-0.5 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground",+ children: a+ });+ case "success": return /* @__PURE__ */ (0, D.jsx)("div", {+ role: "status",+ className: "flex flex-col gap-0.5 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground",+ children: a+ });+ case "warning": return /* @__PURE__ */ (0, D.jsx)("div", {+ role: "note",+ className: "flex flex-col gap-0.5 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text",+ children: a+ });+ case "error": return /* @__PURE__ */ (0, D.jsx)("div", {+ role: "alert",+ className: "flex flex-col gap-0.5 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary",+ children: a+ });+ default: return /* @__PURE__ */ (0, D.jsx)("div", {+ role: "note",+ className: "flex flex-col gap-0.5 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary",+ children: a+ });+ }+}+//#endregion+//#region src/react/components/page.tsx+function kw({ children: e }) {+ return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "mx-auto flex w-full max-w-board flex-col gap-8",+ children: e+ });+}+//#endregion+//#region src/react/components/progress.tsx+function Aw({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = Math.min(Math.max(t, 0), n);+ return /* @__PURE__ */ (0, D.jsxs)("svg", {+ role: "progressbar",+ "aria-label": e,+ "aria-valuemin": 0,+ "aria-valuemax": n,+ "aria-valuenow": t,+ viewBox: `0 0 ${n} 1`,+ preserveAspectRatio: "none",+ className: "h-1.5 w-full overflow-hidden rounded-full",+ children: [+ /* @__PURE__ */ (0, D.jsx)("rect", {+ width: n,+ height: 1,+ className: "fill-background-tertiary-default"+ }),+ /* @__PURE__ */ (0, D.jsx)("rect", {+ width: i,+ height: 1,+ className: "fill-border-focus-ring"+ }),+ r.map((e) => /* @__PURE__ */ (0, D.jsx)("rect", {+ x: e,+ width: .4,+ height: 1,+ className: "fill-background-secondary-default"+ }, e))+ ]+ });+}+//#endregion+//#region src/react/settings/use-action.ts+function jw(e = "") {+ let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(""), [i, a] = (0, E.useState)(e);+ (0, E.useEffect)(() => () => t.current?.abort(), []);+ async function o(e, n, i, o) {+ if (t.current) return;+ let s = new AbortController();+ t.current = s, r(e), a("");+ try {+ let e = await n(s.signal);+ s.signal.aborted || i(e);+ } catch (e) {+ if (s.signal.aborted) return;+ o ? o(e) : a(K(e));+ } finally {+ t.current === s && (t.current = null), s.signal.aborted || r("");+ }+ }+ return {+ run: o,+ busy: n,+ error: i,+ setError: a+ };+}+function J(e) {+ return e ? {+ "aria-busy": !0,+ "aria-disabled": !0+ } : {};+}+//#endregion+//#region src/react/query.ts+var Mw = new $e({ defaultOptions: { queries: {+ networkMode: "always",+ retry: 0,+ refetchOnWindowFocus: !1,+ refetchOnMount: !1,+ retryOnMount: !1+} } }), Nw = "/api/tasks", Pw = ["tasks"], Lte = (e, t) => ww(`${Nw}?${new URLSearchParams({+ before_finished_at: e.finished_at || "",+ before_id: String(e.id)+})}`, t);+function Fw(...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) => {+ let n = e.finished_at || "", r = t.finished_at || "";+ return n === r ? t.id - e.id : n < r ? 1 : -1;+ });+}+var Rte = 2e3, zte = 1e4, Bte = (e) => e?.running.length ? Rte : zte, Iw = (e) => ww(Nw, e);+async function Vte(e) {+ await Mw.fetchQuery({+ queryKey: Pw,+ queryFn: () => Iw(e)+ });+}+var Lw = {+ manual: "手动",+ scheduled: "定时",+ startup: "启动",+ cli: "命令行"+}, Hte = {+ pending: "排队中",+ running: "进行中",+ succeeded: "已完成",+ failed: "失败",+ cancelled: "已取消",+ interrupted: "被打断"+}, Ute = (e) => Hte[e] || e, Wte = {+ checked: "已检查",+ total: "总数",+ scanned: "已扫描",+ identified: "已识别",+ candidates: "资料候选",+ covers: "封面",+ changed: "已改动",+ operation: "操作",+ ok: "取得",+ miss: "未取得",+ kept: "保留",+ planned: "计划",+ done: "已处理",+ added: "新增",+ written: "已写入",+ removed: "已移除",+ exit_code: "退出码",+ issue_count: "问题",+ followups: "派出后继",+ followups_duplicate: "已在排队",+ followups_truncated: "超上限未派",+ followups_depth_exceeded: "超深度未派",+ outcome: "结果",+ name: "实体",+ matched: "图库命中",+ size: "尺寸",+ source: "来源",+ cover_network: "封面连不上图片主机"+};+function Gte(e) {+ let t = /* @__PURE__ */ new Map();+ for (let n of e) {+ if (!n.followup_key || n.parent_run_id == null) continue;+ let e = t.get(n.parent_run_id);+ e ? e.push(n) : t.set(n.parent_run_id, [n]);+ }+ return t;+}+function Kte(e, t) {+ let n = [], r = /* @__PURE__ */ new Map();+ for (let i of e) {+ if (!t(i)) {+ r = /* @__PURE__ */ new Map(), n.push({+ run: i,+ runs: [i]+ });+ continue;+ }+ let e = r.get(i.task_key);+ if (e) e.runs.push(i);+ else {+ let e = {+ run: i,+ runs: [i]+ };+ r.set(i.task_key, e), n.push(e);+ }+ }+ return n;+}+var qte = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Rw = (e) => e.status === "pending" || e.status === "running";+function Jte(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 || Vw(e.result_summary) || (Rw(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");+}+function zw(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 Bw(e) {+ if (!e) return "";+ let t = new Date(e);+ return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {+ month: "2-digit",+ day: "2-digit",+ hour: "2-digit",+ minute: "2-digit"+ });+}+var Yte = /* @__PURE__ */ new Set([+ "blocked_by",+ "status",+ "run_id",+ "request_id",+ "started_at",+ "completed_at",+ "finished_at"+]);+function Vw(e) {+ return Object.entries(e || {}).filter(([e, t]) => !Yte.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Wte[e] || e} ${t}`).join(" · ");+}+//#endregion+//#region src/react/activity/activity-page.tsx+var Xte = {+ succeeded: "lime",+ failed: "rose",+ cancelled: "yellow",+ interrupted: "yellow"+};+function Hw({ status: e }) {+ return /* @__PURE__ */ (0, D.jsx)(bw, {+ color: Xte[e] ?? "neutral",+ children: Ute(e)+ });+}+function Zte({ rows: e }) {+ return /* @__PURE__ */ (0, D.jsx)("ul", {+ className: "flex min-w-0 flex-col",+ children: e.map((e) => {+ let t = Jte(e);+ return /* @__PURE__ */ (0, D.jsxs)("li", {+ "data-status": e.status,+ "data-followup-key": e.followup_key,+ className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 border-t border-separator-border px-5 py-2.5",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 break-words text-caption-1-regular text-text-primary",+ children: e.task_label+ }),+ /* @__PURE__ */ (0, D.jsx)(Hw, { status: e.status }),+ t ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 break-words text-caption-1-regular text-text-secondary",+ children: t+ }) : null+ ]+ }, e.id);+ })+ });+}+function Uw({ run: e, meta: t, children: n, footer: r, followups: i }) {+ return /* @__PURE__ */ (0, D.jsxs)("li", {+ "data-status": e.status,+ "data-task-key": e.task_key,+ "data-run-id": e.id,+ className: Ew({+ padding: "none",+ bordered: "line",+ className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"+ }),+ children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-1.5 px-5 pt-5 pb-4",+ children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("strong", {+ className: "min-w-0 break-words text-title-1-medium text-text-primary",+ children: e.task_label+ }), /* @__PURE__ */ (0, D.jsx)(Hw, { status: e.status })]+ }),+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-caption-1-regular text-text-secondary",+ children: t+ }),+ n+ ]+ }),+ i?.length ? /* @__PURE__ */ (0, D.jsx)(Zte, { rows: i }) : null,+ r ? /* @__PURE__ */ (0, D.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, D.jsx)("p", {+ className: "text-caption-1-regular text-text-secondary",+ children: r+ })+ }) : null+ ]+ });+}+function Qte({ run: e, followups: t }) {+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = zw(e.elapsed_seconds), o = [Lw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, D.jsx)(Uw, {+ run: e,+ meta: o,+ followups: t,+ children: n > 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-1.5",+ children: [/* @__PURE__ */ (0, D.jsx)(Aw, {+ label: i,+ value: r,+ max: n+ }), /* @__PURE__ */ (0, D.jsxs)("p", {+ className: "text-caption-1-regular text-text-secondary",+ children: [+ i,+ " · ",+ r,+ " / ",+ n,+ " 项"+ ]+ })]+ }) : /* @__PURE__ */ (0, D.jsx)(Ow, { label: i })+ });+}+function Ww({ run: e, followups: t, runs: n }) {+ let r = Vw(e.result_summary), i = zw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [+ Lw[e.trigger] || e.trigger,+ `近 ${n.length} 轮`,+ `${Bw(a.finished_at)} – ${Bw(e.finished_at)}`+ ] : [+ Lw[e.trigger] || e.trigger,+ Bw(e.finished_at),+ i && `用时 ${i}`+ ]).filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, D.jsx)(Uw, {+ run: e,+ meta: o,+ footer: e.error,+ followups: t,+ children: r ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-caption-1-regular text-text-secondary",+ children: r+ }) : null+ });+}+function Gw({ title: e, children: t }) {+ let n = (0, E.useId)();+ return /* @__PURE__ */ (0, D.jsxs)("section", {+ "aria-labelledby": n,+ className: "flex min-w-0 flex-col gap-3",+ children: [/* @__PURE__ */ (0, D.jsx)("h3", {+ id: n,+ className: "text-title-2-semibold text-text-primary",+ children: e+ }), t]+ });+}+function Kw({ live: e = !1, children: t }) {+ return /* @__PURE__ */ (0, D.jsx)("ul", {+ "aria-live": e ? "polite" : void 0,+ className: "flex min-w-0 flex-col gap-3",+ children: t+ });+}+function $te(e) {+ let t = ft({+ queryKey: Pw,+ queryFn: ({ signal: e }) => Iw(e),+ refetchInterval: (e) => Bte(e.state.data)+ }), n = t.data, r = n?.finished, [i, a] = (0, E.useState)([]), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(r);+ r !== c && (l(r), i.length && c && a(Fw(i, c)));+ let u = pt({+ mutationFn: ({ oldest: e }) => Lte(e),+ onSuccess: (e, { shown: t }) => {+ a((n) => Fw(n, t, e.finished || [])), s(!!e.finished_has_more);+ }+ }), d = t.error ? K(t.error) : "";+ if (!n) return /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: d || "读取任务中心失败"+ }) });+ let f = Fw(n.finished || [], i), p = [+ ...n.running || [],+ ...n.skipped || [],+ ...f+ ], m = Gte(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(Rw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Kte(w, (e) => qte(e) && !m.get(e.id)?.length), O = !S.length && !x.length && !C.length && !w.length;+ return /* @__PURE__ */ (0, D.jsxs)(kw, { children: [+ d ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: d+ }) : null,+ n.available === !1 ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ children: n.message || "账本上还没有任务中心的表"+ }) : null,+ O ? /* @__PURE__ */ (0, D.jsx)(Dw, {+ shell: "plain",+ icon: AS,+ title: "还没有任务记录",+ children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsx)(Gw, {+ title: "正在进行",+ children: S.length || x.length ? /* @__PURE__ */ (0, D.jsxs)(Kw, {+ live: !0,+ children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(Qte, {+ run: e,+ followups: m.get(e.id)+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, D.jsx)(Ww, {+ run: e,+ followups: m.get(e.id)+ }, e.id))]+ }) : /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "neutral",+ children: "没有任务在跑。"+ })+ }),+ C.length ? /* @__PURE__ */ (0, D.jsx)(Gw, {+ title: "被挡下的",+ children: /* @__PURE__ */ (0, D.jsx)(Kw, { children: C.map((e) => /* @__PURE__ */ (0, D.jsx)(Ww, {+ run: e,+ followups: m.get(e.id)+ }, e.id)) })+ }) : null,+ w.length || y ? /* @__PURE__ */ (0, D.jsxs)(Gw, {+ title: "最近完成",+ children: [+ w.length ? /* @__PURE__ */ (0, D.jsx)(Kw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)(Ww, {+ run: e,+ runs: t,+ followups: m.get(e.id)+ }, e.id)) }) : null,+ u.error ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: K(u.error)+ }) : null,+ y ? /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ leadingIcon: vS,+ className: "self-start",+ ...J(u.isPending),+ onClick: b,+ children: "加载更早"+ }) : null+ ]+ }) : null+ ] })+ ] });+}+//#endregion+//#region node_modules/react-aria-components/dist/private/utils.mjs+var qw = Symbol("default");+function Jw({ values: e, children: t }) {+ for (let [n, r] of e) t = /*#__PURE__*/ E.createElement(n.Provider, { value: r }, t);+ return t;+}+function Yw(e) {+ let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;+ return (0, E.useMemo)(() => {+ let e, l, u;+ return e = typeof t == "function" ? t({+ ...s,+ defaultClassName: i+ }) : t, l = typeof n == "function" ? n({+ ...s,+ defaultStyle: o || {}+ }) : n, u = typeof r == "function" ? r({+ ...s,+ defaultChildren: a+ }) : r ?? a, {+ className: e ?? i,+ style: l || o ? {+ ...o,+ ...l+ } : void 0,+ children: u ?? a,+ "data-rac": "",+ render: c ? (e) => c(e, s) : void 0+ };+ }, [+ t,+ n,+ r,+ i,+ a,+ o,+ s,+ c+ ]);+}+function Xw(e, t) {+ let n = (0, E.useContext)(e);+ if (t === null) return null;+ if (n && typeof n == "object" && "slots" in n && n.slots) {+ let e = t || qw;+ if (!n.slots[e]) {+ let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";+ throw Error(`${r} Valid slot names are ${e}.`);+ }+ return n.slots[e];+ }+ return n;+}+function Zw(e, t, n) {+ let { ref: r, ...i } = Xw(n, e.slot) || {}, a = Rm((0, E.useMemo)(() => ym(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,+ ...n+ }, a = typeof e.style == "function" ? e.style({+ ...t,+ defaultStyle: r+ }) : e.style;+ return {+ ...r,+ ...a+ };+ } : {+ ...i.style,+ ...e.style+ }), [o, a];+}+function Qw(e = !0) {+ let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {+ r.current = !0, n(!!e);+ }, []);+ return V(() => {+ r.current || n(!1);+ }, []), [i, t];+}+function $w(e) {+ let t = /^(data-.*)$/, n = {};+ for (let r in e) t.test(r) || (n[r] = e[r]);+ return n;+}+function ene(e, t, n) {+ let { render: r, ...i } = t, a = (0, E.useRef)(null), o = (0, E.useMemo)(() => ym(n, a), [n, a]);+ V(() => {}, [e, r]);+ let s = {+ ...i,+ ref: o+ };+ return r ? r(s, void 0) : /*#__PURE__*/ E.createElement(e, s);+}+var eT = {}, tT = new Proxy({}, { get(e, t) {+ if (typeof t != "string") return;+ let n = eT[t];+ return n || (n = /*#__PURE__*/ (0, E.forwardRef)(ene.bind(null, t)), eT[t] = n), n;+} }), nT = /*#__PURE__*/ (0, E.createContext)(null), rT = /*#__PURE__*/ (0, E.createContext)(null), tne = /*#__PURE__*/ (0, E.createContext)(null), iT = {+ CollectionRoot({ collection: e, renderDropIndicator: t }) {+ return aT(e, null, t);+ },+ CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {+ return aT(e, t, n);+ }+};+function aT(e, t, n) {+ return bf({+ items: t ? e.getChildren(t.key) : e,+ dependencies: [n],+ children(t) {+ if (t.type === "content") return /*#__PURE__*/ E.createElement(E.Fragment, null);+ let r = t.render(t);+ return !n || t.type !== "item" ? r : /*#__PURE__*/ E.createElement(E.Fragment, null, n({+ type: "item",+ key: t.key,+ dropPosition: "before"+ }), r, nne(e, t, n));+ }+ });+}+function nne(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);+ for (; o != null && o.type !== "item";) o = o.nextKey == null ? null : e.getItem(o.nextKey);+ let s = [];+ if (o == null) {+ let r = t;+ for (; r?.type === "item" && (!a || r.parentKey !== a.parentKey && a.level < r.level);) {+ let t = n({+ type: "item",+ key: r.key,+ dropPosition: "after"+ });+ /*#__PURE__*/ (0, E.isValidElement)(t) && s.push(/*#__PURE__*/ (0, E.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);+ }+ }+ return s;+}+var oT = /*#__PURE__*/ (0, E.createContext)(iT);+function rne(e) {+ return (0, E.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Label.mjs+var sT = /*#__PURE__*/ (0, E.createContext)({}), ine = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, sT);+ let { elementType: n = "label", ...r } = e, i = tT[n];+ return /*#__PURE__*/ E.createElement(i, {+ className: "react-aria-Label",+ ...r,+ ref: t+ });+}), ane = /*#__PURE__*/ (0, E.createContext)(null), cT = /*#__PURE__*/ (0, E.createContext)({}), one = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, cT);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = nee(e, t);+ i = cne(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = ey(e), { hoverProps: l, isHovered: u } = sy({+ ...e,+ isDisabled: e.isDisabled || r+ }), d = {+ isHovered: u,+ isPressed: (n.isPressed || a) && !r,+ isFocused: s,+ isFocusVisible: c,+ isDisabled: e.isDisabled || !1,+ isPending: r ?? !1+ }, f = Yw({+ ...e,+ values: d,+ defaultClassName: "react-aria-Button"+ }), p = gm(i.id), m = gm(), h = i["aria-labelledby"];+ r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));+ let g = (0, E.useRef)(r);+ (0, E.useEffect)(() => {+ let e = { "aria-labelledby": h || p };+ (!g.current && s && r || g.current && s && !r) && Zg(e, "assertive"), g.current = r;+ }, [+ r,+ s,+ h,+ p+ ]);+ let _ = ag(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ E.createElement(tT.button, {+ ...H(_, f, i, o, l),+ type: i.type === "submit" && r ? "button" : i.type,+ id: p,+ ref: t,+ "aria-labelledby": h,+ slot: e.slot || void 0,+ "aria-disabled": r ? "true" : i["aria-disabled"],+ "data-disabled": e.isDisabled || void 0,+ "data-pressed": d.isPressed || void 0,+ "data-hovered": u || void 0,+ "data-focused": s || void 0,+ "data-pending": r || void 0,+ "data-focus-visible": c || void 0+ }, /*#__PURE__*/ E.createElement(ane.Provider, { value: { id: m } }, f.children));+}), sne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function cne(e, t) {+ if (t) {+ for (let t in e) t.startsWith("on") && !sne.test(t) && (e[t] = void 0);+ e.href = void 0, e.target = void 0;+ }+ return e;+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Heading.mjs+var lT = /*#__PURE__*/ (0, E.createContext)({}), uT = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, lT);+ let { children: n, level: r = 3, className: i, ...a } = e, o = tT[`h${r}`];+ return /*#__PURE__*/ E.createElement(o, {+ ...a,+ ref: t,+ className: i ?? "react-aria-Heading"+ }, n);+}), dT = /*#__PURE__*/ (0, E.createContext)({}), lne = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, dT);+ let { elementType: n = "span", ...r } = e, i = tT[n];+ return /*#__PURE__*/ E.createElement(i, {+ className: "react-aria-Text",+ ...r,+ ref: t+ });+}), fT = /*#__PURE__*/ (0, E.createContext)(null), pT = /*#__PURE__*/ (0, E.createContext)(null), mT = /*#__PURE__*/ (0, E.createContext)(null), hT = /*#__PURE__*/ (0, E.createContext)(null), une = /*#__PURE__*/ (0, E.createContext)(null), gT = /*#__PURE__*/ (0, E.createContext)(null);+function dne(e, t) {+ let { validationBehavior: n } = Xw(pT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)(une), a = Rm((0, E.useMemo)(() => ym(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...$w(e),+ children: typeof e.children == "function" || e.children,+ value: e.value,+ validationBehavior: r+ };+ return [i ? _ee(o, i, a) : C_(o, O_(e), a), a];+}+var fne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { inputRef: n = null, ...r } = e;+ [e, t] = Zw(r, t, mT);+ let [i, a] = dne(e, n);+ return /*#__PURE__*/ E.createElement(gT.Provider, { value: {+ ...i,+ inputRef: a,+ defaultClassName: "react-aria-Checkbox",+ isIndeterminate: e.isIndeterminate,+ isRequired: e.isRequired+ } }, /*#__PURE__*/ E.createElement(pne, {+ ...e,+ ref: t+ }));+}), pne = /*#__PURE__*/ (0, E.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, E.useContext)(gT), { isFocused: p, isFocusVisible: m, focusProps: h } = ey(), g = a || o, { hoverProps: _, isHovered: v } = sy({+ ...e,+ isDisabled: g+ }), y = Yw({+ ...e,+ defaultClassName: u,+ values: {+ isSelected: i,+ isIndeterminate: d || !1,+ isPressed: s,+ isHovered: v,+ isFocused: p,+ isFocusVisible: m,+ isDisabled: a,+ isReadOnly: o,+ isInvalid: c,+ isRequired: f || !1+ }+ }), b = ag(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(tT.label, {+ ...H(b, n, _, y),+ ref: t,+ slot: e.slot || void 0,+ "data-selected": i || void 0,+ "data-indeterminate": d || void 0,+ "data-pressed": s || void 0,+ "data-hovered": v || void 0,+ "data-focused": p || void 0,+ "data-focus-visible": m || void 0,+ "data-disabled": a || void 0,+ "data-readonly": o || void 0,+ "data-invalid": c || void 0,+ "data-required": f || void 0+ }, /*#__PURE__*/ E.createElement(M_, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {+ ...H(r, h),+ ref: l+ })), y.children);+}), _T = /*#__PURE__*/ (0, E.createContext)({}), mne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, _T);+ 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 } = sy({+ onHoverStart: a,+ onHoverChange: o,+ onHoverEnd: s,+ isDisabled: n+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ey({ within: !0 }), m = Yw({+ ...e,+ values: {+ isHovered: u,+ isFocusWithin: d,+ isFocusVisible: f,+ isDisabled: n,+ isInvalid: r+ },+ defaultClassName: "react-aria-Group"+ });+ return /*#__PURE__*/ E.createElement(tT.div, {+ ...H(c, p, l),+ ...m,+ ref: t,+ role: e.role ?? "group",+ slot: e.slot ?? void 0,+ "data-focus-within": d || void 0,+ "data-hovered": u || void 0,+ "data-focus-visible": f || void 0,+ "data-disabled": n || void 0,+ "data-invalid": r || void 0,+ "data-readonly": i || void 0+ }, m.children);+}), vT = /*#__PURE__*/ (0, E.createContext)({}), hne = (e) => {+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;+ return i;+}, gne = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, vT);+ let { hoverProps: n, isHovered: r } = sy({+ ...e,+ isDisabled: e.disabled+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ey({+ isTextInput: !0,+ autoFocus: e.autoFocus+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Yw({+ ...e,+ values: {+ isHovered: r,+ isFocused: i,+ isFocusVisible: a,+ isDisabled: e.disabled || !1,+ isInvalid: s+ },+ defaultClassName: "react-aria-Input"+ });+ return /*#__PURE__*/ E.createElement(tT.input, {+ ...H(hne(e), o, n),+ ...c,+ ref: t,+ "data-focused": i || void 0,+ "data-disabled": e.disabled || void 0,+ "data-hovered": r || void 0,+ "data-focus-visible": a || void 0,+ "data-invalid": s || void 0+ });+}), yT = {};+yT = {+ colorSwatchPicker: "تغييرات الألوان",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "حدد عنصرًا",+ tableResizer: "أداة تغيير الحجم"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs+var bT = {};+bT = {+ colorSwatchPicker: "Цветови мостри",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Изберете предмет",+ tableResizer: "Преоразмерител"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs+var xT = {};+xT = {+ colorSwatchPicker: "Vzorky barev",+ dropzoneLabel: "Místo pro přetažení",+ selectPlaceholder: "Vyberte položku",+ tableResizer: "Změna velikosti"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs+var ST = {};+ST = {+ colorSwatchPicker: "Farveprøver",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Vælg et element",+ tableResizer: "Størrelsesændring"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs+var CT = {};+CT = {+ colorSwatchPicker: "Farbfelder",+ dropzoneLabel: "Ablegebereich",+ selectPlaceholder: "Element wählen",+ tableResizer: "Größenanpassung"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs+var wT = {};+wT = {+ colorSwatchPicker: "Χρωματικά δείγματα",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Επιλέξτε ένα αντικείμενο",+ tableResizer: "Αλλαγή μεγέθους"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs+var TT = {};+TT = {+ selectPlaceholder: "Select an item",+ tableResizer: "Resizer",+ dropzoneLabel: "DropZone",+ colorSwatchPicker: "Color swatches"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs+var ET = {};+ET = {+ colorSwatchPicker: "Muestras de colores",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Seleccionar un artículo",+ tableResizer: "Cambiador de tamaño"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs+var DT = {};+DT = {+ colorSwatchPicker: "Värvinäidised",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Valige üksus",+ tableResizer: "Suuruse muutja"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs+var OT = {};+OT = {+ colorSwatchPicker: "Värimallit",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Valitse kohde",+ tableResizer: "Koon muuttaja"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs+var kT = {};+kT = {+ colorSwatchPicker: "Échantillons de couleurs",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Sélectionner un élément",+ tableResizer: "Redimensionneur"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs+var AT = {};+AT = {+ colorSwatchPicker: "דוגמיות צבע",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "בחר פריט",+ tableResizer: "שינוי גודל"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs+var jT = {};+jT = {+ colorSwatchPicker: "Uzorci boja",+ dropzoneLabel: "Zona spuštanja",+ selectPlaceholder: "Odaberite stavku",+ tableResizer: "Promjena veličine"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs+var MT = {};+MT = {+ colorSwatchPicker: "Színtárak",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Válasszon ki egy elemet",+ tableResizer: "Átméretező"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs+var NT = {};+NT = {+ colorSwatchPicker: "Campioni di colore",+ dropzoneLabel: "Zona di rilascio",+ selectPlaceholder: "Seleziona un elemento",+ tableResizer: "Ridimensionamento"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs+var PT = {};+PT = {+ colorSwatchPicker: "カラースウォッチ",+ dropzoneLabel: "ドロップゾーン",+ selectPlaceholder: "項目を選択",+ tableResizer: "サイズ変更ツール"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs+var FT = {};+FT = {+ colorSwatchPicker: "색상 견본",+ dropzoneLabel: "드롭 영역",+ selectPlaceholder: "항목 선택",+ tableResizer: "크기 조정기"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs+var IT = {};+IT = {+ colorSwatchPicker: "Spalvų pavyzdžiai",+ dropzoneLabel: "„DropZone“",+ selectPlaceholder: "Pasirinkite elementą",+ tableResizer: "Dydžio keitiklis"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs+var LT = {};+LT = {+ colorSwatchPicker: "Krāsu paraugi",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Izvēlēties vienumu",+ tableResizer: "Izmēra mainītājs"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs+var RT = {};+RT = {+ colorSwatchPicker: "Fargekart",+ dropzoneLabel: "Droppsone",+ selectPlaceholder: "Velg et element",+ tableResizer: "Størrelsesendrer"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs+var zT = {};+zT = {+ colorSwatchPicker: "kleurstalen",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Selecteer een item",+ tableResizer: "Resizer"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs+var BT = {};+BT = {+ colorSwatchPicker: "Próbki kolorów",+ dropzoneLabel: "Strefa upuszczania",+ selectPlaceholder: "Wybierz element",+ tableResizer: "Zmiana rozmiaru"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs+var VT = {};+VT = {+ colorSwatchPicker: "Amostras de cores",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Selecione um item",+ tableResizer: "Redimensionador"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs+var HT = {};+HT = {+ colorSwatchPicker: "Amostras de cores",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Selecione um item",+ tableResizer: "Redimensionador"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs+var UT = {};+UT = {+ colorSwatchPicker: "Specimene de culoare",+ dropzoneLabel: "Zonă de plasare",+ selectPlaceholder: "Selectați un element",+ tableResizer: "Instrument de redimensionare"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs+var WT = {};+WT = {+ colorSwatchPicker: "Цветовые образцы",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Выберите элемент",+ tableResizer: "Средство изменения размера"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs+var GT = {};+GT = {+ colorSwatchPicker: "Vzorkovníky farieb",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Vyberte položku",+ tableResizer: "Nástroj na zmenu veľkosti"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs+var KT = {};+KT = {+ colorSwatchPicker: "Barvne palete",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Izberite element",+ tableResizer: "Spreminjanje velikosti"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs+var qT = {};+qT = {+ colorSwatchPicker: "Uzorci boje",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Izaberite stavku",+ tableResizer: "Promena veličine"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs+var JT = {};+JT = {+ colorSwatchPicker: "Färgrutor",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Välj en artikel",+ tableResizer: "Storleksändrare"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs+var YT = {};+YT = {+ colorSwatchPicker: "Renk örnekleri",+ dropzoneLabel: "Bırakma Bölgesi",+ selectPlaceholder: "Bir öğe seçin",+ tableResizer: "Yeniden boyutlandırıcı"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs+var XT = {};+XT = {+ colorSwatchPicker: "Зразки кольорів",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Виберіть елемент",+ tableResizer: "Засіб змінення розміру"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs+var ZT = {};+ZT = {+ colorSwatchPicker: "颜色色板",+ dropzoneLabel: "放置区域",+ selectPlaceholder: "选择一个项目",+ tableResizer: "尺寸调整器"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs+var QT = {};+QT = {+ colorSwatchPicker: "色票",+ dropzoneLabel: "放置區",+ selectPlaceholder: "選取項目",+ tableResizer: "大小調整器"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intlStrings.mjs+var $T = {};+$T = {+ "ar-AE": yT,+ "bg-BG": bT,+ "cs-CZ": xT,+ "da-DK": ST,+ "de-DE": CT,+ "el-GR": wT,+ "en-US": TT,+ "es-ES": ET,+ "et-EE": DT,+ "fi-FI": OT,+ "fr-FR": kT,+ "he-IL": AT,+ "hr-HR": jT,+ "hu-HU": MT,+ "it-IT": NT,+ "ja-JP": PT,+ "ko-KR": FT,+ "lt-LT": IT,+ "lv-LV": LT,+ "nb-NO": RT,+ "nl-NL": zT,+ "pl-PL": BT,+ "pt-BR": VT,+ "pt-PT": HT,+ "ro-RO": UT,+ "ru-RU": WT,+ "sk-SK": GT,+ "sl-SI": KT,+ "sr-SP": qT,+ "sv-SE": JT,+ "tr-TR": YT,+ "uk-UA": XT,+ "zh-CN": ZT,+ "zh-TW": QT+};+//#endregion+//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs+var eE = /*#__PURE__*/ (0, E.createContext)({}), tE = /*#__PURE__*/ (0, E.createContext)(null), nE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { render: n } = (0, E.useContext)(tE);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, n(e, t));+});+function rE(e, t) {+ let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, E.useCallback)((e) => {+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(nE, { target: e });+ }, [+ t?.target,+ r,+ n+ ]);+ return e?.useDropIndicator ? i : void 0;+}+function iE(e, t, n) {+ let r = e.focusedKey, i = null;+ if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {+ let e = n.collection.getKeyAfter(i), t = null;+ if (e != null) {+ let r = n.collection.getItem(i)?.level ?? 0;+ for (; e != null;) {+ let i = n.collection.getItem(e);+ if (!i) break;+ if (i.type !== "item") {+ e = n.collection.getKeyAfter(e);+ continue;+ }+ if ((i.level ?? 0) <= r) break;+ t = e, e = n.collection.getKeyAfter(e);+ }+ }+ i = e ?? t ?? i;+ }+ return (0, E.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Header.mjs+var aE = /*#__PURE__*/ (0, E.createContext)({}), oE = /*#__PURE__*/ (0, E.createContext)(null);+function sE(e) {+ let t = (0, E.useRef)({});+ return /*#__PURE__*/ E.createElement(oE.Provider, { value: t }, e.children);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs+var cE = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), lE = /*#__PURE__*/ (0, E.createContext)({});+(class extends df {+ static {+ this.type = "separator";+ }+ filter(e, t) {+ let n = t.getItem(this.prevKey);+ if (n && n.type !== "separator") {+ let n = this.clone();+ return t.addDescendants(n, e), n;+ }+ return null;+ }+});+//#endregion+//#region node_modules/react-aria/dist/private/utils/inertValue.mjs+function uE(e) {+ let t = E.version.split(".");+ return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;+}+//#endregion+//#region node_modules/react-stately/dist/private/list/ListCollection.mjs+var dE = class {+ constructor(e) {+ this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;+ let t = (e) => {+ if (this.keyMap.set(e.key, e), e.childNodes && e.type === "section") for (let n of e.childNodes) t(n);+ };+ for (let n of e) t(n);+ let n = null, r = 0, i = 0;+ for (let [e, t] of this.keyMap) n ? (n.nextKey = e, t.prevKey = n.key) : (this.firstKey = e, t.prevKey = void 0), t.type === "item" && (t.index = r++), (t.type === "section" || t.type === "item") && i++, n = t, n.nextKey = void 0;+ this._size = i, this.lastKey = n?.key ?? null;+ }+ *[Symbol.iterator]() {+ yield* this.iterable;+ }+ get size() {+ return this._size;+ }+ getKeys() {+ return this.keyMap.keys();+ }+ getKeyBefore(e) {+ let t = this.keyMap.get(e);+ return t ? t.prevKey ?? null : null;+ }+ getKeyAfter(e) {+ let t = this.keyMap.get(e);+ return t ? t.nextKey ?? null : null;+ }+ getFirstKey() {+ return this.firstKey;+ }+ getLastKey() {+ return this.lastKey;+ }+ getItem(e) {+ return this.keyMap.get(e) ?? null;+ }+ at(e) {+ let t = [...this.getKeys()];+ return this.getItem(t[e]);+ }+ getChildren(e) {+ return this.keyMap.get(e)?.childNodes || [];+ }+}, fE = class e extends Set {+ constructor(t, n, r) {+ super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);+ }+};+//#endregion+//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs+function pE(e, t) {+ if (e.size !== t.size) return !1;+ for (let n of e) if (!t.has(n)) return !1;+ return !0;+}+function mE(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = D_((0, E.useMemo)(() => hE(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => hE(e.defaultSelectedKeys, new fE()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);+ i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");+ let g = (0, E.useRef)(i);+ return (0, E.useEffect)(() => {+ i !== g.current && (h(i), g.current = i);+ }, [i]), {+ selectionMode: t,+ disallowEmptySelection: n,+ selectionBehavior: m,+ setSelectionBehavior: h,+ get isFocused() {+ return o.current;+ },+ setFocused(e) {+ o.current = e, s(e);+ },+ get focusedKey() {+ return c.current;+ },+ get childFocusStrategy() {+ return l.current;+ },+ setFocusedKey(e, t = "first") {+ c.current = e, l.current = t, u(e);+ },+ selectedKeys: d,+ setSelectedKeys(e) {+ (r || !pE(e, d)) && f(e);+ },+ disabledKeys: p,+ disabledBehavior: a+ };+}+function hE(e, t) {+ return e ? e === "all" ? "all" : new fE(e) : t;+}+//#endregion+//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs+var gE = class e {+ constructor(e, t, n) {+ this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;+ }+ get selectionMode() {+ return this.state.selectionMode;+ }+ get disallowEmptySelection() {+ return this.state.disallowEmptySelection;+ }+ get selectionBehavior() {+ return this.state.selectionBehavior;+ }+ setSelectionBehavior(e) {+ this.state.setSelectionBehavior(e);+ }+ get isFocused() {+ return this.state.isFocused;+ }+ setFocused(e) {+ this.state.setFocused(e);+ }+ get focusedKey() {+ return this.state.focusedKey;+ }+ get childFocusStrategy() {+ return this.state.childFocusStrategy;+ }+ setFocusedKey(e, t) {+ (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);+ }+ get selectedKeys() {+ return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;+ }+ get rawSelection() {+ return this.state.selectedKeys;+ }+ isSelected(e) {+ if (this.state.selectionMode === "none") return !1;+ let t = this.getKey(e);+ return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);+ }+ get isEmpty() {+ return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;+ }+ get isSelectAll() {+ if (this.isEmpty) return !1;+ if (this.state.selectedKeys === "all") return !0;+ if (this._isSelectAll != null) return this._isSelectAll;+ let e = this.getSelectAllKeys(), t = this.state.selectedKeys;+ return this._isSelectAll = e.every((e) => t.has(e)), this._isSelectAll;+ }+ get firstSelectedKey() {+ let e = null;+ for (let t of this.state.selectedKeys) {+ let n = this.collection.getItem(t);+ (!e || n && Uv(this.collection, n, e) < 0) && (e = n);+ }+ return e?.key ?? null;+ }+ get lastSelectedKey() {+ let e = null;+ for (let t of this.state.selectedKeys) {+ let n = this.collection.getItem(t);+ (!e || n && Uv(this.collection, n, e) > 0) && (e = n);+ }+ return e?.key ?? null;+ }+ get disabledKeys() {+ return this.state.disabledKeys;+ }+ get disabledBehavior() {+ return this.state.disabledBehavior;+ }+ extendSelection(e) {+ if (this.selectionMode === "none") return;+ if (this.selectionMode === "single") {+ this.replaceSelection(e);+ return;+ }+ let t = this.getKey(e);+ if (t == null) return;+ let n;+ if (this.state.selectedKeys === "all") n = new fE([t], t, t);+ else {+ let e = this.state.selectedKeys, r = e.anchorKey ?? t;+ n = new fE(e, r, t);+ for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);+ for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);+ }+ this.state.setSelectedKeys(n);+ }+ getKeyRange(e, t) {+ let n = this.collection.getItem(e), r = this.collection.getItem(t);+ return n && r ? Uv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ }+ getKeyRangeInternal(e, t) {+ if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);+ let n = [], r = e;+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (e && (e.type === "item" || e.type === "cell" && this.allowsCellSelection) && n.push(r), r === t) return n;+ r = this.collection.getKeyAfter(r);+ }+ return [];+ }+ getKey(e) {+ let t = this.collection.getItem(e);+ if (!t || t.type === "cell" && this.allowsCellSelection) return e;+ for (; t && t.type !== "item" && t.parentKey != null;) t = this.collection.getItem(t.parentKey);+ return !t || t.type !== "item" ? null : t.key;+ }+ toggleSelection(e) {+ if (this.selectionMode === "none") return;+ if (this.selectionMode === "single" && !this.isSelected(e)) {+ this.replaceSelection(e);+ return;+ }+ let t = this.getKey(e);+ if (t == null) return;+ let n = new fE(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);+ }+ replaceSelection(e) {+ if (this.selectionMode === "none") return;+ let t = this.getKey(e);+ if (t == null) return;+ let n = this.canSelectItem(t) ? new fE([t], t, t) : new fE();+ this.state.setSelectedKeys(n);+ }+ setSelectedKeys(e) {+ if (this.selectionMode === "none") return;+ let t = new fE();+ for (let n of e) {+ let e = this.getKey(n);+ if (e != null && (t.add(e), this.selectionMode === "single")) break;+ }+ this.state.setSelectedKeys(t);+ }+ getSelectAllKeys() {+ let e = this.fullCollection ?? this.collection, t = [], n = (r) => {+ for (; r != null;) {+ if (this.canSelectItemIn(r, e)) {+ let i = e.getItem(r);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Bv(zv(i, e))?.key ?? null);+ }+ r = e.getKeyAfter(r);+ }+ };+ return n(e.getFirstKey()), t;+ }+ selectAll() {+ !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");+ }+ clearSelection() {+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new fE());+ }+ toggleSelectAll() {+ this.isSelectAll ? this.clearSelection() : this.selectAll();+ }+ select(e, t) {+ this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));+ }+ isSelectionEqual(e) {+ if (e === this.state.selectedKeys) return !0;+ let t = this.selectedKeys;+ if (e.size !== t.size) return !1;+ for (let n of e) if (!t.has(n)) return !1;+ for (let n of t) if (!e.has(n)) return !1;+ return !0;+ }+ canSelectItem(e) {+ return this.canSelectItemIn(e, this.collection);+ }+ canSelectItemIn(e, t) {+ if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;+ let n = t.getItem(e);+ return !(!n || n?.props?.isDisabled || n.type === "cell" && !this.allowsCellSelection);+ }+ isDisabled(e) {+ let t = this.collection.getItem(e);+ return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!t?.props?.isDisabled) && t?.props?.disabledBehavior !== "selection";+ }+ isLink(e) {+ return !!this.collection.getItem(e)?.props?.href;+ }+ getItemProps(e) {+ return this.collection.getItem(e)?.props;+ }+ withCollection(t) {+ return new e(t, this.state, {+ allowsCellSelection: this.allowsCellSelection,+ layoutDelegate: this.layoutDelegate || void 0,+ fullCollection: this.fullCollection ?? this.collection+ });+ }+}, _E = class {+ build(e, t) {+ return this.context = t, vE(() => this.iterateCollection(e));+ }+ *iterateCollection(e) {+ let { children: t, items: n } = e;+ if (E.isValidElement(t) && t.type === E.Fragment) yield* this.iterateCollection({+ children: t.props.children,+ items: n+ });+ else if (typeof t == "function") {+ if (!n) throw Error("props.children was a function but props.items is missing");+ let e = 0;+ for (let r of n) yield* this.getFullNode({+ value: r,+ index: e+ }, { renderer: t }), e++;+ } else {+ let e = [];+ E.Children.forEach(t, (t) => {+ t && e.push(t);+ });+ let n = 0;+ for (let t of e) {+ let e = this.getFullNode({+ element: t,+ index: n+ }, {});+ for (let t of e) n++, yield t;+ }+ }+ }+ getKey(e, t, n, r) {+ if (e.key != null) return e.key;+ if (t.type === "cell" && t.key != null) return `${r}${t.key}`;+ let i = t.value;+ if (i != null) {+ let e = i.key ?? i.id;+ if (e == null) throw Error("No key found for item");+ return e;+ }+ return r ? `${r}.${t.index}` : `$.${t.index}`;+ }+ getChildState(e, t) {+ return { renderer: t.renderer || e.renderer };+ }+ *getFullNode(e, t, n, r) {+ if (E.isValidElement(e.element) && e.element.type === E.Fragment) {+ let i = [];+ E.Children.forEach(e.element.props.children, (e) => {+ i.push(e);+ });+ let a = e.index ?? 0;+ for (let e of i) yield* this.getFullNode({+ element: e,+ index: a+++ }, t, n, r);+ return;+ }+ let i = e.element;+ if (!i && e.value && t && t.renderer) {+ let n = this.cache.get(e.value);+ if (n && (!n.shouldInvalidate || !n.shouldInvalidate(this.context))) {+ n.index = e.index, n.parentKey = r ? r.key : null, yield n;+ return;+ }+ i = t.renderer(e.value);+ }+ if (E.isValidElement(i)) {+ let a = i.type;+ if (typeof a != "function" && typeof a.getCollectionNode != "function") {+ let e = i.type;+ throw Error(`Unknown element <${e}> in collection.`);+ }+ let o = a.getCollectionNode(i.props, this.context), s = e.index ?? 0, c = o.next();+ for (; !c.done && c.value;) {+ let a = c.value;+ e.index = s;+ let l = a.key ?? null;+ l ??= a.element ? null : this.getKey(i, e, t, n);+ let u = [...this.getFullNode({+ ...a,+ key: l,+ index: s,+ wrapper: yE(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 <${bE(t.type)}> in <${bE(r?.type ?? "unknown parent type")}>. Only <${bE(e.type)}> is supported.`);+ s++, yield t;+ }+ c = o.next(u);+ }+ return;+ }+ if (e.key == null || e.type == null) return;+ let a = this, o = {+ type: e.type,+ props: e.props,+ key: e.key,+ parentKey: r ? r.key : null,+ value: e.value ?? null,+ level: (r?.level ?? 0) + +(r?.type === "item"),+ index: e.index,+ rendered: e.rendered,+ textValue: e.textValue ?? "",+ "aria-label": e["aria-label"],+ wrapper: e.wrapper,+ shouldInvalidate: e.shouldInvalidate,+ hasChildNodes: e.hasChildNodes || !1,+ childNodes: vE(function* () {+ if (!e.hasChildNodes || !e.childNodes) return;+ let n = 0;+ for (let r of e.childNodes()) {+ r.key != null && (r.key = `${o.key}${r.key}`);+ let e = a.getFullNode({+ ...r,+ index: n+ }, a.getChildState(t, r), o.key, o);+ for (let t of e) n++, yield t;+ }+ })+ };+ yield o;+ }+ constructor() {+ this.cache = /* @__PURE__ */ new WeakMap();+ }+};+function vE(e) {+ let t = [], n = null;+ return { *[Symbol.iterator]() {+ for (let e of t) yield e;+ n ||= e();+ for (let e of n) t.push(e), yield e;+ } };+}+function yE(e, t) {+ if (e && t) return (n) => e(t(n));+ if (e) return e;+ if (t) return t;+}+function bE(e) {+ return e[0].toUpperCase() + e.slice(1);+}+//#endregion+//#region node_modules/react-stately/dist/private/collections/useCollection.mjs+function xE(e, t, n) {+ let r = (0, E.useMemo)(() => new _E(), []), { children: i, items: a, collection: o } = e;+ return (0, E.useMemo)(() => o || t(r.build({+ children: i,+ items: a+ }, n)), [+ r,+ i,+ a,+ o,+ n,+ t+ ]);+}+//#endregion+//#region node_modules/react-stately/dist/private/list/useListState.mjs+function SE(e) {+ let { filter: t, layoutDelegate: n } = e, r = mE(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = xE(e, (0, E.useCallback)((e) => t ? new dE(t(e)) : new dE(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new gE(a, r, { layoutDelegate: n }), [+ a,+ r,+ n+ ]);+ return wE(a, o), {+ collection: a,+ disabledKeys: i,+ selectionManager: o+ };+}+function CE(e, t) {+ let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);+ return wE(n, r), {+ collection: n,+ selectionManager: r,+ disabledKeys: e.disabledKeys+ };+}+function wE(e, t) {+ let n = (0, E.useRef)(null);+ (0, E.useEffect)(() => {+ if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {+ let r = n.current.getKeyAfter(t.focusedKey), i = null;+ for (; r != null;) {+ let a = e.getItem(r);+ if (a && a.type === "item" && !t.isDisabled(r)) {+ i = r;+ break;+ }+ r = n.current.getKeyAfter(r);+ }+ if (i == null) for (r = n.current.getKeyBefore(t.focusedKey); r != null;) {+ let a = e.getItem(r);+ if (a && a.type === "item" && !t.isDisabled(r)) {+ i = r;+ break;+ }+ r = n.current.getKeyBefore(r);+ }+ t.setFocusedKey(i);+ }+ n.current = e;+ }, [e, t]);+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs+function TE(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, E.useRef)(null), s = Th((e) => {+ for (let t of e) t.isIntersecting && r && r();+ });+ V(() => {+ if (t.current) {+ let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;+ o.current = new IntersectionObserver(s, {+ root: e_(t?.current),+ rootMargin: n+ }), o.current.observe(t.current);+ }+ return () => {+ o.current && o.current.disconnect();+ };+ }, [+ n,+ t,+ i,+ a+ ]);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/ListBox.mjs+var EE = /*#__PURE__*/ (0, E.createContext)(null), DE = /*#__PURE__*/ (0, E.createContext)(null), OE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, EE);+ let n = (0, E.useContext)(DE);+ return n ? /*#__PURE__*/ E.createElement(AE, {+ state: n,+ props: e,+ listBoxRef: t+ }) : /*#__PURE__*/ E.createElement(th, { content: /*#__PURE__*/ E.createElement(ph, e) }, (n) => /*#__PURE__*/ E.createElement(kE, {+ props: e,+ listBoxRef: t,+ collection: n+ }));+});+function kE({ props: e, listBoxRef: t, collection: n }) {+ e = {+ ...e,+ collection: n,+ children: null,+ items: null+ };+ let { layoutDelegate: r } = (0, E.useContext)(oT), i = SE({+ ...e,+ layoutDelegate: r+ });+ return /*#__PURE__*/ E.createElement(AE, {+ state: i,+ props: e,+ listBoxRef: t+ });+}+function AE({ state: e, props: t, listBoxRef: n }) {+ [t, n] = Zw(t, n, nT);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = CE(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Rh(), { disabledBehavior: p, disabledKeys: m } = l, h = qv({+ usage: "search",+ sensitivity: "base"+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)(oT), b = (0, E.useMemo)(() => t.keyboardDelegate || new J_({+ collection: c,+ collator: h,+ ref: n,+ disabledKeys: m,+ disabledBehavior: p,+ layout: i,+ orientation: a,+ direction: f,+ layoutDelegate: _+ }), [+ c,+ h,+ n,+ p,+ m,+ a,+ f,+ t.keyboardDelegate,+ i,+ _+ ]), { listBoxProps: x } = Qy({+ ...t,+ shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,+ keyboardDelegate: b,+ isVirtualized: g+ }, s, n);+ (0, E.useRef)(u), (0, E.useRef)(d), (0, E.useEffect)(() => {}, [u, d]);+ let S, C, w, T = !1, D = null, O = (0, E.useRef)(null);+ if (u && r) {+ S = r.useDraggableCollectionState({+ collection: c,+ selectionManager: l,+ preview: r.renderDragPreview ? O : void 0+ }), r.useDraggableCollection({}, S, n);+ let e = r.DragPreview;+ D = r.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: O }, r.renderDragPreview) : null;+ }+ if (d && r) {+ C = r.useDroppableCollectionState({+ collection: c,+ selectionManager: l+ });+ let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(c, n, {+ orientation: a,+ layout: i,+ direction: f+ });+ w = r.useDroppableCollection({+ keyboardDelegate: b,+ dropTargetDelegate: e+ }, C, n), T = C.isDropTarget({ type: "root" });+ }+ let { focusProps: k, isFocused: A, isFocusVisible: j } = ey(), M = s.collection.size === 0, N = {+ isDropTarget: T,+ isEmpty: M,+ isFocused: A,+ isFocusVisible: j,+ layout: t.layout || "stack",+ orientation: a,+ state: s+ }, P = Yw({+ ...t,+ children: void 0,+ defaultClassName: "react-aria-ListBox",+ values: N+ }), F = null;+ M && t.renderEmptyState && (F = /*#__PURE__*/ E.createElement("div", {+ role: "option",+ style: { display: "contents" }+ }, t.renderEmptyState(N)));+ let I = ag(t, { global: !0 });+ return /*#__PURE__*/ E.createElement(jg, null, /*#__PURE__*/ E.createElement(tT.div, {+ ...H(I, P, x, k, w?.collectionProps),+ ref: n,+ slot: t.slot || void 0,+ onScroll: t.onScroll,+ "data-drop-target": T || void 0,+ "data-empty": M || void 0,+ "data-focused": A || void 0,+ "data-focus-visible": j || void 0,+ "data-layout": t.layout || "stack",+ "data-orientation": a+ }, /*#__PURE__*/ E.createElement(Jw, { values: [+ [EE, t],+ [DE, s],+ [eE, {+ dragAndDropHooks: r,+ dragState: S,+ dropState: C+ }],+ [lE, { elementType: "div" }],+ [tE, { render: NE }],+ [tne, {+ name: "ListBoxSection",+ render: jE+ }]+ ] }, /*#__PURE__*/ E.createElement(sE, null, /*#__PURE__*/ E.createElement(y, {+ collection: c,+ scrollRef: n,+ persistedKeys: iE(l, r, C),+ renderDropIndicator: rE(r, C)+ }))), F, D));+}+function jE(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, E.useContext)(DE), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(eE), { CollectionBranch: s } = (0, E.useContext)(oT), [c, l] = Qw(), { headingProps: u, groupProps: d } = $y({+ heading: l,+ "aria-label": e["aria-label"] ?? void 0+ }), f = Yw({+ ...e,+ id: void 0,+ children: void 0,+ defaultClassName: r,+ values: void 0+ }), p = ag(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ E.createElement(tT.section, {+ ...H(p, f, d),+ ref: t+ }, /*#__PURE__*/ E.createElement(aE.Provider, { value: {+ ...u,+ ref: c+ } }, /*#__PURE__*/ E.createElement(s, {+ collection: i.collection,+ parent: n,+ renderDropIndicator: rE(a, o)+ })));+}+var ME = /*#__PURE__*/ lh(mf, function(e, t, n) {+ let r = Rm(t), i = (0, E.useContext)(DE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(eE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = eb({+ key: n.key,+ "aria-label": e?.["aria-label"]+ }, i, r), { hoverProps: p, isHovered: m } = sy({+ isDisabled: !f.allowsSelection && !f.hasAction && !c,+ onHoverStart: n.props.onHoverStart,+ onHoverChange: n.props.onHoverChange,+ onHoverEnd: n.props.onHoverEnd+ }), { keyboardProps: h } = Lm(e), { focusProps: g } = Cm(e), _ = null;+ o && a && (_ = a.useDraggableItem({+ key: n.key,+ hasAction: f.hasAction+ }, o));+ let v = null;+ s && a && (v = a.useDroppableItem({ target: {+ type: "item",+ key: n.key,+ dropPosition: "on"+ } }, s, r));+ let y = o && o.isDragging(n.key), b = Yw({+ ...e,+ id: void 0,+ children: e.children,+ defaultClassName: "react-aria-ListBoxItem",+ values: {+ ...f,+ isHovered: m,+ selectionMode: i.selectionManager.selectionMode,+ selectionBehavior: i.selectionManager.selectionBehavior,+ allowsDragging: !!o,+ isDragging: y,+ isDropTarget: v?.isDropTarget+ }+ });+ (0, E.useEffect)(() => {+ n.textValue;+ }, [n.textValue]);+ let x = e.href ? tT.a : tT.div, S = ag(e, { global: !0 });+ return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ E.createElement(x, {+ ...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ref: r,+ "data-allows-dragging": !!o || void 0,+ "data-selected": f.isSelected || void 0,+ "data-disabled": f.isDisabled || void 0,+ "data-hovered": m || void 0,+ "data-focused": f.isFocused || void 0,+ "data-focus-visible": f.isFocusVisible || void 0,+ "data-pressed": f.isPressed || void 0,+ "data-dragging": y || void 0,+ "data-drop-target": v?.isDropTarget || void 0,+ "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode+ }, /*#__PURE__*/ E.createElement(Jw, { values: [[dT, { slots: {+ [qw]: u,+ label: u,+ description: d+ } }], [cE, { isSelected: f.isSelected }]] }, b.children));+});+function NE(e, t) {+ t = Rm(t);+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(eE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ E.createElement(FE, {+ ...e,+ dropIndicatorProps: i,+ isDropTarget: o,+ ref: t+ });+}+function PE(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Yw({+ ...i,+ defaultClassName: "react-aria-DropIndicator",+ values: { isDropTarget: r }+ });+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(tT.div, {+ ...n,+ ...a,+ role: "option",+ ref: t,+ "data-drop-target": r || void 0+ }));+}+var FE = /*#__PURE__*/ (0, E.forwardRef)(PE);+lh(pf, function(e, t, n) {+ let r = (0, E.useContext)(DE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);+ TE((0, E.useMemo)(() => ({+ onLoadMore: a,+ collection: r?.collection,+ sentinelRef: c,+ scrollOffset: o+ }), [+ a,+ o,+ r?.collection+ ]), c);+ let l = Yw({+ ...s,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-ListBoxLoadingIndicator",+ values: void 0+ });+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement("div", {+ style: {+ position: "relative",+ width: 0,+ height: 0+ },+ inert: uE(!0)+ }, /*#__PURE__*/ E.createElement("div", {+ "data-testid": "loadMoreSentinel",+ ref: c,+ style: {+ position: "absolute",+ height: 1,+ width: 1+ }+ })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(tT.div, {+ ...H(ag(e, { global: !0 }), { tabIndex: -1 }),+ ...l,+ role: "option",+ ref: t+ }, l.children)));+});+//#endregion+//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs+var IE = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });+//#endregion+//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs+function LE(e) {+ let [t, n] = D_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, E.useState)(null);+ return {+ isOpen: t,+ setOpen: n,+ open: (0, E.useCallback)(() => {+ n(!0);+ }, [n]),+ close: (0, E.useCallback)(() => {+ n(!1);+ }, [n]),+ toggle: (0, E.useCallback)(() => {+ n(!t);+ }, [n, t]),+ point: r,+ setPoint: i+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/animation.mjs+function RE(e, t = !0) {+ let [n, r] = (0, E.useState)(!0), i = n && t;+ return V(() => {+ if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();+ }, [e, i]), BE(e, i, (0, E.useCallback)(() => r(!1), [])), i;+}+function zE(e, t) {+ let [n, r] = (0, E.useState)(t ? "open" : "closed");+ switch (n) {+ case "open":+ t || r("exiting");+ break;+ case "closed":+ case "exiting": t && r("open");+ }+ let i = n === "exiting";+ return BE(e, i, (0, E.useCallback)(() => {+ r((e) => e === "exiting" ? "closed" : e);+ }, [])), i;+}+function BE(e, t, n) {+ V(() => {+ if (t && e.current) {+ if (!("getAnimations" in e.current)) {+ n();+ return;+ }+ let t = e.current.getAnimations();+ if (t.length === 0) {+ n();+ return;+ }+ let r = !1;+ return Promise.allSettled(t.map((e) => e.finished)).then(() => {+ r || (0, Zm.flushSync)(() => {+ n();+ });+ }), () => {+ r = !0;+ };+ }+ }, [+ e,+ t,+ n+ ]);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Popover.mjs+var VE = /*#__PURE__*/ (0, E.createContext)(null), HE = /*#__PURE__*/ (0, E.createContext)(null), UE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, VE);+ let n = (0, E.useContext)(KE), r = LE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = zE(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Km(), { direction: c } = Rh();+ if (s) {+ let t = e.children;+ return typeof t == "function" && (t = t({+ trigger: e.trigger || null,+ placement: "bottom",+ isEntering: !1,+ isExiting: !1,+ defaultChildren: null+ })), /*#__PURE__*/ E.createElement(E.Fragment, null, t);+ }+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(WE, {+ ...e,+ triggerRef: e.triggerRef,+ state: i,+ popoverRef: t,+ isExiting: o,+ dir: c+ });+});+function WE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(HE), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = fx({+ ...i,+ offset: i.offset ?? 8,+ arrowRef: a,+ groupRef: c ? s : o+ }, e), m = i.popoverRef, h = RE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Yw({+ ...i,+ defaultClassName: "react-aria-Popover",+ values: {+ trigger: i.trigger || null,+ placement: f,+ isEntering: g,+ isExiting: t+ }+ }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, E.useState)(i.trigger === "PreviewTrigger");+ V(() => {+ m.current && b(v && !m.current.querySelector("[role=dialog]"));+ }, [m, v]), (0, E.useEffect)(() => {+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Qp() !== "pointer") && m.current && !Bf(m.current) && lm(m.current);+ }, [+ y,+ m,+ i.trigger+ ]);+ let x = (0, E.useMemo)(() => {+ let e = _.children;+ if (r) for (let t of r) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);+ return e;+ }, [_.children, r]), [S, C] = (0, E.useState)(null), w = (0, E.useCallback)(() => {+ i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");+ }, [i.triggerRef]);+ V(w, [w]), nb({+ ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,+ onResize: w+ });+ let T = {+ ...l.style,+ "--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,+ ..._.style,+ "--trigger-width": _.style?.["--trigger-width"] || S+ }, D = /*#__PURE__*/ E.createElement(tT.div, {+ ...H(ag(i, { global: !0 }), l),+ ..._,+ id: y ? i.id : void 0,+ role: y ? "dialog" : void 0,+ tabIndex: y ? -1 : void 0,+ "aria-label": i["aria-label"],+ "aria-labelledby": i["aria-labelledby"],+ ref: m,+ slot: i.slot || void 0,+ style: T,+ dir: i.dir,+ "data-trigger": i.trigger,+ "data-placement": f,+ "data-entering": g || void 0,+ "data-exiting": t || void 0+ }, !i.isNonModal && /*#__PURE__*/ E.createElement(Rb, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(IE.Provider, { value: {+ ...d,+ placement: f,+ ref: a+ } }, x), /*#__PURE__*/ E.createElement(Rb, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ E.createElement(Qv, {+ ...i,+ shouldContainFocus: y && i.trigger !== "PreviewTrigger",+ isExiting: t,+ portalContainer: n ?? s?.current ?? void 0+ }, D) : /*#__PURE__*/ E.createElement(Qv, {+ ...i,+ shouldContainFocus: y && i.trigger !== "PreviewTrigger",+ isExiting: t,+ portalContainer: n+ }, !i.isNonModal && e.isOpen && /*#__PURE__*/ E.createElement("div", {+ "data-testid": "underlay",+ ...u,+ style: {+ position: "fixed",+ inset: 0+ }+ }), /*#__PURE__*/ E.createElement("div", {+ ref: o,+ style: { display: "contents" }+ }, /*#__PURE__*/ E.createElement(HE.Provider, { value: o }, D)));+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Dialog.mjs+var GE = /*#__PURE__*/ (0, E.createContext)(null), KE = /*#__PURE__*/ (0, E.createContext)(null), qE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let n = e["aria-labelledby"];+ [e, t] = Zw(e, t, GE);+ let { dialogProps: r, titleProps: i, contentProps: a } = Tee({+ ...e,+ "aria-labelledby": n+ }, t), o = (0, E.useContext)(KE);+ !r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);+ let s = Yw({+ defaultClassName: "react-aria-Dialog",+ className: e.className,+ style: e.style,+ children: e.children,+ values: { close: o?.close || (() => {}) }+ }), c = ag(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(tT.section, {+ ...H(c, s, r),+ render: e.render,+ ref: t,+ slot: e.slot || void 0+ }, /*#__PURE__*/ E.createElement(Jw, { values: [+ [lT, { slots: {+ [qw]: {},+ title: {+ ...i,+ level: 2+ }+ } }],+ [dT, { slots: {+ [qw]: {},+ description: a+ } }],+ [cT, { slots: {+ [qw]: {},+ close: { onPress: () => o?.close() }+ } }]+ ] }, s.children));+}), JE = typeof document < "u" && window.visualViewport;+function YE() {+ let e = Pp(), [t, n] = (0, E.useState)(() => e ? {+ width: 0,+ height: 0+ } : XE());+ return (0, E.useEffect)(() => {+ let e = (e) => {+ n((t) => e.width === t.width && e.height === t.height ? t : e);+ }, t = () => {+ JE && JE.scale > 1 || e(XE());+ }, r, i = (t) => {+ JE && JE.scale > 1 || Ch(B(t)) && (r = requestAnimationFrame(() => {+ let t = Rf();+ (!t || !Ch(t)) && e({+ width: document.documentElement.clientWidth,+ height: document.documentElement.clientHeight+ });+ }));+ };+ return e(XE()), cp() && up() && window.addEventListener("blur", i, !0), JE ? JE.addEventListener("resize", t) : window.addEventListener("resize", t), () => {+ cancelAnimationFrame(r), cp() && up() && window.removeEventListener("blur", i, !0), JE ? JE.removeEventListener("resize", t) : window.removeEventListener("resize", t);+ };+ }, []), t;+}+function XE() {+ return {+ width: JE ? Math.min(JE.width * JE.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: JE ? JE.height * JE.scale : document.documentElement.clientHeight+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Modal.mjs+var ZE = /*#__PURE__*/ (0, E.createContext)(null), QE = /*#__PURE__*/ (0, E.createContext)(null), $E = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ if ((0, E.useContext)(QE)) return /*#__PURE__*/ E.createElement(rD, {+ ...e,+ modalRef: t+ }, e.children);+ let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;+ return /*#__PURE__*/ E.createElement(tD, {+ isDismissable: n,+ isKeyboardDismissDisabled: r,+ isOpen: i,+ defaultOpen: a,+ onOpenChange: o,+ isEntering: c,+ isExiting: l,+ UNSTABLE_portalContainer: u,+ shouldCloseOnInteractOutside: d+ }, /*#__PURE__*/ E.createElement(rD, {+ ...f,+ modalRef: t+ }, s));+});+function eD(e, t) {+ [e, t] = Zw(e, t, ZE);+ let n = (0, E.useContext)(KE), r = LE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rm(t), o = (0, E.useRef)(null), s = zE(a, i.isOpen), c = zE(o, i.isOpen), l = s || c || e.isExiting || !1, u = Pp();+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ E.createElement(nD, {+ ...e,+ state: i,+ isExiting: l,+ overlayRef: a,+ modalRef: o+ });+}+var tD = /*#__PURE__*/ (0, E.forwardRef)(eD);+function nD({ UNSTABLE_portalContainer: e, ...t }) {+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Pee(t, r, n), o = RE(t.overlayRef) || t.isEntering || !1, s = Yw({+ ...t,+ defaultClassName: "react-aria-ModalOverlay",+ values: {+ isEntering: o,+ isExiting: t.isExiting,+ state: r+ }+ }), c = YE(), l, u;+ if (typeof document < "u") {+ let e = $g(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 = {+ ...s.style,+ "--visual-viewport-width": c.width + "px",+ "--visual-viewport-height": c.height + "px",+ "--page-width": l === void 0 ? void 0 : l + "px",+ "--page-height": u === void 0 ? void 0 : u + "px"+ };+ return /*#__PURE__*/ E.createElement(Qv, {+ isExiting: t.isExiting,+ portalContainer: e+ }, /*#__PURE__*/ E.createElement(tT.div, {+ ...H(ag(t, { global: !0 }), a),+ ...s,+ style: d,+ ref: t.overlayRef,+ "data-entering": o || void 0,+ "data-exiting": t.isExiting || void 0+ }, /*#__PURE__*/ E.createElement(Jw, { values: [[QE, {+ modalProps: i,+ modalRef: n,+ isExiting: t.isExiting,+ isDismissable: t.isDismissable+ }], [KE, r]] }, s.children)));+}+function rD(e) {+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, E.useContext)(QE), a = (0, E.useContext)(KE), o = Rm((0, E.useMemo)(() => ym(e.modalRef, n), [e.modalRef, n])), s = RE(o), c = Yw({+ ...e,+ defaultClassName: "react-aria-Modal",+ values: {+ isEntering: s,+ isExiting: r,+ state: a+ }+ });+ return /*#__PURE__*/ E.createElement(tT.div, {+ ...H(ag(e, { global: !0 }), t),+ ...c,+ ref: o,+ "data-entering": s || void 0,+ "data-exiting": r || void 0+ }, i && /*#__PURE__*/ E.createElement(Rb, { onDismiss: a.close }), c.children);+}+//#endregion+//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs+var iD = Math.round(Math.random() * 1e10), aD = 0;+function oD(e) {+ let t = (0, E.useMemo)(() => e.name || `radio-group-${iD}-${++aD}`, [e.name]), [n, r] = D_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = __({+ ...e,+ value: n+ }), c = (t) => {+ !e.isReadOnly && !e.isDisabled && (r(t), s.commitValidation());+ }, l = s.displayValidation.isInvalid;+ return {+ ...s,+ name: t,+ selectedValue: n,+ defaultSelectedValue: e.value === void 0 ? e.defaultValue ?? null : i,+ setSelectedValue: c,+ lastFocusedValue: a,+ setLastFocusedValue: o,+ isDisabled: e.isDisabled || !1,+ isReadOnly: e.isReadOnly || !1,+ isRequired: e.isRequired || !1,+ validationState: e.validationState || (l ? "invalid" : null),+ isInvalid: l+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs+var sD = /*#__PURE__*/ (0, E.createContext)(null), cD = /*#__PURE__*/ (0, E.createContext)(null), lD = /*#__PURE__*/ (0, E.createContext)(null), uD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, sD);+ let { validationBehavior: n } = Xw(pT) || {}, r = e.validationBehavior ?? n ?? "native", i = oD({+ ...e,+ validationBehavior: r+ }), [a, o] = Qw(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = hx({+ ...e,+ label: o,+ validationBehavior: r+ }, i), f = Yw({+ ...e,+ values: {+ orientation: e.orientation || "vertical",+ isDisabled: i.isDisabled,+ isReadOnly: i.isReadOnly,+ isRequired: i.isRequired,+ isInvalid: i.isInvalid,+ state: i+ },+ defaultClassName: "react-aria-RadioGroup"+ }), p = ag(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(tT.div, {+ ...H(p, f, s),+ ref: t,+ slot: e.slot || void 0,+ "data-orientation": e.orientation || "vertical",+ "data-invalid": i.isInvalid || void 0,+ "data-disabled": i.isDisabled || void 0,+ "data-readonly": i.isReadOnly || void 0,+ "data-required": i.isRequired || void 0+ }, /*#__PURE__*/ E.createElement(Jw, { values: [+ [lD, i],+ [sT, {+ ...c,+ ref: a,+ elementType: "span"+ }],+ [dT, { slots: {+ description: l,+ errorMessage: u+ } }],+ [fT, d]+ ] }, /*#__PURE__*/ E.createElement(sE, null, f.children)));+}), dD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { inputRef: n = null, ...r } = e;+ [e, t] = Zw(r, t, cD);+ let i = E.useContext(lD), a = Rm((0, E.useMemo)(() => ym(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = mx({+ ...$w(e),+ children: typeof e.children == "function" || e.children+ }, i, a);+ return /*#__PURE__*/ E.createElement(fD.Provider, { value: {+ ...o,+ inputRef: a,+ defaultClassName: "react-aria-Radio"+ } }, /*#__PURE__*/ E.createElement(pD, {+ ...e,+ ref: t+ }));+}), fD = /*#__PURE__*/ (0, E.createContext)(null), pD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(fD), l = E.useContext(lD), { isFocused: u, isFocusVisible: d, focusProps: f } = ey(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = sy({+ ...e,+ isDisabled: p+ }), g = Yw({+ ...e,+ defaultClassName: s,+ values: {+ isSelected: i,+ isPressed: o,+ isHovered: h,+ isFocused: u,+ isFocusVisible: d,+ isDisabled: a,+ isReadOnly: l.isReadOnly,+ isInvalid: l.isInvalid,+ isRequired: l.isRequired+ }+ }), _ = ag(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(tT.label, {+ ...H(_, n, m, g),+ ref: t,+ "data-selected": i || void 0,+ "data-pressed": o || void 0,+ "data-hovered": h || void 0,+ "data-focused": u || void 0,+ "data-focus-visible": d || void 0,+ "data-disabled": a || void 0,+ "data-readonly": l.isReadOnly || void 0,+ "data-invalid": l.isInvalid || void 0,+ "data-required": l.isRequired || void 0+ }, /*#__PURE__*/ E.createElement(M_, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {+ ...H(r, f),+ ref: c+ })), g.children);+});+//#endregion+//#region node_modules/react-stately/dist/private/select/useSelectState.mjs+function mD(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = LE(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+ e.defaultValue,+ e.defaultSelectedKey,+ t+ ]), [s, c] = D_((0, E.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ e.value,+ e.selectedKey,+ t+ ]), o, e.onChange), l = t === "single" && Array.isArray(s) ? s[0] : s, u = (n) => {+ if (t === "single") {+ let t = Array.isArray(n) ? n[0] ?? null : n;+ c(t), t !== l && e.onSelectionChange?.(t);+ } else {+ let e = [];+ Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);+ }+ }, d = SE({+ ...e,+ selectionMode: t,+ disallowEmptySelection: t === "single",+ allowDuplicateSelectionEvents: !0,+ selectedKeys: (0, E.useMemo)(() => hD(l), [l]),+ onSelectionChange: (e) => {+ if (e !== "all") {+ if (t === "single") {+ let t = e.values().next().value ?? null;+ u(t);+ } else u([...e]);+ n && r.close(), m.commitValidation();+ }+ }+ }), f = d.selectionManager.firstSelectedKey, p = (0, E.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = __({+ ...e,+ value: Array.isArray(l) && l.length === 0 ? null : l+ }), [h, g] = (0, E.useState)(!1), [_] = (0, E.useState)(l);+ return {+ ...m,+ ...d,+ ...r,+ value: l,+ defaultValue: o ?? _,+ setValue: u,+ selectedKey: f,+ setSelectedKey: u,+ selectedItem: p[0] ?? null,+ selectedItems: p,+ defaultSelectedKey: e.defaultSelectedKey ?? (e.selectionMode === "single" ? _ : null),+ focusStrategy: i,+ open(t = null) {+ (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.open());+ },+ toggle(t = null) {+ (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.toggle());+ },+ isFocused: h,+ setFocused: g+ };+}+function hD(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 gD(e) {+ return e && e.__esModule ? e.default : e;+}+var _D = /*#__PURE__*/ (0, E.createContext)(null), vD = /*#__PURE__*/ (0, E.createContext)(null), yD = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, _D);+ let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, E.useMemo)(() => typeof n == "function" ? n({+ isOpen: !1,+ isDisabled: r,+ isInvalid: i,+ isRequired: a,+ isFocused: !1,+ isFocusVisible: !1,+ defaultChildren: null+ }) : n, [+ n,+ r,+ i,+ a+ ]);+ return /*#__PURE__*/ E.createElement(th, { content: o }, (n) => /*#__PURE__*/ E.createElement(xD, {+ props: e,+ collection: n,+ selectRef: t+ }));+}), bD = [+ sT,+ cT,+ dT+];+function xD({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = Xw(pT) || {}, i = e.validationBehavior ?? r ?? "native", a = mD({+ ...e,+ collection: n,+ children: void 0,+ validationBehavior: i+ }), { isFocusVisible: o, focusProps: s } = ey({ within: !0 }), c = (0, E.useRef)(null), [l, u] = Qw(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = _x({+ ...$w(e),+ label: u,+ validationBehavior: i+ }, a, c), y = (0, E.useMemo)(() => ({+ isOpen: a.isOpen,+ isFocused: a.isFocused,+ isFocusVisible: o,+ isDisabled: e.isDisabled || !1,+ isInvalid: v.isInvalid || !1,+ isRequired: e.isRequired || !1+ }), [+ a.isOpen,+ a.isFocused,+ o,+ e.isDisabled,+ v.isInvalid,+ e.isRequired+ ]), b = Yw({+ ...e,+ values: y,+ defaultClassName: "react-aria-Select"+ }), x = ag(e, { global: !0 });+ delete x.id;+ let S = (0, E.useRef)(null);+ return /*#__PURE__*/ E.createElement(Jw, { values: [+ [_D, e],+ [vD, a],+ [SD, p],+ [sT, {+ ...d,+ ref: l,+ elementType: "span"+ }],+ [cT, {+ ...f,+ ref: c,+ isPressed: a.isOpen,+ autoFocus: e.autoFocus+ }],+ [KE, a],+ [VE, {+ trigger: "Select",+ triggerRef: c,+ scrollRef: S,+ placement: "bottom start",+ "aria-labelledby": m["aria-labelledby"],+ clearContexts: bD+ }],+ [EE, {+ ...m,+ ref: S+ }],+ [DE, a],+ [dT, { slots: {+ description: h,+ errorMessage: g+ } }],+ [fT, v]+ ] }, /*#__PURE__*/ E.createElement(tT.div, {+ ...H(x, b, s),+ ref: t,+ slot: e.slot || void 0,+ "data-focused": a.isFocused || void 0,+ "data-focus-visible": o || void 0,+ "data-open": a.isOpen || void 0,+ "data-disabled": e.isDisabled || void 0,+ "data-invalid": v.isInvalid || void 0,+ "data-required": e.isRequired || void 0+ }, b.children, /*#__PURE__*/ E.createElement(yx, {+ ..._,+ autoComplete: e.autoComplete+ })));+}+for (var SD = /*#__PURE__*/ (0, E.createContext)(null), CD = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, SD);+ let n = (0, E.useContext)(vD), { placeholder: r } = Xw(_D), i = n.selectedItems.map((e) => {+ let t = e.props?.children;+ return typeof t == "function" && (t = t({+ isHovered: !1,+ isPressed: !1,+ isSelected: !1,+ isFocused: !1,+ isFocusVisible: !1,+ isDisabled: !1,+ selectionMode: "single",+ selectionBehavior: "toggle"+ })), t;+ }), a = ty(), o = (0, E.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, E.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ s,+ a,+ o+ ]), l = (0, E.useMemo)(() => {+ if (s === "single") return i[0];+ let e = a.formatToParts(o);+ if (e.length === 0) return null;+ let t = 0;+ return e.map((e) => e.type === "element" ? /*#__PURE__*/ E.createElement(E.Fragment, { key: t }, i[t++]) : e.value);+ }, [+ s,+ a,+ o,+ i+ ]), u = Qh(gD($T), "react-aria-components"), d = Yw({+ ...e,+ defaultChildren: l ?? r ?? u.format("selectPlaceholder"),+ defaultClassName: "react-aria-SelectValue",+ values: {+ selectedItem: n.selectedItems[0]?.value ?? null,+ selectedItems: (0, E.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),+ selectedText: c,+ isPlaceholder: n.selectedItems.length === 0,+ state: n+ }+ }), f = ag(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(tT.span, {+ ref: t,+ ...f,+ ...d,+ "data-placeholder": n.selectedItems.length === 0 || void 0+ }, /*#__PURE__*/ E.createElement(dT.Provider, { value: void 0 }, d.children));+}), wD = /*#__PURE__*/ (0, E.createContext)(null), TD = /*#__PURE__*/ (0, E.createContext)(null), ED = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { inputRef: n = null, ...r } = e;+ [e, t] = Zw(r, t, wD);+ let i = Rm((0, E.useMemo)(() => ym(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = O_(e), o = bx({+ ...$w(e),+ children: typeof e.children == "function" || e.children+ }, a, i);+ return /*#__PURE__*/ E.createElement(Jw, { values: [[TD, a], [DD, {+ ...o,+ inputRef: i,+ defaultClassName: "react-aria-Switch"+ }]] }, /*#__PURE__*/ E.createElement(OD, {+ ...e,+ ref: t+ }));+}), DD = /*#__PURE__*/ (0, E.createContext)(null), OD = /*#__PURE__*/ (0, E.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, E.useContext)(DD), { isFocused: f, isFocusVisible: p, focusProps: m } = ey(), h = a || o, g = (0, E.useContext)(TD), { hoverProps: _, isHovered: v } = sy({+ ...e,+ isDisabled: h+ }), y = Yw({+ ...e,+ defaultClassName: u,+ values: {+ isSelected: i,+ isPressed: s,+ isHovered: v,+ isFocused: f,+ isFocusVisible: p,+ isDisabled: a,+ isReadOnly: o,+ isInvalid: c,+ isRequired: d || !1,+ state: g+ }+ }), b = ag(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(tT.label, {+ ...H(b, n, _, y),+ ref: t,+ slot: e.slot || void 0,+ "data-selected": i || void 0,+ "data-pressed": s || void 0,+ "data-hovered": v || void 0,+ "data-focused": f || void 0,+ "data-focus-visible": p || void 0,+ "data-disabled": a || void 0,+ "data-readonly": o || void 0,+ "data-invalid": c || void 0,+ "data-required": d || void 0+ }, /*#__PURE__*/ E.createElement(M_, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {+ ...H(r, m),+ ref: l+ })), y.children);+}), kD = 10, AD = 5, jD = class {+ setup(e, t, n) {+ this.delegate = e, this.state = t, this.direction = n;+ }+ getDropTargetFromPoint(e, t, n) {+ let r = this.delegate.getDropTargetFromPoint(e, t, n);+ return !r || r.type === "root" ? r : this.resolveDropTarget(r, e, t, n);+ }+ resolveDropTarget(e, t, n, r) {+ let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;+ if (Math.abs(a) > AD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > kD && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ let t = this.state.collection.getKeyBefore(e.key);+ for (; t != null;) {+ let e = this.state.collection.getItem(t);+ if (e?.type === "item") break;+ t = e?.parentKey ?? null;+ }+ if (t != null) {+ let n = {+ type: "item",+ key: t,+ dropPosition: "after"+ };+ r(n) && (e = n);+ }+ }+ let l = this.getPotentialTargets(e, r);+ if (l.length === 0) return { type: "root" };+ let u;+ return l.length > 1 ? u = this.selectTarget(l, e, t, n, s, c) : (u = l[0], i.boundaryContext = null), u;+ }+ getPotentialTargets(e, t) {+ if (e.dropPosition === "on") return [e];+ let n = e, r = this.state.collection, i = r.getItem(n.key);+ for (; i && i?.type !== "item" && i.nextKey != null;) n.key = i.nextKey, i = r.getItem(i.nextKey);+ let a = [n];+ if (i && i.hasChildNodes && this.state.expandedKeys.has(i.key) && r.getChildren && n.dropPosition === "after") {+ let e = i.firstChildKey == null ? null : r.getItem(i.firstChildKey);+ for (; e && e.type !== "item";) e = e.nextKey == null ? null : r.getItem(e.nextKey);+ if (e?.type === "item") {+ let n = {+ type: "item",+ key: e.key,+ dropPosition: "before"+ };+ return t(n) ? [n] : [];+ }+ }+ if (i?.nextKey != null) return [e];+ let o = i?.parentKey, s = [];+ for (; o != null;) {+ let e = r.getItem(o), n = e?.nextKey == null ? null : r.getItem(e.nextKey);+ if (!n || n.parentKey !== o) {+ if (e?.type === "item") {+ let e = {+ type: "item",+ key: o,+ dropPosition: "after"+ };+ t(e) && s.push(e);+ }+ if (n) break;+ }+ o = e?.parentKey;+ }+ if (s.length > 0 && a.push(...s), a.length === 1) {+ let e = r.getKeyAfter(n.key), a = e == null ? null : r.getItem(e);+ if (e != null && a && i && a.level != null && i.level != null && a.level > i.level) {+ let n = {+ type: "item",+ key: e,+ dropPosition: "before"+ };+ if (t(n)) return [n];+ }+ }+ return a.filter(t);+ }+ selectTarget(e, t, n, r, i, a) {+ if (e.length < 2) return e[0];+ let o = this.pointerTracking, s = this.state.collection.getItem(t.key)?.parentKey;+ if (s == null) return e[0];+ (!o.boundaryContext || o.boundaryContext.parentKey !== s) && (o.boundaryContext = {+ parentKey: s,+ preferredTargetIndex: o.yDirection === "up" ? e.length - 1 : 0,+ lastSwitchY: r,+ lastSwitchX: n+ });+ let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);+ if (Math.abs(r - c.lastSwitchY) > AD && i) {+ let t = c.preferredTargetIndex || 0;+ i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;+ }+ if (l > kD && a) {+ let t = c.preferredTargetIndex || 0;+ a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;+ }+ return e[Math.max(0, Math.min(c.preferredTargetIndex || 0, e.length - 1))];+ }+ constructor() {+ this.delegate = null, this.state = null, this.direction = "ltr", this.pointerTracking = {+ lastY: 0,+ lastX: 0,+ yDirection: null,+ xDirection: null,+ boundaryContext: null+ };+ }+}, MD = class {+ constructor(e) {+ this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];+ let t = (r) => {+ let i = this.keyMap.get(r.key);+ e.visitNode && (r = e.visitNode(r)), this.keyMap.set(r.key, r);+ let a = /* @__PURE__ */ new Set(), o = null, s = !1;+ if (r.type === "item") {+ for (let e of r.childNodes) if (e.props?.colSpan !== void 0) {+ s = !0;+ break;+ }+ }+ for (let e of r.childNodes) e.type === "cell" && s && (e.colspan = e.props?.colSpan, e.colSpan = e.props?.colSpan, e.colIndex = o ? (o.colIndex ?? o.index) + (o.colSpan ?? 1) : e.index), e.type === "cell" && e.parentKey == null && (e.parentKey = r.key), a.add(e.key), o ? (o.nextKey = e.key, e.prevKey = o.key) : e.prevKey = null, t(e), o = e;+ if (o && (o.nextKey = null), i) for (let e of i.childNodes) a.has(e.key) || n(e);+ }, n = (e) => {+ this.keyMap.delete(e.key);+ for (let t of e.childNodes) this.keyMap.get(t.key) === t && n(t);+ }, r = null;+ for (let [n, i] of e.items.entries()) {+ let e = {+ ...i,+ level: i.level ?? 0,+ key: i.key ?? "row-" + n,+ type: i.type ?? "row",+ value: i.value ?? null,+ hasChildNodes: !0,+ childNodes: [...i.childNodes],+ rendered: i.rendered,+ textValue: i.textValue ?? "",+ index: i.index ?? n+ };+ r ? (r.nextKey = e.key, e.prevKey = r.key) : e.prevKey = null, this.rows.push(e), t(e), r = e;+ }+ r && (r.nextKey = null);+ }+ *[Symbol.iterator]() {+ yield* [...this.rows];+ }+ get size() {+ return [...this.rows].length;+ }+ getKeys() {+ return this.keyMap.keys();+ }+ getKeyBefore(e) {+ let t = this.keyMap.get(e);+ return t ? t.prevKey ?? null : null;+ }+ getKeyAfter(e) {+ let t = this.keyMap.get(e);+ return t ? t.nextKey ?? null : null;+ }+ getFirstKey() {+ return [...this.rows][0]?.key;+ }+ getLastKey() {+ let e = [...this.rows];+ return e[e.length - 1]?.key;+ }+ getItem(e) {+ return this.keyMap.get(e) ?? null;+ }+ at(e) {+ let t = [...this.getKeys()];+ return this.getItem(t[e]);+ }+ getChildren(e) {+ return this.keyMap.get(e)?.childNodes || [];+ }+}, ND = "row-header-column-" + Math.random().toString(36).slice(2), PD = "row-header-column-" + Math.random().toString(36).slice(2); ND === PD;) PD = "row-header-column-" + Math.random().toString(36).slice(2);+function FD(e, t) {+ if (t.length === 0) return [];+ let n = [], r = /* @__PURE__ */ new Map();+ for (let i of t) {+ let t = i.parentKey, a = [i];+ for (; t != null;) {+ let n = e.get(t);+ if (!n) break;+ if (r.has(n)) {+ n.colSpan ??= 0, n.colSpan++, n.colspan = n.colSpan;+ let { column: e, index: t } = r.get(n);+ if (t > a.length) break;+ for (let n = t; n < a.length; n++) e.splice(n, 0, null);+ for (let t = a.length; t < e.length; t++) e[t] && r.has(e[t]) && (r.get(e[t]).index = t);+ } else n.colSpan = 1, n.colspan = 1, a.push(n), r.set(n, {+ column: a,+ index: a.length - 1+ });+ t = n.parentKey;+ }+ n.push(a), i.index = n.length - 1;+ }+ let i = Math.max(...n.map((e) => e.length)), a = Array(i).fill(0).map(() => []), o = 0;+ for (let e of n) {+ let t = i - 1;+ for (let n of e) {+ if (n) {+ let e = a[t], r = e.reduce((e, t) => e + (t.colSpan ?? 1), 0);+ if (r < o) {+ let i = {+ type: "placeholder",+ key: "placeholder-" + n.key,+ colspan: o - r,+ colSpan: o - r,+ index: r,+ value: null,+ rendered: null,+ level: t,+ hasChildNodes: !1,+ childNodes: [],+ textValue: ""+ };+ e.length > 0 && (e[e.length - 1].nextKey = i.key, i.prevKey = e[e.length - 1].key), e.push(i);+ }+ e.length > 0 && (e[e.length - 1].nextKey = n.key, n.prevKey = e[e.length - 1].key), n.level = t, n.colIndex = o, e.push(n);+ }+ t--;+ }+ o++;+ }+ let s = 0;+ for (let e of a) {+ let n = e.reduce((e, t) => e + (t.colSpan ?? 1), 0);+ if (n < t.length) {+ let r = {+ type: "placeholder",+ key: "placeholder-" + e[e.length - 1].key,+ colSpan: t.length - n,+ colspan: t.length - n,+ index: n,+ value: null,+ rendered: null,+ level: s,+ hasChildNodes: !1,+ childNodes: [],+ textValue: "",+ prevKey: e[e.length - 1].key+ };+ e.push(r);+ }+ s++;+ }+ return a.map((e, t) => ({+ type: "headerrow",+ key: "headerrow-" + t,+ index: t,+ value: null,+ rendered: null,+ level: 0,+ hasChildNodes: !0,+ childNodes: e,+ textValue: ""+ }));+}+var ID = class extends MD {+ constructor(e, t, n) {+ let r = /* @__PURE__ */ new Set(), i = null, a = [];+ if (n?.showSelectionCheckboxes) {+ let e = {+ type: "column",+ key: ND,+ value: null,+ textValue: "",+ level: 0,+ index: +!!n?.showDragButtons,+ hasChildNodes: !1,+ rendered: null,+ childNodes: [],+ props: { isSelectionCell: !0 }+ };+ a.unshift(e);+ }+ if (n?.showDragButtons) {+ let e = {+ type: "column",+ key: PD,+ value: null,+ textValue: "",+ level: 0,+ index: 0,+ hasChildNodes: !1,+ rendered: null,+ childNodes: [],+ props: { isDragButtonCell: !0 }+ };+ a.unshift(e);+ }+ let o = [], s = /* @__PURE__ */ new Map(), c = (e) => {+ switch (e.type) {+ case "body":+ i = e;+ break;+ case "column":+ s.set(e.key, e), e.hasChildNodes || (a.push(e), e.props.isRowHeader && r.add(e.key));+ break;+ case "item":+ o.push(e);+ return;+ }+ for (let t of e.childNodes) c(t);+ };+ for (let t of e) c(t);+ let l = FD(s, a);+ if (l.forEach((e, t) => o.splice(t, 0, e)), super({+ columnCount: a.length,+ items: o,+ visitNode: (e) => (e.column = a[e.index], e)+ }), this._size = 0, this.columns = a, this.rowHeaderColumnKeys = r, this.body = i, this.headerRows = l, this._size = [...i.childNodes].length, this.rowHeaderColumnKeys.size === 0) {+ let e = this.columns.find((e) => !e.props?.isDragButtonCell && !e.props?.isSelectionCell);+ e && this.rowHeaderColumnKeys.add(e.key);+ }+ }+ *[Symbol.iterator]() {+ yield* this.body.childNodes;+ }+ get size() {+ return this._size;+ }+ getKeys() {+ return this.keyMap.keys();+ }+ getKeyBefore(e) {+ return this.keyMap.get(e)?.prevKey ?? null;+ }+ getKeyAfter(e) {+ return this.keyMap.get(e)?.nextKey ?? null;+ }+ getFirstKey() {+ return Bv(this.body.childNodes)?.key ?? null;+ }+ getLastKey() {+ return Hv(this.body.childNodes)?.key ?? null;+ }+ getItem(e) {+ return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;+ }+ at(e) {+ let t = [...this.getKeys()];+ return this.getItem(t[e]);+ }+ getChildren(e) {+ if (e === this.body.key) return this.body.childNodes;+ let t = this.getItem(e);+ return t?.type === "item" ? [...t.childNodes].filter((e) => e.type === "cell") : super.getChildren(e);+ }+ getTextValue(e) {+ let t = this.getItem(e);+ if (!t) return "";+ if (t.textValue) return t.textValue;+ let n = this.rowHeaderColumnKeys;+ if (n) {+ let e = [];+ for (let r of t.childNodes) {+ let t = this.columns[r.index];+ if (n.has(t.key) && r.textValue && e.push(r.textValue), e.length === n.size) break;+ }+ return e.join(" ");+ }+ return "";+ }+};+//#endregion+//#region node_modules/react-stately/dist/private/grid/useGridState.mjs+function LD(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || mE(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+ r.setFocusedKey = (e, r) => {+ if (n === "cell" && e != null) {+ let n = t.getItem(e);+ if (n?.type === "item") {+ let i = zv(n, t);+ e = r === "last" ? Hv(i)?.key ?? null : Bv(i)?.key ?? null;+ }+ }+ a(e, r);+ };+ let o = (0, E.useMemo)(() => new gE(t, r), [t, r]), s = (0, E.useRef)(null);+ return (0, E.useEffect)(() => {+ if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {+ let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;+ if (!n) {+ r.setFocusedKey(null);+ return;+ }+ let i = s.current.rows, a = t.rows, c = i.length - a.length, l = Math.min(c > 1 ? Math.max(n.index - c + 1, 0) : n.index, a.length - 1), u = null;+ for (let e = Math.max(0, l); e < a.length; e++) if (!o.isDisabled(a[e].key) && a[e].type !== "headerrow") {+ u = a[e];+ break;+ }+ if (u === null) {+ for (let e = l - 1; e >= 0; e--) if (!o.isDisabled(a[e].key) && a[e].type !== "headerrow") {+ u = a[e];+ break;+ }+ }+ if (u) {+ let i = u.hasChildNodes ? [...zv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ r.setFocusedKey(a);+ } else r.setFocusedKey(null);+ }+ s.current = t;+ }, [+ t,+ o,+ r,+ r.focusedKey+ ]), {+ collection: t,+ disabledKeys: i,+ isKeyboardNavigationDisabled: !1,+ selectionManager: o+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/table/useTableState.mjs+var RD = {+ ascending: "descending",+ descending: "ascending"+};+function zD(e) {+ let [t, n] = (0, E.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, E.useMemo)(() => ({+ showSelectionCheckboxes: i && r !== "none",+ showDragButtons: a,+ selectionMode: r,+ columns: []+ }), [+ e.children,+ i,+ r,+ a+ ]), c = xE(e, (0, E.useCallback)((e) => new ID(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = LD({+ ...e,+ collection: c,+ disabledBehavior: e.disabledBehavior || "selection"+ }), [d, f] = D_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ return {+ collection: c,+ disabledKeys: l,+ selectionManager: u,+ showSelectionCheckboxes: e.showSelectionCheckboxes || !1,+ sortDescriptor: e.sortDescriptor ?? null,+ isKeyboardNavigationDisabled: c.size === 0 || t,+ setKeyboardNavigationDisabled: n,+ sort(t, n) {+ e.onSortChange?.({+ column: t,+ direction: n ?? (e.sortDescriptor?.column === t ? RD[e.sortDescriptor.direction] : "ascending")+ });+ },+ expandedKeys: d,+ toggleKey(e) {+ f((t) => {+ let n = new Set(t);+ return n.has(e) ? n.delete(e) : n.add(e), n;+ });+ },+ treeColumn: o+ };+}+function BD(e, t) {+ let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);+ return {+ ...e,+ collection: n,+ selectionManager: r+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Table.mjs+var VD = class extends hf {+ withExpandedKeys(e) {+ let t = this.clone();+ return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;+ }+ addNode(e) {+ super.addNode(e), this.columnsDirty ||= e.type === "column", e.type === "tableheader" && (this.head = e);+ }+ getRows() {+ let e = [];+ for (let t of this) (t.type === "tablebody" || t.type === "tablefooter") && e.push(...this.getChildren(t.key));+ return e;+ }+ get body() {+ for (let e of this) if (e.type === "tablebody") return e;+ return new oO(-2);+ }+ commit(e, t, n = !1) {+ this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];+ for (let e of this.getRows()) {+ let t = e.lastChildKey;+ if (t != null) {+ let e = this.getItem(t);+ for (; e && e.type !== "cell";) e = e.prevKey == null ? null : this.getItem(e.prevKey);+ if (e) {+ let t = (e.colIndex ?? e.index) + (e.colSpan ?? 1);+ if (t !== this.columns.length && !n) throw Error(`Cell count must match column count. Found ${t} cells and ${this.columns.length} columns.`);+ }+ }+ this.rows.push(e);+ }+ super.commit(e, t, n);+ }+ updateColumns(e) {+ if (!this.columnsDirty) return;+ this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.columns = [];+ let t = /* @__PURE__ */ new Map(), n = (e) => {+ e.type === "column" && (t.set(e.key, e), e.hasChildNodes || (e.index = this.columns.length, this.columns.push(e), e.props.isRowHeader && this.rowHeaderColumnKeys.add(e.key)));+ for (let t of this.getChildren(e.key)) n(t);+ };+ for (let e of this.getChildren(this.head.key)) n(e);+ if (this.headerRows = FD(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ }+ get columnCount() {+ return this.columns.length;+ }+ *[Symbol.iterator]() {+ let e = this.firstKey;+ for (; e != null;) {+ let t = this.getItem(e);+ t && (yield t), e = t?.nextKey ?? null;+ }+ }+ getFirstKey() {+ for (let e of this) if (e.type === "tablebody") return e.firstChildKey ?? null;+ return null;+ }+ getLastKey() {+ let e = this.lastKey;+ if (e == null) return null;+ let t = this.getItem(e);+ for (; t?.lastChildKey != null && (t.type !== "item" || this.expandedKeys.has(t.key));) t = this.getItem(t.lastChildKey);+ return t?.key;+ }+ getKeyAfter(e) {+ let t = this.getItem(e);+ if (t?.type === "column") return t.nextKey ?? null;+ if (!t) return null;+ if (t.type === "item" && t.firstChildKey != null && this.expandedKeys.has(t.key)) {+ let e = this.getItem(t.firstChildKey);+ for (; e;) {+ if (e.type === "item") return e.key;+ e = e.nextKey == null ? null : this.getItem(e.nextKey);+ }+ }+ return super.getKeyAfter(e);+ }+ getKeyBefore(e) {+ let t = this.getItem(e);+ if (t?.type === "column") return t.prevKey ?? null;+ if (!t) return null;+ let n = null;+ if (t.prevKey != null) {+ for (t = this.getItem(t.prevKey); t && (t.type !== "item" || this.expandedKeys.has(t.key)) && t.lastChildKey != null;) t = this.getItem(t.lastChildKey);+ n = t?.key ?? null;+ }+ return n ??= t.parentKey, n != null && this.getItem(n)?.type === "tableheader" ? null : n;+ }+ getChildren(e) {+ let t = this.getItem(e);+ if (!t) {+ for (let t of this.headerRows) if (t.key === e) return t.childNodes;+ }+ let n = this;+ return t?.type === "tablebody" || t?.type === "tablefooter" ? { *[Symbol.iterator]() {+ let e = t.firstChildKey, r = e == null ? null : n.getItem(e);+ for (; r;) {+ yield r;+ let e = n.getKeyAfter(r.key);+ if (r = e == null ? null : n.getItem(e), r && r.parentKey === t.parentKey) break;+ }+ } } : { *[Symbol.iterator]() {+ let t = n.getItem(e), r = t?.firstChildKey == null ? null : n.getItem(t.firstChildKey);+ for (; r && (yield r, r = r.nextKey == null ? null : n.getItem(r.nextKey), t?.type !== "item" || r?.type === "cell"););+ } };+ }+ clone() {+ let e = super.clone();+ return e.headerRows = this.headerRows, e.columns = this.columns, e.rows = this.rows, e.rowHeaderColumnKeys = this.rowHeaderColumnKeys, e.head = this.head, e;+ }+ getTextValue(e) {+ let t = this.getItem(e);+ if (!t) return "";+ if (t.textValue) return t.textValue;+ let n = this.rowHeaderColumnKeys, r = [];+ for (let t of this.getChildren(e)) {+ let e = this.columns[t.index];+ if (n.has(e.key) && t.textValue && r.push(t.textValue), r.length === n.size) break;+ }+ return r.join(" ");+ }+ constructor(...e) {+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new ZD(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ }+}, HD = /*#__PURE__*/ (0, E.createContext)(null), UD = /*#__PURE__*/ (0, E.createContext)(null), WD = /*#__PURE__*/ (0, E.createContext)(null), GD = /*#__PURE__*/ (0, E.createContext)(null), KD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, UD);+ let n = mE(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({+ selectionBehavior: i === "none" ? null : r,+ selectionMode: i,+ disallowEmptySelection: a,+ allowsDragging: o+ }), [+ r,+ i,+ a,+ o+ ]), c = /*#__PURE__*/ E.createElement(XD.Provider, { value: s }, /*#__PURE__*/ E.createElement(ph, e));+ return /*#__PURE__*/ E.createElement(th, {+ content: c,+ createCollection: () => new VD()+ }, (r) => /*#__PURE__*/ E.createElement(YD, {+ props: e,+ forwardedRef: t,+ selectionState: n,+ collection: r+ }));+}), qD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.table, {+ ...e,+ ref: t+ });+}), JD = {+ expand: {+ ltr: "ArrowRight",+ rtl: "ArrowLeft"+ },+ collapse: {+ ltr: "ArrowLeft",+ rtl: "ArrowRight"+ }+};+function YD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = Zw(e, t, nT);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(HD);+ t = Rm((0, E.useMemo)(() => ym(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = D_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ r = (0, E.useMemo)(() => r.withExpandedKeys(l), [r, l]);+ let d = zD({+ ...s,+ collection: r,+ children: void 0,+ UNSAFE_selectionState: n,+ expandedKeys: l,+ onExpandedChange: u+ }), f = BD(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)(oT), { dragAndDropHooks: _ } = e, { gridProps: v } = Wee({+ ...s,+ layoutDelegate: m,+ isVirtualized: p+ }, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;+ (0, E.useRef)(b), (0, E.useRef)(x), (0, E.useEffect)(() => {}, [b, x]);+ let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Rh(), [A] = (0, E.useState)(() => new jD());+ if (b && _) {+ S = _.useDraggableCollectionState({+ collection: f.collection,+ selectionManager: y,+ preview: _.renderDragPreview ? O : void 0+ }), _.useDraggableCollection({}, S, t);+ let e = _.DragPreview;+ D = _.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: O }, _.renderDragPreview) : null;+ }+ if (x && _) {+ C = _.useDroppableCollectionState({+ collection: f.collection,+ selectionManager: y+ });+ let e = new J_({+ collection: f.collection,+ disabledKeys: y.disabledKeys,+ disabledBehavior: y.disabledBehavior,+ ref: t,+ layoutDelegate: m+ }), n = _.dropTargetDelegate || h || new _.ListDropTargetDelegate(r.rows, t);+ A.setup(n, d, k), w = _.useDroppableCollection({+ keyboardDelegate: e,+ dropTargetDelegate: A,+ onDropActivate: (e) => {+ if (e.target.type === "item") {+ let t = e.target.key, n = d.collection.getItem(t), r = l.has(t);+ n && n.hasChildNodes && (!r || _?.isVirtualDragging?.()) && d.toggleKey(t);+ }+ },+ onKeyDown: (e) => {+ let t = C?.target;+ if (t && t.type === "item" && t.dropPosition === "on") {+ let n = d.collection.getItem(t.key);+ (e.key === JD.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === JD.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ }+ }+ }, C, t), T = C.isDropTarget({ type: "root" });+ }+ let { focusProps: j, isFocused: M, isFocusVisible: N } = ey(), P = Yw({+ ...e,+ children: void 0,+ defaultClassName: "react-aria-Table",+ values: {+ isDropTarget: T,+ isFocused: M,+ isFocusVisible: N,+ state: f+ }+ }), F = !!(b && !S?.isDisabled), I = P.style, ee = null;+ c && (ee = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (I = {+ ...I,+ tableLayout: "fixed",+ width: "min-content"+ }));+ let te = ag(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(Jw, { values: [+ [WD, f],+ [GD, ee],+ [eE, {+ dragAndDropHooks: _,+ dragState: S,+ dropState: C+ }],+ [tE, { render: gO }],+ [nT, null],+ [rT, null]+ ] }, /*#__PURE__*/ E.createElement(jg, null, /*#__PURE__*/ E.createElement(qD, {+ ...H(te, P, v, j, w?.collectionProps),+ style: I,+ ref: t,+ slot: e.slot || void 0,+ onScroll: e.onScroll,+ "data-allows-dragging": F || void 0,+ "data-drop-target": T || void 0,+ "data-focused": M || void 0,+ "data-focus-visible": N || void 0+ }, /*#__PURE__*/ E.createElement(sE, null, /*#__PURE__*/ E.createElement(g, {+ collection: f.collection,+ scrollRef: c?.scrollRef ?? t,+ persistedKeys: iE(y, _, C)+ })))), D);+}+var XD = /*#__PURE__*/ (0, E.createContext)(null), ZD = class extends df {+ static {+ this.type = "tableheader";+ }+}, QD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.thead, {+ ...e,+ ref: t+ });+}), $D = /*#__PURE__*/ uh(ZD, (e, t) => {+ let n = (0, E.useContext)(WD).collection, r = bf({+ items: n.headerRows,+ children: (0, E.useCallback)((e) => {+ switch (e.type) {+ case "headerrow": return /*#__PURE__*/ E.createElement(tO, { item: e });+ default: throw Error("Unsupported node type in TableHeader: " + e.type);+ }+ }, [])+ }), { rowGroupProps: i } = hS(), { hoverProps: a, isHovered: o } = sy({+ onHoverStart: e.onHoverStart,+ onHoverChange: e.onHoverChange,+ onHoverEnd: e.onHoverEnd+ }), s = Yw({+ ...e,+ children: void 0,+ defaultClassName: "react-aria-TableHeader",+ values: { isHovered: o }+ });+ return /*#__PURE__*/ E.createElement(QD, {+ ...H(ag(e, { global: !0 }), i, a),+ ...s,+ ref: t,+ "data-hovered": o || void 0+ }, r);+}, (e) => /*#__PURE__*/ E.createElement(ph, {+ dependencies: e.dependencies,+ items: e.columns+}, e.children)), eO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement("div", {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement("tr", {+ ...e,+ ref: t+ });+});+function tO({ item: e }) {+ let t = (0, E.useRef)(null), n = (0, E.useContext)(WD), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)(oT), { rowProps: a } = Jee({+ node: e,+ isVirtualized: r+ }, n, t), { checkboxProps: o } = tte(n);+ return /*#__PURE__*/ E.createElement(eO, {+ ...a,+ ref: t+ }, /*#__PURE__*/ E.createElement(Jw, { values: [[mT, { slots: { selection: o } }], [hT, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {+ collection: n.collection,+ parent: e+ })));+}+var nO = class extends df {+ static {+ this.type = "column";+ }+}, rO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.th, {+ ...e,+ ref: t+ });+}), iO = /*#__PURE__*/ lh(nO, (e, t, n) => {+ let r = Rm(t), i = (0, E.useContext)(WD), { isVirtualized: a } = (0, E.useContext)(oT), { columnHeaderProps: o, isPressed: s } = qee({+ node: n,+ isVirtualized: a,+ focusMode: e.focusMode,+ allowsArrowNavigation: e.allowsArrowNavigation+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ey(), d = (0, E.useContext)(GD), f = !1;+ d && (f = d.resizingColumn === n.key);+ let { hoverProps: p, isHovered: m } = sy({ isDisabled: !e.allowsSorting }), h = Yw({+ ...e,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-Column",+ values: {+ isHovered: m,+ isPressed: s,+ isFocused: c,+ isFocusVisible: l,+ allowsSorting: n.props.allowsSorting,+ sortDirection: i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0,+ isResizing: f,+ startResize: () => {+ if (d) d.startResize(n.key), i.setKeyboardNavigationDisabled(!0);+ else throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");+ },+ sort: (e) => {+ i.sort(n.key, e);+ }+ }+ }), g = h.style;+ d && (g = {+ ...g,+ width: d.getColumnWidth(n.key)+ });+ let _ = ag(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ E.createElement(rO, {+ ...H(_, o, u, p),+ ...h,+ style: g,+ ref: r,+ "data-hovered": m || void 0,+ "data-pressed": s || void 0,+ "data-focused": c || void 0,+ "data-focus-visible": l || void 0,+ "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__*/ E.createElement(Jw, { values: [[aO, {+ column: n,+ triggerRef: r+ }], [oT, iT]] }, h.children));+}), aO = /*#__PURE__*/ (0, E.createContext)(null), oO = class extends ff {+ static {+ this.type = "tablebody";+ }+}, sO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.tbody, {+ ...e,+ ref: t+ });+}), cO = /*#__PURE__*/ uh(oO, (e, t, n) => {+ let r = (0, E.useContext)(WD), { isVirtualized: i } = (0, E.useContext)(oT), a = r.collection, { CollectionBranch: o } = (0, E.useContext)(oT), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(eE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+ isDropTarget: u,+ isEmpty: d+ }, p = Yw({+ ...e,+ id: void 0,+ children: void 0,+ defaultClassName: "react-aria-TableBody",+ values: f+ }), m, h = a.columnCount;+ if (d && e.renderEmptyState && r) {+ let t = {}, n = {}, r = {};+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ E.createElement(dO, {+ role: "row",+ ...t,+ style: r+ }, /*#__PURE__*/ E.createElement(mO, {+ role: "rowheader",+ ...n,+ style: r+ }, e.renderEmptyState(f)));+ }+ let { rowGroupProps: g } = hS(), _ = ag(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(sO, {+ ...H(_, p, g),+ ref: t,+ "data-empty": d || void 0+ }, l && /*#__PURE__*/ E.createElement(xO, null), /*#__PURE__*/ E.createElement(o, {+ collection: a,+ parent: n,+ renderDropIndicator: rE(s, c)+ }), m);+});+(class extends ff {+ static {+ this.type = "tablefooter";+ }+});+var lO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), uO = class extends df {+ static {+ this.type = "item";+ }+ filter(e, t, n) {+ let r = e.getChildren(this.key);+ for (let i of r) if (n(i.textValue, i)) {+ let n = this.clone();+ return t.addDescendants(n, e), n;+ }+ return null;+ }+}, dO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.tr, {+ ...e,+ ref: t+ });+}), fO = /*#__PURE__*/ uh(uO, (e, t, n) => {+ let r = Rm(t), i = (0, E.useContext)(WD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(eE), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)(oT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Zee({+ node: n,+ shouldSelectOnPressUp: !!o,+ isVirtualized: c+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ey(), { isFocusVisible: _, focusProps: v } = ey({ within: !0 }), { hoverProps: y, isHovered: b } = sy({+ isDisabled: !p.allowsSelection && !p.hasAction && !u,+ onHoverStart: e.onHoverStart,+ onHoverChange: e.onHoverChange,+ onHoverEnd: e.onHoverEnd+ }), { checkboxProps: x } = ete({ key: n.key }, i), S;+ o && a && (S = a.useDraggableItem({+ key: n.key,+ hasDragButton: !0+ }, o));+ let C, w = (0, E.useRef)(null), { visuallyHiddenProps: T } = j_();+ s && a && (C = a.useDropIndicator({ target: {+ type: "item",+ key: n.key,+ dropPosition: "on"+ } }, s, w));+ let D = (0, E.useRef)(null);+ (0, E.useEffect)(() => {+ o && D.current;+ }, []);+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Yw({+ ...A,+ id: void 0,+ defaultClassName: "react-aria-Row",+ defaultStyle: { "--table-row-level": n.level + 1 },+ values: {+ ...p,+ state: i,+ isHovered: b,+ isFocused: m,+ isFocusVisible: h,+ selectionMode: i.selectionManager.selectionMode,+ selectionBehavior: i.selectionManager.selectionBehavior,+ isDragging: O,+ isDropTarget: C?.isDropTarget,+ isFocusVisibleWithin: _,+ id: n.key,+ hasChildItems: j,+ isExpanded: M,+ level: n.level + 1+ }+ }), P = ag(e, { global: !0 });+ return delete P.id, delete P.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(dO, {+ role: "row",+ style: { height: 0 }+ }, /*#__PURE__*/ E.createElement(mO, {+ role: "gridcell",+ colSpan: i.collection.columnCount,+ style: { padding: 0 }+ }, /*#__PURE__*/ E.createElement("div", {+ role: "button",+ ...T,+ ...C.dropIndicatorProps,+ ref: w+ }))), /*#__PURE__*/ E.createElement(dO, {+ ...H(P, N, d, g, y, S?.dragProps, v),+ ref: r,+ "data-disabled": p.isDisabled || void 0,+ "data-selected": p.isSelected || void 0,+ "data-hovered": b || void 0,+ "data-focused": p.isFocused || void 0,+ "data-focus-visible": h || void 0,+ "data-pressed": p.isPressed || void 0,+ "data-dragging": O || void 0,+ "data-drop-target": C?.isDropTarget || void 0,+ "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode,+ "data-focus-visible-within": _ || void 0,+ "data-expanded": M || void 0,+ "data-has-child-items": j || void 0,+ "data-level": n.level + 1+ }, /*#__PURE__*/ E.createElement(Jw, { values: [+ [mT, { slots: {+ [qw]: {},+ selection: x+ } }],+ [hT, { slots: {+ [qw]: {},+ selection: x+ } }],+ [cT, { slots: {+ [qw]: {},+ chevron: f,+ drag: {+ ...S?.dragButtonProps,+ ref: D,+ style: { pointerEvents: "none" }+ }+ } }],+ [cE, { isSelected: p.isSelected }],+ [lO, { isFocusVisibleWithinRow: _ }]+ ] }, /*#__PURE__*/ E.createElement(l, {+ collection: i.collection,+ parent: n+ }))));+}, (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__*/ E.createElement(ph, {+ dependencies: t,+ items: e.columns,+ idScope: e.id+ }, e.children);+}), pO = class extends df {+ static {+ this.type = "cell";+ }+}, mO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.td, {+ ...e,+ ref: t+ });+}), hO = /*#__PURE__*/ lh(pO, (e, t, n) => {+ let r = Rm(t), i = (0, E.useContext)(WD), { dragState: a } = (0, E.useContext)(eE), { isVirtualized: o } = (0, E.useContext)(oT);+ n.column = i.collection.columns[n.index];+ let { gridCellProps: s, isPressed: c } = Gee({+ node: n,+ shouldSelectOnPressUp: !!a,+ isVirtualized: o,+ focusMode: e.focusMode,+ allowsArrowNavigation: e.allowsArrowNavigation+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ey(), { hoverProps: f, isHovered: p } = sy({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(lO), 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 = Yw({+ ...e,+ id: void 0,+ defaultClassName: "react-aria-Cell",+ values: {+ isFocused: l,+ isFocusVisible: u,+ isFocusVisibleWithinRow: m,+ isPressed: c,+ isHovered: p,+ isSelected: h,+ id: n.key,+ columnIndex: g,+ hasChildItems: v,+ isExpanded: y,+ isDisabled: b,+ level: _.level + 1,+ isTreeColumn: n.column.key === i.treeColumn+ }+ }), S = ag(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ E.createElement(mO, {+ ...H(S, x, s, d, f),+ ref: r,+ "data-focused": l || void 0,+ "data-focus-visible": u || void 0,+ "data-focus-visible-within-row": m || void 0,+ "data-pressed": c || void 0,+ "data-selected": h || void 0,+ "data-column-index": g,+ "data-expanded": y || void 0,+ "data-has-child-items": v || void 0,+ "data-level": _.level + 1,+ "data-tree-column": n.column.key === i.treeColumn || void 0,+ "data-disabled": b || void 0+ }, /*#__PURE__*/ E.createElement(oT.Provider, { value: iT }, x.children));+});+function gO(e, t) {+ t = Rm(t);+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(eE), i = (0, E.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__*/ E.createElement(bO, {+ ...e,+ dropIndicatorProps: a,+ isDropTarget: s,+ buttonRef: i,+ level: c,+ ref: t+ });+}+var _O = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.tr, {+ ...e,+ ref: t+ });+}), vO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(oT);+ return n ? /*#__PURE__*/ E.createElement(tT.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ E.createElement(tT.td, {+ ...e,+ ref: t+ });+});+function yO(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(WD), { visuallyHiddenProps: c } = j_(), l = Yw({+ ...o,+ defaultClassName: "react-aria-DropIndicator",+ defaultStyle: { "--table-row-level": a + 1 },+ values: { isDropTarget: r }+ });+ return /*#__PURE__*/ E.createElement(_O, {+ ...ag(e, { global: !0 }),+ ...l,+ role: "row",+ ref: t,+ "data-drop-target": r || void 0,+ "aria-level": a+ }, /*#__PURE__*/ E.createElement(vO, {+ role: "gridcell",+ colSpan: s.collection.columnCount,+ style: { padding: 0 }+ }, /*#__PURE__*/ E.createElement("div", {+ ...c,+ role: "button",+ ...n,+ ref: i+ }), l.children));+}+var bO = /*#__PURE__*/ (0, E.forwardRef)(yO);+function xO() {+ let e = (0, E.useContext)(WD), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(eE), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = j_();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(dO, {+ role: "row",+ "aria-hidden": i["aria-hidden"],+ style: { height: 0 }+ }, /*#__PURE__*/ E.createElement(mO, {+ role: "gridcell",+ colSpan: e.collection.columnCount,+ style: { padding: 0 }+ }, /*#__PURE__*/ E.createElement("div", {+ role: "button",+ ...o,+ ...i,+ ref: r+ })));+}+lh(pf, function(e, t, n) {+ let r = (0, E.useContext)(WD), { isVirtualized: i } = (0, E.useContext)(oT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);+ TE((0, E.useMemo)(() => ({+ onLoadMore: o,+ collection: r?.collection,+ sentinelRef: u,+ scrollOffset: s+ }), [+ o,+ s,+ r?.collection+ ]), u);+ let d = Yw({+ ...c,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-TableLoadingIndicator",+ defaultStyle: { "--table-row-level": n.level + 1 },+ values: void 0+ }), f = {}, p = {}, m = {};+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(dO, {+ style: { height: 0 },+ inert: uE(!0)+ }, /*#__PURE__*/ E.createElement(mO, { style: {+ padding: 0,+ border: 0+ } }, /*#__PURE__*/ E.createElement("div", {+ "data-testid": "loadMoreSentinel",+ ref: u,+ style: {+ position: "relative",+ height: 1,+ width: 1+ }+ }))), a && d.children && /*#__PURE__*/ E.createElement(dO, {+ ...H(ag(e, { global: !0 }), f),+ ...d,+ role: "row",+ ref: t,+ "aria-level": n.level + 1,+ "data-level": n.level + 1+ }, /*#__PURE__*/ E.createElement(mO, {+ role: "rowheader",+ ...p,+ style: m+ }, d.children)));+});+//#endregion+//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs+function SO(e) {+ let [t, n] = D_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = SE({+ ...e,+ selectionMode: "single",+ disallowEmptySelection: !0,+ allowDuplicateSelectionEvents: !0,+ selectedKeys: r,+ onSelectionChange: (r) => {+ if (r === "all") return;+ let i = r.values().next().value ?? null;+ i === t && e.onSelectionChange && e.onSelectionChange(i), n(i);+ }+ });+ return {+ collection: i,+ disabledKeys: a,+ selectionManager: o,+ selectedKey: t,+ setSelectedKey: n,+ selectedItem: t == null ? null : i.getItem(t)+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs+function CO(e) {+ let t = SO({+ ...e,+ onSelectionChange: e.onSelectionChange ? (t) => {+ t != null && e.onSelectionChange?.(t);+ } : void 0,+ suppressTextValueWarning: !0,+ defaultSelectedKey: e.defaultSelectedKey ?? wO(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ }), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, E.useRef)(i);+ return (0, E.useEffect)(() => {+ let o = i;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = wO(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ }), {+ ...t,+ isDisabled: e.isDisabled || !1+ };+}+function wO(e, t) {+ let n = null;+ if (e) {+ for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);+ n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n === e.getLastKey() && (n = e.getFirstKey());+ }+ return n;+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Tabs.mjs+var TO = /*#__PURE__*/ (0, E.createContext)(null), EO = /*#__PURE__*/ (0, E.createContext)(null), DO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = Zw(e, t, TO);+ let { children: n, orientation: r = "horizontal" } = e;+ return n = (0, E.useMemo)(() => typeof n == "function" ? n({+ orientation: r,+ defaultChildren: null+ }) : n, [n, r]), /*#__PURE__*/ E.createElement(th, { content: n }, (n) => /*#__PURE__*/ E.createElement(OO, {+ props: e,+ collection: n,+ tabsRef: t+ }));+});+function OO({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = CO({+ ...e,+ collection: n,+ children: void 0+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = ey({ within: !0 }), c = (0, E.useMemo)(() => ({+ orientation: r,+ isFocusWithin: o,+ isFocusVisible: s+ }), [+ r,+ o,+ s+ ]), l = Yw({+ ...e,+ defaultClassName: "react-aria-Tabs",+ values: c+ }), u = ag(e, { global: !0 });+ return /*#__PURE__*/ E.createElement(tT.div, {+ ...H(u, l, a),+ ref: t,+ slot: e.slot || void 0,+ "data-focused": o || void 0,+ "data-orientation": r,+ "data-focus-visible": s || void 0,+ "data-disabled": i.isDisabled || void 0+ }, /*#__PURE__*/ E.createElement(Jw, { values: [[TO, e], [EO, i]] }, l.children));+}+var kO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return (0, E.useContext)(EO) ? /*#__PURE__*/ E.createElement(AO, {+ props: e,+ forwardedRef: t+ }) : /*#__PURE__*/ E.createElement(ph, e);+});+function AO({ props: e, forwardedRef: t }) {+ let n = (0, E.useContext)(EO), { CollectionRoot: r } = (0, E.useContext)(oT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Xw(TO), o = Rm(t), { tabListProps: s } = ite({+ ...e,+ orientation: i,+ keyboardActivation: a+ }, n, o), c = Yw({+ ...e,+ children: null,+ defaultClassName: "react-aria-TabList",+ values: {+ orientation: i,+ state: n+ }+ }), l = ag(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ E.createElement(tT.div, {+ ...H(l, c, s),+ ref: o,+ "data-orientation": i || void 0+ }, /*#__PURE__*/ E.createElement(sE, null, /*#__PURE__*/ E.createElement(r, {+ collection: n.collection,+ persistedKeys: rne(n.selectionManager.focusedKey)+ })));+}+var jO = /*#__PURE__*/ lh(class extends df {+ static {+ this.type = "item";+ }+}, (e, t, n) => {+ let r = (0, E.useContext)(EO), i = Rm(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = nte({+ key: n.key,+ ...e+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ey(), { hoverProps: f, isHovered: p } = sy({+ isDisabled: s,+ onHoverStart: e.onHoverStart,+ onHoverEnd: e.onHoverEnd,+ onHoverChange: e.onHoverChange+ }), m = Yw({+ ...e,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-Tab",+ values: {+ isSelected: o,+ isDisabled: s,+ isFocused: u,+ isFocusVisible: d,+ isPressed: c,+ isHovered: p+ }+ }), h = n.props.href ? tT.a : tT.div, g = ag(e, { global: !0 });+ return delete g.id, delete g.onClick, /*#__PURE__*/ E.createElement(h, {+ ...H(g, m, a, l, f),+ ref: i,+ "data-selected": o || void 0,+ "data-disabled": s || void 0,+ "data-focused": u || void 0,+ "data-focus-visible": d || void 0,+ "data-pressed": c || void 0,+ "data-hovered": p || void 0+ }, /*#__PURE__*/ E.createElement(cE.Provider, { value: { isSelected: o } }, m.children));+}), MO = /*#__PURE__*/ Gm(function(e, t) {+ let n = (0, E.useContext)(EO), r = Rm(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);+ a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);+ let s = zE(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(NO, {+ ...e,+ tabPanelRef: r,+ isInitiallySelected: a || !1,+ isExiting: s+ });+});+function NO(e) {+ let t = (0, E.useContext)(EO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = ate(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ey(), d = t.selectedKey === e.id, f = RE(r) && !i, p = Yw({+ ...e,+ defaultClassName: "react-aria-TabPanel",+ values: {+ isFocused: l,+ isFocusVisible: u,+ isInert: uE(!d),+ isEntering: f,+ isExiting: a,+ state: t+ }+ }), m = ag(o, { global: !0 });+ delete m.id;+ let h = d ? H(m, s, c, p) : H(m, p);+ return /*#__PURE__*/ E.createElement(tT.div, {+ ...h,+ ref: r,+ "data-focused": l || void 0,+ "data-focus-visible": u || void 0,+ inert: uE(!d || e.inert),+ "data-inert": d ? void 0 : "true",+ "data-entering": f || void 0,+ "data-exiting": a || void 0+ }, /*#__PURE__*/ E.createElement(Jw, { values: [[TO, null], [EO, null]] }, /*#__PURE__*/ E.createElement(oT.Provider, { value: iT }, p.children)));+}+//#endregion+//#region node_modules/react-aria-components/dist/private/TextArea.mjs+var PO = /*#__PURE__*/ (0, E.createContext)({}), FO = /*#__PURE__*/ (0, E.createContext)(null), IO = /*#__PURE__*/ Gm(function(e, t) {+ [e, t] = Zw(e, t, FO);+ let { validationBehavior: n } = Xw(pT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);+ [e, i] = Zw(e, i, rT);+ let [a, o] = Qw(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = vee({+ ...$w(e),+ inputElementType: s,+ label: o,+ validationBehavior: r+ }, i), m = (0, E.useCallback)((e) => {+ i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");+ }, [i]), h = Yw({+ ...e,+ values: {+ isDisabled: e.isDisabled || !1,+ isInvalid: p.isInvalid,+ isReadOnly: e.isReadOnly || !1,+ isRequired: e.isRequired || !1+ },+ defaultClassName: "react-aria-TextField"+ }), g = ag(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ E.createElement(tT.div, {+ ...g,+ ...h,+ ref: t,+ slot: e.slot || void 0,+ "data-disabled": e.isDisabled || void 0,+ "data-invalid": p.isInvalid || void 0,+ "data-readonly": e.isReadOnly || void 0,+ "data-required": e.isRequired || void 0+ }, /*#__PURE__*/ E.createElement(Jw, { values: [+ [sT, {+ ...l,+ ref: a+ }],+ [vT, {+ ...u,+ ref: m+ }],+ [PO, {+ ...u,+ ref: m+ }],+ [_T, {+ role: "presentation",+ isInvalid: p.isInvalid,+ isDisabled: e.isDisabled || !1+ }],+ [dT, { slots: {+ description: d,+ errorMessage: f+ } }],+ [fT, p]+ ] }, h.children));+}), LO = vw({+ base: [+ "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",+ "bg-background-primary-default text-foreground-icon-primary",+ "border border-border-button-default shadow-xs",+ "select-none cursor-pointer",+ "transition-[background-color,border-color,box-shadow,color] duration-150 ease",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"+ ].join(" "),+ size: {+ medium: "size-9",+ small: "size-8"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-4 shrink-0"+ }+});+function RO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)("button", {+ ref: i,+ type: r,+ className: _w(LO.base, LO.size[t], n),+ ...a,+ children: /* @__PURE__ */ (0, D.jsx)(e, {+ className: LO.icon[t],+ "aria-hidden": !0+ })+ });+}+//#endregion+//#region src/react/boardui/components/base/input/label.tsx+function zO({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsxs)(ine, {+ "data-label": "true",+ ...a,+ className: _w("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ children: [+ i,+ e && /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": "true",+ className: "text-body-medium text-text-error-primary",+ children: "*"+ }),+ n && /* @__PURE__ */ (0, D.jsx)(vte, {+ className: "size-4 shrink-0 text-foreground-icon-quaternary",+ "aria-hidden": !0+ })+ ]+ });+}+//#endregion+//#region src/react/boardui/components/base/input/hint-text.tsx+function _ne({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, D.jsx)(lne, {+ slot: e ? "errorMessage" : "description",+ ...n,+ className: _w("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 BO = (0, E.createContext)({});+function VO({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(BO.Provider, {+ value: {+ size: e,+ fieldClassName: t,+ inputClassName: n+ },+ children: /* @__PURE__ */ (0, D.jsx)(IO, {+ ...a,+ "data-input-size": e,+ className: _w("group flex h-max w-full flex-col items-start gap-1", r),+ children: i+ })+ });+}+VO.displayName = "TextField";+var HO = vw({+ field: [+ "relative flex w-full items-center",+ "rounded-2lg",+ "bg-background-tertiary-default text-foreground-icon-tertiary",+ "ring-2 ring-inset ring-transparent",+ "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"+ ].join(" "),+ fieldSize: {+ medium: "p-2",+ small: "h-8 px-1.5 py-2"+ },+ fieldWithAddonSize: {+ medium: "h-9 pl-1 pr-2 py-2",+ small: "h-8 pl-1 pr-1.5 py-2"+ },+ content: "flex w-full items-center gap-2 min-w-0",+ leftSection: "flex flex-1 items-center gap-0.5 min-w-0",+ input: [+ "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",+ "font-sans text-body-regular text-text-primary pl-1",+ "placeholder:text-text-tertiary",+ "focus:placeholder:text-text-primary",+ "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",+ "disabled:cursor-not-allowed",+ "aria-invalid:placeholder:text-text-error-placeholder"+ ].join(" "),+ icon: "size-5 shrink-0"+});+function UO({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, E.useContext)(BO), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, D.jsx)(mne, {+ ref: s,+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => _w(HO.field, d ? HO.fieldWithAddonSize[u] : HO.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, D.jsxs)("div", {+ className: HO.content,+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: HO.leftSection,+ children: [d ? r : t ? /* @__PURE__ */ (0, D.jsx)(t, {+ className: HO.icon,+ "aria-hidden": !0+ }) : null, /* @__PURE__ */ (0, D.jsx)(gne, {+ ref: o,+ ...c,+ className: _w(HO.input, l.inputClassName, a)+ })]+ }), n ? /* @__PURE__ */ (0, D.jsx)(n, {+ className: HO.icon,+ "aria-hidden": !0+ }) : null]+ })+ });+}+UO.displayName = "InputBase";+function WO({ 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, D.jsx)(VO, {+ ...d,+ className: u,+ "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ e && /* @__PURE__ */ (0, D.jsx)(zO, {+ isRequired: u,+ isInvalid: d,+ tooltip: n,+ children: e+ }),+ /* @__PURE__ */ (0, D.jsx)(UO, {+ ref: c,+ groupRef: l,+ placeholder: r,+ leadingIcon: i,+ trailingIcon: a,+ leadingAddon: o,+ fieldClassName: s+ }),+ t && /* @__PURE__ */ (0, D.jsx)(_ne, {+ isInvalid: d,+ children: t+ })+ ] })+ });+}+WO.displayName = "Input";+function GO(e) {+ return {+ x0: 0,+ y0: 0,+ x1: e.width,+ y1: e.height+ };+}+function KO(e) {+ return {+ x0: Math.round(e.x0),+ y0: Math.round(e.y0),+ x1: Math.round(e.x1),+ y1: Math.round(e.y1)+ };+}+function qO(e) {+ return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;+}+function JO(e, t) {+ if (!qO(e)) return {+ x0: 0,+ y0: 0,+ x1: 0,+ y1: 0+ };+ if (t == null || !(t > 0)) return GO(e);+ let n = e.width, r = n / t;+ r > e.height && (r = e.height, n = r * t);+ let i = (e.width - n) / 2, a = (e.height - r) / 2;+ return KO({+ x0: i,+ y0: a,+ x1: i + n,+ y1: a + r+ });+}+function vne(e, t) {+ if (!qO(e) || !(t > 0)) return GO(e);+ let n = Math.min(e.width, e.height * t);+ return KO({+ x0: e.width - n,+ y0: 0,+ x1: e.width,+ y1: e.height+ });+}+function yne(e, t, n) {+ if (!qO(t) || !(n > 0)) return GO(t);+ let r = YO(e, t), i = JO({+ width: r.x1 - r.x0,+ height: r.y1 - r.y0+ }, n);+ return {+ x0: r.x0 + i.x0,+ y0: r.y0 + i.y0,+ x1: r.x0 + i.x1,+ y1: r.y0 + i.y1+ };+}+function YO(e, t, n = null, r = "width") {+ if (!qO(t)) return {+ x0: 0,+ y0: 0,+ x1: 0,+ y1: 0+ };+ let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));+ n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));+ let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));+ return KO({+ x0: s,+ y0: c,+ x1: s + a,+ y1: c + o+ });+}+function XO(e, t, n, r) {+ let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));+ return KO({+ x0: o,+ y0: s,+ x1: o + i,+ y1: s + a+ });+}+function ZO(e, t, n, r = null) {+ if (!qO(n) || !(t > 0)) return e;+ let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;+ return YO({+ x0: i - o / 2,+ y0: a - s / 2,+ x1: i + o / 2,+ y1: a + s / 2+ }, n, r);+}+function bne(e, t, n, r, i = null) {+ let a = {+ x0: e.x0,+ y0: e.y0,+ x1: Math.max(e.x0 + 1, t),+ y1: Math.max(e.y0 + 1, n)+ };+ return YO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+}+function xne(e, t) {+ return qO(t) ? {+ left: e.x0 / t.width * 100,+ top: e.y0 / t.height * 100,+ width: (e.x1 - e.x0) / t.width * 100,+ height: (e.y1 - e.y0) / t.height * 100+ } : {+ left: 0,+ top: 0,+ width: 0,+ height: 0+ };+}+function Sne(e, t) {+ if (!qO(t)) return {+ size: "cover",+ position: "50% 50%"+ };+ let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0), i = (e, t, n) => t - n > 0 ? e / (t - n) * 100 : 0;+ return {+ size: `${t.width / n * 100}% ${t.height / r * 100}%`,+ position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`+ };+}+function Cne(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}%`,+ top: `${-e.y0 / r * 100}%`,+ width: `${t.width / n * 100}%`,+ height: `${t.height / r * 100}%`+ };+}+function QO(e, t, n) {+ return t > 0 ? e * n / t : 0;+}+//#endregion+//#region src/react/components/overlay-scrollbar.ts+function $O() {+ let e = (0, E.useRef)(null);+ return (0, E.useEffect)(() => {+ s(e.current);+ }), e;+}+//#endregion+//#region src/react/crop/crop-frame.tsx+var wne = .02, ek = 1.08;+function tk({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+ let s = (0, E.useRef)(null), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(!1);+ (0, E.useEffect)(() => {+ u(!1);+ }, [e]);+ let d = (0, E.useCallback)((e, t) => {+ let n = s.current;+ return !n || !r ? {+ dx: 0,+ dy: 0+ } : {+ dx: QO(e, n.clientWidth, r.width),+ dy: QO(t, n.clientHeight, r.height)+ };+ }, [r]);+ function f(e) {+ return (t) => {+ !n || !r || t.button !== 0 || (t.preventDefault(), t.stopPropagation(), t.currentTarget.setPointerCapture(t.pointerId), c.current = {+ mode: e,+ x: t.clientX,+ y: t.clientY,+ box: n+ });+ };+ }+ function p(e) {+ let n = c.current, a = s.current;+ if (!n || !a || !r) return;+ let o = d(e.clientX - n.x, e.clientY - n.y);+ if (n.mode === "move") {+ i(XO(n.box, o.dx, o.dy, r));+ return;+ }+ i(bne(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) * wne), o = {+ ArrowLeft: [-a, 0],+ ArrowRight: [a, 0],+ ArrowUp: [0, -a],+ ArrowDown: [0, a]+ };+ if (o[e.key]) {+ e.preventDefault(), i(XO(n, o[e.key][0], o[e.key][1], r));+ return;+ }+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(ZO(n, e.key === "-" ? 1 / ek : ek, r, t)));+ }+ let g = n && r ? xne(YO(n, r, t), r) : null, _ = g ? {+ "--crop-l": `${g.left}%`,+ "--crop-t": `${g.top}%`,+ "--crop-w": `${g.width}%`,+ "--crop-h": `${g.height}%`,+ "--crop-r": `${g.left + g.width}%`,+ "--crop-b": `${g.top + g.height}%`+ } : void 0;+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "relative inline-block max-w-full select-none",+ style: _,+ children: [+ /* @__PURE__ */ (0, D.jsx)("img", {+ ref: s,+ src: e,+ alt: "",+ draggable: !1,+ onLoad: (e) => {+ let t = e.currentTarget;+ qO({+ width: t.naturalWidth,+ height: t.naturalHeight+ }) && a({+ width: t.naturalWidth,+ height: t.naturalHeight+ });+ },+ onError: () => u(!0),+ className: "block max-h-crop-frame max-w-full object-contain"+ }),+ l || !g ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsx)("div", {+ "aria-hidden": !0,+ className: "pointer-events-none absolute inset-x-0 top-0 h-(--crop-t) bg-scrim"+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ "aria-hidden": !0,+ className: "pointer-events-none absolute inset-x-0 bottom-0 top-(--crop-b) bg-scrim"+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ "aria-hidden": !0,+ className: "pointer-events-none absolute left-0 top-(--crop-t) h-(--crop-h) w-(--crop-l) bg-scrim"+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ "aria-hidden": !0,+ className: "pointer-events-none absolute right-0 left-(--crop-r) top-(--crop-t) h-(--crop-h) bg-scrim"+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ role: "group",+ tabIndex: 0,+ "aria-label": o,+ "data-crop-box": !0,+ onPointerDown: f("move"),+ onPointerMove: p,+ onPointerUp: m,+ onPointerCancel: m,+ onKeyDown: h,+ onWheel: (e) => {+ !n || !r || i(ZO(n, e.deltaY > 0 ? ek : 1 / ek, r, t));+ },+ className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",+ children: /* @__PURE__ */ (0, D.jsx)("span", {+ "data-crop-handle": !0,+ onPointerDown: f("resize"),+ onPointerMove: p,+ onPointerUp: m,+ onPointerCancel: m,+ className: "absolute -right-1.5 -bottom-1.5 size-3 cursor-nwse-resize touch-none rounded-xs border border-separator-border bg-background-full"+ })+ })+ ] }),+ l ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "p-4 text-body-2-regular text-text-secondary",+ children: "这张图读不出来,换一张再框。"+ }) : null+ ]+ });+}+//#endregion+//#region src/react/avatar-picker/avatar-picker.ts+var Tne = "/api/avatar-choices", nk = "/api/avatar-pick", Ene = "/api/avatar-code-cover", Dne = "/avatar-choice", rk = (e, t) => [+ "avatar-choices",+ e,+ t+], ik = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, ak = (e, t, n) => `${Dne}${ik(e, t)}&ref=${encodeURIComponent(n)}`, One = (e, t, n) => ww(Tne + ik(e, t), n), kne = (e) => Tw(Ene, { code: e });+function ok(e, t, n) {+ let r = t.width === e.width && t.height === e.height;+ return e.focus && r ? yne(e.focus, t, n) : JO(t, n);+}+var Ane = (e) => e.crop && qO({+ width: e.width,+ height: e.height+});+async function jne(e, t, n) {+ if (!("file" in n)) {+ await Tw(nk, {+ kind: e,+ id: t,+ ...n+ });+ return;+ }+ let r = n.file, i = await fetch(`${nk}${ik(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);+}+function Mne(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 Nne = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function Pne(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Nne(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+}+var sk = (e) => e.cast > 1, Fne = (e) => sk(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Ine = {+ gfriends: "图库",+ history: "用过的",+ asset: "作品画面",+ code: "番号封面"+};+function Lne(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 Rne = (e) => `${Ine[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (sk(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), zne = 8, Bne = 3 / 4;+function Vne({ kind: e, entityId: t, name: n, onPicked: r }) {+ let [i, a] = (0, E.useState)(!1);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "absolute right-1 bottom-1 z-10",+ children: /* @__PURE__ */ (0, D.jsx)("button", {+ type: "button",+ "aria-haspopup": "dialog",+ "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, D.jsx)(ute, {+ "aria-hidden": !0,+ className: "size-4"+ })+ })+ }), /* @__PURE__ */ (0, D.jsx)(tD, {+ isOpen: i,+ onOpenChange: a,+ isDismissable: !0,+ className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",+ children: /* @__PURE__ */ (0, D.jsx)($E, {+ className: "flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown",+ children: /* @__PURE__ */ (0, D.jsx)(qE, {+ "aria-label": "更换头像",+ className: "flex min-h-0 flex-col outline-none",+ children: /* @__PURE__ */ (0, D.jsx)(Hne, {+ kind: e,+ entityId: t,+ name: n,+ onPicked: r,+ close: () => a(!1)+ })+ })+ })+ })] });+}+function Hne({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, E.useRef)(null), o = $O(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), h = rk(e, t), g = (0, E.useRef)(!1), _ = ft({+ queryKey: h,+ queryFn: ({ signal: n }) => One(e, t, n),+ retryOnMount: !0+ });+ (0, E.useEffect)(() => () => {+ g.current && Mw.removeQueries({ queryKey: rk(e, t) });+ }, [e, t]);+ let v = pt({+ mutationFn: (n) => jne(e, t, n),+ onSuccess: () => {+ g.current = !0, i(), r();+ }+ }), y = pt({+ mutationFn: (e) => kne(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 ? "" : Pne(x);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex shrink-0 items-start gap-4 p-5",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",+ children: /* @__PURE__ */ (0, D.jsx)(LS, { className: "size-6" })+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-1 flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(uT, {+ slot: "title",+ className: "text-title-3-semibold text-text-primary",+ children: p ? "框出头像那一块" : "更换头像"+ }), !p && S.length ? /* @__PURE__ */ (0, D.jsxs)(bw, {+ color: "soft",+ children: [S.length, " 张可选"]+ }) : null]+ }),+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: p ? Fne(p) : Mne(n, x)+ }),+ T ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "neutral",+ children: T+ }) : null,+ C ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: C+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, D.jsx)(RO, {+ icon: CS,+ size: "small",+ "aria-label": "关闭",+ onClick: i+ })+ ]+ }), p ? /* @__PURE__ */ (0, D.jsx)(Wne, {+ kind: e,+ entityId: t,+ choice: p,+ busy: v.isPending,+ back: () => m(null),+ confirm: (e, t) => {+ v.isPending || v.mutate({+ ref: e,+ crop: t+ });+ }+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "relative flex min-h-0 flex-1 flex-col",+ children: /* @__PURE__ */ (0, D.jsx)("div", {+ ref: o,+ className: "flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 py-4",+ children: /* @__PURE__ */ (0, D.jsx)("div", {+ role: "listbox",+ "aria-label": "候选头像",+ "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: zne }, (e, t) => /* @__PURE__ */ (0, D.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",+ children: [/* @__PURE__ */ (0, D.jsx)("span", { className: "relative block w-full aspect-avatar-choice skeleton-sheen" }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: "relative mx-auto w-2/3 rounded-sm skeleton-sheen",+ children: "\xA0"+ })]+ }, t)) : S.map((n) => /* @__PURE__ */ (0, D.jsxs)("button", {+ type: "button",+ role: "option",+ "data-avatar-choice": !0,+ "aria-selected": n.current,+ title: Rne(n),+ ...J(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, D.jsx)(Une, {+ src: ak(e, t, n.ref),+ choice: n+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "truncate px-1",+ children: n.label+ }),+ n.current ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "absolute top-1 left-1",+ children: /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: "gray",+ children: "在用"+ })+ }) : null,+ sk(n) ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "absolute top-1 right-1",+ children: /* @__PURE__ */ (0, D.jsxs)(bw, {+ variant: "caption",+ color: "gray",+ children: [n.cast, " 人"]+ })+ }) : null+ ]+ }, n.ref))+ })+ })+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex shrink-0 flex-col gap-3 border-t border-separator-border p-5",+ children: [/* @__PURE__ */ (0, D.jsxs)("form", {+ className: "flex min-w-0 items-center gap-2",+ onSubmit: (e) => {+ e.preventDefault(), l.trim() && !w && y.mutate(l.trim());+ },+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, D.jsx)(WO, {+ "aria-label": "番号",+ placeholder: "番号,如 ABW-232",+ value: l,+ onChange: u+ })+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ variant: "secondary",+ disabled: !l.trim(),+ ...J(y.isPending),+ children: "取封面来框"+ })]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: () => a.current?.click(),+ ...J(v.isPending),+ children: "从本机选图片"+ }),+ /* @__PURE__ */ (0, D.jsx)("input", {+ ref: a,+ type: "file",+ accept: "image/png,image/jpeg",+ tabIndex: -1,+ "aria-hidden": !0,+ className: "hidden",+ onChange: b+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-1 items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, D.jsx)(WO, {+ type: "url",+ "aria-label": "图片地址",+ placeholder: "https://…",+ value: s,+ onChange: c+ })+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ disabled: !s.trim(),+ ...J(v.isPending),+ onClick: () => {+ v.isPending || v.mutate({ url: s.trim() });+ },+ children: "用这个地址"+ })]+ })+ ]+ })]+ })] })] });+}+function Une({ src: e, choice: t }) {+ let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1);+ (0, E.useEffect)(() => {+ n.current?.complete && n.current.naturalWidth && i(!0);+ }, []);+ let a = {+ width: t.width,+ height: t.height+ }, o = Ane(t) ? Cne(ok(t, a, Bne), a) : null, s = r ? !0 : void 0;+ return /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "relative block w-full aspect-avatar-choice overflow-hidden",+ children: [/* @__PURE__ */ (0, D.jsx)("img", {+ ref: n,+ loading: "lazy",+ alt: "",+ src: e,+ "data-revealed": s,+ onLoad: () => i(!0),+ onError: () => i(!0),+ className: o ? "reveal-content absolute max-w-none top-(--tile-top) left-(--tile-left) h-(--tile-height) w-(--tile-width)" : "reveal-content absolute inset-0 size-full object-cover",+ style: o ? {+ "--tile-top": o.top,+ "--tile-left": o.left,+ "--tile-height": o.height,+ "--tile-width": o.width+ } : void 0+ }), /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ "data-revealed": s,+ className: "reveal-skeleton pointer-events-none absolute inset-0 skeleton-sheen"+ })]+ });+}+function Wne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = ak(e, t, s), m = $O();+ function h(e) {+ c(e), u(null), f(null);+ }+ let g = d && l ? Sne(d, l) : null;+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ ref: m,+ className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",+ children: [/* @__PURE__ */ (0, D.jsx)(tk, {+ src: p,+ aspect: 1,+ box: d,+ size: l,+ label: `${n.label} 的头像取景框`,+ onSize: (e) => {+ u(e), qO(e) && f(s === n.ref ? ok(n, e, 1) : JO(e, 1));+ },+ onBox: f+ }), o.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {+ role: "radiogroup",+ "aria-label": "底图",+ className: "flex flex-wrap justify-center gap-2",+ children: o.map((e) => /* @__PURE__ */ (0, D.jsx)("button", {+ type: "button",+ role: "radio",+ "aria-checked": e === s,+ "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: Lne(e)+ }, e))+ }) : null]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ "data-crop-preview": !0,+ className: "size-crop-preview shrink-0 rounded-full border border-separator-border bg-background-secondary-default bg-(image:--crop-preview) bg-(position:--crop-preview-at) bg-(length:--crop-preview-size) bg-no-repeat",+ style: g ? {+ "--crop-preview": `url("${p}")`,+ "--crop-preview-size": g.size,+ "--crop-preview-at": g.position+ } : void 0+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-1 flex-wrap items-center justify-end gap-3",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: i,+ ...J(r),+ children: "回候选"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ disabled: !d || !l,+ ...J(r),+ onClick: () => {+ d && !r && a(s, d);+ },+ children: "用这一块"+ })]+ })]+ })] });+}+//#endregion+//#region src/react/boardui/components/base/switch/switch.tsx+var Gne = vw({+ sm: {+ track: "h-4 w-7",+ trackRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[3px]"+ },+ onShadow: "shadow-[inset_0_1px_0_0_rgb(255_255_255/0.25),inset_0_0_0_0.5px_var(--color-accent-500)]",+ thumb: "size-3",+ thumbRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[1px]"+ },+ offset: "left-0.5 top-0.5",+ travel: "translate-x-3",+ chip: "size-[5px] border-[0.25px] shadow-[0_2px_2px_0_rgb(0_0_0/0.03)]",+ chipRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[0.5px]"+ }+ },+ md: {+ track: "h-6 w-[42px]",+ trackRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[4.5px]"+ },+ onShadow: "shadow-[inset_0_1.5px_0_0_rgb(255_255_255/0.25),inset_0_0_0_0.75px_var(--color-accent-500)]",+ thumb: "size-[18px]",+ thumbRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[1.5px]"},- conflictingClassGroupModifiers: { "font-size": ["leading"] },- postfixLookupClassGroups: ["container-type"],- orderSensitiveModifiers: [- "*",- "**",- "after",- "backdrop",- "before",- "details-content",- "file",- "first-letter",- "first-line",- "marker",- "placeholder",- "selection"- ]+ offset: "left-[3px] top-[3px]",+ travel: "translate-x-[18px]",+ chip: "size-[7.5px] border-[0.375px] shadow-[0_3px_3px_0_rgb(0_0_0/0.03)]",+ chipRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[0.75px]"+ }+ },+ lg: {+ track: "h-8 w-14",+ trackRadius: {+ pill: "rounded-full",+ rectangle: "rounded-md"+ },+ onShadow: "shadow-checkbox-selected",+ thumb: "size-6",+ thumbRadius: {+ pill: "rounded-full",+ rectangle: "rounded-xs"+ },+ offset: "left-1 top-1",+ travel: "translate-x-6",+ chip: "size-[10px] border-[0.5px] shadow-[0_4px_4px_0_rgb(0_0_0/0.03)]",+ chipRadius: {+ pill: "rounded-full",+ rectangle: "rounded-[1px]"+ }+ }+});+function Kne({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = Gne[t];+ return /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: _w("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? _w("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, D.jsx)("span", {+ className: _w("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, D.jsx)("span", { className: _w("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ })+ });+}+function ck({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(ED, {+ ref: i,+ ...a,+ className: (t) => _w("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Kne, {+ state: e,+ size: n,+ shape: r+ }), t != null && t !== !1 && /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-medium text-text-primary",+ children: t+ })] })+ });+}+//#endregion+//#region src/react/components/overlay-host.ts+function qne(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 Jne(e) {+ let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");+ return qne(n ?? t.body);+}+//#endregion+//#region src/react/cover-crop/cover-crop.ts+var Yne = "/api/cover-crop", Xne = (e, t) => Tw(Yne, {+ code: e,+ box: t+}), lk = .704;+function uk({ className: e }) {+ return /* @__PURE__ */ (0, D.jsx)("svg", {+ "aria-hidden": !0,+ viewBox: "0 0 24 24",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: 2,+ strokeLinecap: "round",+ strokeLinejoin: "round",+ className: e,+ children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-crop" })+ });+}+function Zne({ code: e, coverUrl: t, box: n, onSaved: r }) {+ let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {+ ref: o,+ type: "button",+ "aria-haspopup": "dialog",+ "data-cover-crop": !0,+ "aria-label": `裁剪 ${e} 的封面`,+ title: "裁剪封面:框出正封那一块",+ 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, D.jsx)(uk, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, D.jsx)(Yv, {+ getContainer: () => Jne(o.current),+ children: /* @__PURE__ */ (0, D.jsx)(tD, {+ isOpen: i,+ onOpenChange: a,+ isDismissable: !0,+ className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",+ children: /* @__PURE__ */ (0, D.jsx)($E, {+ className: "flex max-h-full w-full max-w-cover-crop flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown",+ children: /* @__PURE__ */ (0, D.jsx)(qE, {+ "aria-label": "裁剪封面",+ className: "flex min-h-0 flex-col outline-none",+ children: /* @__PURE__ */ (0, D.jsx)(Qne, {+ code: e,+ coverUrl: t,+ box: n,+ onSaved: r,+ close: () => a(!1)+ })+ })+ })+ })+ })] });+}+function Qne({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = $O(), f = pt({+ mutationFn: (t) => Xne(e, t),+ onSuccess: () => {+ i(), r();+ }+ });+ function p(e) {+ o(e);+ let t = n && n.px?.[0] === e.width && n.px?.[1] === e.height ? {+ x0: n.x0,+ y0: n.y0,+ x1: n.x1,+ y1: n.y1+ } : vne(e, lk);+ c(YO(t, e, null));+ }+ let m = f.isPending;+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex shrink-0 items-start gap-4 p-5",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",+ children: /* @__PURE__ */ (0, D.jsx)(uk, { className: "size-6" })+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-1 flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(uT, {+ slot: "title",+ className: "text-title-3-semibold text-text-primary",+ children: "裁剪封面"+ }),+ /* @__PURE__ */ (0, D.jsxs)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]+ }),+ f.error ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: K(f.error)+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, D.jsx)(RO, {+ icon: CS,+ size: "small",+ "aria-label": "关闭",+ onClick: i+ })+ ]+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ ref: d,+ className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",+ children: /* @__PURE__ */ (0, D.jsx)(tk, {+ src: t,+ aspect: l ? lk : null,+ box: s,+ size: a,+ label: `${e} 的正封取景框`,+ onSize: (e) => {+ qO(e) && p(e);+ },+ onBox: c+ })+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",+ children: [/* @__PURE__ */ (0, D.jsx)(ck, {+ isSelected: l,+ onChange: (e) => {+ u(e), e && s && a && c(YO(s, a, lk));+ },+ children: /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: "锁定正封比例"+ })+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-1 flex-wrap items-center justify-end gap-3",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ ...J(m),+ onClick: () => {+ m || f.mutate(null);+ },+ children: "恢复默认"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ disabled: !s || !a,+ ...J(m),+ onClick: () => {+ s && !m && f.mutate(s);+ },+ children: "用这一块"+ })]+ })]+ })+ ] });+}+//#endregion+//#region src/follow-sort.ts+var dk = [+ ["checked", "检查时间"],+ ["added", "添加时间"],+ ["name", "创作者名称"],+ ["sources", "来源数量"],+ ["source", "来源名称"],+ ["provider", "站点"],+ ["status", "状态"]+], $ne = "checked", fk = {+ checked: "desc",+ added: "desc",+ name: "asc",+ sources: "desc",+ source: "asc",+ provider: "asc",+ status: "asc"+}, ere = (e) => dk.some(([t]) => t === e);+function pk(e, t) {+ let n = ere(e) ? e : $ne;+ return {+ sort: n,+ dir: t === "asc" || t === "desc" ? t : fk[n]};-}, Jm = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Ym(e, "cacheSize", t), Ym(e, "prefix", n), Ym(e, "experimentalParseClassName", r), Xm(e.theme, a.theme), Xm(e.classGroups, a.classGroups), Xm(e.conflictingClassGroups, a.conflictingClassGroups), Xm(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Ym(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Ym(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Zm(e.theme, i.theme), Zm(e.classGroups, i.classGroups), Zm(e.conflictingClassGroups, i.conflictingClassGroups), Zm(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Qm(e, i, "postfixLookupClassGroups"), Qm(e, i, "orderSensitiveModifiers"), e), Ym = (e, t, n) => {- n !== void 0 && (e[t] = n);-}, Xm = (e, t) => {- if (t) for (let n in t) Ym(e, n, t[n]);-}, Zm = (e, t) => {- if (t) for (let n in t) Qm(e, t, n);-}, Qm = (e, t, n) => {- let r = t[n];- r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, $m = (e, ...t) => typeof e == "function" ? $p(qm, e, ...t) : $p(() => Jm(qm(), e), ...t), eh = [- "large-title",- "display-1",- "display-2",- "display-3",- "display-4",- "title-1",- "title-2",- "title-3",- "headline",- "body",- "body-2",- "caption-1",- "caption-2"-], th = [- "regular",- "medium",- "semibold",- "bold"-], nh = $m({ extend: { classGroups: { "font-size": [{ text: eh.flatMap((e) => th.map((t) => `${e}-${t}`)) }] } } });-function rh(e) {- return e;+}+function mk(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;+ return !o && s ? [+ ...r(1, 3 + 2 * n),+ "…",+ t+ ] : o && !s ? [+ 1,+ "…",+ ...r(t - (2 + 2 * n), t)+ ] : [+ 1,+ "…",+ ...r(i, a),+ "…",+ t+ ];+}+function hk(e, t) {+ return Math.max(1, Math.ceil(e / t));+}+function gk(e, t) {+ return Math.min(Math.max(1, Math.floor(e) || 1), t);}//#endregion-//#region src/react/boardui/components/base/badges/chip.tsx-var ih = rh({- 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",- subtle: "py-1 text-body-medium",- caption: "py-1 text-caption-1-medium"- },- color: {- lime: "bg-status-lime-background text-status-lime-text",- rose: "bg-status-rose-background text-status-rose-text",- yellow: "bg-status-yellow-background text-status-yellow-text",- cyan: "bg-status-cyan-background text-status-cyan-text",- blue: "bg-status-blue-background text-status-blue-text",- purple: "bg-status-purple-background text-status-purple-text",- neutral: "bg-background-tertiary-default text-text-secondary",- gray: "bg-background-secondary-default text-text-primary",- soft: "bg-background-secondary-default text-text-secondary"- }-});-function ah({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {- return /* @__PURE__ */ (0, D.jsx)("span", {- ref: r,- className: nh(ih.base, ih.variant[e], ih.color[t], n),- ...i- });+//#region src/react/time.ts+function _k(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);+ let r = (e) => String(e).padStart(2, "0");+ return `${n.getFullYear()}-${r(n.getMonth() + 1)}-${r(n.getDate())} ${r(n.getHours())}:${r(n.getMinutes())}`;}//#endregion-//#region src/react/boardui/components/base/buttons/button.tsx-var oh = rh({- base: [- "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",- "font-sans select-none cursor-pointer",- "button-press-motion",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed"- ].join(" "),- size: {- medium: "h-9 rounded-2lg p-2 text-body-medium",- small: "h-8 rounded-lg px-2 py-1.5 text-body-medium",- xs: "h-6 rounded-sm px-2 text-caption-1-semibold"- },- iconOnlySize: {- medium: "",- small: "size-8 p-0",- xs: "size-6 p-0"- },- icon: {- medium: "size-5 shrink-0",- small: "size-[18px] shrink-0",- xs: "size-3.5 shrink-0"- },- label: {- medium: "inline-flex items-center justify-center px-1 shrink-0",- small: "inline-flex items-center justify-center px-0.5 shrink-0",- xs: "inline-flex items-center justify-center px-0.5 shrink-0"- },- variant: {- primary: [- "bg-button-primary text-text-white shadow-xs",- "disabled:text-button-primary-disabled-foreground disabled:shadow-none",- "aria-disabled:text-button-primary-disabled-foreground aria-disabled:shadow-none"- ].join(" "),- danger: [- "bg-button-danger text-text-white shadow-xs",- "disabled:text-foreground-disabled-danger disabled:shadow-none",- "aria-disabled:text-foreground-disabled-danger aria-disabled:shadow-none"- ].join(" "),- secondary: [- "bg-background-primary-default text-text-primary",- "border border-border-button-default shadow-xs",- "hover:bg-background-primary-hover hover:border-border-button-hover",- "active:bg-background-primary-active active:border-border-button-active",- "disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-text-tertiary disabled:shadow-none",- "aria-disabled:bg-background-primary-disabled aria-disabled:border-border-button-default aria-disabled:text-text-tertiary aria-disabled:shadow-none"- ].join(" "),- ghost: [- "bg-button-ghost-background text-button-ghost-foreground",- "hover:bg-button-ghost-hover active:bg-button-ghost-active",- "disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none",- "aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none"- ].join(" ")- }-});-function K({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {- return /* @__PURE__ */ (0, D.jsxs)("button", {- ref: c,- type: s,- className: nh(oh.base, oh.size[t], oh.variant[e], n && oh.iconOnlySize[t], o),- ...l,- children: [- r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: oh.icon[t],- "aria-hidden": !0- }) : null,- !n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: oh.label[t],- children: a- }),- !n && i ? /* @__PURE__ */ (0, D.jsx)(i, {- className: oh.icon[t],- "aria-hidden": !0- }) : null- ]- });+//#region src/react/follow-manage/follow-manage.ts+var vk = "/api/follow", tre = "/api/follow/credentials", yk = "/api/follow/check", bk = "/api/follow/source", xk = "/api/follow/resolve", nre = "/api/follow/suggest", Sk = "/api/follow/author-alias", rre = "/api/follow/credential", ire = "/api/follow/status", are = "/api/feeds", Ck = "/api/feeds/source", ore = "/api/feeds/check", wk = ["follow-manage"], Tk = ["follow-manage", "credentials"], sre = ["follow-manage", "check"], cre = ["follow-manage", "resolve"], Ek = ["follow-manage", "feeds"], lre = (e) => [+ "follow-manage",+ "suggest",+ e+], Dk = [["default", "默认视图"], ["table", "表格视图"]], Ok = [+ 10,+ 20,+ 50,+ 100+], ure = Object.fromEntries(dk), kk = {+ author: "name",+ source: "source",+ provider: "provider",+ status: "status",+ checked: "checked"+}, dre = (e) => Dk.some(([t]) => t === e), fre = (e) => Ok.includes(Number(e)) ? Number(e) : 20, pre = {+ checked: ["从近到远", "从远到近"],+ added: ["从近到远", "从远到近"],+ name: ["倒序", "正序"],+ sources: ["从多到少", "从少到多"],+ source: ["倒序", "正序"],+ provider: ["倒序", "正序"],+ status: ["倒序", "正序"]+}, mre = (e, t) => `按${ure[e]}${pre[e][t === "asc" ? 0 : 1]}排序`;+function Ak(e) {+ let t = e.last_status;+ return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;}-function sh({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {- return /* @__PURE__ */ (0, D.jsxs)("a", {- ref: s,- className: nh(oh.base, oh.size[t], oh.variant[e], n && oh.iconOnlySize[t], o),- ...c,- children: [- r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: oh.icon[t],- "aria-hidden": !0- }) : null,- !n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: oh.label[t],- children: a- }),- !n && i ? /* @__PURE__ */ (0, D.jsx)(i, {- className: oh.icon[t],- "aria-hidden": !0- }) : null- ]- });+function hre(e) {+ return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";}-//#endregion-//#region src/api.ts-var ch = class extends Error {- status;- body;- constructor(e, t, n = null) {- super(i(e, t)), this.name = "ApiError", this.status = t, this.body = n;+var jk = (e) => e.last_status === "error" || e.last_status === "unauthorized", Mk = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), Nk = {+ source: Mk,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Mk(e, t),+ status: (e, t) => Ak(e) - Ak(t) || Mk(e, t)+}, Pk = (e) => Date.parse(e || "") || 0, Fk = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function Ik(e, t = []) {+ if (!e.length) return "";+ let n = (e) => String(e.author_name || "").trim() || Fk(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 Fk(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);+ if (!o.length) return e[0].label || e[0].ref || "";+ let s = (e) => (e.match(/[A-Z]/g) || []).length;+ return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);+}+function gre(e) {+ let t = e.trim().match(/[A-Za-z0-9]/);+ return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();+}+function _re(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 Lk(e) {+ let t = [], n = /* @__PURE__ */ new Map();+ for (let r of e) {+ let e = r.author_key || `source:${r.id}`;+ n.has(e) || (n.set(e, []), t.push(e)), n.get(e).push(r);}-}, lh = (e) => {- if (!e || typeof e != "object") return "";- let t = e;- for (let e of [- "message",- "detail",- "error"- ]) {- let n = t[e];- if (typeof n == "string" && n) return n;+ return t.map((e) => n.get(e));+}+function vre(e, t, n, r = []) {+ let i = Lk(e), a = n === fk[t] ? 1 : -1, o = (e) => Ik(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Nk[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));}- return "";-}, q = (e) => i(e);-async function uh(e, t) {- let n = await fetch(e, {- headers: { Accept: "application/json" },- credentials: "same-origin",- ...t ? { signal: t } : {}- }), r = null;- try {- r = await n.json();- } catch {}- if (!n.ok) throw new ch(lh(r) || `请求失败(${n.status})`, n.status);+ let l = (e) => Math.max(...e.map((e) => Pk(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Pk(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 yre(e, t, n, r = []) {+ let i = e.flatMap((e) => {+ let t = Ik(e, r);+ return e.map((n) => ({+ source: n,+ group: e,+ author: t+ }));+ }), a = Nk[t];+ if (a) {+ let e = n === fk[t] ? 1 : -1;+ i.sort((t, n) => e * a(t.source, n.source));+ }+ return i;+}+function bre(e, t, n) {+ let r = hk(e, t), i = gk(n, r), a = (i - 1) * t;+ return {+ page: i,+ pages: r,+ total: e,+ start: a,+ end: Math.min(a + t, e)+ };+}+function xre(e, t) {+ let n = new Set(t.map((e) => e.id));+ return new Set([...e].filter((e) => n.has(e)));+}+function Rk(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 zk(e, t, n) {+ let r = new Set(e);+ for (let e of t) n ? r.add(e) : r.delete(e);return r;}-async function J(e, t, n = "POST", r) {- let i = await fetch(e, {- method: n,- ...r ? { signal: r } : {},- headers: {- Accept: "application/json",- "Content-Type": "application/json"- },- credentials: "same-origin",- body: JSON.stringify(t)- }), a = null;- try {- a = await i.json();- } catch {}- if (!i.ok) throw new ch(lh(a) || `请求失败(${i.status})`, i.status, a);- return a;+var Bk = (e) => ww(`${vk}?limit=1`, e), Vk = (e) => ww(tre, e), Sre = (e) => ww(yk, e), Cre = (e) => ww(xk, e), wre = (e, t) => ww(`${nre}?q=${encodeURIComponent(e)}`, t), Hk = (e) => Tw(yk, {+ ...e?.length ? { sources: e } : {},+ background: !0+}), Tre = (e) => Tw(xk, {+ lines: e,+ background: !0+}), Ere = (e, t) => Tw(bk, {+ action: "enabled",+ id: e,+ enabled: t+}), Uk = (e) => Tw(bk, {+ action: "remove",+ id: e+}), Dre = (e) => Tw(bk, {+ action: "add",+ url: e.url,+ label: e.label,+ author: e.author || "",+ aliases: e.aliases || [],+ defer_check: !0+}), Wk = (e, t) => Tw(Sk, {+ action: "add",+ canonical: e,+ alias: t+}), Ore = (e) => Tw(Sk, {+ action: "remove",+ alias: e+}), kre = (e, t) => Tw(rre, {+ provider: e,+ values: t+}), Are = (e, t) => Tw(ire, {+ item: e,+ to: t+}), jre = () => ww(`${vk}?status=new&limit=1000`);+async function Gk(e) {+ let t = await ww(are, e);+ if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");+ return t;}-//#endregion-//#region src/react/components/card.tsx-var dh = "min-w-0", fh = {- filled: "bg-background-secondary-default",- outlined: "border border-separator-border bg-background-primary-default",- raised: "bg-background-primary-default"-}, ph = {- default: "rounded-2xl shadow-card",- chart: "rounded-2-5xl",- surface: "rounded-surface"-}, mh = {- line: "border border-border-button-default",- soft: "border border-separator-border"-}, hh = {- none: "",- default: "p-5"-}, gh = "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", _h = "data-selected:bg-background-primary-default data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring";-function vh(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 [- dh,- fh[t],- ph[s],- hh[n],- a ? mh[a] : "",- r ? gh : "",- i ? _h : "",- o ?? ""- ].filter(Boolean).join(" ");+var Mre = (e, t, n) => Tw(Ck, {+ action: "enabled",+ id: e,+ enabled: t+}, "POST", n), Nre = (e, t) => Tw(Ck, {+ action: "remove",+ id: e+}, "POST", t), Pre = (e) => Tw(ore, { all: !0 }, "POST", e);+async function Fre(e, t = "") {+ await Promise.all([+ Mw.fetchQuery({+ queryKey: wk,+ queryFn: () => Bk(e)+ }),+ Mw.fetchQuery({+ queryKey: Tk,+ queryFn: () => Vk(e)+ }),+ t === "feeds" ? Mw.fetchQuery({+ queryKey: Ek,+ queryFn: () => Gk(e)+ }) : null+ ]);}-//#endregion-//#region src/react/components/empty-state.tsx-var yh = {- page: "rounded-2xl border border-separator-border 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 bh({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: `flex flex-col items-center gap-2 text-center ${yh[i]}`,- children: [- /* @__PURE__ */ (0, D.jsx)(e, {- "aria-hidden": !0,- className: "size-6 text-text-tertiary"- }),- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-headline-medium text-text-primary",- children: t- }),- /* @__PURE__ */ (0, D.jsx)("p", {- className: "max-w-prose text-body-2-regular text-text-secondary",- children: r- }),- n ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "mt-2 flex flex-wrap justify-center gap-2",- children: n- }) : null- ]+function Ire(e, t) {+ Mw.setQueryData(wk, (n) => n && {+ ...n,+ sources: n.sources.map((n) => n.id === e ? {+ ...n,+ ...t+ } : n)});}-//#endregion-//#region src/react/components/loading-dots.tsx-function xh({ label: e }) {- return /* @__PURE__ */ (0, D.jsxs)("p", {- role: "status",- className: "flex items-center gap-2 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, D.jsxs)("span", {- "aria-hidden": !0,- className: "inline-flex items-center gap-1",- children: [- /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-0 size-1 rounded-full bg-current" }),- /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-1 size-1 rounded-full bg-current" }),- /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-2 size-1 rounded-full bg-current" })- ]- }), e]+function Kk(e) {+ let t = new Set(e);+ Mw.setQueryData(wk, (e) => e && {+ ...e,+ sources: e.sources.filter((e) => !t.has(e.id))});}-//#endregion-//#region src/react/components/note.tsx-function Y({ tone: e, title: t, action: n, extra: r, children: i }) {- let a = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-1 flex-col gap-0.5",- children: [t ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-medium",- children: t- }) : null, /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular",- children: i+var qk = () => Mw.invalidateQueries({+ queryKey: wk,+ exact: !0+});+function Lre(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 Rre = (e) => (e?.results || []).filter((e) => !e.ok), zre = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Jk = (e) => e.last_checked_at ? _k(e.last_checked_at) : "未检查", Bre = /* @__PURE__ */ new Set([+ "fanbox",+ "patreon",+ "subscribestar",+ "kemono",+ "coomer",+ "pawchive",+ "rule34video",+ "rule34xxx",+ "rule34paheal",+ "gofile",+ "f95zone",+ "simpcity"+]), Vre = (e) => Bre.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Hre = {+ required: "需要",+ optional: "可选",+ none: "不需要",+ blocked: "接不进来"+}, Yk = (e) => !!e.present && !e.missing.length, Xk = "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", Zk = "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", Ure = [+ "text-chart-6",+ "text-chart-5",+ "text-chart-7",+ "text-chart-8"+], Wre = [+ "bg-chart-6/10",+ "bg-chart-5/10",+ "bg-chart-7/10",+ "bg-chart-8/10"+];+function Qk(e = {}) {+ return `${Ew({+ ...e,+ padding: "none"+ })} flex flex-col overflow-hidden pt-4 text-left`;+}+var $k = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";+function eA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.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, D.jsx)("i", {+ "aria-hidden": !0,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Ure[n % 4]} ${Wre[n % 4]}`,+ children: /* @__PURE__ */ (0, D.jsx)(t, {+ "aria-hidden": !0,+ className: "size-4"+ })+ }) : null, /* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 truncate",+ children: e})]- }), n]- }), r] });- switch (e) {- case "info": return /* @__PURE__ */ (0, D.jsx)("div", {- role: "status",- className: "flex flex-col gap-0.5 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground",- children: a- });- case "success": return /* @__PURE__ */ (0, D.jsx)("div", {- role: "status",- className: "flex flex-col gap-0.5 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground",- children: a- });- case "warning": return /* @__PURE__ */ (0, D.jsx)("div", {- role: "note",- className: "flex flex-col gap-0.5 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text",- children: a- });- case "error": return /* @__PURE__ */ (0, D.jsx)("div", {- role: "alert",- className: "flex flex-col gap-0.5 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary",- children: a- });- default: return /* @__PURE__ */ (0, D.jsx)("div", {- role: "note",- className: "flex flex-col gap-0.5 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary",- children: a- });- }+ }),+ /* @__PURE__ */ (0, D.jsx)("b", {+ className: "px-4 pt-3 pb-4 text-title-1-medium tabular-nums text-text-primary max-sm:px-3 max-sm:pb-3",+ children: r+ }),+ /* @__PURE__ */ (0, D.jsx)("small", {+ className: "mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular text-text-secondary max-sm:px-3 max-sm:py-2",+ children: i+ })+ ] });}//#endregion-//#region src/react/components/page.tsx-function Sh({ children: e }) {- return /* @__PURE__ */ (0, D.jsx)("div", {- className: "mx-auto flex w-full max-w-board flex-col gap-8",- children: e+//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx+var tA = {+ md: {+ box: "size-4",+ glyph: "size-4",+ label: "text-body-medium",+ gap: "gap-2"+ },+ sm: {+ box: "size-3.5",+ glyph: "size-3.5",+ label: "text-body-2-medium",+ gap: "gap-1.5"+ }+};+function nA({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tA[t], c = n || r, l = o && !a;+ return /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: _w("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? _w("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : _w("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, D.jsx)("svg", {+ viewBox: "0 0 16 16",+ fill: "none",+ className: s.glyph,+ children: r ? /* @__PURE__ */ (0, D.jsx)("path", {+ d: "M4.5 8H8H11.5",+ stroke: "white",+ strokeWidth: "2",+ strokeLinecap: "round"+ }) : n ? /* @__PURE__ */ (0, D.jsx)("path", {+ d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",+ stroke: "white",+ strokeWidth: "2",+ strokeLinecap: "round",+ strokeLinejoin: "round",+ pathLength: 1,+ className: "animate-check-draw"+ }) : null+ })});}//#endregion-//#region src/react/components/progress.tsx-function Ch({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = Math.min(Math.max(t, 0), n);- return /* @__PURE__ */ (0, D.jsxs)("svg", {- role: "progressbar",- "aria-label": e,- "aria-valuemin": 0,- "aria-valuemax": n,- "aria-valuenow": t,- viewBox: `0 0 ${n} 1`,- preserveAspectRatio: "none",- className: "h-1.5 w-full overflow-hidden rounded-full",- children: [- /* @__PURE__ */ (0, D.jsx)("rect", {- width: n,- height: 1,- className: "fill-background-tertiary-default"- }),- /* @__PURE__ */ (0, D.jsx)("rect", {- width: i,- height: 1,- className: "fill-border-focus-ring"- }),- r.map((e) => /* @__PURE__ */ (0, D.jsx)("rect", {- x: e,- width: .4,- height: 1,- className: "fill-background-secondary-default"- }, e))- ]+//#region src/react/boardui/components/base/checkbox/checkbox.tsx+function rA({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = tA[n];+ return /* @__PURE__ */ (0, D.jsx)(fne, {+ ref: r,+ ...i,+ className: (t) => _w("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(nA, {+ state: e,+ size: n+ }), t != null && /* @__PURE__ */ (0, D.jsx)("span", {+ className: _w(a.label, "text-text-primary"),+ children: t+ })] })});}//#endregion-//#region src/react/settings/use-action.ts-function wh(e = "") {- let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(""), [i, a] = (0, E.useState)(e);- (0, E.useEffect)(() => () => t.current?.abort(), []);- async function o(e, n, i, o) {- if (t.current) return;- let s = new AbortController();- t.current = s, r(e), a("");- try {- let e = await n(s.signal);- s.signal.aborted || i(e);- } catch (e) {- if (s.signal.aborted) return;- o ? o(e) : a(q(e));- } finally {- t.current === s && (t.current = null), s.signal.aborted || r("");+//#region src/react/boardui/components/base/dropdown/menu-styles.ts+var iA = [+ "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",+ "data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",+ "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(" "), Gre = "w-[266px]", Kre = "flex w-full flex-col gap-1 outline-none", aA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), oA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", sA = 2e3, qre = (e) => e, Jre = (e, t) => t;+function cA(e) {+ let { queryKey: t, jobOf: n = qre, withJob: r = Jre, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);+ (0, E.useEffect)(() => {+ l.current = e;+ });+ let u = ft({+ 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" ? sA : i ?? !1;}- }- return {- run: o,- busy: n,- error: i,- setError: a+ }), d = pt({+ mutationFn: (e) => l.current.start(e),+ onSuccess: (e) => {+ o(!0), c(null), l.current.onStarted?.(e), Mw.setQueryData(t, (t) => r(t, e)), Mw.invalidateQueries({+ queryKey: t,+ exact: !0+ });+ },+ onError: (e) => l.current.onError?.(e)+ }), f = u.data === void 0 ? void 0 : n(u.data), p = f?.status === "running";+ return (0, E.useEffect)(() => {+ if (f) {+ if (f.status === "running") {+ a || o(!0);+ return;+ }+ a && (o(!1), c(f), l.current.onFinish?.(f));+ }+ }, [f, a]), {+ query: u,+ job: f,+ running: p,+ outcome: s,+ start: d,+ dismiss: () => c(null)};}-function X(e) {- return e ? {- "aria-busy": !0,- "aria-disabled": !0- } : {};-}//#endregion-//#region src/react/query.ts-var Th = new tt({ defaultOptions: { queries: {- networkMode: "always",- retry: 0,- refetchOnWindowFocus: !1,- refetchOnMount: !1,- retryOnMount: !1-} } }), Eh = "/api/tasks", Dh = ["tasks"], Oh = (e, t) => uh(`${Eh}?${new URLSearchParams({- before_finished_at: e.finished_at || "",- before_id: String(e.id)-})}`, t);-function kh(...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) => {- let n = e.finished_at || "", r = t.finished_at || "";- return n === r ? t.id - e.id : n < r ? 1 : -1;+//#region src/react/boardui/components/application/settings/settings-rows.tsx+function lA({ className: e, children: t }) {+ return /* @__PURE__ */ (0, D.jsx)("div", {+ className: _w("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ children: t});}-var Ah = 2e3, jh = 1e4, Mh = (e) => e?.running.length ? Ah : jh, Nh = (e) => uh(Eh, e);-async function Ph(e) {- await Th.fetchQuery({- queryKey: Dh,- queryFn: () => Nh(e)+function uA({ className: e, children: t }) {+ return /* @__PURE__ */ (0, D.jsx)("p", {+ className: _w("w-full px-3 text-body-2-medium text-text-secondary", e),+ children: t});}-var Fh = {- manual: "手动",- scheduled: "定时",- startup: "启动",- cli: "命令行"-}, Ih = {- pending: "排队中",- running: "进行中",- succeeded: "已完成",- failed: "失败",- cancelled: "已取消",- interrupted: "被打断"-}, Lh = (e) => Ih[e] || e, Rh = {- checked: "已检查",- total: "总数",- scanned: "已扫描",- identified: "已识别",- candidates: "资料候选",- covers: "封面",- changed: "已改动",- operation: "操作",- ok: "取得",- miss: "未取得",- kept: "保留",- planned: "计划",- done: "已处理",- added: "新增",- written: "已写入",- removed: "已移除",- exit_code: "退出码",- issue_count: "问题",- followups: "派出后继",- followups_duplicate: "已在排队",- followups_truncated: "超上限未派",- followups_depth_exceeded: "超深度未派",- outcome: "结果",- name: "实体",- matched: "图库命中",- size: "尺寸",- source: "来源",- cover_network: "封面连不上图片主机"-};-function zh(e) {- let t = /* @__PURE__ */ new Map();- for (let n of e) {- if (!n.followup_key || n.parent_run_id == null) continue;- let e = t.get(n.parent_run_id);- e ? e.push(n) : t.set(n.parent_run_id, [n]);- }- return t;-}-function Bh(e, t) {- let n = [], r = /* @__PURE__ */ new Map();- for (let i of e) {- if (!t(i)) {- r = /* @__PURE__ */ new Map(), n.push({- run: i,- runs: [i]- });- continue;- }- let e = r.get(i.task_key);- if (e) e.runs.push(i);- else {- let e = {- run: i,- runs: [i]- };- r.set(i.task_key, e), n.push(e);- }- }- return n;-}-var Vh = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Hh = (e) => e.status === "pending" || e.status === "running";-function Uh(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 || qh(e.result_summary) || (Hh(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");-}-function Wh(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 Gh(e) {- if (!e) return "";- let t = new Date(e);- return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {- month: "2-digit",- day: "2-digit",- hour: "2-digit",- minute: "2-digit"+function dA({ label: e, description: t, children: n }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: _w("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, D.jsxs)("div", {+ className: "flex min-w-0 flex-col",+ children: [/* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-regular text-text-primary",+ children: e+ }), t && /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: t+ })]+ }), n]});}-var Kh = /* @__PURE__ */ new Set([- "blocked_by",- "status",- "run_id",- "request_id",- "started_at",- "completed_at",- "finished_at"-]);-function qh(e) {- return Object.entries(e || {}).filter(([e, t]) => !Kh.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Rh[e] || e} ${t}`).join(" · ");-}//#endregion-//#region src/react/activity/activity-page.tsx-var Jh = {- succeeded: "lime",- failed: "rose",- cancelled: "yellow",- interrupted: "yellow"-};-function Yh({ status: e }) {- return /* @__PURE__ */ (0, D.jsx)(ah, {- color: Jh[e] ?? "neutral",- children: Lh(e)- });-}-function Xh({ rows: e }) {- return /* @__PURE__ */ (0, D.jsx)("ul", {- className: "flex min-w-0 flex-col",- children: e.map((e) => {- let t = Uh(e);- return /* @__PURE__ */ (0, D.jsxs)("li", {- "data-status": e.status,- "data-followup-key": e.followup_key,- className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 border-t border-separator-border px-5 py-2.5",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 break-words text-caption-1-regular text-text-primary",- children: e.task_label- }),- /* @__PURE__ */ (0, D.jsx)(Yh, { status: e.status }),- t ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 break-words text-caption-1-regular text-text-secondary",- children: t- }) : null- ]- }, e.id);- })+//#region src/react/boardui/components/base/buttons/link-button.tsx+var fA = vw({+ base: [+ "inline-flex items-center justify-center gap-1 whitespace-nowrap",+ "font-sans select-none cursor-pointer rounded-sm",+ "underline-offset-3 hover:underline",+ "transition-colors duration-150 ease",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"+ ].join(" "),+ size: {+ medium: "text-body-medium",+ small: "text-body-medium",+ xs: "text-caption-1-semibold"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-[18px] shrink-0",+ xs: "size-3.5 shrink-0"+ },+ variant: {+ primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),+ secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")+ }+});+function pA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = _w(fA.base, fA.size[t], fA.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ n ? /* @__PURE__ */ (0, D.jsx)(n, {+ className: fA.icon[t],+ "aria-hidden": !0+ }) : null,+ i != null && /* @__PURE__ */ (0, D.jsx)("span", { children: i }),+ r ? /* @__PURE__ */ (0, D.jsx)(r, {+ className: fA.icon[t],+ "aria-hidden": !0+ }) : null+ ] });+ if (s.href !== void 0) {+ let { ref: e, href: t, ...n } = s;+ return /* @__PURE__ */ (0, D.jsx)("a", {+ ref: e,+ href: o ? void 0 : t,+ "aria-disabled": o || void 0,+ className: c,+ ...n,+ children: l+ });+ }+ let { ref: u, type: d = "button", ...f } = s;+ return /* @__PURE__ */ (0, D.jsx)("button", {+ ref: u,+ type: d,+ disabled: o,+ className: c,+ ...f,+ children: l});}-function Zh({ run: e, meta: t, children: n, footer: r, followups: i }) {- return /* @__PURE__ */ (0, D.jsxs)("li", {- "data-status": e.status,- "data-task-key": e.task_key,- "data-run-id": e.id,- className: vh({- padding: "none",- bordered: "line",- className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"- }),- children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-1.5 px-5 pt-5 pb-4",- children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("strong", {- className: "min-w-0 break-words text-title-1-medium text-text-primary",- children: e.task_label- }), /* @__PURE__ */ (0, D.jsx)(Yh, { status: e.status })]- }),- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-caption-1-regular text-text-secondary",- children: t- }),- n- ]- }),- i?.length ? /* @__PURE__ */ (0, D.jsx)(Xh, { rows: i }) : null,- r ? /* @__PURE__ */ (0, D.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, D.jsx)("p", {- className: "text-caption-1-regular text-text-secondary",- children: r- })- }) : null- ]+//#endregion+//#region src/react/settings/section.tsx+function mA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {+ let a = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex w-full flex-wrap items-center justify-between gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, D.jsx)(uA, { children: e })+ }), n]+ }) : /* @__PURE__ */ (0, D.jsx)(uA, { children: e }), /* @__PURE__ */ (0, D.jsx)(lA, { children: i })] });+ return r ? /* @__PURE__ */ (0, D.jsx)("form", {+ id: t,+ "aria-label": e,+ noValidate: !0,+ onSubmit: r,+ className: "flex w-full flex-col gap-2",+ children: a+ }) : /* @__PURE__ */ (0, D.jsx)("section", {+ id: t,+ "aria-label": e,+ className: "flex w-full flex-col gap-2",+ children: a});}-function Qh({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Wh(e.elapsed_seconds), o = [Fh[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, D.jsx)(Zh, {- run: e,- meta: o,- followups: t,- children: n > 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(Ch, {- label: i,- value: r,- max: n- }), /* @__PURE__ */ (0, D.jsxs)("p", {- className: "text-caption-1-regular text-text-secondary",- children: [- i,- " · ",- r,- " / ",- n,- " 项"- ]- })]- }) : /* @__PURE__ */ (0, D.jsx)(xh, { label: i })+function hA({ children: e }) {+ return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col",+ children: e});}-function $h({ run: e, followups: t, runs: n }) {- let r = qh(e.result_summary), i = Wh(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [- Fh[e.trigger] || e.trigger,- `近 ${n.length} 轮`,- `${Gh(a.finished_at)} – ${Gh(e.finished_at)}`- ] : [- Fh[e.trigger] || e.trigger,- Gh(e.finished_at),- i && `用时 ${i}`- ]).filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, D.jsx)(Zh, {- run: e,- meta: o,- footer: e.error,- followups: t,- children: r ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-caption-1-regular text-text-secondary",- children: r- }) : null+function gA({ divided: e = !1, children: t }) {+ return e ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",+ children: t+ }) : /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col gap-4 py-4 pr-3",+ children: t});}-function eg({ title: e, children: t }) {- let n = (0, E.useId)();- return /* @__PURE__ */ (0, D.jsxs)("section", {- "aria-labelledby": n,- className: "flex min-w-0 flex-col gap-3",- children: [/* @__PURE__ */ (0, D.jsx)("h3", {- id: n,- className: "text-title-2-semibold text-text-primary",+function _A({ status: e, children: t }) {+ return /* @__PURE__ */ (0, D.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, D.jsx)("div", {+ className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",children: e- }), t]+ }) : null, t]});}-function tg({ live: e = !1, children: t }) {- return /* @__PURE__ */ (0, D.jsx)("ul", {- "aria-live": e ? "polite" : void 0,- className: "flex min-w-0 flex-col gap-3",+function vA({ role: e, children: t }) {+ return /* @__PURE__ */ (0, D.jsx)("p", {+ role: e,+ className: "text-body-2-regular text-text-secondary",children: t});}-function ng(e) {- let t = mt({- queryKey: Dh,- queryFn: ({ signal: e }) => Nh(e),- refetchInterval: (e) => Mh(e.state.data)- }), n = t.data, r = n?.finished, [i, a] = (0, E.useState)([]), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(r);- r !== c && (l(r), i.length && c && a(kh(i, c)));- let u = ht({- mutationFn: ({ oldest: e }) => Oh(e),- onSuccess: (e, { shown: t }) => {- a((n) => kh(n, t, e.finished || [])), s(!!e.finished_has_more);- }- }), d = t.error ? q(t.error) : "";- if (!n) return /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: d || "读取任务中心失败"- }) });- let f = kh(n.finished || [], i), p = [- ...n.running || [],- ...n.skipped || [],- ...f- ], m = zh(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(Hh)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Bh(w, (e) => Vh(e) && !m.get(e.id)?.length), O = !S.length && !x.length && !C.length && !w.length;- return /* @__PURE__ */ (0, D.jsxs)(Sh, { children: [- d ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: d- }) : null,- n.available === !1 ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- children: n.message || "账本上还没有任务中心的表"- }) : null,- O ? /* @__PURE__ */ (0, D.jsx)(bh, {- shell: "plain",- icon: ip,- title: "还没有任务记录",- children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(eg, {- title: "正在进行",- children: S.length || x.length ? /* @__PURE__ */ (0, D.jsxs)(tg, {- live: !0,- children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(Qh, {- run: e,- followups: m.get(e.id)- }, e.id)), x.map((e) => /* @__PURE__ */ (0, D.jsx)($h, {- run: e,- followups: m.get(e.id)- }, e.id))]- }) : /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "neutral",- children: "没有任务在跑。"- })- }),- C.length ? /* @__PURE__ */ (0, D.jsx)(eg, {- title: "被挡下的",- children: /* @__PURE__ */ (0, D.jsx)(tg, { children: C.map((e) => /* @__PURE__ */ (0, D.jsx)($h, {- run: e,- followups: m.get(e.id)- }, e.id)) })- }) : null,- w.length || y ? /* @__PURE__ */ (0, D.jsxs)(eg, {- title: "最近完成",- children: [- w.length ? /* @__PURE__ */ (0, D.jsx)(tg, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)($h, {- run: e,- runs: t,- followups: m.get(e.id)- }, e.id)) }) : null,- u.error ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: q(u.error)- }) : null,- y ? /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- leadingIcon: Hf,- className: "self-start",- ...X(u.isPending),- onClick: b,- children: "加载更早"- }) : null- ]- }) : null- ] })- ] });+function yA({ children: e }) {+ return /* @__PURE__ */ (0, D.jsx)("p", {+ role: "alert",+ className: "text-body-2-regular text-text-error-primary",+ children: e+ });}-//#endregion-//#region node_modules/react-aria-components/dist/private/utils.mjs-var rg = Symbol("default");-function ig({ values: e, children: t }) {- for (let [n, r] of e) t = /*#__PURE__*/ E.createElement(n.Provider, { value: r }, t);- return t;+function bA({ children: e }) {+ return /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-medium text-text-primary",+ children: e+ });}-function ag(e) {- let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;- return (0, E.useMemo)(() => {- let e, l, u;- return e = typeof t == "function" ? t({- ...s,- defaultClassName: i- }) : t, l = typeof n == "function" ? n({- ...s,- defaultStyle: o || {}- }) : n, u = typeof r == "function" ? r({- ...s,- defaultChildren: a- }) : r ?? a, {- className: e ?? i,- style: l || o ? {- ...o,- ...l- } : void 0,- children: u ?? a,- "data-rac": "",- render: c ? (e) => c(e, s) : void 0- };- }, [- t,- n,- r,- i,- a,- o,- s,- c- ]);+function xA({ href: e, children: t }) {+ return /* @__PURE__ */ (0, D.jsx)(pA, {+ href: e,+ target: "_blank",+ rel: "noopener noreferrer",+ size: "small",+ trailingIcon: DS,+ children: t+ });}-function og(e, t) {- let n = (0, E.useContext)(e);- if (t === null) return null;- if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || rg;- if (!n.slots[e]) {- let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";- throw Error(`${r} Valid slot names are ${e}.`);- }- return n.slots[e];- }- return n;+function SA({ children: e }) {+ return /* @__PURE__ */ (0, D.jsx)("dl", {+ className: "flex flex-col",+ children: e+ });+}+function CA({ term: e, children: t }) {+ return /* @__PURE__ */ (0, D.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, D.jsx)("dt", {+ className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",+ children: e+ }), /* @__PURE__ */ (0, D.jsx)("dd", {+ className: "flex min-w-0 flex-wrap items-center justify-end gap-2 text-right text-body-regular break-all text-text-primary",+ children: t+ })]+ });}-function sg(e, t, n) {- let { ref: r, ...i } = og(n, e.slot) || {}, a = Xr((0, E.useMemo)(() => jr(t, r), [t, r])), o = B(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,- ...n- }, a = typeof e.style == "function" ? e.style({- ...t,- defaultStyle: r- }) : e.style;- return {- ...r,- ...a- };- } : {- ...i.style,- ...e.style- }), [o, a];+function wA({ summary: e, defaultOpen: t = !1, children: n }) {+ let r = (0, E.useId)(), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(!1), [s, c] = (0, E.useState)(t);+ return /* @__PURE__ */ (0, D.jsxs)("details", {+ ref: (e) => {+ i.current = e, e && t && !o.current && (o.current = !0, e.open = !0);+ },+ children: [/* @__PURE__ */ (0, D.jsxs)("summary", {+ "aria-expanded": s,+ "aria-controls": r,+ onClick: (e) => {+ e.preventDefault(), !(!i.current || !a.current) && (l(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, D.jsx)(bS, {+ "aria-hidden": !0,+ className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"+ }), e]+ }), /* @__PURE__ */ (0, D.jsx)("div", {+ ref: a,+ id: r,+ inert: !s,+ children: /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col gap-2 pt-3",+ children: n+ })+ })]+ });}-function cg(e = !0) {- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {- r.current = !0, n(!!e);- }, []);- return cn(() => {- r.current || n(!1);- }, []), [i, t];+function Yre({ name: e }) {+ return /* @__PURE__ */ (0, D.jsx)("svg", {+ "aria-hidden": !0,+ viewBox: "0 0 24 24",+ fill: "none",+ className: "size-4 shrink-0 stroke-current stroke-2",+ children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })+ });}-function lg(e) {- let t = /^(data-.*)$/, n = {};- for (let r in e) t.test(r) || (n[r] = e[r]);- return n;+function TA({ mark: e }) {+ return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, D.jsx)("img", {+ src: e,+ alt: "",+ width: 16,+ height: 16,+ className: "size-4 shrink-0"+ }) : /* @__PURE__ */ (0, D.jsx)(Yre, { name: e });}-function ug(e, t, n) {- let { render: r, ...i } = t, a = (0, E.useRef)(null), o = (0, E.useMemo)(() => jr(n, a), [n, a]);- cn(() => {}, [e, r]);- let s = {- ...i,- ref: o- };- return r ? r(s, void 0) : /*#__PURE__*/ E.createElement(e, s);+//#endregion+//#region src/react/follow-manage/source-view.tsx+function EA({ provider: e, label: t }) {+ let n = Vre(e), [r, i] = (0, E.useState)(!1);+ return !n || r ? t ? /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: t }) : null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("img", {+ src: n,+ alt: "",+ width: 14,+ height: 14,+ loading: "lazy",+ onError: () => i(!0),+ className: "size-3.5 shrink-0 rounded-sm object-contain"+ }), t ? /* @__PURE__ */ (0, D.jsx)(M_, { children: t }) : null] });}-var dg = {}, Z = new Proxy({}, { get(e, t) {- if (typeof t != "string") return;- let n = dg[t];- return n || (n = /*#__PURE__*/ (0, E.forwardRef)(ug.bind(null, t)), dg[t] = n), n;-} }), fg = /*#__PURE__*/ (0, E.createContext)(null), pg = /*#__PURE__*/ (0, E.createContext)(null), mg = /*#__PURE__*/ (0, E.createContext)(null), hg = {- CollectionRoot({ collection: e, renderDropIndicator: t }) {- return gg(e, null, t);- },- CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return gg(e, t, n);- }-};-function gg(e, t, n) {- return Mt({- items: t ? e.getChildren(t.key) : e,- dependencies: [n],- children(t) {- if (t.type === "content") return /*#__PURE__*/ E.createElement(E.Fragment, null);- let r = t.render(t);- return !n || t.type !== "item" ? r : /*#__PURE__*/ E.createElement(E.Fragment, null, n({- type: "item",- key: t.key,- dropPosition: "before"- }), r, _g(e, t, n));- }+function DA({ group: e, name: t }) {+ let { src: n, fallback: r } = _re(e), [i, a] = (0, E.useState)(0), o = [n, r].filter(Boolean)[i];+ return o ? /* @__PURE__ */ (0, D.jsx)("img", {+ src: o,+ alt: "",+ width: 32,+ height: 32,+ loading: "lazy",+ referrerPolicy: "no-referrer",+ onError: () => a(i + 1),+ className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"+ }) : /* @__PURE__ */ (0, D.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: gre(t)});}-function _g(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);- for (; o != null && o.type !== "item";) o = o.nextKey == null ? null : e.getItem(o.nextKey);- let s = [];- if (o == null) {- let r = t;- for (; r?.type === "item" && (!a || r.parentKey !== a.parentKey && a.level < r.level);) {- let t = n({- type: "item",- key: r.key,- dropPosition: "after"- });- /*#__PURE__*/ (0, E.isValidElement)(t) && s.push(/*#__PURE__*/ (0, E.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);- }- }- return s;+function OA({ source: e }) {+ let t = jk(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";+ return /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: t,+ children: hre(e)+ });}-var vg = /*#__PURE__*/ (0, E.createContext)(hg);-function yg(e) {- return (0, E.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);+function kA({ source: e }) {+ return /* @__PURE__ */ (0, D.jsx)("a", {+ href: e.url,+ target: "_blank",+ rel: "noreferrer noopener",+ title: "打开原来源",+ className: "min-w-0 text-body-medium break-words text-text-primary underline-offset-2 hover:underline",+ children: e.label+ });}//#endregion-//#region node_modules/react-aria-components/dist/private/Label.mjs-var bg = /*#__PURE__*/ (0, E.createContext)({}), xg = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, bg);- let { elementType: n = "label", ...r } = e, i = Z[n];- return /*#__PURE__*/ E.createElement(i, {- className: "react-aria-Label",- ...r,- ref: t+//#region src/react/follow-manage/add-source.tsx+var AA = _w(aA, oA, "text-body-2-medium"), Xre = "粘贴来源链接,或输入创作者名、id…", Zre = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Qre = "识别中…", $re = "站内没有查到来源", jA = (e, t) => `${e}:${t.url}`;+function eie({ options: e, active: t, busy: n, onPick: r }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ "aria-label": "来源建议",+ className: _w(iA, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),+ children: [n && !e.length ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "px-2 py-1.5",+ children: /* @__PURE__ */ (0, D.jsx)(Ow, { label: "正在查找建议" })+ }) : null, e.map((e, n) => /* @__PURE__ */ (0, D.jsxs)("button", {+ type: "button",+ "aria-current": n === t ? "true" : void 0,+ className: n === t ? _w(AA, "bg-background-secondary-default") : AA,+ onMouseDown: (e) => e.preventDefault(),+ onClick: () => r(e.value),+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 grow truncate text-left",+ children: e.label+ }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: "shrink-0 text-caption-1-regular text-text-tertiary",+ children: e.group+ })]+ }, `${e.group}-${e.value}`))]});-}), Sg = /*#__PURE__*/ (0, E.createContext)(null), Cg = /*#__PURE__*/ (0, E.createContext)({}), wg = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, Cg);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ba(e, t);- i = Eg(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = Lc(e), { hoverProps: l, isHovered: u } = Wc({- ...e,- isDisabled: e.isDisabled || r- }), d = {- isHovered: u,- isPressed: (n.isPressed || a) && !r,- isFocused: s,- isFocusVisible: c,- isDisabled: e.isDisabled || !1,- isPending: r ?? !1- }, f = ag({- ...e,- values: d,- defaultClassName: "react-aria-Button"- }), p = Or(i.id), m = Or(), h = i["aria-labelledby"];- r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));- let g = (0, E.useRef)(r);- (0, E.useEffect)(() => {- let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && yo(e, "assertive"), g.current = r;- }, [- r,- s,- h,- p- ]);- let _ = V(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ E.createElement(Z.button, {- ...B(_, f, i, o, l),- type: i.type === "submit" && r ? "button" : i.type,- id: p,- ref: t,- "aria-labelledby": h,- slot: e.slot || void 0,- "aria-disabled": r ? "true" : i["aria-disabled"],- "data-disabled": e.isDisabled || void 0,- "data-pressed": d.isPressed || void 0,- "data-hovered": u || void 0,- "data-focused": s || void 0,- "data-pending": r || void 0,- "data-focus-visible": c || void 0- }, /*#__PURE__*/ E.createElement(Sg.Provider, { value: { id: m } }, f.children));-}), Tg = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Eg(e, t) {- if (t) {- for (let t in e) t.startsWith("on") && !Tg.test(t) && (e[t] = void 0);- e.href = void 0, e.target = void 0;- }- return e;}-//#endregion-//#region node_modules/react-aria-components/dist/private/Heading.mjs-var Dg = /*#__PURE__*/ (0, E.createContext)({}), Og = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, Dg);- let { children: n, level: r = 3, className: i, ...a } = e, o = Z[`h${r}`];- return /*#__PURE__*/ E.createElement(o, {- ...a,- ref: t,- className: i ?? "react-aria-Heading"- }, n);-}), kg = /*#__PURE__*/ (0, E.createContext)({}), Ag = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, kg);- let { elementType: n = "span", ...r } = e, i = Z[n];- return /*#__PURE__*/ E.createElement(i, {- className: "react-aria-Text",- ...r,- ref: t+function tie({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+ let i = (0, E.useRef)(null), [a, o] = (0, E.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);+ };+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(G, {+ ref: i,+ variant: "secondary",+ leadingIcon: hte,+ "aria-haspopup": "dialog",+ "aria-expanded": a,+ "aria-label": l,+ onClick: () => o(!0),+ children: l+ }), /* @__PURE__ */ (0, D.jsx)(UE, {+ triggerRef: i,+ isOpen: a,+ onOpenChange: o,+ placement: "bottom end",+ offset: 4,+ className: iA,+ children: /* @__PURE__ */ (0, D.jsxs)(qE, {+ "aria-label": "来源筛选",+ className: "flex w-64 flex-col gap-1 outline-none",+ children: [s.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex items-center gap-2 pb-1",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ onClick: () => n(/* @__PURE__ */ new Set()),+ children: "全选"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ onClick: () => n(new Set(s.map((e) => e.provider_label))),+ children: "全不选"+ })]+ }) : /* @__PURE__ */ (0, D.jsx)(vA, { children: "暂无可用来源" }), s.map((e) => {+ let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: !t.has(e.provider_label),+ onChange: (t) => u(e.provider_label, t),+ children: /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 items-center gap-1.5",+ children: [/* @__PURE__ */ (0, D.jsx)(EA, { provider: e.provider }), e.provider_label]+ })+ }), n ? /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "xs",+ className: "ml-auto",+ onClick: () => {+ o(!1), r();+ },+ children: "需要配置凭据"+ }) : null]+ }, e.provider);+ })]+ })+ })] });+}+function nie({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+ if (e.kind === "error") return /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: e.line,+ children: e.error || "查找失败"+ });+ let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col gap-2 p-4"+ }),+ children: [+ /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-body-medium text-text-primary",+ children: e.line+ }),+ a.length ? a.map((e) => {+ let n = jA(t, e);+ return /* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: !e.known && !r.has(n),+ isDisabled: e.known,+ onChange: (e) => i(n, e),+ children: /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 flex-wrap items-center gap-1.5",+ children: [+ /* @__PURE__ */ (0, D.jsx)(EA, { provider: e.provider }),+ /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-body-medium",+ children: e.provider_label+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 break-words",+ children: e.label+ }),+ /* @__PURE__ */ (0, D.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.known ? "已经关注" : e.evidence+ })+ ]+ })+ }, n);+ }) : /* @__PURE__ */ (0, D.jsx)(vA, { children: $re }),+ (e.external_searches || []).map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.evidence+ }), /* @__PURE__ */ (0, D.jsx)(xA, {+ href: e.url,+ children: `${e.label}:${e.query}`+ })]+ }, e.url)),+ o.length ? /* @__PURE__ */ (0, D.jsx)(vA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ ]});-}), jg = /*#__PURE__*/ (0, E.createContext)(null), Mg = /*#__PURE__*/ (0, E.createContext)(null), Ng = /*#__PURE__*/ (0, E.createContext)(null), Pg = /*#__PURE__*/ (0, E.createContext)(null), Fg = /*#__PURE__*/ (0, E.createContext)(null), Ig = /*#__PURE__*/ (0, E.createContext)(null);-function Lg(e, t) {- let { validationBehavior: n } = og(Mg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)(Fg), a = Xr((0, E.useMemo)(() => jr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...lg(e),- children: typeof e.children == "function" || e.children,- value: e.value,- validationBehavior: r- };- return [i ? rs(o, i, a) : Yo(o, ns(e), a), a];}-var Rg = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { inputRef: n = null, ...r } = e;- [e, t] = sg(r, t, Ng);- let [i, a] = Lg(e, n);- return /*#__PURE__*/ E.createElement(Ig.Provider, { value: {- ...i,- inputRef: a,- defaultClassName: "react-aria-Checkbox",- isIndeterminate: e.isIndeterminate,- isRequired: e.isRequired- } }, /*#__PURE__*/ E.createElement(zg, {- ...e,- ref: t- }));-}), zg = /*#__PURE__*/ (0, E.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, E.useContext)(Ig), { isFocused: p, isFocusVisible: m, focusProps: h } = Lc(), g = a || o, { hoverProps: _, isHovered: v } = Wc({- ...e,- isDisabled: g- }), y = ag({- ...e,- defaultClassName: u,- values: {- isSelected: i,- isIndeterminate: d || !1,- isPressed: s,- isHovered: v,- isFocused: p,- isFocusVisible: m,- isDisabled: a,- isReadOnly: o,- isInvalid: c,- isRequired: f || !1+function rie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+ let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(-1), [h, g] = (0, E.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, E.useState)(/* @__PURE__ */ new Set()), [y, b] = (0, E.useState)(""), [x, S] = (0, E.useState)(0);+ (0, E.useEffect)(() => {+ let e = a.trim();+ if (!e || e.includes("/")) {+ u("");+ return;}- }), b = V(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Z.label, {- ...B(b, n, _, y),- ref: t,- slot: e.slot || void 0,- "data-selected": i || void 0,- "data-indeterminate": d || void 0,- "data-pressed": s || void 0,- "data-hovered": v || void 0,- "data-focused": p || void 0,- "data-focus-visible": m || void 0,- "data-disabled": a || void 0,- "data-readonly": o || void 0,- "data-invalid": c || void 0,- "data-required": f || void 0- }, /*#__PURE__*/ E.createElement(ss, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {- ...B(r, h),- ref: l- })), y.children);-}), Bg = /*#__PURE__*/ (0, E.createContext)({}), Vg = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, Bg);- 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 } = Wc({- onHoverStart: a,- onHoverChange: o,- onHoverEnd: s,- isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = Lc({ within: !0 }), m = ag({- ...e,- values: {- isHovered: u,- isFocusWithin: d,- isFocusVisible: f,- isDisabled: n,- isInvalid: r+ let t = setTimeout(() => u(e), 250);+ return () => clearTimeout(t);+ }, [a]);+ let C = ft({+ queryKey: lre(l),+ queryFn: ({ signal: e }) => wre(l, e),+ enabled: l.length > 0 && d+ }), w = (0, E.useMemo)(() => (C.data?.groups || []).flatMap((e) => e.items.map((t) => ({+ value: t.value,+ label: t.matched || t.value,+ group: e.label+ }))), [C.data]), { job: T, running: O, outcome: k, start: A, dismiss: j } = cA({+ queryKey: cre,+ queryFn: ({ signal: e }) => Cre(e),+ start: (e) => Tre([e]),+ onStarted: () => v(/* @__PURE__ */ new Set()),+ onError: (e) => b(K(e)),+ onFinish: (e) => {+ e.status === "failed" && b(e.error || "查找失败");+ }+ }), M = (e) => {+ let t = e.trim();+ !t || O || A.isPending || (b(""), m(-1), c(t), o(""), u(""), A.mutate(t));+ }, N = (e) => {+ if (!e.nativeEvent.isComposing) {+ if (e.key === "Escape" && w.length) {+ m(-1), f(!1);+ return;+ }+ if (e.key === "ArrowDown" || e.key === "ArrowUp") {+ if (!w.length) return;+ e.preventDefault();+ let t = e.key === "ArrowDown" ? 1 : -1;+ m((e) => {+ let n = e + t;+ return n < 0 ? w.length - 1 : n >= w.length ? 0 : n;+ });+ return;+ }+ e.key === "Enter" && (e.preventDefault(), M(w[p]?.value || a));+ }+ }, P = k?.results || [], F = P.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !h.has(e.provider_label || "")).map((e) => ({+ candidate: e,+ key: jA(t, e)+ })).filter((e) => !_.has(e.key))), I = pt({+ mutationFn: async (e) => {+ let t = [], n = [];+ S(0);+ for (let r of e) {+ try {+ let e = await Dre(r.candidate);+ n.push(e.source);+ } catch (e) {+ t.push(`${r.candidate.label}:${K(e)}`);+ }+ S((e) => e + 1);+ }+ if (n.length) try {+ await Hk(n);+ } catch (e) {+ t.push(K(e));+ }+ return {+ failures: t,+ sources: n+ };},- defaultClassName: "react-aria-Group"- });- return /*#__PURE__*/ E.createElement(Z.div, {- ...B(c, p, l),- ...m,- ref: t,- role: e.role ?? "group",- slot: e.slot ?? void 0,- "data-focus-within": d || void 0,- "data-hovered": u || void 0,- "data-focus-visible": f || void 0,- "data-disabled": n || void 0,- "data-invalid": r || void 0,- "data-readonly": i || void 0- }, m.children);-}), Hg = /*#__PURE__*/ (0, E.createContext)({}), Ug = (e) => {- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;- return i;-}, Wg = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, Hg);- let { hoverProps: n, isHovered: r } = Wc({- ...e,- isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = Lc({- isTextInput: !0,- autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ag({- ...e,- values: {- isHovered: r,- isFocused: i,- isFocusVisible: a,- isDisabled: e.disabled || !1,- isInvalid: s+ onSuccess: (e) => {+ if (qk(), e.failures.length) {+ b(e.failures.join(";"));+ return;+ }+ b(""), j(), r(`已添加 ${e.sources.length} 个关注来源`);},- defaultClassName: "react-aria-Input"- });- return /*#__PURE__*/ E.createElement(Z.input, {- ...B(Ug(e), o, n),- ...c,- ref: t,- "data-focused": i || void 0,- "data-disabled": e.disabled || void 0,- "data-hovered": r || void 0,- "data-focus-visible": a || void 0,- "data-invalid": s || void 0+ onError: (e) => b(K(e))+ }), ee = e.suggestions || [], te = !s.includes("/"), L = C.isFetching, ne = d && (w.length > 0 || L);+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"+ }),+ children: [+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: "添加关注"+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-end gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "relative min-w-64 grow",+ onFocus: () => f(!0),+ onBlur: (e) => {+ e.currentTarget.contains(e.relatedTarget) || f(!1);+ },+ children: [/* @__PURE__ */ (0, D.jsx)(WO, {+ "aria-label": "来源链接、名字或 id",+ placeholder: Xre,+ value: a,+ leadingIcon: PS,+ isDisabled: n,+ onChange: o,+ onKeyDown: N+ }), ne ? /* @__PURE__ */ (0, D.jsx)(eie, {+ options: w,+ active: p,+ busy: L,+ onPick: M+ }) : null]+ }),+ /* @__PURE__ */ (0, D.jsx)(tie, {+ credentials: t,+ hidden: h,+ onHidden: g,+ openCredentials: i+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ disabled: n || !a.trim(),+ ...J(O || A.isPending),+ onClick: () => M(a),+ children: "查找"+ })+ ]+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-3 empty:hidden",+ children: [O || A.isPending ? T?.total ? /* @__PURE__ */ (0, D.jsx)(Aw, {+ label: T.message || `查找中:${T.checked || 0}/${T.total}`,+ value: T.checked || 0,+ max: T.total+ }) : /* @__PURE__ */ (0, D.jsx)(Ow, { label: te ? Zre : Qre }) : null, y ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "这一次没有完成",+ children: y+ }) : null]+ }),+ P.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(bA, { children: "查找结果" }),+ P.map((e, t) => /* @__PURE__ */ (0, D.jsx)(nie, {+ row: e,+ at: t,+ hidden: h,+ unpicked: _,+ onPick: (e, t) => {+ let n = new Set(_);+ t ? n.delete(e) : n.add(e), v(n);+ }+ }, `${e.line}-${t}`)),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ size: "small",+ disabled: n || !F.length,+ ...J(I.isPending),+ onClick: () => I.mutate(F),+ children: `添加选中(${F.length})`+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ onClick: () => j(),+ children: "关闭"+ }),+ I.isPending ? /* @__PURE__ */ (0, D.jsx)("span", {+ role: "status",+ className: "text-body-2-regular text-text-secondary",+ children: `添加中… ${x}/${F.length}`+ }) : null+ ]+ })+ ]+ }) : null,+ ee.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: "猜你喜欢"+ }), ee.map((e) => /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: n,+ title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,+ onClick: () => M(e.name),+ children: e.name+ }, e.name))]+ }) : null+ ]});-}), Gg = {};-Gg = {- colorSwatchPicker: "تغييرات الألوان",- dropzoneLabel: "DropZone",- selectPlaceholder: "حدد عنصرًا",- tableResizer: "أداة تغيير الحجم"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var Kg = {};-Kg = {- colorSwatchPicker: "Цветови мостри",- dropzoneLabel: "DropZone",- selectPlaceholder: "Изберете предмет",- tableResizer: "Преоразмерител"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var qg = {};-qg = {- colorSwatchPicker: "Vzorky barev",- dropzoneLabel: "Místo pro přetažení",- selectPlaceholder: "Vyberte položku",- tableResizer: "Změna velikosti"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var Jg = {};-Jg = {- colorSwatchPicker: "Farveprøver",- dropzoneLabel: "DropZone",- selectPlaceholder: "Vælg et element",- tableResizer: "Størrelsesændring"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var Yg = {};-Yg = {- colorSwatchPicker: "Farbfelder",- dropzoneLabel: "Ablegebereich",- selectPlaceholder: "Element wählen",- tableResizer: "Größenanpassung"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var Xg = {};-Xg = {- colorSwatchPicker: "Χρωματικά δείγματα",- dropzoneLabel: "DropZone",- selectPlaceholder: "Επιλέξτε ένα αντικείμενο",- tableResizer: "Αλλαγή μεγέθους"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var Zg = {};-Zg = {- selectPlaceholder: "Select an item",- tableResizer: "Resizer",- dropzoneLabel: "DropZone",- colorSwatchPicker: "Color swatches"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var Qg = {};-Qg = {- colorSwatchPicker: "Muestras de colores",- dropzoneLabel: "DropZone",- selectPlaceholder: "Seleccionar un artículo",- tableResizer: "Cambiador de tamaño"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var $g = {};-$g = {- colorSwatchPicker: "Värvinäidised",- dropzoneLabel: "DropZone",- selectPlaceholder: "Valige üksus",- tableResizer: "Suuruse muutja"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var e_ = {};-e_ = {- colorSwatchPicker: "Värimallit",- dropzoneLabel: "DropZone",- selectPlaceholder: "Valitse kohde",- tableResizer: "Koon muuttaja"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var t_ = {};-t_ = {- colorSwatchPicker: "Échantillons de couleurs",- dropzoneLabel: "DropZone",- selectPlaceholder: "Sélectionner un élément",- tableResizer: "Redimensionneur"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var n_ = {};-n_ = {- colorSwatchPicker: "דוגמיות צבע",- dropzoneLabel: "DropZone",- selectPlaceholder: "בחר פריט",- tableResizer: "שינוי גודל"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var r_ = {};-r_ = {- colorSwatchPicker: "Uzorci boja",- dropzoneLabel: "Zona spuštanja",- selectPlaceholder: "Odaberite stavku",- tableResizer: "Promjena veličine"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var i_ = {};-i_ = {- colorSwatchPicker: "Színtárak",- dropzoneLabel: "DropZone",- selectPlaceholder: "Válasszon ki egy elemet",- tableResizer: "Átméretező"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var a_ = {};-a_ = {- colorSwatchPicker: "Campioni di colore",- dropzoneLabel: "Zona di rilascio",- selectPlaceholder: "Seleziona un elemento",- tableResizer: "Ridimensionamento"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var o_ = {};-o_ = {- colorSwatchPicker: "カラースウォッチ",- dropzoneLabel: "ドロップゾーン",- selectPlaceholder: "項目を選択",- tableResizer: "サイズ変更ツール"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var s_ = {};-s_ = {- colorSwatchPicker: "색상 견본",- dropzoneLabel: "드롭 영역",- selectPlaceholder: "항목 선택",- tableResizer: "크기 조정기"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var c_ = {};-c_ = {- colorSwatchPicker: "Spalvų pavyzdžiai",- dropzoneLabel: "„DropZone“",- selectPlaceholder: "Pasirinkite elementą",- tableResizer: "Dydžio keitiklis"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var l_ = {};-l_ = {- colorSwatchPicker: "Krāsu paraugi",- dropzoneLabel: "DropZone",- selectPlaceholder: "Izvēlēties vienumu",- tableResizer: "Izmēra mainītājs"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var u_ = {};-u_ = {- colorSwatchPicker: "Fargekart",- dropzoneLabel: "Droppsone",- selectPlaceholder: "Velg et element",- tableResizer: "Størrelsesendrer"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var d_ = {};-d_ = {- colorSwatchPicker: "kleurstalen",- dropzoneLabel: "DropZone",- selectPlaceholder: "Selecteer een item",- tableResizer: "Resizer"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var f_ = {};-f_ = {- colorSwatchPicker: "Próbki kolorów",- dropzoneLabel: "Strefa upuszczania",- selectPlaceholder: "Wybierz element",- tableResizer: "Zmiana rozmiaru"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var p_ = {};-p_ = {- colorSwatchPicker: "Amostras de cores",- dropzoneLabel: "DropZone",- selectPlaceholder: "Selecione um item",- tableResizer: "Redimensionador"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var m_ = {};-m_ = {- colorSwatchPicker: "Amostras de cores",- dropzoneLabel: "DropZone",- selectPlaceholder: "Selecione um item",- tableResizer: "Redimensionador"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var h_ = {};-h_ = {- colorSwatchPicker: "Specimene de culoare",- dropzoneLabel: "Zonă de plasare",- selectPlaceholder: "Selectați un element",- tableResizer: "Instrument de redimensionare"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var g_ = {};-g_ = {- colorSwatchPicker: "Цветовые образцы",- dropzoneLabel: "DropZone",- selectPlaceholder: "Выберите элемент",- tableResizer: "Средство изменения размера"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var __ = {};-__ = {- colorSwatchPicker: "Vzorkovníky farieb",- dropzoneLabel: "DropZone",- selectPlaceholder: "Vyberte položku",- tableResizer: "Nástroj na zmenu veľkosti"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var v_ = {};-v_ = {- colorSwatchPicker: "Barvne palete",- dropzoneLabel: "DropZone",- selectPlaceholder: "Izberite element",- tableResizer: "Spreminjanje velikosti"-};-//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var y_ = {};-y_ = {- colorSwatchPicker: "Uzorci boje",- dropzoneLabel: "DropZone",- selectPlaceholder: "Izaberite stavku",- tableResizer: "Promena veličine"-};+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var b_ = {};-b_ = {- colorSwatchPicker: "Färgrutor",- dropzoneLabel: "DropZone",- selectPlaceholder: "Välj en artikel",- tableResizer: "Storleksändrare"-};+//#region src/react/boardui/components/base/table/table.tsx+function MA({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+ return /* @__PURE__ */ (0, D.jsx)("div", {+ className: _w("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, D.jsx)(KD, {+ ref: r,+ ...i,+ className: _w("bui-table", e === "sm" && "bui-table-sm", t)+ })+ });+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var x_ = {};-x_ = {- colorSwatchPicker: "Renk örnekleri",- dropzoneLabel: "Bırakma Bölgesi",- selectPlaceholder: "Bir öğe seçin",- tableResizer: "Yeniden boyutlandırıcı"-};+//#region src/react/components/data-table-frame.tsx+function NA({ children: e, follow: t = !1 }) {+ return /* @__PURE__ */ (0, D.jsx)("div", {+ "data-board-data-table": !0,+ "data-follow-table": t || void 0,+ children: e+ });+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var S_ = {};-S_ = {- colorSwatchPicker: "Зразки кольорів",- dropzoneLabel: "DropZone",- selectPlaceholder: "Виберіть елемент",- tableResizer: "Засіб змінення розміру"-};+//#region src/react/follow-manage/alias-manager.tsx+var iie = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, PA = (e) => e.alias;+function aie(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 FA({ sources: e, name: t, canonicalKey: n }) {+ return /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(DA, {+ group: aie(e, t, n),+ name: t+ }), /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-body-medium",+ children: t+ })]+ });+}+function oie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+ let [a, o] = (0, E.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = pt({+ mutationFn: async (e) => {+ let t = 0;+ for (let n of e) {+ try {+ await Wk(n.canonical, n.alias);+ } catch (n) {+ throw t && qk(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);+ }+ t += 1;+ }+ return {+ done: t,+ items: e+ };+ },+ onSuccess: (e) => {+ l(""), o(/* @__PURE__ */ new Set()), qk(), i(`已合并 ${e.done} 组创作者别名`);+ },+ onError: (e) => l(K(e))+ }), h = pt({+ mutationFn: (e) => Wk(e.canonical, e.alias),+ onSuccess: () => {+ l(""), d(""), p(""), qk(), i("已保存创作者别名");+ },+ onError: (e) => l(K(e))+ }), g = pt({+ mutationFn: (e) => Ore(e),+ onSuccess: () => {+ l(""), qk(), i("已移除创作者别名");+ },+ onError: (e) => l(K(e))+ }), _ = (e, t) => {+ e.length && c({+ title: t ? "合并全部创作者别名" : "合并所选创作者别名",+ body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,+ confirmLabel: t ? "合并全部别名" : "合并所选别名",+ onConfirm: () => m.mutateAsync(e)+ });+ }, v = t.filter((e) => a.has(PA(e))), y = t.length > 0 && v.length === t.length, b = J(m.isPending);+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"+ }),+ children: [+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: "创作者别名"+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-end gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(WO, {+ "aria-label": "规范创作者名",+ placeholder: "规范创作者名",+ value: u,+ onChange: d,+ isDisabled: r,+ className: "w-56"+ }),+ /* @__PURE__ */ (0, D.jsx)(WO, {+ "aria-label": "平台别名",+ placeholder: "平台别名",+ value: f,+ onChange: p,+ isDisabled: r,+ className: "w-56"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ disabled: r || !u.trim() || !f.trim(),+ ...J(h.isPending),+ onClick: () => h.mutate({+ canonical: u.trim(),+ alias: f.trim()+ }),+ children: "保存别名"+ })+ ]+ })]+ }),+ s ? /* @__PURE__ */ (0, D.jsx)(yA, { children: s }) : null,+ t.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(bA, { children: "待合并" }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "mr-auto text-body-2-regular text-text-secondary",+ children: `${t.length} 组`+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: r || !v.length,+ ...b,+ onClick: () => _(v, !1),+ children: `合并所选(${v.length})`+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ size: "small",+ disabled: r,+ ...b,+ onClick: () => _(t, !0),+ children: `全部合并(${t.length})`+ })+ ]+ }), /* @__PURE__ */ (0, D.jsx)(NA, { children: /* @__PURE__ */ (0, D.jsxs)(MA, {+ "aria-label": "待合并创作者别名",+ size: "sm",+ children: [/* @__PURE__ */ (0, D.jsxs)($D, { children: [+ /* @__PURE__ */ (0, D.jsx)(iO, {+ id: "select",+ children: /* @__PURE__ */ (0, D.jsx)(rA, {+ slot: null,+ isSelected: y,+ isIndeterminate: v.length > 0 && !y,+ "aria-label": "全选待合并别名",+ onChange: (e) => o(e ? new Set(t.map(PA)) : /* @__PURE__ */ new Set())+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(iO, {+ id: "canonical",+ children: "规范创作者"+ }),+ /* @__PURE__ */ (0, D.jsx)(iO, {+ id: "alias",+ isRowHeader: !0,+ children: "平台别名"+ }),+ /* @__PURE__ */ (0, D.jsx)(iO, {+ id: "evidence",+ children: "依据"+ }),+ /* @__PURE__ */ (0, D.jsx)(iO, {+ id: "actions",+ children: "操作"+ })+ ] }), /* @__PURE__ */ (0, D.jsx)(cO, { children: t.map((e) => {+ let t = PA(e);+ return /* @__PURE__ */ (0, D.jsxs)(fO, {+ id: t,+ "data-board-selected": a.has(t) || void 0,+ children: [+ /* @__PURE__ */ (0, D.jsx)(hO, { children: /* @__PURE__ */ (0, D.jsx)(rA, {+ slot: null,+ isSelected: a.has(t),+ "aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,+ onChange: (e) => {+ let n = new Set(a);+ e ? n.add(t) : n.delete(t), o(n);+ }+ }) }),+ /* @__PURE__ */ (0, D.jsx)(hO, { children: /* @__PURE__ */ (0, D.jsx)(FA, {+ sources: n,+ name: e.canonical+ }) }),+ /* @__PURE__ */ (0, D.jsx)(hO, { children: e.alias }),+ /* @__PURE__ */ (0, D.jsx)(hO, { children: /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: e.evidence+ }) }),+ /* @__PURE__ */ (0, D.jsx)(hO, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: r,+ ...b,+ onClick: () => _([e], !1),+ children: "合并"+ }) })+ ]+ }, t);+ }) })]+ }) })]+ }) : null,+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `${e.length} 组`+ })]+ }), e.length ? /* @__PURE__ */ (0, D.jsx)(NA, { children: /* @__PURE__ */ (0, D.jsxs)(MA, {+ "aria-label": "已保存创作者别名",+ size: "sm",+ children: [/* @__PURE__ */ (0, D.jsxs)($D, { children: [/* @__PURE__ */ (0, D.jsx)(iO, {+ id: "canonical",+ isRowHeader: !0,+ children: "规范创作者"+ }), /* @__PURE__ */ (0, D.jsx)(iO, {+ id: "aliases",+ children: "平台别名"+ })] }), /* @__PURE__ */ (0, D.jsx)(cO, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(fO, {+ id: e.canonical_key,+ children: [/* @__PURE__ */ (0, D.jsx)(hO, { children: /* @__PURE__ */ (0, D.jsx)(FA, {+ sources: n,+ name: e.canonical_name,+ canonicalKey: e.canonical_key+ }) }), /* @__PURE__ */ (0, D.jsx)(hO, { children: /* @__PURE__ */ (0, D.jsx)("span", {+ className: "flex flex-wrap items-center gap-1.5",+ children: e.aliases.map((e) => /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",+ children: [e.name, /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "xs",+ iconOnly: !0,+ leadingIcon: CS,+ "aria-label": `移除别名 ${e.name}`,+ disabled: r,+ ...J(g.isPending),+ onClick: () => void c({+ title: "移除创作者别名",+ body: iie(e.name),+ confirmLabel: "移除创作者别名",+ onConfirm: () => g.mutateAsync(e.name)+ })+ })]+ }, e.key))+ }) })]+ }, e.canonical_key)) })]+ }) }) : /* @__PURE__ */ (0, D.jsx)(Dw, {+ shell: "plain",+ icon: LS,+ title: "还没有保存创作者别名",+ children: "填写规范创作者名和平台别名以添加。"+ })]+ })+ ]+ });+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var C_ = {};-C_ = {- colorSwatchPicker: "颜色色板",- dropzoneLabel: "放置区域",- selectPlaceholder: "选择一个项目",- tableResizer: "尺寸调整器"-};+//#region src/react/components/path-line.tsx+function sie({ className: e }) {+ return /* @__PURE__ */ (0, D.jsx)("svg", {+ "aria-hidden": !0,+ viewBox: "0 0 24 24",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: 2,+ strokeLinecap: "round",+ strokeLinejoin: "round",+ className: e,+ children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-open" })+ });+}+var cie = "打开文件管理器失败,请重试";+function IA({ path: e, prefix: t, className: n, onRevealed: r }) {+ let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), c = (0, E.useRef)(!0);+ (0, E.useEffect)(() => () => {+ c.current = !1;+ }, []);+ let l = async () => {+ if (!i) {+ a(!0), s("");+ try {+ await Tw("/api/reveal", { path: e }), r?.("已在资源管理器中显示");+ } catch (e) {+ c.current && s(e instanceof Sw ? e.message : cie);+ } finally {+ c.current && a(!1);+ }+ }+ };+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-1",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex items-center justify-between gap-2",+ children: [/* @__PURE__ */ (0, D.jsxs)("p", {+ className: _w("min-w-0 break-all", n),+ children: [t, e]+ }), /* @__PURE__ */ (0, D.jsx)(RO, {+ icon: sie,+ size: "small",+ className: "shrink-0",+ "aria-label": "在资源管理器中显示",+ onClick: () => void l(),+ ...J(i)+ })]+ }), o ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-caption-1-regular text-text-error-primary",+ children: o+ }) : null]+ });+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var w_ = {};-w_ = {- colorSwatchPicker: "色票",- dropzoneLabel: "放置區",- selectPlaceholder: "選取項目",- tableResizer: "大小調整器"-};+//#region src/react/follow-manage/credentials.tsx+var lie = "这些账号信息存在哪里", uie = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", die = "将清除这个来源在本机和共享副本中的登录凭据。", fie = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";+function pie(e, t) {+ return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";+}+function mie({ row: e }) {+ if (Yk(e)) return /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: "lime",+ children: "已配置"+ });+ let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";+ return /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: t,+ children: Hre[e.requirement] || ""+ });+}+function hie({ row: e, readOnly: t, toast: n }) {+ let [r, i] = (0, E.useState)({}), [a, o] = (0, E.useState)(""), s = Yk(e), l = pt({+ mutationFn: (t) => kre(e.provider, t),+ onSuccess: (e, t) => {+ if (e.note) {+ o(e.note);+ return;+ }+ o(""), i({}), Mw.invalidateQueries({+ queryKey: Tk,+ exact: !0+ }), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");+ },+ onError: (e) => o(K(e))+ }), u = () => {+ let e = Object.fromEntries(Object.entries(r).map(([e, t]) => [e, t.trim()]).filter(([, e]) => e));+ if (!Object.keys(e).length) {+ o("没有填写内容");+ return;+ }+ l.mutate(e);+ };+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsxs)(vA, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(xA, {+ href: e.where,+ children: "去取"+ })] }) : null] }),+ e.howto ? /* @__PURE__ */ (0, D.jsx)(vA, { children: e.howto }) : null,+ /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-wrap items-end gap-3",+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(WO, {+ type: "password",+ label: n,+ placeholder: pie(e, n),+ autoComplete: "off",+ spellCheck: "false",+ isDisabled: t,+ value: r[n] || "",+ onChange: (e) => i({+ ...r,+ [n]: e+ }),+ className: "w-48"+ }, n))+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ size: "small",+ disabled: t,+ ...J(l.isPending),+ onClick: u,+ children: "保存配置"+ }), s ? /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "danger",+ size: "small",+ disabled: t,+ ...J(l.isPending),+ onClick: () => void c({+ title: "清除来源凭据",+ body: die,+ confirmLabel: "清除来源凭据",+ danger: !0,+ onConfirm: () => l.mutateAsync({})+ }),+ children: "清除"+ }) : null]+ }),+ a ? /* @__PURE__ */ (0, D.jsx)(yA, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(vA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,+ e.path ? /* @__PURE__ */ (0, D.jsx)(IA, {+ path: e.path,+ className: "font-mono text-caption-1-regular text-text-tertiary",+ onRevealed: n+ }) : null,+ e.world_readable ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "凭据文件权限过宽",+ children: fie+ }) : null+ ]+ });+}+function gie({ row: e, readOnly: t, toast: n }) {+ let r = /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 items-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "inline-flex size-3.5 shrink-0 items-center justify-center",+ children: /* @__PURE__ */ (0, D.jsx)(EA, { provider: e.provider })+ }),+ /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-body-medium text-text-primary",+ children: e.provider_label+ }),+ /* @__PURE__ */ (0, D.jsx)(mie, { row: e }),+ e.missing.length ? /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: "rose",+ children: `缺 ${e.missing.join("、")}`+ }) : null+ ]+ });+ return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, D.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, D.jsx)(vA, { children: e.why }) : null]+ }) : /* @__PURE__ */ (0, D.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, D.jsx)(wA, {+ summary: Yk(e) ? "修改凭据" : "填写凭据",+ defaultOpen: e.requirement === "required" && !Yk(e),+ children: /* @__PURE__ */ (0, D.jsx)(hie, {+ row: e,+ readOnly: t,+ toast: n+ })+ })]+ });+}+function _ie({ data: e, readOnly: t, toast: n }) {+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Yk(e));+ return r.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"+ }),+ children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("h3", {+ className: "mr-auto text-title-2-medium text-text-primary",+ children: "来源和凭证"+ }), i.length ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-error-primary",+ children: `${i.length} 个待配置`+ }) : null]+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col overflow-hidden"+ }),+ children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(gie, {+ row: e,+ readOnly: t,+ toast: n+ }, e.provider))+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-1",+ children: [+ /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-body-medium text-text-primary",+ children: lie+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: uie+ }),+ /* @__PURE__ */ (0, D.jsx)(IA, {+ path: e.root,+ prefix: "凭据文件在 ",+ className: "text-body-2-regular text-text-secondary",+ onRevealed: n+ })+ ]+ })+ ]+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {+ shell: "plain",+ icon: bte,+ title: "没有可配置的来源",+ children: "已接入的站点及其凭据状态会显示在这里。"+ });+}//#endregion-//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var T_ = {};-T_ = {- "ar-AE": Gg,- "bg-BG": Kg,- "cs-CZ": qg,- "da-DK": Jg,- "de-DE": Yg,- "el-GR": Xg,- "en-US": Zg,- "es-ES": Qg,- "et-EE": $g,- "fi-FI": e_,- "fr-FR": t_,- "he-IL": n_,- "hr-HR": r_,- "hu-HU": i_,- "it-IT": a_,- "ja-JP": o_,- "ko-KR": s_,- "lt-LT": c_,- "lv-LV": l_,- "nb-NO": u_,- "nl-NL": d_,- "pl-PL": f_,- "pt-BR": p_,- "pt-PT": m_,- "ro-RO": h_,- "ru-RU": g_,- "sk-SK": __,- "sl-SI": v_,- "sr-SP": y_,- "sv-SE": b_,- "tr-TR": x_,- "uk-UA": S_,- "zh-CN": C_,- "zh-TW": w_-};+//#region src/react/follow-manage/feed-sources.tsx+function vie(e) {+ let t = e.last_fetched_at ? `上次拉取 ${new Date(e.last_fetched_at).toLocaleString()}` : "还没拉过", n = e.interval_minutes >= 60 ? `每 ${Math.round(e.interval_minutes / 60)} 小时一次` : `每 ${e.interval_minutes} 分钟一次`;+ return `${e.kind_label} · ${n} · ${t} · 上次新增 ${e.last_new_count} 条`;+}+var LA = () => Mw.invalidateQueries({+ queryKey: Ek,+ exact: !0+}), RA = (e) => e.name || e.url;+function yie({ readOnly: e, toast: t }) {+ let n = ft({+ queryKey: Ek,+ queryFn: ({ signal: e }) => Gk(e)+ }), r = jw(), i = n.data;+ if (!i) return /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(gA, { children: n.error ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "打不开订阅源",+ children: K(n.error)+ }) : /* @__PURE__ */ (0, D.jsx)(vA, { children: "正在读订阅源。" }) }) });+ let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => Mre(e.id, t, n), () => void LA()), o = (e) => void c({+ title: "移除订阅源",+ body: `将移除订阅源「${RA(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,+ confirmLabel: "移除订阅源",+ danger: !0,+ onConfirm: async () => {+ await Nre(e.id), t(`已移除订阅源「${RA(e)}」`), LA();+ }+ }), s = () => void r.run("check", (e) => Pre(e), () => void LA()), l = i.sources.filter((e) => e.last_error);+ return /* @__PURE__ */ (0, D.jsxs)(lA, { children: [+ i.sources.length ? /* @__PURE__ */ (0, D.jsx)(hA, { children: i.sources.map((t) => /* @__PURE__ */ (0, D.jsx)(dA, {+ label: RA(t),+ description: vie(t),+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": `启用 ${RA(t)}`,+ isSelected: t.enabled,+ isDisabled: e,+ onChange: (e) => a(t, e)+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "xs",+ iconOnly: !0,+ leadingIcon: ES,+ "aria-label": `移除 ${RA(t)}`,+ disabled: e,+ onClick: () => o(t)+ })]+ })+ }, t.id)) }) : /* @__PURE__ */ (0, D.jsx)(Dw, {+ icon: NS,+ title: "还没有订阅源",+ shell: "plain",+ children: "在人物页点「订阅新作」添加。"+ }),+ l.length || r.error ? /* @__PURE__ */ (0, D.jsxs)(gA, {+ divided: !0,+ children: [l.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: `${RA(e)} 拉取失败`,+ children: e.last_error+ }, e.id)), r.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: r.error }) : null]+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(_A, {+ status: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了",+ children: /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: s,+ disabled: e,+ ...J(r.busy === "check"),+ children: "立即拉取"+ })+ })+ ] });+}//#endregion-//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var E_ = /*#__PURE__*/ (0, E.createContext)({}), D_ = /*#__PURE__*/ (0, E.createContext)(null), O_ = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { render: n } = (0, E.useContext)(D_);- return /*#__PURE__*/ E.createElement(E.Fragment, null, n(e, t));-});-function k_(e, t) {- let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, E.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(O_, { target: e });- }, [- t?.target,- r,- n- ]);- return e?.useDropIndicator ? i : void 0;+//#region node_modules/@tanstack/table-core/build/lib/index.mjs+function bie() {+ return {+ accessor: (e, t) => typeof e == "function" ? {+ ...t,+ accessorFn: e+ } : {+ ...t,+ accessorKey: e+ },+ display: (e) => e,+ group: (e) => e+ };}-function A_(e, t, n) {- let r = e.focusedKey, i = null;- if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {- let e = n.collection.getKeyAfter(i), t = null;- if (e != null) {- let r = n.collection.getItem(i)?.level ?? 0;- for (; e != null;) {- let i = n.collection.getItem(e);- if (!i) break;- if (i.type !== "item") {- e = n.collection.getKeyAfter(e);- continue;- }- if ((i.level ?? 0) <= r) break;- t = e, e = n.collection.getKeyAfter(e);- }+function zA(e, t) {+ return typeof e == "function" ? e(t) : e;+}+function BA(e, t) {+ return (n) => {+ t.setState((t) => ({+ ...t,+ [e]: zA(n, t[e])+ }));+ };+}+function VA(e) {+ return e instanceof Function;+}+function xie(e) {+ return Array.isArray(e) && e.every((e) => typeof e == "number");+}+function Sie(e, t) {+ let n = [], r = (e) => {+ e.forEach((e) => {+ n.push(e);+ let i = t(e);+ i != null && i.length && r(i);+ });+ };+ return r(e), n;+}+function Y(e, t, n) {+ let r = [], i;+ return (a) => {+ let o;+ n.key && n.debug && (o = Date.now());+ let s = e(a);+ if (!(s.length !== r.length || s.some((e, t) => r[t] !== e))) return i;+ r = s;+ let c;+ if (n.key && n.debug && (c = Date.now()), i = t(...s), n == null || n.onChange == null || n.onChange(i), n.key && n.debug && n != null && n.debug()) {+ let e = Math.round((Date.now() - o) * 100) / 100, t = Math.round((Date.now() - c) * 100) / 100, r = t / 16, i = (e, t) => {+ for (e = String(e); e.length < t;) e = " " + e;+ return e;+ };+ console.info(`%c⏱ ${i(t, 5)} /${i(e, 5)} ms`, `+ font-size: .6rem;+ font-weight: bold;+ color: hsl(${Math.max(0, Math.min(120 - 120 * r, 120))}deg 100% 31%);`, n?.key);}- i = e ?? t ?? i;- }- return (0, E.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);+ return i;+ };}-//#endregion-//#region node_modules/react-aria-components/dist/private/Header.mjs-var j_ = /*#__PURE__*/ (0, E.createContext)({}), M_ = /*#__PURE__*/ (0, E.createContext)(null);-function N_(e) {- let t = (0, E.useRef)({});- return /*#__PURE__*/ E.createElement(M_.Provider, { value: t }, e.children);+function X(e, t, n, r) {+ return {+ debug: () => e?.debugAll ?? e[t],+ key: !1,+ onChange: r+ };}-//#endregion-//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var P_ = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), F_ = /*#__PURE__*/ (0, E.createContext)({});-(class extends Ct {- static {- this.type = "separator";- }- filter(e, t) {- let n = t.getItem(this.prevKey);- if (n && n.type !== "separator") {- let n = this.clone();- return t.addDescendants(n, e), n;- }- return null;- }-});-//#endregion-//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function I_(e) {- let t = E.version.split(".");- return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;+function Cie(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: Y(() => [+ e,+ n,+ t,+ i+ ], (e, t, n, r) => ({+ table: e,+ column: t,+ row: n,+ cell: r,+ getValue: r.getValue,+ renderValue: r.renderValue+ }), X(e.options, "debugCells", "cell.getContext"))+ };+ return e._features.forEach((r) => {+ r.createCell == null || r.createCell(i, n, t, e);+ }, {}), i;}-//#endregion-//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var L_ = class {- constructor(e) {- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;- let t = (e) => {- if (this.keyMap.set(e.key, e), e.childNodes && e.type === "section") for (let n of e.childNodes) t(n);+function wie(e, t, n, r) {+ let i = {+ ...e._getDefaultColumnDef(),+ ...t+ }, a = i.accessorKey, o = i.id ?? (a ? typeof String.prototype.replaceAll == "function" ? a.replaceAll(".", "_") : a.replace(/\./g, "_") : void 0) ?? (typeof i.header == "string" ? i.header : void 0), s;+ if (i.accessorFn ? s = i.accessorFn : a && (s = a.includes(".") ? (e) => {+ let t = e;+ for (let e of a.split(".")) t = t?.[e];+ return t;+ } : (e) => e[i.accessorKey]), !o) throw Error();+ let c = {+ id: `${String(o)}`,+ accessorFn: s,+ parent: r,+ depth: n,+ columnDef: i,+ columns: [],+ getFlatColumns: Y(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], X(e.options, "debugColumns", "column.getFlatColumns")),+ getLeafColumns: Y(() => [e._getOrderColumnsFn()], (e) => {+ var t;+ return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];+ }, X(e.options, "debugColumns", "column.getLeafColumns"))+ };+ for (let t of e._features) t.createColumn == null || t.createColumn(c, e);+ return c;+}+var HA = "debugHeaders";+function UA(e, t, n) {+ let r = {+ id: n.id ?? t.id,+ column: t,+ index: n.index,+ isPlaceholder: !!n.isPlaceholder,+ placeholderId: n.placeholderId,+ depth: n.depth,+ subHeaders: [],+ colSpan: 0,+ rowSpan: 0,+ headerGroup: null,+ getLeafHeaders: () => {+ let e = [], t = (n) => {+ n.subHeaders && n.subHeaders.length && n.subHeaders.map(t), e.push(n);+ };+ return t(r), e;+ },+ getContext: () => ({+ table: e,+ header: r,+ column: t+ })+ };+ return e._features.forEach((t) => {+ t.createHeader == null || t.createHeader(r, e);+ }), r;+}+var Tie = { createTable: (e) => {+ e.getHeaderGroups = Y(() => [+ 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 WA(t, [+ ...a,+ ...s,+ ...o+ ], e);+ }, X(e.options, HA, "getHeaderGroups")), e.getCenterHeaderGroups = Y(() => [+ 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))), WA(t, n, e, "center")), X(e.options, HA, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Y(() => [+ e.getAllColumns(),+ e.getVisibleLeafColumns(),+ e.getState().columnPinning.left+ ], (t, n, r) => WA(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), X(e.options, HA, "getLeftHeaderGroups")), e.getRightHeaderGroups = Y(() => [+ e.getAllColumns(),+ e.getVisibleLeafColumns(),+ e.getState().columnPinning.right+ ], (t, n, r) => WA(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), X(e.options, HA, "getRightHeaderGroups")), e.getFooterGroups = Y(() => [e.getHeaderGroups()], (e) => [...e].reverse(), X(e.options, HA, "getFooterGroups")), e.getLeftFooterGroups = Y(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), X(e.options, HA, "getLeftFooterGroups")), e.getCenterFooterGroups = Y(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), X(e.options, HA, "getCenterFooterGroups")), e.getRightFooterGroups = Y(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), X(e.options, HA, "getRightFooterGroups")), e.getFlatHeaders = Y(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, HA, "getFlatHeaders")), e.getLeftFlatHeaders = Y(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, HA, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Y(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, HA, "getCenterFlatHeaders")), e.getRightFlatHeaders = Y(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, HA, "getRightFlatHeaders")), e.getCenterLeafHeaders = Y(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {+ var t;+ return !((t = e.subHeaders) != null && t.length);+ }), X(e.options, HA, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Y(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {+ var t;+ return !((t = e.subHeaders) != null && t.length);+ }), X(e.options, HA, "getLeftLeafHeaders")), e.getRightLeafHeaders = Y(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {+ var t;+ return !((t = e.subHeaders) != null && t.length);+ }), X(e.options, HA, "getRightLeafHeaders")), e.getLeafHeaders = Y(() => [+ e.getLeftHeaderGroups(),+ e.getCenterHeaderGroups(),+ e.getRightHeaderGroups()+ ], (e, t, n) => [+ ...e[0]?.headers ?? [],+ ...t[0]?.headers ?? [],+ ...n[0]?.headers ?? []+ ].map((e) => e.getLeafHeaders()).flat(), X(e.options, HA, "getLeafHeaders"));+} };+function WA(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;+ (n = e.columns) != null && n.length && a(e.columns, t + 1);+ }, 0);+ };+ a(e);+ let o = [], s = (e, t) => {+ let i = {+ depth: t,+ id: [r, `${t}`].filter(Boolean).join("_"),+ headers: []+ }, a = [];+ e.forEach((e) => {+ 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 = UA(n, c, {+ id: [+ r,+ t,+ c.id,+ e?.id+ ].filter(Boolean).join("_"),+ isPlaceholder: l,+ placeholderId: l ? `${a.filter((e) => e.column === c).length}` : void 0,+ depth: t,+ index: a.length+ });+ i.subHeaders.push(e), a.push(i);+ }+ i.headers.push(e), e.headerGroup = i;+ }), o.push(i), t > 0 && s(a, t - 1);+ };+ s(t.map((e, t) => UA(n, e, {+ depth: i,+ index: t+ })), i - 1), o.reverse();+ let c = (e) => e.filter((e) => e.column.getIsVisible()).map((e) => {+ let t = 0, n = 0, r = [0];+ e.subHeaders && e.subHeaders.length ? (r = [], c(e.subHeaders).forEach((e) => {+ let { colSpan: n, rowSpan: i } = e;+ t += n, r.push(i);+ })) : t = 1;+ let i = Math.min(...r);+ return n += i, e.colSpan = t, e.rowSpan = n, {+ colSpan: t,+ rowSpan: n};- for (let n of e) t(n);- let n = null, r = 0, i = 0;- for (let [e, t] of this.keyMap) n ? (n.nextKey = e, t.prevKey = n.key) : (this.firstKey = e, t.prevKey = void 0), t.type === "item" && (t.index = r++), (t.type === "section" || t.type === "item") && i++, n = t, n.nextKey = void 0;- this._size = i, this.lastKey = n?.key ?? null;- }- *[Symbol.iterator]() {- yield* this.iterable;- }- get size() {- return this._size;- }- getKeys() {- return this.keyMap.keys();- }- getKeyBefore(e) {- let t = this.keyMap.get(e);- return t ? t.prevKey ?? null : null;- }- getKeyAfter(e) {- let t = this.keyMap.get(e);- return t ? t.nextKey ?? null : null;- }- getFirstKey() {- return this.firstKey;- }- getLastKey() {- return this.lastKey;- }- getItem(e) {- return this.keyMap.get(e) ?? null;- }- at(e) {- let t = [...this.getKeys()];- return this.getItem(t[e]);- }- getChildren(e) {- return this.keyMap.get(e)?.childNodes || [];- }-}, R_ = class e extends Set {- constructor(t, n, r) {- super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);- }-};-//#endregion-//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function z_(e, t) {- if (e.size !== t.size) return !1;- for (let n of e) if (!t.has(n)) return !1;- return !0;+ });+ return c(o[0]?.headers ?? []), o;}-function B_(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = ts((0, E.useMemo)(() => V_(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => V_(e.defaultSelectedKeys, new R_()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);- i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");- let g = (0, E.useRef)(i);- return (0, E.useEffect)(() => {- i !== g.current && (h(i), g.current = i);- }, [i]), {- selectionMode: t,- disallowEmptySelection: n,- selectionBehavior: m,- setSelectionBehavior: h,- get isFocused() {- return o.current;- },- setFocused(e) {- o.current = e, s(e);- },- get focusedKey() {- return c.current;- },- get childFocusStrategy() {- return l.current;+var Eie = (e, t, n, r, i, a, o) => {+ let s = {+ id: t,+ index: r,+ original: n,+ depth: i,+ parentId: o,+ _valuesCache: {},+ _uniqueValuesCache: {},+ getValue: (t) => {+ if (s._valuesCache.hasOwnProperty(t)) return s._valuesCache[t];+ let n = e.getColumn(t);+ if (n != null && n.accessorFn) return s._valuesCache[t] = n.accessorFn(s.original, r), s._valuesCache[t];},- setFocusedKey(e, t = "first") {- c.current = e, l.current = t, u(e);+ getUniqueValues: (t) => {+ if (s._uniqueValuesCache.hasOwnProperty(t)) return s._uniqueValuesCache[t];+ let n = e.getColumn(t);+ if (n != null && n.accessorFn) return n.columnDef.getUniqueValues ? (s._uniqueValuesCache[t] = n.columnDef.getUniqueValues(s.original, r), s._uniqueValuesCache[t]) : (s._uniqueValuesCache[t] = [s.getValue(t)], s._uniqueValuesCache[t]);},- selectedKeys: d,- setSelectedKeys(e) {- (r || !z_(e, d)) && f(e);+ renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,+ subRows: a ?? [],+ getLeafRows: () => Sie(s.subRows, (e) => e.subRows),+ getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,+ getParentRows: () => {+ let e = [], t = s;+ for (;;) {+ let n = t.getParentRow();+ if (!n) break;+ e.push(n), t = n;+ }+ return e.reverse();},- disabledKeys: p,- disabledBehavior: a+ getAllCells: Y(() => [e.getAllLeafColumns()], (t) => t.map((t) => Cie(e, s, t, t.id)), X(e.options, "debugRows", "getAllCells")),+ _getAllCellsByColumnId: Y(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), X(e.options, "debugRows", "getAllCellsByColumnId"))};-}-function V_(e, t) {- return e ? e === "all" ? "all" : new R_(e) : t;-}-//#endregion-//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var H_ = class e {- constructor(e, t, n) {- this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;- }- get selectionMode() {- return this.state.selectionMode;- }- get disallowEmptySelection() {- return this.state.disallowEmptySelection;- }- get selectionBehavior() {- return this.state.selectionBehavior;- }- setSelectionBehavior(e) {- this.state.setSelectionBehavior(e);- }- get isFocused() {- return this.state.isFocused;- }- setFocused(e) {- this.state.setFocused(e);- }- get focusedKey() {- return this.state.focusedKey;- }- get childFocusStrategy() {- return this.state.childFocusStrategy;- }- setFocusedKey(e, t) {- (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);- }- get selectedKeys() {- return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;- }- get rawSelection() {- return this.state.selectedKeys;- }- isSelected(e) {- if (this.state.selectionMode === "none") return !1;- let t = this.getKey(e);- return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);- }- get isEmpty() {- return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;- }- get isSelectAll() {- if (this.isEmpty) return !1;- if (this.state.selectedKeys === "all") return !0;- if (this._isSelectAll != null) return this._isSelectAll;- let e = this.getSelectAllKeys(), t = this.state.selectedKeys;- return this._isSelectAll = e.every((e) => t.has(e)), this._isSelectAll;- }- get firstSelectedKey() {- let e = null;- for (let t of this.state.selectedKeys) {- let n = this.collection.getItem(t);- (!e || n && Cc(this.collection, n, e) < 0) && (e = n);- }- return e?.key ?? null;- }- get lastSelectedKey() {- let e = null;- for (let t of this.state.selectedKeys) {- let n = this.collection.getItem(t);- (!e || n && Cc(this.collection, n, e) > 0) && (e = n);- }- return e?.key ?? null;- }- get disabledKeys() {- return this.state.disabledKeys;- }- get disabledBehavior() {- return this.state.disabledBehavior;- }- extendSelection(e) {- if (this.selectionMode === "none") return;- if (this.selectionMode === "single") {- this.replaceSelection(e);- return;- }- let t = this.getKey(e);- if (t == null) return;- let n;- if (this.state.selectedKeys === "all") n = new R_([t], t, t);- else {- let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new R_(e, r, t);- for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);- for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);- }- this.state.setSelectedKeys(n);- }- getKeyRange(e, t) {- let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? Cc(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ for (let t = 0; t < e._features.length; t++) {+ let n = e._features[t];+ n == null || n.createRow == null || n.createRow(s, e);}- getKeyRangeInternal(e, t) {- if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);- let n = [], r = e;- for (; r != null;) {- let e = this.collection.getItem(r);- if (e && (e.type === "item" || e.type === "cell" && this.allowsCellSelection) && n.push(r), r === t) return n;- r = this.collection.getKeyAfter(r);- }- return [];+ return s;+}, Die = { 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();+ };+} }, GA = (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));+};+GA.autoRemove = (e) => tj(e);+var KA = (e, t, n) => {+ var r;+ return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));+};+KA.autoRemove = (e) => tj(e);+var qA = (e, t, n) => {+ var r;+ return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();+};+qA.autoRemove = (e) => tj(e);+var JA = (e, t, n) => e.getValue(t)?.includes(n);+JA.autoRemove = (e) => tj(e);+var YA = (e, t, n) => !n.some((n) => {+ var r;+ return !((r = e.getValue(t)) != null && r.includes(n));+});+YA.autoRemove = (e) => tj(e) || !(e != null && e.length);+var XA = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+XA.autoRemove = (e) => tj(e) || !(e != null && e.length);+var ZA = (e, t, n) => e.getValue(t) === n;+ZA.autoRemove = (e) => tj(e);+var QA = (e, t, n) => e.getValue(t) == n;+QA.autoRemove = (e) => tj(e);+var $A = (e, t, n) => {+ let [r, i] = n, a = e.getValue(t);+ return a >= r && a <= i;+};+$A.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;}- getKey(e) {- let t = this.collection.getItem(e);- if (!t || t.type === "cell" && this.allowsCellSelection) return e;- for (; t && t.type !== "item" && t.parentKey != null;) t = this.collection.getItem(t.parentKey);- return !t || t.type !== "item" ? null : t.key;+ return [a, o];+}, $A.autoRemove = (e) => tj(e) || tj(e[0]) && tj(e[1]);+var ej = {+ includesString: GA,+ includesStringSensitive: KA,+ equalsString: qA,+ arrIncludes: JA,+ arrIncludesAll: YA,+ arrIncludesSome: XA,+ equals: ZA,+ weakEquals: QA,+ inNumberRange: $A+};+function tj(e) {+ return e == null || e === "";+}+var nj = {+ getDefaultColumnDef: () => ({ filterFn: "auto" }),+ getInitialState: (e) => ({+ columnFilters: [],+ ...e+ }),+ getDefaultOptions: (e) => ({+ onColumnFiltersChange: BA("columnFilters", e),+ filterFromLeafRows: !1,+ maxLeafRowFilterDepth: 100+ }),+ createColumn: (e, t) => {+ e.getAutoFilterFn = () => {+ let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);+ return typeof n == "string" ? ej.includesString : typeof n == "number" ? ej.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? ej.equals : Array.isArray(n) ? ej.arrIncludes : ej.weakEquals;+ }, e.getFilterFn = () => VA(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? ej[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 = zA(n, i ? i.value : void 0);+ if (rj(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ let o = {+ id: e.id,+ value: a+ };+ return i ? t?.map((t) => t.id === e.id ? o : t) ?? [] : t != null && t.length ? [...t, o] : [o];+ });+ };+ },+ createRow: (e, t) => {+ e.columnFilters = {}, e.columnFiltersMeta = {};+ },+ createTable: (e) => {+ e.setColumnFilters = (t) => {+ let n = e.getAllLeafColumns();+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => zA(t, e)?.filter((e) => {+ let t = n.find((t) => t.id === e.id);+ return !(t && rj(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());}- toggleSelection(e) {- if (this.selectionMode === "none") return;- if (this.selectionMode === "single" && !this.isSelected(e)) {- this.replaceSelection(e);- return;- }- let t = this.getKey(e);- if (t == null) return;- let n = new R_(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);- n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);+};+function rj(e, t, n) {+ return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;+}+var ij = {+ sum: (e, t, n) => n.reduce((t, n) => {+ let r = n.getValue(e);+ return t + (typeof r == "number" ? r : 0);+ }, 0),+ min: (e, t, n) => {+ let r;+ return n.forEach((t) => {+ let n = t.getValue(e);+ n != null && (r > n || r === void 0 && n >= n) && (r = n);+ }), r;+ },+ max: (e, t, n) => {+ let r;+ return n.forEach((t) => {+ let n = t.getValue(e);+ n != null && (r < n || r === void 0 && n >= n) && (r = n);+ }), r;+ },+ extent: (e, t, n) => {+ let r, i;+ return n.forEach((t) => {+ let n = t.getValue(e);+ n != null && (r === void 0 ? n >= n && (r = i = n) : (r > n && (r = n), i < n && (i = n)));+ }), [r, i];+ },+ mean: (e, t) => {+ let n = 0, r = 0;+ if (t.forEach((t) => {+ let i = t.getValue(e);+ i != null && (i = +i) >= i && (++n, r += i);+ }), n) return r / n;+ },+ median: (e, t) => {+ if (!t.length) return;+ let n = t.map((t) => t.getValue(e));+ if (!xie(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];+ },+ 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+}, aj = {+ getDefaultColumnDef: () => ({+ aggregatedCell: (e) => {+ var t;+ return ((t = e.getValue()) == null || t.toString == null ? void 0 : t.toString()) ?? null;+ },+ aggregationFn: "auto"+ }),+ getInitialState: (e) => ({+ grouping: [],+ ...e+ }),+ getDefaultOptions: (e) => ({+ onGroupingChange: BA("grouping", e),+ groupedColumnMode: "reorder"+ }),+ createColumn: (e, t) => {+ e.toggleGrouping = () => {+ t.setGrouping((t) => t != null && t.includes(e.id) ? t.filter((t) => t !== e.id) : [...t ?? [], e.id]);+ }, e.getCanGroup = () => (e.columnDef.enableGrouping ?? !0) && (t.options.enableGrouping ?? !0) && (!!e.accessorFn || !!e.columnDef.getGroupingValue), e.getIsGrouped = () => t.getState().grouping?.includes(e.id), e.getGroupedIndex = () => t.getState().grouping?.indexOf(e.id), e.getToggleGroupingHandler = () => {+ let t = e.getCanGroup();+ return () => {+ t && e.toggleGrouping();+ };+ }, e.getAutoAggregationFn = () => {+ let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);+ if (typeof n == "number") return ij.sum;+ if (Object.prototype.toString.call(n) === "[object Date]") return ij.extent;+ }, e.getAggregationFn = () => {+ if (!e) throw Error();+ return VA(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? ij[e.columnDef.aggregationFn];+ };+ },+ createTable: (e) => {+ e.setGrouping = (t) => e.options.onGroupingChange == null ? void 0 : e.options.onGroupingChange(t), e.resetGrouping = (t) => {+ e.setGrouping(t ? [] : e.initialState?.grouping ?? []);+ }, e.getPreGroupedRowModel = () => e.getFilteredRowModel(), e.getGroupedRowModel = () => (!e._getGroupedRowModel && e.options.getGroupedRowModel && (e._getGroupedRowModel = e.options.getGroupedRowModel(e)), e.options.manualGrouping || !e._getGroupedRowModel ? e.getPreGroupedRowModel() : e._getGroupedRowModel());+ },+ createRow: (e, t) => {+ e.getIsGrouped = () => !!e.groupingColumnId, e.getGroupingValue = (n) => {+ if (e._groupingValuesCache.hasOwnProperty(n)) return e._groupingValuesCache[n];+ let r = t.getColumn(n);+ return r != null && r.columnDef.getGroupingValue ? (e._groupingValuesCache[n] = r.columnDef.getGroupingValue(e.original), e._groupingValuesCache[n]) : e.getValue(n);+ }, e._groupingValuesCache = {};+ },+ createCell: (e, t, n, r) => {+ e.getIsGrouped = () => t.getIsGrouped() && t.id === n.groupingColumnId, e.getIsPlaceholder = () => !e.getIsGrouped() && t.getIsGrouped(), e.getIsAggregated = () => {+ var t;+ return !e.getIsGrouped() && !e.getIsPlaceholder() && !!((t = n.subRows) != null && t.length);+ };}- replaceSelection(e) {- if (this.selectionMode === "none") return;- let t = this.getKey(e);- if (t == null) return;- let n = this.canSelectItem(t) ? new R_([t], t, t) : new R_();- this.state.setSelectedKeys(n);+};+function oj(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 sj = {+ getInitialState: (e) => ({+ columnOrder: [],+ ...e+ }),+ getDefaultOptions: (e) => ({ onColumnOrderChange: BA("columnOrder", e) }),+ createColumn: (e, t) => {+ e.getIndex = Y((e) => [vj(t, e)], (t) => t.findIndex((t) => t.id === e.id), X(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => vj(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {+ let r = vj(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 = Y(() => [+ e.getState().columnOrder,+ e.getState().grouping,+ e.options.groupedColumnMode+ ], (e, t, n) => (r) => {+ let i = [];+ if (!(e != null && e.length)) i = r;+ else {+ let t = [...e], n = [...r];+ for (; n.length && t.length;) {+ let e = t.shift(), r = n.findIndex((t) => t.id === e);+ r > -1 && i.push(n.splice(r, 1)[0]);+ }+ i = [...i, ...n];+ }+ return oj(i, t, n);+ }, X(e.options, "debugTable", "_getOrderColumnsFn"));}- setSelectedKeys(e) {- if (this.selectionMode === "none") return;- let t = new R_();- for (let n of e) {- let e = this.getKey(n);- if (e != null && (t.add(e), this.selectionMode === "single")) break;- }- this.state.setSelectedKeys(t);+}, cj = () => ({+ left: [],+ right: []+}), lj = {+ getInitialState: (e) => ({+ columnPinning: cj(),+ ...e+ }),+ getDefaultOptions: (e) => ({ onColumnPinningChange: BA("columnPinning", e) }),+ createColumn: (e, t) => {+ e.pin = (n) => {+ let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);+ t.setColumnPinning((e) => n === "right" ? {+ left: (e?.left ?? []).filter((e) => !(r != null && r.includes(e))),+ right: [...(e?.right ?? []).filter((e) => !(r != null && r.includes(e))), ...r]+ } : n === "left" ? {+ left: [...(e?.left ?? []).filter((e) => !(r != null && r.includes(e))), ...r],+ right: (e?.right ?? []).filter((e) => !(r != null && r.includes(e)))+ } : {+ left: (e?.left ?? []).filter((e) => !(r != null && r.includes(e))),+ right: (e?.right ?? []).filter((e) => !(r != null && r.includes(e)))+ });+ }, e.getCanPin = () => e.getLeafColumns().some((e) => (e.columnDef.enablePinning ?? !0) && (t.options.enableColumnPinning ?? t.options.enablePinning ?? !0)), e.getIsPinned = () => {+ let n = e.getLeafColumns().map((e) => e.id), { left: r, right: i } = t.getState().columnPinning, a = n.some((e) => r?.includes(e)), o = n.some((e) => i?.includes(e));+ return a ? "left" : o ? "right" : !1;+ }, e.getPinnedIndex = () => {+ var n;+ let r = e.getIsPinned();+ return r ? ((n = t.getState().columnPinning) == null || (n = n[r]) == null ? void 0 : n.indexOf(e.id)) ?? -1 : 0;+ };+ },+ createRow: (e, t) => {+ e.getCenterVisibleCells = Y(() => [+ 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));+ }, X(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = Y(() => [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"+ })), X(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = Y(() => [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"+ })), X(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 ? cj() : e.initialState?.columnPinning ?? cj()), e.getIsSomeColumnsPinned = (t) => {+ let n = e.getState().columnPinning;+ return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);+ }, e.getLeftLeafColumns = Y(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), X(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = Y(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), X(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = Y(() => [+ 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));+ }, X(e.options, "debugColumns", "getCenterLeafColumns"));}- getSelectAllKeys() {- let e = this.fullCollection ?? this.collection, t = [], n = (r) => {- for (; r != null;) {- if (this.canSelectItemIn(r, e)) {- let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(bc(yc(i, e))?.key ?? null);- }- r = e.getKeyAfter(r);+};+function uj(e) {+ return e || (typeof document < "u" ? document : null);+}+var dj = {+ size: 150,+ minSize: 20,+ maxSize: 2 ** 53 - 1+}, fj = () => ({+ startOffset: null,+ startSize: null,+ deltaOffset: null,+ deltaPercentage: null,+ isResizingColumn: !1,+ columnSizingStart: []+}), pj = {+ getDefaultColumnDef: () => dj,+ getInitialState: (e) => ({+ columnSizing: {},+ columnSizingInfo: fj(),+ ...e+ }),+ getDefaultOptions: (e) => ({+ columnResizeMode: "onEnd",+ columnResizeDirection: "ltr",+ onColumnSizingChange: BA("columnSizing", e),+ onColumnSizingInfoChange: BA("columnSizingInfo", e)+ }),+ createColumn: (e, t) => {+ e.getSize = () => {+ let n = t.getState().columnSizing[e.id];+ return Math.min(Math.max(e.columnDef.minSize ?? dj.minSize, n ?? e.columnDef.size ?? dj.size), e.columnDef.maxSize ?? dj.maxSize);+ }, e.getStart = Y((e) => [+ e,+ vj(t, e),+ t.getState().columnSizing+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), X(t.options, "debugColumns", "getStart")), e.getAfter = Y((e) => [+ e,+ vj(t, e),+ t.getState().columnSizing+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), X(t.options, "debugColumns", "getAfter")), e.resetSize = () => {+ t.setColumnSizing((t) => {+ let { [e.id]: n, ...r } = t;+ return r;+ });+ }, e.getCanResize = () => (e.columnDef.enableResizing ?? !0) && (t.options.enableColumnResizing ?? !0), e.getIsResizing = () => t.getState().columnSizingInfo.isResizingColumn === e.id;+ },+ createHeader: (e, t) => {+ e.getSize = () => {+ let t = 0, n = (e) => {+ e.subHeaders.length ? e.subHeaders.forEach(n) : t += e.column.getSize() ?? 0;+ };+ return n(e), t;+ }, e.getStart = () => {+ if (e.index > 0) {+ let t = e.headerGroup.headers[e.index - 1];+ return t.getStart() + t.getSize();}+ return 0;+ }, e.getResizeHandler = (n) => {+ let r = t.getColumn(e.column.id), i = r?.getCanResize();+ return (a) => {+ if (!r || !i || (a.persist == null || a.persist(), gj(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 = gj(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) => {+ let [t, n] = e;+ l[t] = Math.round(Math.max(n + n * a, 0) * 100) / 100;+ }), {+ ...e,+ deltaOffset: i,+ deltaPercentage: a+ };+ }), (t.options.columnResizeMode === "onChange" || e === "end") && t.setColumnSizing((e) => ({+ ...e,+ ...l+ })));+ }, d = (e) => u("move", e), f = (e) => {+ u("end", e), t.setColumnSizingInfo((e) => ({+ ...e,+ isResizingColumn: !1,+ startOffset: null,+ startSize: null,+ deltaOffset: null,+ deltaPercentage: null,+ columnSizingStart: []+ }));+ }, p = uj(n), m = {+ moveHandler: (e) => d(e.clientX),+ upHandler: (e) => {+ p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);+ }+ }, h = {+ moveHandler: (e) => (e.cancelable && (e.preventDefault(), e.stopPropagation()), d(e.touches[0].clientX), !1),+ upHandler: (e) => {+ p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);+ }+ }, g = hj() ? { passive: !1 } : !1;+ gj(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,+ deltaOffset: 0,+ deltaPercentage: 0,+ columnSizingStart: s,+ isResizingColumn: r.id+ }));+ };};- return n(e.getFirstKey()), t;- }- selectAll() {- !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");- }- clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new R_());- }- toggleSelectAll() {- this.isSelectAll ? this.clearSelection() : this.selectAll();- }- select(e, t) {- this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));- }- isSelectionEqual(e) {- if (e === this.state.selectedKeys) return !0;- let t = this.selectedKeys;- if (e.size !== t.size) return !1;- for (let n of e) if (!t.has(n)) return !1;- for (let n of t) if (!e.has(n)) return !1;- return !0;- }- canSelectItem(e) {- return this.canSelectItemIn(e, this.collection);- }- canSelectItemIn(e, t) {- if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;- let n = t.getItem(e);- return !(!n || n?.props?.isDisabled || n.type === "cell" && !this.allowsCellSelection);- }- isDisabled(e) {- let t = this.collection.getItem(e);- return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!t?.props?.isDisabled) && t?.props?.disabledBehavior !== "selection";+ },+ createTable: (e) => {+ 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 ? fj() : e.initialState.columnSizingInfo ?? fj());+ }, 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;}- isLink(e) {- return !!this.collection.getItem(e)?.props?.href;+}, mj = null;+function hj() {+ if (typeof mj == "boolean") return mj;+ let e = !1;+ try {+ let t = { get passive() {+ return e = !0, !1;+ } }, n = () => {};+ window.addEventListener("test", n, t), window.removeEventListener("test", n);+ } catch {+ e = !1;}- getItemProps(e) {- return this.collection.getItem(e)?.props;+ return mj = e, mj;+}+function gj(e) {+ return e.type === "touchstart";+}+var _j = {+ getInitialState: (e) => ({+ columnVisibility: {},+ ...e+ }),+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: BA("columnVisibility", e) }),+ createColumn: (e, t) => {+ e.toggleVisibility = (n) => {+ e.getCanHide() && t.setColumnVisibility((t) => ({+ ...t,+ [e.id]: n ?? !e.getIsVisible()+ }));+ }, e.getIsVisible = () => {+ let n = e.columns;+ return (n.length ? n.some((e) => e.getIsVisible()) : t.getState().columnVisibility?.[e.id]) ?? !0;+ }, e.getCanHide = () => (e.columnDef.enableHiding ?? !0) && (t.options.enableHiding ?? !0), e.getToggleVisibilityHandler = () => (t) => {+ e.toggleVisibility == null || e.toggleVisibility(t.target.checked);+ };+ },+ createRow: (e, t) => {+ e._getAllVisibleCells = Y(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), X(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = Y(() => [+ e.getLeftVisibleCells(),+ e.getCenterVisibleCells(),+ e.getRightVisibleCells()+ ], (e, t, n) => [+ ...e,+ ...t,+ ...n+ ], X(t.options, "debugRows", "getVisibleCells"));+ },+ createTable: (e) => {+ let t = (t, n) => Y(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), X(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) => {+ t ??= !e.getIsAllColumnsVisible(), e.setColumnVisibility(e.getAllLeafColumns().reduce((e, n) => ({+ ...e,+ [n.id]: t || !(n.getCanHide != null && n.getCanHide())+ }), {}));+ }, e.getIsAllColumnsVisible = () => !e.getAllLeafColumns().some((e) => !(e.getIsVisible != null && e.getIsVisible())), e.getIsSomeColumnsVisible = () => e.getAllLeafColumns().some((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), e.getToggleAllColumnsVisibilityHandler = () => (t) => {+ e.toggleAllColumnsVisible(t.target?.checked);+ };}- withCollection(t) {- return new e(t, this.state, {- allowsCellSelection: this.allowsCellSelection,- layoutDelegate: this.layoutDelegate || void 0,- fullCollection: this.fullCollection ?? this.collection- });+};+function vj(e, t) {+ return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();+}+var yj = { 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();+ };+} }, bj = {+ getInitialState: (e) => ({+ globalFilter: void 0,+ ...e+ }),+ getDefaultOptions: (e) => ({+ onGlobalFilterChange: BA("globalFilter", e),+ globalFilterFn: "auto",+ getColumnCanGlobalFilter: (t) => {+ var n;+ let r = (n = e.getCoreRowModel().flatRows[0]) == null || (n = n._getAllCellsByColumnId()[t.id]) == null ? void 0 : n.getValue();+ return typeof r == "string" || typeof r == "number";+ }+ }),+ createColumn: (e, t) => {+ 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 = () => ej.includesString, e.getGlobalFilterFn = () => {+ let { globalFilterFn: t } = e.options;+ return VA(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? ej[t];+ }, e.setGlobalFilter = (t) => {+ e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);+ }, e.resetGlobalFilter = (t) => {+ e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);+ };}-}, U_ = class {- build(e, t) {- return this.context = t, W_(() => this.iterateCollection(e));+}, xj = {+ getInitialState: (e) => ({+ expanded: {},+ ...e+ }),+ getDefaultOptions: (e) => ({+ onExpandedChange: BA("expanded", e),+ paginateExpandedRows: !0+ }),+ createTable: (e) => {+ let t = !1, n = !1;+ e._autoResetExpanded = () => {+ if (!t) {+ e._queue(() => {+ t = !0;+ });+ return;+ }+ if (e.options.autoResetAll ?? e.options.autoResetExpanded ?? !e.options.manualExpanding) {+ if (n) return;+ n = !0, e._queue(() => {+ e.resetExpanded(), n = !1;+ });+ }+ }, e.setExpanded = (t) => e.options.onExpandedChange == null ? void 0 : e.options.onExpandedChange(t), e.toggleAllRowsExpanded = (t) => {+ t ?? !e.getIsAllRowsExpanded() ? e.setExpanded(!0) : e.setExpanded({});+ }, e.resetExpanded = (t) => {+ e.setExpanded(t ? {} : e.initialState?.expanded ?? {});+ }, e.getCanSomeRowsExpand = () => e.getPrePaginationRowModel().flatRows.some((e) => e.getCanExpand()), e.getToggleAllRowsExpandedHandler = () => (t) => {+ t.persist == null || t.persist(), e.toggleAllRowsExpanded();+ }, e.getIsSomeRowsExpanded = () => {+ let t = e.getState().expanded;+ return t === !0 || Object.values(t).some(Boolean);+ }, e.getIsAllRowsExpanded = () => {+ let t = e.getState().expanded;+ return typeof t == "boolean" ? t === !0 : !(!Object.keys(t).length || e.getRowModel().flatRows.some((e) => !e.getIsExpanded()));+ }, e.getExpandedDepth = () => {+ let t = 0;+ return (e.getState().expanded === !0 ? Object.keys(e.getRowModel().rowsById) : Object.keys(e.getState().expanded)).forEach((e) => {+ let n = e.split(".");+ t = Math.max(t, n.length);+ }), t;+ }, e.getPreExpandedRowModel = () => e.getSortedRowModel(), e.getExpandedRowModel = () => (!e._getExpandedRowModel && e.options.getExpandedRowModel && (e._getExpandedRowModel = e.options.getExpandedRowModel(e)), e.options.manualExpanding || !e._getExpandedRowModel ? e.getPreExpandedRowModel() : e._getExpandedRowModel());+ },+ createRow: (e, t) => {+ e.toggleExpanded = (n) => {+ t.setExpanded((r) => {+ let i = r === !0 || !!(r != null && r[e.id]), a = {};+ if (r === !0 ? Object.keys(t.getRowModel().rowsById).forEach((e) => {+ a[e] = !0;+ }) : a = r, n ??= !i, !i && n) return {+ ...a,+ [e.id]: !0+ };+ if (i && !n) {+ let { [e.id]: t, ...n } = a;+ return n;+ }+ return r;+ });+ }, e.getIsExpanded = () => {+ let n = t.getState().expanded;+ return !!((t.options.getIsRowExpanded == null ? void 0 : t.options.getIsRowExpanded(e)) ?? (n === !0 || n?.[e.id]));+ }, e.getCanExpand = () => {+ var n;+ return (t.options.getRowCanExpand == null ? void 0 : t.options.getRowCanExpand(e)) ?? ((t.options.enableExpanding ?? !0) && !!((n = e.subRows) != null && n.length));+ }, e.getIsAllParentsExpanded = () => {+ let n = !0, r = e;+ for (; n && r.parentId;) r = t.getRow(r.parentId, !0), n = r.getIsExpanded();+ return n;+ }, e.getToggleExpandedHandler = () => {+ let t = e.getCanExpand();+ return () => {+ t && e.toggleExpanded();+ };+ };}- *iterateCollection(e) {- let { children: t, items: n } = e;- if (E.isValidElement(t) && t.type === E.Fragment) yield* this.iterateCollection({- children: t.props.children,- items: n- });- else if (typeof t == "function") {- if (!n) throw Error("props.children was a function but props.items is missing");- let e = 0;- for (let r of n) yield* this.getFullNode({- value: r,- index: e- }, { renderer: t }), e++;- } else {- let e = [];- E.Children.forEach(t, (t) => {- t && e.push(t);+}, Sj = 0, Cj = 10, wj = () => ({+ pageIndex: Sj,+ pageSize: Cj+}), Tj = {+ getInitialState: (e) => ({+ ...e,+ pagination: {+ ...wj(),+ ...e?.pagination+ }+ }),+ getDefaultOptions: (e) => ({ onPaginationChange: BA("pagination", e) }),+ createTable: (e) => {+ let t = !1, n = !1;+ e._autoResetPageIndex = () => {+ if (!t) {+ e._queue(() => {+ t = !0;+ });+ return;+ }+ if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {+ if (n) return;+ n = !0, e._queue(() => {+ e.resetPageIndex(), n = !1;+ });+ }+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => zA(t, e)), e.resetPagination = (t) => {+ e.setPagination(t ? wj() : e.initialState.pagination ?? wj());+ }, e.setPageIndex = (t) => {+ e.setPagination((n) => {+ let r = zA(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+ };+ });+ }, e.resetPageIndex = (t) => {+ var n;+ e.setPageIndex(t ? Sj : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? Sj);+ }, e.resetPageSize = (t) => {+ var n;+ e.setPageSize(t ? Cj : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? Cj);+ }, e.setPageSize = (t) => {+ e.setPagination((e) => {+ let n = Math.max(1, zA(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);+ return {+ ...e,+ pageIndex: i,+ pageSize: n+ };});- let n = 0;- for (let t of e) {- let e = this.getFullNode({- element: t,- index: n- }, {});- for (let t of e) n++, yield t;- }- }- }- getKey(e, t, n, r) {- if (e.key != null) return e.key;- if (t.type === "cell" && t.key != null) return `${r}${t.key}`;- let i = t.value;- if (i != null) {- let e = i.key ?? i.id;- if (e == null) throw Error("No key found for item");- return e;- }- return r ? `${r}.${t.index}` : `$.${t.index}`;+ }, e.setPageCount = (t) => e.setPagination((n) => {+ let r = zA(t, e.options.pageCount ?? -1);+ return typeof r == "number" && (r = Math.max(-1, r)), {+ ...n,+ pageCount: r+ };+ }), e.getPageOptions = Y(() => [e.getPageCount()], (e) => {+ let t = [];+ return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;+ }, X(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;}- getChildState(e, t) {- return { renderer: t.renderer || e.renderer };+}, Ej = () => ({+ top: [],+ bottom: []+}), Dj = {+ getInitialState: (e) => ({+ rowPinning: Ej(),+ ...e+ }),+ getDefaultOptions: (e) => ({ onRowPinningChange: BA("rowPinning", e) }),+ createRow: (e, t) => {+ e.pin = (n, r, i) => {+ let a = r ? e.getLeafRows().map((e) => {+ let { id: t } = e;+ return t;+ }) : [], o = i ? e.getParentRows().map((e) => {+ let { id: t } = e;+ return t;+ }) : [], s = /* @__PURE__ */ new Set([+ ...o,+ e.id,+ ...a+ ]);+ t.setRowPinning((e) => n === "bottom" ? {+ top: (e?.top ?? []).filter((e) => !(s != null && s.has(e))),+ bottom: [...(e?.bottom ?? []).filter((e) => !(s != null && s.has(e))), ...Array.from(s)]+ } : n === "top" ? {+ top: [...(e?.top ?? []).filter((e) => !(s != null && s.has(e))), ...Array.from(s)],+ bottom: (e?.bottom ?? []).filter((e) => !(s != null && s.has(e)))+ } : {+ top: (e?.top ?? []).filter((e) => !(s != null && s.has(e))),+ bottom: (e?.bottom ?? []).filter((e) => !(s != null && s.has(e)))+ });+ }, e.getCanPin = () => {+ let { enableRowPinning: n, enablePinning: r } = t.options;+ return typeof n == "function" ? n(e) : n ?? r ?? !0;+ }, e.getIsPinned = () => {+ let n = [e.id], { top: r, bottom: i } = t.getState().rowPinning, a = n.some((e) => r?.includes(e)), o = n.some((e) => i?.includes(e));+ return a ? "top" : o ? "bottom" : !1;+ }, e.getPinnedIndex = () => {+ let n = e.getIsPinned();+ return n ? ((n === "top" ? t.getTopRows() : t.getBottomRows())?.map((e) => {+ let { id: t } = e;+ return t;+ }))?.indexOf(e.id) ?? -1 : -1;+ };+ },+ createTable: (e) => {+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? Ej() : e.initialState?.rowPinning ?? Ej()), 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) => {+ let n = e.getRow(t, !0);+ return n.getIsAllParentsExpanded() ? n : null;+ }) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({+ ...e,+ position: r+ })), e.getTopRows = Y(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), X(e.options, "debugRows", "getTopRows")), e.getBottomRows = Y(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), X(e.options, "debugRows", "getBottomRows")), e.getCenterRows = Y(() => [+ 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));+ }, X(e.options, "debugRows", "getCenterRows"));}- *getFullNode(e, t, n, r) {- if (E.isValidElement(e.element) && e.element.type === E.Fragment) {- let i = [];- E.Children.forEach(e.element.props.children, (e) => {- i.push(e);+}, Oj = {+ getInitialState: (e) => ({+ rowSelection: {},+ ...e+ }),+ getDefaultOptions: (e) => ({+ onRowSelectionChange: BA("rowSelection", e),+ enableRowSelection: !0,+ enableMultiRowSelection: !0,+ enableSubRowSelection: !0+ }),+ createTable: (e) => {+ e.setRowSelection = (t) => e.options.onRowSelectionChange == null ? void 0 : e.options.onRowSelectionChange(t), e.resetRowSelection = (t) => e.setRowSelection(t ? {} : e.initialState.rowSelection ?? {}), e.toggleAllRowsSelected = (t) => {+ e.setRowSelection((n) => {+ t = t === void 0 ? !e.getIsAllRowsSelected() : t;+ let r = { ...n }, i = e.getPreGroupedRowModel().flatRows;+ return t ? i.forEach((e) => {+ e.getCanSelect() && (r[e.id] = !0);+ }) : i.forEach((e) => {+ delete r[e.id];+ }), r;});- let a = e.index ?? 0;- for (let e of i) yield* this.getFullNode({- element: e,- index: a++- }, t, n, r);- return;+ }, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {+ let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };+ return e.getRowModel().rows.forEach((t) => {+ kj(i, t.id, r, !0, e);+ }), i;+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Y(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Aj(e, n) : {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, X(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Y(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Aj(e, n) : {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, X(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Y(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Aj(e, n) : {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, X(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 = () => {+ let t = e.getPaginationRowModel().flatRows.filter((e) => e.getCanSelect()), { rowSelection: n } = e.getState(), r = !!t.length;+ return r && t.some((e) => !n[e.id]) && (r = !1), r;+ }, e.getIsSomeRowsSelected = () => {+ let t = Object.keys(e.getState().rowSelection ?? {}).length;+ return t > 0 && t < e.getFilteredRowModel().flatRows.length;+ }, e.getIsSomePageRowsSelected = () => {+ let t = e.getPaginationRowModel().flatRows;+ return !e.getIsAllPageRowsSelected() && t.filter((e) => e.getCanSelect()).some((e) => e.getIsSelected() || e.getIsSomeSelected());+ }, e.getToggleAllRowsSelectedHandler = () => (t) => {+ e.toggleAllRowsSelected(t.target.checked);+ }, e.getToggleAllPageRowsSelectedHandler = () => (t) => {+ e.toggleAllPageRowsSelected(t.target.checked);+ };+ },+ createRow: (e, t) => {+ e.toggleSelected = (n, r) => {+ let i = e.getIsSelected();+ t.setRowSelection((a) => {+ if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;+ let o = { ...a };+ return kj(o, e.id, n, r?.selectChildren ?? !0, t), o;+ });+ }, e.getIsSelected = () => {+ let { rowSelection: n } = t.getState();+ return jj(e, n);+ }, e.getIsSomeSelected = () => {+ let { rowSelection: n } = t.getState();+ return Mj(e, n) === "some";+ }, e.getIsAllSubRowsSelected = () => {+ let { rowSelection: n } = t.getState();+ return Mj(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) => {+ t && e.toggleSelected(n.target?.checked);+ };+ };+ }+}, kj = (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) => kj(e, t.id, n, r, i));+};+function Aj(e, t) {+ let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {+ return e.map((e) => {+ var t;+ let o = jj(e, n);+ if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {+ ...e,+ subRows: a(e.subRows)+ }), o) return e;+ }).filter(Boolean);+ };+ return {+ rows: a(t.rows),+ flatRows: r,+ rowsById: i+ };+}+function jj(e, t) {+ return t[e.id] ?? !1;+}+function Mj(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() && (jj(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {+ let n = Mj(e, t);+ n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);}- let i = e.element;- if (!i && e.value && t && t.renderer) {- let n = this.cache.get(e.value);- if (n && (!n.shouldInvalidate || !n.shouldInvalidate(this.context))) {- n.index = e.index, n.parentKey = r ? r.key : null, yield n;- return;- }- i = t.renderer(e.value);+ }), i ? "all" : a ? "some" : !1;+}+var Nj = /([0-9]+)/gm, Pj = (e, t, n) => Hj(Vj(e.getValue(n)).toLowerCase(), Vj(t.getValue(n)).toLowerCase()), Fj = (e, t, n) => Hj(Vj(e.getValue(n)), Vj(t.getValue(n))), Ij = (e, t, n) => Bj(Vj(e.getValue(n)).toLowerCase(), Vj(t.getValue(n)).toLowerCase()), Lj = (e, t, n) => Bj(Vj(e.getValue(n)), Vj(t.getValue(n))), Rj = (e, t, n) => {+ let r = e.getValue(n), i = t.getValue(n);+ return r > i ? 1 : r < i ? -1 : 0;+}, zj = (e, t, n) => Bj(e.getValue(n), t.getValue(n));+function Bj(e, t) {+ return e === t ? 0 : e > t ? 1 : -1;+}+function Vj(e) {+ return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";+}+function Hj(e, t) {+ let n = e.split(Nj).filter(Boolean), r = t.split(Nj).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])) {+ if (e > t) return 1;+ if (t > e) return -1;+ continue;}- if (E.isValidElement(i)) {- let a = i.type;- if (typeof a != "function" && typeof a.getCollectionNode != "function") {- let e = i.type;- throw Error(`Unknown element <${e}> in collection.`);- }- let o = a.getCollectionNode(i.props, this.context), s = e.index ?? 0, c = o.next();- for (; !c.done && c.value;) {- let a = c.value;- e.index = s;- let l = a.key ?? null;- l ??= a.element ? null : this.getKey(i, e, t, n);- let u = [...this.getFullNode({- ...a,- key: l,- index: s,- wrapper: G_(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 <${K_(t.type)}> in <${K_(r?.type ?? "unknown parent type")}>. Only <${K_(e.type)}> is supported.`);- s++, yield t;+ if (isNaN(o[1])) return isNaN(i) ? -1 : 1;+ if (i > a) return 1;+ if (a > i) return -1;+ }+ return n.length - r.length;+}+var Uj = {+ alphanumeric: Pj,+ alphanumericCaseSensitive: Fj,+ text: Ij,+ textCaseSensitive: Lj,+ datetime: Rj,+ basic: zj+}, Wj = [+ Tie,+ _j,+ sj,+ lj,+ Die,+ nj,+ yj,+ bj,+ {+ getInitialState: (e) => ({+ sorting: [],+ ...e+ }),+ getDefaultColumnDef: () => ({+ sortingFn: "auto",+ sortUndefined: 1+ }),+ getDefaultOptions: (e) => ({+ onSortingChange: BA("sorting", e),+ isMultiSortEvent: (e) => e.shiftKey+ }),+ createColumn: (e, t) => {+ e.getAutoSortingFn = () => {+ 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 Uj.datetime;+ if (typeof n == "string" && (r = !0, n.split(Nj).length > 1)) return Uj.alphanumeric;}- c = o.next(u);- }- return;+ return r ? Uj.text : Uj.basic;+ }, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {+ if (!e) throw Error();+ return VA(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Uj[e.columnDef.sortingFn];+ }, e.toggleSorting = (n, r) => {+ let i = e.getNextSortingOrder(), a = n != null;+ t.setSorting((o) => {+ let s = o?.find((t) => t.id === e.id), c = o?.findIndex((t) => t.id === e.id), l = [], u, d = a ? n : i === "desc";+ return u = o != null && o.length && e.getCanMultiSort() && r ? s ? "toggle" : "add" : o != null && o.length && c !== o.length - 1 ? "replace" : s ? "toggle" : "replace", u === "toggle" && (a || i || (u = "remove")), u === "add" ? (l = [...o, {+ id: e.id,+ desc: d+ }], l.splice(0, l.length - (t.options.maxMultiSortColCount ?? 2 ** 53 - 1))) : l = u === "toggle" ? o.map((t) => t.id === e.id ? {+ ...t,+ desc: d+ } : t) : u === "remove" ? o.filter((t) => t.id !== e.id) : [{+ id: e.id,+ desc: d+ }], l;+ });+ }, e.getFirstSortDir = () => e.columnDef.sortDescFirst ?? t.options.sortDescFirst ?? e.getAutoSortDir() === "desc" ? "desc" : "asc", e.getNextSortingOrder = (n) => {+ let r = e.getFirstSortDir(), i = e.getIsSorted();+ return i ? i !== r && (t.options.enableSortingRemoval ?? !0) && (!n || (t.options.enableMultiRemove ?? !0)) ? !1 : i === "desc" ? "asc" : "desc" : r;+ }, e.getCanSort = () => (e.columnDef.enableSorting ?? !0) && (t.options.enableSorting ?? !0) && !!e.accessorFn, e.getCanMultiSort = () => e.columnDef.enableMultiSort ?? t.options.enableMultiSort ?? !!e.accessorFn, e.getIsSorted = () => {+ let n = t.getState().sorting?.find((t) => t.id === e.id);+ return n ? n.desc ? "desc" : "asc" : !1;+ }, e.getSortIndex = () => t.getState().sorting?.findIndex((t) => t.id === e.id) ?? -1, e.clearSorting = () => {+ t.setSorting((t) => t != null && t.length ? t.filter((t) => t.id !== e.id) : []);+ }, e.getToggleSortingHandler = () => {+ let n = e.getCanSort();+ return (r) => {+ n && (r.persist == null || r.persist(), e.toggleSorting == null || e.toggleSorting(void 0, e.getCanMultiSort() ? t.options.isMultiSortEvent == null ? void 0 : t.options.isMultiSortEvent(r) : !1));+ };+ };+ },+ createTable: (e) => {+ e.setSorting = (t) => e.options.onSortingChange == null ? void 0 : e.options.onSortingChange(t), e.resetSorting = (t) => {+ e.setSorting(t ? [] : e.initialState?.sorting ?? []);+ }, 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());}- if (e.key == null || e.type == null) return;- let a = this, o = {- type: e.type,- props: e.props,- key: e.key,- parentKey: r ? r.key : null,- value: e.value ?? null,- level: (r?.level ?? 0) + +(r?.type === "item"),- index: e.index,- rendered: e.rendered,- textValue: e.textValue ?? "",- "aria-label": e["aria-label"],- wrapper: e.wrapper,- shouldInvalidate: e.shouldInvalidate,- hasChildNodes: e.hasChildNodes || !1,- childNodes: W_(function* () {- if (!e.hasChildNodes || !e.childNodes) return;- let n = 0;- for (let r of e.childNodes()) {- r.key != null && (r.key = `${o.key}${r.key}`);- let e = a.getFullNode({- ...r,- index: n- }, a.getChildState(t, r), o.key, o);- for (let t of e) n++, yield t;+ },+ aj,+ xj,+ Tj,+ Dj,+ Oj,+ pj+];+function Gj(e) {+ let t = [...Wj, ...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 ?? {} };+ n._features.forEach((e) => {+ a = (e.getInitialState == null ? void 0 : e.getInitialState(a)) ?? a;+ });+ let o = [], s = !1, c = {+ _features: t,+ options: {+ ...r,+ ...e+ },+ initialState: a,+ _queue: (e) => {+ o.push(e), s || (s = !0, Promise.resolve().then(() => {+ for (; o.length;) o.shift()();+ s = !1;+ }).catch((e) => setTimeout(() => {+ throw e;+ })));+ },+ reset: () => {+ n.setState(n.initialState);+ },+ setOptions: (e) => {+ let t = zA(e, n.options);+ n.options = i(t);+ },+ getState: () => n.options.state,+ setState: (e) => {+ n.options.onStateChange == null || n.options.onStateChange(e);+ },+ _getRowId: (e, t, r) => (n.options.getRowId == null ? void 0 : n.options.getRowId(e, t, r)) ?? `${r ? [r.id, t].join(".") : t}`,+ getCoreRowModel: () => (n._getCoreRowModel ||= n.options.getCoreRowModel(n), n._getCoreRowModel()),+ getRowModel: () => n.getPaginationRowModel(),+ getRow: (e, t) => {+ let r = (t ? n.getPrePaginationRowModel() : n.getRowModel()).rowsById[e];+ if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();+ return r;+ },+ _getDefaultColumnDef: Y(() => [n.options.defaultColumn], (e) => (e ??= {}, {+ header: (e) => {+ let t = e.header.column.columnDef;+ return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;+ },+ cell: (e) => {+ var t;+ return ((t = e.renderValue()) == null || t.toString == null ? void 0 : t.toString()) ?? null;+ },+ ...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),+ ...e+ }), X(e, "debugColumns", "_getDefaultColumnDef")),+ _getColumnDefs: () => n.options.columns,+ getAllColumns: Y(() => [n._getColumnDefs()], (e) => {+ let t = function(e, r, i) {+ return i === void 0 && (i = 0), e.map((e) => {+ let a = wie(n, e, i, r), o = e;+ return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;+ });+ };+ return t(e);+ }, X(e, "debugColumns", "getAllColumns")),+ getAllFlatColumns: Y(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), X(e, "debugColumns", "getAllFlatColumns")),+ _getAllFlatColumnsById: Y(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), X(e, "debugColumns", "getAllFlatColumnsById")),+ getAllLeafColumns: Y(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), X(e, "debugColumns", "getAllLeafColumns")),+ getColumn: (e) => n._getAllFlatColumnsById()[e]+ };+ Object.assign(n, c);+ for (let e = 0; e < n._features.length; e++) {+ let t = n._features[e];+ t == null || t.createTable == null || t.createTable(n);+ }+ return n;+}+function Kj() {+ return (e) => Y(() => [e.options.data], (t) => {+ let n = {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, r = function(t, i, a) {+ i === void 0 && (i = 0);+ let o = [];+ for (let c = 0; c < t.length; c++) {+ let l = Eie(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));}- })+ }+ return o;};- yield o;- }- constructor() {- this.cache = /* @__PURE__ */ new WeakMap();- }-};-function W_(e) {- let t = [], n = null;- return { *[Symbol.iterator]() {- for (let e of t) yield e;- n ||= e();- for (let e of n) t.push(e), yield e;- } };+ return n.rows = r(t), n;+ }, X(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));}-function G_(e, t) {- if (e && t) return (n) => e(t(n));- if (e) return e;- if (t) return t;+function qj(e) {+ let t = [], n = (e) => {+ var r;+ t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);+ };+ return e.rows.forEach(n), {+ rows: t,+ flatRows: e.flatRows,+ rowsById: e.rowsById+ };}-function K_(e) {- return e[0].toUpperCase() + e.slice(1);+function Jj(e) {+ return (e) => Y(() => [+ e.getState().pagination,+ e.getPrePaginationRowModel(),+ e.options.paginateExpandedRows ? void 0 : e.getState().expanded+ ], (t, n) => {+ if (!n.rows.length) return n;+ let { pageSize: r, pageIndex: i } = t, { rows: a, flatRows: o, rowsById: s } = n, c = r * i, l = c + r;+ a = a.slice(c, l);+ let u;+ u = e.options.paginateExpandedRows ? {+ rows: a,+ flatRows: o,+ rowsById: s+ } : qj({+ rows: a,+ flatRows: o,+ rowsById: s+ }), u.flatRows = [];+ let d = (e) => {+ u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);+ };+ return u.rows.forEach(d), u;+ }, X(e.options, "debugTable", "getPaginationRowModel"));}//#endregion-//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function q_(e, t, n) {- let r = (0, E.useMemo)(() => new U_(), []), { children: i, items: a, collection: o } = e;- return (0, E.useMemo)(() => o || t(r.build({- children: i,- items: a- }, n)), [- r,- i,- a,- o,- n,- t- ]);+//#region node_modules/@tanstack/react-table/build/lib/index.mjs+function Yj(e, t) {+ return e ? Xj(e) ? /*#__PURE__*/ E.createElement(e, t) : e : null;+}+function Xj(e) {+ return Zj(e) || typeof e == "function" || Qj(e);+}+function Zj(e) {+ return typeof e == "function" && (() => {+ let t = Object.getPrototypeOf(e);+ return t.prototype && t.prototype.isReactComponent;+ })();+}+function Qj(e) {+ return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);+}+function $j(e) {+ let t = {+ state: {},+ onStateChange: () => {},+ renderFallbackValue: null,+ ...e+ }, [n] = E.useState(() => ({ current: Gj(t) })), [r, i] = E.useState(() => n.current.initialState);+ return n.current.setOptions((t) => ({+ ...t,+ ...e,+ state: {+ ...r,+ ...e.state+ },+ onStateChange: (t) => {+ i(t), e.onStateChange == null || e.onStateChange(t);+ }+ })), n.current;+}+//#endregion+//#region src/react/boardui/components/foundations/icons/chevrons.tsx+function eM(e) {+ return /* @__PURE__ */ (0, D.jsx)("svg", {+ viewBox: "0 0 16 16",+ fill: "none",+ "aria-hidden": !0,+ ...e,+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",+ stroke: "currentColor",+ strokeWidth: "2",+ strokeLinecap: "round"+ })+ });+}+function tM(e) {+ return /* @__PURE__ */ (0, D.jsx)("svg", {+ viewBox: "0 0 24 24",+ fill: "none",+ "aria-hidden": !0,+ ...e,+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ d: "M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z",+ fill: "currentColor"+ })+ });}//#endregion-//#region node_modules/react-stately/dist/private/list/useListState.mjs-function J_(e) {- let { filter: t, layoutDelegate: n } = e, r = B_(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = q_(e, (0, E.useCallback)((e) => t ? new L_(t(e)) : new L_(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new H_(a, r, { layoutDelegate: n }), [- a,- r,+//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts+function nM(e, t, n) {+ (0, E.useEffect)(() => {+ if (!e) return;+ let r = (e) => {+ let r = e.target;+ n.some((e) => e.current?.contains(r)) || t();+ };+ return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);+ }, [+ e,+ t,n]);- return X_(a, o), {- collection: a,- disabledKeys: i,- selectionManager: o- };}-function Y_(e, t) {- let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return X_(n, r), {- collection: n,- selectionManager: r,- disabledKeys: e.disabledKeys- };+function rM(e, t) {+ let n = (0, E.useRef)(!1);+ return (0, E.useEffect)(() => {+ if (!e) return;+ let r = (e) => {+ t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {+ n.current = !1;+ }, 400));+ };+ return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);+ }, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}-function X_(e, t) {- let n = (0, E.useRef)(null);- (0, E.useEffect)(() => {- if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {- let r = n.current.getKeyAfter(t.focusedKey), i = null;- for (; r != null;) {- let a = e.getItem(r);- if (a && a.type === "item" && !t.isDisabled(r)) {- i = r;- break;- }- r = n.current.getKeyAfter(r);- }- if (i == null) for (r = n.current.getKeyBefore(t.focusedKey); r != null;) {- let a = e.getItem(r);- if (a && a.type === "item" && !t.isDisabled(r)) {- i = r;- break;- }- r = n.current.getKeyBefore(r);- }- t.setFocusedKey(i);- }- n.current = e;- }, [e, t]);+//#endregion+//#region src/react/boardui/components/base/select/select.tsx+var iM = (0, E.createContext)("md");+function aM({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+ let l = (0, E.useRef)(null), u = (0, E.useRef)(null), [d, f] = (0, E.useState)(!1);+ nM(d, () => f(!1), [l, u]);+ let p = rM(d, l);+ return /* @__PURE__ */ (0, D.jsx)(yD, {+ ref: s,+ ...c,+ isOpen: d,+ onOpenChange: (e) => p(e) && f(e),+ className: _w("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(one, {+ ref: l,+ className: _w("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, D.jsx)(CD, {+ className: _w("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ children: o+ }), /* @__PURE__ */ (0, D.jsx)(eM, { className: _w("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, D.jsx)(UE, {+ ref: u,+ isNonModal: !0,+ offset: 4,+ className: _w(Gre, iA, "p-2", n),+ children: /* @__PURE__ */ (0, D.jsx)(OE, {+ items: a,+ className: _w(Kre, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, D.jsx)(iM.Provider, {+ value: r,+ children: i+ })+ })+ })] })+ });+}+function oM({ className: e, children: t, ...n }) {+ let r = (0, E.useContext)(iM);+ return /* @__PURE__ */ (0, D.jsx)(ME, {+ ...n,+ className: (t) => _w(aA, 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 node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function Z_(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, E.useRef)(null), s = Li((e) => {- for (let t of e) t.isIntersecting && r && r();+//#region src/react/components/selection-dock.tsx+function sM({ children: e, count: t, label: n }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ role: "group",+ "aria-label": n,+ "data-selection-dock": !0,+ "data-glass-pane": "",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ role: "status",+ className: "px-2 text-body-2-regular whitespace-nowrap text-text-primary",+ children: t+ }), e]});- cn(() => {- if (t.current) {- let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;- o.current = new IntersectionObserver(s, {- root: Co(t?.current),- rootMargin: n- }), o.current.observe(t.current);- }- return () => {- o.current && o.current.disconnect();- };- }, [- n,- t,- i,- a- ]);}//#endregion-//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var Q_ = /*#__PURE__*/ (0, E.createContext)(null), $_ = /*#__PURE__*/ (0, E.createContext)(null), ev = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, Q_);- let n = (0, E.useContext)($_);- return n ? /*#__PURE__*/ E.createElement(nv, {- state: n,- props: e,- listBoxRef: t- }) : /*#__PURE__*/ E.createElement(pi, { content: /*#__PURE__*/ E.createElement(Ti, e) }, (n) => /*#__PURE__*/ E.createElement(tv, {- props: e,- listBoxRef: t,- collection: n- }));-});-function tv({ props: e, listBoxRef: t, collection: n }) {- e = {- ...e,- collection: n,- children: null,- items: null- };- let { layoutDelegate: r } = (0, E.useContext)(vg), i = J_({- ...e,- layoutDelegate: r+//#region src/react/follow-manage/source-list.tsx+var cM = Object.fromEntries(Object.entries(kk).map(([e, t]) => [t, e])), lM = 740;+function uM() {+ let [e, t] = (0, E.useState)(!1), n = (0, E.useRef)(null), r = (0, E.useCallback)((e) => {+ if (n.current?.disconnect(), !e) {+ n.current = null;+ return;+ }+ let r = new ResizeObserver(() => t(e.clientWidth < lM));+ r.observe(e), n.current = r, t(e.clientWidth < lM);+ }, []);+ return (0, E.useEffect)(() => () => n.current?.disconnect(), []), [r, e];+}+var dM = {+ select: "选择",+ author: "创作者",+ source: "来源",+ provider: "站点",+ status: "状态",+ checked: "上次检查",+ actions: "操作"+};+function fM({ page: e, pages: t, onPage: n }) {+ return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {+ "aria-label": "关注列表分页",+ className: "flex flex-wrap items-center justify-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: e <= 1,+ onClick: () => n(e - 1),+ children: "上一页"+ }),+ /* @__PURE__ */ (0, D.jsx)("ul", {+ className: "flex flex-wrap items-center gap-1",+ children: mk(e, t).map((t, r) => /* @__PURE__ */ (0, D.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "px-1 text-body-2-regular text-text-tertiary",+ children: "…"+ }) : /* @__PURE__ */ (0, D.jsx)(G, {+ variant: t === e ? "secondary" : "ghost",+ size: "small",+ "aria-label": `第 ${t} 页`,+ "aria-current": t === e ? "page" : void 0,+ onClick: () => n(Number(t)),+ children: t+ }) }, t === "…" ? `dots-${r}` : t))+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: e >= t,+ onClick: () => n(e + 1),+ children: "下一页"+ })+ ]});- return /*#__PURE__*/ E.createElement(nv, {- state: i,- props: e,- listBoxRef: t+}+function pM({ source: e, selected: t, onToggle: n, handlers: r }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ "data-selected": t || void 0,+ className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: t,+ onChange: n,+ "aria-label": `选择 ${e.label}`+ }),+ /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 grow flex-col gap-0.5",+ children: [/* @__PURE__ */ (0, D.jsx)(kA, { source: e }), e.last_error ? /* @__PURE__ */ (0, D.jsx)("small", {+ className: "text-caption-1-regular text-text-error-primary",+ children: e.last_error+ }) : null]+ }),+ /* @__PURE__ */ (0, D.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, D.jsx)(EA, {+ provider: e.provider,+ label: e.provider_label+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(OA, { source: e }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",+ children: Jk(e)+ }),+ /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex shrink-0 items-center gap-1",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: MS,+ "aria-label": `检查 ${e.label} 的更新`,+ disabled: !e.enabled || r.readOnly,+ ...J(r.busy),+ onClick: () => r.check([e.id])+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: ES,+ "aria-label": `移除 ${e.label}`,+ disabled: r.readOnly,+ onClick: () => r.remove(e)+ })]+ })+ ]+ });+}+function mM({ 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(jk).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = Rk(r, c);+ return /* @__PURE__ */ (0, D.jsxs)("section", {+ "aria-label": `${t} 的关注来源`,+ className: Ew({+ variant: "raised",+ padding: "none",+ className: "flex flex-col overflow-hidden p-2"+ }),+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ "data-follow-author-header": !0,+ "data-open": n || void 0,+ className: "flex flex-wrap items-center gap-3 px-2 py-2.5",+ children: [+ /* @__PURE__ */ (0, D.jsx)(DA, {+ group: e,+ name: t+ }),+ /* @__PURE__ */ (0, D.jsx)("b", {+ className: "min-w-0 grow text-body-medium break-words text-text-primary",+ children: t+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: MS,+ "aria-label": `检查 ${t} 的全部来源`,+ disabled: !l.length || i.readOnly,+ ...J(i.busy),+ onClick: () => i.check(l)+ }),+ /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex shrink-0 items-center gap-1",+ title: d,+ children: [e.map((e) => /* @__PURE__ */ (0, D.jsx)(EA, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, D.jsx)(M_, { children: `来源:${d}` })]+ }),+ u ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "shrink-0 text-body-2-regular text-text-error-primary",+ children: `${u} 个失败`+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ leadingIcon: SS,+ "aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",+ "aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,+ onClick: () => o(!p.all),+ children: p.all ? "取消全选" : "全选"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ "aria-expanded": n,+ "aria-controls": f,+ leadingIcon: n ? xS : vS,+ "aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,+ onClick: () => a(!n),+ children: n ? "收起" : "展开"+ })+ ]+ }), /* @__PURE__ */ (0, D.jsx)("div", {+ id: f,+ hidden: !n,+ "data-source-divider": !0,+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(pM, {+ source: e,+ handlers: i,+ selected: r.has(e.id),+ onToggle: (t) => s(e.id, t)+ }, e.id))+ })]});}-function nv({ state: e, props: t, listBoxRef: n }) {- [t, n] = sg(t, n, fg);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Y_(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Xi(), { disabledBehavior: p, disabledKeys: m } = l, h = Oc({- usage: "search",- sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)(vg), b = (0, E.useMemo)(() => t.keyboardDelegate || new ws({- collection: c,- collator: h,- ref: n,- disabledKeys: m,- disabledBehavior: p,- layout: i,- orientation: a,- direction: f,- layoutDelegate: _- }), [- c,- h,+function hM(e) {+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), [C, w] = uM(), [T, O] = (0, E.useState)(""), k = (0, E.useMemo)(() => vre(v, n, i, y), [+ v,n,- p,- m,- a,- f,- t.keyboardDelegate,i,- _- ]), { listBoxProps: x } = Bl({- ...t,- shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,- keyboardDelegate: b,- isVirtualized: g- }, s, n);- (0, E.useRef)(u), (0, E.useRef)(d), (0, E.useEffect)(() => {}, [u, d]);- let S, C, w, T = !1, D = null, O = (0, E.useRef)(null);- if (u && r) {- S = r.useDraggableCollectionState({- collection: c,- selectionManager: l,- preview: r.renderDragPreview ? O : void 0- }), r.useDraggableCollection({}, S, n);- let e = r.DragPreview;- D = r.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: O }, r.renderDragPreview) : null;- }- if (d && r) {- C = r.useDroppableCollectionState({- collection: c,- selectionManager: l- });- let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(c, n, {- orientation: a,- layout: i,- direction: f- });- w = r.useDroppableCollection({- keyboardDelegate: b,- dropTargetDelegate: e- }, C, n), T = C.isDropTarget({ type: "root" });- }- let { focusProps: k, isFocused: A, isFocusVisible: j } = Lc(), M = s.collection.size === 0, ee = {- isDropTarget: T,- isEmpty: M,- isFocused: A,- isFocusVisible: j,- layout: t.layout || "stack",- orientation: a,- state: s- }, te = ag({- ...t,- children: void 0,- defaultClassName: "react-aria-ListBox",- values: ee- }), N = null;- M && t.renderEmptyState && (N = /*#__PURE__*/ E.createElement("div", {- role: "option",- style: { display: "contents" }- }, t.renderEmptyState(ee)));- let P = V(t, { global: !0 });- return /*#__PURE__*/ E.createElement(Ka, null, /*#__PURE__*/ E.createElement(Z.div, {- ...B(P, te, x, k, w?.collectionProps),- ref: n,- slot: t.slot || void 0,- onScroll: t.onScroll,- "data-drop-target": T || void 0,- "data-empty": M || void 0,- "data-focused": A || void 0,- "data-focus-visible": j || void 0,- "data-layout": t.layout || "stack",- "data-orientation": a- }, /*#__PURE__*/ E.createElement(ig, { values: [- [Q_, t],- [$_, s],- [E_, {- dragAndDropHooks: r,- dragState: S,- dropState: C- }],- [F_, { elementType: "div" }],- [D_, { render: av }],- [mg, {- name: "ListBoxSection",- render: rv- }]- ] }, /*#__PURE__*/ E.createElement(N_, null, /*#__PURE__*/ E.createElement(y, {- collection: c,- scrollRef: n,- persistedKeys: A_(l, r, C),- renderDropIndicator: k_(r, C)- }))), N, D));-}-function rv(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, E.useContext)($_), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(E_), { CollectionBranch: s } = (0, E.useContext)(vg), [c, l] = cg(), { headingProps: u, groupProps: d } = Vl({- heading: l,- "aria-label": e["aria-label"] ?? void 0- }), f = ag({- ...e,- id: void 0,- children: void 0,- defaultClassName: r,- values: void 0- }), p = V(e, { global: !0 });- return delete p.id, /*#__PURE__*/ E.createElement(Z.section, {- ...B(p, f, d),- ref: t- }, /*#__PURE__*/ E.createElement(j_.Provider, { value: {- ...u,- ref: c- } }, /*#__PURE__*/ E.createElement(s, {- collection: i.collection,- parent: n,- renderDropIndicator: k_(a, o)- })));-}-var iv = /*#__PURE__*/ xi(Et, function(e, t, n) {- let r = Xr(t), i = (0, E.useContext)($_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(E_), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Hl({- key: n.key,- "aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = Wc({- isDisabled: !f.allowsSelection && !f.hasAction && !c,- onHoverStart: n.props.onHoverStart,- onHoverChange: n.props.onHoverChange,- onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Yr(e), { focusProps: g } = Fr(e), _ = null;- o && a && (_ = a.useDraggableItem({- key: n.key,- hasAction: f.hasAction- }, o));- let v = null;- s && a && (v = a.useDroppableItem({ target: {- type: "item",- key: n.key,- dropPosition: "on"- } }, s, r));- let y = o && o.isDragging(n.key), b = ag({- ...e,- id: void 0,- children: e.children,- defaultClassName: "react-aria-ListBoxItem",- values: {- ...f,- isHovered: m,- selectionMode: i.selectionManager.selectionMode,- selectionBehavior: i.selectionManager.selectionBehavior,- allowsDragging: !!o,- isDragging: y,- isDropTarget: v?.isDropTarget+ y+ ]), A = (0, E.useMemo)(() => yre(k, n, i, y), [+ k,+ n,+ i,+ y+ ]), { job: j, running: M, outcome: N, start: P } = cA({+ queryKey: sre,+ queryFn: ({ signal: e }) => Sre(e),+ start: (e) => Hk(e),+ onError: (e) => O(K(e)),+ onFinish: (e) => {+ qk(), g(e.status === "failed" ? e.error || "检查失败" : Lre(e));}+ }), F = (e) => {+ M || P.isPending || (O(""), P.mutate(e));+ }, I = (e, t) => h(zk(l, [e], t)), ee = (e, t) => h(zk(l, e, t)), te = pt({+ mutationFn: (e) => Uk(e),+ onSuccess: (e, t) => {+ Kk([t]), h(zk(l, [t], !1)), g("已取消关注来源");+ },+ onError: (e) => O(K(e))+ }), L = (e) => void c({+ title: "取消关注来源",+ body: "将移除这个来源及已抓取的条目,媒体文件保留。",+ confirmLabel: "取消关注来源",+ danger: !0,+ onConfirm: () => te.mutateAsync(e.id)+ }), ne = pt({+ mutationFn: async (e) => {+ let t = await r(e.ids, 4, async (t) => {+ e.action === "remove" ? await Uk(t) : await Ere(t, e.action === "enabled");+ });+ return {+ ...e,+ done: e.ids.filter((e, n) => t[n]?.ok),+ results: t+ };+ },+ onSuccess: (e) => {+ if (e.action === "remove") Kk(e.done);+ else for (let t of e.done) Ire(t, { enabled: e.action === "enabled" });+ h(zk(l, e.done, !1));+ let t = e.results.filter((e) => !e.ok);+ if (t.length) {+ O(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);+ return;+ }+ O("");+ let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";+ g(`已${n} ${e.done.length} 个关注来源`);+ },+ onError: (e) => O(K(e))+ }), re = pt({+ mutationFn: async (e) => {+ let t = ((await jre()).groups || []).flatMap((e) => [+ e.primary,+ ...e.variants,+ ...e.duplicates+ ]).filter((e) => e.status === "new").map((e) => e.id);+ return {+ ids: t,+ failed: (await r(t, 6, (t) => Are(t, e))).filter((e) => !e.ok)+ };+ },+ onSuccess: (e) => {+ if (qk(), e.failed.length) {+ O(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);+ return;+ }+ O(""), g(`已批量标记 ${e.ids.length} 项`);+ },+ onError: (e) => O(K(e))+ }), ie = (0, E.useRef)({+ check: F,+ remove: L,+ busy: !1,+ readOnly: u});- (0, E.useEffect)(() => {- n.textValue;- }, [n.textValue]);- let x = e.href ? Z.a : Z.div, S = V(e, { global: !0 });- return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ E.createElement(x, {- ...B(S, b, l, p, h, g, _?.dragProps, v?.dropProps),- ref: r,- "data-allows-dragging": !!o || void 0,- "data-selected": f.isSelected || void 0,- "data-disabled": f.isDisabled || void 0,- "data-hovered": m || void 0,- "data-focused": f.isFocused || void 0,- "data-focus-visible": f.isFocusVisible || void 0,- "data-pressed": f.isPressed || void 0,- "data-dragging": y || void 0,- "data-drop-target": v?.isDropTarget || void 0,- "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ E.createElement(ig, { values: [[kg, { slots: {- [rg]: u,- label: u,- description: d- } }], [P_, { isSelected: f.isSelected }]] }, b.children));-});-function av(e, t) {- t = Xr(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(E_), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ E.createElement(sv, {- ...e,- dropIndicatorProps: i,- isDropTarget: o,- ref: t+ ie.current = {+ check: F,+ remove: L,+ busy: M || P.isPending,+ readOnly: u+ };+ let ae = ie.current, oe = (0, E.useMemo)(() => {+ let e = bie(), t = (e) => () => dM[e] || e;+ return [+ e.display({+ id: "select",+ header: t("select"),+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(rA, {+ slot: null,+ isSelected: e.row.getIsSelected(),+ onChange: (t) => e.row.toggleSelected(t),+ "aria-label": `选择 ${e.row.original.source.label}`+ })+ }),+ e.accessor((e) => e.author, {+ id: "author",+ header: t("author"),+ cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(DA, {+ group: e.row.original.group,+ name: e.row.original.author+ }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 break-words",+ children: e.row.original.author+ })]+ })+ }),+ e.accessor((e) => e.source.label, {+ id: "source",+ header: t("source"),+ cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 flex-col gap-0.5",+ children: [/* @__PURE__ */ (0, D.jsx)(kA, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)("small", {+ className: "text-caption-1-regular text-text-error-primary",+ children: e.row.original.source.last_error+ }) : null]+ })+ }),+ e.accessor((e) => e.source.provider_label, {+ id: "provider",+ header: t("provider"),+ cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex items-center gap-1.5",+ children: [/* @__PURE__ */ (0, D.jsx)(EA, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ })+ }),+ e.display({+ id: "status",+ header: t("status"),+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(OA, { source: e.row.original.source })+ }),+ e.accessor((e) => e.source.last_checked_at || "", {+ id: "checked",+ header: t("checked"),+ cell: (e) => Jk(e.row.original.source)+ }),+ e.display({+ id: "actions",+ header: t("actions"),+ cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex items-center gap-1",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: MS,+ "aria-label": `检查 ${e.row.original.source.label} 的更新`,+ disabled: !e.row.original.source.enabled || ae.readOnly,+ ...J(ae.busy),+ onClick: () => ie.current.check([e.row.original.source.id])+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: ES,+ "aria-label": `移除 ${e.row.original.source.label}`,+ disabled: ae.readOnly,+ onClick: () => ie.current.remove(e.row.original.source)+ })]+ })+ })+ ];+ }, [ae]), se = (0, E.useMemo)(() => {+ let e = cM[n];+ return e ? [{+ id: e,+ desc: i === "desc"+ }] : [];+ }, [n, i]), ce = (0, E.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), le = o === "table", ue = bre(le ? A.length : k.length, s, a), R = $j({+ data: A,+ columns: oe,+ getRowId: (e) => String(e.source.id),+ state: {+ sorting: se,+ rowSelection: ce,+ pagination: {+ pageIndex: ue.page - 1,+ pageSize: s+ }+ },+ manualSorting: !0,+ enableRowSelection: !0,+ onSortingChange: (e) => {+ let t = (typeof e == "function" ? e(se) : e)[0];+ if (!t) return;+ let n = kk[t.id];+ n && d(n, t.desc ? "desc" : "asc");+ },+ onRowSelectionChange: (e) => {+ let t = typeof e == "function" ? e(ce) : e;+ h(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));+ },+ onPaginationChange: (e) => {+ let t = {+ pageIndex: ue.page - 1,+ pageSize: s+ }, n = typeof e == "function" ? e(t) : e;+ n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);+ },+ getCoreRowModel: Kj(),+ getPaginationRowModel: Jj()+ }), de = R.getRowModel().rows, fe = le ? de.map((e) => e.original.source.id) : k.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), pe = Rk(l, fe), me = [...l], he = Rre(N), ge = zre(N), _e = k.length > 0 && x.size >= k.length;+ return v.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"+ }),+ children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ ref: C,+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "mr-auto text-title-2-medium text-text-primary",+ children: "关注列表"+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `${v.length} 个来源${b.new ? ` · ${b.new} 条未看` : ""}`+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ leadingIcon: MS,+ disabled: u,+ "aria-label": "检查全部",+ iconOnly: w,+ ...J(ae.busy),+ onClick: () => F([]),+ children: "检查全部"+ }),+ /* @__PURE__ */ (0, D.jsxs)("span", {+ "data-button-group": !0,+ role: "group",+ "aria-label": "关注列表版式",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ iconOnly: !0,+ leadingIcon: xte,+ "aria-label": Dk[0][1],+ "aria-pressed": !le,+ onClick: () => p("default")+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ iconOnly: !0,+ leadingIcon: Cte,+ "aria-label": Dk[1][1],+ "aria-pressed": le,+ onClick: () => p("table")+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "关注列表排序",+ selectedKey: n,+ onSelectionChange: (e) => {+ if (e === null) return;+ let t = String(e);+ d(t, fk[t]);+ },+ children: dk.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: t+ }, e))+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ iconOnly: !0,+ leadingIcon: i === "asc" ? fte : dte,+ "aria-label": mre(n, i),+ onClick: () => d(n, i === "asc" ? "desc" : "asc")+ }),+ le ? null : /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ iconOnly: w,+ leadingIcon: _e ? vS : xS,+ "aria-label": _e ? "全部展开" : "全部收起",+ onClick: () => S(_e ? /* @__PURE__ */ new Set() : new Set(k.map((e) => String(e[0].author_key || e[0].id)))),+ children: _e ? "全部展开" : "全部收起"+ })+ ]+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-3 empty:hidden",+ children: [+ M ? j?.total ? /* @__PURE__ */ (0, D.jsx)(Aw, {+ label: j.message || `${j.older ? "抓取历史" : "检查更新"}:已完成 ${j.checked || 0}/${j.total} 个来源`,+ value: j.checked || 0,+ max: j.total+ }) : /* @__PURE__ */ (0, D.jsx)(Ow, { label: j?.message || "正在准备检查任务" }) : null,+ T ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "操作未完成",+ children: T+ }) : null,+ he.length ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: `${he.length} 个来源检查失败`,+ extra: /* @__PURE__ */ (0, D.jsx)("ul", {+ className: "flex flex-col gap-0.5 text-body-2-regular",+ children: he.map((e, t) => /* @__PURE__ */ (0, D.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))+ }),+ children: "这些来源这一轮没有取到更新。"+ }) : null,+ ge ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ children: `候选已入库,但这一次的原始响应没有留档:${ge}`+ }) : null+ ]+ }),+ me.length ? /* @__PURE__ */ (0, D.jsxs)(sM, {+ label: "关注来源批量操作",+ count: `已选 ${me.length} 个来源`,+ children: [+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...J(ae.busy),+ onClick: () => F(me),+ children: "检查所选"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...J(ne.isPending),+ onClick: () => ne.mutate({+ ids: me,+ action: "enabled"+ }),+ children: "启用"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...J(ne.isPending),+ onClick: () => ne.mutate({+ ids: me,+ action: "paused"+ }),+ children: "暂停"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "danger",+ size: "small",+ disabled: u,+ ...J(ne.isPending),+ onClick: () => void c({+ title: `删除 ${me.length} 个关注来源`,+ body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",+ confirmLabel: "删除所选来源",+ danger: !0,+ onConfirm: () => ne.mutateAsync({+ ids: me,+ action: "remove"+ })+ }),+ children: "删除"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ onClick: () => h(/* @__PURE__ */ new Set()),+ children: "取消选择"+ })+ ]+ }) : null,+ le ? /* @__PURE__ */ (0, D.jsx)(NA, {+ follow: !0,+ children: /* @__PURE__ */ (0, D.jsxs)(MA, {+ "aria-label": "关注来源",+ size: "sm",+ sortDescriptor: se[0] ? {+ column: se[0].id,+ direction: se[0].desc ? "descending" : "ascending"+ } : void 0,+ onSortChange: (e) => R.setSorting([{+ id: String(e.column),+ desc: e.direction === "descending"+ }]),+ children: [/* @__PURE__ */ (0, D.jsx)($D, { children: R.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in kk, n = Yj(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, D.jsx)(iO, {+ id: e.id,+ allowsSorting: t,+ isRowHeader: e.column.id === "source",+ children: ({ sortDirection: e }) => t ? /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex items-center gap-0.5",+ children: [n, /* @__PURE__ */ (0, D.jsx)("span", {+ "data-sort-indicator": !0,+ "data-direction": e || void 0,+ children: /* @__PURE__ */ (0, D.jsx)(tM, {})+ })]+ }) : /* @__PURE__ */ (0, D.jsx)(M_, { children: n })+ }, e.id);+ }) }), /* @__PURE__ */ (0, D.jsx)(cO, {+ renderEmptyState: () => "这一页没有来源",+ children: de.map((e) => /* @__PURE__ */ (0, D.jsx)(fO, {+ id: e.id,+ "data-follow-selected": e.getIsSelected() || void 0,+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(hO, { children: Yj(e.column.columnDef.cell, e.getContext()) }, e.id))+ }, e.id))+ })]+ })+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: pe.all,+ isIndeterminate: pe.some,+ onChange: (e) => ee(fe, e),+ "aria-label": "全选本页来源",+ children: "全选本页"+ }), /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col gap-3",+ children: k.slice(ue.start, ue.end).map((e) => {+ let t = String(e[0].author_key || e[0].id);+ return /* @__PURE__ */ (0, D.jsx)(mM, {+ group: e,+ name: Ik(e, y),+ handlers: ae,+ selected: l,+ open: !x.has(t),+ onOpen: (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: I+ }, t);+ })+ })] }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center justify-between gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `${ue.start + 1}–${ue.end} / ${ue.total} ${le ? "个来源" : "位创作者"}`+ }),+ /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "每页显示数量",+ size: "sm",+ selectedKey: String(s),+ onSelectionChange: (e) => {+ e !== null && R.setPageSize(Number(e));+ },+ children: Ok.map((e) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: String(e),+ children: `每页 ${e} ${le ? "条" : "位"}`+ }, e))+ }),+ /* @__PURE__ */ (0, D.jsx)(fM, {+ page: ue.page,+ pages: ue.pages,+ onPage: (e) => R.setPageIndex(e - 1)+ })+ ]+ }),+ b.new ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "mr-auto text-body-2-regular text-text-secondary",+ children: `未看 ${b.new} · 已看 ${b.seen || 0} · 已保存 ${b.saved || 0} · 已忽略 ${b.ignored || 0}`+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ onClick: _,+ children: "去看更新"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...J(re.isPending),+ onClick: () => void c({+ title: "标记已看",+ body: "将把当前未看作品标记为已看。",+ confirmLabel: "标记已看",+ onConfirm: () => re.mutateAsync("seen")+ }),+ children: "全部标记已看"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...J(re.isPending),+ onClick: () => void c({+ title: "标记已忽略",+ body: "将把当前未看作品标记为已忽略。",+ confirmLabel: "标记已忽略",+ onConfirm: () => re.mutateAsync("ignored")+ }),+ children: "全部忽略"+ })+ ]+ }) : null+ ]+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {+ shell: "plain",+ icon: NS,+ title: "还没有关注来源",+ children: "关注来源及其检查状态会显示在这里。"});}-function ov(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ag({- ...i,- defaultClassName: "react-aria-DropIndicator",- values: { isDropTarget: r }+//#endregion+//#region src/react/follow-manage/follow-manage-page.tsx+var gM = [+ ["list", "关注列表"],+ ["add", "添加关注"],+ ["feeds", "订阅源"],+ ["source", "来源和凭证"]+], _M = (e) => gM.some(([t]) => t === e);+function vM({ term: e, figure: t, unit: n }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ padding: "none",+ className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"+ }),+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-medium text-text-secondary",+ children: e+ }), /* @__PURE__ */ (0, D.jsxs)("b", {+ className: "text-title-1-medium tabular-nums text-text-primary",+ children: [t, /* @__PURE__ */ (0, D.jsx)("small", {+ className: "text-body-2-regular text-text-secondary",+ children: ` ${n}`+ })]+ })]});- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Z.div, {- ...n,- ...a,- role: "option",- ref: t,- "data-drop-target": r || void 0- }));}-var sv = /*#__PURE__*/ (0, E.forwardRef)(ov);-xi(Tt, function(e, t, n) {- let r = (0, E.useContext)($_), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);- Z_((0, E.useMemo)(() => ({- onLoadMore: a,- collection: r?.collection,- sentinelRef: c,- scrollOffset: o- }), [- a,- o,- r?.collection- ]), c);- let l = ag({- ...s,- id: void 0,- children: n.rendered,- defaultClassName: "react-aria-ListBoxLoadingIndicator",- values: void 0- });- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement("div", {- style: {- position: "relative",- width: 0,- height: 0- },- inert: I_(!0)- }, /*#__PURE__*/ E.createElement("div", {- "data-testid": "loadMoreSentinel",- ref: c,- style: {- position: "absolute",- height: 1,- width: 1- }- })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Z.div, {- ...B(V(e, { global: !0 }), { tabIndex: -1 }),- ...l,- role: "option",- ref: t- }, l.children)));-});-//#endregion-//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var cv = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });-//#endregion-//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function lv(e) {- let [t, n] = ts(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, E.useState)(null);- return {- isOpen: t,- setOpen: n,- open: (0, E.useCallback)(() => {- n(!0);- }, [n]),- close: (0, E.useCallback)(() => {- n(!1);- }, [n]),- toggle: (0, E.useCallback)(() => {- n(!t);- }, [n, t]),- point: r,- setPoint: i- };+function yM(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, E.useState)(_M(e.tab) ? e.tab : "list"), [u, d] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, E.useState)(() => pk(e.sort, e.dir).sort), [m, h] = (0, E.useState)(() => pk(e.sort, e.dir).dir), [g, _] = (0, E.useState)(dre(e.layout) ? e.layout : "default"), [v, y] = (0, E.useState)(fre(e.pageSize)), [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), S = ft({+ queryKey: wk,+ queryFn: ({ signal: e }) => Bk(e)+ }), C = ft({+ queryKey: Tk,+ queryFn: ({ signal: e }) => Vk(e)+ }), w = S.data || { sources: [] }, T = C.data || {+ root: "",+ providers: []+ }, O = w.sources;+ (0, E.useEffect)(() => {+ x((e) => {+ let t = xre(e, O);+ return t.size === e.size ? e : t;+ });+ }, [O]);+ let k = (e) => {+ let n = e.sort ?? f, r = e.dir ?? m;+ t({+ tab: e.tab ?? c,+ page: e.page ?? u,+ sort: n === "checked" ? "" : n,+ dir: r === fk[n] ? "" : r+ });+ }, A = Lk(O), j = O.filter(jk).length, M = O.filter((e) => e.enabled).length, N = (T.providers || []).filter((e) => e.requirement === "required" && !Yk(e)).length;+ return /* @__PURE__ */ (0, D.jsxs)(kw, { children: [+ a ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "本机只能浏览",+ extra: s ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular",+ children: /* @__PURE__ */ (0, D.jsx)("a", {+ href: s,+ className: "text-text-primary underline underline-offset-2",+ children: "前往写入端管理关注"+ })+ }) : void 0,+ children: o+ }) : null,+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: $k,+ "aria-label": "关注概览",+ children: [+ /* @__PURE__ */ (0, D.jsx)(vM, {+ term: "关注创作者",+ figure: A.length,+ unit: "位"+ }),+ /* @__PURE__ */ (0, D.jsx)(vM, {+ term: "启用来源",+ figure: M,+ unit: `/ ${O.length}`+ }),+ /* @__PURE__ */ (0, D.jsx)(vM, {+ term: "检查失败",+ figure: j,+ unit: "个来源"+ }),+ /* @__PURE__ */ (0, D.jsx)(vM, {+ term: "未看更新",+ figure: w.counts?.new || 0,+ unit: "条"+ })+ ]+ }),+ /* @__PURE__ */ (0, D.jsxs)(DO, {+ selectedKey: c,+ onSelectionChange: (e) => {+ let t = String(e);+ _M(t) && (l(t), k({ tab: t }));+ },+ className: "flex flex-col gap-6",+ children: [+ /* @__PURE__ */ (0, D.jsx)(kO, {+ "aria-label": "关注管理区域",+ className: Xk,+ children: gM.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(jO, {+ id: e,+ className: Zk,+ children: e === "source" && N ? `${t}(${N})` : t+ }, e))+ }),+ /* @__PURE__ */ (0, D.jsx)(MO, {+ id: "list",+ className: "flex flex-col gap-4",+ children: /* @__PURE__ */ (0, D.jsx)(hM, {+ data: w,+ sort: f,+ dir: m,+ page: u,+ layout: g,+ pageSize: v,+ selected: b,+ readOnly: a,+ toast: r,+ openFollow: i,+ onSort: (e, t) => {+ p(e), h(t), d(1), k({+ sort: e,+ dir: t,+ page: 1+ });+ },+ onPage: (e) => {+ d(e), k({ page: e });+ },+ onSelected: x,+ onLayout: (e) => {+ _(e), d(1), n({ layout: e }), k({ page: 1 });+ },+ onPageSize: (e) => {+ y(e), d(1), n({ pageSize: e }), k({ page: 1 });+ }+ })+ }),+ /* @__PURE__ */ (0, D.jsxs)(MO, {+ id: "add",+ className: "flex flex-col gap-8",+ children: [/* @__PURE__ */ (0, D.jsx)(rie, {+ data: w,+ credentials: T,+ readOnly: a,+ toast: r,+ openCredentials: () => {+ l("source"), k({ tab: "source" });+ }+ }), /* @__PURE__ */ (0, D.jsx)(oie, {+ groups: w.author_aliases || [],+ readOnly: a,+ toast: r,+ suggestions: w.alias_suggestions || [],+ sources: w.sources+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)(MO, {+ id: "feeds",+ className: "flex flex-col gap-4",+ children: /* @__PURE__ */ (0, D.jsx)(yie, {+ readOnly: a,+ toast: r+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(MO, {+ id: "source",+ className: "flex flex-col gap-4",+ children: /* @__PURE__ */ (0, D.jsx)(_ie, {+ data: T,+ readOnly: a,+ toast: r+ })+ })+ ]+ })+ ] });}//#endregion-//#region node_modules/react-aria/dist/private/utils/animation.mjs-function uv(e, t = !0) {- let [n, r] = (0, E.useState)(!0), i = n && t;- return cn(() => {- if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, i]), fv(e, i, (0, E.useCallback)(() => r(!1), [])), i;+//#region src/react/library-processing/library-processing.ts+var bM = "/api/library-processing", xM = ["library-processing"], SM = (e) => ww(bM, e);+async function CM(e) {+ await Mw.fetchQuery({+ queryKey: xM,+ queryFn: () => SM(e)+ });}-function dv(e, t) {- let [n, r] = (0, E.useState)(t ? "open" : "closed");- switch (n) {- case "open":- t || r("exiting");- break;- case "closed":- case "exiting": t && r("open");+var wM = 2e3, TM = 1e4, EM = "连接中断,正在重新读取处理进度";+function DM(e, t) {+ return e?.status === "running" ? wM : t ? TM : !1;+}+var OM = {+ reading_local: "读取本地资料",+ querying_metadata: "查询外部资料",+ fetching_cover: "采集缺失封面",+ writing_candidates: "保存资料候选"+}, kM = {+ querying_metadata: "没有资料",+ fetching_cover: "没有封面"+};+function AM(e) {+ let t = Object.entries(e).filter(([e, t]) => kM[e] && t > 0).map(([e, t]) => `${kM[e]} ${t} 部`);+ return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";+}+function jM(e) {+ let t = OM[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 MM(e) {+ let t = e.issue_preview || [];+ return t.length ? {+ label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,+ items: t.map((e, t) => ({+ key: `${e.asset_id ?? "source"}-${t}`,+ label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),+ href: e.asset_id ? `/item/${e.asset_id}` : "",+ note: e.message,+ hint: e.path || ""+ })),+ log: e.issues_log || ""+ } : null;+}+var NM = "peach.library-processing.announced", PM = 120;+function FM(e, t, n) {+ if (e.status !== "complete") return;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < PM;+ if (!(!n && !r)) {+ try {+ if (e.job_id && localStorage.getItem(NM) === e.job_id) return;+ e.job_id && localStorage.setItem(NM, e.job_id);+ } catch {}+ t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);}- let i = n === "exiting";- return fv(e, i, (0, E.useCallback)(() => {- r((e) => e === "exiting" ? "closed" : e);- }, [])), i;-}-function fv(e, t, n) {- cn(() => {- if (t && e.current) {- if (!("getAnimations" in e.current)) {- n();- return;- }- let t = e.current.getAnimations();- if (t.length === 0) {- n();- return;- }- let r = !1;- return Promise.allSettled(t.map((e) => e.finished)).then(() => {- r || (0, li.flushSync)(() => {- n();- });- }), () => {- r = !0;- };- }- }, [- e,- t,- n- ]);}//#endregion-//#region node_modules/react-aria-components/dist/private/Popover.mjs-var pv = /*#__PURE__*/ (0, E.createContext)(null), mv = /*#__PURE__*/ (0, E.createContext)(null), hv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, pv);- let n = (0, E.useContext)(vv), r = lv(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = dv(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ii(), { direction: c } = Xi();- if (s) {- let t = e.children;- return typeof t == "function" && (t = t({- trigger: e.trigger || null,- placement: "bottom",- isEntering: !1,- isExiting: !1,- defaultChildren: null- })), /*#__PURE__*/ E.createElement(E.Fragment, null, t);+//#region src/react/media-repair/media-repair.ts+var IM = "/api/media-repair", LM = ["media-repair"], RM = ["media-repair", "libraries"], zM = {+ status: "idle",+ library: "",+ stage: "",+ checked: 0,+ total: 0,+ found: 0,+ repaired: 0,+ failed: 0,+ missing_tool: 0,+ skipped: 0,+ message: ""+}, BM = (e) => ww(IM, e), VM = async (e) => (await ww("/api/libraries", e)).libraries || [];+async function HM(e) {+ await Promise.all([Mw.fetchQuery({+ queryKey: LM,+ queryFn: () => BM(e)+ }), Mw.fetchQuery({+ queryKey: RM,+ queryFn: () => VM(e)+ })]);+}+var UM = (e) => Number(e).toLocaleString();+function WM(e) {+ if (e.status === "running") {+ let t = e.total ? `${UM(e.checked)} / ${UM(e.total)}` : "准备中";+ return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(gv, {- ...e,- triggerRef: e.triggerRef,- state: i,- popoverRef: t,- isExiting: o,- dir: c- });-});-function gv({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(mv), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = dd({- ...i,- offset: i.offset ?? 8,- arrowRef: a,- groupRef: c ? s : o- }, e), m = i.popoverRef, h = uv(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = ag({- ...i,- defaultClassName: "react-aria-Popover",- values: {- trigger: i.trigger || null,- placement: f,- isEntering: g,- isExiting: t- }- }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, E.useState)(i.trigger === "PreviewTrigger");- cn(() => {- m.current && b(v && !m.current.querySelector("[role=dialog]"));- }, [m, v]), (0, E.useEffect)(() => {- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ur() !== "pointer") && m.current && !Xt(m.current) && xr(m.current);- }, [- y,- m,- i.trigger- ]);- let x = (0, E.useMemo)(() => {- let e = _.children;- if (r) for (let t of r) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);- return e;- }, [_.children, r]), [S, C] = (0, E.useState)(null), w = (0, E.useCallback)(() => {- i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");- }, [i.triggerRef]);- cn(w, [w]), Wl({- ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,- onResize: w+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${UM(e.repaired)} 部,${UM(e.failed)} 部修不了` : `修好 ${UM(e.repaired)} 部` : "";+}+var GM = (e) => `${UM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`;+({+ 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 KM = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", qM = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", JM = (e) => o[e] || e, YM = (e) => Mw.setQueryData(LM, e);+function XM() {+ let e = ft({+ queryKey: LM,+ queryFn: ({ signal: e }) => BM(e),+ refetchInterval: (e) => e.state.data?.status === "running" && sA+ }), t = ft({+ queryKey: RM,+ queryFn: ({ signal: e }) => VM(e)+ }), [n, r] = (0, E.useState)(""), i = jw(), a = e.data ?? zM, o = t.data ?? [], s = a.status === "running", l = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], u = () => {+ l && c({+ title: `修复媒体库「${l.name}」`,+ body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),+ confirmLabel: "修复媒体库",+ onConfirm: async () => YM(await Tw(IM, {+ library: l.id,+ restart: !0+ }))+ });+ }, d = () => void i.run("stop", (e) => Tw(IM, { stop: !0 }, "POST", e), YM), f = WM(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-4",+ children: [/* @__PURE__ */ (0, D.jsxs)("section", {+ "aria-label": "媒体修复",+ "data-geist-fieldset": !0,+ "data-cleanup-task": !0,+ "data-cleanup-processing": !0,+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ "data-geist-fieldset-content": !0,+ children: [+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: "媒体修复"+ }),+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: qM+ }),+ s && a.total ? /* @__PURE__ */ (0, D.jsx)(Aw, {+ label: "修复进度",+ value: a.checked,+ max: a.total+ }) : null,+ f ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: "status",+ className: "text-caption-1-regular text-text-secondary",+ children: f+ }) : null+ ]+ }), /* @__PURE__ */ (0, D.jsxs)("footer", {+ "data-geist-fieldset-footer": !0,+ children: [/* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "媒体库",+ className: "w-48",+ selectedKey: l?.id ?? null,+ isDisabled: s || !o.length,+ onSelectionChange: (e) => {+ e !== null && r(String(e));+ },+ children: o.map((e) => /* @__PURE__ */ (0, D.jsxs)(oM, {+ id: e.id,+ textValue: e.name,+ children: [/* @__PURE__ */ (0, D.jsx)(TA, { mark: JM(e.icon) }), e.name]+ }, e.id))+ }), s ? /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: d,+ ...J(i.busy === "stop"),+ children: "停止"+ }) : /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: u,+ disabled: !l,+ children: "开始修复"+ })]+ })]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-4 empty:hidden",+ children: [+ p && !a.repaired && !a.failed ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "info",+ title: "没有要修的",+ children: "这个库里的片子都能直接播。"+ }) : null,+ p && a.missing_tool ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "缺少 untrunc",+ children: GM(a)+ }) : null,+ m ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: m+ }) : null+ ]+ })]});- let T = {- ...l.style,- "--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,- ..._.style,- "--trigger-width": _.style?.["--trigger-width"] || S- }, D = /*#__PURE__*/ E.createElement(Z.div, {- ...B(V(i, { global: !0 }), l),- ..._,- id: y ? i.id : void 0,- role: y ? "dialog" : void 0,- tabIndex: y ? -1 : void 0,- "aria-label": i["aria-label"],- "aria-labelledby": i["aria-labelledby"],- ref: m,- slot: i.slot || void 0,- style: T,- dir: i.dir,- "data-trigger": i.trigger,- "data-placement": f,- "data-entering": g || void 0,- "data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ E.createElement(Du, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(cv.Provider, { value: {- ...d,- placement: f,- ref: a- } }, x), /*#__PURE__*/ E.createElement(Du, { onDismiss: e.close }));- return c ? /*#__PURE__*/ E.createElement(Pc, {- ...i,- shouldContainFocus: y && i.trigger !== "PreviewTrigger",- isExiting: t,- portalContainer: n ?? s?.current ?? void 0- }, D) : /*#__PURE__*/ E.createElement(Pc, {- ...i,- shouldContainFocus: y && i.trigger !== "PreviewTrigger",- isExiting: t,- portalContainer: n- }, !i.isNonModal && e.isOpen && /*#__PURE__*/ E.createElement("div", {- "data-testid": "underlay",- ...u,- style: {- position: "fixed",- inset: 0- }- }), /*#__PURE__*/ E.createElement("div", {- ref: o,- style: { display: "contents" }- }, /*#__PURE__*/ E.createElement(mv.Provider, { value: o }, D)));}//#endregion-//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var _v = /*#__PURE__*/ (0, E.createContext)(null), vv = /*#__PURE__*/ (0, E.createContext)(null), yv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let n = e["aria-labelledby"];- [e, t] = sg(e, t, _v);- let { dialogProps: r, titleProps: i, contentProps: a } = Ic({- ...e,- "aria-labelledby": n- }, t), o = (0, E.useContext)(vv);- !r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = ag({- defaultClassName: "react-aria-Dialog",- className: e.className,- style: e.style,- children: e.children,- values: { close: o?.close || (() => {}) }- }), c = V(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Z.section, {- ...B(c, s, r),- render: e.render,- ref: t,- slot: e.slot || void 0- }, /*#__PURE__*/ E.createElement(ig, { values: [- [Dg, { slots: {- [rg]: {},- title: {- ...i,- level: 2- }- } }],- [kg, { slots: {- [rg]: {},- description: a- } }],- [Cg, { slots: {- [rg]: {},- close: { onPress: () => o?.close() }- } }]- ] }, s.children));-}), bv = typeof document < "u" && window.visualViewport;-function xv() {- let e = Kn(), [t, n] = (0, E.useState)(() => e ? {- width: 0,- height: 0- } : Sv());+//#region src/react/library-processing/use-library-processing.ts+function ZM({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = ft({+ queryKey: xM,+ queryFn: ({ signal: e }) => SM(e),+ refetchInterval: (e) => DM(e.state.data, r)+ }), [a, o] = (0, E.useState)(null), s = (0, E.useRef)(void 0), c = i.data;return (0, E.useEffect)(() => {- let e = (e) => {- n((t) => e.width === t.width && e.height === t.height ? t : e);- }, t = () => {- bv && bv.scale > 1 || e(Sv());- }, r, i = (t) => {- bv && bv.scale > 1 || Fi(z(t)) && (r = requestAnimationFrame(() => {- let t = Jt();- (!t || !Fi(t)) && e({- width: document.documentElement.clientWidth,- height: document.documentElement.clientHeight- });- }));- };- return e(Sv()), bn() && Sn() && window.addEventListener("blur", i, !0), bv ? bv.addEventListener("resize", t) : window.addEventListener("resize", t), () => {- cancelAnimationFrame(r), bn() && Sn() && window.removeEventListener("blur", i, !0), bv ? bv.removeEventListener("resize", t) : window.removeEventListener("resize", t);- };- }, []), t;-}-function Sv() {- return {- width: bv ? Math.min(bv.width * bv.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: bv ? bv.height * bv.scale : document.documentElement.clientHeight+ if (!c) return;+ let n = s.current;+ s.current = c.status;+ let r = n === "running" && c.status !== "running";+ r && o(c), (r || t === "notice") && FM(c, e, r);+ }, [+ c,+ t,+ e+ ]), {+ job: i,+ settled: a,+ forget: () => o(null)};}//#endregion-//#region node_modules/react-aria-components/dist/private/Modal.mjs-var Cv = /*#__PURE__*/ (0, E.createContext)(null), wv = /*#__PURE__*/ (0, E.createContext)(null), Tv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- if ((0, E.useContext)(wv)) return /*#__PURE__*/ E.createElement(kv, {- ...e,- modalRef: t- }, e.children);- let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ E.createElement(Dv, {- isDismissable: n,- isKeyboardDismissDisabled: r,- isOpen: i,- defaultOpen: a,- onOpenChange: o,- isEntering: c,- isExiting: l,- UNSTABLE_portalContainer: u,- shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ E.createElement(kv, {- ...f,- modalRef: t- }, s));-});-function Ev(e, t) {- [e, t] = sg(e, t, Cv);- let n = (0, E.useContext)(vv), r = lv(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Xr(t), o = (0, E.useRef)(null), s = dv(a, i.isOpen), c = dv(o, i.isOpen), l = s || c || e.isExiting || !1, u = Kn();- return !i.isOpen && !l || u ? null : /*#__PURE__*/ E.createElement(Ov, {- ...e,- state: i,- isExiting: l,- overlayRef: a,- modalRef: o+//#region src/react/library-processing/library-processing-card.tsx+var QM = [+ {+ label: "扫描并补全资料",+ icon: TS,+ command: {}+ },+ {+ label: "只扫描",+ icon: kS,+ command: { stage: "scan" }+ },+ {+ label: "只采集",+ icon: gte,+ command: { stage: "collect" }+ }+], $M = _w(aA, oA, "text-body-2-medium"), eN = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", tN = (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(",")}。`;+}, nN = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + tN(e);+function rN({ busy: e, onRun: t }) {+ let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), a = (n) => {+ e || (i(!1), t(n));+ };+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {+ "data-button-group": !0,+ "data-split-button": !0,+ "data-variant": "primary",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ leadingIcon: TS,+ onClick: () => a({}),+ ...J(e),+ children: "扫描并补全资料"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ ref: n,+ iconOnly: !0,+ leadingIcon: vS,+ "aria-label": "更多扫描与采集方式",+ "aria-haspopup": "dialog",+ "aria-expanded": r,+ ...J(e),+ onClick: () => {+ e || i(!0);+ }+ })]+ }), /* @__PURE__ */ (0, D.jsx)(UE, {+ triggerRef: n,+ isOpen: r,+ onOpenChange: i,+ placement: "bottom end",+ offset: 4,+ className: iA,+ children: /* @__PURE__ */ (0, D.jsx)(qE, {+ "aria-label": "更多扫描与采集方式",+ className: "flex w-52 flex-col gap-1 outline-none",+ children: QM.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, D.jsxs)("button", {+ type: "button",+ className: $M,+ onClick: () => a(n),+ children: [/* @__PURE__ */ (0, D.jsx)(t, {+ "aria-hidden": !0,+ className: "size-4 shrink-0"+ }), e]+ }, e))+ })+ })] });+}+function iN({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = MM(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = AM(e.notes || {}), c = $O();+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-4 empty:hidden",+ children: [+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "处理较慢",+ children: eN+ }) : null,+ t || e.status === "failed" ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ action: o ? /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ size: "small",+ onClick: r,+ children: "重试未完成项"+ }) : null,+ extra: a ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "mt-1.5 border-t border-current/20 pt-1.5",+ children: /* @__PURE__ */ (0, D.jsxs)(wA, {+ summary: a.label,+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "relative",+ children: /* @__PURE__ */ (0, D.jsx)("ul", {+ ref: c,+ className: "max-h-96 overflow-y-auto pr-3",+ children: a.items.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ className: "flex flex-col gap-0.5 border-b border-current/15 py-2 first:pt-1 last:border-b-0 last:pb-1",+ children: [+ e.href ? /* @__PURE__ */ (0, D.jsx)("a", {+ href: e.href,+ className: "text-body-2-medium underline-offset-4 hover:underline",+ children: e.label+ }) : /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-medium",+ children: e.label+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-caption-1-regular",+ children: e.note+ }),+ e.hint ? /* @__PURE__ */ (0, D.jsx)("code", {+ className: "text-caption-1-regular break-all",+ children: e.hint+ }) : null+ ]+ }, e.key))+ })+ }), a.log ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",+ children: /* @__PURE__ */ (0, D.jsx)(IA, {+ path: a.log,+ prefix: "完整记录:",+ className: "text-caption-1-regular",+ onRevealed: i+ })+ }) : null]+ })+ }) : null,+ children: t || e.error || "处理未完成,请重试"+ }) : null,+ n?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "success",+ title: "处理完成",+ children: nN(n)+ }) : null,+ e.status !== "running" && s ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "neutral",+ extra: e.issues_log ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",+ children: /* @__PURE__ */ (0, D.jsx)(IA, {+ path: e.issues_log,+ prefix: "完整记录:",+ className: "text-caption-1-regular",+ onRevealed: i+ })+ }) : null,+ children: s+ }) : null+ ]});}-var Dv = /*#__PURE__*/ (0, E.forwardRef)(Ev);-function Ov({ UNSTABLE_portalContainer: e, ...t }) {- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Ru(t, r, n), o = uv(t.overlayRef) || t.isEntering || !1, s = ag({- ...t,- defaultClassName: "react-aria-ModalOverlay",- values: {- isEntering: o,- isExiting: t.isExiting,- state: r+function aN(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = ZM(e), o = pt({+ mutationFn: (e) => Tw(bM, e),+ onSuccess: (e) => {+ a(), Mw.setQueryData(xM, e), Mw.invalidateQueries({ queryKey: xM });}- }), c = xv(), l, u;- if (typeof document < "u") {- let e = So(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 = {- ...s.style,- "--visual-viewport-width": c.width + "px",- "--visual-viewport-height": c.height + "px",- "--page-width": l === void 0 ? void 0 : l + "px",- "--page-height": u === void 0 ? void 0 : u + "px"+ });+ (0, E.useEffect)(() => {+ i && n?.();+ }, [i, n]);+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? EM : K(r.error) : "", l = o.isPending || s.status === "running", u = jM(s), d = (e) => {+ l || (o.reset(), o.mutate(e));};- return /*#__PURE__*/ E.createElement(Pc, {- isExiting: t.isExiting,- portalContainer: e- }, /*#__PURE__*/ E.createElement(Z.div, {- ...B(V(t, { global: !0 }), a),- ...s,- style: d,- ref: t.overlayRef,- "data-entering": o || void 0,- "data-exiting": t.isExiting || void 0- }, /*#__PURE__*/ E.createElement(ig, { values: [[wv, {- modalProps: i,- modalRef: n,- isExiting: t.isExiting,- isDismissable: t.isDismissable- }], [vv, r]] }, s.children)));+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-4",+ children: [/* @__PURE__ */ (0, D.jsxs)("section", {+ "aria-label": "扫描与采集",+ "data-geist-fieldset": !0,+ "data-cleanup-task": !0,+ "data-cleanup-processing": !0,+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ "data-geist-fieldset-content": !0,+ children: [+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: "扫描与采集"+ }),+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: KM+ }),+ s.status === "running" ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col gap-1.5",+ children: s.total ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Aw, {+ label: u,+ value: s.checked || 0,+ max: s.total+ }), /* @__PURE__ */ (0, D.jsxs)("p", {+ className: "text-caption-1-regular text-text-secondary",+ children: [+ u,+ " · ",+ s.checked || 0,+ " / ",+ s.total,+ " 个视频"+ ]+ })] }) : /* @__PURE__ */ (0, D.jsx)(Ow, { label: u })+ }) : null+ ]+ }), /* @__PURE__ */ (0, D.jsxs)("footer", {+ "data-geist-fieldset-footer": !0,+ children: [+ /* @__PURE__ */ (0, D.jsx)(pA, {+ href: "/scraping",+ size: "small",+ trailingIcon: yS,+ children: "来源和凭证"+ }),+ s.candidates ? /* @__PURE__ */ (0, D.jsx)(pA, {+ href: "/review",+ size: "small",+ trailingIcon: yS,+ children: "复核资料"+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(rN, {+ busy: l,+ onRun: d+ })+ ]+ })]+ }), /* @__PURE__ */ (0, D.jsx)(iN, {+ state: s,+ problem: c,+ settled: i,+ onRetry: () => {+ !s.job_id || !s.retryable_asset_ids?.length || d({+ job_id: s.job_id,+ retry: s.retryable_asset_ids+ });+ },+ toast: t+ })]+ });+}+//#endregion+//#region src/react/library-processing/library-processing-notice.tsx+var oN = "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", sN = {+ gray: `${oN} border-separator-border bg-background-secondary-default text-text-secondary`,+ warning: `${oN} border-current/35 bg-status-yellow-background text-status-yellow-text`,+ error: `${oN} border-current/35 bg-background-tertiary-error text-text-error-primary`+};+function cN({ value: e, max: t }) {+ let n = Math.max(0, Math.min(100, e / t * 100));+ return /* @__PURE__ */ (0, D.jsxs)("svg", {+ role: "progressbar",+ "aria-label": "任务完成率",+ "aria-valuemin": 0,+ "aria-valuemax": 100,+ "aria-valuenow": n,+ viewBox: "0 0 32 32",+ fill: "none",+ className: "size-8 shrink-0 -rotate-90 stroke-current",+ children: [/* @__PURE__ */ (0, D.jsx)("circle", {+ cx: "16",+ cy: "16",+ r: "13",+ strokeWidth: "4",+ className: "opacity-25"+ }), /* @__PURE__ */ (0, D.jsx)("circle", {+ cx: "16",+ cy: "16",+ r: "13",+ strokeWidth: "4",+ pathLength: 100,+ strokeDasharray: `${n} 100`,+ strokeLinecap: "round"+ })]+ });}-function kv(e) {- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, E.useContext)(wv), a = (0, E.useContext)(vv), o = Xr((0, E.useMemo)(() => jr(e.modalRef, n), [e.modalRef, n])), s = uv(o), c = ag({- ...e,- defaultClassName: "react-aria-Modal",- values: {- isEntering: s,- isExiting: r,- state: a- }+function lN(e) {+ let { job: t } = ZM(e), n = t.data, r = t.isError ? n ? EM : 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 ? "扫描与资料采集未完成" : jM(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? yte : mte;+ return /* @__PURE__ */ (0, D.jsxs)("aside", {+ role: a ? "alert" : "status",+ className: sN[s],+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 items-center gap-3",+ children: [o && l ? /* @__PURE__ */ (0, D.jsx)(cN, {+ value: c,+ max: l+ }) : /* @__PURE__ */ (0, D.jsx)(d, {+ "aria-hidden": !0,+ className: "size-4 shrink-0"+ }), /* @__PURE__ */ (0, D.jsx)("p", {+ className: "min-w-0 text-body-2-regular",+ children: u+ })]+ }), /* @__PURE__ */ (0, D.jsx)(pA, {+ href: "/data-cleanup#libraryProcessing",+ size: "small",+ trailingIcon: yS,+ children: r || a ? "查看并处理" : "查看进度"+ })]});- return /*#__PURE__*/ E.createElement(Z.div, {- ...B(V(e, { global: !0 }), t),- ...c,- ref: o,- "data-entering": s || void 0,- "data-exiting": r || void 0- }, i && /*#__PURE__*/ E.createElement(Du, { onDismiss: a.close }), c.children);}//#endregion-//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var Av = Math.round(Math.random() * 1e10), jv = 0;-function Mv(e) {- let t = (0, E.useMemo)(() => e.name || `radio-group-${Av}-${++jv}`, [e.name]), [n, r] = ts(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = Ho({- ...e,- value: n- }), c = (t) => {- !e.isReadOnly && !e.isDisabled && (r(t), s.commitValidation());- }, l = s.displayValidation.isInvalid;- return {- ...s,- name: t,- selectedValue: n,- defaultSelectedValue: e.value === void 0 ? e.defaultValue ?? null : i,- setSelectedValue: c,- lastFocusedValue: a,- setLastFocusedValue: o,- isDisabled: e.isDisabled || !1,- isReadOnly: e.isReadOnly || !1,- isRequired: e.isRequired || !1,- validationState: e.validationState || (l ? "invalid" : null),- isInvalid: l- };+//#region src/react/quality-goals/quality-goals.ts+var uN = "/api/quality-goals?limit=200", dN = ["quality-goals"], fN = (e) => ww(uN, e);+async function pN(e) {+ await Mw.fetchQuery({+ queryKey: dN,+ queryFn: () => fN(e)+ });}+var mN = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;//#endregion-//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Nv = /*#__PURE__*/ (0, E.createContext)(null), Pv = /*#__PURE__*/ (0, E.createContext)(null), Fv = /*#__PURE__*/ (0, E.createContext)(null), Iv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, Nv);- let { validationBehavior: n } = og(Mg) || {}, r = e.validationBehavior ?? n ?? "native", i = Mv({- ...e,- validationBehavior: r- }), [a, o] = cg(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = md({- ...e,- label: o,- validationBehavior: r- }, i), f = ag({- ...e,- values: {- orientation: e.orientation || "vertical",- isDisabled: i.isDisabled,- isReadOnly: i.isReadOnly,- isRequired: i.isRequired,- isInvalid: i.isInvalid,- state: i- },- defaultClassName: "react-aria-RadioGroup"- }), p = V(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Z.div, {- ...B(p, f, s),- ref: t,- slot: e.slot || void 0,- "data-orientation": e.orientation || "vertical",- "data-invalid": i.isInvalid || void 0,- "data-disabled": i.isDisabled || void 0,- "data-readonly": i.isReadOnly || void 0,- "data-required": i.isRequired || void 0- }, /*#__PURE__*/ E.createElement(ig, { values: [- [Fv, i],- [bg, {- ...c,- ref: a,- elementType: "span"- }],- [kg, { slots: {- description: l,- errorMessage: u- } }],- [jg, d]- ] }, /*#__PURE__*/ E.createElement(N_, null, f.children)));-}), Lv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { inputRef: n = null, ...r } = e;- [e, t] = sg(r, t, Pv);- let i = E.useContext(Fv), a = Xr((0, E.useMemo)(() => jr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = pd({- ...lg(e),- children: typeof e.children == "function" || e.children- }, i, a);- return /*#__PURE__*/ E.createElement(Rv.Provider, { value: {- ...o,- inputRef: a,- defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ E.createElement(zv, {- ...e,- ref: t- }));-}), Rv = /*#__PURE__*/ (0, E.createContext)(null), zv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(Rv), l = E.useContext(Fv), { isFocused: u, isFocusVisible: d, focusProps: f } = Lc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Wc({- ...e,- isDisabled: p- }), g = ag({- ...e,- defaultClassName: s,- values: {- isSelected: i,- isPressed: o,- isHovered: h,- isFocused: u,- isFocusVisible: d,- isDisabled: a,- isReadOnly: l.isReadOnly,- isInvalid: l.isInvalid,- isRequired: l.isRequired- }- }), _ = V(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(Z.label, {- ...B(_, n, m, g),- ref: t,- "data-selected": i || void 0,- "data-pressed": o || void 0,- "data-hovered": h || void 0,- "data-focused": u || void 0,- "data-focus-visible": d || void 0,- "data-disabled": a || void 0,- "data-readonly": l.isReadOnly || void 0,- "data-invalid": l.isInvalid || void 0,- "data-required": l.isRequired || void 0- }, /*#__PURE__*/ E.createElement(ss, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {- ...B(r, f),- ref: c- })), g.children);-});-//#endregion-//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function Bv(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = lv(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [- e.defaultValue,- e.defaultSelectedKey,- t- ]), [s, c] = ts((0, E.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [- e.value,- e.selectedKey,- t- ]), o, e.onChange), l = t === "single" && Array.isArray(s) ? s[0] : s, u = (n) => {- if (t === "single") {- let t = Array.isArray(n) ? n[0] ?? null : n;- c(t), t !== l && e.onSelectionChange?.(t);- } else {- let e = [];- Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);- }- }, d = J_({- ...e,- selectionMode: t,- disallowEmptySelection: t === "single",- allowDuplicateSelectionEvents: !0,- selectedKeys: (0, E.useMemo)(() => Vv(l), [l]),- onSelectionChange: (e) => {- if (e !== "all") {- if (t === "single") {- let t = e.values().next().value ?? null;- u(t);- } else u([...e]);- n && r.close(), m.commitValidation();- }- }- }), f = d.selectionManager.firstSelectedKey, p = (0, E.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Ho({- ...e,- value: Array.isArray(l) && l.length === 0 ? null : l- }), [h, g] = (0, E.useState)(!1), [_] = (0, E.useState)(l);- return {- ...m,- ...d,- ...r,- value: l,- defaultValue: o ?? _,- setValue: u,- selectedKey: f,- setSelectedKey: u,- selectedItem: p[0] ?? null,- selectedItems: p,- defaultSelectedKey: e.defaultSelectedKey ?? (e.selectionMode === "single" ? _ : null),- focusStrategy: i,- open(t = null) {- (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.open());- },- toggle(t = null) {- (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.toggle());- },- isFocused: h,- setFocused: g- };+//#region src/react/quality-goals/quality-goals-page.tsx+function hN({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {+ let c = () => i(r.id);+ return /* @__PURE__ */ (0, D.jsxs)("li", {+ "data-goal-id": r.id,+ className: Ew({+ padding: "none",+ bordered: "soft",+ className: "flex flex-col gap-3 p-3"+ }),+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 gap-4",+ children: [/* @__PURE__ */ (0, D.jsxs)("button", {+ type: "button",+ onClick: c,+ "aria-label": `打开 ${o(r)}`,+ className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-caption-1-regular text-text-secondary",+ children: "暂无预览"+ }), /* @__PURE__ */ (0, D.jsx)("img", {+ src: mN(r),+ alt: "",+ loading: "lazy",+ onError: (e) => e.currentTarget.remove(),+ className: "absolute inset-0 size-full object-contain"+ })]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-col gap-1.5",+ children: [+ /* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-headline-medium text-text-primary",+ children: /* @__PURE__ */ (0, D.jsx)("button", {+ type: "button",+ "data-middle-truncate": !0,+ onClick: c,+ className: "block w-full cursor-pointer text-left",+ dangerouslySetInnerHTML: { __html: a(r) }+ })+ }),+ /* @__PURE__ */ (0, D.jsxs)("p", {+ className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "contents",+ dangerouslySetInnerHTML: { __html: s(r.location, r.cost) }+ }),+ /* @__PURE__ */ (0, D.jsx)("span", { children: e[r.location] ?? r.location }),+ /* @__PURE__ */ (0, D.jsx)("span", { children: t(r.duration) }),+ /* @__PURE__ */ (0, D.jsx)("span", { children: n(r.size ?? 0) })+ ]+ }),+ r.reason ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "border-t border-separator-border pt-3 text-body-2-regular text-text-secondary",+ children: r.reason+ }) : null+ ]+ })]+ }), /* @__PURE__ */ (0, D.jsx)("footer", {+ className: "flex justify-end",+ children: /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ onClick: c,+ children: "查看版本"+ })+ })]+ });}-function Vv(e) {- if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];+function gN(e) {+ let t = ft({+ queryKey: dN,+ queryFn: ({ signal: e }) => fN(e)+ }), n = t.data;+ if (!n) return /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "读取失败",+ children: t.error ? K(t.error) : "读取高清版目标失败"+ }) });+ let r = n.items || [];+ return r.length ? /* @__PURE__ */ (0, D.jsxs)(kw, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: Ew({+ variant: "raised",+ className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"+ }),+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: "待升级"+ }), /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-display-4-medium tabular-nums text-text-primary",+ children: `${n.total} 部作品`+ })]+ }), /* @__PURE__ */ (0, D.jsx)("ul", {+ className: "card-grid-cover gap-5",+ children: r.map((t) => /* @__PURE__ */ (0, D.jsx)(hN, {+ item: t,+ ...e+ }, t.id))+ })] }) : /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsx)(Dw, {+ shell: "plain",+ icon: zS,+ title: "没有标记中的高清版目标",+ children: "现有版本都已满足条件,或还没有加入追踪。"+ }) });}//#endregion-//#region node_modules/react-aria-components/dist/private/Select.mjs-function Hv(e) {- return e && e.__esModule ? e.default : e;-}-var Uv = /*#__PURE__*/ (0, E.createContext)(null), Wv = /*#__PURE__*/ (0, E.createContext)(null), Gv = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, Uv);- let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, E.useMemo)(() => typeof n == "function" ? n({- isOpen: !1,- isDisabled: r,- isInvalid: i,- isRequired: a,- isFocused: !1,- isFocusVisible: !1,- defaultChildren: null- }) : n, [- n,- r,- i,- a- ]);- return /*#__PURE__*/ E.createElement(pi, { content: o }, (n) => /*#__PURE__*/ E.createElement(qv, {- props: e,- collection: n,- selectRef: t- }));-}), Kv = [- bg,- Cg,- kg-];-function qv({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = og(Mg) || {}, i = e.validationBehavior ?? r ?? "native", a = Bv({- ...e,- collection: n,- children: void 0,- validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = Lc({ within: !0 }), c = (0, E.useRef)(null), [l, u] = cg(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = gd({- ...lg(e),- label: u,- validationBehavior: i- }, a, c), y = (0, E.useMemo)(() => ({- isOpen: a.isOpen,- isFocused: a.isFocused,- isFocusVisible: o,- isDisabled: e.isDisabled || !1,- isInvalid: v.isInvalid || !1,- isRequired: e.isRequired || !1- }), [- a.isOpen,- a.isFocused,- o,- e.isDisabled,- v.isInvalid,- e.isRequired- ]), b = ag({- ...e,- values: y,- defaultClassName: "react-aria-Select"- }), x = V(e, { global: !0 });- delete x.id;- let S = (0, E.useRef)(null);- return /*#__PURE__*/ E.createElement(ig, { values: [- [Uv, e],- [Wv, a],- [Jv, p],- [bg, {- ...d,- ref: l,- elementType: "span"- }],- [Cg, {- ...f,- ref: c,- isPressed: a.isOpen,- autoFocus: e.autoFocus- }],- [vv, a],- [pv, {- trigger: "Select",- triggerRef: c,- scrollRef: S,- placement: "bottom start",- "aria-labelledby": m["aria-labelledby"],- clearContexts: Kv- }],- [Q_, {- ...m,- ref: S- }],- [$_, a],- [kg, { slots: {- description: h,- errorMessage: g- } }],- [jg, v]- ] }, /*#__PURE__*/ E.createElement(Z.div, {- ...B(x, b, s),- ref: t,- slot: e.slot || void 0,- "data-focused": a.isFocused || void 0,- "data-focus-visible": o || void 0,- "data-open": a.isOpen || void 0,- "data-disabled": e.isDisabled || void 0,- "data-invalid": v.isInvalid || void 0,- "data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ E.createElement(vd, {- ..._,- autoComplete: e.autoComplete- })));+//#region src/selection.ts+function _N(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;}-for (var Jv = /*#__PURE__*/ (0, E.createContext)(null), Yv = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, Jv);- let n = (0, E.useContext)(Wv), { placeholder: r } = og(Uv), i = n.selectedItems.map((e) => {- let t = e.props?.children;- return typeof t == "function" && (t = t({- isHovered: !1,- isPressed: !1,- isSelected: !1,- isFocused: !1,- isFocusVisible: !1,- isDisabled: !1,- selectionMode: "single",- selectionBehavior: "toggle"- })), t;- }), a = Rc(), o = (0, E.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, E.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [- s,- a,- o- ]), l = (0, E.useMemo)(() => {- if (s === "single") return i[0];- let e = a.formatToParts(o);- if (e.length === 0) return null;- let t = 0;- return e.map((e) => e.type === "element" ? /*#__PURE__*/ E.createElement(E.Fragment, { key: t }, i[t++]) : e.value);- }, [- s,- a,- o,- i- ]), u = ua(Hv(T_), "react-aria-components"), d = ag({- ...e,- defaultChildren: l ?? r ?? u.format("selectPlaceholder"),- defaultClassName: "react-aria-SelectValue",- values: {- selectedItem: n.selectedItems[0]?.value ?? null,- selectedItems: (0, E.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),- selectedText: c,- isPlaceholder: n.selectedItems.length === 0,- state: n- }- }), f = V(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Z.span, {- ref: t,- ...f,- ...d,- "data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ E.createElement(kg.Provider, { value: void 0 }, d.children));-}), Xv = /*#__PURE__*/ (0, E.createContext)(null), Zv = /*#__PURE__*/ (0, E.createContext)(null), Qv = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { inputRef: n = null, ...r } = e;- [e, t] = sg(r, t, Xv);- let i = Xr((0, E.useMemo)(() => jr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ns(e), o = yd({- ...lg(e),- children: typeof e.children == "function" || e.children- }, a, i);- return /*#__PURE__*/ E.createElement(ig, { values: [[Zv, a], [$v, {- ...o,- inputRef: i,- defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ E.createElement(ey, {- ...e,- ref: t- }));-}), $v = /*#__PURE__*/ (0, E.createContext)(null), ey = /*#__PURE__*/ (0, E.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, E.useContext)($v), { isFocused: f, isFocusVisible: p, focusProps: m } = Lc(), h = a || o, g = (0, E.useContext)(Zv), { hoverProps: _, isHovered: v } = Wc({- ...e,- isDisabled: h- }), y = ag({- ...e,- defaultClassName: u,- values: {- isSelected: i,- isPressed: s,- isHovered: v,- isFocused: f,- isFocusVisible: p,- isDisabled: a,- isReadOnly: o,- isInvalid: c,- isRequired: d || !1,- state: g- }- }), b = V(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Z.label, {- ...B(b, n, _, y),- ref: t,- slot: e.slot || void 0,- "data-selected": i || void 0,- "data-pressed": s || void 0,- "data-hovered": v || void 0,- "data-focused": f || void 0,- "data-focus-visible": p || void 0,- "data-disabled": a || void 0,- "data-readonly": o || void 0,- "data-invalid": c || void 0,- "data-required": d || void 0- }, /*#__PURE__*/ E.createElement(ss, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {- ...B(r, m),- ref: l- })), y.children);-}), ty = 10, ny = 5, ry = class {- setup(e, t, n) {- this.delegate = e, this.state = t, this.direction = n;- }- getDropTargetFromPoint(e, t, n) {- let r = this.delegate.getDropTargetFromPoint(e, t, n);- return !r || r.type === "root" ? r : this.resolveDropTarget(r, e, t, n);- }- resolveDropTarget(e, t, n, r) {- let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > ny && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > ty && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {- let t = this.state.collection.getKeyBefore(e.key);- for (; t != null;) {- let e = this.state.collection.getItem(t);- if (e?.type === "item") break;- t = e?.parentKey ?? null;- }- if (t != null) {- let n = {- type: "item",- key: t,- dropPosition: "after"- };- r(n) && (e = n);- }- }- let l = this.getPotentialTargets(e, r);- if (l.length === 0) return { type: "root" };- let u;- return l.length > 1 ? u = this.selectTarget(l, e, t, n, s, c) : (u = l[0], i.boundaryContext = null), u;- }- getPotentialTargets(e, t) {- if (e.dropPosition === "on") return [e];- let n = e, r = this.state.collection, i = r.getItem(n.key);- for (; i && i?.type !== "item" && i.nextKey != null;) n.key = i.nextKey, i = r.getItem(i.nextKey);- let a = [n];- if (i && i.hasChildNodes && this.state.expandedKeys.has(i.key) && r.getChildren && n.dropPosition === "after") {- let e = i.firstChildKey == null ? null : r.getItem(i.firstChildKey);- for (; e && e.type !== "item";) e = e.nextKey == null ? null : r.getItem(e.nextKey);- if (e?.type === "item") {- let n = {- type: "item",- key: e.key,- dropPosition: "before"- };- return t(n) ? [n] : [];- }- }- if (i?.nextKey != null) return [e];- let o = i?.parentKey, s = [];- for (; o != null;) {- let e = r.getItem(o), n = e?.nextKey == null ? null : r.getItem(e.nextKey);- if (!n || n.parentKey !== o) {- if (e?.type === "item") {- let e = {- type: "item",- key: o,- dropPosition: "after"- };- t(e) && s.push(e);- }- if (n) break;+//#endregion+//#region src/react/review/review.ts+var vN = "/api/review", yN = "/api/review/decision", bN = "/api/review/genre", xN = ["review"], SN = {+ metadata_fields: "元数据字段",+ creator_tags: "创作者标签",+ studio_logos: "厂牌 Logo",+ performer_avatars: "女优头像",+ western_identity: "西方身份回配",+ code_creators: "番号目录存疑",+ fc2_markings: "FC2 评论标记",+ fc2_similarity: "FC2 跨号相似",+ video_endcards: "片尾/出处证据",+ media_failure: "无法识别"+}, CN = Object.keys(SN), wN = "metadata_fields", TN = (e) => typeof e == "string" && Object.hasOwn(SN, e), EN = {+ creator_tags: "creator",+ western_identity: "creator"+};+function DN(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 ON(e, t) {+ let n = /* @__PURE__ */ new Map();+ for (let r of e) {+ let e, i;+ if (t === "field") e = r.field || "__unspecified_field", i = r.field_label || r.field || "未标注字段";+ else if (t === "source") {+ let t = [...new Set((r.candidates?.map((e) => e.source || "") || [r.source || ""]).filter(Boolean))].sort();+ e = JSON.stringify(t), i = t.join(" / ") || "未标注来源";+ } else e = r.candidates ? r.candidates.length === 1 ? "single" : "multiple" : "pending", i = e === "single" ? "单一候选" : e === "multiple" ? "需选择来源" : "待复核";+ n.has(e) || n.set(e, {+ key: e,+ title: i,+ rows: []+ }), n.get(e).rows.push(r);+ }+ return [...n.values()];+}+function kN(e, t, n) {+ return n && ON(e, t).find((e) => e.key === n)?.rows || e;+}+function AN(e, t) {+ let n = hk(e.length, 20), r = gk(t, n);+ return {+ page: r,+ pages: n,+ rows: e.slice((r - 1) * 20, r * 20)+ };+}+function jN(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 MN(e, t, n, r, i, a) {+ return _N(e, t, n, r, i, a);+}+function NN(e, t) {+ return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";+}+function PN(e, t) {+ return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);+}+var FN = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function IN(e, t) {+ let n = PN(e, t), r = FN(e, t);+ return r ? `${n} · ${r}` : n;+}+var LN = (e) => e.reason || e.evidence || e.note || e.decision_note || "", RN = (e) => String(e.tags || "").split("|").filter(Boolean), zN = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function BN(e) {+ let t = e.candidates || [];+ return {+ candidateKey: t.length === 1 ? t[0].candidate_key : "",+ assets: (e.preview_assets || []).map((e) => e.id)+ };+}+function VN(e, t, n, r) {+ let i = !!t.asset_path && t.asset_mutation_revision != null;+ return {+ category: e,+ item_key: t.item_key,+ status: n,+ candidate_key: r.candidateKey,+ creator: t.creator,+ tags: t.tags,+ studio: t.studio,+ entity_id: t.entity_id,+ avatar_url: t.avatar_url,+ selected_ids: r.assets,+ ...i ? { expected_revision: t.asset_mutation_revision } : {}+ };+}+var HN = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", UN = (e) => ww(vN, e), WN = (e) => Tw(yN, e), GN = (e, t) => Tw(bN, {+ genre: e,+ tag: t+});+async function KN(e) {+ await Mw.fetchQuery({+ queryKey: xN,+ queryFn: () => UN(e)+ });+}+function qN(e, t) {+ let n = new Set(t);+ n.size && Mw.setQueryData(xN, (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 : {+ ...t,+ sections: {+ ...t.sections,+ [e]: i+ },+ counts: {+ ...t.counts,+ [e]: Math.max(0, (t.counts[e] ?? r.length) - (r.length - i.length))}- o = e?.parentKey;- }- if (s.length > 0 && a.push(...s), a.length === 1) {- let e = r.getKeyAfter(n.key), a = e == null ? null : r.getItem(e);- if (e != null && a && i && a.level != null && i.level != null && a.level > i.level) {- let n = {- type: "item",- key: e,- dropPosition: "before"- };- if (t(n)) return [n];+ };+ });+}+var JN = () => Mw.invalidateQueries({+ queryKey: xN,+ exact: !0+});+function YN(e, t) {+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${_k(e.fetched_at)} 的缓存` : e?.error || t;+}+//#endregion+//#region src/react/review/bulk-toolbar.tsx+function XN(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 = jN(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ role: "group",+ "aria-label": "复核筛选",+ "data-review-filter": !0,+ "data-glass-pane": "",+ className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "筛选分组方式",+ size: "sm",+ selectedKey: n,+ onSelectionChange: (e) => {+ e !== null && r(String(e));+ },+ children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: t+ }, e))+ }),+ i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(aM, {+ "aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",+ size: "sm",+ selectedKey: a || "*",+ onSelectionChange: (e) => {+ e !== null && o(String(e) === "*" ? "" : String(e));+ },+ children: [/* @__PURE__ */ (0, D.jsx)(oM, {+ id: "*",+ children: "全部分类"+ }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e.key,+ children: `${e.title} · ${e.rows.length}`+ }, e.key))]+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ leadingIcon: SS,+ "aria-pressed": v,+ disabled: p || !s.length,+ onClick: () => {+ let e = new Set(c);+ for (let t of s) v ? e.delete(t) : e.add(t);+ l(e);+ },+ children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"+ })+ ]+ }), c.size ? /* @__PURE__ */ (0, D.jsxs)(sM, {+ label: "复核所选项目",+ count: `已选 ${c.size} 项`,+ children: [+ b ? /* @__PURE__ */ (0, D.jsxs)(aM, {+ "aria-label": "统一选择来源",+ size: "sm",+ selectedKey: "",+ isDisabled: p || !y.length,+ onSelectionChange: (e) => {+ e !== null && e !== "" && h(String(e));+ },+ children: [/* @__PURE__ */ (0, D.jsx)(oM, {+ id: "",+ children: x+ }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: e+ }, e))]+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ size: "small",+ disabled: p || !c.size || !f,+ onClick: () => g("approved"),+ children: "通过所选"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "danger",+ size: "small",+ disabled: p || !c.size,+ onClick: () => g("rejected"),+ children: "拒绝所选"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ disabled: p,+ onClick: () => l(/* @__PURE__ */ new Set()),+ children: "取消选择"+ }),+ m ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: "status",+ className: "w-full text-body-2-regular text-text-secondary",+ children: m+ }) : null+ ]+ }) : null] });+}+//#endregion+//#region src/react/review/candidate-form.tsx+var ZN = {+ title: "标题",+ original_title: "原标题",+ runtime: "来源时长",+ director: "导演",+ label: "Label",+ poster_url: "海报",+ cover_url: "封面",+ screenshot_urls: "截图",+ trailer_url: "预告片"+}, QN = "reviewgenretags";+function $N({ tags: e }) {+ return e.length ? /* @__PURE__ */ (0, D.jsx)("datalist", {+ id: QN,+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)("option", { value: e }, e))+ }) : null;+}+function eP({ 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, D.jsxs)("span", {+ className: "flex min-w-0 flex-1 flex-col",+ children: [/* @__PURE__ */ (0, D.jsxs)("span", {+ className: "relative flex min-w-0 flex-col gap-0.5 px-4 py-3 group-hover:bg-background-primary-hover group-data-selected:bg-background-primary-hover",+ children: [+ /* @__PURE__ */ (0, D.jsxs)("b", {+ className: "text-body-2-medium text-text-secondary",+ children: [+ e.source,+ e.official ? " · 官方优先" : "",+ r ? ` · ID ${r}` : ""+ ]+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-medium break-words text-text-primary",+ children: e.display_value || ""+ }),+ (e.warnings || []).map((e) => /* @__PURE__ */ (0, D.jsx)("i", {+ className: "text-body-2-regular text-status-yellow-text",+ children: e+ }, e)),+ t ? /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": "true",+ "data-candidate-choice": !0,+ className: "absolute top-4 right-4 inline-grid size-4 place-items-center rounded-full border border-border-checkbox-default bg-background-primary-default group-hover:border-border-checkbox-hover group-data-selected:border-border-focus-ring group-data-selected:bg-accent-600",+ children: /* @__PURE__ */ (0, D.jsx)("span", { className: "size-1.5 rounded-full bg-text-white opacity-0 group-data-selected:opacity-100" })+ }) : null+ ]+ }), n.length ? /* @__PURE__ */ (0, D.jsx)("dl", {+ className: "flex flex-col gap-1 border-t border-separator-border bg-background-primary-default px-4 py-2.5",+ children: n.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-wrap gap-x-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)("dt", {+ className: "text-body-2-regular text-text-secondary",+ children: ZN[e] || e+ }),+ /* @__PURE__ */ (0, D.jsx)("dd", {+ className: "min-w-0 text-body-2-regular break-words text-text-primary",+ children: t.display_value+ }),+ (t.warnings || []).map((e) => /* @__PURE__ */ (0, D.jsx)("small", {+ className: "w-full text-caption-1-regular text-status-yellow-text",+ children: e+ }, e))+ ]+ }, e))+ }) : null]+ });+}+function tP({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+ let a = e.candidates || [];+ return a.length ? a.length === 1 ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",+ children: /* @__PURE__ */ (0, D.jsx)(eP, { candidate: a[0] })+ }) : /* @__PURE__ */ (0, D.jsx)(uD, {+ "aria-label": `${t || "候选"}的来源`,+ value: n,+ isDisabled: i,+ onChange: r,+ className: "flex flex-col gap-2",+ children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(dD, {+ 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, D.jsx)(eP, {+ candidate: e,+ selectable: !0+ })+ }, e.candidate_key))+ }) : null;+}+function nP({ genre: e, tags: t, locked: n, toast: r }) {+ let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), c = pt({+ mutationFn: (t) => GN(e, t),+ onSuccess: async (t, n) => {+ if (!t.ok) {+ s(t.error || "服务端拒绝了这次收录");+ return;}+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await JN();+ },+ onError: (e) => s(K(e))+ }), l = () => {+ let e = i.trim();+ if (!e) {+ s("先给它一个中文标签");+ return;}- return a.filter(t);- }- selectTarget(e, t, n, r, i, a) {- if (e.length < 2) return e[0];- let o = this.pointerTracking, s = this.state.collection.getItem(t.key)?.parentKey;- if (s == null) return e[0];- (!o.boundaryContext || o.boundaryContext.parentKey !== s) && (o.boundaryContext = {- parentKey: s,- preferredTargetIndex: o.yDirection === "up" ? e.length - 1 : 0,- lastSwitchY: r,- lastSwitchX: n- });- let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > ny && i) {- let t = c.preferredTargetIndex || 0;- i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;+ s(""), c.mutate(e);+ };+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)("b", {+ lang: "ja",+ className: "text-body-medium text-text-primary",+ children: e+ }),+ /* @__PURE__ */ (0, D.jsx)(VO, {+ "aria-label": `「${e}」收录成的中文标签`,+ value: i,+ onChange: a,+ maxLength: 40,+ isDisabled: n || c.isPending,+ className: "min-w-40 flex-1",+ children: /* @__PURE__ */ (0, D.jsx)(UO, {+ size: "small",+ list: t.length ? QN : void 0,+ autoComplete: "off",+ placeholder: "中文标签",+ onKeyDown: (e) => {+ e.key !== "Enter" || e.nativeEvent.isComposing || (e.preventDefault(), l());+ }+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: n || c.isPending,+ onClick: l,+ children: "收录"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: n || c.isPending,+ onClick: () => {+ s(""), c.mutate("");+ },+ children: "不是内容"+ }),+ o ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: "status",+ className: "w-full text-body-2-regular text-text-error-primary",+ children: o+ }) : null+ ]+ });+}+function rP({ row: e, tags: t, locked: n, toast: r }) {+ let i = zN(e);+ return i.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ role: "group",+ "aria-label": "未收录 genre",+ className: "flex flex-col gap-2 rounded-surface border border-separator-border bg-background-primary-default px-4 py-3",+ children: [/* @__PURE__ */ (0, D.jsx)("h5", {+ className: "text-body-2-medium text-text-secondary",+ children: `未收录 genre · ${i.length}`+ }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(nP, {+ genre: e,+ tags: t,+ locked: n,+ toast: r+ }, e))]+ }) : null;+}+//#endregion+//#region src/react/review/review-evidence.tsx+var iP = (e = "") => /^https?:\/\//i.test(e) ? e : "", aP = (e = "") => iP(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function oP({ url: e }) {+ let t = aP(e || ""), [n, r] = (0, E.useState)(!1);+ return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",+ children: t && !n ? /* @__PURE__ */ (0, D.jsx)("img", {+ src: t,+ alt: "来源候选图片",+ loading: "lazy",+ className: "size-full object-contain",+ onError: () => r(!0)+ }) : /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: "未取得来源图片"+ })+ });+}+function sP({ asset: e, openItem: t }) {+ let n = e.name || "";+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",+ children: [/* @__PURE__ */ (0, D.jsxs)("button", {+ type: "button",+ onClick: () => t(e.id),+ className: "flex aspect-card-cover w-review-cover-narrow shrink-0 review-tight:w-review-cover cursor-pointer items-center justify-center overflow-hidden rounded-2lg bg-background-tertiary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",+ children: [e.preview_url ? /* @__PURE__ */ (0, D.jsx)("img", {+ src: e.preview_url,+ alt: "",+ loading: "lazy",+ className: "size-full object-cover"+ }) : /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-caption-1-regular text-text-secondary",+ children: "无封面"+ }), /* @__PURE__ */ (0, D.jsx)(M_, { children: `打开原视频 ${n}` })]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-col items-start gap-1",+ children: [/* @__PURE__ */ (0, D.jsx)("b", {+ title: n,+ className: "w-full truncate text-body-medium text-text-primary",+ children: e.code || n || "原视频"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ leadingIcon: Ste,+ onClick: () => t(e.id),+ children: "打开原视频"+ })]+ })]+ });+}+function cP({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 items-center gap-3",+ children: [/* @__PURE__ */ (0, D.jsx)("button", {+ type: "button",+ "aria-label": `打开创作者页:${t}`,+ onClick: () => i(e, t),+ className: "relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",+ dangerouslySetInnerHTML: { __html: r }+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex min-w-0 flex-col items-start",+ children: [/* @__PURE__ */ (0, D.jsx)("button", {+ type: "button",+ onClick: () => i(e, t),+ className: "max-w-full cursor-pointer truncate text-body-medium text-text-primary underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-border-focus-ring",+ children: t+ }), n ? /* @__PURE__ */ (0, D.jsx)("small", {+ className: "tabular-nums text-body-2-regular text-text-secondary",+ children: `${n.toLocaleString()} 部作品`+ }) : null]+ })]+ });+}+function lP({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = iP(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+ return /* @__PURE__ */ (0, D.jsxs)("section", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)("h5", {+ className: "text-body-medium text-text-primary",+ children: `候选身份:${e.babepedia_name || "未标注"}`+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [o ? /* @__PURE__ */ (0, D.jsx)(Ote, {+ variant: "secondary",+ size: "small",+ trailingIcon: DS,+ href: o,+ target: "_blank",+ rel: "noopener noreferrer",+ children: "来源资料"+ }) : null, /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ onClick: () => n("creator", e.creator || ""),+ children: `查看全部 ${c.toLocaleString()} 部作品`+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)(oP, { url: e.preview_url }),+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: "通过后记录身份判断。"+ }),+ s.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("h5", {+ className: "text-body-medium text-text-primary",+ children: "本地作品样本"+ }), /* @__PURE__ */ (0, D.jsx)("ul", {+ className: "flex flex-col gap-1",+ children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ className: "flex min-w-0 items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ className: "min-w-0",+ onClick: () => t(e.id),+ children: /* @__PURE__ */ (0, D.jsx)("span", {+ title: e.name,+ className: "block max-w-full truncate",+ children: e.name+ })+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ "aria-label": `打开 ${e.name} 的文件位置`,+ ...J(i === e.id),+ onClick: () => r(e.id),+ children: "文件位置"+ })]+ }, e.id))+ })] }) : /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: "暂无本地作品样本,打开全部作品核对。"+ }),+ a ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: "status",+ className: "text-body-2-regular text-text-error-primary",+ children: a+ }) : null+ ]+ });+}+function uP({ assets: e, picked: t, onPicked: n, locked: r }) {+ let [i, a] = (0, E.useState)(null), o = new Set(t), s = (t, s) => {+ if (r) return;+ let c = new Set(o);+ if (s && i !== null) {+ let [n, r] = [Math.min(i, t), Math.max(i, t)];+ for (let t = n; t <= r; t++) c.add(e[t].id);+ } else {+ let n = e[t].id;+ c.has(n) ? c.delete(n) : c.add(n);}- if (l > ty && a) {- let t = c.preferredTargetIndex || 0;- a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;+ a(t), n(e.filter((e) => c.has(e.id)).map((e) => e.id));+ };+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "tabular-nums text-body-2-regular text-text-secondary",+ children: `已选 ${o.size} / ${e.length}`+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ disabled: r,+ onClick: () => n(e.map((e) => e.id)),+ children: "全选"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ disabled: r,+ onClick: () => n([]),+ children: "清空"+ })+ ]+ }), /* @__PURE__ */ (0, D.jsx)("div", {+ className: "review-asset-grid gap-1.5",+ children: e.map((e, t) => {+ let n = o.has(e.id);+ return /* @__PURE__ */ (0, D.jsxs)("button", {+ type: "button",+ "aria-pressed": n,+ title: e.name,+ onClick: (e) => s(t, e.shiftKey),+ className: `relative aspect-card-cover cursor-pointer overflow-hidden rounded-surface bg-background-tertiary-default outline-none transition-opacity focus-visible:ring-2 focus-visible:ring-border-focus-ring ${n ? "opacity-100 ring-2 ring-border-button-active ring-inset" : "opacity-50"}`,+ children: [+ /* @__PURE__ */ (0, D.jsx)("img", {+ src: `/poster?id=${e.id}&c=4`,+ alt: "",+ loading: "lazy",+ className: "size-full object-cover"+ }),+ /* @__PURE__ */ (0, D.jsx)("span", {+ className: "absolute top-1 right-1",+ children: /* @__PURE__ */ (0, D.jsx)(nA, {+ size: "sm",+ state: {+ isSelected: n,+ isIndeterminate: !1,+ isFocusVisible: !1,+ isDisabled: r,+ isHovered: !1+ }+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(M_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })+ ]+ }, e.id);+ })+ })]+ });+}+//#endregion+//#region src/react/review/review-card.tsx+var dP = Ew({+ variant: "outlined",+ padding: "none",+ className: "flex flex-col gap-4 px-5 pt-4"+}), fP = "flex min-h-6 min-w-0 items-center", pP = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function mP(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, E.useRef)(!1), m = $O(), h = $O(), g = t === "metadata_fields", _ = EN[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = IN(t, n), x = FN(t, n), S = PN(t, n), C = LN(n), w = RN(n), T = NN(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-col gap-3",+ children: O.map((e) => /* @__PURE__ */ (0, D.jsx)(sP, {+ asset: e,+ openItem: f.openItem+ }, e.id))+ }) : y ? /* @__PURE__ */ (0, D.jsx)(cP, {+ kind: _,+ name: v,+ works: Number(n.video_count || n.videos || 0),+ openEntity: f.openEntity,+ avatar: f.avatarInner(v, n.entity_id ? {+ id: n.entity_id,+ has_image: !!n.has_image,+ avatar_focus: n.avatar_focus+ } : null, null, _)+ }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)(sP, {+ openItem: f.openItem,+ asset: {+ id: n.asset_id,+ name: n.asset_name,+ preview_url: n.asset_preview_url}- return e[Math.max(0, Math.min(c.preferredTargetIndex || 0, e.length - 1))];- }- constructor() {- this.delegate = null, this.state = null, this.direction = "ltr", this.pointerTracking = {- lastY: 0,- lastX: 0,- yDirection: null,- xDirection: null,- boundaryContext: null- };- }-}, iy = class {- constructor(e) {- this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];- let t = (r) => {- let i = this.keyMap.get(r.key);- e.visitNode && (r = e.visitNode(r)), this.keyMap.set(r.key, r);- let a = /* @__PURE__ */ new Set(), o = null, s = !1;- if (r.type === "item") {- for (let e of r.childNodes) if (e.props?.colSpan !== void 0) {- s = !0;- break;+ }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(tP, {+ row: n,+ fieldName: x,+ value: r.candidateKey,+ onChange: (e) => i({+ ...r,+ candidateKey: e+ }),+ locked: s+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(uP, {+ assets: k,+ picked: r.assets,+ locked: s,+ onPicked: (e) => i({+ ...r,+ assets: e+ })+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {+ shell: "inset",+ icon: _te,+ title: "这批作品尚未抽帧",+ children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(lP, {+ row: n,+ openItem: f.openItem,+ openEntity: f.openEntity,+ onReveal: f.onReveal,+ revealing: f.revealing,+ note: f.revealNote+ }) : /* @__PURE__ */ (0, D.jsx)(oP, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {+ className: `${fP} flex-wrap gap-2`,+ children: [/* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: "blue",+ children: x+ }), /* @__PURE__ */ (0, D.jsx)("span", {+ title: S,+ className: "min-w-0 truncate text-body-medium text-text-primary",+ children: S+ })]+ }) : /* @__PURE__ */ (0, D.jsx)("h4", {+ className: fP,+ children: /* @__PURE__ */ (0, D.jsx)("span", {+ title: b,+ className: "min-w-0 truncate text-body-medium text-text-primary",+ children: b+ })+ });+ return /* @__PURE__ */ (0, D.jsxs)("section", {+ "aria-label": b,+ "data-review-key": n.item_key,+ className: `${dP} ${pP(t)} overflow-hidden`,+ children: [+ /* @__PURE__ */ (0, D.jsxs)("header", {+ className: "flex min-w-0 shrink-0 items-start gap-2",+ children: [+ s ? null : /* @__PURE__ */ (0, D.jsx)("span", {+ className: `${fP} shrink-0`,+ onPointerDownCapture: (e) => {+ p.current = e.shiftKey;+ },+ onKeyDownCapture: (e) => {+ p.current = e.shiftKey;+ },+ children: /* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: a,+ "aria-label": `选择 ${b}`,+ onChange: (e) => o(p.current, e)+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ className: "min-w-0 flex-1",+ children: N+ }),+ A ? /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: "neutral",+ children: n.decision+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ className: "relative flex min-w-0 min-h-0 flex-1 flex-col",+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ ref: m,+ className: "flex min-w-0 min-h-0 flex-1 flex-col gap-3 overflow-y-auto",+ children: [+ n.source_name ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: `来源写法:${n.source_name}`+ }) : null,+ !y && (n.board || n.assets) ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: `样本/资产:${n.video_count || n.assets || ""}`+ }) : null,+ !y && j ? j : null,+ w.length || t === "creator_tags" ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "flex flex-wrap gap-1",+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(bw, {+ variant: "caption",+ color: "soft",+ children: e+ }, e)) : /* @__PURE__ */ (0, D.jsx)("small", {+ className: "text-body-2-regular text-text-secondary",+ children: "暂无候选标签"+ })+ }) : null,+ M,+ /* @__PURE__ */ (0, D.jsx)(rP, {+ row: n,+ tags: u,+ locked: s,+ toast: f.toast+ }),+ !g && C ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: C+ }) : null+ ]+ })+ }),+ g && C ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "relative -mx-5 shrink-0",+ children: /* @__PURE__ */ (0, D.jsx)("p", {+ ref: h,+ role: "region",+ "aria-label": "当前信息",+ className: "max-h-22 overflow-y-auto border-t border-separator-border px-5 py-2.5 text-body-2-regular text-text-secondary",+ children: C+ })+ }) : null,+ /* @__PURE__ */ (0, D.jsxs)("footer", {+ className: "-mx-5 flex min-h-14 shrink-0 flex-wrap items-center justify-end gap-2 rounded-b-surface border-t border-separator-border bg-background-secondary-default py-3 pr-3 pl-5",+ children: [+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "danger",+ size: "small",+ disabled: s,+ ...J(c),+ onClick: () => d("rejected"),+ children: "拒绝"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: s,+ ...J(c),+ onClick: () => d("skipped"),+ children: "跳过"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "primary",+ size: "small",+ disabled: s || !T,+ ...J(c),+ onClick: () => d("approved"),+ children: T ? "通过" : "已跳过"+ }),+ l ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: "status",+ className: "w-full text-body-2-regular text-text-error-primary",+ children: l+ }) : null+ ]+ })+ ]+ });+}+//#endregion+//#region src/react/review/review-page.tsx+var hP = "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 gP({ page: e, pages: t, onPage: n }) {+ return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {+ "aria-label": "复核分页",+ className: "flex w-full flex-wrap items-center justify-between gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: e <= 1,+ onClick: () => n(e - 1),+ children: "上一页"+ }),+ /* @__PURE__ */ (0, D.jsx)("ul", {+ className: "flex flex-wrap items-center gap-1",+ children: mk(e, t).map((t, r) => /* @__PURE__ */ (0, D.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "px-1 text-body-2-regular text-text-tertiary",+ children: "…"+ }) : /* @__PURE__ */ (0, D.jsx)(G, {+ variant: t === e ? "secondary" : "ghost",+ size: "small",+ "aria-label": `第 ${t} 页`,+ "aria-current": t === e ? "page" : void 0,+ onClick: () => n(Number(t)),+ children: t+ }) }, t === "…" ? `dots-${r}` : t))+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ size: "small",+ disabled: e >= t,+ onClick: () => n(e + 1),+ children: "下一页"+ })+ ]+ });+}+function _P(e) {+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, E.useState)(TN(e.category) ? e.category : wN), [f, p] = (0, E.useState)("candidates"), [m, h] = (0, E.useState)(""), [g, _] = (0, E.useState)(1), [v, y] = (0, E.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, E.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, E.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, E.useState)(""), O = (0, E.useRef)(null), [k, A] = (0, E.useState)(0), [j, M] = (0, E.useState)(""), N = (0, E.useRef)(!0);+ (0, E.useEffect)(() => () => {+ N.current = !1;+ }, []);+ let P = ft({+ queryKey: xN,+ queryFn: ({ signal: e }) => UN(e)+ }).data || {+ sections: {},+ counts: {}+ }, F = P.sections[u] || [], I = u === "metadata_fields", ee = s, te = DN(F, I), L = te.some(([e]) => e === f) ? f : "candidates", ne = ON(F, L), re = ne.some((e) => e.key === m) ? m : "", ie = AN(kN(F, L, 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) || BN(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {+ let t = new Set(e);+ y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));+ }, R = (e, t) => C((n) => new Map(n).set(e, t)), de = (e) => {+ d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), O.current = null, t({ category: e === "metadata_fields" ? "" : e });+ }, fe = pt({+ mutationFn: ({ row: e, status: t }) => WN(VN(u, e, t, ce(e))),+ onSuccess: (e, { row: t, status: n }) => {+ if (!e.ok) {+ R(t.item_key, e.error || "服务端拒绝了这次判定");+ return;+ }+ qN(u, [t.item_key]), ue([t.item_key]), o(HN(n));+ },+ onError: (e, { row: t }) => R(t.item_key, K(e))+ }), pe = pt({+ mutationFn: async (e) => {+ let t = le, n = [], r = [];+ for (let [i, a] of t.entries()) {+ if (!N.current) break;+ T(`正在处理 ${i} / ${t.length}`);+ try {+ let t = await WN(VN(u, a, e, ce(a)));+ if (!t.ok) throw Error(t.error || "服务端未采用该项");+ n.push(a.item_key);+ } catch (e) {+ r.push([a.item_key, K(e)]);}}- for (let e of r.childNodes) e.type === "cell" && s && (e.colspan = e.props?.colSpan, e.colSpan = e.props?.colSpan, e.colIndex = o ? (o.colIndex ?? o.index) + (o.colSpan ?? 1) : e.index), e.type === "cell" && e.parentKey == null && (e.parentKey = r.key), a.add(e.key), o ? (o.nextKey = e.key, e.prevKey = o.key) : e.prevKey = null, t(e), o = e;- if (o && (o.nextKey = null), i) for (let e of i.childNodes) a.has(e.key) || n(e);- }, n = (e) => {- this.keyMap.delete(e.key);- for (let t of e.childNodes) this.keyMap.get(t.key) === t && n(t);- }, r = null;- for (let [n, i] of e.items.entries()) {- let e = {- ...i,- level: i.level ?? 0,- key: i.key ?? "row-" + n,- type: i.type ?? "row",- value: i.value ?? null,- hasChildNodes: !0,- childNodes: [...i.childNodes],- rendered: i.rendered,- textValue: i.textValue ?? "",- index: i.index ?? n+ return {+ status: e,+ done: n,+ failures: r};- r ? (r.nextKey = e.key, e.prevKey = r.key) : e.prevKey = null, this.rows.push(e), t(e), r = e;- }- r && (r.nextKey = null);- }- *[Symbol.iterator]() {- yield* [...this.rows];- }- get size() {- return [...this.rows].length;- }- getKeys() {- return this.keyMap.keys();- }- getKeyBefore(e) {- let t = this.keyMap.get(e);- return t ? t.prevKey ?? null : null;- }- getKeyAfter(e) {- let t = this.keyMap.get(e);- return t ? t.nextKey ?? null : null;- }- getFirstKey() {- return [...this.rows][0]?.key;- }- getLastKey() {- let e = [...this.rows];- return e[e.length - 1]?.key;- }- getItem(e) {- return this.keyMap.get(e) ?? null;- }- at(e) {- let t = [...this.getKeys()];- return this.getItem(t[e]);- }- getChildren(e) {- return this.keyMap.get(e)?.childNodes || [];- }-}, ay = "row-header-column-" + Math.random().toString(36).slice(2), oy = "row-header-column-" + Math.random().toString(36).slice(2); ay === oy;) oy = "row-header-column-" + Math.random().toString(36).slice(2);-function sy(e, t) {- if (t.length === 0) return [];- let n = [], r = /* @__PURE__ */ new Map();- for (let i of t) {- let t = i.parentKey, a = [i];- for (; t != null;) {- let n = e.get(t);- if (!n) break;- if (r.has(n)) {- n.colSpan ??= 0, n.colSpan++, n.colspan = n.colSpan;- let { column: e, index: t } = r.get(n);- if (t > a.length) break;- for (let n = t; n < a.length; n++) e.splice(n, 0, null);- for (let t = a.length; t < e.length; t++) e[t] && r.has(e[t]) && (r.get(e[t]).index = t);- } else n.colSpan = 1, n.colspan = 1, a.push(n), r.set(n, {- column: a,- index: a.length - 1- });- t = n.parentKey;+ },+ onSuccess: ({ status: e, done: t, failures: n }) => {+ qN(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));}- n.push(a), i.index = n.length - 1;- }- let i = Math.max(...n.map((e) => e.length)), a = Array(i).fill(0).map(() => []), o = 0;- for (let e of n) {- let t = i - 1;- for (let n of e) {- if (n) {- let e = a[t], r = e.reduce((e, t) => e + (t.colSpan ?? 1), 0);- if (r < o) {- let i = {- type: "placeholder",- key: "placeholder-" + n.key,- colspan: o - r,- colSpan: o - r,- index: r,- value: null,- rendered: null,- level: t,- hasChildNodes: !1,- childNodes: [],- textValue: ""- };- e.length > 0 && (e[e.length - 1].nextKey = i.key, i.prevKey = e[e.length - 1].key), e.push(i);- }- e.length > 0 && (e[e.length - 1].nextKey = n.key, n.prevKey = e[e.length - 1].key), n.level = t, n.colIndex = o, e.push(n);+ }), me = (e) => {+ if (!(pe.isPending || !le.length)) {+ if (e === "approved" && I && le.some((e) => !ce(e).candidateKey)) {+ T("先为所选的多来源候选选择来源。");+ return;}- t--;- }- o++;- }- let s = 0;- for (let e of a) {- let n = e.reduce((e, t) => e + (t.colSpan ?? 1), 0);- if (n < t.length) {- let r = {- type: "placeholder",- key: "placeholder-" + e[e.length - 1].key,- colSpan: t.length - n,- colspan: t.length - n,- index: n,- value: null,- rendered: null,- level: s,- hasChildNodes: !1,- childNodes: [],- textValue: "",- prevKey: e[e.length - 1].key- };- e.push(r);+ T(""), pe.mutate(e);}- s++;- }- return a.map((e, t) => ({- type: "headerrow",- key: "headerrow-" + t,- index: t,- value: null,- rendered: null,- level: 0,- hasChildNodes: !0,- childNodes: e,- textValue: ""- }));+ }, he = (e) => {+ x((t) => {+ let n = new Map(t);+ for (let t of le) {+ let r = t.candidates?.find((t) => t.source === e);+ r && n.set(t.item_key, {+ ...ce(t),+ candidateKey: r.candidate_key+ });+ }+ return n;+ }), T(`已选择 ${e},点击通过所选采用。`);+ }, ge = async (e) => {+ if (k) return;+ A(e), M("");+ let t = await i(e);+ N.current && (A(0), M(t));+ }, _e = YN(P.mirror, c), ve = P.genre_tags || [], ye = {+ openItem: n,+ openEntity: r,+ onReveal: ge,+ revealing: k,+ revealNote: j,+ avatarInner: a,+ toast: o+ };+ return /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-5 pb-10",+ children: [+ ee ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "本机只能浏览",+ extra: l ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular",+ children: /* @__PURE__ */ (0, D.jsx)("a", {+ href: l,+ className: "text-text-primary underline underline-offset-2",+ children: "前往写入端复核"+ })+ }) : void 0,+ children: _e+ }) : null,+ /* @__PURE__ */ (0, D.jsx)($N, { tags: ve }),+ /* @__PURE__ */ (0, D.jsxs)(DO, {+ selectedKey: u,+ onSelectionChange: (e) => {+ let t = String(e);+ TN(t) && de(t);+ },+ className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "w-full rounded-surface bg-background-primary-default px-2 py-4 review-split:sticky review-split:top-topbar review-split:w-review-tabs review-split:shrink-0",+ children: [/* @__PURE__ */ (0, D.jsx)("h2", {+ id: "reviewcategories",+ className: "px-3 pb-3 text-caption-1-regular text-text-secondary",+ children: "复核分类"+ }), /* @__PURE__ */ (0, D.jsx)(kO, {+ "aria-labelledby": "reviewcategories",+ className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",+ children: CN.map((e) => {+ let t = Number(P.counts[e] || 0);+ return /* @__PURE__ */ (0, D.jsxs)(jO, {+ id: e,+ className: hP,+ children: [SN[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "tabular-nums text-caption-1-medium text-text-secondary",+ children: t.toLocaleString()+ }) : null]+ }, e);+ })+ })]+ }), /* @__PURE__ */ (0, D.jsxs)(MO, {+ id: u,+ className: "flex min-w-0 flex-1 flex-col gap-5",+ children: [+ F.length && !ee ? /* @__PURE__ */ (0, D.jsx)(XN, {+ groupOptions: te,+ groupBy: L,+ onGroupBy: (e) => {+ p(e), h(""), _(1);+ },+ groups: ne,+ filter: re,+ onFilter: (e) => {+ h(e), _(1);+ },+ pageKeys: ae,+ selected: v,+ onSelected: y,+ selectedRows: le,+ metadata: I,+ approvable: le.every((e) => NN(u, e)),+ busy: pe.isPending,+ feedback: w,+ onUnifySource: he,+ onRun: me+ }) : null,+ ie.rows.length ? se.map((e) => /* @__PURE__ */ (0, D.jsxs)("section", {+ className: "flex flex-col gap-3",+ children: [se.length > 1 || L !== "candidates" ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-body-medium text-text-primary",+ children: `${e.title} · ${e.rows.length}`+ }), ee ? null : /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "ghost",+ size: "small",+ onClick: () => {+ let t = e.rows.map((e) => e.item_key), n = t.every((e) => v.has(e)), r = new Set(v);+ for (let e of t) n ? r.delete(e) : r.add(e);+ y(r);+ },+ children: e.rows.every((e) => v.has(e.item_key)) ? "清空本组" : "全选本组"+ })]+ }) : null, /* @__PURE__ */ (0, D.jsx)("div", {+ className: "review-grid gap-5",+ children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(mP, {+ category: u,+ row: e,+ choice: ce(e),+ onChoice: (t) => x((n) => new Map(n).set(e.item_key, t)),+ selected: v.has(e.item_key),+ onSelect: (t, n) => y((r) => {+ let i = new Set(r);+ return O.current = MN(i, ae, O.current, e.item_key, t, n), i;+ }),+ locked: ee,+ busy: fe.isPending && fe.variables?.row.item_key === e.item_key,+ problem: S.get(e.item_key) || "",+ genreTags: ve,+ onDecide: (t) => {+ fe.isPending || pe.isPending || (C((t) => new Map([...t].filter(([t]) => t !== e.item_key))), fe.mutate({+ row: e,+ status: t+ }));+ },+ handlers: ye+ }, e.item_key))+ })]+ }, e.key)) : /* @__PURE__ */ (0, D.jsx)(Dw, {+ icon: pte,+ title: "暂无候选",+ children: "该分类当前没有待人工复核的项目。"+ }),+ /* @__PURE__ */ (0, D.jsx)(gP, {+ page: ie.page,+ pages: ie.pages,+ onPage: _+ })+ ]+ })]+ })+ ]+ }) });}-var cy = class extends iy {- constructor(e, t, n) {- let r = /* @__PURE__ */ new Set(), i = null, a = [];- if (n?.showSelectionCheckboxes) {- let e = {- type: "column",- key: ay,- value: null,- textValue: "",- level: 0,- index: +!!n?.showDragButtons,- hasChildNodes: !1,- rendered: null,- childNodes: [],- props: { isSelectionCell: !0 }- };- a.unshift(e);+//#endregion+//#region src/react/scraping/scraping.ts+var vP = "/api/scraping", yP = "/api/scraping/settings", bP = "/api/scraping/check", xP = "/api/scraping/cover", SP = "/api/scraping/amane-bridge", CP = "/api/scraping/amane-bridge/check", wP = "/api/scraping/amane-bridge/rebuild", TP = ["scraping"], EP = ["scraping", "cover"], DP = ["scraping", "amane-bridge"], OP = (e) => ww(vP, e), kP = (e) => ww(xP, e), AP = (e) => ww(SP, e);+async function jP(e) {+ await Promise.all([+ Mw.fetchQuery({+ queryKey: TP,+ queryFn: () => OP(e)+ }),+ Mw.fetchQuery({+ queryKey: EP,+ queryFn: () => kP(e)+ }),+ Mw.fetchQuery({+ queryKey: DP,+ queryFn: () => AP(e)+ })+ ]);+}+function MP(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 NP = [["peach", "Peach 代理"], ["direct", "直接连接"]], PP = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function FP({ source: e }) {+ return /* @__PURE__ */ (0, D.jsx)("img", {+ src: a({ source: e }),+ alt: "",+ width: 16,+ height: 16,+ loading: "lazy",+ onError: (e) => e.currentTarget.remove(),+ className: "size-4 shrink-0 rounded-sm object-contain"+ });+}+function IP({ source: e, toast: t }) {+ let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(PP[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);+ function h() {+ a(""), s(""), d(""), p(""), m.current && (m.current.value = "");+ }+ let g = pt({+ mutationFn: (t) => Tw(yP, {+ source: e.source,+ network: n,+ cookie: i,+ cookies_text: o,+ revoke: t+ }),+ onSuccess: (e, n) => {+ Mw.setQueryData(TP, (t) => t && {+ ...t,+ sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)+ }), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- if (n?.showDragButtons) {- let e = {- type: "column",- key: oy,- value: null,- textValue: "",- level: 0,- index: 0,- hasChildNodes: !1,- rendered: null,- childNodes: [],- props: { isDragButtonCell: !0 }- };- a.unshift(e);+ }), _ = pt({ mutationFn: () => Tw(bP, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ e.preventDefault(), !v && (_.reset(), g.mutate(!1));+ }, b = () => {+ v || (_.reset(), g.mutate(!0));+ }, x = () => {+ v || (g.reset(), _.mutate());+ };+ async function S(e) {+ let t = e.currentTarget, n = t.files?.[0];+ if (s(""), p(""), !n) {+ d("");+ return;}- let o = [], s = /* @__PURE__ */ new Map(), c = (e) => {- switch (e.type) {- case "body":- i = e;- break;- case "column":- s.set(e.key, e), e.hasChildNodes || (a.push(e), e.props.isRowHeader && r.add(e.key));- break;- case "item":- o.push(e);- return;- }- for (let t of e.childNodes) c(t);- };- for (let t of e) c(t);- let l = sy(s, a);- if (l.forEach((e, t) => o.splice(t, 0, e)), super({- columnCount: a.length,- items: o,- visitNode: (e) => (e.column = a[e.index], e)- }), this._size = 0, this.columns = a, this.rowHeaderColumnKeys = r, this.body = i, this.headerRows = l, this._size = [...i.childNodes].length, this.rowHeaderColumnKeys.size === 0) {- let e = this.columns.find((e) => !e.props?.isDragButtonCell && !e.props?.isSelectionCell);- e && this.rowHeaderColumnKeys.add(e.key);+ if (n.size > 262144) {+ t.value = "", d(""), p("Cookie 文本超过 256 KiB");+ return;}- }- *[Symbol.iterator]() {- yield* this.body.childNodes;- }- get size() {- return this._size;- }- getKeys() {- return this.keyMap.keys();- }- getKeyBefore(e) {- return this.keyMap.get(e)?.prevKey ?? null;- }- getKeyAfter(e) {- return this.keyMap.get(e)?.nextKey ?? null;- }- getFirstKey() {- return bc(this.body.childNodes)?.key ?? null;- }- getLastKey() {- return Sc(this.body.childNodes)?.key ?? null;- }- getItem(e) {- return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;- }- at(e) {- let t = [...this.getKeys()];- return this.getItem(t[e]);- }- getChildren(e) {- if (e === this.body.key) return this.body.childNodes;- let t = this.getItem(e);- return t?.type === "item" ? [...t.childNodes].filter((e) => e.type === "cell") : super.getChildren(e);- }- getTextValue(e) {- let t = this.getItem(e);- if (!t) return "";- if (t.textValue) return t.textValue;- let n = this.rowHeaderColumnKeys;- if (n) {- let e = [];- for (let r of t.childNodes) {- let t = this.columns[r.index];- if (n.has(t.key) && r.textValue && e.push(r.textValue), e.length === n.size) break;- }- return e.join(" ");+ try {+ let e = await n.text();+ s(e), d(n.name);+ } catch {+ p("Cookie 文件未读取,请重新选择");}- return "";}-};-//#endregion-//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function ly(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || B_(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;- r.setFocusedKey = (e, r) => {- if (n === "cell" && e != null) {- let n = t.getItem(e);- if (n?.type === "item") {- let i = yc(n, t);- e = r === "last" ? Sc(i)?.key ?? null : bc(i)?.key ?? null;- }+ 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, D.jsxs)(mA, {+ title: e.label,+ onSubmit: y,+ aside: /* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 items-center gap-1",+ children: [/* @__PURE__ */ (0, D.jsx)(FP, { source: e.source }), /* @__PURE__ */ (0, D.jsx)(xA, {+ href: e.login,+ children: e.login+ })]+ }),+ children: [+ /* @__PURE__ */ (0, D.jsx)(hA, { children: /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "连接方式",+ children: /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "连接方式",+ selectedKey: n,+ onSelectionChange: (e) => {+ e !== null && r(String(e));+ },+ children: NP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: t+ }, e))+ })+ }) }),+ T ? /* @__PURE__ */ (0, D.jsxs)(gA, {+ divided: !0,+ children: [+ n === "peach" ? /* @__PURE__ */ (0, D.jsx)("span", {+ className: "self-start",+ children: /* @__PURE__ */ (0, D.jsx)(pA, {+ href: "/configuration#peachProxy",+ size: "small",+ trailingIcon: yS,+ children: "配置 Peach 代理"+ })+ }) : null,+ e.browser ? /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: "人机验证由本机浏览器自动完成;需要点击时窗口会弹出。这台机器上不需要 Cookie。"+ }) : null,+ e.accepts_cookie && !e.browser ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"+ }),+ /* @__PURE__ */ (0, D.jsx)(uD, {+ "aria-label": "提供 Cookie 的方式(二选一)",+ value: c,+ onChange: (e) => {+ l(e), h();+ },+ className: Xk,+ children: PP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(dD, {+ value: e,+ className: Zk,+ children: t+ }, e))+ }),+ c === "paste" ? /* @__PURE__ */ (0, D.jsx)(WO, {+ type: "password",+ label: "Cookie",+ autoComplete: "off",+ value: i,+ onChange: a+ }) : /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(bA, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-center gap-3",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: () => m.current?.click(),+ children: "选择文件"+ }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: "min-w-0 text-body-2-regular break-all text-text-secondary",+ children: u || "未选择文件"+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)("input", {+ ref: m,+ type: "file",+ accept: ".txt",+ tabIndex: -1,+ "aria-hidden": !0,+ className: "hidden",+ onChange: (e) => {+ S(e);+ }+ })+ ]+ })+ ] }) : null,+ C ? /* @__PURE__ */ (0, D.jsx)(yA, { children: C }) : null,+ w.map((t) => /* @__PURE__ */ (0, D.jsx)(q, {+ tone: t.ok ? "success" : "error",+ children: MP(t, e.label)+ }, t.label))+ ]+ }) : null,+ /* @__PURE__ */ (0, D.jsxs)(_A, { children: [+ e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: b,+ ...J(v),+ children: "撤销 Cookie"+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: x,+ ...J(v),+ children: "检查连接"+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ ...J(v),+ children: "保存"+ })+ ] })+ ]+ });+}+function LP({ toast: e }) {+ let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = cA({+ queryKey: EP,+ queryFn: ({ signal: e }) => kP(e),+ start: () => Tw(xP, { code: t }),+ onFinish: (t) => {+ t.status === "complete" && e(t.result || "封面采集完成");}- a(e, r);- };- let o = (0, E.useMemo)(() => new H_(t, r), [t, r]), s = (0, E.useRef)(null);- return (0, E.useEffect)(() => {- if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {- let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;- if (!n) {- r.setFocusedKey(null);- return;- }- let i = s.current.rows, a = t.rows, c = i.length - a.length, l = Math.min(c > 1 ? Math.max(n.index - c + 1, 0) : n.index, a.length - 1), u = null;- for (let e = Math.max(0, l); e < a.length; e++) if (!o.isDisabled(a[e].key) && a[e].type !== "headerrow") {- u = a[e];- break;- }- if (u === null) {- for (let e = l - 1; e >= 0; e--) if (!o.isDisabled(a[e].key) && a[e].type !== "headerrow") {- u = a[e];- break;- }- }- if (u) {- let i = u.hasChildNodes ? [...yc(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;- r.setFocusedKey(a);- } else r.setFocusedKey(null);+ }), 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, D.jsx)(mA, {+ title: "高清封面",+ onSubmit: o,+ children: /* @__PURE__ */ (0, D.jsxs)(gA, { children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-wrap items-end gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, D.jsx)(WO, {+ "aria-label": "馆藏番号",+ isRequired: !0,+ isDisabled: r,+ value: t,+ onChange: n,+ placeholder: "输入馆藏番号,如 ABW-232"+ })+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ disabled: !t.trim(),+ ...J(r || a.isPending),+ children: "抓取封面"+ })]+ }),+ r ? /* @__PURE__ */ (0, D.jsx)(Ow, { label: "正在抓取封面" }) : null,+ s ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: s+ }) : null,+ i?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "success",+ children: i.result || "封面采集完成"+ }) : null+ ] })+ });+}+function RP({ toast: e }) {+ let { query: t, running: n, outcome: r, start: i } = cA({+ queryKey: DP,+ queryFn: ({ signal: e }) => AP(e),+ start: () => Tw(wP, {}),+ jobOf: (e) => e.job,+ withJob: (e, t) => e && {+ ...e,+ job: t+ },+ onFinish: (t) => {+ t.status === "complete" && e(t.result || "amane 桥已重建");}- s.current = t;- }, [- t,- o,- r,- r.focusedKey- ]), {- collection: t,- disabledKeys: i,- isKeyboardNavigationDisabled: !1,- selectionManager: o- };+ }), a = pt({ mutationFn: () => Tw(CP, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(mA, {+ title: "amane 桥",+ children: /* @__PURE__ */ (0, D.jsx)(gA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ 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, D.jsxs)(mA, {+ title: "amane 桥",+ aside: /* @__PURE__ */ (0, D.jsx)(xA, {+ href: o.repository,+ children: o.repository+ }),+ children: [+ /* @__PURE__ */ (0, D.jsxs)(SA, { children: [+ /* @__PURE__ */ (0, D.jsxs)(CA, {+ term: "钉住的版本",+ children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "上游最新版本",+ children: a.data?.latest ?? "尚未检查"+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "运行环境",+ children: o.installed ? "已安装" : "未安装"+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "开放的站",+ children: o.sites.map((e) => e.label).join("、")+ })+ ] }),+ /* @__PURE__ */ (0, D.jsxs)(gA, {+ divided: !0,+ children: [+ /* @__PURE__ */ (0, D.jsxs)(vA, { children: [+ "这几站由 amane(",+ o.license,+ ")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"+ ] }),+ n ? /* @__PURE__ */ (0, D.jsx)(Ow, { label: "正在重建运行环境" }) : null,+ c ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ children: c+ }) : null,+ r?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "success",+ children: r.result || "amane 桥已重建"+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, D.jsxs)(_A, { children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: () => {+ s || a.mutate();+ },+ ...J(a.isPending),+ children: "检查上游版本"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: () => {+ s || i.mutate();+ },+ ...J(n || i.isPending),+ children: o.installed ? "重新安装" : "安装"+ })] })+ ]+ });+}+function zP({ toast: e }) {+ let t = ft({+ queryKey: TP,+ queryFn: ({ signal: e }) => OP(e)+ }), n = t.data;+ return n ? /* @__PURE__ */ (0, D.jsxs)(kw, { children: [+ /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: "高清图片可能要经代理才能下载,先检查连接。"+ }),+ /* @__PURE__ */ (0, D.jsx)(LP, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(IP, {+ source: t,+ toast: e+ }, t.source)),+ /* @__PURE__ */ (0, D.jsx)(RP, { toast: e })+ ] }) : /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "读取失败",+ children: t.error ? K(t.error) : "读取采集来源失败"+ }) });}//#endregion-//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var uy = {- ascending: "descending",- descending: "ascending"-};-function dy(e) {- let [t, n] = (0, E.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, E.useMemo)(() => ({- showSelectionCheckboxes: i && r !== "none",- showDragButtons: a,- selectionMode: r,- columns: []- }), [- e.children,- i,- r,- a- ]), c = q_(e, (0, E.useCallback)((e) => new cy(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = ly({- ...e,- collection: c,- disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = ts(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);- return {- collection: c,- disabledKeys: l,- selectionManager: u,- showSelectionCheckboxes: e.showSelectionCheckboxes || !1,- sortDescriptor: e.sortDescriptor ?? null,- isKeyboardNavigationDisabled: c.size === 0 || t,- setKeyboardNavigationDisabled: n,- sort(t, n) {- e.onSortChange?.({- column: t,- direction: n ?? (e.sortDescriptor?.column === t ? uy[e.sortDescriptor.direction] : "ascending")- });- },- expandedKeys: d,- toggleKey(e) {- f((t) => {- let n = new Set(t);- return n.has(e) ? n.delete(e) : n.add(e), n;+//#region src/configuration-endpoints.ts+var BP = "/api/configuration", VP = "/api/pick-folder", HP = ["configuration"], UP = (e) => ww(BP, e);+async function WP(e) {+ await Mw.fetchQuery({+ queryKey: HP,+ queryFn: () => UP(e)+ });+}+//#endregion+//#region src/react/settings/entry-links-settings.tsx+function GP({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.sites), i = jw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+ ...n,+ host: t+ } : n));+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "外部入口",+ onSubmit: (e) => {+ e.preventDefault();+ let a = { sites: Object.fromEntries(n.map((e) => [e.key, { host: e.host }])) };+ i.run("save", (e) => Tw("/api/configuration/entry-links", a, "POST", e), (e) => {+ r(e.sites), t("已保存配置");});},- treeColumn: o- };+ children: [/* @__PURE__ */ (0, D.jsxs)(gA, { children: [+ /* @__PURE__ */ (0, D.jsx)(vA, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),+ n.map((e) => /* @__PURE__ */ (0, D.jsx)(WO, {+ id: `entry-link-${e.key}`,+ label: `${e.label} 地址`,+ autoComplete: "off",+ maxLength: 100,+ value: e.host,+ placeholder: e.default_host,+ onChange: (t) => a(e.key, t),+ validationBehavior: "aria",+ hint: "只写域名本身,留空就是默认"+ }, e.key)),+ i.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsx)(_A, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ ...J(i.busy === "save"),+ children: "保存配置"+ }) })]+ });}-function fy(e, t) {- let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return {- ...e,- collection: n,- selectionManager: r- };+//#endregion+//#region src/react/settings/general-settings.tsx+function KP({ data: e, receipt: t }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-6",+ children: [e.startup ? /* @__PURE__ */ (0, D.jsx)(qP, {+ startup: e.startup,+ receipt: t+ }) : null, e.entry_links ? /* @__PURE__ */ (0, D.jsx)(GP, {+ initial: e.entry_links,+ receipt: t+ }) : null]+ });+}+function qP({ startup: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = jw(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "开机自启",+ onSubmit: (r) => {+ r.preventDefault(), e.available && c.run("save", (e) => Tw("/api/configuration/startup", {+ enabled: n,+ silent: i,+ desktop: o+ }, "POST", e), () => t("已保存配置"));+ },+ children: [+ /* @__PURE__ */ (0, D.jsxs)(hA, { children: [+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "开机后启动 Peach",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "开机后启动 Peach",+ isSelected: n,+ isDisabled: !e.available,+ onChange: r+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "静默启动",+ description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "静默启动",+ isSelected: i,+ isDisabled: !e.available || !n,+ onChange: a+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "在桌面创建快捷方式",+ description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "在桌面创建快捷方式",+ isSelected: o,+ isDisabled: !l,+ onChange: s+ })+ })+ ] }),+ e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(gA, {+ divided: !0,+ children: [e.message ? /* @__PURE__ */ (0, D.jsx)(vA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: c.error }) : null]+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(_A, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ disabled: !e.available,+ ...J(c.busy === "save"),+ children: "保存配置"+ }) })+ ]+ });}//#endregion-//#region node_modules/react-aria-components/dist/private/Table.mjs-var py = class extends Dt {- withExpandedKeys(e) {- let t = this.clone();- return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;- }- addNode(e) {- super.addNode(e), this.columnsDirty ||= e.type === "column", e.type === "tableheader" && (this.head = e);- }- getRows() {- let e = [];- for (let t of this) (t.type === "tablebody" || t.type === "tablefooter") && e.push(...this.getChildren(t.key));- return e;- }- get body() {- for (let e of this) if (e.type === "tablebody") return e;- return new My(-2);- }- commit(e, t, n = !1) {- this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];- for (let e of this.getRows()) {- let t = e.lastChildKey;- if (t != null) {- let e = this.getItem(t);- for (; e && e.type !== "cell";) e = e.prevKey == null ? null : this.getItem(e.prevKey);- if (e) {- let t = (e.colIndex ?? e.index) + (e.colSpan ?? 1);- if (t !== this.columns.length && !n) throw Error(`Cell count must match column count. Found ${t} cells and ${this.columns.length} columns.`);- }+//#region src/react/settings/release-updates.tsx+var JP = /* @__PURE__ */ new Set([+ "downloading",+ "verifying",+ "extracting",+ "preparing",+ "restarting",+ "installing"+]), YP = [+ 65,+ 67,+ 90+], XP = 120;+function ZP({ initial: e, initialJob: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(t || {+ state: "idle",+ progress: 0+ }), [o, s] = (0, E.useState)(""), l = jw(), u = (0, E.useRef)(!1), d = (0, E.useRef)(!0), f = JP.has(i.state);+ (0, E.useEffect)(() => (d.current = !0, () => {+ d.current = !1;+ }), []);+ let p = async () => {+ let e = await Tw("/api/configuration/update-restart", {});+ d.current && a(e);+ }, m = () => void c({+ title: "更新已准备好",+ body: `Peach ${i.version || ""} 将在重启后安装。`,+ confirmLabel: "立即重启",+ cancelLabel: "稍后",+ onConfirm: p+ });+ (0, E.useEffect)(() => {+ i.state !== "ready" || u.current || (u.current = !0, m());+ }, [i.state]), (0, E.useEffect)(() => {+ let e = new AbortController(), t = JP.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ try {+ let t = await ww("/api/configuration/update-status", e.signal);+ if (e.signal.aborted) return;+ a(t), o = 0, t.state === "complete" && r((e) => ({+ ...e,+ current_version: t.version || e.current_version,+ state: "current",+ message: "已是最新测试版。"+ }));+ let n = await ww("/api/configuration/automatic-updates", e.signal);+ !e.signal.aborted && n.result && r(n.result);+ } catch {+ o += 1, o >= XP && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- this.rows.push(e);- }- super.commit(e, t, n);- }- updateColumns(e) {- if (!this.columnsDirty) return;- this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.columns = [];- let t = /* @__PURE__ */ new Map(), n = (e) => {- e.type === "column" && (t.set(e.key, e), e.hasChildNodes || (e.index = this.columns.length, this.columns.push(e), e.props.isRowHeader && this.rowHeaderColumnKeys.add(e.key)));- for (let t of this.getChildren(e.key)) n(t);+ !e.signal.aborted && o < XP && (n = setTimeout(c, t));};- for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = sy(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");- }- get columnCount() {- return this.columns.length;- }- *[Symbol.iterator]() {- let e = this.firstKey;- for (; e != null;) {- let t = this.getItem(e);- t && (yield t), e = t?.nextKey ?? null;- }- }- getFirstKey() {- for (let e of this) if (e.type === "tablebody") return e.firstChildKey ?? null;- return null;- }- getLastKey() {- let e = this.lastKey;- if (e == null) return null;- let t = this.getItem(e);- for (; t?.lastChildKey != null && (t.type !== "item" || this.expandedKeys.has(t.key));) t = this.getItem(t.lastChildKey);- return t?.key;- }- getKeyAfter(e) {- let t = this.getItem(e);- if (t?.type === "column") return t.nextKey ?? null;- if (!t) return null;- if (t.type === "item" && t.firstChildKey != null && this.expandedKeys.has(t.key)) {- let e = this.getItem(t.firstChildKey);- for (; e;) {- if (e.type === "item") return e.key;- e = e.nextKey == null ? null : this.getItem(e.nextKey);- }- }- return super.getKeyAfter(e);- }- getKeyBefore(e) {- let t = this.getItem(e);- if (t?.type === "column") return t.prevKey ?? null;- if (!t) return null;- let n = null;- if (t.prevKey != null) {- for (t = this.getItem(t.prevKey); t && (t.type !== "item" || this.expandedKeys.has(t.key)) && t.lastChildKey != null;) t = this.getItem(t.lastChildKey);- n = t?.key ?? null;- }- return n ??= t.parentKey, n != null && this.getItem(n)?.type === "tableheader" ? null : n;- }- getChildren(e) {- let t = this.getItem(e);- if (!t) {- for (let t of this.headerRows) if (t.key === e) return t.childNodes;- }- let n = this;- return t?.type === "tablebody" || t?.type === "tablefooter" ? { *[Symbol.iterator]() {- let e = t.firstChildKey, r = e == null ? null : n.getItem(e);- for (; r;) {- yield r;- let e = n.getKeyAfter(r.key);- if (r = e == null ? null : n.getItem(e), r && r.parentKey === t.parentKey) break;- }- } } : { *[Symbol.iterator]() {- let t = n.getItem(e), r = t?.firstChildKey == null ? null : n.getItem(t.firstChildKey);- for (; r && (yield r, r = r.nextKey == null ? null : n.getItem(r.nextKey), t?.type !== "item" || r?.type === "cell"););- } };- }- clone() {- let e = super.clone();- return e.headerRows = this.headerRows, e.columns = this.columns, e.rows = this.rows, e.rowHeaderColumnKeys = this.rowHeaderColumnKeys, e.head = this.head, e;- }- getTextValue(e) {- let t = this.getItem(e);- if (!t) return "";- if (t.textValue) return t.textValue;- let n = this.rowHeaderColumnKeys, r = [];- for (let t of this.getChildren(e)) {- let e = this.columns[t.index];- if (n.has(e.key) && t.textValue && r.push(t.textValue), r.length === n.size) break;- }- return r.join(" ");- }- constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Cy(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();- }-}, my = /*#__PURE__*/ (0, E.createContext)(null), hy = /*#__PURE__*/ (0, E.createContext)(null), gy = /*#__PURE__*/ (0, E.createContext)(null), _y = /*#__PURE__*/ (0, E.createContext)(null), vy = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, hy);- let n = B_(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({- selectionBehavior: i === "none" ? null : r,- selectionMode: i,- disallowEmptySelection: a,- allowsDragging: o- }), [- r,- i,- a,- o- ]), c = /*#__PURE__*/ E.createElement(Sy.Provider, { value: s }, /*#__PURE__*/ E.createElement(Ti, e));- return /*#__PURE__*/ E.createElement(pi, {- content: c,- createCollection: () => new py()- }, (r) => /*#__PURE__*/ E.createElement(xy, {- props: e,- forwardedRef: t,- selectionState: n,- collection: r- }));-}), yy = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.table, {- ...e,- ref: t+ return n = setTimeout(c, t), () => {+ e.abort(), clearTimeout(n);+ };+ }, [i.state]);+ let h = () => {+ f || (u.current = !1, s(""), l.run("download", (e) => Tw("/api/configuration/update", {}, "POST", e), a));+ }, g = () => void l.run("check", (e) => ww("/api/configuration/updates", e), r, (t) => {+ r({+ ...e,+ state: "error"+ }), l.setError(K(t));+ }), _ = l.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, D.jsxs)(mA, {+ title: "检查更新",+ children: [+ /* @__PURE__ */ (0, D.jsxs)(SA, { children: [+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "当前版本",+ children: n.current_version+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "安装方式",+ children: n.installation+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "更新通道",+ children: n.channel+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "最新版本",+ children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")+ })+ ] }),+ /* @__PURE__ */ (0, D.jsxs)(gA, {+ divided: !0,+ children: [+ n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(vA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.state === "available" && !_ ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "info",+ title: "有可用更新",+ children: n.message+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(yA, { children: _ || n.message }) : /* @__PURE__ */ (0, D.jsx)(vA, {+ role: "status",+ children: n.message+ }),+ i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(yA, { children: i.message }) : null,+ i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, D.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(Aw, {+ label: "更新准备进度",+ value: i.progress,+ stops: YP+ }),+ /* @__PURE__ */ (0, D.jsxs)(vA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, D.jsx)(vA, { children: v })+ ]+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, D.jsxs)(_A, {+ status: /* @__PURE__ */ (0, D.jsx)(xA, {+ href: n.release_url,+ children: "查看发布页"+ }),+ children: [+ i.state === "ready" ? /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: m,+ children: "重启安装"+ }) : null,+ n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: h,+ ...J(f || l.busy === "download"),+ children: "下载并安装"+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(G, {+ disabled: f,+ onClick: g,+ ...J(l.busy === "check"),+ children: "检查更新"+ })+ ]+ })+ ]+ });+}+//#endregion+//#region src/react/settings/maintenance-settings.tsx+var QP = [+ ["6", "每 6 小时"],+ ["24", "每天"],+ ["168", "每周"]+];+function $P({ data: e, receipt: t, reopenTutorial: n }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-6",+ children: [+ e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(tF, {+ initial: e.automatic_updates,+ receipt: t+ }) : null,+ e.updates ? /* @__PURE__ */ (0, D.jsx)(ZP, {+ initial: e.updates,+ initialJob: e.update_job+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(nF, { facts: e.facts }),+ /* @__PURE__ */ (0, D.jsx)(eF, {+ receipt: t,+ reopenTutorial: n+ }),+ e.uninstall ? /* @__PURE__ */ (0, D.jsx)(rF, {+ uninstall: e.uninstall,+ receipt: t+ }) : null+ ]});-}), by = {- expand: {- ltr: "ArrowRight",- rtl: "ArrowLeft"- },- collapse: {- ltr: "ArrowLeft",- rtl: "ArrowRight"- }-};-function xy({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = sg(e, t, fg);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(my);- t = Xr((0, E.useMemo)(() => jr(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = ts(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);- r = (0, E.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = dy({- ...s,- collection: r,- children: void 0,- UNSAFE_selectionState: n,- expandedKeys: l,- onExpandedChange: u- }), f = fy(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)(vg), { dragAndDropHooks: _ } = e, { gridProps: v } = pf({- ...s,- layoutDelegate: m,- isVirtualized: p- }, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;- (0, E.useRef)(b), (0, E.useRef)(x), (0, E.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Xi(), [A] = (0, E.useState)(() => new ry());- if (b && _) {- S = _.useDraggableCollectionState({- collection: f.collection,- selectionManager: y,- preview: _.renderDragPreview ? O : void 0- }), _.useDraggableCollection({}, S, t);- let e = _.DragPreview;- D = _.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: O }, _.renderDragPreview) : null;- }- if (x && _) {- C = _.useDroppableCollectionState({- collection: f.collection,- selectionManager: y- });- let e = new ws({- collection: f.collection,- disabledKeys: y.disabledKeys,- disabledBehavior: y.disabledBehavior,- ref: t,- layoutDelegate: m- }), n = _.dropTargetDelegate || h || new _.ListDropTargetDelegate(r.rows, t);- A.setup(n, d, k), w = _.useDroppableCollection({- keyboardDelegate: e,- dropTargetDelegate: A,- onDropActivate: (e) => {- if (e.target.type === "item") {- let t = e.target.key, n = d.collection.getItem(t), r = l.has(t);- n && n.hasChildNodes && (!r || _?.isVirtualDragging?.()) && d.toggleKey(t);- }- },- onKeyDown: (e) => {- let t = C?.target;- if (t && t.type === "item" && t.dropPosition === "on") {- let n = d.collection.getItem(t.key);- (e.key === by.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === by.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);- }- }- }, C, t), T = C.isDropTarget({ type: "root" });- }- let { focusProps: j, isFocused: M, isFocusVisible: ee } = Lc(), te = ag({- ...e,- children: void 0,- defaultClassName: "react-aria-Table",- values: {- isDropTarget: T,- isFocused: M,- isFocusVisible: ee,- state: f+}+function eF({ receipt: e, reopenTutorial: t }) {+ let n = jw();+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "安装教程",+ children: [/* @__PURE__ */ (0, D.jsxs)(gA, { children: [/* @__PURE__ */ (0, D.jsx)(vA, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: n.error }) : null] }), /* @__PURE__ */ (0, D.jsx)(_A, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),+ ...J(n.busy === "reopen"),+ children: "重新打开教程"+ }) })]+ });+}+function tF({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = jw(e.error), s = (r) => {+ r.preventDefault(), e.available && o.run("save", (e) => Tw("/api/configuration/automatic-updates", {+ mode: n,+ interval_hours: i+ }, "POST", e), () => t("已保存配置"));+ }, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "自动更新",+ onSubmit: s,+ children: [+ /* @__PURE__ */ (0, D.jsxs)(hA, { children: [+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "自动检查新版本",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "自动检查新版本",+ isSelected: n !== "off",+ isDisabled: !e.available,+ onChange: (e) => r(e ? "check" : "off")+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "自动下载更新",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "自动下载更新",+ isSelected: n === "download",+ isDisabled: !e.available || !e.download_available || n === "off",+ onChange: (e) => r(e ? "download" : "check")+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "检查频率",+ description: c,+ children: /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "检查频率",+ selectedKey: String(i),+ isDisabled: !e.available,+ onSelectionChange: (e) => {+ e !== null && a(Number(e));+ },+ children: QP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: t+ }, e))+ })+ })+ ] }),+ o.error ? /* @__PURE__ */ (0, D.jsx)(gA, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsx)(yA, { children: o.error })+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(_A, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ disabled: !e.available,+ ...J(o.busy === "save"),+ children: "保存配置"+ }) })+ ]+ });+}+function nF({ facts: e }) {+ return /* @__PURE__ */ (0, D.jsx)(mA, {+ title: "运行信息",+ children: /* @__PURE__ */ (0, D.jsx)(SA, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(CA, {+ term: e.term,+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(xA, {+ href: e.download_url,+ children: e.download_label+ }) : null]+ }, e.term)) })+ });+}+function rF({ uninstall: e, receipt: t }) {+ let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = () => void c({+ title: "卸载 Peach",+ danger: !0,+ body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",+ confirmLabel: "卸载 Peach",+ onConfirm: async () => {+ let e = await Tw("/api/configuration/uninstall", {+ delete_data: n,+ confirmation: "卸载 Peach"+ });+ a(e.message);}- }), N = !!(b && !S?.isDisabled), P = te.style, ne = null;- c && (ne = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (P = {- ...P,- tableLayout: "fixed",- width: "min-content"- }));- let re = V(e, { global: !0 });- return /*#__PURE__*/ E.createElement(ig, { values: [- [gy, f],- [_y, ne],- [E_, {- dragAndDropHooks: _,- dragState: S,- dropState: C- }],- [D_, { render: Hy }],- [fg, null],- [pg, null]- ] }, /*#__PURE__*/ E.createElement(Ka, null, /*#__PURE__*/ E.createElement(yy, {- ...B(re, te, v, j, w?.collectionProps),- style: P,- ref: t,- slot: e.slot || void 0,- onScroll: e.onScroll,- "data-allows-dragging": N || void 0,- "data-drop-target": T || void 0,- "data-focused": M || void 0,- "data-focus-visible": ee || void 0- }, /*#__PURE__*/ E.createElement(N_, null, /*#__PURE__*/ E.createElement(g, {- collection: f.collection,- scrollRef: c?.scrollRef ?? t,- persistedKeys: A_(y, _, C)- })))), D);+ }), s = i || e.message, l = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ id: "uninstallPeach",+ title: "卸载 Peach",+ children: [/* @__PURE__ */ (0, D.jsxs)(gA, { children: [+ e.available ? /* @__PURE__ */ (0, D.jsx)(vA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,+ /* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: n,+ isDisabled: !e.full_available || !!i,+ onChange: r,+ children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"+ }),+ /* @__PURE__ */ (0, D.jsx)(wA, {+ summary: "数据目录",+ children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(IA, {+ path: e,+ className: "text-body-2-regular text-text-secondary",+ onRevealed: t+ }, e))+ })+ ] }), /* @__PURE__ */ (0, D.jsx)(_A, {+ status: s ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: i ? "status" : void 0,+ children: s+ }) : null,+ children: /* @__PURE__ */ (0, D.jsx)(G, {+ variant: "danger",+ disabled: !e.available || !!i,+ onClick: o,+ children: "卸载 Peach"+ })+ })]+ });}-var Sy = /*#__PURE__*/ (0, E.createContext)(null), Cy = class extends Ct {- static {- this.type = "tableheader";+//#endregion+//#region src/react/settings/clouddrive-guide.tsx+var iF = [+ {+ name: "机械硬盘,或内存 8 GB 以内",+ cache: "10–20 GiB",+ read: "256 / 128 KB",+ task: "1 个"+ },+ {+ name: "SATA SSD,内存 8–16 GB",+ cache: "20–50 GiB",+ read: "256 / 128 KB",+ task: "1–2 个"+ },+ {+ name: "NVMe SSD,内存 16 GB 以上",+ cache: "50–100 GiB",+ read: "256 / 128 KB",+ task: "2 个起步"}-}, wy = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.thead, {- ...e,- ref: t- });-}), Ty = /*#__PURE__*/ Si(Cy, (e, t) => {- let n = (0, E.useContext)(gy).collection, r = Mt({- items: n.headerRows,- children: (0, E.useCallback)((e) => {- switch (e.type) {- case "headerrow": return /*#__PURE__*/ E.createElement(Dy, { item: e });- default: throw Error("Unsupported node type in TableHeader: " + e.type);- }- }, [])- }), { rowGroupProps: i } = Ef(), { hoverProps: a, isHovered: o } = Wc({- onHoverStart: e.onHoverStart,- onHoverChange: e.onHoverChange,- onHoverEnd: e.onHoverEnd- }), s = ag({- ...e,- children: void 0,- defaultClassName: "react-aria-TableHeader",- values: { isHovered: o }+], aF = [+ ["cache", "缓存上限"],+ ["read", "读取长度(默认 / 最小)"],+ ["task", "同时处理视频"]+];+function oF() {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "@container flex flex-col gap-3",+ children: [/* @__PURE__ */ (0, D.jsxs)(vA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, D.jsx)(xA, {+ href: "https://www.clouddrive2.com/help.html",+ children: "挂载帮助"+ })] }), /* @__PURE__ */ (0, D.jsxs)(wA, {+ summary: "CloudDrive 缓存建议",+ children: [+ /* @__PURE__ */ (0, D.jsx)(vA, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),+ /* @__PURE__ */ (0, D.jsx)("ul", {+ "aria-label": "按缓存所在硬盘分档",+ className: "flex flex-col gap-2",+ children: iF.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",+ children: [/* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-medium text-text-primary",+ children: e.name+ }), /* @__PURE__ */ (0, D.jsx)("dl", {+ className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",+ children: aF.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col",+ children: [/* @__PURE__ */ (0, D.jsx)("dt", {+ className: "text-caption-1-regular text-text-secondary",+ children: n+ }), /* @__PURE__ */ (0, D.jsx)("dd", {+ className: "text-body-regular text-text-primary",+ children: e[t]+ })]+ }, t))+ })]+ }, e.name))+ }),+ /* @__PURE__ */ (0, D.jsxs)("ul", {+ className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",+ children: [+ /* @__PURE__ */ (0, D.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),+ /* @__PURE__ */ (0, D.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),+ /* @__PURE__ */ (0, D.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })+ ]+ }),+ /* @__PURE__ */ (0, D.jsxs)(vA, { children: [+ "三处缓存的分工、往上调的方法和这些起步值的来源在",+ /* @__PURE__ */ (0, D.jsx)(xA, {+ href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",+ children: "CloudDrive 配置与调优"+ }),+ "。"+ ] })+ ]+ })]});- return /*#__PURE__*/ E.createElement(wy, {- ...B(V(e, { global: !0 }), i, a),- ...s,- ref: t,- "data-hovered": o || void 0- }, r);-}, (e) => /*#__PURE__*/ E.createElement(Ti, {- dependencies: e.dependencies,- items: e.columns-}, e.children)), Ey = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement("div", {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement("tr", {- ...e,- ref: t+}+//#endregion+//#region src/react/settings/library-icon-picker.tsx+var sF = [+ ["", "自动识别"],+ ["hard-drive", "磁盘"],+ ["database", "资料库"],+ ["heart", "心动"],+ ["heart-hand", "亲密"],+ ["flame", "热情"],+ ["cherry", "樱桃"],+ ["lollipop", "甜心"],+ ["candy", "糖果"],+ ["banana", "香蕉"],+ ["droplets", "湿润"],+ ["venus", "女性"],+ ["mars", "男性"],+ ["venus-and-mars", "情侣"],+ ["gem", "精选"],+ ["crown", "女王"],+ ["ribbon", "丝带"],+ ["shirt", "制服"],+ ["graduation-cap", "学生"],+ ["stethoscope", "护士"],+ ["glasses", "眼镜"],+ ["footprints", "足迹"],+ ["hand", "手部"],+ ["flower", "花朵"],+ ["venetian-mask", "角色扮演"],+ ["rabbit", "兔女郎"],+ ["paw-print", "兽耳"],+ ["dumbbell", "健身"],+ ["bed-double", "卧室"],+ ["bath", "浴室"],+ ["key-round", "私密"],+ ["wine", "微醺"],+ ["cigarette", "烟"],+ ["moon", "夜色"],+ ["sparkles", "幻想"],+ ["camera", "写真"],+ ["video", "影片"],+ ["film", "电影"],+ ["image", "图集"],+ ["gamepad-2", "游戏"],+ ["star", "收藏"],+ ["tags", "主题"]+];+function cF(e) {+ let t = e === "local" ? "" : o[e];+ return t ? [t, "自动识别"] : ["hard-drive", "默认"];+}+var lF = "auto";+function uF({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(e), [l, u] = cF(n);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(G, {+ ref: i,+ variant: "secondary",+ className: "self-start",+ "aria-label": t,+ "aria-haspopup": "dialog",+ "aria-expanded": a,+ onClick: () => {+ c(e), o(!0);+ },+ children: /* @__PURE__ */ (0, D.jsxs)("span", {+ "data-icon-choice": !0,+ className: "flex items-center gap-2",+ children: [/* @__PURE__ */ (0, D.jsx)(TA, { mark: e || l }), ((e) => e && sF.find(([t]) => t === e)?.[1] || u)(e)]+ })+ }), /* @__PURE__ */ (0, D.jsx)(UE, {+ triggerRef: i,+ isOpen: a,+ onOpenChange: o,+ placement: "bottom start",+ offset: 4,+ className: iA,+ children: /* @__PURE__ */ (0, D.jsxs)(qE, {+ "aria-label": `${t}候选`,+ className: "flex w-72 flex-col gap-3 outline-none",+ children: [+ /* @__PURE__ */ (0, D.jsx)(uT, {+ slot: "title",+ className: "px-1 text-body-medium text-text-primary",+ children: "选择媒体库图标"+ }),+ /* @__PURE__ */ (0, D.jsx)(uD, {+ "aria-label": "候选图标",+ value: s || lF,+ onChange: (e) => c(e === lF ? "" : e),+ className: "inline-grid grid-cols-7 gap-1",+ children: sF.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(dD, {+ value: e || lF,+ "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, D.jsx)(TA, { mark: e || l })+ }, e || lF))+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ variant: "secondary",+ onClick: () => o(!1),+ children: "取消"+ }), /* @__PURE__ */ (0, D.jsx)(G, {+ disabled: s === e,+ onClick: () => {+ r(s), o(!1);+ },+ children: "应用"+ })]+ })+ ]+ })+ })] });+}+//#endregion+//#region src/react/settings/push-discovery-settings.tsx+var dF = "/api/configuration/push-discovery", fF = "/api/configuration/push-discovery/secret";+function pF({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = jw(), l = $O(), u = n.media_roots, [d, f] = (0, E.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, D.jsxs)(mA, {+ title: "推送发现",+ onSubmit: (e) => {+ e.preventDefault();+ let t = {+ enabled: n.enabled,+ watch_local: n.watch_local,+ cloud: n.cloud,+ prefixes: i+ };+ c.run("save", (e) => Tw(dF, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));+ },+ children: [+ /* @__PURE__ */ (0, D.jsxs)(hA, { children: [+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "新文件落地就入库",+ description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "新文件落地就入库",+ isSelected: n.enabled,+ isDisabled: !n.available,+ onChange: (e) => r({+ ...n,+ enabled: e+ })+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "监视本机文件夹",+ description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "监视本机文件夹",+ isSelected: n.watch_local,+ isDisabled: !n.available || !n.enabled,+ onChange: (e) => r({+ ...n,+ watch_local: e+ })+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "接收 CloudDrive2 通知",+ description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",+ children: /* @__PURE__ */ (0, D.jsx)(ck, {+ "aria-label": "接收 CloudDrive2 通知",+ isSelected: n.cloud,+ isDisabled: !n.available || !n.enabled,+ onChange: (e) => r({+ ...n,+ cloud: e+ })+ })+ })+ ] }),+ d.enabled ? /* @__PURE__ */ (0, D.jsx)(gA, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsxs)(SA, { children: [d.watch_local ? /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "本机文件夹监视",+ children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"+ }) : null, /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "已入库",+ children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`+ })] })+ }) : null,+ d.enabled && d.cloud ? /* @__PURE__ */ (0, D.jsx)(gA, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(bA, { children: "CloudDrive2 配置内容" }),+ /* @__PURE__ */ (0, D.jsx)(vA, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),+ d.config_toml ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(G, {+ size: "small",+ onClick: () => {+ navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));+ },+ children: "复制配置"+ }) }), /* @__PURE__ */ (0, D.jsx)(wA, {+ summary: "查看这段配置",+ children: /* @__PURE__ */ (0, D.jsx)("div", {+ className: "relative",+ children: /* @__PURE__ */ (0, D.jsx)("pre", {+ ref: l,+ tabIndex: 0,+ className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",+ children: d.config_toml+ })+ })+ })] }) : /* @__PURE__ */ (0, D.jsx)(vA, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })+ ]+ })+ }) : null,+ n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(gA, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(bA, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, D.jsx)(vA, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ role: "group",+ "aria-label": "云端路径前缀",+ className: "flex flex-col gap-3",+ children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex items-start gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(WO, {+ className: "min-w-0 flex-1",+ "aria-label": `云端路径前缀 ${t + 1}`,+ placeholder: "/115",+ autoComplete: "off",+ maxLength: 200,+ value: e.prefix,+ onChange: (e) => m(t, { prefix: e })+ }),+ /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": `前缀 ${t + 1} 对应的媒体根`,+ selectedKey: e.root,+ onSelectionChange: (e) => {+ e !== null && m(t, { root: String(e) });+ },+ children: u.map((e) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: e+ }, e))+ }),+ /* @__PURE__ */ (0, D.jsx)(RO, {+ icon: CS,+ "aria-label": "移除这一条",+ onClick: () => a((e) => e.filter((e, n) => n !== t))+ })+ ]+ }, t))+ }),+ /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(G, {+ size: "small",+ onClick: () => a((e) => [...e, {+ prefix: "",+ root: u[0] ?? ""+ }]),+ children: "添加前缀"+ }) })+ ]+ })+ }) : null,+ o || c.error ? /* @__PURE__ */ (0, D.jsx)(gA, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsx)(yA, { children: o || c.error })+ }) : null,+ /* @__PURE__ */ (0, D.jsxs)(_A, {+ status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,+ children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: () => {+ c.run("secret", (e) => Tw(fF, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));+ },+ disabled: !n.available,+ ...J(c.busy === "secret"),+ children: "更换密钥"+ }) : null, /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ disabled: !n.available,+ ...J(c.busy === "save"),+ children: "保存配置"+ })]+ })+ ]+ });+}+//#endregion+//#region src/react/settings/media-settings.tsx+var mF = 8e3;+function hF({ className: e }) {+ return /* @__PURE__ */ (0, D.jsx)("svg", {+ "aria-hidden": !0,+ viewBox: "0 0 24 24",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: 2,+ strokeLinecap: "round",+ strokeLinejoin: "round",+ className: e,+ children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-search" })});+}+var gF = [+ ["local", "本地磁盘"],+ ["115", "CloudDrive · 115"],+ ["pikpak", "CloudDrive · PikPak"]+], _F = (e) => gF.find(([t]) => t === e)?.[1] ?? e, vF = (e) => o[e] || "database", yF = (e = "") => ({+ path: e,+ location: "local",+ root: "",+ library: "",+ library_icon: ""});-function Dy({ item: e }) {- let t = (0, E.useRef)(null), n = (0, E.useContext)(gy), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)(vg), { rowProps: a } = yf({- node: e,- isVirtualized: r- }, n, t), { checkboxProps: o } = kf(n);- return /*#__PURE__*/ E.createElement(Ey, {- ...a,- ref: t- }, /*#__PURE__*/ E.createElement(ig, { values: [[Ng, { slots: { selection: o } }], [Pg, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {- collection: n.collection,- parent: e- })));+function bF(e) {+ let t = e.media_sources?.filter((e) => gF.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) => yF(e));}-var Oy = class extends Ct {- static {- this.type = "column";- }-}, ky = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.th, {- ...e,- ref: t+var xF = (e) => !(e instanceof Sw) || e.status !== 400 ? null : e.body?.errors ?? null;+function SF({ data: e, receipt: t }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-6",+ children: [+ e.editable ? /* @__PURE__ */ (0, D.jsx)(CF, {+ data: e,+ receipt: t+ }) : /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "neutral",+ title: "只读",+ children: e.notice+ }),+ /* @__PURE__ */ (0, D.jsx)(TF, { data: e }),+ e.push_discovery ? /* @__PURE__ */ (0, D.jsx)(pF, {+ initial: e.push_discovery,+ receipt: t+ }) : null+ ]});-}), Ay = /*#__PURE__*/ xi(Oy, (e, t, n) => {- let r = Xr(t), i = (0, E.useContext)(gy), { isVirtualized: a } = (0, E.useContext)(vg), { columnHeaderProps: o, isPressed: s } = vf({- node: n,- isVirtualized: a,- focusMode: e.focusMode,- allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Lc(), d = (0, E.useContext)(_y), f = !1;- d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = Wc({ isDisabled: !e.allowsSorting }), h = ag({- ...e,- id: void 0,- children: n.rendered,- defaultClassName: "react-aria-Column",- values: {- isHovered: m,- isPressed: s,- isFocused: c,- isFocusVisible: l,- allowsSorting: n.props.allowsSorting,- sortDirection: i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0,- isResizing: f,- startResize: () => {- if (d) d.startResize(n.key), i.setKeyboardNavigationDisabled(!0);- else throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- },- sort: (e) => {- i.sort(n.key, e);+}+function CF({ data: e, receipt: t }) {+ let [n, r] = (0, E.useState)(() => bF(e)), [i, a] = (0, E.useState)(String(e.port)), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)([]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(null), [v, y] = (0, E.useState)(null), b = (0, E.useRef)(!1), x = (0, E.useRef)(e.revision), S = (0, E.useRef)([]), C = jw();+ (0, E.useLayoutEffect)(() => {+ g !== null && (S.current[g]?.focus(), _(null));+ }, [g]), (0, E.useEffect)(() => {+ if (!m) return;+ let e = setTimeout(() => location.assign(m.url), mF);+ return () => clearTimeout(e);+ }, [m]);+ let w = (e, t) => r((n) => n.map((n, r) => r === e ? {+ ...n,+ ...t+ } : n)), T = (e, t) => l((n) => {+ let r = [...n];+ for (; r.length <= e;) r.push("");+ return r[e] = t, r;+ }), O = () => {+ _(n.length), r((e) => [...e, yF()]);+ }, k = (e) => {+ r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));+ }, A = async (e) => {+ if (!b.current) {+ b.current = !0, y(e);+ try {+ let { path: t } = await Tw(VP, { initial: n[e]?.path ?? "" });+ t && (w(e, { path: t }), T(e, ""));+ } catch (t) {+ T(e, K(t));+ } finally {+ b.current = !1, y(null);}}- }), g = h.style;- d && (g = {- ...g,- width: d.getColumnWidth(n.key)+ }, j = (r) => {+ r.preventDefault(), p(""), C.run("save", (t) => Tw(BP, {+ revision: x.current,+ media_dirs: n.map((e) => e.path),+ ...e.media_sources ? { media_sources: n } : {},+ port: i,+ scan_now: o+ }, "POST", t), (e) => {+ x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);+ }, (e) => {+ let t = xF(e);+ l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));+ });+ };+ if (m) return /* @__PURE__ */ (0, D.jsx)(mA, {+ title: "这台电脑",+ children: /* @__PURE__ */ (0, D.jsx)(gA, { children: /* @__PURE__ */ (0, D.jsxs)(q, {+ tone: "success",+ title: "配置已保存",+ children: [+ "Peach 正在重新启动。稍后自动跳转,或点击",+ /* @__PURE__ */ (0, D.jsx)(pA, {+ href: m.url,+ size: "small",+ children: "进入馆藏"+ }),+ "。"+ ]+ }) })});- let _ = V(e, { global: !0 });- return delete _.id, /*#__PURE__*/ E.createElement(ky, {- ...B(_, o, u, p),- ...h,- style: g,- ref: r,- "data-hovered": m || void 0,- "data-pressed": s || void 0,- "data-focused": c || void 0,- "data-focus-visible": l || void 0,- "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__*/ E.createElement(ig, { values: [[jy, {- column: n,- triggerRef: r- }], [vg, hg]] }, h.children));-}), jy = /*#__PURE__*/ (0, E.createContext)(null), My = class extends wt {- static {- this.type = "tablebody";- }-}, Ny = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.tbody, {- ...e,- ref: t+ let M = n.some((e) => e.location === "115" || e.location === "pikpak"), N = M ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "这台电脑",+ onSubmit: j,+ children: [/* @__PURE__ */ (0, D.jsxs)(gA, { children: [+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)(bA, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, D.jsx)("div", {+ role: "group",+ "aria-label": "媒体文件夹",+ className: "flex flex-col gap-3",+ children: n.map((t, r) => /* @__PURE__ */ (0, D.jsxs)("div", {+ "data-folder-row": !0,+ className: "@container flex flex-col gap-3 rounded-2lg border border-separator-border bg-background-primary-default p-3",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex items-start gap-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(WO, {+ className: "min-w-0 flex-1",+ "aria-label": `媒体文件夹 ${r + 1}`,+ placeholder: "本机文件夹路径",+ value: t.path,+ onChange: (e) => w(r, { path: e }),+ ref: (e) => {+ S.current[r] = e;+ },+ validationBehavior: "aria",+ isInvalid: !!c[r],+ hint: c[r] || void 0+ }),+ /* @__PURE__ */ (0, D.jsx)(RO, {+ icon: hF,+ "aria-label": "选择文件夹",+ onClick: () => void A(r),+ ...J(v === r)+ }),+ n.length > 1 ? /* @__PURE__ */ (0, D.jsx)(RO, {+ icon: CS,+ "aria-label": "移除这个文件夹",+ onClick: () => k(r)+ }) : null+ ]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",+ children: [+ /* @__PURE__ */ (0, D.jsx)(WO, {+ label: "媒体库名称",+ maxLength: 80,+ placeholder: "同名文件夹归入同一个媒体库",+ value: t.library,+ onChange: (e) => w(r, { library: e })+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-1.5",+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { children: "媒体库图标" }), /* @__PURE__ */ (0, D.jsx)(uF, {+ label: `媒体库图标 ${r + 1}`,+ value: t.library_icon,+ kind: t.location,+ onChange: (e) => w(r, { library_icon: e })+ })]+ }),+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-1.5",+ children: [/* @__PURE__ */ (0, D.jsx)(bA, { children: "媒体来源" }), /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": `媒体来源 ${r + 1}`,+ selectedKey: t.location,+ onSelectionChange: (e) => {+ e !== null && w(r, { location: String(e) });+ },+ children: gF.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(oM, {+ id: e,+ textValue: t,+ children: [/* @__PURE__ */ (0, D.jsx)(TA, { mark: vF(e) }), t]+ }, e))+ })]+ }),+ e.windows === !1 ? /* @__PURE__ */ (0, D.jsx)(WO, {+ label: "Windows 中的对应路径",+ placeholder: "例如 B:\\",+ value: t.root,+ onChange: (e) => w(r, { root: e })+ }) : null+ ]+ })]+ }, r))+ }),+ /* @__PURE__ */ (0, D.jsx)(G, {+ className: "self-start",+ onClick: O,+ children: "添加文件夹"+ })+ ]+ }),+ M ? /* @__PURE__ */ (0, D.jsx)(oF, {}) : null,+ N.map((e) => /* @__PURE__ */ (0, D.jsxs)(vA, { children: [+ "未检测到 ",+ e.name,+ "。",+ /* @__PURE__ */ (0, D.jsxs)(xA, {+ href: e.download_url,+ children: ["下载 ", e.name]+ })+ ] }, e.name)),+ e.windows === !1 ? /* @__PURE__ */ (0, D.jsx)(vA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, D.jsx)(WO, {+ id: "configPort",+ label: "本机访问端口",+ inputMode: "numeric",+ value: i,+ onChange: a,+ validationBehavior: "aria",+ isInvalid: !!u,+ hint: u || "浏览器地址里冒号后面的数字,一般不用改。"+ }),+ /* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: o,+ onChange: s,+ children: "保存后扫描并补全资料"+ }),+ f ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "没有保存",+ children: f+ }) : null+ ] }), /* @__PURE__ */ (0, D.jsx)(_A, {+ status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",+ children: /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ ...J(C.busy === "save"),+ children: "保存配置"+ })+ })]});-}), Py = /*#__PURE__*/ Si(My, (e, t, n) => {- let r = (0, E.useContext)(gy), { isVirtualized: i } = (0, E.useContext)(vg), a = r.collection, { CollectionBranch: o } = (0, E.useContext)(vg), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(E_), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {- isDropTarget: u,- isEmpty: d- }, p = ag({- ...e,- id: void 0,- children: void 0,- defaultClassName: "react-aria-TableBody",- values: f- }), m, h = a.columnCount;- if (d && e.renderEmptyState && r) {- let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ E.createElement(Ly, {- role: "row",- ...t,- style: r- }, /*#__PURE__*/ E.createElement(By, {- role: "rowheader",- ...n,- style: r- }, e.renderEmptyState(f)));- }- let { rowGroupProps: g } = Ef(), _ = V(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Ny, {- ...B(_, p, g),- ref: t,- "data-empty": d || void 0- }, l && /*#__PURE__*/ E.createElement(qy, null), /*#__PURE__*/ E.createElement(o, {- collection: a,- parent: n,- renderDropIndicator: k_(s, c)- }), m);-});-(class extends wt {- static {- this.type = "tablefooter";- }-});-var Fy = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), Iy = class extends Ct {- static {- this.type = "item";- }- filter(e, t, n) {- let r = e.getChildren(this.key);- for (let i of r) if (n(i.textValue, i)) {- let n = this.clone();- return t.addDescendants(n, e), n;- }- return null;- }-}, Ly = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.tr, {- ...e,- ref: t+}+function wF({ online: e }) {+ return e === !0 ? /* @__PURE__ */ (0, D.jsxs)("span", {+ "data-mount": "online",+ className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "size-1.5 rounded-full bg-current"+ }), "在线"]+ }) : e === !1 ? /* @__PURE__ */ (0, D.jsxs)("span", {+ "data-mount": "offline",+ className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-error-primary",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "size-1.5 rounded-full bg-current"+ }), "离线"]+ }) : /* @__PURE__ */ (0, D.jsxs)("span", {+ "data-mount": "unknown",+ className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-secondary",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ "aria-hidden": !0,+ className: "size-1.5 rounded-full bg-current"+ }), "未检测"]});-}), Ry = /*#__PURE__*/ Si(Iy, (e, t, n) => {- let r = Xr(t), i = (0, E.useContext)(gy), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(E_), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)(vg), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Cf({- node: n,- shouldSelectOnPressUp: !!o,- isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Lc(), { isFocusVisible: _, focusProps: v } = Lc({ within: !0 }), { hoverProps: y, isHovered: b } = Wc({- isDisabled: !p.allowsSelection && !p.hasAction && !u,- onHoverStart: e.onHoverStart,- onHoverChange: e.onHoverChange,- onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Of({ key: n.key }, i), S;- o && a && (S = a.useDraggableItem({- key: n.key,- hasDragButton: !0- }, o));- let C, w = (0, E.useRef)(null), { visuallyHiddenProps: T } = os();- s && a && (C = a.useDropIndicator({ target: {- type: "item",- key: n.key,- dropPosition: "on"- } }, s, w));- let D = (0, E.useRef)(null);- (0, E.useEffect)(() => {- o && D.current;- }, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), ee = ag({- ...A,- id: void 0,- defaultClassName: "react-aria-Row",- defaultStyle: { "--table-row-level": n.level + 1 },- values: {- ...p,- state: i,- isHovered: b,- isFocused: m,- isFocusVisible: h,- selectionMode: i.selectionManager.selectionMode,- selectionBehavior: i.selectionManager.selectionBehavior,- isDragging: O,- isDropTarget: C?.isDropTarget,- isFocusVisibleWithin: _,- id: n.key,- hasChildItems: j,- isExpanded: M,- level: n.level + 1+}+function TF({ data: e }) {+ let t = e.media_sources, n = jw();+ return t ? /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "挂载状态",+ children: [+ /* @__PURE__ */ (0, D.jsx)(SA, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(CA, {+ term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(TA, { mark: vF(e.location) }), _F(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, D.jsx)(wF, { online: e.online })]+ }, t)) }),+ n.error ? /* @__PURE__ */ (0, D.jsx)(gA, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsx)(yA, { children: n.error })+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(_A, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: () => void n.run("refresh", (e) => UP(e), (e) => Mw.setQueryData(HP, e)),+ ...J(n.busy === "refresh"),+ children: "刷新挂载状态"+ }) })+ ]+ }) : null;+}+//#endregion+//#region src/react/settings/access-settings.tsx+var EF = {+ legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",+ locked: "访问设置无法读取,请在本机检查配置文件。",+ password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"+};+function DF({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = jw(), 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) {+ requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus());+ return;}- }), te = V(e, { global: !0 });- return delete te.id, delete te.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(Ly, {- role: "row",- style: { height: 0 }- }, /*#__PURE__*/ E.createElement(By, {- role: "gridcell",- colSpan: i.collection.columnCount,- style: { padding: 0 }- }, /*#__PURE__*/ E.createElement("div", {- role: "button",- ...T,- ...C.dropIndicatorProps,- ref: w- }))), /*#__PURE__*/ E.createElement(Ly, {- ...B(te, ee, d, g, y, S?.dragProps, v),- ref: r,- "data-disabled": p.isDisabled || void 0,- "data-selected": p.isSelected || void 0,- "data-hovered": b || void 0,- "data-focused": p.isFocused || void 0,- "data-focus-visible": h || void 0,- "data-pressed": p.isPressed || void 0,- "data-dragging": O || void 0,- "data-drop-target": C?.isDropTarget || void 0,- "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode,- "data-focus-visible-within": _ || void 0,- "data-expanded": M || void 0,- "data-has-child-items": j || void 0,- "data-level": n.level + 1- }, /*#__PURE__*/ E.createElement(ig, { values: [- [Ng, { slots: {- [rg]: {},- selection: x- } }],- [Pg, { slots: {- [rg]: {},- selection: x- } }],- [Cg, { slots: {- [rg]: {},- chevron: f,- drag: {- ...S?.dragButtonProps,- ref: D,- style: { pointerEvents: "none" }- }- } }],- [P_, { isSelected: p.isSelected }],- [Fy, { isFocusVisibleWithinRow: _ }]- ] }, /*#__PURE__*/ E.createElement(l, {- collection: i.collection,- parent: n- }))));-}, (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__*/ E.createElement(Ti, {- dependencies: t,- items: e.columns,- idScope: e.id- }, e.children);-}), zy = class extends Ct {- static {- this.type = "cell";- }-}, By = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.td, {- ...e,- ref: t+ h.run("save", (e) => Tw("/api/configuration/access", {+ revision: n.revision,+ action: u ? "disable" : "set",+ confirm_disable: u,+ current_password: i,+ password: u ? "" : o,+ confirmation: u ? "" : c+ }, "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;+ n ? p(n) : h.setError(K(e));+ });+ }, _ = EF[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "访问密码",+ onSubmit: g,+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ ref: m,+ children: /* @__PURE__ */ (0, D.jsxs)(gA, { children: [+ _ ? /* @__PURE__ */ (0, D.jsx)(vA, { children: _ }) : null,+ n.mode === "open" ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "未设置访问密码",+ children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"+ }) : null,+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(rA, {+ isSelected: u,+ onChange: d,+ children: "关闭访问密码"+ }) : null,+ n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(WO, {+ id: "access-current",+ type: "password",+ label: "当前访问密码",+ autoComplete: "current-password",+ maxLength: 256,+ value: i,+ onChange: a,+ isRequired: !0,+ validationBehavior: "aria",+ isInvalid: !!f.current_password,+ hint: f.current_password+ }) : null,+ v ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(WO, {+ id: "access-password",+ type: "password",+ label: n.mode === "password" ? "新访问密码" : "设置访问密码",+ autoComplete: "new-password",+ maxLength: 256,+ value: o,+ onChange: s,+ isDisabled: u,+ isRequired: !u,+ validationBehavior: "aria",+ isInvalid: !u && !!f.password,+ hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"+ }), /* @__PURE__ */ (0, D.jsx)(WO, {+ id: "access-confirm",+ type: "password",+ label: "确认访问密码",+ autoComplete: "new-password",+ maxLength: 256,+ value: c,+ onChange: l,+ isDisabled: u,+ isRequired: !u,+ validationBehavior: "aria",+ isInvalid: !u && !!f.confirmation,+ hint: u ? void 0 : f.confirmation+ })] }) : null,+ u ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "访问范围",+ children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"+ }) : null,+ h.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: h.error }) : null+ ] })+ }), v ? /* @__PURE__ */ (0, D.jsx)(_A, {+ status: "保存后立即生效。",+ children: /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ ...J(h.busy === "save"),+ children: "保存配置"+ })+ }) : null]+ });+}+//#endregion+//#region src/react/settings/tunnel-settings.tsx+var OF = 2e3, kF = [["quick", "临时链接"], ["named", "命名隧道"]], AF = {+ quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",+ named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"+};+function jF({ revision: e, initial: t, receipt: n }) {+ let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = jw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";+ (0, E.useEffect)(() => {+ if (r.state !== "starting") return;+ let e = new AbortController(), t = window.setInterval(() => {+ UP(e.signal).then((t) => {+ e.signal.aborted || !t.tunnel || (Mw.setQueryData(HP, t), i(t.tunnel), o(t.revision));+ }).catch(() => void 0);+ }, OF);+ return () => {+ e.abort(), window.clearInterval(t);+ };+ }, [r.state]);+ let v = (e, t, n) => {+ m({}), h.run(e, (e) => Tw("/api/configuration/tunnel", {+ revision: a,+ enabled: t,+ mode: s,+ hostname: l,+ token: d+ }, "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;+ n ? m(n) : h.setError(K(e));+ });+ };+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ title: "Cloudflare 公网入口",+ onSubmit: (e) => {+ e.preventDefault(), v("save", g, () => n("已保存配置"));+ },+ children: [/* @__PURE__ */ (0, D.jsxs)(gA, { children: [+ r.named_available ? /* @__PURE__ */ (0, D.jsx)(uD, {+ "aria-label": "公网入口的形态(二选一)",+ value: s,+ isDisabled: g,+ onChange: (e) => c(e),+ className: Xk,+ children: kF.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(dD, {+ value: e,+ className: Zk,+ children: t+ }, e))+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(vA, { children: AF[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(WO, {+ id: "tunnel-hostname",+ label: "公开主机名",+ autoComplete: "off",+ maxLength: 253,+ value: l,+ onChange: u,+ isDisabled: g,+ validationBehavior: "aria",+ isInvalid: !!p.hostname,+ hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"+ }), /* @__PURE__ */ (0, D.jsx)(WO, {+ id: "tunnel-token",+ type: "password",+ label: "隧道令牌",+ autoComplete: "off",+ maxLength: 2048,+ value: d,+ onChange: f,+ isDisabled: g,+ validationBehavior: "aria",+ hint: r.token_set ? "已保存。留空表示沿用已保存的令牌。" : "在 Cloudflare Zero Trust 的隧道详情页复制。"+ })] }) : null,+ r.available ? null : /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "找不到 cloudflared",+ children: "安装官方 cloudflared,或用设置文件的 tunnel.binary 与 PEACH_CLOUDFLARED 指定路径。"+ }),+ r.state === "running" && r.url ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "info",+ title: "公网地址",+ children: /* @__PURE__ */ (0, D.jsx)(xA, {+ href: r.url,+ children: r.url+ })+ }) : null,+ r.state === "starting" ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "info",+ title: "正在连接",+ children: "正在等待 cloudflared 连上 Cloudflare 边缘。"+ }) : null,+ r.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(_A, {+ status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),+ ...J(h.busy === "toggle"),+ children: g ? "停止公网入口" : "启动公网入口"+ }), r.named_available ? /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ ...J(h.busy === "save"),+ children: "保存配置"+ }) : null]+ })]});-}), Vy = /*#__PURE__*/ xi(zy, (e, t, n) => {- let r = Xr(t), i = (0, E.useContext)(gy), { dragState: a } = (0, E.useContext)(E_), { isVirtualized: o } = (0, E.useContext)(vg);- n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = gf({- node: n,- shouldSelectOnPressUp: !!a,- isVirtualized: o,- focusMode: e.focusMode,- allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Lc(), { hoverProps: f, isHovered: p } = Wc({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(Fy), 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 = ag({- ...e,- id: void 0,- defaultClassName: "react-aria-Cell",- values: {- isFocused: l,- isFocusVisible: u,- isFocusVisibleWithinRow: m,- isPressed: c,- isHovered: p,- isSelected: h,- id: n.key,- columnIndex: g,- hasChildItems: v,- isExpanded: y,- isDisabled: b,- level: _.level + 1,- isTreeColumn: n.column.key === i.treeColumn- }- }), S = V(e, { global: !0 });- return delete S.id, /*#__PURE__*/ E.createElement(By, {- ...B(S, x, s, d, f),- ref: r,- "data-focused": l || void 0,- "data-focus-visible": u || void 0,- "data-focus-visible-within-row": m || void 0,- "data-pressed": c || void 0,- "data-selected": h || void 0,- "data-column-index": g,- "data-expanded": y || void 0,- "data-has-child-items": v || void 0,- "data-level": _.level + 1,- "data-tree-column": n.column.key === i.treeColumn || void 0,- "data-disabled": b || void 0- }, /*#__PURE__*/ E.createElement(vg.Provider, { value: hg }, x.children));-});-function Hy(e, t) {- t = Xr(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(E_), i = (0, E.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__*/ E.createElement(Ky, {- ...e,- dropIndicatorProps: a,- isDropTarget: s,- buttonRef: i,- level: c,- ref: t+}+//#endregion+//#region src/react/settings/network-settings.tsx+var MF = [+ ["environment", "系统代理"],+ ["direct", "直连"],+ ["proxy", "自定义"]+];+function NF({ data: e, receipt: t }) {+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-6",+ children: [+ e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(PF, {+ initial: e.peach_proxy,+ receipt: t+ }) : null,+ e.access ? /* @__PURE__ */ (0, D.jsx)(DF, {+ initial: e.access,+ receipt: t+ }) : null,+ e.tunnel ? /* @__PURE__ */ (0, D.jsx)(jF, {+ revision: e.revision,+ initial: e.tunnel,+ receipt: t+ }) : null+ ]});}-var Uy = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.tr, {- ...e,- ref: t+function PF({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = jw();+ return /* @__PURE__ */ (0, D.jsxs)(mA, {+ id: "peachProxy",+ title: "Peach 代理",+ onSubmit: (e) => {+ e.preventDefault(), c.run("save", (e) => Tw("/api/configuration/peach-proxy", {+ mode: i,+ proxy: o+ }, "POST", e), (e) => {+ r(e), s(""), t("已保存配置");+ });+ },+ children: [+ /* @__PURE__ */ (0, D.jsx)(hA, { children: /* @__PURE__ */ (0, D.jsx)(dA, {+ label: "连接方式",+ description: "采集来源选「Peach 代理」时共用这里的连接方式。",+ children: /* @__PURE__ */ (0, D.jsx)(aM, {+ "aria-label": "连接方式",+ selectedKey: i,+ onSelectionChange: (e) => {+ e !== null && a(String(e));+ },+ children: MF.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(oM, {+ id: e,+ children: t+ }, e))+ })+ }) }),+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(gA, {+ divided: !0,+ children: [+ i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(WO, {+ id: "peachProxyAddress",+ type: "password",+ label: "代理地址",+ autoComplete: "off",+ value: o,+ onChange: s,+ placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"+ }) : null,+ n.needs_selection ? /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "warning",+ title: "需要选择连接方式",+ children: "已有来源的代理地址不同,请选择公共连接方式。"+ }) : null,+ c.error ? /* @__PURE__ */ (0, D.jsx)(yA, { children: c.error }) : null+ ]+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(_A, { children: /* @__PURE__ */ (0, D.jsx)(G, {+ type: "submit",+ ...J(c.busy === "save"),+ children: "保存配置"+ }) })+ ]});-}), Wy = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(vg);- return n ? /*#__PURE__*/ E.createElement(Z.div, {- ...e,- ref: t- }) : /*#__PURE__*/ E.createElement(Z.td, {- ...e,- ref: t+}+//#endregion+//#region src/react/settings/configuration-page.tsx+function FF({ receipt: e, reopenTutorial: t }) {+ let n = ft({+ queryKey: HP,+ queryFn: ({ signal: e }) => UP(e)+ }), r = n.data;+ if (!r) return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "configpage",+ children: /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "打不开配置",+ children: n.error ? K(n.error) : "没有读到配置"+ })});-});-function Gy(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(gy), { visuallyHiddenProps: c } = os(), l = ag({- ...o,- defaultClassName: "react-aria-DropIndicator",- defaultStyle: { "--table-row-level": a + 1 },- values: { isDropTarget: r }+ let i = {+ data: r,+ receipt: e+ }, a = !!(r.startup || r.entry_links), o = !!(r.peach_proxy || r.access || r.tunnel);+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "configpage",+ children: [+ a ? /* @__PURE__ */ (0, D.jsx)("h2", {+ className: "configgroup",+ children: "通用"+ }) : null,+ a ? /* @__PURE__ */ (0, D.jsx)(KP, { ...i }) : null,+ /* @__PURE__ */ (0, D.jsx)("h2", {+ className: "configgroup",+ children: "媒体"+ }),+ /* @__PURE__ */ (0, D.jsx)(SF, { ...i }),+ o ? /* @__PURE__ */ (0, D.jsx)("h2", {+ className: "configgroup",+ children: "网络与访问"+ }) : null,+ o ? /* @__PURE__ */ (0, D.jsx)(NF, { ...i }) : null,+ /* @__PURE__ */ (0, D.jsx)("h2", {+ className: "configgroup",+ children: "更新与维护"+ }),+ /* @__PURE__ */ (0, D.jsx)($P, {+ ...i,+ reopenTutorial: t+ })+ ]+ });+}+//#endregion+//#region src/react/settings/configuration-summary.tsx+var IF = (e) => {+ let t = e.updates;+ return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";+};+function LF({ openConfiguration: e }) {+ let t = ft({+ queryKey: HP,+ queryFn: ({ signal: e }) => UP(e)+ }), n = t.data;+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col",+ children: [n ? /* @__PURE__ */ (0, D.jsxs)(SA, { children: [+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "媒体库",+ children: `${n.library_count} 个`+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "端口",+ children: String(n.port)+ }),+ /* @__PURE__ */ (0, D.jsx)(CA, {+ term: "更新",+ children: IF(n)+ })+ ] }) : /* @__PURE__ */ (0, D.jsx)(gA, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ tone: "error",+ title: "打不开配置",+ children: t.error ? K(t.error) : "没有读到配置"+ }) }), /* @__PURE__ */ (0, D.jsx)(_A, {+ status: "媒体文件夹、端口、代理与更新在配置页上改。",+ children: /* @__PURE__ */ (0, D.jsx)(G, {+ onClick: e,+ children: "打开配置页"+ })+ })]});- return /*#__PURE__*/ E.createElement(Uy, {- ...V(e, { global: !0 }),- ...l,- role: "row",- ref: t,- "data-drop-target": r || void 0,- "aria-level": a- }, /*#__PURE__*/ E.createElement(Wy, {- role: "gridcell",- colSpan: s.collection.columnCount,- style: { padding: 0 }- }, /*#__PURE__*/ E.createElement("div", {- ...c,- role: "button",- ...n,- ref: i- }), l.children));}-var Ky = /*#__PURE__*/ (0, E.forwardRef)(Gy);-function qy() {- let e = (0, E.useContext)(gy), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(E_), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = os();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(Ly, {- role: "row",- "aria-hidden": i["aria-hidden"],- style: { height: 0 }- }, /*#__PURE__*/ E.createElement(By, {- role: "gridcell",- colSpan: e.collection.columnCount,- style: { padding: 0 }- }, /*#__PURE__*/ E.createElement("div", {- role: "button",- ...o,- ...i,- ref: r- })));+//#endregion+//#region src/react/stats/stats.ts+var RF = "/api/stats", zF = ["stats"], BF = (e) => ww(RF, e);+async function VF(e) {+ await Mw.fetchQuery({+ queryKey: zF,+ queryFn: () => BF(e)+ });+}+var HF = (e, t) => t ? Math.round(e / t * 100) : 0, UF = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, WF = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, GF = (e) => (e.max_reached || 0) * 100, KF = (e) => e.kind === "online" ? "在线直接观看" : WF(e) < GF(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", qF = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, JF = (e) => Math.max(1, ...e) * 1.1, YF = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), XF = {+ video: "视频",+ image: "图片",+ illustration: "插画",+ archive: "压缩包",+ audio: "音频",+ account: "账号",+ other: "其它文件"+}, ZF = (e) => e.map((e) => ({+ name: XF[e.k] ?? e.k,+ value: e.n+})).sort((e, t) => t.value - e.value), QF = {+ 速食: "5 分钟内",+ 短: "5–15 分钟",+ 中: "15–40 分钟",+ 长: "40 分钟以上"+}, $F = (e, t = {}) => e.map((e) => ({+ name: t[e.k] ?? e.k,+ value: e.n+})), eI = (e) => $F(e, QF), tI = [+ [+ 1,+ 1,+ "1 次"+ ],+ [+ 2,+ 2,+ "2 次"+ ],+ [+ 3,+ 3,+ "3 次"+ ],+ [+ 4,+ 4,+ "4 次"+ ],+ [+ 5,+ 5,+ "5 次"+ ],+ [+ 6,+ 9,+ "6–9 次"+ ],+ [+ 10,+ Infinity,+ "10 次以上"+ ]+], nI = (e) => tI.map(([t, n, r]) => ({+ name: r,+ value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)+})), rI = /* @__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 iI(e) {+ return typeof e == "string" && rI.includes(e);+}+//#endregion+//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js+var aI = /* @__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 oI(e) {+ return typeof e == "string" && aI.has(e);+}+function sI(e) {+ return typeof e == "string" && e.startsWith("data-");+}+function cI(e) {+ if (typeof e != "object" || !e) return {};+ var t = {};+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (oI(n) || sI(n)) && (t[n] = e[n]);+ return t;+}+function lI(e) {+ if (e == null) return null;+ if (/*#__PURE__*/ (0, E.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {+ var t = e.props;+ return cI(t);+ }+ return typeof e == "object" && !Array.isArray(e) ? cI(e) : null;}-xi(Tt, function(e, t, n) {- let r = (0, E.useContext)(gy), { isVirtualized: i } = (0, E.useContext)(vg), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);- Z_((0, E.useMemo)(() => ({- onLoadMore: o,- collection: r?.collection,- sentinelRef: u,- scrollOffset: s- }), [- o,- s,- r?.collection- ]), u);- let d = ag({- ...c,- id: void 0,- children: n.rendered,- defaultClassName: "react-aria-TableLoadingIndicator",- defaultStyle: { "--table-row-level": n.level + 1 },- values: void 0- }), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Ly, {- style: { height: 0 },- inert: I_(!0)- }, /*#__PURE__*/ E.createElement(By, { style: {- padding: 0,- border: 0- } }, /*#__PURE__*/ E.createElement("div", {- "data-testid": "loadMoreSentinel",- ref: u,- style: {- position: "relative",- height: 1,- width: 1- }- }))), a && d.children && /*#__PURE__*/ E.createElement(Ly, {- ...B(V(e, { global: !0 }), f),- ...d,- role: "row",- ref: t,- "aria-level": n.level + 1,- "data-level": n.level + 1- }, /*#__PURE__*/ E.createElement(By, {- role: "rowheader",- ...p,- style: m- }, d.children)));-});//#endregion-//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Jy(e) {- let [t, n] = ts(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = J_({- ...e,- selectionMode: "single",- disallowEmptySelection: !0,- allowDuplicateSelectionEvents: !0,- selectedKeys: r,- onSelectionChange: (r) => {- if (r === "all") return;- let i = r.values().next().value ?? null;- i === t && e.onSelectionChange && e.onSelectionChange(i), n(i);- }- });- return {- collection: i,- disabledKeys: a,- selectionManager: o,- selectedKey: t,- setSelectedKey: n,- selectedItem: t == null ? null : i.getItem(t)- };+//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js+function uI(e) {+ var t = {};+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (oI(n) || sI(n) || iI(n)) && (t[n] = e[n]);+ return t;+}+function dI(e) {+ return e == null ? null : /*#__PURE__*/ (0, E.isValidElement)(e) ? uI(e.props) : typeof e == "object" && !Array.isArray(e) ? uI(e) : null;}//#endregion-//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function Yy(e) {- let t = Jy({- ...e,- onSelectionChange: e.onSelectionChange ? (t) => {- t != null && e.onSelectionChange?.(t);- } : void 0,- suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? Xy(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0- }), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, E.useRef)(i);- return (0, E.useEffect)(() => {- let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = Xy(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;- }), {- ...t,- isDisabled: e.isDisabled || !1- };+//#region node_modules/recharts/es6/container/Surface.js+var fI = [+ "children",+ "width",+ "height",+ "viewBox",+ "className",+ "style",+ "title",+ "desc"+];+function pI() {+ return pI = 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;+ }, pI.apply(null, arguments);}-function Xy(e, t) {- let n = null;- if (e) {- for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);- n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n === e.getLastKey() && (n = e.getFirstKey());+function mI(e, t) {+ if (e == null) return {};+ var n, r, i = hI(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 hI(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var gI = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = mI(e, fI), d = a || {+ width: r,+ height: i,+ x: 0,+ y: 0+ }, f = Sm("recharts-surface", o);+ return /*#__PURE__*/ E.createElement("svg", pI({}, uI(u), {+ className: f,+ width: r,+ height: i,+ style: s,+ viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,+ ref: t+ }), /*#__PURE__*/ E.createElement("title", null, c), /*#__PURE__*/ E.createElement("desc", null, l), n);+}), _I = ["children", "className"];+function vI() {+ return vI = 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;+ }, vI.apply(null, arguments);+}+function yI(e, t) {+ if (e == null) return {};+ var n, r, i = bI(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 bI(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];}return n;}+var xI = /*#__PURE__*/ E.forwardRef((e, t) => {+ var { children: n, className: r } = e, i = yI(e, _I), a = Sm("recharts-layer", r);+ return /*#__PURE__*/ E.createElement("g", vI({ className: a }, uI(i), { ref: t }), n);+}), SI = /*#__PURE__*/ (0, E.createContext)(null), CI = () => (0, E.useContext)(SI);//#endregion-//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var Zy = /*#__PURE__*/ (0, E.createContext)(null), Qy = /*#__PURE__*/ (0, E.createContext)(null), $y = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = sg(e, t, Zy);- let { children: n, orientation: r = "horizontal" } = e;- return n = (0, E.useMemo)(() => typeof n == "function" ? n({- orientation: r,- defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ E.createElement(pi, { content: n }, (n) => /*#__PURE__*/ E.createElement(eb, {- props: e,- collection: n,- tabsRef: t- }));-});-function eb({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = Yy({- ...e,- collection: n,- children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = Lc({ within: !0 }), c = (0, E.useMemo)(() => ({- orientation: r,- isFocusWithin: o,- isFocusVisible: s- }), [- r,- o,- s- ]), l = ag({- ...e,- defaultClassName: "react-aria-Tabs",- values: c- }), u = V(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Z.div, {- ...B(u, l, a),- ref: t,- slot: e.slot || void 0,- "data-focused": o || void 0,- "data-orientation": r,- "data-focus-visible": s || void 0,- "data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ E.createElement(ig, { values: [[Zy, e], [Qy, i]] }, l.children));+//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js+function wI(e) {+ return function() {+ return e;+ };}-var tb = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return (0, E.useContext)(Qy) ? /*#__PURE__*/ E.createElement(nb, {- props: e,- forwardedRef: t- }) : /*#__PURE__*/ E.createElement(Ti, e);-});-function nb({ props: e, forwardedRef: t }) {- let n = (0, E.useContext)(Qy), { CollectionRoot: r } = (0, E.useContext)(vg), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = og(Zy), o = Xr(t), { tabListProps: s } = Pf({- ...e,- orientation: i,- keyboardActivation: a- }, n, o), c = ag({- ...e,- children: null,- defaultClassName: "react-aria-TabList",- values: {- orientation: i,- state: n- }- }), l = V(e, { global: !0 });- return delete l.id, /*#__PURE__*/ E.createElement(Z.div, {- ...B(l, c, s),- ref: o,- "data-orientation": i || void 0- }, /*#__PURE__*/ E.createElement(N_, null, /*#__PURE__*/ E.createElement(r, {- collection: n.collection,- persistedKeys: yg(n.selectionManager.focusedKey)- })));+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js+var TI = Math.cos, EI = Math.sin, DI = Math.sqrt, OI = Math.PI;+OI / 2;+var kI = 2 * OI, AI = Math.PI, jI = 2 * AI, MI = 1e-6, NI = jI - MI;+function PI(e) {+ this._ += e[0];+ for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}-var rb = /*#__PURE__*/ xi(class extends Ct {- static {- this.type = "item";+function FI(e) {+ let t = Math.floor(e);+ if (!(t >= 0)) throw Error(`invalid digits: ${e}`);+ if (t > 15) return PI;+ 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 II = class {+ constructor(e) {+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? PI : FI(e);}-}, (e, t, n) => {- let r = (0, E.useContext)(Qy), i = Xr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Mf({- key: n.key,- ...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Lc(), { hoverProps: f, isHovered: p } = Wc({- isDisabled: s,- onHoverStart: e.onHoverStart,- onHoverEnd: e.onHoverEnd,- onHoverChange: e.onHoverChange- }), m = ag({- ...e,- id: void 0,- children: n.rendered,- defaultClassName: "react-aria-Tab",- values: {- isSelected: o,- isDisabled: s,- isFocused: u,- isFocusVisible: d,- isPressed: c,- isHovered: p+ moveTo(e, t) {+ this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;+ }+ closePath() {+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);+ }+ lineTo(e, t) {+ this._append`L${this._x1 = +e},${this._y1 = +t}`;+ }+ quadraticCurveTo(e, t, n, r) {+ this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;+ }+ bezierCurveTo(e, t, n, r, i, a) {+ this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;+ }+ arcTo(e, t, n, r, i) {+ 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 > MI) {+ if (!(Math.abs(u * s - c * l) > MI) || !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((AI - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > MI && 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}`;+ }}- }), h = n.props.href ? Z.a : Z.div, g = V(e, { global: !0 });- return delete g.id, delete g.onClick, /*#__PURE__*/ E.createElement(h, {- ...B(g, m, a, l, f),- ref: i,- "data-selected": o || void 0,- "data-disabled": s || void 0,- "data-focused": u || void 0,- "data-focus-visible": d || void 0,- "data-pressed": c || void 0,- "data-hovered": p || void 0- }, /*#__PURE__*/ E.createElement(P_.Provider, { value: { isSelected: o } }, m.children));-}), ib = /*#__PURE__*/ ri(function(e, t) {- let n = (0, E.useContext)(Qy), r = Xr(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);- a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = dv(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(ab, {- ...e,- tabPanelRef: r,- isInitiallySelected: a || !1,- isExiting: s- });-});-function ab(e) {- let t = (0, E.useContext)(Qy), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ff(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Lc(), d = t.selectedKey === e.id, f = uv(r) && !i, p = ag({- ...e,- defaultClassName: "react-aria-TabPanel",- values: {- isFocused: l,- isFocusVisible: u,- isInert: I_(!d),- isEntering: f,- isExiting: a,- state: t+ }+ 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) > MI || Math.abs(this._y1 - l) > MI) && this._append`L${c},${l}`, n && (d < 0 && (d = d % jI + jI), d > NI ? 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 > MI && this._append`A${n},${n},0,${+(d >= AI)},${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`;+ }+ toString() {+ return this._;+ }+};+II.prototype;+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js+function LI(e) {+ let t = 3;+ return e.digits = function(n) {+ if (!arguments.length) return t;+ if (n == null) t = null;+ else {+ let e = Math.floor(n);+ if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);+ t = e;}- }), m = V(o, { global: !0 });- delete m.id;- let h = d ? B(m, s, c, p) : B(m, p);- return /*#__PURE__*/ E.createElement(Z.div, {- ...h,- ref: r,- "data-focused": l || void 0,- "data-focus-visible": u || void 0,- inert: I_(!d || e.inert),- "data-inert": d ? void 0 : "true",- "data-entering": f || void 0,- "data-exiting": a || void 0- }, /*#__PURE__*/ E.createElement(ig, { values: [[Zy, null], [Qy, null]] }, /*#__PURE__*/ E.createElement(vg.Provider, { value: hg }, p.children)));+ return e;+ }, () => new II(t);+}+Array.prototype.slice;+function RI(e) {+ return typeof e == "object" && "length" in e ? e : Array.from(e);}//#endregion-//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var ob = /*#__PURE__*/ (0, E.createContext)({}), sb = /*#__PURE__*/ (0, E.createContext)(null), cb = /*#__PURE__*/ ri(function(e, t) {- [e, t] = sg(e, t, sb);- let { validationBehavior: n } = og(Mg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);- [e, i] = sg(e, i, pg);- let [a, o] = cg(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = cs({- ...lg(e),- inputElementType: s,- label: o,- validationBehavior: r- }, i), m = (0, E.useCallback)((e) => {- i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = ag({- ...e,- values: {- isDisabled: e.isDisabled || !1,- isInvalid: p.isInvalid,- isReadOnly: e.isReadOnly || !1,- isRequired: e.isRequired || !1- },- defaultClassName: "react-aria-TextField"- }), g = V(e, { global: !0 });- return delete g.id, /*#__PURE__*/ E.createElement(Z.div, {- ...g,- ...h,- ref: t,- slot: e.slot || void 0,- "data-disabled": e.isDisabled || void 0,- "data-invalid": p.isInvalid || void 0,- "data-readonly": e.isReadOnly || void 0,- "data-required": e.isRequired || void 0- }, /*#__PURE__*/ E.createElement(ig, { values: [- [bg, {- ...l,- ref: a- }],- [Hg, {- ...u,- ref: m- }],- [ob, {- ...u,- ref: m- }],- [Bg, {- role: "presentation",- isInvalid: p.isInvalid,- isDisabled: e.isDisabled || !1- }],- [kg, { slots: {- description: d,- errorMessage: f- } }],- [jg, p]- ] }, h.children));-}), lb = rh({- base: [- "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",- "bg-background-primary-default text-foreground-icon-primary",- "border border-border-button-default shadow-xs",- "select-none cursor-pointer",- "transition-[background-color,border-color,box-shadow,color] duration-150 ease",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "hover:bg-background-primary-hover hover:border-border-button-hover",- "active:bg-background-primary-active active:border-border-button-active",- "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"- ].join(" "),- size: {- medium: "size-9",- small: "size-8"+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js+function zI(e) {+ this._context = e;+}+zI.prototype = {+ areaStart: function() {+ this._line = 0;},- icon: {- medium: "size-5 shrink-0",- small: "size-4 shrink-0"+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._point = 0;+ },+ lineEnd: function() {+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1: this._point = 2;+ default: this._context.lineTo(e, t);+ }}-});-function ub({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)("button", {- ref: i,- type: r,- className: nh(lb.base, lb.size[t], n),- ...a,- children: /* @__PURE__ */ (0, D.jsx)(e, {- className: lb.icon[t],- "aria-hidden": !0- })- });+};+function BI(e) {+ return new zI(e);}//#endregion-//#region src/react/boardui/components/base/input/label.tsx-function db({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, D.jsxs)(xg, {- "data-label": "true",- ...a,- className: nh("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),- children: [- i,- e && /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": "true",- className: "text-body-medium text-text-error-primary",- children: "*"- }),- n && /* @__PURE__ */ (0, D.jsx)(op, {- className: "size-4 shrink-0 text-foreground-icon-quaternary",- "aria-hidden": !0- })- ]- });+//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js+function VI(e) {+ return e[0];+}+function HI(e) {+ return e[1];}//#endregion-//#region src/react/boardui/components/base/input/hint-text.tsx-function fb({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, D.jsx)(Ag, {- slot: e ? "errorMessage" : "description",- ...n,- className: nh("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)- });+//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js+function UI(e, t) {+ var n = wI(!0), r = null, i = BI, a = null, o = LI(s);+ e = typeof e == "function" ? e : e === void 0 ? VI : wI(e), t = typeof t == "function" ? t : t === void 0 ? HI : wI(t);+ function s(s) {+ var c, l = (s = RI(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 : wI(+t), s) : e;+ }, s.y = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : wI(+e), s) : t;+ }, s.defined = function(e) {+ return arguments.length ? (n = typeof e == "function" ? e : wI(!!e), s) : n;+ }, s.curve = function(e) {+ return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;+ }, s.context = function(e) {+ return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;+ }, s;+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js+function WI(e, t, n) {+ var r = null, i = wI(!0), a = null, o = BI, s = null, c = LI(l);+ e = typeof e == "function" ? e : e === void 0 ? VI : wI(+e), t = typeof t == "function" ? t : wI(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? HI : wI(+n);+ function l(l) {+ var u, d, f, p = (l = RI(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();+ else {+ for (s.lineEnd(), s.lineStart(), f = u - 1; f >= d; --f) s.point(_[f], v[f]);+ s.lineEnd(), s.areaEnd();+ }+ }+ h && (_[u] = +e(m, u, l), v[u] = +t(m, u, l), s.point(r ? +r(m, u, l) : _[u], n ? +n(m, u, l) : v[u]));+ }+ if (g) return s = null, g + "" || null;+ }+ function u() {+ return UI().defined(i).curve(o).context(a);+ }+ return l.x = function(t) {+ return arguments.length ? (e = typeof t == "function" ? t : wI(+t), r = null, l) : e;+ }, l.x0 = function(t) {+ return arguments.length ? (e = typeof t == "function" ? t : wI(+t), l) : e;+ }, l.x1 = function(e) {+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : wI(+e), l) : r;+ }, l.y = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : wI(+e), n = null, l) : t;+ }, l.y0 = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : wI(+e), l) : t;+ }, l.y1 = function(e) {+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : wI(+e), l) : n;+ }, l.lineX0 = l.lineY0 = function() {+ return u().x(e).y(t);+ }, l.lineY1 = function() {+ return u().x(e).y(n);+ }, l.lineX1 = function() {+ return u().x(r).y(t);+ }, l.defined = function(e) {+ return arguments.length ? (i = typeof e == "function" ? e : wI(!!e), l) : i;+ }, l.curve = function(e) {+ return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;+ }, l.context = function(e) {+ return arguments.length ? (e == null ? a = s = null : s = o(a = e), l) : a;+ }, l;+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js+var GI = class {+ constructor(e, t) {+ this._context = e, this._x = t;+ }+ areaStart() {+ this._line = 0;+ }+ areaEnd() {+ this._line = NaN;+ }+ lineStart() {+ this._point = 0;+ }+ lineEnd() {+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;+ }+ point(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1: this._point = 2;+ default: this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);+ }+ this._x0 = e, this._y0 = t;+ }+};+function KI(e) {+ return new GI(e, !0);+}+function qI(e) {+ return new GI(e, !1);+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js+var JI = { draw(e, t) {+ let n = DI(t / OI);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, kI);+} }, YI = { draw(e, t) {+ let n = DI(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();+} }, XI = DI(1 / 3), ZI = XI * 2, QI = { draw(e, t) {+ let n = DI(t / ZI), r = n * XI;+ e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();+} }, $I = { draw(e, t) {+ let n = DI(t), r = -n / 2;+ e.rect(r, r, n, n);+} }, eL = .8908130915292852, tL = EI(OI / 10) / EI(7 * OI / 10), nL = EI(kI / 10) * tL, rL = -TI(kI / 10) * tL, iL = { draw(e, t) {+ let n = DI(t * eL), r = nL * n, i = rL * n;+ e.moveTo(0, -n), e.lineTo(r, i);+ for (let t = 1; t < 5; ++t) {+ let a = kI * t / 5, o = TI(a), s = EI(a);+ e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);+ }+ e.closePath();+} }, aL = DI(3), oL = { draw(e, t) {+ let n = -DI(t / (aL * 3));+ e.moveTo(0, n * 2), e.lineTo(-aL * n, -n), e.lineTo(aL * n, -n), e.closePath();+} }, sL = -.5, cL = DI(3) / 2, lL = 1 / DI(12), uL = (lL / 2 + 1) * 3, dL = { draw(e, t) {+ let n = DI(t / uL), r = n / 2, i = n * lL, a = r, o = n * lL + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(sL * r - cL * i, cL * r + sL * i), e.lineTo(sL * a - cL * o, cL * a + sL * o), e.lineTo(sL * s - cL * c, cL * s + sL * c), e.lineTo(sL * r + cL * i, sL * i - cL * r), e.lineTo(sL * a + cL * o, sL * o - cL * a), e.lineTo(sL * s + cL * c, sL * c - cL * s), e.closePath();+} };+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js+function fL(e, t) {+ let n = null, r = LI(i);+ e = typeof e == "function" ? e : wI(e || JI), t = typeof t == "function" ? t : wI(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 : wI(t), i) : e;+ }, i.size = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : wI(+e), i) : t;+ }, i.context = function(e) {+ return arguments.length ? (n = e ?? null, i) : n;+ }, i;}//#endregion-//#region src/react/boardui/components/base/input/input.tsx-var pb = (0, E.createContext)({});-function mb({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(pb.Provider, {- value: {- size: e,- fieldClassName: t,- inputClassName: n- },- children: /* @__PURE__ */ (0, D.jsx)(cb, {- ...a,- "data-input-size": e,- className: nh("group flex h-max w-full flex-col items-start gap-1", r),- children: i- })- });+//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js+function pL() {}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js+function mL(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);}-mb.displayName = "TextField";-var hb = rh({- field: [- "relative flex w-full items-center",- "rounded-2lg",- "bg-background-tertiary-default text-foreground-icon-tertiary",- "ring-2 ring-inset ring-transparent",- "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"- ].join(" "),- fieldSize: {- medium: "p-2",- small: "h-8 px-1.5 py-2"+function hL(e) {+ this._context = e;+}+hL.prototype = {+ areaStart: function() {+ this._line = 0;},- fieldWithAddonSize: {- medium: "h-9 pl-1 pr-2 py-2",- small: "h-8 pl-1 pr-1.5 py-2"+ areaEnd: function() {+ this._line = NaN;},- content: "flex w-full items-center gap-2 min-w-0",- leftSection: "flex flex-1 items-center gap-0.5 min-w-0",- input: [- "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",- "font-sans text-body-regular text-text-primary pl-1",- "placeholder:text-text-tertiary",- "focus:placeholder:text-text-primary",- "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",- "disabled:cursor-not-allowed",- "aria-invalid:placeholder:text-text-error-placeholder"- ].join(" "),- icon: "size-5 shrink-0"-});-function gb({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, E.useContext)(pb), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, D.jsx)(Vg, {- ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => nh(hb.field, d ? hb.fieldWithAddonSize[u] : hb.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, D.jsxs)("div", {- className: hb.content,- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: hb.leftSection,- children: [d ? r : t ? /* @__PURE__ */ (0, D.jsx)(t, {- className: hb.icon,- "aria-hidden": !0- }) : null, /* @__PURE__ */ (0, D.jsx)(Wg, {- ref: o,- ...c,- className: nh(hb.input, l.inputClassName, a)- })]- }), n ? /* @__PURE__ */ (0, D.jsx)(n, {- className: hb.icon,- "aria-hidden": !0- }) : null]- })- });+ lineStart: function() {+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;+ },+ lineEnd: function() {+ switch (this._point) {+ case 3: mL(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;+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1:+ 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: mL(this, e, t);+ }+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;+ }+};+function gL(e) {+ return new hL(e);}-gb.displayName = "InputBase";-function _b({ 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, D.jsx)(mb, {- ...d,- className: u,- "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),- children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- e && /* @__PURE__ */ (0, D.jsx)(db, {- isRequired: u,- isInvalid: d,- tooltip: n,- children: e- }),- /* @__PURE__ */ (0, D.jsx)(gb, {- ref: c,- groupRef: l,- placeholder: r,- leadingIcon: i,- trailingIcon: a,- leadingAddon: o,- fieldClassName: s- }),- t && /* @__PURE__ */ (0, D.jsx)(fb, {- isInvalid: d,- children: t- })- ] })- });+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js+function _L(e) {+ this._context = e;}-_b.displayName = "Input";-function vb(e) {- return {- x0: 0,- y0: 0,- x1: e.width,- y1: e.height- };+_L.prototype = {+ areaStart: pL,+ areaEnd: pL,+ 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;+ },+ lineEnd: function() {+ switch (this._point) {+ case 1:+ this._context.moveTo(this._x2, this._y2), this._context.closePath();+ break;+ case 2:+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();+ break;+ case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);+ }+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._x2 = e, this._y2 = t;+ break;+ case 1:+ this._point = 2, this._x3 = e, this._y3 = t;+ break;+ 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: mL(this, e, t);+ }+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;+ }+};+function vL(e) {+ return new _L(e);}-function yb(e) {- return {- x0: Math.round(e.x0),- y0: Math.round(e.y0),- x1: Math.round(e.x1),- y1: Math.round(e.y1)- };+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js+function yL(e) {+ this._context = e;}-function bb(e) {- return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;+yL.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;+ },+ lineEnd: function() {+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1;+ break;+ case 1:+ this._point = 2;+ break;+ case 2:+ this._point = 3;+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);+ break;+ case 3: this._point = 4;+ default: mL(this, e, t);+ }+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;+ }+};+function bL(e) {+ return new yL(e);}-function xb(e, t) {- if (!bb(e)) return {- x0: 0,- y0: 0,- x1: 0,- y1: 0- };- if (t == null || !(t > 0)) return vb(e);- let n = e.width, r = n / t;- r > e.height && (r = e.height, n = r * t);- let i = (e.width - n) / 2, a = (e.height - r) / 2;- return yb({- x0: i,- y0: a,- x1: i + n,- y1: a + r- });+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js+function xL(e) {+ this._context = e;}-function Sb(e, t) {- if (!bb(e) || !(t > 0)) return vb(e);- let n = Math.min(e.width, e.height * t);- return yb({- x0: e.width - n,- y0: 0,- x1: e.width,- y1: e.height- });+xL.prototype = {+ areaStart: pL,+ areaEnd: pL,+ lineStart: function() {+ this._point = 0;+ },+ lineEnd: function() {+ this._point && this._context.closePath();+ },+ point: function(e, t) {+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));+ }+};+function SL(e) {+ return new xL(e);}-function Cb(e, t, n) {- if (!bb(t) || !(n > 0)) return vb(t);- let r = wb(e, t), i = xb({- width: r.x1 - r.x0,- height: r.y1 - r.y0- }, n);- return {- x0: r.x0 + i.x0,- y0: r.y0 + i.y0,- x1: r.x0 + i.x1,- y1: r.y0 + i.y1- };+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js+function CL(e) {+ return e < 0 ? -1 : 1;}-function wb(e, t, n = null, r = "width") {- if (!bb(t)) return {- x0: 0,- y0: 0,- x1: 0,- y1: 0- };- let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));- n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));- let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return yb({- x0: s,- y0: c,- x1: s + a,- y1: c + o- });+function wL(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 (CL(a) + CL(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;}-function Tb(e, t, n, r) {- let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return yb({- x0: o,- y0: s,- x1: o + i,- y1: s + a- });+function TL(e, t) {+ var n = e._x1 - e._x0;+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}-function Eb(e, t, n, r = null) {- if (!bb(n) || !(t > 0)) return e;- let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return wb({- x0: i - o / 2,- y0: a - s / 2,- x1: i + o / 2,- y1: a + s / 2- }, n, r);+function EL(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 Db(e, t, n, r, i = null) {- let a = {- x0: e.x0,- y0: e.y0,- x1: Math.max(e.x0 + 1, t),- y1: Math.max(e.y0 + 1, n)- };- return wb(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+function DL(e) {+ this._context = e;}-function Ob(e, t) {- return bb(t) ? {- left: e.x0 / t.width * 100,- top: e.y0 / t.height * 100,- width: (e.x1 - e.x0) / t.width * 100,- height: (e.y1 - e.y0) / t.height * 100- } : {- left: 0,- top: 0,- width: 0,- height: 0- };+DL.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;+ },+ lineEnd: function() {+ switch (this._point) {+ case 2:+ this._context.lineTo(this._x1, this._y1);+ break;+ case 3: EL(this, this._t0, TL(this, this._t0));+ }+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;+ },+ point: function(e, t) {+ var n = NaN;+ if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {+ switch (this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1:+ this._point = 2;+ break;+ case 2:+ this._point = 3, EL(this, TL(this, n = wL(this, e, t)), n);+ break;+ default: EL(this, this._t0, n = wL(this, e, t));+ }+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;+ }+ }+};+function OL(e) {+ this._context = new kL(e);}-function kb(e, t) {- if (!bb(t)) return {- size: "cover",- position: "50% 50%"- };- let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0), i = (e, t, n) => t - n > 0 ? e / (t - n) * 100 : 0;- return {- size: `${t.width / n * 100}% ${t.height / r * 100}%`,- position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`- };+(OL.prototype = Object.create(DL.prototype)).point = function(e, t) {+ DL.prototype.point.call(this, t, e);+};+function kL(e) {+ this._context = e;}-function Ab(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}%`,- top: `${-e.y0 / r * 100}%`,- width: `${t.width / n * 100}%`,- height: `${t.height / r * 100}%`- };+kL.prototype = {+ moveTo: function(e, t) {+ this._context.moveTo(t, e);+ },+ closePath: function() {+ this._context.closePath();+ },+ lineTo: function(e, t) {+ this._context.lineTo(t, e);+ },+ bezierCurveTo: function(e, t, n, r, i, a) {+ this._context.bezierCurveTo(t, e, r, n, a, i);+ }+};+function AL(e) {+ return new DL(e);}-function jb(e, t, n) {- return t > 0 ? e * n / t : 0;+function jL(e) {+ return new OL(e);}//#endregion-//#region src/react/components/overlay-scrollbar.ts-function Mb() {- let e = (0, E.useRef)(null);- return (0, E.useEffect)(() => {- s(e.current);- }), e;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js+function ML(e) {+ this._context = e;}-//#endregion-//#region src/react/crop/crop-frame.tsx-var Nb = .02, Pb = 1.08;-function Fb({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {- let s = (0, E.useRef)(null), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(!1);- (0, E.useEffect)(() => {- u(!1);- }, [e]);- let d = (0, E.useCallback)((e, t) => {- let n = s.current;- return !n || !r ? {- dx: 0,- dy: 0- } : {- dx: jb(e, n.clientWidth, r.width),- dy: jb(t, n.clientHeight, r.height)- };- }, [r]);- function f(e) {- return (t) => {- !n || !r || t.button !== 0 || (t.preventDefault(), t.stopPropagation(), t.currentTarget.setPointerCapture(t.pointerId), c.current = {- mode: e,- x: t.clientX,- y: t.clientY,- box: n- });- };- }- function p(e) {- let n = c.current, a = s.current;- if (!n || !a || !r) return;- let o = d(e.clientX - n.x, e.clientY - n.y);- if (n.mode === "move") {- i(Tb(n.box, o.dx, o.dy, r));- return;+ML.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x = [], this._y = [];+ },+ lineEnd: function() {+ 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 = NL(e), i = NL(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]);}- i(Db(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));+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;+ },+ point: function(e, t) {+ this._x.push(+e), this._y.push(+t);}- function h(e) {- if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * Nb), o = {- ArrowLeft: [-a, 0],- ArrowRight: [a, 0],- ArrowUp: [0, -a],- ArrowDown: [0, a]- };- if (o[e.key]) {- e.preventDefault(), i(Tb(n, o[e.key][0], o[e.key][1], r));- return;+};+function NL(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];+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];+ 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 PL(e) {+ return new ML(e);+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js+function FL(e, t) {+ this._context = e, this._t = t;+}+FL.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x = this._y = NaN, this._point = 0;+ },+ lineEnd: function() {+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1: this._point = 2;+ default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);+ else {+ var n = this._x * (1 - this._t) + e * this._t;+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);+ }}- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(Eb(n, e.key === "-" ? 1 / Pb : Pb, r, t)));+ this._x = e, this._y = t;}- let g = n && r ? Ob(wb(n, r, t), r) : null, _ = g ? {- "--crop-l": `${g.left}%`,- "--crop-t": `${g.top}%`,- "--crop-w": `${g.width}%`,- "--crop-h": `${g.height}%`,- "--crop-r": `${g.left + g.width}%`,- "--crop-b": `${g.top + g.height}%`- } : void 0;- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "relative inline-block max-w-full select-none",- style: _,- children: [- /* @__PURE__ */ (0, D.jsx)("img", {- ref: s,- src: e,- alt: "",- draggable: !1,- onLoad: (e) => {- let t = e.currentTarget;- bb({- width: t.naturalWidth,- height: t.naturalHeight- }) && a({- width: t.naturalWidth,- height: t.naturalHeight- });- },- onError: () => u(!0),- className: "block max-h-crop-frame max-w-full object-contain"- }),- l || !g ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)("div", {- "aria-hidden": !0,- className: "pointer-events-none absolute inset-x-0 top-0 h-(--crop-t) bg-scrim"- }),- /* @__PURE__ */ (0, D.jsx)("div", {- "aria-hidden": !0,- className: "pointer-events-none absolute inset-x-0 bottom-0 top-(--crop-b) bg-scrim"- }),- /* @__PURE__ */ (0, D.jsx)("div", {- "aria-hidden": !0,- className: "pointer-events-none absolute left-0 top-(--crop-t) h-(--crop-h) w-(--crop-l) bg-scrim"- }),- /* @__PURE__ */ (0, D.jsx)("div", {- "aria-hidden": !0,- className: "pointer-events-none absolute right-0 left-(--crop-r) top-(--crop-t) h-(--crop-h) bg-scrim"- }),- /* @__PURE__ */ (0, D.jsx)("div", {- role: "group",- tabIndex: 0,- "aria-label": o,- "data-crop-box": !0,- onPointerDown: f("move"),- onPointerMove: p,- onPointerUp: m,- onPointerCancel: m,- onKeyDown: h,- onWheel: (e) => {- !n || !r || i(Eb(n, e.deltaY > 0 ? Pb : 1 / Pb, r, t));- },- className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",- children: /* @__PURE__ */ (0, D.jsx)("span", {- "data-crop-handle": !0,- onPointerDown: f("resize"),- onPointerMove: p,- onPointerUp: m,- onPointerCancel: m,- className: "absolute -right-1.5 -bottom-1.5 size-3 cursor-nwse-resize touch-none rounded-xs border border-separator-border bg-background-full"- })- })- ] }),- l ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "p-4 text-body-2-regular text-text-secondary",- children: "这张图读不出来,换一张再框。"- }) : null- ]- });+};+function IL(e) {+ return new FL(e, .5);+}+function LL(e) {+ return new FL(e, 0);+}+function RL(e) {+ return new FL(e, 1);+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js+function zL(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 BL(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 VL(e, t) {+ return e[t];+}+function HL(e) {+ let t = [];+ return t.key = e, t;+}+function UL() {+ var e = wI([]), t = BL, n = zL, r = VL;+ function i(i) {+ var a = Array.from(e.apply(this, arguments), HL), 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 = RI(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 : wI(Array.from(t)), i) : e;+ }, i.value = function(e) {+ return arguments.length ? (r = typeof e == "function" ? e : wI(+e), i) : r;+ }, i.order = function(e) {+ return arguments.length ? (t = e == null ? BL : typeof e == "function" ? e : wI(Array.from(e)), i) : t;+ }, i.offset = function(e) {+ return arguments.length ? (n = e ?? zL, i) : n;+ }, i;}//#endregion-//#region src/react/avatar-picker/avatar-picker.ts-var Ib = "/api/avatar-choices", Lb = "/api/avatar-pick", Rb = "/api/avatar-code-cover", zb = "/avatar-choice", Bb = (e, t) => [- "avatar-choices",- e,- t-], Vb = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, Hb = (e, t, n) => `${zb}${Vb(e, t)}&ref=${encodeURIComponent(n)}`, Ub = (e, t, n) => uh(Ib + Vb(e, t), n), Wb = (e) => J(Rb, { code: e });-function Gb(e, t, n) {- let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Cb(e.focus, t, n) : xb(t, n);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js+function WL(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;+ }+ zL(e, t);+ }}-var Kb = (e) => e.crop && bb({- width: e.width,- height: e.height-});-async function qb(e, t, n) {- if (!("file" in n)) {- await J(Lb, {- kind: e,- id: t,- ...n+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js+function GL(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;+ }+ zL(e, t);+ }+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js+function KL(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) {+ for (var u = e[t[s]], d = u[r][1] || 0, f = (d - (u[r - 1][1] || 0)) / 2, p = 0; p < s; ++p) {+ var m = e[t[p]], h = m[r][1] || 0, g = m[r - 1][1] || 0;+ f += h - g;+ }+ c += d, l += f * d;+ }+ i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);+ }+ i[r - 1][1] += i[r - 1][0] = n, zL(e, t);+ }+}+//#endregion+//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs+function qL(e) {+ return e === "__proto__";+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs+var JL = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;+function YL(e) {+ switch (typeof e) {+ case "number":+ case "symbol": return !1;+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : JL.test(e);+ default: return !1;+ }+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs+function XL(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 ZL(e) {+ return typeof e == "symbol" || e instanceof Symbol;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/toString.mjs+function QL(e) {+ return e == null ? "" : $L(e);+}+function $L(e) {+ if (typeof e == "string") return e;+ if (Array.isArray(e)) return e.map($L).join(",");+ if (ZL(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 eR(e) {+ if (Array.isArray(e)) return e.map(XL);+ if (typeof e == "symbol") return [e];+ e = QL(e);+ let t = [], n = e.length;+ if (n === 0) return t;+ let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;+ for (e.charCodeAt(0) === 46 && t.push(""); r < n;) {+ let l = e[r];+ if (a) l === "\\" && r + 1 < n ? (r++, i += e[r]) : l === a ? a = "" : i += l;+ else if (o) {+ if (l === "\"" || l === "'") a = l, s = !0;+ else if (l === "]") {+ if (o = !1, !s && i.includes(".") && !c.test(i)) {+ let e = i.split(".");+ for (let n = 0; n < e.length; n++) e[n] !== "" && t.push(e[n]);+ } else t.push(i);+ i = "";+ } else i += l;+ } else if (l === "[") o = !0, s = !1, i &&= (t.push(i), "");+ else if (l === ".") {+ i &&= (t.push(i), "");+ let n = e[r + 1];+ (n === void 0 || n === ".") && t.push("");+ } else i += l;+ r++;+ }+ return i && t.push(i), t;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/get.mjs+function tR(e, t, n) {+ if (e == null) return n;+ switch (typeof t) {+ case "string": {+ if (qL(t)) return n;+ let r = e[t];+ return r === void 0 ? YL(t) && !Object.hasOwn(e, t) ? tR(e, eR(t), n) : n : r;+ }+ case "number":+ case "symbol": {+ typeof t == "number" && (t = XL(t));+ let r = e[t];+ return r === void 0 ? n : r;+ }+ default: {+ if (Array.isArray(t)) return nR(e, t, n);+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), qL(t)) return n;+ let r = e[t];+ return r === void 0 ? n : r;+ }+ }+}+function nR(e, t, n) {+ if (t.length === 0) return n;+ let r = e;+ for (let e = 0; e < t.length; e++) {+ if (r == null || qL(t[e])) return n;+ r = r[t[e]];+ }+ return r === void 0 ? n : r;+}+//#endregion+//#region node_modules/recharts/es6/util/round.js+var rR = 4;+function iR(e) {+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : rR), n = Math.round(e * t) / t;+ return Object.is(n, -0) ? 0 : n;+}+function aR(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 + iR(i) + n;+ }, "");+}+//#endregion+//#region node_modules/recharts/es6/util/DataUtils.js+var oR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, sR = (e) => typeof e == "number" && e != +e, cR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !sR(e), lR = (e) => Z(e) || typeof e == "string", uR = 0, dR = (e) => {+ var t = ++uR;+ return `${e || ""}${t}`;+}, fR = 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 (cR(e)) {+ if (t == null) return n;+ var a = e.indexOf("%");+ i = t * parseFloat(e.slice(0, a)) / 100;+ } else i = +e;+ return sR(i) && (i = n), r && t != null && i > t && (i = t), i;+}, pR = (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 mR(e, t, n) {+ return Z(e) && Z(t) ? iR(e + n * (t - e)) : t;+}+function hR(e, t, n) {+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : tR(e, t)) === n);+}+var gR = (e) => e == null, _R = (e) => gR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function vR(e) {+ return e != null;+}+function yR() {}+//#endregion+//#region node_modules/recharts/es6/shape/Symbols.js+var Oie = [+ "type",+ "size",+ "sizeType"+];+function bR() {+ return bR = 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;+ }, bR.apply(null, arguments);+}+function xR(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function SR(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? xR(Object(n), !0).forEach(function(t) {+ kie(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xR(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});- return;}- let r = n.file, i = await fetch(`${Lb}${Vb(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 ch(a?.error || `请求失败(${i.status})`, i.status, a);+ return e;}-function Jb(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}:图库里没有这个名字,用下面两种方式换。`;+function kie(e, t, n) {+ return (t = Aie(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Aie(e) {+ var t = jie(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function jie(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function Mie(e, t) {+ if (e == null) return {};+ var n, r, i = Nie(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;}-var Yb = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function Xb(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Yb(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+function Nie(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-var Zb = (e) => e.cast > 1, Qb = (e) => Zb(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, $b = {- gfriends: "图库",- history: "用过的",- asset: "作品画面",- code: "番号封面"+var CR = {+ symbolCircle: JI,+ symbolCross: YI,+ symbolDiamond: QI,+ symbolSquare: $I,+ symbolStar: iL,+ symbolTriangle: oL,+ symbolWye: dL+}, Pie = Math.PI / 180, Fie = (e) => CR[`symbol${_R(e)}`] || JI, Iie = (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 * Pie;+ 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;+ }+}, Lie = (e, t) => {+ CR[`symbol${_R(e)}`] = t;+}, wR = (e) => {+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = SR(SR({}, Mie(e, Oie)), {}, {+ type: t,+ size: n,+ sizeType: r+ }), a = "circle";+ typeof t == "string" && (a = t);+ var o = () => {+ var e = Fie(a), t = fL().type(e).size(Iie(n, r, a))();+ if (t !== null) return t;+ }, { className: s, cx: c, cy: l } = i, u = uI(i);+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ E.createElement("path", bR({}, u, {+ className: Sm("recharts-symbols", s),+ transform: `translate(${c}, ${l})`,+ d: o()+ })) : null;};-function ex(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;+wR.registerSymbol = Lie;+//#endregion+//#region node_modules/recharts/es6/util/types.js+var TR = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, ER = (e, t) => {+ if (!e || typeof e == "function" || typeof e == "boolean") return null;+ var n = e;+ if (/*#__PURE__*/ (0, E.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;+ var r = {};+ return Object.keys(n).forEach((e) => {+ iI(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ }), r;+}, Rie = (e, t, n) => (r) => (e(t, n, r), null), DR = (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];+ iI(i) && typeof a == "function" && (r ||= {}, r[i] = Rie(a, t, n));+ }), r;+};+//#endregion+//#region node_modules/recharts/es6/util/resolveDefaultProps.js+function OR(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-var tx = (e) => `${$b[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (Zb(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), nx = 8, rx = 3 / 4;-function ix({ kind: e, entityId: t, name: n, onPicked: r }) {- let [i, a] = (0, E.useState)(!1);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {- className: "absolute right-1 bottom-1 z-10",- children: /* @__PURE__ */ (0, D.jsx)("button", {- type: "button",- "aria-haspopup": "dialog",- "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, D.jsx)(Bf, {- "aria-hidden": !0,- className: "size-4"- })- })- }), /* @__PURE__ */ (0, D.jsx)(Dv, {- isOpen: i,- onOpenChange: a,- isDismissable: !0,- className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, D.jsx)(Tv, {- className: "flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown",- children: /* @__PURE__ */ (0, D.jsx)(yv, {- "aria-label": "更换头像",- className: "flex min-h-0 flex-col outline-none",- children: /* @__PURE__ */ (0, D.jsx)(ax, {- kind: e,- entityId: t,- name: n,- onPicked: r,- close: () => a(!1)- })- })- })- })] });+function zie(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? OR(Object(n), !0).forEach(function(t) {+ Bie(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OR(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function ax({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, E.useRef)(null), o = Mb(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), h = Bb(e, t), g = (0, E.useRef)(!1), _ = mt({- queryKey: h,- queryFn: ({ signal: n }) => Ub(e, t, n),- retryOnMount: !0- });- (0, E.useEffect)(() => () => {- g.current && Th.removeQueries({ queryKey: Bb(e, t) });- }, [e, t]);- let v = ht({- mutationFn: (n) => qb(e, t, n),- onSuccess: () => {- g.current = !0, i(), r();+function Bie(e, t, n) {+ return (t = Vie(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Vie(e) {+ var t = Hie(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Hie(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function kR(e, t) {+ var n = zie({}, 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 AR() {+ return AR = 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]);}- }), y = ht({- mutationFn: (e) => Wb(e),- onSuccess: (e) => m(e)+ return e;+ }, AR.apply(null, arguments);+}+function jR(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function MR(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? jR(Object(n), !0).forEach(function(t) {+ Uie(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jR(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function Uie(e, t, n) {+ return (t = Wie(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Wie(e) {+ var t = Gie(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Gie(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var NR = 32, Kie = {+ align: "center",+ iconSize: 14,+ inactiveColor: "#ccc",+ layout: "horizontal",+ verticalAlign: "middle",+ labelStyle: {}+};+function qie(e) {+ if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);+}+function Jie(e) {+ var { data: t, iconType: n, inactiveColor: r } = e, i = NR / 2, a = NR / 6, o = NR / 3, s = t.inactive ? r : t.color, c = n ?? t.type;+ if (c === "none") return null;+ if (c === "plainline") return /*#__PURE__*/ E.createElement("line", {+ strokeWidth: 4,+ fill: "none",+ stroke: s,+ strokeDasharray: qie(t.payload),+ x1: 0,+ y1: i,+ x2: NR,+ y2: i,+ className: "recharts-legend-icon"});- function b(e) {- let t = e.currentTarget, n = t.files?.[0];- t.value = "", f(""), n && v.mutate({ file: n });+ if (c === "line") return /*#__PURE__*/ E.createElement("path", {+ strokeWidth: 4,+ fill: "none",+ stroke: s,+ d: `M0,${i}h${o}+ A${a},${a},0,1,1,${2 * o},${i}+ H${NR}M${2 * o},${i}+ A${a},${a},0,1,1,${o},${i}`,+ className: "recharts-legend-icon"+ });+ if (c === "rect") return /*#__PURE__*/ E.createElement("path", {+ stroke: "none",+ fill: s,+ d: `M0,${NR / 8}h${NR}v${NR * 3 / 4}h${-NR}z`,+ className: "recharts-legend-icon"+ });+ if (/*#__PURE__*/ E.isValidElement(t.legendIcon)) {+ var l = MR({}, t);+ return delete l.legendIcon, /*#__PURE__*/ E.cloneElement(t.legendIcon, l);+ }+ return /*#__PURE__*/ E.createElement(wR, {+ fill: s,+ cx: i,+ cy: i,+ size: NR,+ sizeType: "diameter",+ type: c+ });+}+function Yie(e) {+ var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {+ x: 0,+ y: 0,+ width: NR,+ height: NR+ }, l = {+ display: r === "horizontal" ? "inline-block" : "block",+ marginRight: 10+ }, u = {+ display: "inline-block",+ verticalAlign: "middle",+ marginRight: 4+ };+ return t.map((t, r) => {+ var d = t.formatter || i, f = Sm({+ "recharts-legend-item": !0,+ [`legend-item-${r}`]: !0,+ inactive: t.inactive+ });+ if (t.type === "none") return null;+ var p = typeof s == "object" ? MR({}, s) : {};+ p.color = t.inactive ? a : p.color || t.color;+ var m = d ? d(t.value, t, r) : t.value;+ return /*#__PURE__*/ E.createElement("li", AR({+ className: f,+ style: l,+ key: `legend-item-${r}`+ }, DR(e, t, r)), /*#__PURE__*/ E.createElement(gI, {+ width: n,+ height: n,+ viewBox: c,+ style: u,+ "aria-label": `${m} legend icon`+ }, /*#__PURE__*/ E.createElement(Jie, {+ data: t,+ iconType: o,+ inactiveColor: a+ })), /*#__PURE__*/ E.createElement("span", {+ className: "recharts-legend-item-text",+ style: p+ }, m));+ });+}+var Xie = (e) => {+ var t = kR(e, Kie), { payload: n, layout: r, align: i } = t;+ if (!n || !n.length) return null;+ var a = {+ padding: 0,+ margin: 0,+ textAlign: r === "horizontal" ? i : "left"+ };+ return /*#__PURE__*/ E.createElement("ul", {+ className: "recharts-default-legend",+ style: a+ }, /*#__PURE__*/ E.createElement(Yie, AR({}, t, { payload: n })));+};+//#endregion+//#region node_modules/es-toolkit/dist/array/uniqBy.mjs+function Zie(e, t) {+ let n = /* @__PURE__ */ new Map();+ for (let r = 0; r < e.length; r++) {+ let i = e[r], a = t(i, r, e);+ n.has(a) || n.set(a, i);}- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? q(v.error) : "") || (!p && y.error ? q(y.error) : "") || (_.error ? q(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Xb(x);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex shrink-0 items-start gap-4 p-5",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",- children: /* @__PURE__ */ (0, D.jsx)(yp, { className: "size-6" })- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-1 flex-col gap-2",- children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(Og, {- slot: "title",- className: "text-title-3-semibold text-text-primary",- children: p ? "框出头像那一块" : "更换头像"- }), !p && S.length ? /* @__PURE__ */ (0, D.jsxs)(ah, {- color: "soft",- children: [S.length, " 张可选"]- }) : null]- }),- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: p ? Qb(p) : Jb(n, x)- }),- T ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "neutral",- children: T- }) : null,- C ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: C- }) : null- ]- }),- /* @__PURE__ */ (0, D.jsx)(ub, {- icon: Yf,- size: "small",- "aria-label": "关闭",- onClick: i- })- ]- }), p ? /* @__PURE__ */ (0, D.jsx)(sx, {- kind: e,- entityId: t,- choice: p,- busy: v.isPending,- back: () => m(null),- confirm: (e, t) => {- v.isPending || v.mutate({- ref: e,- crop: t- });+ return Array.from(n.values());+}+//#endregion+//#region node_modules/es-toolkit/dist/function/ary.mjs+function Qie(e, t) {+ return function(...n) {+ return e.apply(this, n.slice(0, t));+ };+}+//#endregion+//#region node_modules/es-toolkit/dist/function/identity.mjs+function PR(e) {+ return e;+}+//#endregion+//#region node_modules/es-toolkit/dist/predicate/isLength.mjs+function $ie(e) {+ return Number.isSafeInteger(e) && e >= 0;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs+function FR(e) {+ return e != null && typeof e != "function" && $ie(e.length);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/property.mjs+function eae(e) {+ return function(t) {+ return tR(t, e);+ };+}+//#endregion+//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs+function IR(e) {+ return e == null || typeof e != "object" && typeof e != "function";+}+//#endregion+//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs+function tae(e) {+ return ArrayBuffer.isView(e) && !(e instanceof DataView);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs+function nae(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 LR(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 rae = "[object RegExp]", RR = "[object String]", zR = "[object Number]", BR = "[object Boolean]", VR = "[object Arguments]", iae = "[object Symbol]", aae = "[object Date]", oae = "[object Map]", sae = "[object Set]", cae = "[object Array]", lae = "[object ArrayBuffer]", uae = "[object Object]", dae = "[object DataView]", fae = "[object Uint8Array]", pae = "[object Uint8ClampedArray]", mae = "[object Uint16Array]", hae = "[object Uint32Array]", gae = "[object Int8Array]", _ae = "[object Int16Array]", vae = "[object Int32Array]", yae = "[object Float32Array]", bae = "[object Float64Array]", HR = 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 xae(e) {+ return HR.Buffer !== void 0 && HR.Buffer.isBuffer(e);+}+//#endregion+//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs+function Sae(e, t) {+ return UR(e, void 0, e, /* @__PURE__ */ new Map(), t);+}+function UR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {+ let a = i?.(e, t, n, r);+ if (a !== void 0) return a;+ if (IR(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] = UR(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());+ if (e instanceof RegExp) {+ let t = new RegExp(e.source, e.flags);+ return t.lastIndex = e.lastIndex, t;+ }+ if (e instanceof Map) {+ let t = /* @__PURE__ */ new Map();+ r.set(e, t);+ for (let [a, o] of e) t.set(a, UR(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(UR(a, void 0, n, r, i));+ return t;+ }+ if (xae(e)) return e.subarray();+ if (tae(e)) {+ let t = new (Object.getPrototypeOf(e)).constructor(e.length);+ r.set(e, t);+ for (let a = 0; a < e.length; a++) t[a] = UR(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), WR(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), WR(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), WR(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, WR(t, e, n, r, i), t;+ }+ if (e instanceof Boolean) {+ let t = new Boolean(e.valueOf());+ return r.set(e, t), WR(t, e, n, r, i), t;+ }+ if (e instanceof Number) {+ let t = new Number(e.valueOf());+ return r.set(e, t), WR(t, e, n, r, i), t;+ }+ if (e instanceof String) {+ let t = new String(e.valueOf());+ return r.set(e, t), WR(t, e, n, r, i), t;+ }+ if (typeof e == "object" && Cae(e)) {+ let t = Object.create(Object.getPrototypeOf(e));+ return r.set(e, t), WR(t, e, n, r, i), t;+ }+ return e;+}+function WR(e, t, n = e, r, i) {+ let a = [...Object.keys(t), ...nae(t)];+ for (let o = 0; o < a.length; o++) {+ let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);+ (c == null || c.writable) && (e[s] = UR(t[s], s, n, r, i));+ }+}+function Cae(e) {+ switch (LR(e)) {+ case VR:+ case cae:+ case lae:+ case dae:+ case BR:+ case aae:+ case yae:+ case bae:+ case gae:+ case _ae:+ case vae:+ case oae:+ case zR:+ case uae:+ case rae:+ case sae:+ case RR:+ case iae:+ case fae:+ case pae:+ case mae:+ case hae: return !0;+ default: return !1;+ }+}+//#endregion+//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs+function wae(e) {+ return UR(e, void 0, e, /* @__PURE__ */ new Map(), void 0);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/eq.mjs+function GR(e, t) {+ return e === t || Number.isNaN(e) && Number.isNaN(t);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs+function KR(e) {+ return e !== null && (typeof e == "object" || typeof e == "function");+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs+function qR(e, t, n) {+ return typeof n == "function" ? JR(e, t, function e(t, r, i, a, o, s) {+ let c = n(t, r, i, a, o, s);+ return c === void 0 ? JR(t, r, e, s, !1) : !!c;+ }, /* @__PURE__ */ new Map(), !0) : qR(e, t, () => void 0);+}+function JR(e, t, n, r, i = !1) {+ if (t === e) return !0;+ switch (typeof t) {+ case "object": return Tae(e, t, n, r, i);+ case "function": return Object.keys(t).length > 0 ? JR(e, { ...t }, n, r, i) : GR(e, t);+ default: return KR(e) && i ? typeof t != "string" || t === "" : GR(e, t);+ }+}+function Tae(e, t, n, r, i = !1) {+ if (t == null) return !0;+ if (Array.isArray(t)) return YR(e, t, n, r);+ if (t instanceof Map) return Eae(e, t, n, r);+ if (t instanceof Set) return Dae(e, t, n, r);+ let a = Object.keys(t);+ if (e == null) return i && a.length === 0;+ if (i) IR(e) && (e = Object(e));+ else {+ let t = LR(e);+ if (t !== "[object Object]" && t !== "[object Arguments]") return !1;+ }+ if (a.length === 0) return !0;+ if (r?.has(t)) return r.get(t) === e;+ r?.set(t, e);+ try {+ for (let i = 0; i < a.length; i++) {+ let o = a[i];+ if (!(o in e) || t[o] === void 0 && e[o] !== void 0 || t[o] === null && e[o] !== null || !n(e[o], t[o], o, e, t, r)) return !1;}- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: "relative flex min-h-0 flex-1 flex-col",- children: /* @__PURE__ */ (0, D.jsx)("div", {- ref: o,- className: "flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, D.jsx)("div", {- role: "listbox",- "aria-label": "候选头像",- "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: nx }, (e, t) => /* @__PURE__ */ (0, D.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",- children: [/* @__PURE__ */ (0, D.jsx)("span", { className: "relative block w-full aspect-avatar-choice skeleton-sheen" }), /* @__PURE__ */ (0, D.jsx)("span", {- className: "relative mx-auto w-2/3 rounded-sm skeleton-sheen",- children: "\xA0"- })]- }, t)) : S.map((n) => /* @__PURE__ */ (0, D.jsxs)("button", {- type: "button",- role: "option",- "data-avatar-choice": !0,- "aria-selected": n.current,- title: tx(n),- ...X(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, D.jsx)(ox, {- src: Hb(e, t, n.ref),- choice: n- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "truncate px-1",- children: n.label- }),- n.current ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: "gray",- children: "在用"- })- }) : null,- Zb(n) ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, D.jsxs)(ah, {- variant: "caption",- color: "gray",- children: [n.cast, " 人"]- })- }) : null- ]- }, n.ref))- })- })- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex shrink-0 flex-col gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, D.jsxs)("form", {- className: "flex min-w-0 items-center gap-2",- onSubmit: (e) => {- e.preventDefault(), l.trim() && !w && y.mutate(l.trim());- },- children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(_b, {- "aria-label": "番号",- placeholder: "番号,如 ABW-232",- value: l,- onChange: u- })- }), /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- variant: "secondary",- disabled: !l.trim(),- ...X(y.isPending),- children: "取封面来框"- })]- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: () => a.current?.click(),- ...X(v.isPending),- children: "从本机选图片"- }),- /* @__PURE__ */ (0, D.jsx)("input", {- ref: a,- type: "file",- accept: "image/png,image/jpeg",- tabIndex: -1,- "aria-hidden": !0,- className: "hidden",- onChange: b- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-1 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(_b, {- type: "url",- "aria-label": "图片地址",- placeholder: "https://…",- value: s,- onChange: c- })- }), /* @__PURE__ */ (0, D.jsx)(K, {- disabled: !s.trim(),- ...X(v.isPending),- onClick: () => {- v.isPending || v.mutate({ url: s.trim() });- },- children: "用这个地址"- })]- })- ]- })]- })] })] });+ return !0;+ } finally {+ r?.delete(t);+ }}-function ox({ src: e, choice: t }) {- let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1);- (0, E.useEffect)(() => {- n.current?.complete && n.current.naturalWidth && i(!0);- }, []);- let a = {- width: t.width,- height: t.height- }, o = Kb(t) ? Ab(Gb(t, a, rx), a) : null, s = r ? !0 : void 0;- return /* @__PURE__ */ (0, D.jsxs)("span", {- className: "relative block w-full aspect-avatar-choice overflow-hidden",- children: [/* @__PURE__ */ (0, D.jsx)("img", {- ref: n,- loading: "lazy",- alt: "",- src: e,- "data-revealed": s,- onLoad: () => i(!0),- onError: () => i(!0),- className: o ? "reveal-content absolute max-w-none top-(--tile-top) left-(--tile-left) h-(--tile-height) w-(--tile-width)" : "reveal-content absolute inset-0 size-full object-cover",- style: o ? {- "--tile-top": o.top,- "--tile-left": o.left,- "--tile-height": o.height,- "--tile-width": o.width- } : void 0- }), /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- "data-revealed": s,- className: "reveal-skeleton pointer-events-none absolute inset-0 skeleton-sheen"- })]+function Eae(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 YR(e, t, n, r) {+ if (t.length === 0) return !0;+ if (!Array.isArray(e)) return !1;+ let i = /* @__PURE__ */ new Set();+ for (let a = 0; a < t.length; a++) {+ let o = t[a], s = !1;+ for (let c = 0; c < e.length; c++) {+ if (i.has(c)) continue;+ let l = e[c], u = !1;+ if (n(l, o, a, e, t, r) && (u = !0), u) {+ i.add(c), s = !0;+ break;+ }+ }+ if (!s) return !1;+ }+ return !0;+}+function Dae(e, t, n, r) {+ return t.size === 0 || e instanceof Set && YR([...e], [...t], n, r);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs+function XR(e, t) {+ return qR(e, t, () => void 0);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs+function Oae(e) {+ return e = wae(e), (t) => XR(t, e);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs+function kae(e, t) {+ return Sae(e, (n, r, i, a) => {+ let o = t?.(n, r, i, a);+ if (o !== void 0) return o;+ if (typeof e == "object") {+ if (LR(e) === "[object Object]" && typeof e.constructor != "function") {+ let t = {};+ return a.set(e, t), WR(t, e, i, a), t;+ }+ switch (Object.prototype.toString.call(e)) {+ case zR:+ case RR:+ case BR: {+ let t = new e.constructor(e?.valueOf());+ return WR(t, e), t;+ }+ case VR: {+ let t = {};+ return WR(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;+ }+ default: return;+ }+ }});}-function sx({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = Hb(e, t, s), m = Mb();- function h(e) {- c(e), u(null), f(null);+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs+function Aae(e) {+ return kae(e);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs+var jae = /^(?:0|[1-9]\d*)$/;+function ZR(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 jae.test(e);}- let g = d && l ? kb(d, l) : null;- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- ref: m,- className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [/* @__PURE__ */ (0, D.jsx)(Fb, {- src: p,- aspect: 1,- box: d,- size: l,- label: `${n.label} 的头像取景框`,- onSize: (e) => {- u(e), bb(e) && f(s === n.ref ? Gb(n, e, 1) : xb(e, 1));- },- onBox: f- }), o.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {- role: "radiogroup",- "aria-label": "底图",- className: "flex flex-wrap justify-center gap-2",- children: o.map((e) => /* @__PURE__ */ (0, D.jsx)("button", {- type: "button",- role: "radio",- "aria-checked": e === s,- "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: ex(e)- }, e))- }) : null]- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- "data-crop-preview": !0,- className: "size-crop-preview shrink-0 rounded-full border border-separator-border bg-background-secondary-default bg-(image:--crop-preview) bg-(position:--crop-preview-at) bg-(length:--crop-preview-size) bg-no-repeat",- style: g ? {- "--crop-preview": `url("${p}")`,- "--crop-preview-size": g.size,- "--crop-preview-at": g.position- } : void 0- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-1 flex-wrap items-center justify-end gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: i,- ...X(r),- children: "回候选"- }), /* @__PURE__ */ (0, D.jsx)(K, {- disabled: !d || !l,- ...X(r),- onClick: () => {- d && !r && a(s, d);- },- children: "用这一块"- })]- })]- })] });}-//#endregion-//#region src/react/boardui/components/base/switch/switch.tsx-var cx = rh({- sm: {- track: "h-4 w-7",- trackRadius: {- pill: "rounded-full",- rectangle: "rounded-[3px]"- },- onShadow: "shadow-[inset_0_1px_0_0_rgb(255_255_255/0.25),inset_0_0_0_0.5px_var(--color-accent-500)]",- thumb: "size-3",- thumbRadius: {- pill: "rounded-full",- rectangle: "rounded-[1px]"- },- offset: "left-0.5 top-0.5",- travel: "translate-x-3",- chip: "size-[5px] border-[0.25px] shadow-[0_2px_2px_0_rgb(0_0_0/0.03)]",- chipRadius: {- pill: "rounded-full",- rectangle: "rounded-[0.5px]"- }- },- md: {- track: "h-6 w-[42px]",- trackRadius: {- pill: "rounded-full",- rectangle: "rounded-[4.5px]"- },- onShadow: "shadow-[inset_0_1.5px_0_0_rgb(255_255_255/0.25),inset_0_0_0_0.75px_var(--color-accent-500)]",- thumb: "size-[18px]",- thumbRadius: {- pill: "rounded-full",- rectangle: "rounded-[1.5px]"- },- offset: "left-[3px] top-[3px]",- travel: "translate-x-[18px]",- chip: "size-[7.5px] border-[0.375px] shadow-[0_3px_3px_0_rgb(0_0_0/0.03)]",- chipRadius: {- pill: "rounded-full",- rectangle: "rounded-[0.75px]"+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs+function Mae(e) {+ return typeof e == "object" && !!e && LR(e) === "[object Arguments]";+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/has.mjs+function Nae(e, t) {+ let n;+ if (n = Array.isArray(t) ? t : typeof t == "string" && YL(t) && !(t in Object(e)) ? eR(t) : [t], n.length === 0) return !1;+ let r = e;+ for (let e = 0; e < n.length; e++) {+ let t = XL(n[e]);+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Mae(r)) && ZR(t) && Number(t) < r.length)) return !1;+ r = r[t];+ }+ return !0;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs+function Pae(e, t) {+ switch (typeof e) {+ case "object":+ Object.is(e?.valueOf(), -0) && (e = "-0");+ break;+ case "number": e = XL(e);+ }+ return t = Aae(t), function(n) {+ let r = tR(n, e);+ return r === void 0 ? Nae(n, e) : t === void 0 ? r === void 0 : XR(r, t);+ };+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs+function Fae(e) {+ if (e == null) return PR;+ switch (typeof e) {+ case "function": return e;+ case "object": return Array.isArray(e) && e.length === 2 ? Pae(e[0], e[1]) : Oae(e);+ default: return eae(e);+ }+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs+function Iae(e) {+ return e === 0 ? 0 : e;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs+function QR(e, t = PR) {+ return FR(e) ? Zie(Array.from(e), Qie(Fae(t), 1)).map(Iae) : [];+}+//#endregion+//#region node_modules/recharts/es6/util/payload/getUniqPayload.js+function $R(e, t, n) {+ return t === !0 ? QR(e, n) : typeof t == "function" ? QR(e, t) : e;+}+//#endregion+//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js+var Lae = /* @__PURE__ */ _(((e) => {+ var t = C(), n = Xm();+ function r(e, t) {+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;+ }+ var i = typeof Object.is == "function" ? Object.is : r, a = n.useSyncExternalStore, o = t.useRef, s = t.useEffect, c = t.useMemo, l = t.useDebugValue;+ e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {+ var d = o(null);+ if (d.current === null) {+ var f = {+ hasValue: !1,+ value: null+ };+ d.current = f;+ } else f = d.current;+ d = c(function() {+ function e(e) {+ if (!a) {+ if (a = !0, o = e, e = r(e), u !== void 0 && f.hasValue) {+ var t = f.value;+ if (u(t, e)) return s = t;+ }+ return s = e;+ }+ if (t = s, i(o, e)) return t;+ var n = r(e);+ return u !== void 0 && u(t, n) ? (o = e, t) : (o = e, s = n);+ }+ var a = !1, o, s, c = n === void 0 ? null : n;+ return [function() {+ return e(t());+ }, c === null ? void 0 : function() {+ return e(c());+ }];+ }, [+ t,+ n,+ r,+ u+ ]);+ var p = a(e, d[0], d[1]);+ return s(function() {+ f.hasValue = !0, f.value = p;+ }, [p]), l(p), p;+ };+})), Rae = /* @__PURE__ */ _(((e, t) => {+ t.exports = Lae();+})), ez = /*#__PURE__*/ (0, E.createContext)(null), zae = Rae(), Bae = (e) => e, tz = () => {+ var e = (0, E.useContext)(ez);+ return e ? e.store.dispatch : Bae;+}, nz = () => {}, Vae = () => nz, Hae = (e, t) => e === t;+function Q(e) {+ var t = (0, E.useContext)(ez), n = (0, E.useMemo)(() => t ? (t) => {+ if (t != null) return e(t);+ } : nz, [t, e]);+ return (0, zae.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Vae, t ? t.store.getState : nz, t ? t.store.getState : nz, n, Hae);+}+//#endregion+//#region node_modules/reselect/dist/reselect.mjs+function Uae(e, t = `expected a function, instead received ${typeof e}`) {+ if (typeof e != "function") throw TypeError(t);+}+function Wae(e, t = `expected an object, instead received ${typeof e}`) {+ if (typeof e != "object") throw TypeError(t);+}+function Gae(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 rz = (e) => Array.isArray(e) ? e : [e];+function Kae(e) {+ let t = Array.isArray(e[0]) ? e[0] : e;+ return Gae(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;+}+function qae(e, t) {+ let n = [], { length: r } = e;+ for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));+ return n;+}+var Jae = class {+ constructor(e) {+ this.value = e;+ }+ deref() {+ return this.value;+ }+}, Yae = typeof WeakRef < "u" ? WeakRef : Jae, Xae = 0, iz = 1;+function az() {+ return {+ s: Xae,+ v: void 0,+ o: null,+ p: null+ };+}+function oz(e, t = {}) {+ let n = az(), { resultEqualityCheck: r } = t, i, a = 0;+ function o() {+ let t = n, { length: o } = arguments;+ for (let e = 0, n = o; e < n; e++) {+ let n = arguments[e];+ if (typeof n == "function" || typeof n == "object" && n) {+ let e = t.o;+ e === null && (t.o = e = /* @__PURE__ */ new WeakMap());+ let r = e.get(n);+ r === void 0 ? (t = az(), 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 = az(), e.set(n, t)) : t = r;+ }}- },- lg: {- track: "h-8 w-14",- trackRadius: {- pill: "rounded-full",- rectangle: "rounded-md"- },- onShadow: "shadow-checkbox-selected",- thumb: "size-6",- thumbRadius: {- pill: "rounded-full",- rectangle: "rounded-xs"- },- offset: "left-1 top-1",- travel: "translate-x-6",- chip: "size-[10px] border-[0.5px] shadow-[0_4px_4px_0_rgb(0_0_0/0.03)]",- chipRadius: {- pill: "rounded-full",- rectangle: "rounded-[1px]"+ let s = t, c;+ if (t.s === iz) c = t.v;+ else if (c = e.apply(null, arguments), a++, r) {+ let e = i?.deref?.() ?? i;+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Yae(c) : c;}+ return s.s = iz, s.v = c, c;}-});-function lx({ state: e, size: t = "md", shape: n = "pill" }) {- let r = cx[t];- return /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: nh("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? nh("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, D.jsx)("span", {- className: nh("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, D.jsx)("span", { className: nh("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") })- })- });+ return o.clearCache = () => {+ n = az(), o.resetResultsCount();+ }, o.resultsCount = () => a, o.resetResultsCount = () => {+ a = 0;+ }, o;}-function ux({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(Qv, {- ref: i,- ...a,- className: (t) => nh("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(lx, {- state: e,- size: n,- shape: r- }), t != null && t !== !1 && /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-medium text-text-primary",- children: t- })] })- });+function Zae(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()), Uae(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = oz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {+ ...n,+ ...a+ }, f = rz(c), p = rz(u), m = Kae(e), h = s(function() {+ return t++, o.apply(null, arguments);+ }, ...f), g = l(function() {+ r++;+ let e = qae(m, arguments);+ return i = h.apply(null, e), i;+ }, ...p);+ return Object.assign(g, {+ resultFunc: o,+ memoizedResultFunc: h,+ dependencies: m,+ dependencyRecomputations: () => r,+ resetDependencyRecomputations: () => {+ r = 0;+ },+ lastResult: () => i,+ recomputations: () => t,+ resetRecomputations: () => {+ t = 0;+ },+ memoize: s,+ argsMemoize: l+ });+ };+ return Object.assign(r, { withTypes: () => r }), r;}+var $ = /* @__PURE__ */ Zae(oz), Qae = Object.assign((e, t = $) => {+ Wae(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: () => Qae });//#endregion-//#region src/react/components/overlay-host.ts-function dx(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;+//#region node_modules/es-toolkit/dist/array/flatten.mjs+function $ae(e, t = 1) {+ let n = [], r = Math.floor(t), i = (e, t) => {+ for (let a = 0; a < e.length; a++) {+ let o = e[a];+ Array.isArray(o) && t < r ? i(o, t + 1) : n.push(o);+ }+ };+ return i(e, 0), n;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs+function sz(e, t, n) {+ return KR(n) && (typeof t == "number" && FR(n) && ZR(t) && t < n.length || typeof t == "string" && t in n) ? GR(n[t], e) : !1;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs+function cz(e) {+ return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;+}+var eoe = (e, t, n) => {+ if (e !== t) {+ let r = cz(e), i = cz(t);+ if (r === i && r === 0) {+ if (e < t) return n === "desc" ? 1 : -1;+ if (e > t) return n === "desc" ? -1 : 1;+ }+ return n === "desc" ? i - r : r - i;+ }+ return 0;+}, toe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, noe = /^\w*$/;+function roe(e, t) {+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || ZL(e) ? !0 : typeof e == "string" && (noe.test(e) || !toe.test(e)) || t != null && Object.hasOwn(t, e);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs+function ioe(e, t, n, r) {+ if (e == null) return [];+ n = r ? void 0 : n, Array.isArray(e) || (e = FR(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]];+ return r > 0 && r === t.length ? n : void 0;+ }, 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) || roe(e) ? e : {+ key: e,+ path: eR(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 = eoe(e.criteria[r], t.criteria[r], n[r]);+ if (i !== 0) return i;+ }+ return 0;+ }).map((e) => e.original);}-function fx(e) {- let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return dx(n ?? t.body);+//#endregion+//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs+function lz(e, ...t) {+ let n = t.length;+ return n > 1 && sz(e, t[0], t[1]) ? t = [] : n > 2 && sz(t[0], t[1], t[2]) && (t = [t[0]]), ioe(e, $ae(t), ["asc"]);}//#endregion-//#region src/react/cover-crop/cover-crop.ts-var px = "/api/cover-crop", mx = (e, t) => J(px, {- code: e,- box: t-}), hx = .704;-function gx({ className: e }) {- return /* @__PURE__ */ (0, D.jsx)("svg", {- "aria-hidden": !0,- viewBox: "0 0 24 24",- fill: "none",- stroke: "currentColor",- strokeWidth: 2,- strokeLinecap: "round",- strokeLinejoin: "round",- className: e,- children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-crop" })+//#region node_modules/recharts/es6/state/selectors/legendSelectors.js+var uz = (e) => e.legend.settings, aoe = (e) => e.legend.size, ooe = $([(e) => e.legend.payload, uz], (e, t) => {+ var { itemSorter: n } = t, r = e.flat(1);+ return n ? lz(r, n) : r;+});+//#endregion+//#region node_modules/recharts/es6/context/legendPayloadContext.js+function soe() {+ return Q(ooe);+}+//#endregion+//#region node_modules/recharts/es6/util/useElementOffset.js+var dz = 1;+function fz() {+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, E.useState)({+ height: 0,+ left: 0,+ top: 0,+ width: 0});+ return [t, (0, E.useCallback)((e) => {+ if (e != null) {+ var r = e.getBoundingClientRect(), i = {+ height: r.height,+ left: r.left,+ top: r.top,+ width: r.width+ };+ (Math.abs(i.height - t.height) > dz || Math.abs(i.left - t.left) > dz || Math.abs(i.top - t.top) > dz || Math.abs(i.width - t.width) > dz) && n({+ height: i.height,+ left: i.left,+ top: i.top,+ width: i.width+ });+ }+ }, [+ t.width,+ t.height,+ t.top,+ t.left,+ ...e+ ])];}-function _x({ code: e, coverUrl: t, box: n, onSaved: r }) {- let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {- ref: o,- type: "button",- "aria-haspopup": "dialog",- "data-cover-crop": !0,- "aria-label": `裁剪 ${e} 的封面`,- title: "裁剪封面:框出正封那一块",- 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, D.jsx)(gx, { className: "size-3.75" })- }), /* @__PURE__ */ (0, D.jsx)(jc, {- getContainer: () => fx(o.current),- children: /* @__PURE__ */ (0, D.jsx)(Dv, {- isOpen: i,- onOpenChange: a,- isDismissable: !0,- className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, D.jsx)(Tv, {- className: "flex max-h-full w-full max-w-cover-crop flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown",- children: /* @__PURE__ */ (0, D.jsx)(yv, {- "aria-label": "裁剪封面",- className: "flex min-h-0 flex-col outline-none",- children: /* @__PURE__ */ (0, D.jsx)(vx, {- code: e,- coverUrl: t,- box: n,- onSaved: r,- close: () => a(!1)- })- })- })- })- })] });+//#endregion+//#region node_modules/redux/dist/redux.mjs+function pz(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. `;}-function vx({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = Mb(), f = ht({- mutationFn: (t) => mx(e, t),- onSuccess: () => {- i(), r();+var mz = typeof Symbol == "function" && Symbol.observable || "@@observable", hz = () => Math.random().toString(36).substring(7).split("").join("."), gz = {+ INIT: `@@redux/INIT${/* @__PURE__ */ hz()}`,+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ hz()}`,+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${hz()}`+};+function _z(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 vz(e, t, n) {+ if (typeof e != "function") throw Error(pz(2));+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(pz(0));+ if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {+ if (typeof n != "function") throw Error(pz(1));+ return n(vz)(e, t);+ }+ let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;+ function l() {+ o === a && (o = /* @__PURE__ */ new Map(), a.forEach((e, t) => {+ o.set(t, e);+ }));+ }+ function u() {+ if (c) throw Error(pz(3));+ return i;+ }+ function d(e) {+ if (typeof e != "function") throw Error(pz(4));+ if (c) throw Error(pz(5));+ let t = !0;+ l();+ let n = s++;+ return o.set(n, e), function() {+ if (t) {+ if (c) throw Error(pz(6));+ t = !1, l(), o.delete(n), a = null;+ }+ };+ }+ function f(e) {+ if (!_z(e)) throw Error(pz(7));+ if (e.type === void 0) throw Error(pz(8));+ if (typeof e.type != "string") throw Error(pz(17));+ if (c) throw Error(pz(9));+ try {+ c = !0, i = r(i, e);+ } finally {+ c = !1;}- });+ return (a = o).forEach((e) => {+ e();+ }), e;+ }function p(e) {- o(e);- let t = n && n.px?.[0] === e.width && n.px?.[1] === e.height ? {- x0: n.x0,- y0: n.y0,- x1: n.x1,- y1: n.y1- } : Sb(e, hx);- c(wb(t, e, null));+ if (typeof e != "function") throw Error(pz(10));+ r = e, f({ type: gz.REPLACE });}- let m = f.isPending;- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex shrink-0 items-start gap-4 p-5",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",- children: /* @__PURE__ */ (0, D.jsx)(gx, { className: "size-6" })- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-1 flex-col gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(Og, {- slot: "title",- className: "text-title-3-semibold text-text-primary",- children: "裁剪封面"- }),- /* @__PURE__ */ (0, D.jsxs)("p", {- className: "text-body-2-regular text-text-secondary",- children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]- }),- f.error ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: q(f.error)- }) : null- ]- }),- /* @__PURE__ */ (0, D.jsx)(ub, {- icon: Yf,- size: "small",- "aria-label": "关闭",- onClick: i- })- ]- }),- /* @__PURE__ */ (0, D.jsx)("div", {- ref: d,- className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, D.jsx)(Fb, {- src: t,- aspect: l ? hx : null,- box: s,- size: a,- label: `${e} 的正封取景框`,- onSize: (e) => {- bb(e) && p(e);- },- onBox: c- })- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, D.jsx)(ux, {- isSelected: l,- onChange: (e) => {- u(e), e && s && a && c(wb(s, a, hx));- },- children: /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: "锁定正封比例"- })- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-1 flex-wrap items-center justify-end gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- ...X(m),- onClick: () => {- m || f.mutate(null);- },- children: "恢复默认"- }), /* @__PURE__ */ (0, D.jsx)(K, {- disabled: !s || !a,- ...X(m),- onClick: () => {- s && !m && f.mutate(s);- },- children: "用这一块"- })]- })]- })- ] });+ function m() {+ let e = d;+ return {+ subscribe(t) {+ if (typeof t != "object" || !t) throw Error(pz(11));+ function n() {+ let e = t;+ e.next && e.next(u());+ }+ return n(), { unsubscribe: e(n) };+ },+ [mz]() {+ return this;+ }+ };+ }+ return f({ type: gz.INIT }), {+ dispatch: f,+ subscribe: d,+ getState: u,+ replaceReducer: p,+ [mz]: m+ };}-//#endregion-//#region src/follow-sort.ts-var yx = [- ["checked", "检查时间"],- ["added", "添加时间"],- ["name", "创作者名称"],- ["sources", "来源数量"],- ["source", "来源名称"],- ["provider", "站点"],- ["status", "状态"]-], bx = "checked", xx = {- checked: "desc",- added: "desc",- name: "asc",- sources: "desc",- source: "asc",- provider: "asc",- status: "asc"-}, Sx = (e) => yx.some(([t]) => t === e);-function Cx(e, t) {- let n = Sx(e) ? e : bx;- return {- sort: n,- dir: t === "asc" || t === "desc" ? t : xx[n]+function coe(e) {+ Object.keys(e).forEach((t) => {+ let n = e[t];+ if (n(void 0, { type: gz.INIT }) === void 0) throw Error(pz(12));+ if (n(void 0, { type: gz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(pz(13));+ });+}+function yz(e) {+ let t = Object.keys(e), n = {};+ for (let r = 0; r < t.length; r++) {+ let i = t[r];+ typeof e[i] == "function" && (n[i] = e[i]);+ }+ let r = Object.keys(n), i;+ try {+ coe(n);+ } catch (e) {+ i = e;+ }+ return function(e = {}, t) {+ if (i) throw i;+ 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(pz(14));+ o[s] = u, a ||= u !== l;+ }+ return a ||= r.length !== Object.keys(e).length, a ? o : e;};}-function wx(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;- return !o && s ? [- ...r(1, 3 + 2 * n),- "…",- t- ] : o && !s ? [- 1,- "…",- ...r(t - (2 + 2 * n), t)- ] : [- 1,- "…",- ...r(i, a),- "…",- t- ];+function bz(...e) {+ return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));}-function Tx(e, t) {- return Math.max(1, Math.ceil(e / t));+function loe(...e) {+ return (t) => (n, r) => {+ let i = t(n, r), a = () => {+ throw Error(pz(15));+ }, o = {+ getState: i.getState,+ dispatch: (e, ...t) => a(e, ...t)+ };+ return a = bz(...e.map((e) => e(o)))(i.dispatch), {+ ...i,+ dispatch: a+ };+ };}-function Ex(e, t) {- return Math.min(Math.max(1, Math.floor(e) || 1), t);+function xz(e) {+ return _z(e) && "type" in e && typeof e.type == "string";+}+//#endregion+//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs+var Sz = Symbol.for("immer-nothing"), Cz = Symbol.for("immer-draftable"), wz = Symbol.for("immer-state");+function Tz(e, ...t) {+ throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);+}+var Ez = Object, Dz = Ez.getPrototypeOf, Oz = "constructor", kz = "prototype", Az = "configurable", jz = "enumerable", Mz = "writable", Nz = "value", Pz = (e) => !!e && !!e[wz];+function Fz(e) {+ return e ? Lz(e) || Uz(e) || !!e[Cz] || !!e[Oz]?.[Cz] || Wz(e) || Gz(e) : !1;+}+var uoe = Ez[kz][Oz].toString(), Iz = /* @__PURE__ */ new WeakMap();+function Lz(e) {+ if (!e || !Kz(e)) return !1;+ let t = Dz(e);+ if (t === null || t === Ez[kz]) return !0;+ let n = Ez.hasOwnProperty.call(t, Oz) && t[Oz];+ if (n === Object) return !0;+ if (!qz(n)) return !1;+ let r = Iz.get(n);+ return r === void 0 && (r = Function.toString.call(n), Iz.set(n, r)), r === uoe;+}+function Rz(e, t, n = !0) {+ zz(e) === 0 ? (n ? Reflect.ownKeys(e) : Ez.keys(e)).forEach((n) => {+ t(n, e[n], e);+ }) : e.forEach((n, r) => t(r, n, e));+}+function zz(e) {+ let t = e[wz];+ return t ? t.type_ : Uz(e) ? 1 : Wz(e) ? 2 : Gz(e) ? 3 : 0;+}+var Bz = (e, t, n = zz(e)) => n === 2 ? e.has(t) : Ez[kz].hasOwnProperty.call(e, t), Vz = (e, t, n = zz(e)) => n === 2 ? e.get(t) : e[t], Hz = (e, t, n, r = zz(e)) => {+ r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;+};+function doe(e, t) {+ return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;+}+var Uz = Array.isArray, Wz = (e) => e instanceof Map, Gz = (e) => e instanceof Set, Kz = (e) => typeof e == "object", qz = (e) => typeof e == "function", Jz = (e) => typeof e == "boolean";+function foe(e) {+ let t = +e;+ return Number.isInteger(t) && String(t) === e;+}+var Yz = (e) => e.copy_ || e.base_, Xz = (e) => e.modified_ ? e.copy_ : e.base_;+function Zz(e, t) {+ if (Wz(e)) return new Map(e);+ if (Gz(e)) return new Set(e);+ if (Uz(e)) return Array[kz].slice.call(e);+ let n = Lz(e);+ if (t === !0 || t === "class_only" && !n) {+ let t = Ez.getOwnPropertyDescriptors(e);+ delete t[wz];+ let n = Reflect.ownKeys(t);+ for (let r = 0; r < n.length; r++) {+ let i = n[r], a = t[i];+ a[Mz] === !1 && (a[Mz] = !0, a[Az] = !0), (a.get || a.set) && (t[i] = {+ [Az]: !0,+ [Mz]: !0,+ [jz]: a[jz],+ [Nz]: e[i]+ });+ }+ return Ez.create(Dz(e), t);+ }+ {+ let t = Dz(e);+ if (t !== null && n) return { ...e };+ let r = Ez.create(t);+ return Ez.assign(r, e);+ }+}+function Qz(e, t = !1) {+ return eB(e) || Pz(e) || !Fz(e) ? e : (zz(e) > 1 && Ez.defineProperties(e, {+ set: $z,+ add: $z,+ clear: $z,+ delete: $z+ }), Ez.freeze(e), t && Rz(e, (e, t) => {+ Qz(t, !0);+ }, !1), e);+}+function poe() {+ Tz(2);+}+var $z = { [Nz]: poe };+function eB(e) {+ return e === null || !Kz(e) || Ez.isFrozen(e);+}+var tB = "MapSet", nB = "Patches", rB = "ArrayMethods", iB = {};+function aB(e) {+ let t = iB[e];+ return t || Tz(0, e), t;+}+var oB = (e) => !!iB[e], sB, cB = () => sB, moe = (e, t) => ({+ drafts_: [],+ parent_: e,+ immer_: t,+ canAutoFreeze_: !0,+ unfinalizedDrafts_: 0,+ handledSet_: /* @__PURE__ */ new Set(),+ processedForPatches_: /* @__PURE__ */ new Set(),+ mapSetPlugin_: oB(tB) ? aB(tB) : void 0,+ arrayMethodsPlugin_: oB(rB) ? aB(rB) : void 0+});+function lB(e, t) {+ t && (e.patchPlugin_ = aB(nB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+}+function uB(e) {+ dB(e), e.drafts_.forEach(hoe), e.drafts_ = null;+}+function dB(e) {+ e === sB && (sB = e.parent_);+}+var fB = (e) => sB = moe(sB, e);+function hoe(e) {+ let t = e[wz];+ t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;+}+function pB(e, t) {+ t.unfinalizedDrafts_ = t.drafts_.length;+ let n = t.drafts_[0];+ if (e !== void 0 && e !== n) {+ n[wz].modified_ && (uB(t), Tz(4)), Fz(e) && (e = mB(t, e));+ let { patchPlugin_: r } = t;+ r && r.generateReplacementPatches_(n[wz].base_, e, t);+ } else e = mB(t, n);+ return goe(t, e, !0), uB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Sz ? void 0 : e;+}+function mB(e, t) {+ if (eB(t)) return t;+ let n = t[wz];+ if (!n) return yB(t, e.handledSet_, e);+ if (!gB(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);+ vB(n, e);+ }+ return n.copy_;+}+function goe(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Qz(t, n);+}+function hB(e) {+ e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;+}+var gB = (e, t) => e.scope_ === t, _oe = [];+function _B(e, t, n, r) {+ let i = Yz(e), a = e.type_;+ if (r !== void 0 && Vz(i, r, a) === t) {+ Hz(i, r, n, a);+ return;+ }+ if (!e.draftLocations_) {+ let t = e.draftLocations_ = /* @__PURE__ */ new Map();+ Rz(i, (e, n) => {+ if (Pz(n)) {+ let r = t.get(n) || [];+ r.push(e), t.set(n, r);+ }+ });+ }+ let o = e.draftLocations_.get(t) ?? _oe;+ for (let e of o) Hz(i, e, n, a);}-//#endregion-//#region src/react/time.ts-function Dx(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);- let r = (e) => String(e).padStart(2, "0");- return `${n.getFullYear()}-${r(n.getMonth() + 1)}-${r(n.getDate())} ${r(n.getHours())}:${r(n.getMinutes())}`;+function voe(e, t, n) {+ e.callbacks_.push(function(r) {+ let i = t;+ if (!i || !gB(i, r)) return;+ r.mapSetPlugin_?.fixSetContents(i);+ let a = Xz(i);+ _B(e, i.draft_ ?? i, a, n), vB(i, r);+ });}-//#endregion-//#region src/react/follow-manage/follow-manage.ts-var Ox = "/api/follow", kx = "/api/follow/credentials", Ax = "/api/follow/check", jx = "/api/follow/source", Mx = "/api/follow/resolve", Nx = "/api/follow/suggest", Px = "/api/follow/author-alias", Fx = "/api/follow/credential", Ix = "/api/follow/status", Lx = "/api/feeds", Rx = "/api/feeds/source", zx = "/api/feeds/check", Bx = ["follow-manage"], Vx = ["follow-manage", "credentials"], Hx = ["follow-manage", "check"], Ux = ["follow-manage", "resolve"], Wx = ["follow-manage", "feeds"], Gx = (e) => [- "follow-manage",- "suggest",- e-], Kx = [["default", "默认视图"], ["table", "表格视图"]], qx = [- 10,- 20,- 50,- 100-], Jx = Object.fromEntries(yx), Yx = {- author: "name",- source: "source",- provider: "provider",- status: "status",- checked: "checked"-}, Xx = (e) => Kx.some(([t]) => t === e), Zx = (e) => qx.includes(Number(e)) ? Number(e) : 20, Qx = {- checked: ["从近到远", "从远到近"],- added: ["从近到远", "从远到近"],- name: ["倒序", "正序"],- sources: ["从多到少", "从少到多"],- source: ["倒序", "正序"],- provider: ["倒序", "正序"],- status: ["倒序", "正序"]-}, $x = (e, t) => `按${Jx[e]}${Qx[e][t === "asc" ? 0 : 1]}排序`;-function eS(e) {- let t = e.last_status;- return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;+function vB(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);+ }+ hB(e);+ }}-function tS(e) {- return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";+function yoe(e, t, n) {+ let { scope_: r } = e;+ if (Pz(n)) {+ let i = n[wz];+ gB(i, r) && i.callbacks_.push(function() {+ TB(e), _B(e, n, Xz(i), t);+ });+ } else Fz(n) && e.callbacks_.push(function() {+ let i = Yz(e);+ e.type_ === 3 ? i.has(n) && yB(n, r.handledSet_, r) : Vz(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && yB(Vz(e.copy_, t, e.type_), r.handledSet_, r);+ });+}+function yB(e, t, n) {+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Pz(e) || t.has(e) || !Fz(e) || eB(e) ? e : (t.add(e), Rz(e, (r, i) => {+ if (Pz(i)) {+ let t = i[wz];+ gB(t, n) && (Hz(e, r, Xz(t), e.type_), hB(t));+ } else Fz(i) && yB(i, t, n);+ }), e);+}+function boe(e, t) {+ let n = Uz(e), r = {+ type_: +!!n,+ scope_: t ? t.scope_ : cB(),+ modified_: !1,+ finalized_: !1,+ assigned_: void 0,+ parent_: t,+ base_: e,+ draft_: null,+ copy_: null,+ revoke_: null,+ isManual_: !1,+ callbacks_: void 0+ }, i = r, a = bB;+ n && (i = [r], a = xB);+ let { revoke: o, proxy: s } = Proxy.revocable(i, a);+ return r.draft_ = s, r.revoke_ = o, [s, r];+}+var bB = {+ get(e, t) {+ if (t === wz) 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 = Yz(e);+ if (!Bz(i, t, e.type_)) return Soe(e, i, t);+ let a = i[t];+ if (e.finalized_ || !Fz(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && foe(t)) return a;+ if (a === SB(e.base_, t) || xoe(e, t, a)) {+ TB(e);+ let n = e.type_ === 1 ? +t : t, r = EB(e.scope_, a, e, n);+ return e.copy_[n] = r;+ }+ return a;+ },+ has(e, t) {+ return t in Yz(e);+ },+ ownKeys(e) {+ return Reflect.ownKeys(Yz(e));+ },+ set(e, t, n) {+ let r = CB(Yz(e), t);+ if (r?.set) return r.set.call(e.draft_, n), !0;+ if (!e.modified_) {+ let r = SB(Yz(e), t), i = r?.[wz];+ if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;+ if (doe(n, r) && (n !== void 0 || Bz(e.base_, t, e.type_))) return !0;+ TB(e), wB(e);+ }+ return e.copy_[t] === n && (n !== void 0 || Bz(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), yoe(e, t, n), !0);+ },+ deleteProperty(e, t) {+ return TB(e), SB(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), wB(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;+ },+ getOwnPropertyDescriptor(e, t) {+ let n = Yz(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ return r && {+ [Mz]: !0,+ [Az]: e.type_ !== 1 || t !== "length",+ [jz]: r[jz],+ [Nz]: n[t]+ };+ },+ defineProperty() {+ Tz(11);+ },+ getPrototypeOf(e) {+ return Dz(e.base_);+ },+ setPrototypeOf() {+ Tz(12);+ }+}, xB = {};+for (let e in bB) {+ let t = bB[e];+ xB[e] = function() {+ let e = arguments;+ return e[0] = e[0][0], t.apply(this, e);+ };}-var nS = (e) => e.last_status === "error" || e.last_status === "unauthorized", rS = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), iS = {- source: rS,- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || rS(e, t),- status: (e, t) => eS(e) - eS(t) || rS(e, t)-}, aS = (e) => Date.parse(e || "") || 0, oS = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();-function sS(e, t = []) {- if (!e.length) return "";- let n = (e) => String(e.author_name || "").trim() || oS(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 oS(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);- if (!o.length) return e[0].label || e[0].ref || "";- let s = (e) => (e.match(/[A-Z]/g) || []).length;- return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);+xB.deleteProperty = function(e, t) {+ return xB.set.call(this, e, t, void 0);+}, xB.set = function(e, t, n) {+ return bB.set.call(this, e[0], t, n, e[0]);+};+function SB(e, t) {+ let n = e[wz];+ return (n ? Yz(n) : e)[t];}-function cS(e) {- let t = e.trim().match(/[A-Za-z0-9]/);- return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();+function xoe(e, t, n) {+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !Fz(n) || n[wz] ? !1 : e.baseRefs_.has(n);}-function lS(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 Soe(e, t, n) {+ let r = CB(t, n);+ return r ? Nz in r ? r[Nz] : r.get?.call(e.draft_) : void 0;}-function uS(e) {- let t = [], n = /* @__PURE__ */ new Map();- for (let r of e) {- let e = r.author_key || `source:${r.id}`;- n.has(e) || (n.set(e, []), t.push(e)), n.get(e).push(r);+function CB(e, t) {+ if (!(t in e)) return;+ let n = Dz(e);+ for (; n;) {+ let e = Object.getOwnPropertyDescriptor(n, t);+ if (e) return e;+ n = Dz(n);}- return t.map((e) => n.get(e));}-function dS(e, t, n, r = []) {- let i = uS(e), a = n === xx[t] ? 1 : -1, o = (e) => sS(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = iS[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));+function wB(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && wB(e.parent_));+}+function TB(e) {+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), Zz(e.base_, e.scope_.immer_.useStrictShallowCopy_));+}+var Coe = class {+ constructor(e) {+ this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {+ if (qz(e) && !qz(t)) {+ let n = t;+ t = e;+ let r = this;+ return function(e = n, ...i) {+ return r.produce(e, (e) => t.call(this, e, ...i));+ };+ }+ qz(t) || Tz(6), n !== void 0 && !qz(n) && Tz(7);+ let r;+ if (Fz(e)) {+ let i = fB(this), a = EB(i, e, void 0), o = !0;+ try {+ r = t(a), o = !1;+ } finally {+ o ? uB(i) : dB(i);+ }+ return lB(i, n), pB(r, i);+ }+ if (!e || !Kz(e)) {+ if (r = t(e), r === void 0 && (r = e), r === Sz && (r = void 0), this.autoFreeze_ && Qz(r, !0), n) {+ let t = [], i = [];+ aB(nB).generateReplacementPatches_(e, r, {+ patches_: t,+ inversePatches_: i+ }), n(t, i);+ }+ return r;+ }+ Tz(1, e);+ }, this.produceWithPatches = (e, t) => {+ if (qz(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ let n, r;+ return [+ this.produce(e, t, (e, t) => {+ n = e, r = t;+ }),+ n,+ r+ ];+ }, Jz(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Jz(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Jz(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);}- let l = (e) => Math.max(...e.map((e) => aS(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => aS(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));+ createDraft(e) {+ Fz(e) || Tz(8), Pz(e) && (e = DB(e));+ let t = fB(this), n = EB(t, e, void 0);+ return n[wz].isManual_ = !0, dB(t), n;+ }+ finishDraft(e, t) {+ let n = e && e[wz];+ (!n || !n.isManual_) && Tz(9);+ let { scope_: r } = n;+ return lB(r, t), pB(void 0, r);+ }+ setAutoFreeze(e) {+ this.autoFreeze_ = e;+ }+ setUseStrictShallowCopy(e) {+ this.useStrictShallowCopy_ = e;+ }+ setUseStrictIteration(e) {+ this.useStrictIteration_ = e;+ }+ shouldUseStrictIteration() {+ return this.useStrictIteration_;+ }+ applyPatches(e, t) {+ let n;+ for (n = t.length - 1; n >= 0; n--) {+ let r = t[n];+ if (r.path.length === 0 && r.op === "replace") {+ e = r.value;+ break;+ }+ }+ n > -1 && (t = t.slice(n + 1));+ let r = aB(nB).applyPatches_;+ return Pz(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ }+};+function EB(e, t, n, r) {+ let [i, a] = Wz(t) ? aB(tB).proxyMap_(t, n) : Gz(t) ? aB(tB).proxySet_(t, n) : boe(t, n);+ return (n?.scope_ ?? cB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? voe(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 fS(e, t, n, r = []) {- let i = e.flatMap((e) => {- let t = sS(e, r);- return e.map((n) => ({- source: n,- group: e,- author: t- }));- }), a = iS[t];- if (a) {- let e = n === xx[t] ? 1 : -1;- i.sort((t, n) => e * a(t.source, n.source));+function DB(e) {+ return Pz(e) || Tz(10, e), OB(e);+}+function OB(e) {+ if (!Fz(e) || eB(e)) return e;+ let t = e[wz], n, r = !0;+ if (t) {+ if (!t.modified_) return t.base_;+ t.finalized_ = !0, n = Zz(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = Zz(e, !0);+ return Rz(n, (e, t) => {+ Hz(n, e, OB(t));+ }, r), t && (t.finalized_ = !1), n;+}+globalThis.Iterator?.from;+var kB = new Coe().produce;+//#endregion+//#region node_modules/redux-thunk/dist/redux-thunk.mjs+function AB(e) {+ return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);+}+var woe = AB(), Toe = AB, Eoe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? bz : bz.apply(null, arguments);+};+typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;+function jB(e, t) {+ function n(...n) {+ if (t) {+ let r = t(...n);+ if (!r) throw Error(fV(0));+ return {+ type: e,+ payload: r.payload,+ ..."meta" in r && { meta: r.meta },+ ..."error" in r && { error: r.error }+ };+ }+ return {+ type: e,+ payload: n[0]+ };}- return i;+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => xz(t) && t.type === e, n;}-function pS(e, t, n) {- let r = Tx(e, t), i = Ex(n, r), a = (i - 1) * t;- return {- page: i,- pages: r,- total: e,- start: a,- end: Math.min(a + t, e)+var MB = class e extends Array {+ constructor(...t) {+ super(...t), Object.setPrototypeOf(this, e.prototype);+ }+ static get [Symbol.species]() {+ return e;+ }+ concat(...e) {+ return super.concat.apply(this, e);+ }+ prepend(...t) {+ return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));+ }+};+function NB(e) {+ return Fz(e) ? kB(e, () => {}) : e;+}+function PB(e, t, n) {+ return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);+}+function Doe(e) {+ return typeof e == "boolean";+}+var Ooe = () => function(e) {+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new MB();+ return t && (Doe(t) ? a.push(woe) : a.push(Toe(t.extraArgument))), a;+}, FB = "RTK_autoBatch", IB = () => (e) => ({+ payload: e,+ meta: { [FB]: !0 }+}), LB = (e) => (t) => {+ setTimeout(t, e);+}, koe = (e, t) => (n) => {+ let r = !1, i = () => {+ r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());+ }, a = e(i), o = setTimeout(i, t);+}, RB = (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 ? koe(window.requestAnimationFrame, 100) : LB(10) : e.type === "callback" ? e.queueNotification : LB(e.timeout), l = () => {+ o = !1, a && (a = !1, s.forEach((e) => e()));+ };+ return Object.assign({}, r, {+ subscribe(e) {+ let t = r.subscribe(() => i && e());+ return s.add(e), () => {+ t(), s.delete(e);+ };+ },+ dispatch(e) {+ try {+ return i = !e?.meta?.[FB], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);+ } finally {+ i = !0;+ }+ }+ });+}, Aoe = (e) => function(t) {+ let { autoBatch: n = !0 } = t ?? {}, r = new MB(e);+ return n && r.push(RB(typeof n == "object" ? n : void 0)), r;+};+function joe(e) {+ let t = Ooe(), { 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 (_z(n)) c = yz(n);+ else throw Error(fV(1));+ let l;+ l = typeof r == "function" ? r(t) : t();+ let u = bz;+ i && (u = Eoe({+ trace: !1,+ ...typeof i == "object" && i+ }));+ let d = Aoe(loe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);+ return vz(c, o, p);+}+function zB(e) {+ let t = {}, n = [], r, i = {+ addCase(e, n) {+ let r = typeof e == "string" ? e : e.type;+ if (!r) throw Error(fV(28));+ if (r in t) throw Error(fV(29));+ return t[r] = n, i;+ },+ addAsyncThunk(e, r) {+ return r.pending && (t[e.pending.type] = r.pending), r.rejected && (t[e.rejected.type] = r.rejected), r.fulfilled && (t[e.fulfilled.type] = r.fulfilled), r.settled && n.push({+ matcher: e.settled,+ reducer: r.settled+ }), i;+ },+ addMatcher(e, t) {+ return n.push({+ matcher: e,+ reducer: t+ }), i;+ },+ addDefaultCase(e) {+ return r = e, i;+ }+ };+ return e(i), [+ t,+ n,+ r+ ];+}+function Moe(e) {+ return typeof e == "function";+}+function Noe(e, t) {+ let [n, r, i] = zB(t), a;+ if (Moe(e)) a = () => NB(e());+ else {+ let t = NB(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 (Pz(e)) {+ let r = n(e, t);+ return r === void 0 ? e : r;+ }+ if (Fz(e)) return kB(e, (e) => n(e, t));+ {+ let r = n(e, t);+ if (r === void 0) {+ if (e === null) return e;+ throw Error("A case reducer on a non-draftable value must not return undefined");+ }+ return r;+ }+ }+ return e;+ }, e);+ }+ return o.getInitialState = a, o;+}+var Poe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Foe = (e = 21) => {+ let t = "", n = e;+ for (; n--;) t += Poe[Math.random() * 64 | 0];+ return t;+}, Ioe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");+function Loe(e, t) {+ return `${e}/${t}`;+}+function Roe({ creators: e } = {}) {+ let t = e?.asyncThunk?.[Ioe];+ return function(e) {+ let { name: n, reducerPath: r = n } = e;+ if (!n) throw Error(fV(11));+ let i = (typeof e.reducers == "function" ? e.reducers(Boe()) : e.reducers) || {}, a = Object.keys(i), o = {+ sliceCaseReducersByName: {},+ sliceCaseReducersByType: {},+ actionCreators: {},+ sliceMatchers: []+ }, s = {+ addCase(e, t) {+ let n = typeof e == "string" ? e : e.type;+ if (!n) throw Error(fV(12));+ if (n in o.sliceCaseReducersByType) throw Error(fV(13));+ return o.sliceCaseReducersByType[n] = t, s;+ },+ addMatcher(e, t) {+ return o.sliceMatchers.push({+ matcher: e,+ reducer: t+ }), s;+ },+ exposeAction(e, t) {+ return o.actionCreators[e] = t, s;+ },+ exposeCaseReducer(e, t) {+ return o.sliceCaseReducersByName[e] = t, s;+ }+ };+ a.forEach((r) => {+ let a = i[r], o = {+ reducerName: r,+ type: Loe(n, r),+ createNotation: typeof e.reducers == "function"+ };+ Hoe(a) ? Woe(o, a, s, t) : Voe(o, a, s);+ });+ function c() {+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? zB(e.extraReducers) : [e.extraReducers], i = {+ ...t,+ ...o.sliceCaseReducersByType+ };+ return Noe(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);+ r && e.addDefaultCase(r);+ });+ }+ let l = (e) => e, u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new WeakMap(), f;+ function p(e, t) {+ return f ||= c(), f(e, t);+ }+ function m() {+ return f ||= c(), f.getInitialState();+ }+ function h(t, n = !1) {+ function r(e) {+ let i = e[t];+ return i === void 0 && n && (i = PB(d, r, m)), i;+ }+ function i(t = l) {+ return PB(PB(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {+ let r = {};+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = zoe(a, t, () => PB(d, t, m), n);+ return r;+ });+ }+ return {+ reducerPath: t,+ getSelectors: i,+ get selectors() {+ return i(r);+ },+ selectSlice: r+ };+ }+ let g = {+ name: n,+ reducer: p,+ actions: o.actionCreators,+ caseReducers: o.sliceCaseReducersByName,+ getInitialState: m,+ ...h(r),+ injectInto(e, { reducerPath: t, ...n } = {}) {+ let i = t ?? r;+ return e.inject({+ reducerPath: i,+ reducer: p+ }, n), {+ ...g,+ ...h(i, !0)+ };+ }+ };+ return g;};}-function mS(e, t) {- let n = new Set(t.map((e) => e.id));- return new Set([...e].filter((e) => n.has(e)));+function zoe(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;}-function hS(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+var BB = /* @__PURE__ */ Roe();+function Boe() {+ function e(e, t) {+ return {+ _reducerDefinitionType: "asyncThunk",+ payloadCreator: e,+ ...t+ };+ }+ return e.withTypes = () => e, {+ reducer(e) {+ return Object.assign({ [e.name](...t) {+ return e(...t);+ } }[e.name], { _reducerDefinitionType: "reducer" });+ },+ preparedReducer(e, t) {+ return {+ _reducerDefinitionType: "reducerWithPrepare",+ prepare: e,+ reducer: t+ };+ },+ asyncThunk: e};}-function gS(e, t, n) {- let r = new Set(e);- for (let e of t) n ? r.add(e) : r.delete(e);- return r;-}-var _S = (e) => uh(`${Ox}?limit=1`, e), vS = (e) => uh(kx, e), yS = (e) => uh(Ax, e), bS = (e) => uh(Mx, e), xS = (e, t) => uh(`${Nx}?q=${encodeURIComponent(e)}`, t), SS = (e) => J(Ax, {- ...e?.length ? { sources: e } : {},- background: !0-}), CS = (e) => J(Mx, {- lines: e,- background: !0-}), wS = (e, t) => J(jx, {- action: "enabled",- id: e,- enabled: t-}), TS = (e) => J(jx, {- action: "remove",- id: e-}), ES = (e) => J(jx, {- action: "add",- url: e.url,- label: e.label,- author: e.author || "",- aliases: e.aliases || [],- defer_check: !0-}), DS = (e, t) => J(Px, {- action: "add",- canonical: e,- alias: t-}), OS = (e) => J(Px, {- action: "remove",- alias: e-}), kS = (e, t) => J(Fx, {- provider: e,- values: t-}), AS = (e, t) => J(Ix, {- item: e,- to: t-}), jS = () => uh(`${Ox}?status=new&limit=1000`);-async function MS(e) {- let t = await uh(Lx, e);- if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");- return t;+function Voe({ type: e, reducerName: t, createNotation: n }, r, i) {+ let a, o;+ if ("reducer" in r) {+ if (n && !Uoe(r)) throw Error(fV(17));+ a = r.reducer, o = r.prepare;+ } else a = r;+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? jB(e, o) : jB(e));}-var NS = (e, t, n) => J(Rx, {- action: "enabled",- id: e,- enabled: t-}, "POST", n), PS = (e, t) => J(Rx, {- action: "remove",- id: e-}, "POST", t), FS = (e) => J(zx, { all: !0 }, "POST", e);-async function IS(e, t = "") {- await Promise.all([- Th.fetchQuery({- queryKey: Bx,- queryFn: () => _S(e)- }),- Th.fetchQuery({- queryKey: Vx,- queryFn: () => vS(e)- }),- t === "feeds" ? Th.fetchQuery({- queryKey: Wx,- queryFn: () => MS(e)- }) : null- ]);+function Hoe(e) {+ return e._reducerDefinitionType === "asyncThunk";}-function LS(e, t) {- Th.setQueryData(Bx, (n) => n && {- ...n,- sources: n.sources.map((n) => n.id === e ? {- ...n,- ...t- } : n)- });+function Uoe(e) {+ return e._reducerDefinitionType === "reducerWithPrepare";}-function RS(e) {- let t = new Set(e);- Th.setQueryData(Bx, (e) => e && {- ...e,- sources: e.sources.filter((e) => !t.has(e.id))+function Woe({ type: e, reducerName: t }, n, r, i) {+ if (!i) throw Error(fV(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 || VB,+ pending: s || VB,+ rejected: c || VB,+ settled: l || VB});}-var zS = () => Th.invalidateQueries({- queryKey: Bx,- exact: !0-});-function BS(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 VS = (e) => (e?.results || []).filter((e) => !e.ok), HS = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", US = (e) => e.last_checked_at ? Dx(e.last_checked_at) : "未检查", WS = /* @__PURE__ */ new Set([- "fanbox",- "patreon",- "subscribestar",- "kemono",- "coomer",- "pawchive",- "rule34video",- "rule34xxx",- "rule34paheal",- "gofile",- "f95zone",- "simpcity"-]), GS = (e) => WS.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", KS = {- required: "需要",- optional: "可选",- none: "不需要",- blocked: "接不进来"-}, qS = (e) => !!e.present && !e.missing.length, JS = "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", YS = "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", XS = [- "text-chart-6",- "text-chart-5",- "text-chart-7",- "text-chart-8"-], ZS = [- "bg-chart-6/10",- "bg-chart-5/10",- "bg-chart-7/10",- "bg-chart-8/10"-];-function QS(e = {}) {- return `${vh({- ...e,- padding: "none"- })} flex flex-col overflow-hidden pt-4 text-left`;-}-var $S = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";-function eC({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.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, D.jsx)("i", {- "aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${XS[n % 4]} ${ZS[n % 4]}`,- children: /* @__PURE__ */ (0, D.jsx)(t, {- "aria-hidden": !0,- className: "size-4"- })- }) : null, /* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 truncate",- children: e- })]- }),- /* @__PURE__ */ (0, D.jsx)("b", {- className: "px-4 pt-3 pb-4 text-title-1-medium tabular-nums text-text-primary max-sm:px-3 max-sm:pb-3",- children: r- }),- /* @__PURE__ */ (0, D.jsx)("small", {- className: "mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular text-text-secondary max-sm:px-3 max-sm:py-2",- children: i- })- ] });-}-//#endregion-//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var tC = {- md: {- box: "size-4",- glyph: "size-4",- label: "text-body-medium",- gap: "gap-2"- },- sm: {- box: "size-3.5",- glyph: "size-3.5",- label: "text-body-2-medium",- gap: "gap-1.5"- }+function VB() {}+var Goe = "task", HB = "listener", UB = "completed", WB = "cancelled", Koe = `task-${WB}`, qoe = `task-${UB}`, GB = `${HB}-${WB}`, Joe = `${HB}-${UB}`, KB = class {+ constructor(e) {+ this.code = e, this.message = `${Goe} ${WB} (reason: ${e})`;+ }+ code;+ name = "TaskAbortError";+ message;+}, qB = (e, t) => {+ if (typeof e != "function") throw TypeError(fV(32));+}, JB = () => {}, YB = (e, t = JB) => (e.catch(t), e), XB = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), ZB = (e) => {+ if (e.aborted) throw new KB(e.reason);};-function nC({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tC[t], c = n || r, l = o && !a;- return /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: nh("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? nh("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : nh("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, D.jsx)("svg", {- viewBox: "0 0 16 16",- fill: "none",- className: s.glyph,- children: r ? /* @__PURE__ */ (0, D.jsx)("path", {- d: "M4.5 8H8H11.5",- stroke: "white",- strokeWidth: "2",- strokeLinecap: "round"- }) : n ? /* @__PURE__ */ (0, D.jsx)("path", {- d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",- stroke: "white",- strokeWidth: "2",- strokeLinecap: "round",- strokeLinejoin: "round",- pathLength: 1,- className: "animate-check-draw"- }) : null- })- });-}-//#endregion-//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function rC({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = tC[n];- return /* @__PURE__ */ (0, D.jsx)(Rg, {- ref: r,- ...i,- className: (t) => nh("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(nC, {- state: e,- size: n- }), t != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: nh(a.label, "text-text-primary"),- children: t- })] })+function QB(e, t) {+ let n = JB;+ return new Promise((r, i) => {+ let a = () => i(new KB(e.reason));+ if (e.aborted) {+ a();+ return;+ }+ n = XB(e, a), t.finally(() => n()).then(r, i);+ }).finally(() => {+ n = JB;});}-//#endregion-//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var iC = [- "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",- "data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",- "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(" "), aC = "w-[266px]", oC = "flex w-full flex-col gap-1 outline-none", sC = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), cC = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", lC = 2e3, uC = (e) => e, dC = (e, t) => t;-function fC(e) {- let { queryKey: t, jobOf: n = uC, withJob: r = dC, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);- (0, E.useEffect)(() => {- l.current = e;- });- let u = mt({- 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" ? lC : i ?? !1;- }- }), d = ht({- mutationFn: (e) => l.current.start(e),- onSuccess: (e) => {- o(!0), c(null), l.current.onStarted?.(e), Th.setQueryData(t, (t) => r(t, e)), Th.invalidateQueries({- queryKey: t,- exact: !0+var Yoe = async (e, t) => {+ try {+ return await Promise.resolve(), {+ status: "ok",+ value: await e()+ };+ } catch (e) {+ return {+ status: e instanceof KB ? "cancelled" : "rejected",+ error: e+ };+ } finally {+ t?.();+ }+}, $B = (e) => (t) => YB(QB(e, t).then((t) => (ZB(e), t))), eV = (e) => {+ let t = $B(e);+ return (e) => t(new Promise((t) => setTimeout(t, e)));+}, { assign: tV } = Object, nV = {}, rV = "listenerMiddleware", Xoe = (e, t) => {+ let n = (t) => XB(e, () => t.abort(e.reason));+ return (r, i) => {+ qB(r, "taskExecutor");+ let a = new AbortController();+ n(a);+ let o = Yoe(async () => {+ ZB(e), ZB(a.signal);+ let t = await r({+ pause: $B(a.signal),+ delay: eV(a.signal),+ signal: a.signal});- },- onError: (e) => l.current.onError?.(e)- }), f = u.data === void 0 ? void 0 : n(u.data), p = f?.status === "running";- return (0, E.useEffect)(() => {- if (f) {- if (f.status === "running") {- a || o(!0);- return;+ return ZB(a.signal), t;+ }, () => a.abort(qoe));+ return i?.autoJoin && t.push(o.catch(JB)), {+ result: $B(e)(o),+ cancel() {+ a.abort(Koe);}- a && (o(!1), c(f), l.current.onFinish?.(f));+ };+ };+}, Zoe = (e, t) => {+ let n = async (n, r) => {+ ZB(t);+ let i = () => {}, a = [new Promise((t, r) => {+ let a = e({+ predicate: n,+ effect: (e, n) => {+ n.unsubscribe(), t([+ e,+ n.getState(),+ n.getOriginalState()+ ]);+ }+ });+ i = () => {+ a(), r();+ };+ })];+ r != null && a.push(new Promise((e) => setTimeout(e, r, null)));+ try {+ let e = await QB(t, Promise.race(a));+ return ZB(t), e;+ } finally {+ i();}- }, [f, a]), {- query: u,- job: f,- running: p,- outcome: s,- start: d,- dismiss: () => c(null)};+ return ((e, t) => YB(n(e, t)));+}, iV = (e) => {+ let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;+ if (t) i = jB(t).match;+ else if (n) t = n.type, i = n.match;+ else if (r) i = r;+ else if (!i) throw Error(fV(21));+ return qB(a, "options.listener"), {+ predicate: i,+ type: t,+ effect: a+ };+}, aV = /* @__PURE__ */ tV((e) => {+ let { type: t, predicate: n, effect: r } = iV(e);+ return {+ id: Foe(),+ effect: r,+ type: t,+ predicate: n,+ pending: /* @__PURE__ */ new Set(),+ unsubscribe: () => {+ throw Error(fV(22));+ }+ };+}, { withTypes: () => aV }), oV = (e, t) => {+ let { type: n, effect: r, predicate: i } = iV(t);+ return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);+}, sV = (e) => {+ e.pending.forEach((e) => {+ e.abort(GB);+ });+}, Qoe = (e, t) => () => {+ for (let e of t.keys()) sV(e);+ e.clear();+}, cV = (e, t, n) => {+ try {+ e(t, n);+ } catch (e) {+ setTimeout(() => {+ throw e;+ }, 0);+ }+}, lV = /* @__PURE__ */ tV(/* @__PURE__ */ jB(`${rV}/add`), { withTypes: () => lV }), $oe = /* @__PURE__ */ jB(`${rV}/removeAll`), uV = /* @__PURE__ */ tV(/* @__PURE__ */ jB(`${rV}/remove`), { withTypes: () => uV }), ese = (...e) => {+ console.error(`${rV}/error`, ...e);+}, dV = (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 = ese } = e;+ qB(o, "onError");+ let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {+ e.unsubscribe(), t?.cancelActive && sV(e);+ }), c = ((e) => {+ let n = oV(t, e) ?? aV(e);+ return s(n);+ });+ tV(c, { withTypes: () => c });+ let l = (e) => {+ let n = oV(t, e);+ return n && (n.unsubscribe(), e.cancelActive && sV(n)), !!n;+ };+ tV(l, { withTypes: () => l });+ let u = async (e, n, s, l) => {+ let u = new AbortController(), d = Zoe(c, u.signal), f = [];+ try {+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, tV({}, s, {+ getOriginalState: l,+ condition: (e, t) => d(e, t).then(Boolean),+ take: d,+ delay: eV(u.signal),+ pause: $B(u.signal),+ extra: a,+ signal: u.signal,+ fork: Xoe(u.signal, f),+ unsubscribe: e.unsubscribe,+ subscribe: () => {+ t.set(e.id, e);+ },+ cancelActiveListeners: () => {+ e.pending.forEach((e, t, n) => {+ e !== u && (e.abort(GB), n.delete(e));+ });+ },+ cancel: () => {+ u.abort(GB), e.pending.delete(u);+ },+ throwIfCancelled: () => {+ ZB(u.signal);+ }+ })));+ } catch (e) {+ e instanceof KB || cV(o, e, { raisedBy: "effect" });+ } finally {+ await Promise.all(f), u.abort(Joe), i(e), e.pending.delete(u);+ }+ }, d = Qoe(t, n);+ return {+ middleware: (e) => (n) => (r) => {+ if (!xz(r)) return n(r);+ if (lV.match(r)) return c(r.payload);+ if ($oe.match(r)) {+ d();+ return;+ }+ if (uV.match(r)) return l(r.payload);+ let i = e.getState(), a = () => {+ if (i === nV) throw Error(fV(23));+ return i;+ }, s;+ try {+ if (s = n(r), t.size > 0) {+ let n = e.getState(), s = Array.from(t.values());+ for (let t of s) {+ let s = !1;+ try {+ s = t.predicate(r, n, i);+ } catch (e) {+ s = !1, cV(o, e, { raisedBy: "predicate" });+ }+ s && u(t, r, e, a);+ }+ }+ } finally {+ i = nV;+ }+ return s;+ },+ startListening: c,+ stopListening: l,+ clearListeners: d+ };+};+function fV(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 src/react/boardui/components/application/settings/settings-rows.tsx-function pC({ className: e, children: t }) {- return /* @__PURE__ */ (0, D.jsx)("div", {- className: nh("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),- children: t- });+//#region node_modules/recharts/es6/state/layoutSlice.js+var pV = BB({+ name: "chartLayout",+ initialState: {+ layoutType: "horizontal",+ width: 0,+ height: 0,+ margin: {+ top: 5,+ right: 5,+ bottom: 5,+ left: 5+ },+ scale: 1+ },+ reducers: {+ setLayout(e, t) {+ e.layoutType = t.payload;+ },+ setChartSize(e, t) {+ e.width = t.payload.width, e.height = t.payload.height;+ },+ setMargin(e, t) {+ e.margin.top = t.payload.top ?? 0, e.margin.right = t.payload.right ?? 0, e.margin.bottom = t.payload.bottom ?? 0, e.margin.left = t.payload.left ?? 0;+ },+ setScale(e, t) {+ e.scale = t.payload;+ }+ }+}), { setMargin: tse, setLayout: nse, setChartSize: rse, setScale: ise } = pV.actions, ase = pV.reducer;+//#endregion+//#region node_modules/recharts/es6/util/getSliced.js+function mV(e, t, n) {+ return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;}-function mC({ className: e, children: t }) {- return /* @__PURE__ */ (0, D.jsx)("p", {- className: nh("w-full px-3 text-body-2-medium text-text-secondary", e),- children: t- });+//#endregion+//#region node_modules/recharts/es6/util/isWellBehavedNumber.js+function hV(e) {+ return Number.isFinite(e);}-function hC({ label: e, description: t, children: n }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: nh("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, D.jsxs)("div", {- className: "flex min-w-0 flex-col",- children: [/* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-regular text-text-primary",- children: e- }), t && /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: t- })]- }), n]- });+function gV(e) {+ return typeof e == "number" && e > 0 && Number.isFinite(e);}//#endregion-//#region src/react/boardui/components/base/buttons/link-button.tsx-var gC = rh({- base: [- "inline-flex items-center justify-center gap-1 whitespace-nowrap",- "font-sans select-none cursor-pointer rounded-sm",- "underline-offset-3 hover:underline",- "transition-colors duration-150 ease",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"- ].join(" "),- size: {- medium: "text-body-medium",- small: "text-body-medium",- xs: "text-caption-1-semibold"- },- icon: {- medium: "size-5 shrink-0",- small: "size-[18px] shrink-0",- xs: "size-3.5 shrink-0"- },- variant: {- primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),- secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")+//#region node_modules/recharts/es6/util/ChartUtils.js+function _V(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);}-});-function _C({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = nh(gC.base, gC.size[t], gC.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- n ? /* @__PURE__ */ (0, D.jsx)(n, {- className: gC.icon[t],- "aria-hidden": !0- }) : null,- i != null && /* @__PURE__ */ (0, D.jsx)("span", { children: i }),- r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: gC.icon[t],- "aria-hidden": !0- }) : null- ] });- if (s.href !== void 0) {- let { ref: e, href: t, ...n } = s;- return /* @__PURE__ */ (0, D.jsx)("a", {- ref: e,- href: o ? void 0 : t,- "aria-disabled": o || void 0,- className: c,- ...n,- children: l+ return n;+}+function vV(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? _V(Object(n), !0).forEach(function(t) {+ ose(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _V(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}- let { ref: u, type: d = "button", ...f } = s;- return /* @__PURE__ */ (0, D.jsx)("button", {- ref: u,- type: d,- disabled: o,- className: c,- ...f,- children: l+ return e;+}+function ose(e, t, n) {+ return (t = sse(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function sse(e) {+ var t = cse(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function cse(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function yV(e, t, n) {+ return gR(e) || gR(t) ? n : lR(t) ? tR(e, t, n) : typeof t == "function" ? t(e) : n;+}+var lse = (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 vV(vV({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return vV(vV({}, e), {}, { [o]: e[o] + (i || 0) });+ }+ return e;+}, bV = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", xV = (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;+}, SV = (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 ? oR(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 hV(i) ? {+ coordinate: i + h,+ value: e,+ offset: h,+ index: t+ } : null;+ }).filter(vR) : c && l ? l.map((e, t) => {+ var n = o.map(e);+ return hV(n) ? {+ coordinate: n + h,+ value: e,+ index: t,+ offset: h+ } : null;+ }).filter(vR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ var n = o.map(e);+ return hV(n) ? {+ coordinate: n + h,+ value: e,+ index: t,+ offset: h+ } : null;+ }).filter(vR) : o.domain().map((e, t) => {+ var n = o.map(e);+ return hV(n) ? {+ coordinate: n + h,+ value: r ? r[e] : e,+ index: t,+ offset: h+ } : null;+ }).filter(vR);+}, CV = (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;+}, use = {+ sign: (e) => {+ var t = e.length;+ if (!(t <= 0)) {+ var n = e[0]?.length;+ 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 = sR(c) ? l : c;+ u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);+ }+ }+ }+ },+ expand: WL,+ none: zL,+ silhouette: GL,+ wiggle: KL,+ positive: (e) => {+ var t = e.length;+ if (!(t <= 0)) {+ var n = e[0]?.length;+ 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 = sR(o[1]) ? o[0] : o[1];+ s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);+ }+ }+ }+ }+}, dse = (e, t, n) => {+ var r = use[n] ?? zL, i = UL().keys(t).value((e, t) => Number(yV(e, t, 0))).order(BL).offset(r)(e);+ return i.forEach((n, r) => {+ n.forEach((n, i) => {+ var a = yV(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 wV(e) {+ return e == null ? void 0 : String(e);+}+function TV(e) {+ var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;+ if (t.type === "category") {+ if (!t.allowDuplicatedCategory && t.dataKey && !gR(i[t.dataKey])) {+ var s = hR(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 = yV(i, gR(o) ? t.dataKey : o), l = t.scale.map(c);+ return Z(l) ? l : null;+}+var EV = (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 = yV(a, t.dataKey, t.scale.domain()[o]);+ if (gR(s)) return null;+ var c = t.scale.map(s);+ return Z(c) ? c - i / 2 + r : null;+}, DV = (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];+}, fse = (e) => {+ var t = e.flat(2).filter(Z);+ return [Math.min(...t), Math.max(...t)];+}, pse = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], mse = (e, t, n) => {+ if (e != null) return pse(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 = fse(mV(r, t, n));+ return !hV(i[0]) || !hV(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];+ }, [Infinity, -Infinity]);+ return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];+ }, [Infinity, -Infinity]));+}, OV = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, kV = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, AV = (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 = lz(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);+ }+ return a === Infinity ? 0 : a;+ }+ return n ? void 0 : 0;+};+function jV(e) {+ var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;+ return vV(vV({}, t), {}, {+ dataKey: n,+ payload: r,+ value: i,+ name: a});}+function MV(e, t) {+ if (e) return String(e);+ if (typeof t == "string") return t;+}+var hse = (e, t) => {+ if (t === "horizontal") return e.relativeX;+ if (t === "vertical") return e.relativeY;+}, gse = (e, t) => t === "centric" ? e.angle : e.radius, NV = (e) => e.layout.width, PV = (e) => e.layout.height, _se = (e) => e.layout.scale, FV = (e) => e.layout.margin, IV = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), LV = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vse = "data-recharts-item-index";//#endregion-//#region src/react/settings/section.tsx-function vC({ title: e, id: t, aside: n, onSubmit: r, children: i }) {- let a = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex w-full flex-wrap items-center justify-between gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(mC, { children: e })- }), n]- }) : /* @__PURE__ */ (0, D.jsx)(mC, { children: e }), /* @__PURE__ */ (0, D.jsx)(pC, { children: i })] });- return r ? /* @__PURE__ */ (0, D.jsx)("form", {- id: t,- "aria-label": e,- noValidate: !0,- onSubmit: r,- className: "flex w-full flex-col gap-2",- children: a- }) : /* @__PURE__ */ (0, D.jsx)("section", {- id: t,- "aria-label": e,- className: "flex w-full flex-col gap-2",- children: a- });+//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js+function RV(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function yC({ children: e }) {- return /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col",- children: e- });+function zV(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? RV(Object(n), !0).forEach(function(t) {+ yse(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RV(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function bC({ divided: e = !1, children: t }) {- return e ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",- children: t- }) : /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col gap-4 py-4 pr-3",- children: t- });+function yse(e, t, n) {+ return (t = bse(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function bse(e) {+ var t = xse(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function xse(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var Sse = (e) => e.brush.height;+function Cse(e) {+ return LV(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+}+function wse(e) {+ return LV(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+}+function Tse(e) {+ return IV(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);+}+function Ese(e) {+ return IV(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);+}+var BV = $([+ NV,+ PV,+ FV,+ Sse,+ Cse,+ wse,+ Tse,+ Ese,+ uz,+ aoe+], (e, t, n, r, i, a, o, s, c, l) => {+ var u = {+ left: (n.left || 0) + i,+ right: (n.right || 0) + a+ }, d = zV(zV({}, {+ top: (n.top || 0) + o,+ bottom: (n.bottom || 0) + s+ }), u), f = d.bottom;+ d.bottom += r, d = lse(d, c, l);+ var p = e - d.left - d.right, m = t - d.top - d.bottom;+ return zV(zV({ brushBottom: f }, d), {}, {+ width: Math.max(p, 0),+ height: Math.max(m, 0)+ });+}), Dse = $(BV, (e) => ({+ x: e.left,+ y: e.top,+ width: e.width,+ height: e.height+})), VV = $(NV, PV, (e, t) => ({+ x: 0,+ y: 0,+ width: e,+ height: t+})), Ose = /*#__PURE__*/ (0, E.createContext)(null), HV = () => (0, E.useContext)(Ose) != null, UV = (e) => e.brush, WV = $([+ UV,+ BV,+ FV+], (e, t, n) => ({+ height: e.height,+ x: Z(e.x) ? e.x : t.left,+ y: Z(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),+ width: Z(e.width) ? e.width : t.width+}));+//#endregion+//#region node_modules/es-toolkit/dist/function/debounce.mjs+function kse(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 = () => {+ s && c(), p();+ }, u = null, d = () => {+ u != null && clearTimeout(u), u = setTimeout(() => {+ u = null, l();+ }, t);+ }, f = () => {+ u !== null && (clearTimeout(u), u = null);+ }, p = () => {+ f(), i = void 0, a = null;+ }, m = () => {+ c();+ }, h = function(...e) {+ if (n?.aborted) return;+ i = this, a = e;+ let t = u == null;+ d(), o && t && c();+ };+ return h.schedule = d, h.cancel = p, h.flush = m, n?.addEventListener("abort", p, { once: !0 }), h;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs+function Ase(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 = kse(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);+ };+ return u.cancel = l.cancel, u.flush = () => (l.flush(), s), u;}-function xC({ status: e, children: t }) {- return /* @__PURE__ */ (0, D.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, D.jsx)("div", {- className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",- children: e- }) : null, t]+//#endregion+//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs+function jse(e, t = 0, n = {}) {+ let { leading: r = !0, trailing: i = !0 } = n;+ return Ase(e, t, {+ leading: r,+ maxWait: t,+ trailing: i});}-function SC({ role: e, children: t }) {- return /* @__PURE__ */ (0, D.jsx)("p", {- role: e,- className: "text-body-2-regular text-text-secondary",- children: t- });+//#endregion+//#region node_modules/recharts/es6/util/LogUtils.js+var GV = 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.");+ else {+ var r = 0;+ console.warn(t.replace(/%s/g, () => n[r++]));+ }+ }+}, KV = {+ width: "100%",+ height: "100%",+ debounce: 0,+ minWidth: 0,+ initialDimension: {+ width: -1,+ height: -1+ }+}, qV = (e, t, n) => {+ var { width: r = KV.width, height: i = KV.height, aspect: a, maxHeight: o } = n, s = cR(r) ? e : Number(r), c = cR(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+ };+}, Mse = {+ width: 0,+ height: 0,+ overflow: "visible"+}, Nse = {+ width: 0,+ overflowX: "visible"+}, Pse = {+ height: 0,+ overflowY: "visible"+}, Fse = {}, Ise = (e) => {+ var { width: t, height: n } = e, r = cR(t), i = cR(n);+ return r && i ? Mse : r ? Nse : i ? Pse : Fse;+};+function Lse(e) {+ var { width: t, height: n, aspect: r } = e, i = t, a = n;+ return i === void 0 && a === void 0 ? (i = KV.width, a = KV.height) : i === void 0 ? i = r && r > 0 ? void 0 : KV.width : a === void 0 && (a = r && r > 0 ? void 0 : KV.height), {+ width: i,+ height: a+ };}-function CC({ children: e }) {- return /* @__PURE__ */ (0, D.jsx)("p", {- role: "alert",- className: "text-body-2-regular text-text-error-primary",- children: e- });+//#endregion+//#region node_modules/recharts/es6/component/ResponsiveContainer.js+function JV() {+ return JV = 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;+ }, JV.apply(null, arguments);}-function wC({ children: e }) {- return /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-medium text-text-primary",- children: e- });+function YV(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function TC({ href: e, children: t }) {- return /* @__PURE__ */ (0, D.jsx)(_C, {- href: e,- target: "_blank",- rel: "noopener noreferrer",- size: "small",- trailingIcon: $f,- children: t- });+function XV(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? YV(Object(n), !0).forEach(function(t) {+ Rse(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YV(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function EC({ children: e }) {- return /* @__PURE__ */ (0, D.jsx)("dl", {- className: "flex flex-col",- children: e- });+function Rse(e, t, n) {+ return (t = zse(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;}-function DC({ term: e, children: t }) {- return /* @__PURE__ */ (0, D.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, D.jsx)("dt", {- className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",- children: e- }), /* @__PURE__ */ (0, D.jsx)("dd", {- className: "flex min-w-0 flex-wrap items-center justify-end gap-2 text-right text-body-regular break-all text-text-primary",- children: t- })]- });+function zse(e) {+ var t = Bse(e, "string");+ return typeof t == "symbol" ? t : t + "";}-function OC({ summary: e, defaultOpen: t = !1, children: n }) {- let r = (0, E.useId)(), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(!1), [s, c] = (0, E.useState)(t);- return /* @__PURE__ */ (0, D.jsxs)("details", {- ref: (e) => {- i.current = e, e && t && !o.current && (o.current = !0, e.open = !0);- },- children: [/* @__PURE__ */ (0, D.jsxs)("summary", {- "aria-expanded": s,- "aria-controls": r,- onClick: (e) => {- e.preventDefault(), !(!i.current || !a.current) && (l(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, D.jsx)(Wf, {- "aria-hidden": !0,- className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"- }), e]- }), /* @__PURE__ */ (0, D.jsx)("div", {- ref: a,- id: r,- inert: !s,- children: /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col gap-2 pt-3",- children: n- })- })]+function Bse(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var ZV = /*#__PURE__*/ (0, E.createContext)(KV.initialDimension);+function Vse(e) {+ return gV(e.width) && gV(e.height);+}+function QV(e) {+ var { children: t, width: n, height: r } = e, i = (0, E.useMemo)(() => ({+ width: n,+ height: r+ }), [n, r]);+ return Vse(i) ? /*#__PURE__*/ E.createElement(ZV.Provider, { value: i }, t) : null;+}+var $V = () => (0, E.useContext)(ZV), Hse = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { aspect: n, initialDimension: r = KV.initialDimension, width: i, height: a, minWidth: o = KV.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = KV.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, E.useRef)(null), g = (0, E.useRef)();+ g.current = p, (0, E.useImperativeHandle)(t, () => h.current);+ var [_, v] = (0, E.useState)({+ containerWidth: r.width,+ containerHeight: r.height+ }), y = (0, E.useCallback)((e, t) => {+ v((n) => {+ var r = Math.round(e), i = Math.round(t);+ return n.containerWidth === r && n.containerHeight === i ? n : {+ containerWidth: r,+ containerHeight: i+ };+ });+ }, []);+ (0, E.useEffect)(() => {+ if (h.current == null || typeof ResizeObserver > "u") return yR;+ var e = (e) => {+ var t, n = e[0];+ if (n != null) {+ var { width: r, height: i } = n.contentRect;+ y(r, i), (t = g.current) == null || t.call(g, r, i);+ }+ };+ u > 0 && (e = jse(e, u, {+ trailing: !0,+ leading: !1+ }));+ var t = new ResizeObserver(e), { width: n, height: r } = h.current.getBoundingClientRect();+ return y(n, r), t.observe(h.current), () => {+ t.disconnect();+ };+ }, [y, u]);+ var { containerWidth: b, containerHeight: x } = _;+ GV(!n || n > 0, "The aspect(%s) must be greater than zero.", n);+ var { calculatedWidth: S, calculatedHeight: C } = qV(b, x, {+ width: i,+ height: a,+ aspect: n,+ maxHeight: c+ });+ return GV(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__*/ E.createElement("div", {+ id: d ? `${d}` : void 0,+ className: Sm("recharts-responsive-container", f),+ style: XV(XV({}, m), {}, {+ width: i,+ height: a,+ minWidth: o,+ minHeight: s,+ maxHeight: c+ }),+ ref: h+ }, /*#__PURE__*/ E.createElement("div", { style: Ise({+ width: i,+ height: a+ }) }, /*#__PURE__*/ E.createElement(QV, {+ width: S,+ height: C+ }, l)));+}), eH = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = $V();+ if (gV(n.width) && gV(n.height)) return e.children;+ var { width: r, height: i } = Lse({+ width: e.width,+ height: e.height,+ aspect: e.aspect+ }), { calculatedWidth: a, calculatedHeight: o } = qV(void 0, void 0, {+ width: r,+ height: i,+ aspect: e.aspect,+ maxHeight: e.maxHeight});+ return Z(a) && Z(o) ? /*#__PURE__*/ E.createElement(QV, {+ width: a,+ height: o+ }, e.children) : /*#__PURE__*/ E.createElement(Hse, JV({}, e, {+ width: r,+ height: i,+ ref: t+ }));+});+//#endregion+//#region node_modules/recharts/es6/context/chartLayoutContext.js+function tH(e) {+ if (e) return {+ x: e.x,+ y: e.y,+ upperWidth: "upperWidth" in e ? e.upperWidth : e.width,+ lowerWidth: "lowerWidth" in e ? e.lowerWidth : e.width,+ width: e.width,+ height: e.height+ };}-function kC({ name: e }) {- return /* @__PURE__ */ (0, D.jsx)("svg", {- "aria-hidden": !0,- viewBox: "0 0 24 24",- fill: "none",- className: "size-4 shrink-0 stroke-current stroke-2",- children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })- });+var nH = () => {+ var e = HV(), t = Q(Dse), n = Q(WV), r = Q(UV)?.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+ };+}, Use = {+ top: 0,+ bottom: 0,+ left: 0,+ right: 0,+ width: 0,+ height: 0,+ brushBottom: 0+}, rH = () => Q(BV) ?? Use, iH = () => Q(NV), aH = () => Q(PV), Wse = () => Q((e) => e.layout.margin), oH = (e) => e.layout.layoutType, sH = () => Q(oH), cH = () => {+ var e = sH();+ if (e === "horizontal" || e === "vertical") return e;+}, lH = (e) => {+ var t = e.layout.layoutType;+ if (t === "centric" || t === "radial") return t;+}, Gse = () => Q(lH), Kse = () => sH() !== void 0, uH = (e) => {+ var t = tz(), n = HV(), { width: r, height: i } = e, a = $V(), o = r, s = i;+ return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, E.useEffect)(() => {+ !n && gV(o) && gV(s) && t(rse({+ width: o,+ height: s+ }));+ }, [+ t,+ n,+ o,+ s+ ]), null;+}, dH = Symbol.for("immer-nothing"), fH = Symbol.for("immer-draftable"), pH = Symbol.for("immer-state");+function mH(e, ...t) {+ throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);+}+var hH = Object.getPrototypeOf;+function gH(e) {+ return !!e && !!e[pH];+}+function _H(e) {+ return e ? yH(e) || Array.isArray(e) || !!e[fH] || !!e.constructor?.[fH] || wH(e) || TH(e) : !1;+}+var qse = Object.prototype.constructor.toString(), vH = /* @__PURE__ */ new WeakMap();+function yH(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 = vH.get(n);+ return r === void 0 && (r = Function.toString.call(n), vH.set(n, r)), r === qse;+}+function bH(e, t, n = !0) {+ xH(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 xH(e) {+ let t = e[pH];+ return t ? t.type_ : Array.isArray(e) ? 1 : wH(e) ? 2 : TH(e) ? 3 : 0;+}+function SH(e, t) {+ return xH(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);+}+function CH(e, t, n) {+ let r = xH(e);+ r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;+}+function Jse(e, t) {+ return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;+}+function wH(e) {+ return e instanceof Map;+}+function TH(e) {+ return e instanceof Set;+}+function EH(e) {+ return e.copy_ || e.base_;+}+function DH(e, t) {+ if (wH(e)) return new Map(e);+ if (TH(e)) return new Set(e);+ if (Array.isArray(e)) return Array.prototype.slice.call(e);+ let n = yH(e);+ if (t === !0 || t === "class_only" && !n) {+ let t = Object.getOwnPropertyDescriptors(e);+ delete t[pH];+ let n = Reflect.ownKeys(t);+ for (let r = 0; r < n.length; r++) {+ let i = n[r], a = t[i];+ a.writable === !1 && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {+ configurable: !0,+ writable: !0,+ enumerable: a.enumerable,+ value: e[i]+ });+ }+ return Object.create(hH(e), t);+ }+ {+ let t = hH(e);+ if (t !== null && n) return { ...e };+ let r = Object.create(t);+ return Object.assign(r, e);+ }}-function AC({ mark: e }) {- return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, D.jsx)("img", {- src: e,- alt: "",- width: 16,- height: 16,- className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(kC, { name: e });+function OH(e, t = !1) {+ return AH(e) || gH(e) || !_H(e) ? e : (xH(e) > 1 && Object.defineProperties(e, {+ set: kH,+ add: kH,+ clear: kH,+ delete: kH+ }), Object.freeze(e), t && Object.values(e).forEach((e) => OH(e, !0)), e);}-//#endregion-//#region src/react/follow-manage/source-view.tsx-function jC({ provider: e, label: t }) {- let n = GS(e), [r, i] = (0, E.useState)(!1);- return !n || r ? t ? /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: t }) : null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("img", {- src: n,- alt: "",- width: 14,- height: 14,- loading: "lazy",- onError: () => i(!0),- className: "size-3.5 shrink-0 rounded-sm object-contain"- }), t ? /* @__PURE__ */ (0, D.jsx)(ss, { children: t }) : null] });+function Yse() {+ mH(2);}-function MC({ group: e, name: t }) {- let { src: n, fallback: r } = lS(e), [i, a] = (0, E.useState)(0), o = [n, r].filter(Boolean)[i];- return o ? /* @__PURE__ */ (0, D.jsx)("img", {- src: o,- alt: "",- width: 32,- height: 32,- loading: "lazy",- referrerPolicy: "no-referrer",- onError: () => a(i + 1),- className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"- }) : /* @__PURE__ */ (0, D.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: cS(t)- });+var kH = { value: Yse };+function AH(e) {+ return typeof e != "object" || !e || Object.isFrozen(e);}-function NC({ source: e }) {- let t = nS(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";- return /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: t,- children: tS(e)- });+var Xse = {};+function jH(e) {+ let t = Xse[e];+ return t || mH(0, e), t;}-function PC({ source: e }) {- return /* @__PURE__ */ (0, D.jsx)("a", {- href: e.url,- target: "_blank",- rel: "noreferrer noopener",- title: "打开原来源",- className: "min-w-0 text-body-medium break-words text-text-primary underline-offset-2 hover:underline",- children: e.label- });+var MH;+function NH() {+ return MH;}-//#endregion-//#region src/react/follow-manage/add-source.tsx-var FC = nh(sC, cC, "text-body-2-medium"), IC = "粘贴来源链接,或输入创作者名、id…", LC = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", RC = "识别中…", zC = "站内没有查到来源", BC = (e, t) => `${e}:${t.url}`;-function VC({ options: e, active: t, busy: n, onPick: r }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- "aria-label": "来源建议",- className: nh(iC, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),- children: [n && !e.length ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "px-2 py-1.5",- children: /* @__PURE__ */ (0, D.jsx)(xh, { label: "正在查找建议" })- }) : null, e.map((e, n) => /* @__PURE__ */ (0, D.jsxs)("button", {- type: "button",- "aria-current": n === t ? "true" : void 0,- className: n === t ? nh(FC, "bg-background-secondary-default") : FC,- onMouseDown: (e) => e.preventDefault(),- onClick: () => r(e.value),- children: [/* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 grow truncate text-left",- children: e.label- }), /* @__PURE__ */ (0, D.jsx)("span", {- className: "shrink-0 text-caption-1-regular text-text-tertiary",- children: e.group- })]- }, `${e.group}-${e.value}`))]- });+function Zse(e, t) {+ return {+ drafts_: [],+ parent_: e,+ immer_: t,+ canAutoFreeze_: !0,+ unfinalizedDrafts_: 0+ };}-function HC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {- let i = (0, E.useRef)(null), [a, o] = (0, E.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);+function PH(e, t) {+ t && (jH("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+}+function FH(e) {+ IH(e), e.drafts_.forEach(Qse), e.drafts_ = null;+}+function IH(e) {+ e === MH && (MH = e.parent_);+}+function LH(e) {+ return MH = Zse(MH, e);+}+function Qse(e) {+ let t = e[pH];+ t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;+}+function RH(e, t) {+ t.unfinalizedDrafts_ = t.drafts_.length;+ let n = t.drafts_[0];+ return e !== void 0 && e !== n ? (n[pH].modified_ && (FH(t), mH(4)), _H(e) && (e = zH(t, e), t.parent_ || VH(t, e)), t.patches_ && jH("Patches").generateReplacementPatches_(n[pH].base_, e, t.patches_, t.inversePatches_)) : e = zH(t, n, []), FH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === dH ? void 0 : e;+}+function zH(e, t, n) {+ if (AH(t)) return t;+ let r = e.immer_.shouldUseStrictIteration(), i = t[pH];+ if (!i) return bH(t, (r, a) => BH(e, i, t, r, a, n), r), t;+ if (i.scope_ !== e) return t;+ if (!i.modified_) return VH(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), bH(a, (r, a) => BH(e, i, t, r, a, n, o), r), VH(e, t, !1), n && e.patches_ && jH("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);+ }+ return i.copy_;+}+function BH(e, t, n, r, i, a, o) {+ if (i == null || typeof i != "object" && !o) return;+ let s = AH(i);+ if (!(s && !o)) {+ if (gH(i)) {+ let o = zH(e, i, a && t && t.type_ !== 3 && !SH(t.assigned_, r) ? a.concat(r) : void 0);+ if (CH(n, r, o), gH(o)) e.canAutoFreeze_ = !1;+ else return;+ } else o && n.add(i);+ if (_H(i) && !s) {+ if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;+ zH(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (wH(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && VH(e, i);+ }+ }+}+function VH(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && OH(t, n);+}+function HH(e, t) {+ let n = Array.isArray(e), r = {+ type_: +!!n,+ scope_: t ? t.scope_ : NH(),+ modified_: !1,+ finalized_: !1,+ assigned_: {},+ parent_: t,+ base_: e,+ draft_: null,+ copy_: null,+ revoke_: null,+ isManual_: !1+ }, i = r, a = UH;+ n && (i = [r], a = WH);+ let { revoke: o, proxy: s } = Proxy.revocable(i, a);+ return r.draft_ = s, r.revoke_ = o, s;+}+var UH = {+ get(e, t) {+ if (t === pH) return e;+ let n = EH(e);+ if (!SH(n, t)) return KH(e, n, t);+ let r = n[t];+ return e.finalized_ || !_H(r) ? r : r === GH(e.base_, t) ? (YH(e), e.copy_[t] = ZH(r, e)) : r;+ },+ has(e, t) {+ return t in EH(e);+ },+ ownKeys(e) {+ return Reflect.ownKeys(EH(e));+ },+ set(e, t, n) {+ let r = qH(EH(e), t);+ if (r?.set) return r.set.call(e.draft_, n), !0;+ if (!e.modified_) {+ let r = GH(EH(e), t), i = r?.[pH];+ if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;+ if (Jse(n, r) && (n !== void 0 || SH(e.base_, t))) return !0;+ YH(e), JH(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 GH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, YH(e), JH(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;+ },+ getOwnPropertyDescriptor(e, t) {+ let n = EH(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ return r && {+ writable: !0,+ configurable: e.type_ !== 1 || t !== "length",+ enumerable: r.enumerable,+ value: n[t]+ };+ },+ defineProperty() {+ mH(11);+ },+ getPrototypeOf(e) {+ return hH(e.base_);+ },+ setPrototypeOf() {+ mH(12);+ }+}, WH = {};+bH(UH, (e, t) => {+ WH[e] = function() {+ return arguments[0] = arguments[0][0], t.apply(this, arguments);};- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(K, {- ref: i,- variant: "secondary",- leadingIcon: tp,- "aria-haspopup": "dialog",- "aria-expanded": a,- "aria-label": l,- onClick: () => o(!0),- children: l- }), /* @__PURE__ */ (0, D.jsx)(hv, {- triggerRef: i,- isOpen: a,- onOpenChange: o,- placement: "bottom end",- offset: 4,- className: iC,- children: /* @__PURE__ */ (0, D.jsxs)(yv, {- "aria-label": "来源筛选",- className: "flex w-64 flex-col gap-1 outline-none",- children: [s.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex items-center gap-2 pb-1",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- onClick: () => n(/* @__PURE__ */ new Set()),- children: "全选"- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- onClick: () => n(new Set(s.map((e) => e.provider_label))),- children: "全不选"- })]- }) : /* @__PURE__ */ (0, D.jsx)(SC, { children: "暂无可用来源" }), s.map((e) => {- let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: !t.has(e.provider_label),- onChange: (t) => u(e.provider_label, t),- children: /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(jC, { provider: e.provider }), e.provider_label]- })- }), n ? /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "xs",- className: "ml-auto",- onClick: () => {- o(!1), r();- },- children: "需要配置凭据"- }) : null]- }, e.provider);- })]- })- })] });+}), WH.deleteProperty = function(e, t) {+ return WH.set.call(this, e, t, void 0);+}, WH.set = function(e, t, n) {+ return UH.set.call(this, e[0], t, n, e[0]);+};+function GH(e, t) {+ let n = e[pH];+ return (n ? EH(n) : e)[t];}-function UC({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {- if (e.kind === "error") return /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: e.line,- children: e.error || "查找失败"- });- let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- padding: "none",- className: "flex flex-col gap-2 p-4"- }),- children: [- /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-body-medium text-text-primary",- children: e.line- }),- a.length ? a.map((e) => {- let n = BC(t, e);- return /* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: !e.known && !r.has(n),- isDisabled: e.known,- onChange: (e) => i(n, e),- children: /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 flex-wrap items-center gap-1.5",- children: [- /* @__PURE__ */ (0, D.jsx)(jC, { provider: e.provider }),- /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-body-medium",- children: e.provider_label- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 break-words",- children: e.label- }),- /* @__PURE__ */ (0, D.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: e.known ? "已经关注" : e.evidence- })- ]- })- }, n);- }) : /* @__PURE__ */ (0, D.jsx)(SC, { children: zC }),- (e.external_searches || []).map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: e.evidence- }), /* @__PURE__ */ (0, D.jsx)(TC, {- href: e.url,- children: `${e.label}:${e.query}`- })]- }, e.url)),- o.length ? /* @__PURE__ */ (0, D.jsx)(SC, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null- ]- });+function KH(e, t, n) {+ let r = qH(t, n);+ return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;}-function WC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {- let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(-1), [h, g] = (0, E.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, E.useState)(/* @__PURE__ */ new Set()), [y, b] = (0, E.useState)(""), [x, S] = (0, E.useState)(0);- (0, E.useEffect)(() => {- let e = a.trim();- if (!e || e.includes("/")) {- u("");- return;- }- let t = setTimeout(() => u(e), 250);- return () => clearTimeout(t);- }, [a]);- let C = mt({- queryKey: Gx(l),- queryFn: ({ signal: e }) => xS(l, e),- enabled: l.length > 0 && d- }), w = (0, E.useMemo)(() => (C.data?.groups || []).flatMap((e) => e.items.map((t) => ({- value: t.value,- label: t.matched || t.value,- group: e.label- }))), [C.data]), { job: T, running: O, outcome: k, start: A, dismiss: j } = fC({- queryKey: Ux,- queryFn: ({ signal: e }) => bS(e),- start: (e) => CS([e]),- onStarted: () => v(/* @__PURE__ */ new Set()),- onError: (e) => b(q(e)),- onFinish: (e) => {- e.status === "failed" && b(e.error || "查找失败");- }- }), M = (e) => {- let t = e.trim();- !t || O || A.isPending || (b(""), m(-1), c(t), o(""), u(""), A.mutate(t));- }, ee = (e) => {- if (!e.nativeEvent.isComposing) {- if (e.key === "Escape" && w.length) {- m(-1), f(!1);- return;- }- if (e.key === "ArrowDown" || e.key === "ArrowUp") {- if (!w.length) return;- e.preventDefault();- let t = e.key === "ArrowDown" ? 1 : -1;- m((e) => {- let n = e + t;- return n < 0 ? w.length - 1 : n >= w.length ? 0 : n;- });- return;- }- e.key === "Enter" && (e.preventDefault(), M(w[p]?.value || a));- }- }, te = k?.results || [], N = te.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !h.has(e.provider_label || "")).map((e) => ({- candidate: e,- key: BC(t, e)- })).filter((e) => !_.has(e.key))), P = ht({- mutationFn: async (e) => {- let t = [], n = [];- S(0);- for (let r of e) {+function qH(e, t) {+ if (!(t in e)) return;+ let n = hH(e);+ for (; n;) {+ let e = Object.getOwnPropertyDescriptor(n, t);+ if (e) return e;+ n = hH(n);+ }+}+function JH(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && JH(e.parent_));+}+function YH(e) {+ e.copy_ ||= DH(e.base_, e.scope_.immer_.useStrictShallowCopy_);+}+var XH = class {+ constructor(e) {+ this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {+ if (typeof e == "function" && typeof t != "function") {+ let n = t;+ t = e;+ let r = this;+ return function(e = n, ...i) {+ return r.produce(e, (e) => t.call(this, e, ...i));+ };+ }+ typeof t != "function" && mH(6), n !== void 0 && typeof n != "function" && mH(7);+ let r;+ if (_H(e)) {+ let i = LH(this), a = ZH(e, void 0), o = !0;try {- let e = await ES(r.candidate);- n.push(e.source);- } catch (e) {- t.push(`${r.candidate.label}:${q(e)}`);+ r = t(a), o = !1;+ } finally {+ o ? FH(i) : IH(i);}- S((e) => e + 1);+ return PH(i, n), RH(r, i);}- if (n.length) try {- await SS(n);- } catch (e) {- t.push(q(e));+ if (!e || typeof e != "object") {+ if (r = t(e), r === void 0 && (r = e), r === dH && (r = void 0), this.autoFreeze_ && OH(r, !0), n) {+ let t = [], i = [];+ jH("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);+ }+ return r;}- return {- failures: t,- sources: n- };- },- onSuccess: (e) => {- if (zS(), e.failures.length) {- b(e.failures.join(";"));- return;+ mH(1, e);+ }, this.produceWithPatches = (e, t) => {+ if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ let n, r;+ return [+ this.produce(e, t, (e, t) => {+ n = e, r = t;+ }),+ n,+ r+ ];+ }, 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) {+ _H(e) || mH(8), gH(e) && (e = QH(e));+ let t = LH(this), n = ZH(e, void 0);+ return n[pH].isManual_ = !0, IH(t), n;+ }+ finishDraft(e, t) {+ let n = e && e[pH];+ (!n || !n.isManual_) && mH(9);+ let { scope_: r } = n;+ return PH(r, t), RH(void 0, r);+ }+ setAutoFreeze(e) {+ this.autoFreeze_ = e;+ }+ setUseStrictShallowCopy(e) {+ this.useStrictShallowCopy_ = e;+ }+ setUseStrictIteration(e) {+ this.useStrictIteration_ = e;+ }+ shouldUseStrictIteration() {+ return this.useStrictIteration_;+ }+ applyPatches(e, t) {+ let n;+ for (n = t.length - 1; n >= 0; n--) {+ let r = t[n];+ if (r.path.length === 0 && r.op === "replace") {+ e = r.value;+ break;}- b(""), j(), r(`已添加 ${e.sources.length} 个关注来源`);+ }+ n > -1 && (t = t.slice(n + 1));+ let r = jH("Patches").applyPatches_;+ return gH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ }+};+function ZH(e, t) {+ let n = wH(e) ? jH("MapSet").proxyMap_(e, t) : TH(e) ? jH("MapSet").proxySet_(e, t) : HH(e, t);+ return (t ? t.scope_ : NH()).drafts_.push(n), n;+}+function QH(e) {+ return gH(e) || mH(10, e), $H(e);+}+function $H(e) {+ if (!_H(e) || AH(e)) return e;+ let t = e[pH], n, r = !0;+ if (t) {+ if (!t.modified_) return t.base_;+ t.finalized_ = !0, n = DH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = DH(e, !0);+ return bH(n, (e, t) => {+ CH(n, e, $H(t));+ }, r), t && (t.finalized_ = !1), n;+}+new XH().produce;+function eU(e) {+ return e;+}+//#endregion+//#region node_modules/recharts/es6/state/legendSlice.js+var tU = BB({+ name: "legend",+ initialState: {+ settings: {+ layout: "horizontal",+ align: "center",+ verticalAlign: "middle",+ itemSorter: "value"},- onError: (e) => b(q(e))- }), ne = e.suggestions || [], re = !s.includes("/"), F = C.isFetching, ie = d && (w.length > 0 || F);- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- padding: "none",- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"- }),- children: [- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "添加关注"- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-end gap-2",- children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "relative min-w-64 grow",- onFocus: () => f(!0),- onBlur: (e) => {- e.currentTarget.contains(e.relatedTarget) || f(!1);- },- children: [/* @__PURE__ */ (0, D.jsx)(_b, {- "aria-label": "来源链接、名字或 id",- placeholder: IC,- value: a,- leadingIcon: mp,- isDisabled: n,- onChange: o,- onKeyDown: ee- }), ie ? /* @__PURE__ */ (0, D.jsx)(VC, {- options: w,- active: p,- busy: F,- onPick: M- }) : null]- }),- /* @__PURE__ */ (0, D.jsx)(HC, {- credentials: t,- hidden: h,- onHidden: g,- openCredentials: i- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- disabled: n || !a.trim(),- ...X(O || A.isPending),- onClick: () => M(a),- children: "查找"- })- ]- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- "aria-live": "polite",- className: "flex flex-col gap-3 empty:hidden",- children: [O || A.isPending ? T?.total ? /* @__PURE__ */ (0, D.jsx)(Ch, {- label: T.message || `查找中:${T.checked || 0}/${T.total}`,- value: T.checked || 0,- max: T.total- }) : /* @__PURE__ */ (0, D.jsx)(xh, { label: re ? LC : RC }) : null, y ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "这一次没有完成",- children: y- }) : null]- }),- te.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)(wC, { children: "查找结果" }),- te.map((e, t) => /* @__PURE__ */ (0, D.jsx)(UC, {- row: e,- at: t,- hidden: h,- unpicked: _,- onPick: (e, t) => {- let n = new Set(_);- t ? n.delete(e) : n.add(e), v(n);- }- }, `${e.line}-${t}`)),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- size: "small",- disabled: n || !N.length,- ...X(P.isPending),- onClick: () => P.mutate(N),- children: `添加选中(${N.length})`- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- onClick: () => j(),- children: "关闭"- }),- P.isPending ? /* @__PURE__ */ (0, D.jsx)("span", {- role: "status",- className: "text-body-2-regular text-text-secondary",- children: `添加中… ${x}/${N.length}`- }) : null- ]- })- ]- }) : null,- ne.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: "猜你喜欢"- }), ne.map((e) => /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: n,- title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,- onClick: () => M(e.name),- children: e.name- }, e.name))]- }) : null- ]- });+ size: {+ width: 0,+ height: 0+ },+ payload: []+ },+ reducers: {+ setLegendSize(e, t) {+ e.size.width = t.payload.width, e.size.height = t.payload.height;+ },+ setLegendSettings(e, t) {+ e.settings.align = t.payload.align, e.settings.layout = t.payload.layout, e.settings.verticalAlign = t.payload.verticalAlign, e.settings.itemSorter = t.payload.itemSorter;+ },+ addLegendPayload: {+ reducer(e, t) {+ e.payload.push(eU(t.payload));+ },+ prepare: IB()+ },+ replaceLegendPayload: {+ reducer(e, t) {+ var { prev: n, next: r } = t.payload, i = DB(e).payload.indexOf(eU(n));+ i > -1 && (e.payload[i] = eU(r));+ },+ prepare: IB()+ },+ removeLegendPayload: {+ reducer(e, t) {+ var n = DB(e).payload.indexOf(eU(t.payload));+ n > -1 && e.payload.splice(n, 1);+ },+ prepare: IB()+ }+ }+}), { setLegendSize: nU, setLegendSettings: rU, addLegendPayload: iU, replaceLegendPayload: aU, removeLegendPayload: oU } = tU.actions, sU = tU.reducer, cU = /* @__PURE__ */ _(((e) => {+ var t = C();+ t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;+}));+(/* @__PURE__ */ _(((e, t) => {+ t.exports = cU();+})))();+function lU(e) {+ e();+}+function uU() {+ let e = null, t = null;+ return {+ clear() {+ e = null, t = null;+ },+ notify() {+ lU(() => {+ let t = e;+ for (; t;) t.callback(), t = t.next;+ });+ },+ get() {+ let t = [], n = e;+ for (; n;) t.push(n), n = n.next;+ return t;+ },+ subscribe(n) {+ let r = !0, i = t = {+ callback: n,+ next: null,+ prev: t+ };+ return i.prev ? i.prev.next = i : e = i, function() {+ !r || e === null || (r = !1, i.next ? i.next.prev = i.prev : t = i.prev, i.prev ? i.prev.next = i.next : e = i.next);+ };+ }+ };+}+var dU = {+ notify() {},+ get: () => []+};+function fU(e, t) {+ let n, r = dU, i = 0, a = !1;+ function o(e) {+ u();+ let t = r.subscribe(e), n = !1;+ return () => {+ n || (n = !0, t(), d());+ };+ }+ function s() {+ r.notify();+ }+ function c() {+ m.onStateChange && m.onStateChange();+ }+ function l() {+ return a;+ }+ function u() {+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = uU());+ }+ function d() {+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = dU);+ }+ function f() {+ a || (a = !0, u());+ }+ function p() {+ a && (a = !1, d());+ }+ let m = {+ addNestedSub: o,+ notifyNestedSubs: s,+ handleChangeWrapper: c,+ isSubscribed: l,+ trySubscribe: f,+ tryUnsubscribe: p,+ getListeners: () => r+ };+ return m;+}+var pU = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, mU = typeof navigator < "u" && navigator.product === "ReactNative", hU = pU || mU ? E.useLayoutEffect : E.useEffect;+function gU(e, t) {+ return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;+}+function _U(e, t) {+ if (gU(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]) || !gU(e[n[r]], t[n[r]])) return !1;+ return !0;+}+var vU = /* @__PURE__ */ Symbol.for("react-redux-context"), yU = typeof globalThis < "u" ? globalThis : {};+function bU() {+ if (!E.createContext) return {};+ let e = yU[vU] ??= /* @__PURE__ */ new Map(), t = e.get(E.createContext);+ return t || (t = E.createContext(null), e.set(E.createContext, t)), t;+}+var xU = /* @__PURE__ */ bU();+function SU(e) {+ let { children: t, context: n, serverState: r, store: i } = e, a = E.useMemo(() => {+ let e = fU(i);+ return {+ store: i,+ subscription: e,+ getServerState: r ? () => r : void 0+ };+ }, [i, r]), o = E.useMemo(() => i.getState(), [i]);+ hU(() => {+ 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 || xU;+ return /* @__PURE__ */ E.createElement(s.Provider, { value: a }, t);+}+var CU = SU, wU = /* @__PURE__ */ new Set([+ "axisLine",+ "tickLine",+ "activeBar",+ "activeDot",+ "activeLabel",+ "activeShape",+ "allowEscapeViewBox",+ "background",+ "cursor",+ "dot",+ "label",+ "line",+ "margin",+ "padding",+ "position",+ "shape",+ "style",+ "tick",+ "wrapperStyle",+ "radius",+ "throttledEvents"+]);+function TU(e, t) {+ return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;+}+function EU(e, t) {+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (wU.has(n)) {+ if (e[n] == null && t[n] == null) continue;+ if (!_U(e[n], t[n])) return !1;+ } else if (!TU(e[n], t[n])) return !1;+ return !0;}//#endregion-//#region src/react/boardui/components/base/table/table.tsx-function GC({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {- return /* @__PURE__ */ (0, D.jsx)("div", {- className: nh("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, D.jsx)(vy, {- ref: r,- ...i,- className: nh("bui-table", e === "sm" && "bui-table-sm", t)+//#region node_modules/recharts/es6/component/Legend.js+var DU = ["contextPayload"];+function OU() {+ return OU = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);+ }+ return e;+ }, OU.apply(null, arguments);+}+function kU(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function AU(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? kU(Object(n), !0).forEach(function(t) {+ jU(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kU(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function jU(e, t, n) {+ return (t = MU(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function MU(e) {+ var t = NU(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function NU(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function PU(e, t) {+ if (e == null) return {};+ var n, r, i = FU(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 FU(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function IU(e) {+ return e.value;+}+function LU(e) {+ var { contextPayload: t } = e, n = PU(e, DU), r = $R(t, e.payloadUniqBy, IU), i = AU(AU({}, n), {}, { payload: r });+ return /*#__PURE__*/ E.isValidElement(e.content) ? /*#__PURE__*/ E.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ E.createElement(e.content, i) : /*#__PURE__*/ E.createElement(Xie, i);+}+function RU(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 }), AU(AU({}, l), u);+}+function zU(e) {+ var t = tz();+ return (0, E.useEffect)(() => {+ t(rU(e));+ }, [t, e]), null;+}+function BU(e) {+ var t = tz();+ return (0, E.useEffect)(() => (t(nU(e)), () => {+ t(nU({+ width: 0,+ height: 0+ }));+ }), [t, e]), null;+}+function VU(e, t, n, r) {+ return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;+}+var HU = {+ align: "center",+ iconSize: 14,+ inactiveColor: "#ccc",+ itemSorter: "value",+ layout: "horizontal",+ verticalAlign: "bottom"+};+function UU(e) {+ var t = kR(e, HU), n = soe(), r = CI(), i = Wse(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = fz([n]), d = iH(), f = aH();+ if (d == null || f == null) return null;+ var p = d - (i?.left || 0) - (i?.right || 0), m = VU(t.layout, o, a, p), h = c ? s : AU(AU({+ position: "absolute",+ width: m?.width || a || "auto",+ height: m?.height || o || "auto"+ }, RU(s, t, i, d, f, l)), s), g = c ?? r;+ if (g == null || n == null) return null;+ var _ = /*#__PURE__*/ E.createElement("div", {+ className: "recharts-legend-wrapper",+ style: h,+ ref: u+ }, /*#__PURE__*/ E.createElement(zU, {+ layout: t.layout,+ align: t.align,+ verticalAlign: t.verticalAlign,+ itemSorter: t.itemSorter+ }), !c && /*#__PURE__*/ E.createElement(BU, {+ width: l.width,+ height: l.height+ }), /*#__PURE__*/ E.createElement(LU, OU({}, t, m, {+ margin: i,+ chartWidth: d,+ chartHeight: f,+ contextPayload: n+ })));+ return /*#__PURE__*/ (0, Zm.createPortal)(_, g);+}+var WU = /*#__PURE__*/ E.memo(UU, EU);+WU.displayName = "Legend";+//#endregion+//#region node_modules/recharts/es6/component/DefaultTooltipContent.js+function GU() {+ return GU = 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;+ }, GU.apply(null, arguments);+}+function KU(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function qU(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? KU(Object(n), !0).forEach(function(t) {+ JU(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KU(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function JU(e, t, n) {+ return (t = YU(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function YU(e) {+ var t = XU(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function XU(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function ZU(e) {+ return Array.isArray(e) && lR(e[0]) && lR(e[1]) ? e.join(" ~ ") : e;+}+var QU = {+ separator: " : ",+ contentStyle: {+ margin: 0,+ padding: 10,+ backgroundColor: "#fff",+ border: "1px solid #ccc",+ whiteSpace: "nowrap"+ },+ itemStyle: {+ display: "block",+ paddingTop: 4,+ paddingBottom: 4,+ color: "#000"+ },+ labelStyle: {},+ accessibilityLayer: !1+};+function $U(e, t) {+ return t == null ? e : lz(e, t);+}+var eW = (e) => {+ var { separator: t = QU.separator, contentStyle: n, itemStyle: r, labelStyle: i = QU.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = QU.accessibilityLayer } = e, p = () => {+ if (a && a.length) {+ var e = {+ padding: 0,+ margin: 0+ }, n = $U(a, s).map((e, n) => {+ if (e.type === "none") return null;+ var i = e.formatter || o || ZU, { 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 = qU(qU({}, QU.itemStyle), {}, { color: e.color || QU.itemStyle.color }, r);+ return /*#__PURE__*/ E.createElement("li", {+ className: "recharts-tooltip-item",+ key: `tooltip-item-${n}`,+ style: f+ }, lR(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, lR(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));+ });+ return /*#__PURE__*/ E.createElement("ul", {+ className: "recharts-tooltip-item-list",+ style: e+ }, n);+ }+ return null;+ }, m = qU(qU({}, QU.contentStyle), n), h = qU({ margin: 0 }, i), g = !gR(u), _ = g ? u : "", v = Sm("recharts-default-tooltip", c), y = Sm("recharts-tooltip-label", l);+ g && d && a != null && (_ = d(u, a));+ var b = f ? {+ role: "status",+ "aria-live": "assertive"+ } : {};+ return /*#__PURE__*/ E.createElement("div", GU({+ className: v,+ style: m+ }, b), /*#__PURE__*/ E.createElement("p", {+ className: y,+ style: h+ }, /*#__PURE__*/ E.isValidElement(_) ? _ : `${_}`), p());+}, tW = "recharts-tooltip-wrapper", nW = { visibility: "hidden" };+function rW(e) {+ var { coordinate: t, translateX: n, translateY: r } = e;+ return Sm(tW, {+ [`${tW}-right`]: Z(n) && t && Z(t.x) && n >= t.x,+ [`${tW}-left`]: Z(n) && t && Z(t.x) && n < t.x,+ [`${tW}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,+ [`${tW}-top`]: Z(r) && t && Z(t.y) && r < t.y+ });+}+function iW(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;+ if (t[r]) return o[r] ? u : d;+ 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 aW(e) {+ var { translateX: t, translateY: n, useTranslate3d: r } = e;+ return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };+}+function oW(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 = iW({+ allowEscapeViewBox: t,+ coordinate: n,+ key: "x",+ offset: i,+ position: a,+ reverseDirection: o,+ tooltipDimension: s.width,+ viewBox: l,+ viewBoxDimension: l.width+ }), f = iW({+ allowEscapeViewBox: t,+ coordinate: n,+ key: "y",+ offset: r,+ position: a,+ reverseDirection: o,+ tooltipDimension: s.height,+ viewBox: l,+ viewBoxDimension: l.height+ }), u = aW({+ translateX: d,+ translateY: f,+ useTranslate3d: c+ })) : u = nW, {+ cssProperties: u,+ cssClasses: rW({+ translateX: d,+ translateY: f,+ coordinate: n})- });+ };}+var sW = {+ devToolsEnabled: !0,+ isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)+};//#endregion-//#region src/react/components/data-table-frame.tsx-function KC({ children: e, follow: t = !1 }) {- return /* @__PURE__ */ (0, D.jsx)("div", {- "data-board-data-table": !0,- "data-follow-table": t || void 0,- children: e- });+//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js+function cW() {+ var [e, t] = (0, E.useState)(() => sW.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);+ return (0, E.useEffect)(() => {+ if (window.matchMedia) {+ var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {+ t(e.matches);+ };+ return e.addEventListener("change", n), () => {+ e.removeEventListener("change", n);+ };+ }+ }, []), e;}//#endregion-//#region src/react/follow-manage/alias-manager.tsx-var qC = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, JC = (e) => e.alias;-function YC(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) : [];+//#region node_modules/recharts/es6/component/TooltipBoundingBox.js+function lW(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function XC({ sources: e, name: t, canonicalKey: n }) {- return /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(MC, {- group: YC(e, t, n),- name: t- }), /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-body-medium",- children: t- })]- });+function uW(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? lW(Object(n), !0).forEach(function(t) {+ dW(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lW(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function ZC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {- let [a, o] = (0, E.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = ht({- mutationFn: async (e) => {- let t = 0;- for (let n of e) {- try {- await DS(n.canonical, n.alias);- } catch (n) {- throw t && zS(), Error(`${q(n)}(还有 ${e.length - t} 组没有合并)`);+function dW(e, t, n) {+ return (t = fW(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function fW(e) {+ var t = pW(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function pW(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function mW(e) {+ if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;+}+function hW(e) {+ var t = cW(), [n, r] = E.useState(() => ({+ dismissed: !1,+ dismissedAtCoordinate: {+ x: 0,+ y: 0+ }+ }));+ E.useEffect(() => {+ var t = (t) => {+ t.key === "Escape" && r({+ dismissed: !0,+ dismissedAtCoordinate: {+ x: e.coordinate?.x ?? 0,+ y: e.coordinate?.y ?? 0}- t += 1;- }- return {- done: t,- items: e- };- },- onSuccess: (e) => {- l(""), o(/* @__PURE__ */ new Set()), zS(), i(`已合并 ${e.done} 组创作者别名`);- },- onError: (e) => l(q(e))- }), h = ht({- mutationFn: (e) => DS(e.canonical, e.alias),- onSuccess: () => {- l(""), d(""), p(""), zS(), i("已保存创作者别名");- },- onError: (e) => l(q(e))- }), g = ht({- mutationFn: (e) => OS(e),- onSuccess: () => {- l(""), zS(), i("已移除创作者别名");+ });+ };+ 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(uW(uW({}, n), {}, { dismissed: !1 }));+ var { cssClasses: i, cssProperties: a } = oW({+ allowEscapeViewBox: e.allowEscapeViewBox,+ coordinate: e.coordinate,+ offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,+ offsetTop: typeof e.offset == "number" ? e.offset : e.offset.y,+ position: e.position,+ reverseDirection: e.reverseDirection,+ tooltipBox: {+ height: e.lastBoundingBox.height,+ width: e.lastBoundingBox.width},- onError: (e) => l(q(e))- }), _ = (e, t) => {- e.length && c({- title: t ? "合并全部创作者别名" : "合并所选创作者别名",- body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,- confirmLabel: t ? "合并全部别名" : "合并所选别名",- onConfirm: () => m.mutateAsync(e)- });- }, v = t.filter((e) => a.has(JC(e))), y = t.length > 0 && v.length === t.length, b = X(m.isPending);- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- padding: "none",- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"- }),- children: [- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "创作者别名"- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(wC, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-end gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(_b, {- "aria-label": "规范创作者名",- placeholder: "规范创作者名",- value: u,- onChange: d,- isDisabled: r,- className: "w-56"- }),- /* @__PURE__ */ (0, D.jsx)(_b, {- "aria-label": "平台别名",- placeholder: "平台别名",- value: f,- onChange: p,- isDisabled: r,- className: "w-56"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- disabled: r || !u.trim() || !f.trim(),- ...X(h.isPending),- onClick: () => h.mutate({- canonical: u.trim(),- alias: f.trim()- }),- children: "保存别名"- })- ]- })]- }),- s ? /* @__PURE__ */ (0, D.jsx)(CC, { children: s }) : null,- t.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(wC, { children: "待合并" }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "mr-auto text-body-2-regular text-text-secondary",- children: `${t.length} 组`- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: r || !v.length,- ...b,- onClick: () => _(v, !1),- children: `合并所选(${v.length})`- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- size: "small",- disabled: r,- ...b,- onClick: () => _(t, !0),- children: `全部合并(${t.length})`- })- ]- }), /* @__PURE__ */ (0, D.jsx)(KC, { children: /* @__PURE__ */ (0, D.jsxs)(GC, {- "aria-label": "待合并创作者别名",- size: "sm",- children: [/* @__PURE__ */ (0, D.jsxs)(Ty, { children: [- /* @__PURE__ */ (0, D.jsx)(Ay, {- id: "select",- children: /* @__PURE__ */ (0, D.jsx)(rC, {- slot: null,- isSelected: y,- isIndeterminate: v.length > 0 && !y,- "aria-label": "全选待合并别名",- onChange: (e) => o(e ? new Set(t.map(JC)) : /* @__PURE__ */ new Set())- })- }),- /* @__PURE__ */ (0, D.jsx)(Ay, {- id: "canonical",- children: "规范创作者"- }),- /* @__PURE__ */ (0, D.jsx)(Ay, {- id: "alias",- isRowHeader: !0,- children: "平台别名"- }),- /* @__PURE__ */ (0, D.jsx)(Ay, {- id: "evidence",- children: "依据"- }),- /* @__PURE__ */ (0, D.jsx)(Ay, {- id: "actions",- children: "操作"- })- ] }), /* @__PURE__ */ (0, D.jsx)(Py, { children: t.map((e) => {- let t = JC(e);- return /* @__PURE__ */ (0, D.jsxs)(Ry, {- id: t,- "data-board-selected": a.has(t) || void 0,- children: [- /* @__PURE__ */ (0, D.jsx)(Vy, { children: /* @__PURE__ */ (0, D.jsx)(rC, {- slot: null,- isSelected: a.has(t),- "aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,- onChange: (e) => {- let n = new Set(a);- e ? n.add(t) : n.delete(t), o(n);- }- }) }),- /* @__PURE__ */ (0, D.jsx)(Vy, { children: /* @__PURE__ */ (0, D.jsx)(XC, {- sources: n,- name: e.canonical- }) }),- /* @__PURE__ */ (0, D.jsx)(Vy, { children: e.alias }),- /* @__PURE__ */ (0, D.jsx)(Vy, { children: /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: e.evidence- }) }),- /* @__PURE__ */ (0, D.jsx)(Vy, { children: /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: r,- ...b,- onClick: () => _([e], !1),- children: "合并"- }) })- ]- }, t);- }) })]- }) })]- }) : null,- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(wC, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: `${e.length} 组`- })]- }), e.length ? /* @__PURE__ */ (0, D.jsx)(KC, { children: /* @__PURE__ */ (0, D.jsxs)(GC, {- "aria-label": "已保存创作者别名",- size: "sm",- children: [/* @__PURE__ */ (0, D.jsxs)(Ty, { children: [/* @__PURE__ */ (0, D.jsx)(Ay, {- id: "canonical",- isRowHeader: !0,- children: "规范创作者"- }), /* @__PURE__ */ (0, D.jsx)(Ay, {- id: "aliases",- children: "平台别名"- })] }), /* @__PURE__ */ (0, D.jsx)(Py, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(Ry, {- id: e.canonical_key,- children: [/* @__PURE__ */ (0, D.jsx)(Vy, { children: /* @__PURE__ */ (0, D.jsx)(XC, {- sources: n,- name: e.canonical_name,- canonicalKey: e.canonical_key- }) }), /* @__PURE__ */ (0, D.jsx)(Vy, { children: /* @__PURE__ */ (0, D.jsx)("span", {- className: "flex flex-wrap items-center gap-1.5",- children: e.aliases.map((e) => /* @__PURE__ */ (0, D.jsxs)("span", {- className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",- children: [e.name, /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "xs",- iconOnly: !0,- leadingIcon: Yf,- "aria-label": `移除别名 ${e.name}`,- disabled: r,- ...X(g.isPending),- onClick: () => void c({- title: "移除创作者别名",- body: qC(e.name),- confirmLabel: "移除创作者别名",- onConfirm: () => g.mutateAsync(e.name)- })- })]- }, e.key))- }) })]- }, e.canonical_key)) })]- }) }) : /* @__PURE__ */ (0, D.jsx)(bh, {- shell: "plain",- icon: yp,- title: "还没有保存创作者别名",- children: "填写规范创作者名和平台别名以添加。"- })]- })- ]- });+ useTranslate3d: e.useTranslate3d,+ viewBox: e.viewBox+ }), o = uW(uW({}, e.hasPortalFromProps ? {} : uW(uW({ transition: mW({+ prefersReducedMotion: t,+ isAnimationActive: e.isAnimationActive,+ active: e.active,+ animationDuration: e.animationDuration,+ animationEasing: e.animationEasing+ }) }, a), {}, {+ pointerEvents: "none",+ position: "absolute",+ top: 0,+ left: 0+ })), {}, { visibility: !n.dismissed && e.active && e.hasPayload ? "visible" : "hidden" }, e.wrapperStyle);+ return /*#__PURE__*/ E.createElement("div", {+ xmlns: "http://www.w3.org/1999/xhtml",+ tabIndex: -1,+ className: i,+ style: o,+ ref: e.innerRef+ }, e.children);}+var gW = /*#__PURE__*/ E.memo(hW), _W = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;//#endregion-//#region src/react/components/path-line.tsx-function QC({ className: e }) {- return /* @__PURE__ */ (0, D.jsx)("svg", {- "aria-hidden": !0,- viewBox: "0 0 24 24",- fill: "none",- stroke: "currentColor",- strokeWidth: 2,- strokeLinecap: "round",- strokeLinejoin: "round",- className: e,- children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-open" })- });-}-var $C = "打开文件管理器失败,请重试";-function ew({ path: e, prefix: t, className: n, onRevealed: r }) {- let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), c = (0, E.useRef)(!0);- (0, E.useEffect)(() => () => {- c.current = !1;- }, []);- let l = async () => {- if (!i) {- a(!0), s("");- try {- await J("/api/reveal", { path: e }), r?.("已在资源管理器中显示");- } catch (e) {- c.current && s(e instanceof ch ? e.message : $C);- } finally {- c.current && a(!1);- }+//#region node_modules/recharts/es6/shape/Curve.js+function vW() {+ return vW = 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 /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex items-center justify-between gap-2",- children: [/* @__PURE__ */ (0, D.jsxs)("p", {- className: nh("min-w-0 break-all", n),- children: [t, e]- }), /* @__PURE__ */ (0, D.jsx)(ub, {- icon: QC,- size: "small",- className: "shrink-0",- "aria-label": "在资源管理器中显示",- onClick: () => void l(),- ...X(i)- })]- }), o ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-caption-1-regular text-text-error-primary",- children: o- }) : null]- });+ return e;+ }, vW.apply(null, arguments);}-//#endregion-//#region src/react/follow-manage/credentials.tsx-var tw = "这些账号信息存在哪里", nw = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", rw = "将清除这个来源在本机和共享副本中的登录凭据。", iw = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";-function aw(e, t) {- return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";+function yW(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function ow({ row: e }) {- if (qS(e)) return /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: "lime",- children: "已配置"- });- let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: t,- children: KS[e.requirement] || ""- });+function bW(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? yW(Object(n), !0).forEach(function(t) {+ xW(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yW(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function sw({ row: e, readOnly: t, toast: n }) {- let [r, i] = (0, E.useState)({}), [a, o] = (0, E.useState)(""), s = qS(e), l = ht({- mutationFn: (t) => kS(e.provider, t),- onSuccess: (e, t) => {- if (e.note) {- o(e.note);- return;- }- o(""), i({}), Th.invalidateQueries({- queryKey: Vx,- exact: !0- }), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");- },- onError: (e) => o(q(e))- }), u = () => {- let e = Object.fromEntries(Object.entries(r).map(([e, t]) => [e, t.trim()]).filter(([, e]) => e));- if (!Object.keys(e).length) {- o("没有填写内容");- return;+function xW(e, t, n) {+ return (t = SW(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function SW(e) {+ var t = CW(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function CW(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var wW = {+ curveBasisClosed: vL,+ curveBasisOpen: bL,+ curveBasis: gL,+ curveBumpX: KI,+ curveBumpY: qI,+ curveLinearClosed: SL,+ curveLinear: BI,+ curveMonotoneX: AL,+ curveMonotoneY: jL,+ curveNatural: PL,+ curveStep: IL,+ curveStepAfter: RL,+ curveStepBefore: LL+}, TW = (e) => hV(e.x) && hV(e.y), EW = (e) => e.base != null && TW(e.base) && TW(e), DW = (e) => e.x, OW = (e) => e.y, kW = (e, t) => {+ if (typeof e == "function") return e;+ var n = `curve${_R(e)}`;+ if ((n === "curveMonotone" || n === "curveBump") && t) {+ var r = wW[`${n}${t === "vertical" ? "Y" : "X"}`];+ if (r) return r;+ }+ return wW[n] || BI;+}, AW = {+ connectNulls: !1,+ type: "linear"+}, jW = (e) => {+ var { type: t = AW.type, points: n = [], baseLine: r, layout: i, connectNulls: a = AW.connectNulls } = e, o = kW(t, i), s = a ? n.filter(TW) : n;+ if (Array.isArray(r)) {+ var c, l = n.map((e, t) => bW(bW({}, e), {}, { base: r[t] }));+ return c = i === "vertical" ? WI().y(OW).x1(DW).x0((e) => e.base.x) : WI().x(DW).y1(OW).y0((e) => e.base.y), c.defined(EW).curve(o)(a ? l.filter(EW) : l);+ }+ return (i === "vertical" && Z(r) ? WI().y(OW).x1(DW).x0(r) : Z(r) ? WI().x(DW).y1(OW).y0(r) : UI().x(DW).y(OW)).defined(TW).curve(o)(s);+}, MW = (e) => {+ var { className: t, points: n, path: r, pathRef: i } = e, a = sH();+ if ((!n || !n.length) && !r) return null;+ var o = {+ type: e.type,+ points: e.points,+ baseLine: e.baseLine,+ layout: e.layout || a,+ connectNulls: e.connectNulls+ }, s = n && n.length ? jW(o) : r;+ return /*#__PURE__*/ E.createElement("path", vW({}, cI(e), ER(e), {+ className: Sm("recharts-curve", t),+ d: s === null ? void 0 : s,+ ref: i+ }));+}, NW = [+ "x",+ "y",+ "top",+ "left",+ "width",+ "height",+ "className"+];+function PW() {+ return PW = 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]);}- l.mutate(e);- };- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-3",- children: [- /* @__PURE__ */ (0, D.jsxs)(SC, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(TC, {- href: e.where,- children: "去取"- })] }) : null] }),- e.howto ? /* @__PURE__ */ (0, D.jsx)(SC, { children: e.howto }) : null,- /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-wrap items-end gap-3",- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(_b, {- type: "password",- label: n,- placeholder: aw(e, n),- autoComplete: "off",- spellCheck: "false",- isDisabled: t,- value: r[n] || "",- onChange: (e) => i({- ...r,- [n]: e- }),- className: "w-48"- }, n))- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- size: "small",- disabled: t,- ...X(l.isPending),- onClick: u,- children: "保存配置"- }), s ? /* @__PURE__ */ (0, D.jsx)(K, {- variant: "danger",- size: "small",- disabled: t,- ...X(l.isPending),- onClick: () => void c({- title: "清除来源凭据",- body: rw,- confirmLabel: "清除来源凭据",- danger: !0,- onConfirm: () => l.mutateAsync({})- }),- children: "清除"- }) : null]- }),- a ? /* @__PURE__ */ (0, D.jsx)(CC, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(SC, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,- e.path ? /* @__PURE__ */ (0, D.jsx)(ew, {- path: e.path,- className: "font-mono text-caption-1-regular text-text-tertiary",- onRevealed: n- }) : null,- e.world_readable ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "凭据文件权限过宽",- children: iw- }) : null- ]- });+ return e;+ }, PW.apply(null, arguments);}-function cw({ row: e, readOnly: t, toast: n }) {- let r = /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 items-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- className: "inline-flex size-3.5 shrink-0 items-center justify-center",- children: /* @__PURE__ */ (0, D.jsx)(jC, { provider: e.provider })- }),- /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-body-medium text-text-primary",- children: e.provider_label- }),- /* @__PURE__ */ (0, D.jsx)(ow, { row: e }),- e.missing.length ? /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: "rose",- children: `缺 ${e.missing.join("、")}`- }) : null- ]- });- return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, D.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, D.jsx)(SC, { children: e.why }) : null]- }) : /* @__PURE__ */ (0, D.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, D.jsx)(OC, {- summary: qS(e) ? "修改凭据" : "填写凭据",- defaultOpen: e.requirement === "required" && !qS(e),- children: /* @__PURE__ */ (0, D.jsx)(sw, {- row: e,- readOnly: t,- toast: n- })- })]- });+function FW(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function lw({ data: e, readOnly: t, toast: n }) {- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !qS(e));- return r.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- padding: "none",- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"- }),- children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("h3", {- className: "mr-auto text-title-2-medium text-text-primary",- children: "来源和凭证"- }), i.length ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-error-primary",- children: `${i.length} 个待配置`- }) : null]- }),- /* @__PURE__ */ (0, D.jsx)("div", {- className: vh({- padding: "none",- className: "flex flex-col overflow-hidden"- }),- children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(cw, {- row: e,- readOnly: t,- toast: n- }, e.provider))- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-1",- children: [- /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-body-medium text-text-primary",- children: tw- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: nw- }),- /* @__PURE__ */ (0, D.jsx)(ew, {- path: e.root,- prefix: "凭据文件在 ",- className: "text-body-2-regular text-text-secondary",- onRevealed: n- })- ]- })- ]- }) : /* @__PURE__ */ (0, D.jsx)(bh, {- shell: "plain",- icon: cp,- title: "没有可配置的来源",- children: "已接入的站点及其凭据状态会显示在这里。"- });+function IW(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? FW(Object(n), !0).forEach(function(t) {+ LW(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FW(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function LW(e, t, n) {+ return (t = RW(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function RW(e) {+ var t = zW(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function zW(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function BW(e, t) {+ if (e == null) return {};+ var n, r, i = VW(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 VW(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}+var HW = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, UW = (e) => {+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = BW(e, NW), l = IW({+ x: t,+ y: n,+ top: r,+ left: i,+ width: a,+ height: o+ }, c);+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ E.createElement("path", PW({}, uI(l), {+ className: Sm("recharts-cross", s),+ d: HW(t, n, a, o, r, i)+ }));+};//#endregion-//#region src/react/follow-manage/feed-sources.tsx-function uw(e) {- let t = e.last_fetched_at ? `上次拉取 ${new Date(e.last_fetched_at).toLocaleString()}` : "还没拉过", n = e.interval_minutes >= 60 ? `每 ${Math.round(e.interval_minutes / 60)} 小时一次` : `每 ${e.interval_minutes} 分钟一次`;- return `${e.kind_label} · ${n} · ${t} · 上次新增 ${e.last_new_count} 条`;+//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js+function WW(e, t, n, r) {+ var i = r / 2;+ return {+ stroke: "none",+ fill: "#ccc",+ x: e === "horizontal" ? t.x - i : n.left + .5,+ y: e === "horizontal" ? n.top + .5 : t.y - i,+ width: e === "horizontal" ? r : n.width - 1,+ height: e === "horizontal" ? n.height - 1 : r+ };}-var dw = () => Th.invalidateQueries({- queryKey: Wx,- exact: !0-}), fw = (e) => e.name || e.url;-function pw({ readOnly: e, toast: t }) {- let n = mt({- queryKey: Wx,- queryFn: ({ signal: e }) => MS(e)- }), r = wh(), i = n.data;- if (!i) return /* @__PURE__ */ (0, D.jsx)(pC, { children: /* @__PURE__ */ (0, D.jsx)(bC, { children: n.error ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "打不开订阅源",- children: q(n.error)- }) : /* @__PURE__ */ (0, D.jsx)(SC, { children: "正在读订阅源。" }) }) });- let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => NS(e.id, t, n), () => void dw()), o = (e) => void c({- title: "移除订阅源",- body: `将移除订阅源「${fw(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,- confirmLabel: "移除订阅源",- danger: !0,- onConfirm: async () => {- await PS(e.id), t(`已移除订阅源「${fw(e)}」`), dw();- }- }), s = () => void r.run("check", (e) => FS(e), () => void dw()), l = i.sources.filter((e) => e.last_error);- return /* @__PURE__ */ (0, D.jsxs)(pC, { children: [- i.sources.length ? /* @__PURE__ */ (0, D.jsx)(yC, { children: i.sources.map((t) => /* @__PURE__ */ (0, D.jsx)(hC, {- label: fw(t),- description: uw(t),- children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": `启用 ${fw(t)}`,- isSelected: t.enabled,- isDisabled: e,- onChange: (e) => a(t, e)- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "xs",- iconOnly: !0,- leadingIcon: Zf,- "aria-label": `移除 ${fw(t)}`,- disabled: e,- onClick: () => o(t)- })]- })- }, t.id)) }) : /* @__PURE__ */ (0, D.jsx)(bh, {- icon: pp,- title: "还没有订阅源",- shell: "plain",- children: "在人物页点「订阅新作」添加。"- }),- l.length || r.error ? /* @__PURE__ */ (0, D.jsxs)(bC, {- divided: !0,- children: [l.map((e) => /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: `${fw(e)} 拉取失败`,- children: e.last_error- }, e.id)), r.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: r.error }) : null]- }) : null,- /* @__PURE__ */ (0, D.jsx)(xC, {- status: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了",- children: /* @__PURE__ */ (0, D.jsx)(K, {- onClick: s,- disabled: e,- ...X(r.busy === "check"),- children: "立即拉取"- })- })- ] });+//#endregion+//#region node_modules/recharts/es6/animation/util.js+function GW(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function KW(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? GW(Object(n), !0).forEach(function(t) {+ qW(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GW(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}+function qW(e, t, n) {+ return (t = JW(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function JW(e) {+ var t = YW(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function YW(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var XW = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), ZW = (e, t, n) => e.map((e) => `${XW(e)} ${t}ms ${n}`).join(","), QW = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), $W = (e, t) => Object.keys(t).reduce((n, r) => KW(KW({}, n), {}, { [r]: e(r, t[r]) }), {});+//#endregion+//#region node_modules/recharts/es6/animation/configUpdate.js+function eG(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function tG(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? eG(Object(n), !0).forEach(function(t) {+ nG(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eG(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function nG(e, t, n) {+ return (t = rG(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function rG(e) {+ var t = iG(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function iG(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var aG = (e, t, n) => e + (t - e) * n, oG = (e) => {+ var { from: t, to: n } = e;+ return t !== n;+}, sG = (e, t, n) => {+ var r = $W((t, n) => {+ if (oG(n)) {+ var [r, i] = e(n.from, n.to, n.velocity);+ return tG(tG({}, n), {}, {+ from: r,+ velocity: i+ });+ }+ return n;+ }, t);+ return n < 1 ? $W((e, t) => oG(t) && r[e] != null ? tG(tG({}, t), {}, {+ velocity: aG(t.velocity, r[e].velocity, n),+ from: aG(t.from, r[e].from, n)+ }) : t, t) : sG(e, r, n - 1);+};+function cG(e, t, n, r, i, a) {+ var o, s = r.reduce((n, r) => tG(tG({}, n), {}, { [r]: {+ from: e[r],+ velocity: 0,+ to: t[r]+ } }), {}), c = () => $W((e, t) => t.from, s), l = () => !Object.values(s).filter(oG).length, u = null, d = (r) => {+ o ||= r;+ var f = (r - o) / n.dt;+ s = sG(n, s, f), i(tG(tG(tG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));+ };+ return () => (u = a.setTimeout(d), () => {+ var e;+ (e = u) == null || e();+ });+}+function lG(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 : tG(tG({}, n), {}, { [r]: [i, a] });+ }, {}), l, u = (i) => {+ l ||= i;+ var d = (i - l) / r, f = $W((e, t) => aG(...t, n(d)), c);+ if (a(tG(tG(tG({}, e), t), f)), d < 1) s = o.setTimeout(u);+ else {+ var p = $W((e, t) => aG(...t, n(1)), c);+ a(tG(tG(tG({}, e), t), p));+ }+ };+ return () => (s = o.setTimeout(u), () => {+ var e;+ (e = s) == null || e();+ });+}+var uG = (e, t, n, r, i, a) => {+ var o = QW(e, t);+ return n == null ? () => (i(tG(tG({}, e), t)), () => {}) : n.isStepper === !0 ? cG(e, t, n, o, i, a) : lG(e, t, n, r, o, i, a);+}, dG = (e, t) => [+ 0,+ 3 * e,+ 3 * t - 6 * e,+ 3 * e - 3 * t + 1+], fG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), pG = (e, t) => (n) => fG(dG(e, t), n), mG = (e, t) => (n) => fG([...dG(e, t).map((e, t) => e * t).slice(1), 0], n), hG = (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(",");+ if (r == null || r.length !== 4) return null;+ var i = r.map((e) => parseFloat(e));+ return [+ i[0],+ i[1],+ i[2],+ i[3]+ ];+}, gG = function() {+ var e = [...arguments];+ if (e.length === 1) switch (e[0]) {+ case "linear": return [+ 0,+ 0,+ 1,+ 1+ ];+ case "ease": return [+ .25,+ .1,+ .25,+ 1+ ];+ case "ease-in": return [+ .42,+ 0,+ 1,+ 1+ ];+ case "ease-out": return [+ .42,+ 0,+ .58,+ 1+ ];+ case "ease-in-out": return [+ 0,+ 0,+ .58,+ 1+ ];+ default:+ var t = hG(e[0]);+ if (t) return t;+ }+ return e.length === 4 ? e : [+ 0,+ 0,+ 1,+ 1+ ];+}, _G = (e, t, n, r) => {+ var i = pG(e, n), a = pG(t, r), o = mG(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);+ n = s(n - c / l);+ }+ return a(n);+ };+ return c.isStepper = !1, c;+}, vG = function() {+ return _G(...gG(...arguments));+}, yG = 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;+}, bG = (e) => {+ if (typeof e == "string") switch (e) {+ case "ease":+ case "ease-in-out":+ case "ease-out":+ case "ease-in":+ case "linear": return vG(e);+ case "spring": return yG();+ default: if (e.split("(")[0] === "cubic-bezier") return vG(e);+ }+ return typeof e == "function" ? e : null;+};//#endregion-//#region node_modules/@tanstack/table-core/build/lib/index.mjs-function mw() {+//#region node_modules/recharts/es6/animation/AnimationManager.js+function xG(e) {+ var t, n = () => null, r = !1, i = null, a = (o) => {+ if (!r) {+ if (Array.isArray(o)) {+ if (!o.length) return;+ var [s, ...c] = o;+ if (typeof s == "number") {+ i = e.setTimeout(a.bind(null, c), s);+ return;+ }+ a(s), i = e.setTimeout(a.bind(null, c));+ return;+ }+ typeof o == "string" && (t = o, n(t)), typeof o == "object" && (t = o, n(t)), typeof o == "function" && o();+ }+ };return {- accessor: (e, t) => typeof e == "function" ? {- ...t,- accessorFn: e- } : {- ...t,- accessorKey: e+ stop: () => {+ r = !0;},- display: (e) => e,- group: (e) => e+ start: (e) => {+ r = !1, i &&= (i(), null), a(e);+ },+ subscribe: (e) => (n = e, () => {+ n = () => null;+ }),+ getTimeoutController: () => e};}-function hw(e, t) {- return typeof e == "function" ? e(t) : e;+//#endregion+//#region node_modules/recharts/es6/animation/timeoutController.js+var SG = 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));+ };+ return r = requestAnimationFrame(i), () => {+ r != null && cancelAnimationFrame(r);+ };+ }+};+//#endregion+//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js+function CG() {+ return xG(new SG());}-function gw(e, t) {- return (n) => {- t.setState((t) => ({- ...t,- [e]: hw(n, t[e])- }));- };+//#endregion+//#region node_modules/recharts/es6/animation/useAnimationManager.js+var wG = /*#__PURE__*/ (0, E.createContext)(CG);+function TG(e, t) {+ var n = (0, E.useContext)(wG);+ return (0, E.useMemo)(() => t ?? n(e), [+ e,+ t,+ n+ ]);}-function _w(e) {- return e instanceof Function;+//#endregion+//#region node_modules/recharts/es6/animation/JavascriptAnimate.js+var EG = {+ begin: 0,+ duration: 1e3,+ easing: "ease",+ isActive: !0,+ canBegin: !0,+ onAnimationEnd: () => {},+ onAnimationStart: () => {}+}, DG = { t: 0 }, OG = { t: 1 };+function kG(e) {+ var t = kR(e, EG), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = cW(), d = n === "auto" ? !sW.isSsr && !u : n, f = TG(t.animationId, t.animationManager), [p, m] = (0, E.useState)(d ? DG : OG), h = (0, E.useRef)(null);+ return (0, E.useEffect)(() => {+ d || m(OG);+ }, [d]), (0, E.useEffect)(() => {+ if (!d || !r) return yR;+ var e = uG(DG, OG, bG(a), i, m, f.getTimeoutController());+ return f.start([+ c,+ o,+ () => {+ h.current = e();+ },+ i,+ s+ ]), () => {+ f.stop(), h.current && h.current(), s();+ };+ }, [+ d,+ r,+ i,+ a,+ o,+ c,+ s,+ f+ ]), l(p.t);}-function vw(e) {- return Array.isArray(e) && e.every((e) => typeof e == "number");+//#endregion+//#region node_modules/recharts/es6/util/useAnimationId.js+function AG(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, E.useRef)(dR(t)), r = (0, E.useRef)(e);+ return r.current !== e && (n.current = dR(t), r.current = e), n.current;}-function yw(e, t) {- let n = [], r = (e) => {- e.forEach((e) => {- n.push(e);- let i = t(e);- i != null && i.length && r(i);+//#endregion+//#region node_modules/recharts/es6/shape/Rectangle.js+var jG = ["radius"], MG = ["radius"], NG, PG, FG, IG, LG, RG, zG, BG, VG, HG;+function UG(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function WG(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? UG(Object(n), !0).forEach(function(t) {+ GG(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UG(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});- };- return r(e), n;+ }+ return e;}-function Q(e, t, n) {- let r = [], i;- return (a) => {- let o;- n.key && n.debug && (o = Date.now());- let s = e(a);- if (!(s.length !== r.length || s.some((e, t) => r[t] !== e))) return i;- r = s;- let c;- if (n.key && n.debug && (c = Date.now()), i = t(...s), n == null || n.onChange == null || n.onChange(i), n.key && n.debug && n != null && n.debug()) {- let e = Math.round((Date.now() - o) * 100) / 100, t = Math.round((Date.now() - c) * 100) / 100, r = t / 16, i = (e, t) => {- for (e = String(e); e.length < t;) e = " " + e;- return e;- };- console.info(`%c⏱ ${i(t, 5)} /${i(e, 5)} ms`, `- font-size: .6rem;- font-weight: bold;- color: hsl(${Math.max(0, Math.min(120 - 120 * r, 120))}deg 100% 31%);`, n?.key);- }- return i;- };+function GG(e, t, n) {+ return (t = KG(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;}-function $(e, t, n, r) {- return {- debug: () => e?.debugAll ?? e[t],- key: !1,- onChange: r- };+function KG(e) {+ var t = qG(e, "string");+ return typeof t == "symbol" ? t : t + "";}-function bw(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: Q(() => [- e,- n,- t,- i- ], (e, t, n, r) => ({- table: e,- column: t,- row: n,- cell: r,- getValue: r.getValue,- renderValue: r.renderValue- }), $(e.options, "debugCells", "cell.getContext"))- };- return e._features.forEach((r) => {- r.createCell == null || r.createCell(i, n, t, e);- }, {}), i;+function qG(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);}-function xw(e, t, n, r) {- let i = {- ...e._getDefaultColumnDef(),- ...t- }, a = i.accessorKey, o = i.id ?? (a ? typeof String.prototype.replaceAll == "function" ? a.replaceAll(".", "_") : a.replace(/\./g, "_") : void 0) ?? (typeof i.header == "string" ? i.header : void 0), s;- if (i.accessorFn ? s = i.accessorFn : a && (s = a.includes(".") ? (e) => {- let t = e;- for (let e of a.split(".")) t = t?.[e];- return t;- } : (e) => e[i.accessorKey]), !o) throw Error();- let c = {- id: `${String(o)}`,- accessorFn: s,- parent: r,- depth: n,- columnDef: i,- columns: [],- getFlatColumns: Q(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], $(e.options, "debugColumns", "column.getFlatColumns")),- getLeafColumns: Q(() => [e._getOrderColumnsFn()], (e) => {- var t;- return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];- }, $(e.options, "debugColumns", "column.getLeafColumns"))- };- for (let t of e._features) t.createColumn == null || t.createColumn(c, e);- return c;+function JG() {+ return JG = 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;+ }, JG.apply(null, arguments);}-var Sw = "debugHeaders";-function Cw(e, t, n) {- let r = {- id: n.id ?? t.id,- column: t,- index: n.index,- isPlaceholder: !!n.isPlaceholder,- placeholderId: n.placeholderId,- depth: n.depth,- subHeaders: [],- colSpan: 0,- rowSpan: 0,- headerGroup: null,- getLeafHeaders: () => {- let e = [], t = (n) => {- n.subHeaders && n.subHeaders.length && n.subHeaders.map(t), e.push(n);- };- return t(r), e;- },- getContext: () => ({- table: e,- header: r,- column: t- })- };- return e._features.forEach((t) => {- t.createHeader == null || t.createHeader(r, e);- }), r;+function YG(e, t) {+ if (e == null) return {};+ var n, r, i = XG(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;}-var ww = { createTable: (e) => {- e.getHeaderGroups = Q(() => [- 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 Tw(t, [- ...a,- ...s,- ...o- ], e);- }, $(e.options, Sw, "getHeaderGroups")), e.getCenterHeaderGroups = Q(() => [- 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))), Tw(t, n, e, "center")), $(e.options, Sw, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Q(() => [- e.getAllColumns(),- e.getVisibleLeafColumns(),- e.getState().columnPinning.left- ], (t, n, r) => Tw(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), $(e.options, Sw, "getLeftHeaderGroups")), e.getRightHeaderGroups = Q(() => [- e.getAllColumns(),- e.getVisibleLeafColumns(),- e.getState().columnPinning.right- ], (t, n, r) => Tw(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), $(e.options, Sw, "getRightHeaderGroups")), e.getFooterGroups = Q(() => [e.getHeaderGroups()], (e) => [...e].reverse(), $(e.options, Sw, "getFooterGroups")), e.getLeftFooterGroups = Q(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), $(e.options, Sw, "getLeftFooterGroups")), e.getCenterFooterGroups = Q(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), $(e.options, Sw, "getCenterFooterGroups")), e.getRightFooterGroups = Q(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), $(e.options, Sw, "getRightFooterGroups")), e.getFlatHeaders = Q(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, Sw, "getFlatHeaders")), e.getLeftFlatHeaders = Q(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, Sw, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Q(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, Sw, "getCenterFlatHeaders")), e.getRightFlatHeaders = Q(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, Sw, "getRightFlatHeaders")), e.getCenterLeafHeaders = Q(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {- var t;- return !((t = e.subHeaders) != null && t.length);- }), $(e.options, Sw, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Q(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {- var t;- return !((t = e.subHeaders) != null && t.length);- }), $(e.options, Sw, "getLeftLeafHeaders")), e.getRightLeafHeaders = Q(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {- var t;- return !((t = e.subHeaders) != null && t.length);- }), $(e.options, Sw, "getRightLeafHeaders")), e.getLeafHeaders = Q(() => [- e.getLeftHeaderGroups(),- e.getCenterHeaderGroups(),- e.getRightHeaderGroups()- ], (e, t, n) => [- ...e[0]?.headers ?? [],- ...t[0]?.headers ?? [],- ...n[0]?.headers ?? []- ].map((e) => e.getLeafHeaders()).flat(), $(e.options, Sw, "getLeafHeaders"));-} };-function Tw(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;- (n = e.columns) != null && n.length && a(e.columns, t + 1);- }, 0);- };- a(e);- let o = [], s = (e, t) => {- let i = {- depth: t,- id: [r, `${t}`].filter(Boolean).join("_"),- headers: []- }, a = [];- e.forEach((e) => {- 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 = Cw(n, c, {- id: [- r,- t,- c.id,- e?.id- ].filter(Boolean).join("_"),- isPlaceholder: l,- placeholderId: l ? `${a.filter((e) => e.column === c).length}` : void 0,- depth: t,- index: a.length- });- i.subHeaders.push(e), a.push(i);- }- i.headers.push(e), e.headerGroup = i;- }), o.push(i), t > 0 && s(a, t - 1);- };- s(t.map((e, t) => Cw(n, e, {- depth: i,- index: t- })), i - 1), o.reverse();- let c = (e) => e.filter((e) => e.column.getIsVisible()).map((e) => {- let t = 0, n = 0, r = [0];- e.subHeaders && e.subHeaders.length ? (r = [], c(e.subHeaders).forEach((e) => {- let { colSpan: n, rowSpan: i } = e;- t += n, r.push(i);- })) : t = 1;- let i = Math.min(...r);- return n += i, e.colSpan = t, e.rowSpan = n, {- colSpan: t,- rowSpan: n- };+function XG(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function ZG(e, t) {+ return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));+}+var QG = (e, t, n, r, i) => {+ var a = iR(n), o = iR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;+ if (s > 0 && Array.isArray(i)) {+ for (var f = [+ 0,+ 0,+ 0,+ 0+ ], p = 0, m = 4; p < m; p++) {+ var h = i[p] ?? 0;+ f[p] = h > s ? s : h;+ }+ d = aR(NG ||= ZG([+ "M",+ ",",+ ""+ ]), e, t + c * f[0]), f[0] > 0 && (d += aR(PG ||= ZG([+ "A ",+ ",",+ ",0,0,",+ ",",+ ",",+ ""+ ]), f[0], f[0], u, e + l * f[0], t)), d += aR(FG ||= ZG([+ "L ",+ ",",+ ""+ ]), e + n - l * f[1], t), f[1] > 0 && (d += aR(IG ||= ZG([+ "A ",+ ",",+ ",0,0,",+ ",\n ",+ ",",+ ""+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += aR(LG ||= ZG([+ "L ",+ ",",+ ""+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += aR(RG ||= ZG([+ "A ",+ ",",+ ",0,0,",+ ",\n ",+ ",",+ ""+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += aR(zG ||= ZG([+ "L ",+ ",",+ ""+ ]), e + l * f[3], t + r), f[3] > 0 && (d += aR(BG ||= ZG([+ "A ",+ ",",+ ",0,0,",+ ",\n ",+ ",",+ ""+ ]), 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 = aR(VG ||= ZG(/* @__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 = aR(HG ||= ZG([+ "M ",+ ",",+ " h ",+ " v ",+ " h ",+ " Z"+ ]), e, t, n, r, -n);+ return d;+}, $G = {+ x: 0,+ y: 0,+ width: 0,+ height: 0,+ radius: 0,+ isAnimationActive: !1,+ isUpdateAnimationActive: !1,+ animationBegin: 0,+ animationDuration: 1500,+ animationEasing: "ease"+}, eK = (e) => {+ var t = kR(e, $G), n = (0, E.useRef)(null), [r, i] = (0, E.useState)(-1);+ (0, E.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, E.useRef)(s), _ = (0, E.useRef)(c), v = (0, E.useRef)(a), y = (0, E.useRef)(o), b = AG((0, E.useMemo)(() => ({+ x: a,+ y: o,+ width: s,+ height: c,+ radius: l+ }), [+ a,+ o,+ s,+ c,+ l+ ]), "rectangle-");+ if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;+ var x = Sm("recharts-rectangle", u);+ if (!h) {+ var S = uI(t), { radius: C } = S, w = YG(S, jG);+ return /*#__PURE__*/ E.createElement("path", JG({}, w, {+ x: iR(a),+ y: iR(o),+ width: iR(s),+ height: iR(c),+ radius: typeof l == "number" ? l : void 0,+ className: x,+ d: QG(a, o, s, c, l)+ }));+ }+ var T = g.current, D = _.current, O = v.current, k = y.current, A = `0px ${r === -1 ? 1 : r}px`, j = `${r}px ${r}px`, M = ZW(["strokeDasharray"], f, typeof d == "string" ? d : $G.animationEasing);+ return /*#__PURE__*/ E.createElement(kG, {+ animationId: b,+ key: b,+ canBegin: r > 0,+ duration: f,+ easing: d,+ isActive: h,+ begin: p+ }, (e) => {+ var r = mR(T, s, e), i = mR(D, c, e), u = mR(O, a, e), d = mR(k, o, e);+ n.current && (g.current = r, _.current = i, v.current = u, y.current = d);+ var f = m ? e > 0 ? {+ transition: M,+ strokeDasharray: j+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = uI(t), { radius: h } = p, b = YG(p, MG);+ return /*#__PURE__*/ E.createElement("path", JG({}, b, {+ radius: typeof l == "number" ? l : void 0,+ className: x,+ d: QG(u, d, r, i, l),+ ref: n,+ style: WG(WG({}, f), t.style)+ }));});- return c(o[0]?.headers ?? []), o;+};+//#endregion+//#region node_modules/recharts/es6/util/PolarUtils.js+function tK(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-var Ew = (e, t, n, r, i, a, o) => {- let s = {- id: t,- index: r,- original: n,- depth: i,- parentId: o,- _valuesCache: {},- _uniqueValuesCache: {},- getValue: (t) => {- if (s._valuesCache.hasOwnProperty(t)) return s._valuesCache[t];- let n = e.getColumn(t);- if (n != null && n.accessorFn) return s._valuesCache[t] = n.accessorFn(s.original, r), s._valuesCache[t];- },- getUniqueValues: (t) => {- if (s._uniqueValuesCache.hasOwnProperty(t)) return s._uniqueValuesCache[t];- let n = e.getColumn(t);- if (n != null && n.accessorFn) return n.columnDef.getUniqueValues ? (s._uniqueValuesCache[t] = n.columnDef.getUniqueValues(s.original, r), s._uniqueValuesCache[t]) : (s._uniqueValuesCache[t] = [s.getValue(t)], s._uniqueValuesCache[t]);- },- renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,- subRows: a ?? [],- getLeafRows: () => yw(s.subRows, (e) => e.subRows),- getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,- getParentRows: () => {- let e = [], t = s;- for (;;) {- let n = t.getParentRow();- if (!n) break;- e.push(n), t = n;- }- return e.reverse();- },- getAllCells: Q(() => [e.getAllLeafColumns()], (t) => t.map((t) => bw(e, s, t, t.id)), $(e.options, "debugRows", "getAllCells")),- _getAllCellsByColumnId: Q(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), $(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);+function nK(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? tK(Object(n), !0).forEach(function(t) {+ rK(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tK(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });}- return s;-}, Dw = { 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();+ return e;+}+function rK(e, t, n) {+ return (t = iK(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function iK(e) {+ var t = aK(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function aK(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var oK = Math.PI / 180, sK = (e) => e * Math.PI / 180, cK = (e) => e * 180 / Math.PI, lK = (e, t, n, r) => ({+ x: e + Math.cos(-oK * r) * n,+ y: t + Math.sin(-oK * r) * n+}), uK = function(e, t) {+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {+ top: 0,+ right: 0,+ bottom: 0,+ left: 0,+ width: 0,+ height: 0,+ brushBottom: 0};-} }, Ow = (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));-};-Ow.autoRemove = (e) => Rw(e);-var kw = (e, t, n) => {- var r;- return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));-};-kw.autoRemove = (e) => Rw(e);-var Aw = (e, t, n) => {- var r;- return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();+ return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;+}, dK = (e, t) => {+ var { x: n, y: r } = e, { x: i, y: a } = t;+ return Math.sqrt((n - i) ** 2 + (r - a) ** 2);+}, fK = (e, t) => {+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = dK({+ x: n,+ y: r+ }, {+ x: i,+ y: a+ });+ if (o <= 0) return {+ radius: o,+ angle: 0+ };+ var s = (n - i) / o, c = Math.acos(s);+ return r > a && (c = 2 * Math.PI - c), {+ radius: o,+ angle: cK(c),+ angleInRadian: c+ };+}, pK = (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+ };+}, mK = (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;+}, hK = (e, t) => {+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = fK({+ x: n,+ y: r+ }, t), { innerRadius: o, outerRadius: s } = t;+ if (i < o || i > s || i === 0) return null;+ var { startAngle: c, endAngle: l } = pK(t), u = a, d;+ if (c <= l) {+ for (; u > l;) u -= 360;+ for (; u < c;) u += 360;+ d = u >= c && u <= l;+ } else {+ for (; u > c;) u -= 360;+ for (; u < l;) u += 360;+ d = u >= l && u <= c;+ }+ return d ? nK(nK({}, t), {}, {+ radius: i,+ angle: mK(u, t)+ }) : null;};-Aw.autoRemove = (e) => Rw(e);-var jw = (e, t, n) => e.getValue(t)?.includes(n);-jw.autoRemove = (e) => Rw(e);-var Mw = (e, t, n) => !n.some((n) => {- var r;- return !((r = e.getValue(t)) != null && r.includes(n));-});-Mw.autoRemove = (e) => Rw(e) || !(e != null && e.length);-var Nw = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));-Nw.autoRemove = (e) => Rw(e) || !(e != null && e.length);-var Pw = (e, t, n) => e.getValue(t) === n;-Pw.autoRemove = (e) => Rw(e);-var Fw = (e, t, n) => e.getValue(t) == n;-Fw.autoRemove = (e) => Rw(e);-var Iw = (e, t, n) => {- let [r, i] = n, a = e.getValue(t);- return a >= r && a <= i;+//#endregion+//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js+function gK(e) {+ var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;+ return {+ points: [lK(t, n, r, i), lK(t, n, r, a)],+ cx: t,+ cy: n,+ radius: r,+ startAngle: i,+ endAngle: a+ };+}+//#endregion+//#region node_modules/recharts/es6/shape/Sector.js+var _K, vK, yK, bK, xK, SK, CK;+function wK() {+ return wK = 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;+ }, wK.apply(null, arguments);+}+function TK(e, t) {+ return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));+}+var EK = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), DK = (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) / oK, d = c ? i : i + a * u, f = lK(t, n, l, d), p = lK(t, n, r, d), m = c ? i - a * u : i;+ return {+ center: f,+ circleTangency: p,+ lineTangency: lK(t, n, l * Math.cos(u * oK), m),+ theta: u+ };+}, OK = (e) => {+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = EK(a, o), c = a + s, l = lK(t, n, i, a), u = lK(t, n, i, c), d = aR(_K ||= TK([+ "M ",+ ",",+ "\n A ",+ ",",+ ",0,\n ",+ ",",+ ",\n ",+ ",",+ "\n "+ ]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);+ if (r > 0) {+ var f = lK(t, n, r, a), p = lK(t, n, r, c);+ d += aR(vK ||= TK([+ "L ",+ ",",+ "\n A ",+ ",",+ ",0,\n ",+ ",",+ ",\n ",+ ",",+ " Z"+ ]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);+ } else d += aR(yK ||= TK([+ "L ",+ ",",+ " Z"+ ]), t, n);+ return d;+}, kK = (e) => {+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = oR(l - c), { circleTangency: d, lineTangency: f, theta: p } = DK({+ cx: t,+ cy: n,+ radius: i,+ angle: c,+ sign: u,+ cornerRadius: a,+ cornerIsExternal: s+ }), { circleTangency: m, lineTangency: h, theta: g } = DK({+ cx: t,+ cy: n,+ radius: i,+ angle: l,+ sign: -u,+ cornerRadius: a,+ cornerIsExternal: s+ }), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;+ if (_ < 0) return o ? aR(bK ||= TK([+ "M ",+ ",",+ "\n a",+ ",",+ ",0,0,1,",+ ",0\n a",+ ",",+ ",0,0,1,",+ ",0\n "+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : OK({+ cx: t,+ cy: n,+ innerRadius: r,+ outerRadius: i,+ startAngle: c,+ endAngle: l+ });+ var v = aR(xK ||= TK([+ "M ",+ ",",+ "\n A",+ ",",+ ",0,0,",+ ",",+ ",",+ "\n A",+ ",",+ ",0,",+ ",",+ ",",+ ",",+ "\n A",+ ",",+ ",0,0,",+ ",",+ ",",+ "\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 } = DK({+ cx: t,+ cy: n,+ radius: r,+ angle: c,+ sign: u,+ isExternal: !0,+ cornerRadius: a,+ cornerIsExternal: s+ }), { circleTangency: S, lineTangency: C, theta: w } = DK({+ cx: t,+ cy: n,+ radius: r,+ angle: l,+ sign: -u,+ isExternal: !0,+ cornerRadius: a,+ 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 += aR(SK ||= TK([+ "L",+ ",",+ "\n A",+ ",",+ ",0,0,",+ ",",+ ",",+ "\n A",+ ",",+ ",0,",+ ",",+ ",",+ ",",+ "\n A",+ ",",+ ",0,0,",+ ",",+ ",",+ "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 += aR(CK ||= TK([+ "L",+ ",",+ "Z"+ ]), t, n);+ return v;+}, AK = {+ cx: 0,+ cy: 0,+ innerRadius: 0,+ outerRadius: 0,+ startAngle: 0,+ endAngle: 0,+ cornerRadius: 0,+ forceCornerRadius: !1,+ cornerIsExternal: !1+}, jK = (e) => {+ var t = kR(e, AK), { 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 = Sm("recharts-sector", d), p = a - i, m = fR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? kK({+ cx: n,+ cy: r,+ innerRadius: i,+ outerRadius: a,+ cornerRadius: Math.min(m, p / 2),+ forceCornerRadius: s,+ cornerIsExternal: c,+ startAngle: l,+ endAngle: u+ }) : OK({+ cx: n,+ cy: r,+ innerRadius: i,+ outerRadius: a,+ startAngle: l,+ endAngle: u+ });+ return /*#__PURE__*/ E.createElement("path", wK({}, uI(t), {+ className: f,+ d: h+ }));};-Iw.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;+//#endregion+//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js+function MK(e, t, n) {+ if (e === "horizontal") return [{+ x: t.x,+ y: n.top+ }, {+ x: t.x,+ y: n.top + n.height+ }];+ if (e === "vertical") return [{+ x: n.left,+ y: t.y+ }, {+ x: n.left + n.width,+ y: t.y+ }];+ if (TR(t)) {+ if (e === "centric") {+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = lK(r, i, a, s), l = lK(r, i, o, s);+ return [{+ x: c.x,+ y: c.y+ }, {+ x: l.x,+ y: l.y+ }];+ }+ return gK(t);}- return [a, o];-}, Iw.autoRemove = (e) => Rw(e) || Rw(e[0]) && Rw(e[1]);-var Lw = {- includesString: Ow,- includesStringSensitive: kw,- equalsString: Aw,- arrIncludes: jw,- arrIncludesAll: Mw,- arrIncludesSome: Nw,- equals: Pw,- weakEquals: Fw,- inNumberRange: Iw-};-function Rw(e) {- return e == null || e === "";}-var zw = {- getDefaultColumnDef: () => ({ filterFn: "auto" }),- getInitialState: (e) => ({- columnFilters: [],- ...e- }),- getDefaultOptions: (e) => ({- onColumnFiltersChange: gw("columnFilters", e),- filterFromLeafRows: !1,- maxLeafRowFilterDepth: 100- }),- createColumn: (e, t) => {- e.getAutoFilterFn = () => {- let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- return typeof n == "string" ? Lw.includesString : typeof n == "number" ? Lw.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? Lw.equals : Array.isArray(n) ? Lw.arrIncludes : Lw.weakEquals;- }, e.getFilterFn = () => _w(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? Lw[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 = hw(n, i ? i.value : void 0);- if (Bw(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];- let o = {- id: e.id,- value: a- };- return i ? t?.map((t) => t.id === e.id ? o : t) ?? [] : t != null && t.length ? [...t, o] : [o];- });- };- },- createRow: (e, t) => {- e.columnFilters = {}, e.columnFiltersMeta = {};- },- createTable: (e) => {- e.setColumnFilters = (t) => {- let n = e.getAllLeafColumns();- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => hw(t, e)?.filter((e) => {- let t = n.find((t) => t.id === e.id);- return !(t && Bw(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 Bw(e, t, n) {- return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs+function NK(e) {+ return ZL(e) ? NaN : Number(e);}-var Vw = {- sum: (e, t, n) => n.reduce((t, n) => {- let r = n.getValue(e);- return t + (typeof r == "number" ? r : 0);- }, 0),- min: (e, t, n) => {- let r;- return n.forEach((t) => {- let n = t.getValue(e);- n != null && (r > n || r === void 0 && n >= n) && (r = n);- }), r;- },- max: (e, t, n) => {- let r;- return n.forEach((t) => {- let n = t.getValue(e);- n != null && (r < n || r === void 0 && n >= n) && (r = n);- }), r;- },- extent: (e, t, n) => {- let r, i;- return n.forEach((t) => {- let n = t.getValue(e);- n != null && (r === void 0 ? n >= n && (r = i = n) : (r > n && (r = n), i < n && (i = n)));- }), [r, i];- },- mean: (e, t) => {- let n = 0, r = 0;- if (t.forEach((t) => {- let i = t.getValue(e);- i != null && (i = +i) >= i && (++n, r += i);- }), n) return r / n;- },- median: (e, t) => {- if (!t.length) return;- let n = t.map((t) => t.getValue(e));- if (!vw(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];- },- 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-}, Hw = {- getDefaultColumnDef: () => ({- aggregatedCell: (e) => {- var t;- return ((t = e.getValue()) == null || t.toString == null ? void 0 : t.toString()) ?? null;- },- aggregationFn: "auto"- }),- getInitialState: (e) => ({- grouping: [],- ...e- }),- getDefaultOptions: (e) => ({- onGroupingChange: gw("grouping", e),- groupedColumnMode: "reorder"- }),- createColumn: (e, t) => {- e.toggleGrouping = () => {- t.setGrouping((t) => t != null && t.includes(e.id) ? t.filter((t) => t !== e.id) : [...t ?? [], e.id]);- }, e.getCanGroup = () => (e.columnDef.enableGrouping ?? !0) && (t.options.enableGrouping ?? !0) && (!!e.accessorFn || !!e.columnDef.getGroupingValue), e.getIsGrouped = () => t.getState().grouping?.includes(e.id), e.getGroupedIndex = () => t.getState().grouping?.indexOf(e.id), e.getToggleGroupingHandler = () => {- let t = e.getCanGroup();- return () => {- t && e.toggleGrouping();- };- }, e.getAutoAggregationFn = () => {- let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- if (typeof n == "number") return Vw.sum;- if (Object.prototype.toString.call(n) === "[object Date]") return Vw.extent;- }, e.getAggregationFn = () => {- if (!e) throw Error();- return _w(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? Vw[e.columnDef.aggregationFn];- };- },- createTable: (e) => {- e.setGrouping = (t) => e.options.onGroupingChange == null ? void 0 : e.options.onGroupingChange(t), e.resetGrouping = (t) => {- e.setGrouping(t ? [] : e.initialState?.grouping ?? []);- }, e.getPreGroupedRowModel = () => e.getFilteredRowModel(), e.getGroupedRowModel = () => (!e._getGroupedRowModel && e.options.getGroupedRowModel && (e._getGroupedRowModel = e.options.getGroupedRowModel(e)), e.options.manualGrouping || !e._getGroupedRowModel ? e.getPreGroupedRowModel() : e._getGroupedRowModel());- },- createRow: (e, t) => {- e.getIsGrouped = () => !!e.groupingColumnId, e.getGroupingValue = (n) => {- if (e._groupingValuesCache.hasOwnProperty(n)) return e._groupingValuesCache[n];- let r = t.getColumn(n);- return r != null && r.columnDef.getGroupingValue ? (e._groupingValuesCache[n] = r.columnDef.getGroupingValue(e.original), e._groupingValuesCache[n]) : e.getValue(n);- }, e._groupingValuesCache = {};- },- createCell: (e, t, n, r) => {- e.getIsGrouped = () => t.getIsGrouped() && t.id === n.groupingColumnId, e.getIsPlaceholder = () => !e.getIsGrouped() && t.getIsGrouped(), e.getIsAggregated = () => {- var t;- return !e.getIsGrouped() && !e.getIsPlaceholder() && !!((t = n.subRows) != null && t.length);- };+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs+function PK(e) {+ return e ? (e = NK(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 FK(e, t, n) {+ n && typeof n != "number" && sz(e, t, n) && (t = n = void 0), e = PK(e), t === void 0 ? (t = e, e = 0) : t = PK(t), n = n === void 0 ? e < t ? 1 : -1 : PK(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 IK = (e) => e.chartData, LK = $([IK], (e) => {+ var t = e.chartData == null ? 0 : e.chartData.length - 1;+ return {+ chartData: e.chartData,+ computedData: e.computedData,+ dataEndIndex: t,+ dataStartIndex: 0+ };+}), RK = (e, t, n, r) => r ? LK(e) : IK(e), zK = (e, t, n) => n ? LK(e) : IK(e);+//#endregion+//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js+function BK(e) {+ if (Array.isArray(e) && e.length === 2) {+ var [t, n] = e;+ if (hV(t) && hV(n)) return !0;}-};-function Uw(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];+ return !1;}-var Ww = {- getInitialState: (e) => ({- columnOrder: [],- ...e- }),- getDefaultOptions: (e) => ({ onColumnOrderChange: gw("columnOrder", e) }),- createColumn: (e, t) => {- e.getIndex = Q((e) => [tT(t, e)], (t) => t.findIndex((t) => t.id === e.id), $(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => tT(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {- let r = tT(t, n);- return r[r.length - 1]?.id === e.id;+function VK(e, t, n) {+ return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];+}+function HK(e, t) {+ if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {+ var [n, r] = e, i, a;+ if (hV(n)) i = n;+ else if (typeof n == "function") return;+ if (hV(r)) a = r;+ else if (typeof r == "function") return;+ var o = [i, a];+ if (BK(o)) return o;+ }+}+function UK(e, t, n) {+ if (!(!n && t == null)) {+ if (typeof e == "function" && t != null) try {+ var r = e(t, n);+ if (BK(r)) return VK(r, t, n);+ } catch {}+ if (Array.isArray(e) && e.length === 2) {+ var [i, a] = e, o, s;+ if (i === "auto") t != null && (o = Math.min(...t));+ else if (Z(i)) o = i;+ else if (typeof i == "function") try {+ t != null && (o = i(t?.[0]));+ } catch {}+ else if (typeof i == "string" && OV.test(i)) {+ var c = OV.exec(i);+ if (c == null || c[1] == null || t == null) o = void 0;+ else {+ var l = +c[1];+ o = t[0] - l;+ }+ } else o = t?.[0];+ if (a === "auto") t != null && (s = Math.max(...t));+ else if (Z(a)) s = a;+ else if (typeof a == "function") try {+ t != null && (s = a(t?.[1]));+ } catch {}+ else if (typeof a == "string" && kV.test(a)) {+ var u = kV.exec(a);+ if (u == null || u[1] == null || t == null) s = void 0;+ else {+ var d = +u[1];+ s = t[1] + d;+ }+ } else s = t?.[1];+ var f = [o, s];+ if (BK(f)) return t == null ? f : VK(f, t, n);+ }+ }+}+//#endregion+//#region node_modules/recharts/es6/util/scale/util/arithmetic.js+var WK = /* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {+ (function(e) {+ var n = 1e9, r = {+ precision: 20,+ rounding: 4,+ toExpNeg: -7,+ toExpPos: 21,+ LN10: "2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"+ }, i = !0, a = "[DecimalError] ", o = a + "Invalid argument: ", s = a + "Exponent out of range: ", c = Math.floor, l = Math.pow, u = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, d, f = 1e7, p = 7, m = 9007199254740991, h = c(m / p), g = {};+ g.absoluteValue = g.abs = function() {+ var e = new this.constructor(this);+ return e.s &&= 1, e;+ }, g.comparedTo = g.cmp = function(e) {+ var t, n, r, i, a = this;+ if (e = new a.constructor(e), a.s !== e.s) return a.s || -e.s;+ if (a.e !== e.e) return a.e > e.e ^ a.s < 0 ? 1 : -1;+ for (r = a.d.length, i = e.d.length, t = 0, n = r < i ? r : i; t < n; ++t) if (a.d[t] !== e.d[t]) return a.d[t] > e.d[t] ^ a.s < 0 ? 1 : -1;+ return r === i ? 0 : r > i ^ a.s < 0 ? 1 : -1;+ }, g.decimalPlaces = g.dp = function() {+ var e = this, t = e.d.length - 1, n = (t - e.e) * p;+ if (t = e.d[t], t) for (; t % 10 == 0; t /= 10) n--;+ return n < 0 ? 0 : n;+ }, g.dividedBy = g.div = function(e) {+ return b(this, new this.constructor(e));+ }, g.dividedToIntegerBy = g.idiv = function(e) {+ var t = this, n = t.constructor;+ return D(b(t, new n(e), 0, 1), n.precision);+ }, g.equals = g.eq = function(e) {+ return !this.cmp(e);+ }, g.exponent = function() {+ return S(this);+ }, g.greaterThan = g.gt = function(e) {+ return this.cmp(e) > 0;+ }, g.greaterThanOrEqualTo = g.gte = function(e) {+ return this.cmp(e) >= 0;+ }, g.isInteger = g.isint = function() {+ return this.e > this.d.length - 2;+ }, g.isNegative = g.isneg = function() {+ return this.s < 0;+ }, g.isPositive = g.ispos = function() {+ return this.s > 0;+ }, g.isZero = function() {+ return this.s === 0;+ }, g.lessThan = g.lt = function(e) {+ return this.cmp(e) < 0;+ }, g.lessThanOrEqualTo = g.lte = function(e) {+ return this.cmp(e) < 1;+ }, g.logarithm = g.log = function(e) {+ var t, n = this, r = n.constructor, o = r.precision, s = o + 5;+ if (e === void 0) e = new r(10);+ else if (e = new r(e), e.s < 1 || e.eq(d)) throw Error(a + "NaN");+ if (n.s < 1) throw Error(a + (n.s ? "NaN" : "-Infinity"));+ return n.eq(d) ? new r(0) : (i = !1, t = b(T(n, s), T(e, s), s), i = !0, D(t, o));+ }, g.minus = g.sub = function(e) {+ var t = this;+ return e = new t.constructor(e), t.s == e.s ? O(t, e) : _(t, (e.s = -e.s, e));+ }, g.modulo = g.mod = function(e) {+ var t, n = this, r = n.constructor, o = r.precision;+ if (e = new r(e), !e.s) throw Error(a + "NaN");+ return n.s ? (i = !1, t = b(n, e, 0, 1).times(e), i = !0, n.minus(t)) : D(new r(n), o);+ }, g.naturalExponential = g.exp = function() {+ return x(this);+ }, g.naturalLogarithm = g.ln = function() {+ return T(this);+ }, g.negated = g.neg = function() {+ var e = new this.constructor(this);+ return e.s = -e.s || 0, e;+ }, g.plus = g.add = function(e) {+ var t = this;+ return e = new t.constructor(e), t.s == e.s ? _(t, e) : O(t, (e.s = -e.s, e));+ }, g.precision = g.sd = function(e) {+ var t, n, r, i = this;+ if (e !== void 0 && e !== !!e && e !== 1 && e !== 0) throw Error(o + e);+ if (t = S(i) + 1, r = i.d.length - 1, n = r * p + 1, r = i.d[r], r) {+ for (; r % 10 == 0; r /= 10) n--;+ for (r = i.d[0]; r >= 10; r /= 10) n++;+ }+ return e && t > n ? t : n;+ }, g.squareRoot = g.sqrt = function() {+ var e, t, n, r, o, s, l, u = this, d = u.constructor;+ if (u.s < 1) {+ if (!u.s) return new d(0);+ throw Error(a + "NaN");+ }+ for (e = S(u), i = !1, o = Math.sqrt(+u), o == 0 || o == 1 / 0 ? (t = y(u.d), (t.length + e) % 2 == 0 && (t += "0"), o = Math.sqrt(t), e = c((e + 1) / 2) - (e < 0 || e % 2), o == 1 / 0 ? t = "5e" + e : (t = o.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), r = new d(t)) : r = new d(o.toString()), n = d.precision, o = l = n + 3;;) if (s = r, r = s.plus(b(u, s, l + 2)).times(.5), y(s.d).slice(0, l) === (t = y(r.d)).slice(0, l)) {+ if (t = t.slice(l - 3, l + 1), o == l && t == "4999") {+ if (D(s, n + 1, 0), s.times(s).eq(u)) {+ r = s;+ break;+ }+ } else if (t != "9999") break;+ l += 4;+ }+ return i = !0, D(r, n);+ }, g.times = g.mul = function(e) {+ var t, n, r, a, o, s, c, l, u, d = this, p = d.constructor, m = d.d, h = (e = new p(e)).d;+ if (!d.s || !e.s) return new p(0);+ for (e.s *= d.s, n = d.e + e.e, l = m.length, u = h.length, l < u && (o = m, m = h, h = o, s = l, l = u, u = s), o = [], s = l + u, r = s; r--;) o.push(0);+ for (r = u; --r >= 0;) {+ for (t = 0, a = l + r; a > r;) c = o[a] + h[r] * m[a - r - 1] + t, o[a--] = c % f | 0, t = c / f | 0;+ o[a] = (o[a] + t) % f | 0;+ }+ for (; !o[--s];) o.pop();+ return t ? ++n : o.shift(), e.d = o, e.e = n, i ? D(e, p.precision) : e;+ }, g.toDecimalPlaces = g.todp = function(e, t) {+ var r = this, i = r.constructor;+ return r = new i(r), e === void 0 ? r : (v(e, 0, n), t === void 0 ? t = i.rounding : v(t, 0, 8), D(r, e + S(r) + 1, t));+ }, g.toExponential = function(e, t) {+ var r, i = this, a = i.constructor;+ return e === void 0 ? r = k(i, !0) : (v(e, 0, n), t === void 0 ? t = a.rounding : v(t, 0, 8), i = D(new a(i), e + 1, t), r = k(i, !0, e + 1)), r;+ }, g.toFixed = function(e, t) {+ var r, i, a = this, o = a.constructor;+ return e === void 0 ? k(a) : (v(e, 0, n), t === void 0 ? t = o.rounding : v(t, 0, 8), i = D(new o(a), e + S(a) + 1, t), r = k(i.abs(), !1, e + S(i) + 1), a.isneg() && !a.isZero() ? "-" + r : r);+ }, g.toInteger = g.toint = function() {+ var e = this, t = e.constructor;+ return D(new t(e), S(e) + 1, t.rounding);+ }, g.toNumber = function() {+ return +this;+ }, g.toPower = g.pow = function(e) {+ var t, n, r, o, s, l, u = this, f = u.constructor, h = 12, g = +(e = new f(e));+ if (!e.s) return new f(d);+ if (u = new f(u), !u.s) {+ if (e.s < 1) throw Error(a + "Infinity");+ return u;+ }+ if (u.eq(d)) return u;+ if (r = f.precision, e.eq(d)) return D(u, r);+ if (t = e.e, n = e.d.length - 1, l = t >= n, s = u.s, !l) {+ if (s < 0) throw Error(a + "NaN");+ } else if ((n = g < 0 ? -g : g) <= m) {+ for (o = new f(d), t = Math.ceil(r / p + 4), i = !1; n % 2 && (o = o.times(u), A(o.d, t)), n = c(n / 2), n !== 0;) u = u.times(u), A(u.d, t);+ return i = !0, e.s < 0 ? new f(d).div(o) : D(o, r);+ }+ return s = s < 0 && e.d[Math.max(t, n)] & 1 ? -1 : 1, u.s = 1, i = !1, o = e.times(T(u, r + h)), i = !0, o = x(o), o.s = s, o;+ }, g.toPrecision = function(e, t) {+ var r, i, a = this, o = a.constructor;+ return e === void 0 ? (r = S(a), i = k(a, r <= o.toExpNeg || r >= o.toExpPos)) : (v(e, 1, n), t === void 0 ? t = o.rounding : v(t, 0, 8), a = D(new o(a), e, t), r = S(a), i = k(a, e <= r || r <= o.toExpNeg, e)), i;+ }, g.toSignificantDigits = g.tosd = function(e, t) {+ var r = this, i = r.constructor;+ return e === void 0 ? (e = i.precision, t = i.rounding) : (v(e, 1, n), t === void 0 ? t = i.rounding : v(t, 0, 8)), D(new i(r), e, t);+ }, g.toString = g.valueOf = g.val = g.toJSON = function() {+ var e = this, t = S(e), n = e.constructor;+ return k(e, t <= n.toExpNeg || t >= n.toExpPos);};- },- 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 = Q(() => [- e.getState().columnOrder,- e.getState().grouping,- e.options.groupedColumnMode- ], (e, t, n) => (r) => {- let i = [];- if (!(e != null && e.length)) i = r;+ function _(e, t) {+ var n, r, a, o, s, c, l, u, d = e.constructor, m = d.precision;+ if (!e.s || !t.s) return t.s || (t = new d(e)), i ? D(t, m) : t;+ if (l = e.d, u = t.d, s = e.e, a = t.e, l = l.slice(), o = s - a, o) {+ for (o < 0 ? (r = l, o = -o, c = u.length) : (r = u, a = s, c = l.length), s = Math.ceil(m / p), c = s > c ? s + 1 : c + 1, o > c && (o = c, r.length = 1), r.reverse(); o--;) r.push(0);+ r.reverse();+ }+ for (c = l.length, o = u.length, c - o < 0 && (o = c, r = u, u = l, l = r), n = 0; o;) n = (l[--o] = l[o] + u[o] + n) / f | 0, l[o] %= f;+ for (n && (l.unshift(n), ++a), c = l.length; l[--c] == 0;) l.pop();+ return t.d = l, t.e = a, i ? D(t, m) : t;+ }+ function v(e, t, n) {+ if (e !== ~~e || e < t || e > n) throw Error(o + e);+ }+ function y(e) {+ var t, n, r, i = e.length - 1, a = "", o = e[0];+ if (i > 0) {+ for (a += o, t = 1; t < i; t++) r = e[t] + "", n = p - r.length, n && (a += w(n)), a += r;+ o = e[t], r = o + "", n = p - r.length, n && (a += w(n));+ } else if (o === 0) return "0";+ for (; o % 10 == 0;) o /= 10;+ return a + o;+ }+ var b = (function() {+ function e(e, t) {+ var n, r = 0, i = e.length;+ for (e = e.slice(); i--;) n = e[i] * t + r, e[i] = n % f | 0, r = n / f | 0;+ return r && e.unshift(r), e;+ }+ function t(e, t, n, r) {+ var i, a;+ if (n != r) a = n > r ? 1 : -1;+ else for (i = a = 0; i < n; i++) if (e[i] != t[i]) {+ a = e[i] > t[i] ? 1 : -1;+ break;+ }+ return a;+ }+ function n(e, t, n) {+ for (var r = 0; n--;) e[n] -= r, r = +(e[n] < t[n]), e[n] = r * f + e[n] - t[n];+ for (; !e[0] && e.length > 1;) e.shift();+ }+ return function(r, i, o, s) {+ var c, l, u, d, m, h, g, _, v, y, b, x, C, w, T, E, O, k, A = r.constructor, j = r.s == i.s ? 1 : -1, M = r.d, N = i.d;+ if (!r.s) return new A(r);+ if (!i.s) throw Error(a + "Division by zero");+ for (l = r.e - i.e, O = N.length, T = M.length, g = new A(j), _ = g.d = [], u = 0; N[u] == (M[u] || 0);) ++u;+ if (N[u] > (M[u] || 0) && --l, x = o == null ? o = A.precision : s ? o + (S(r) - S(i)) + 1 : o, x < 0) return new A(0);+ if (x = x / p + 2 | 0, u = 0, O == 1) for (d = 0, N = N[0], x++; (u < T || d) && x--; u++) C = d * f + (M[u] || 0), _[u] = C / N | 0, d = C % N | 0;+ else {+ for (d = f / (N[0] + 1) | 0, d > 1 && (N = e(N, d), M = e(M, d), O = N.length, T = M.length), w = O, v = M.slice(0, O), y = v.length; y < O;) v[y++] = 0;+ k = N.slice(), k.unshift(0), E = N[0], N[1] >= f / 2 && ++E;+ do+ d = 0, c = t(N, v, O, y), c < 0 ? (b = v[0], O != y && (b = b * f + (v[1] || 0)), d = b / E | 0, d > 1 ? (d >= f && (d = f - 1), m = e(N, d), h = m.length, y = v.length, c = t(m, v, h, y), c == 1 && (d--, n(m, O < h ? k : N, h))) : (d == 0 && (c = d = 1), m = N.slice()), h = m.length, h < y && m.unshift(0), n(v, m, y), c == -1 && (y = v.length, c = t(N, v, O, y), c < 1 && (d++, n(v, O < y ? k : N, y))), y = v.length) : c === 0 && (d++, v = [0]), _[u++] = d, c && v[0] ? v[y++] = M[w] || 0 : (v = [M[w]], y = 1);+ while ((w++ < T || v[0] !== void 0) && x--);+ }+ return _[0] || _.shift(), g.e = l, D(g, s ? o + S(g) + 1 : o);+ };+ })();+ function x(e, t) {+ var n, r, a, o, c, u, f = 0, p = 0, m = e.constructor, h = m.precision;+ if (S(e) > 16) throw Error(s + S(e));+ if (!e.s) return new m(d);+ for (t == null ? (i = !1, u = h) : u = t, c = new m(.03125); e.abs().gte(.1);) e = e.times(c), p += 5;+ for (r = Math.log(l(2, p)) / Math.LN10 * 2 + 5 | 0, u += r, n = a = o = new m(d), m.precision = u;;) {+ if (a = D(a.times(e), u), n = n.times(++f), c = o.plus(b(a, n, u)), y(c.d).slice(0, u) === y(o.d).slice(0, u)) {+ for (; p--;) o = D(o.times(o), u);+ return m.precision = h, t == null ? (i = !0, D(o, h)) : o;+ }+ o = c;+ }+ }+ function S(e) {+ for (var t = e.e * p, n = e.d[0]; n >= 10; n /= 10) t++;+ return t;+ }+ function C(e, t, n) {+ if (t > e.LN10.sd()) throw i = !0, n && (e.precision = n), Error(a + "LN10 precision limit exceeded");+ return D(new e(e.LN10), t);+ }+ function w(e) {+ for (var t = ""; e--;) t += "0";+ return t;+ }+ function T(e, t) {+ var n, r, o, s, c, l, u, f, p, m = 1, h = 10, g = e, _ = g.d, v = g.constructor, x = v.precision;+ if (g.s < 1) throw Error(a + (g.s ? "NaN" : "-Infinity"));+ if (g.eq(d)) return new v(0);+ if (t == null ? (i = !1, f = x) : f = t, g.eq(10)) return t ?? (i = !0), C(v, f);+ if (f += h, v.precision = f, n = y(_), r = n.charAt(0), s = S(g), Math.abs(s) < 0x5543df729c000) {+ for (; r < 7 && r != 1 || r == 1 && n.charAt(1) > 3;) g = g.times(e), n = y(g.d), r = n.charAt(0), m++;+ s = S(g), r > 1 ? (g = new v("0." + n), s++) : g = new v(r + "." + n.slice(1));+ } else return u = C(v, f + 2, x).times(s + ""), g = T(new v(r + "." + n.slice(1)), f - h).plus(u), v.precision = x, t == null ? (i = !0, D(g, x)) : g;+ for (l = c = g = b(g.minus(d), g.plus(d), f), p = D(g.times(g), f), o = 3;;) {+ if (c = D(c.times(p), f), u = l.plus(b(c, new v(o), f)), y(u.d).slice(0, f) === y(l.d).slice(0, f)) return l = l.times(2), s !== 0 && (l = l.plus(C(v, f + 2, x).times(s + ""))), l = b(l, new v(m), f), v.precision = x, t == null ? (i = !0, D(l, x)) : l;+ l = u, o += 2;+ }+ }+ function E(e, t) {+ var n, r, a;+ for ((n = t.indexOf(".")) > -1 && (t = t.replace(".", "")), (r = t.search(/e/i)) > 0 ? (n < 0 && (n = r), n += +t.slice(r + 1), t = t.substring(0, r)) : n < 0 && (n = t.length), r = 0; t.charCodeAt(r) === 48;) ++r;+ for (a = t.length; t.charCodeAt(a - 1) === 48;) --a;+ if (t = t.slice(r, a), t) {+ if (a -= r, n = n - r - 1, e.e = c(n / p), e.d = [], r = (n + 1) % p, n < 0 && (r += p), r < a) {+ for (r && e.d.push(+t.slice(0, r)), a -= p; r < a;) e.d.push(+t.slice(r, r += p));+ t = t.slice(r), r = p - t.length;+ } else r -= a;+ for (; r--;) t += "0";+ if (e.d.push(+t), i && (e.e > h || e.e < -h)) throw Error(s + n);+ } else e.s = 0, e.e = 0, e.d = [0];+ return e;+ }+ function D(e, t, n) {+ var r, a, o, u, d, m, g, _, v = e.d;+ for (u = 1, o = v[0]; o >= 10; o /= 10) u++;+ if (r = t - u, r < 0) r += p, a = t, g = v[_ = 0];else {- let t = [...e], n = [...r];- for (; n.length && t.length;) {- let e = t.shift(), r = n.findIndex((t) => t.id === e);- r > -1 && i.push(n.splice(r, 1)[0]);+ if (_ = Math.ceil((r + 1) / p), o = v.length, _ >= o) return e;+ for (g = o = v[_], u = 1; o >= 10; o /= 10) u++;+ r %= p, a = r - p + u;+ }+ if (n !== void 0 && (o = l(10, u - a - 1), d = g / o % 10 | 0, m = t < 0 || v[_ + 1] !== void 0 || g % o, m = n < 4 ? (d || m) && (n == 0 || n == (e.s < 0 ? 3 : 2)) : d > 5 || d == 5 && (n == 4 || m || n == 6 && (r > 0 ? a > 0 ? g / l(10, u - a) : 0 : v[_ - 1]) % 10 & 1 || n == (e.s < 0 ? 8 : 7))), t < 1 || !v[0]) return m ? (o = S(e), v.length = 1, t = t - o - 1, v[0] = l(10, (p - t % p) % p), e.e = c(-t / p) || 0) : (v.length = 1, v[0] = e.e = e.s = 0), e;+ if (r == 0 ? (v.length = _, o = 1, _--) : (v.length = _ + 1, o = l(10, p - r), v[_] = a > 0 ? (g / l(10, u - a) % l(10, a) | 0) * o : 0), m) for (;;) if (_ == 0) {+ (v[0] += o) == f && (v[0] = 1, ++e.e);+ break;+ } else {+ if (v[_] += o, v[_] != f) break;+ v[_--] = 0, o = 1;+ }+ for (r = v.length; v[--r] === 0;) v.pop();+ if (i && (e.e > h || e.e < -h)) throw Error(s + S(e));+ return e;+ }+ function O(e, t) {+ var n, r, a, o, s, c, l, u, d, m, h = e.constructor, g = h.precision;+ if (!e.s || !t.s) return t.s ? t.s = -t.s : t = new h(e), i ? D(t, g) : t;+ if (l = e.d, m = t.d, r = t.e, u = e.e, l = l.slice(), s = u - r, s) {+ for (d = s < 0, d ? (n = l, s = -s, c = m.length) : (n = m, r = u, c = l.length), a = Math.max(Math.ceil(g / p), c) + 2, s > a && (s = a, n.length = 1), n.reverse(), a = s; a--;) n.push(0);+ n.reverse();+ } else {+ for (a = l.length, c = m.length, d = a < c, d && (c = a), a = 0; a < c; a++) if (l[a] != m[a]) {+ d = l[a] < m[a];+ break;}- i = [...i, ...n];+ s = 0;}- return Uw(i, t, n);- }, $(e.options, "debugTable", "_getOrderColumnsFn"));+ for (d && (n = l, l = m, m = n, t.s = -t.s), c = l.length, a = m.length - c; a > 0; --a) l[c++] = 0;+ for (a = m.length; a > s;) {+ if (l[--a] < m[a]) {+ for (o = a; o && l[--o] === 0;) l[o] = f - 1;+ --l[o], l[a] += f;+ }+ l[a] -= m[a];+ }+ for (; l[--c] === 0;) l.pop();+ for (; l[0] === 0; l.shift()) --r;+ return l[0] ? (t.d = l, t.e = r, i ? D(t, g) : t) : new h(0);+ }+ function k(e, t, n) {+ var r, i = S(e), a = y(e.d), o = a.length;+ return t ? (n && (r = n - o) > 0 ? a = a.charAt(0) + "." + a.slice(1) + w(r) : o > 1 && (a = a.charAt(0) + "." + a.slice(1)), a = a + (i < 0 ? "e" : "e+") + i) : i < 0 ? (a = "0." + w(-i - 1) + a, n && (r = n - o) > 0 && (a += w(r))) : i >= o ? (a += w(i + 1 - o), n && (r = n - i - 1) > 0 && (a = a + "." + w(r))) : ((r = i + 1) < o && (a = a.slice(0, r) + "." + a.slice(r)), n && (r = n - o) > 0 && (i + 1 === o && (a += "."), a += w(r))), e.s < 0 ? "-" + a : a;+ }+ function A(e, t) {+ if (e.length > t) return e.length = t, !0;+ }+ function j(e) {+ var t, n, r;+ function i(e) {+ var t = this;+ if (!(t instanceof i)) return new i(e);+ if (t.constructor = i, e instanceof i) {+ t.s = e.s, t.e = e.e, t.d = (e = e.d) ? e.slice() : e;+ return;+ }+ if (typeof e == "number") {+ if (e * 0 != 0) throw Error(o + e);+ if (e > 0) t.s = 1;+ else if (e < 0) e = -e, t.s = -1;+ else {+ t.s = 0, t.e = 0, t.d = [0];+ return;+ }+ if (e === ~~e && e < 1e7) {+ t.e = 0, t.d = [e];+ return;+ }+ return E(t, e.toString());+ }+ if (typeof e != "string") throw Error(o + e);+ if (e.charCodeAt(0) === 45 ? (e = e.slice(1), t.s = -1) : t.s = 1, u.test(e)) E(t, e);+ else throw Error(o + e);+ }+ if (i.prototype = g, i.ROUND_UP = 0, i.ROUND_DOWN = 1, i.ROUND_CEIL = 2, i.ROUND_FLOOR = 3, i.ROUND_HALF_UP = 4, i.ROUND_HALF_DOWN = 5, i.ROUND_HALF_EVEN = 6, i.ROUND_HALF_CEIL = 7, i.ROUND_HALF_FLOOR = 8, i.clone = j, i.config = i.set = M, e === void 0 && (e = {}), e) for (r = [+ "precision",+ "rounding",+ "toExpNeg",+ "toExpPos",+ "LN10"+ ], t = 0; t < r.length;) e.hasOwnProperty(n = r[t++]) || (e[n] = this[n]);+ return i.config(e), i;+ }+ function M(e) {+ if (!e || typeof e != "object") throw Error(a + "Object expected");+ var t, r, i, s = [+ "precision",+ 1,+ n,+ "rounding",+ 0,+ 8,+ "toExpNeg",+ -1 / 0,+ 0,+ "toExpPos",+ 0,+ 1 / 0+ ];+ for (t = 0; t < s.length; t += 3) if ((i = e[r = s[t]]) !== void 0) {+ if (c(i) === i && i >= s[t + 1] && i <= s[t + 2]) this[r] = i;+ else throw Error(o + r + ": " + i);+ }+ if ((i = e[r = "LN10"]) !== void 0) {+ if (i == Math.LN10) this[r] = new this(i);+ else throw Error(o + r + ": " + i);+ }+ return this;+ }+ r = j(r), r.default = r.Decimal = r, d = new r(1), typeof define == "function" && define.amd ? define(function() {+ return r;+ }) : 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 GK(e) {+ return e === 0 ? 1 : Math.floor(new WK.default(e).abs().log(10).toNumber()) + 1;+}+function KK(e, t, n) {+ for (var r = new WK.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 qK = (e) => {+ var [t, n] = e, [r, i] = [t, n];+ return t > n && ([r, i] = [n, t]), [r, i];+}, JK = (e, t, n) => {+ if (e.lte(0)) return new WK.default(0);+ var r = GK(e.toNumber()), i = new WK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new WK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ return t ? new WK.default(s.toNumber()) : new WK.default(Math.ceil(s.toNumber()));+}, YK = (e, t, n) => {+ if (e.lte(0)) return new WK.default(0);+ var r = [+ 1,+ 2,+ 2.5,+ 5+ ], i = e.toNumber(), a = Math.floor(new WK.default(i).abs().log(10).toNumber()), o = new WK.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 WK.default(10).pow(l));+ }+ var u = r[c] ?? 1, d = new WK.default(u).mul(o);+ return t ? d : new WK.default(Math.ceil(d.toNumber()));+}, XK = (e, t, n) => {+ var r = new WK.default(1), i = new WK.default(e);+ if (!i.isint() && n) {+ var a = Math.abs(e);+ a < 1 ? (r = new WK.default(10).pow(GK(e) - 1), i = new WK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new WK.default(Math.floor(e)));+ } else e === 0 ? i = new WK.default(Math.floor((t - 1) / 2)) : n || (i = new WK.default(Math.floor(e)));+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new WK.default(c - o).mul(r)).toNumber());+ return s;+}, ZK = 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] : JK;+ if (!Number.isFinite((t - e) / (n - 1))) return {+ step: new WK.default(0),+ tickMin: new WK.default(0),+ tickMax: new WK.default(0)+ };+ var o = a(new WK.default(t).sub(e).div(n - 1), r, i), s;+ e <= 0 && t >= 0 ? s = new WK.default(0) : (s = new WK.default(e).add(t).div(2), s = s.sub(new WK.default(s).mod(o)));+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new WK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;+ return u > n ? ZK(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 WK.default(c).mul(o)),+ tickMax: s.add(new WK.default(l).mul(o))+ });+}, QK = 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] = qK([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 XK(s, r, i);+ var { step: u, tickMin: d, tickMax: f } = ZK(s, c, o, i, 0, a === "snap125" ? YK : JK), p = KK(d, f.add(new WK.default(.1).mul(u)), u);+ return t > n ? p.reverse() : p;+}, $K = 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] = qK([n, r]);+ if (o === -Infinity || s === Infinity) return [n, r];+ if (o === s) return [o];+ var c = a === "snap125" ? YK : JK, l = Math.max(t, 2), u = c(new WK.default(s).sub(o).div(l - 1), i, 0), d = [...KK(new WK.default(o), new WK.default(s), u), s];+ return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;+}, eq = (e) => e.rootProps.maxBarSize, tq = (e) => e.rootProps.barGap, nq = (e) => e.rootProps.barCategoryGap, rq = (e) => e.rootProps.barSize, iq = (e) => e.rootProps.stackOffset, aq = (e) => e.rootProps.reverseStackOrder, oq = (e) => e.options.chartName, sq = (e) => e.rootProps.syncId, cq = (e) => e.rootProps.syncMethod, lq = (e) => e.options.eventEmitter, uq = (e) => e.rootProps.baseValue, dq = {+ grid: -100,+ barBackground: -50,+ area: 100,+ cursorRectangle: 200,+ bar: 300,+ line: 400,+ axis: 500,+ scatter: 600,+ activeBar: 1e3,+ cursorLine: 1100,+ activeDot: 1200,+ label: 2e3+}, fq = {+ allowDecimals: !1,+ allowDuplicatedCategory: !0,+ allowDataOverflow: !1,+ angle: 0,+ angleAxisId: 0,+ axisLine: !0,+ axisLineType: "polygon",+ cx: 0,+ cy: 0,+ hide: !1,+ includeHidden: !1,+ label: !1,+ niceTicks: "auto",+ orientation: "outer",+ reversed: !1,+ scale: "auto",+ tick: !0,+ tickLine: !0,+ tickSize: 8,+ type: "auto",+ zIndex: dq.axis+}, pq = {+ allowDataOverflow: !1,+ allowDecimals: !1,+ allowDuplicatedCategory: !0,+ angle: 0,+ axisLine: !0,+ includeHidden: !1,+ hide: !1,+ niceTicks: "auto",+ label: !1,+ orientation: "right",+ radiusAxisId: 0,+ reversed: !1,+ scale: "auto",+ stroke: "#ccc",+ tick: !0,+ tickCount: 5,+ tickLine: !0,+ type: "auto",+ zIndex: dq.axis+}, mq = (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 hq(e, t, n) {+ if (n !== "auto") return n;+ if (e != null) return bV(e, t) ? "category" : "number";+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js+function gq(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);}-}, Gw = () => ({- left: [],- right: []-}), Kw = {- getInitialState: (e) => ({- columnPinning: Gw(),- ...e- }),- getDefaultOptions: (e) => ({ onColumnPinningChange: gw("columnPinning", e) }),- createColumn: (e, t) => {- e.pin = (n) => {- let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);- t.setColumnPinning((e) => n === "right" ? {- left: (e?.left ?? []).filter((e) => !(r != null && r.includes(e))),- right: [...(e?.right ?? []).filter((e) => !(r != null && r.includes(e))), ...r]- } : n === "left" ? {- left: [...(e?.left ?? []).filter((e) => !(r != null && r.includes(e))), ...r],- right: (e?.right ?? []).filter((e) => !(r != null && r.includes(e)))- } : {- left: (e?.left ?? []).filter((e) => !(r != null && r.includes(e))),- right: (e?.right ?? []).filter((e) => !(r != null && r.includes(e)))- });- }, e.getCanPin = () => e.getLeafColumns().some((e) => (e.columnDef.enablePinning ?? !0) && (t.options.enableColumnPinning ?? t.options.enablePinning ?? !0)), e.getIsPinned = () => {- let n = e.getLeafColumns().map((e) => e.id), { left: r, right: i } = t.getState().columnPinning, a = n.some((e) => r?.includes(e)), o = n.some((e) => i?.includes(e));- return a ? "left" : o ? "right" : !1;- }, e.getPinnedIndex = () => {- var n;- let r = e.getIsPinned();- return r ? ((n = t.getState().columnPinning) == null || (n = n[r]) == null ? void 0 : n.indexOf(e.id)) ?? -1 : 0;+ return n;+}+function _q(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? gq(Object(n), !0).forEach(function(t) {+ vq(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gq(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function vq(e, t, n) {+ return (t = yq(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function yq(e) {+ var t = bq(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function bq(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var xq = {+ allowDataOverflow: fq.allowDataOverflow,+ allowDecimals: fq.allowDecimals,+ allowDuplicatedCategory: !1,+ dataKey: void 0,+ domain: void 0,+ id: fq.angleAxisId,+ includeHidden: !1,+ name: void 0,+ reversed: fq.reversed,+ scale: fq.scale,+ tick: fq.tick,+ tickCount: void 0,+ ticks: void 0,+ type: fq.type,+ unit: void 0,+ niceTicks: "auto"+}, Sq = {+ allowDataOverflow: pq.allowDataOverflow,+ allowDecimals: pq.allowDecimals,+ allowDuplicatedCategory: pq.allowDuplicatedCategory,+ dataKey: void 0,+ domain: void 0,+ id: pq.radiusAxisId,+ includeHidden: pq.includeHidden,+ name: void 0,+ reversed: pq.reversed,+ scale: pq.scale,+ tick: pq.tick,+ tickCount: pq.tickCount,+ ticks: void 0,+ type: pq.type,+ unit: void 0,+ niceTicks: "auto"+}, Cq = $([(e, t) => {+ if (t != null) return e.polarAxis.angleAxis[t];+}, lH], (e, t) => {+ if (e != null) return e;+ var n = hq(t, "angleAxis", xq.type) ?? "category";+ return _q(_q({}, xq), {}, { type: n });+}), wq = $([(e, t) => e.polarAxis.radiusAxis[t], lH], (e, t) => {+ if (e != null) return e;+ var n = hq(t, "radiusAxis", Sq.type) ?? "category";+ return _q(_q({}, Sq), {}, { type: n });+}), Tq = (e) => e.polarOptions, Eq = $([+ NV,+ PV,+ BV+], uK), Dq = $([Tq, Eq], (e, t) => {+ if (e != null) return fR(e.innerRadius, t, 0);+}), Oq = $([Tq, Eq], (e, t) => {+ if (e != null) return fR(e.outerRadius, t, t * .8);+}), kq = $([Tq], (e) => {+ if (e == null) return [0, 0];+ var { startAngle: t, endAngle: n } = e;+ return [t, n];+}), Aq = $([Cq, kq], mq), jq = $([+ Eq,+ Dq,+ Oq+], (e, t, n) => {+ if (e != null && t != null && n != null) return [t, n];+}), Mq = $([wq, jq], mq), Nq = $([+ oH,+ Tq,+ Dq,+ Oq,+ NV,+ PV+], (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: fR(o, i, i / 2),+ cy: fR(s, a, a / 2),+ innerRadius: n,+ outerRadius: r,+ startAngle: c,+ endAngle: l,+ clockWise: !1};- },- createRow: (e, t) => {- e.getCenterVisibleCells = Q(() => [- 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));- }, $(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = Q(() => [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"- })), $(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = Q(() => [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"- })), $(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 ? Gw() : e.initialState?.columnPinning ?? Gw()), e.getIsSomeColumnsPinned = (t) => {- let n = e.getState().columnPinning;- return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);- }, e.getLeftLeafColumns = Q(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = Q(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = Q(() => [- 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));- }, $(e.options, "debugColumns", "getCenterLeafColumns"));}-};-function qw(e) {- return e || (typeof document < "u" ? document : null);+}), Pq = (e, t) => t, Fq = (e, t, n) => n;+//#endregion+//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js+function Iq(e) {+ return e?.id;}-var Jw = {- size: 150,- minSize: 20,- maxSize: 2 ** 53 - 1-}, Yw = () => ({- startOffset: null,- startSize: null,- deltaOffset: null,- deltaPercentage: null,- isResizingColumn: !1,- columnSizingStart: []-}), Xw = {- getDefaultColumnDef: () => Jw,- getInitialState: (e) => ({- columnSizing: {},- columnSizingInfo: Yw(),- ...e- }),- getDefaultOptions: (e) => ({- columnResizeMode: "onEnd",- columnResizeDirection: "ltr",- onColumnSizingChange: gw("columnSizing", e),- onColumnSizingInfoChange: gw("columnSizingInfo", e)- }),- createColumn: (e, t) => {- e.getSize = () => {- let n = t.getState().columnSizing[e.id];- return Math.min(Math.max(e.columnDef.minSize ?? Jw.minSize, n ?? e.columnDef.size ?? Jw.size), e.columnDef.maxSize ?? Jw.maxSize);- }, e.getStart = Q((e) => [- e,- tT(t, e),- t.getState().columnSizing- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), $(t.options, "debugColumns", "getStart")), e.getAfter = Q((e) => [- e,- tT(t, e),- t.getState().columnSizing- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), $(t.options, "debugColumns", "getAfter")), e.resetSize = () => {- t.setColumnSizing((t) => {- let { [e.id]: n, ...r } = t;- return r;+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js+function Lq(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 = Iq(e);+ t.forEach((t, r) => {+ var s = a == null || i ? r : String(yV(t, a, null)), c = yV(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};+ Object.assign(l, { [n]: c }), o.set(s, l);});- }, e.getCanResize = () => (e.columnDef.enableResizing ?? !0) && (t.options.enableColumnResizing ?? !0), e.getIsResizing = () => t.getState().columnSizingInfo.isResizingColumn === e.id;- },- createHeader: (e, t) => {- e.getSize = () => {- let t = 0, n = (e) => {- e.subHeaders.length ? e.subHeaders.forEach(n) : t += e.column.getSize() ?? 0;- };- return n(e), t;- }, e.getStart = () => {- if (e.index > 0) {- let t = e.headerGroup.headers[e.index - 1];- return t.getStart() + t.getSize();- }- return 0;- }, e.getResizeHandler = (n) => {- let r = t.getColumn(e.column.id), i = r?.getCanResize();- return (a) => {- if (!r || !i || (a.persist == null || a.persist(), $w(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 = $w(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) => {- let [t, n] = e;- l[t] = Math.round(Math.max(n + n * a, 0) * 100) / 100;- }), {- ...e,- deltaOffset: i,- deltaPercentage: a- };- }), (t.options.columnResizeMode === "onChange" || e === "end") && t.setColumnSizing((e) => ({- ...e,- ...l- })));- }, d = (e) => u("move", e), f = (e) => {- u("end", e), t.setColumnSizingInfo((e) => ({- ...e,- isResizingColumn: !1,- startOffset: null,- startSize: null,- deltaOffset: null,- deltaPercentage: null,- columnSizingStart: []- }));- }, p = qw(n), m = {- moveHandler: (e) => d(e.clientX),- upHandler: (e) => {- p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);- }- }, h = {- moveHandler: (e) => (e.cancelable && (e.preventDefault(), e.stopPropagation()), d(e.touches[0].clientX), !1),- upHandler: (e) => {- p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);+ }+ }), Array.from(o.values());+}+//#endregion+//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js+function Rq(e) {+ return "stackId" in e && e.stackId != null && e.dataKey != null;+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js+var zq = (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 Bq(e, t) {+ return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;+}+function Vq(e, t) {+ if (e.length === t.length) {+ for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;+ return !0;+ }+ return !1;+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js+var Hq = (e) => {+ var t = oH(e);+ return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";+}, Uq = (e) => e.tooltip.settings.axisId;+//#endregion+//#region node_modules/recharts/es6/util/scale/RechartsScale.js+function Wq(e) {+ if (e != null) {+ var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];+ return {+ domain: () => e.domain(),+ range: function(e) {+ function t() {+ return e.apply(this, arguments);+ }+ return t.toString = function() {+ return e.toString();+ }, t;+ }(() => i),+ rangeMin: () => i[0],+ rangeMax: () => i[1],+ isInRange(e) {+ var t = i[0], n = i[1];+ return t <= n ? e >= t && e <= n : e >= n && e <= t;+ },+ bandwidth: n ? () => n.call(e) : void 0,+ ticks: t ? (n) => t.call(e, n) : void 0,+ map: (t, n) => {+ var r = e(t);+ if (r != null) {+ if (e.bandwidth && n != null && n.position) {+ var i = e.bandwidth();+ switch (n.position) {+ case "middle":+ r += i / 2;+ break;+ case "end": r += i;+ }}- }, g = Qw() ? { passive: !1 } : !1;- $w(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,- deltaOffset: 0,- deltaPercentage: 0,- columnSizingStart: s,- isResizingColumn: r.id- }));- };+ return r;+ }+ }};- },- createTable: (e) => {- 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 ? Yw() : e.initialState.columnSizingInfo ?? Yw());- }, 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;}-}, Zw = null;-function Qw() {- if (typeof Zw == "boolean") return Zw;- let e = !1;- try {- let t = { get passive() {- return e = !0, !1;- } }, n = () => {};- window.addEventListener("test", n, t), window.removeEventListener("test", n);- } catch {- e = !1;+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js+var Gq = (e, t) => {+ if (t != null) switch (e) {+ case "linear":+ if (!BK(t)) {+ for (var n, r, i = 0; i < t.length; i++) {+ var a = t[i];+ hV(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));+ }+ return n !== void 0 && r !== void 0 ? [n, r] : void 0;+ }+ return t;+ default: return t;+ }+};+//#endregion+//#region node_modules/d3-array/src/ascending.js+function Kq(e, t) {+ return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;+}+//#endregion+//#region node_modules/d3-array/src/bisector.js+function qq(e) {+ let t = e, n = e;+ e.length === 1 && (t = (t, n) => e(t) - n, n = Jq(e));+ function r(e, t, r, i) {+ for (r ??= 0, i ??= e.length; r < i;) {+ let a = r + i >>> 1;+ n(e[a], t) < 0 ? r = a + 1 : i = a;+ }+ return r;+ }+ function i(e, t, r, i) {+ for (r ??= 0, i ??= e.length; r < i;) {+ let a = r + i >>> 1;+ n(e[a], t) > 0 ? i = a : r = a + 1;+ }+ return r;+ }+ function a(e, n, i, a) {+ i ??= 0, a ??= e.length;+ let o = r(e, n, i, a - 1);+ return o > i && t(e[o - 1], n) > -t(e[o], n) ? o - 1 : o;}- return Zw = e, Zw;+ return {+ left: r,+ center: a,+ right: i+ };}-function $w(e) {- return e.type === "touchstart";+function Jq(e) {+ return (t, n) => Kq(e(t), n);}-var eT = {- getInitialState: (e) => ({- columnVisibility: {},- ...e- }),- getDefaultOptions: (e) => ({ onColumnVisibilityChange: gw("columnVisibility", e) }),- createColumn: (e, t) => {- e.toggleVisibility = (n) => {- e.getCanHide() && t.setColumnVisibility((t) => ({- ...t,- [e.id]: n ?? !e.getIsVisible()- }));- }, e.getIsVisible = () => {- let n = e.columns;- return (n.length ? n.some((e) => e.getIsVisible()) : t.getState().columnVisibility?.[e.id]) ?? !0;- }, e.getCanHide = () => (e.columnDef.enableHiding ?? !0) && (t.options.enableHiding ?? !0), e.getToggleVisibilityHandler = () => (t) => {- e.toggleVisibility == null || e.toggleVisibility(t.target.checked);- };- },- createRow: (e, t) => {- e._getAllVisibleCells = Q(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), $(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = Q(() => [- e.getLeftVisibleCells(),- e.getCenterVisibleCells(),- e.getRightVisibleCells()- ], (e, t, n) => [- ...e,- ...t,- ...n- ], $(t.options, "debugRows", "getVisibleCells"));- },- createTable: (e) => {- let t = (t, n) => Q(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), $(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) => {- t ??= !e.getIsAllColumnsVisible(), e.setColumnVisibility(e.getAllLeafColumns().reduce((e, n) => ({- ...e,- [n.id]: t || !(n.getCanHide != null && n.getCanHide())- }), {}));- }, e.getIsAllColumnsVisible = () => !e.getAllLeafColumns().some((e) => !(e.getIsVisible != null && e.getIsVisible())), e.getIsSomeColumnsVisible = () => e.getAllLeafColumns().some((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), e.getToggleAllColumnsVisibilityHandler = () => (t) => {- e.toggleAllColumnsVisible(t.target?.checked);- };+//#endregion+//#region node_modules/d3-array/src/number.js+function Yq(e) {+ return e === null ? NaN : +e;+}+function* Xq(e, t) {+ if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);+ else {+ let n = -1;+ for (let r of e) (r = t(r, ++n, e)) != null && (r = +r) >= r && (yield r);+ }+}+//#endregion+//#region node_modules/d3-array/src/bisect.js+var Zq = qq(Kq), Qq = Zq.right;+Zq.left, qq(Yq).center;+//#endregion+//#region node_modules/internmap/src/index.js+var $q = class extends Map {+ constructor(e, t = rJ) {+ 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(eJ(this, e));+ }+ has(e) {+ return super.has(eJ(this, e));+ }+ set(e, t) {+ return super.set(tJ(this, e), t);+ }+ delete(e) {+ return super.delete(nJ(this, e));}};-function tT(e, t) {- return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();+function eJ({ _intern: e, _key: t }, n) {+ let r = t(n);+ return e.has(r) ? e.get(r) : n;+}+function tJ({ _intern: e, _key: t }, n) {+ let r = t(n);+ return e.has(r) ? e.get(r) : (e.set(r, n), n);+}+function nJ({ _intern: e, _key: t }, n) {+ let r = t(n);+ return e.has(r) && (n = e.get(n), e.delete(r)), n;+}+function rJ(e) {+ return typeof e == "object" && e ? e.valueOf() : e;+}+//#endregion+//#region node_modules/d3-array/src/ticks.js+var iJ = Math.sqrt(50), aJ = Math.sqrt(10), oJ = Math.sqrt(2);+function sJ(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 = cJ(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;+ } else {+ s = -s;+ 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;+ }+ return r && o.reverse(), o;}-var nT = { 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();- };-} }, rT = {- getInitialState: (e) => ({- globalFilter: void 0,- ...e- }),- getDefaultOptions: (e) => ({- onGlobalFilterChange: gw("globalFilter", e),- globalFilterFn: "auto",- getColumnCanGlobalFilter: (t) => {- var n;- let r = (n = e.getCoreRowModel().flatRows[0]) == null || (n = n._getAllCellsByColumnId()[t.id]) == null ? void 0 : n.getValue();- return typeof r == "string" || typeof r == "number";- }- }),- createColumn: (e, t) => {- 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 = () => Lw.includesString, e.getGlobalFilterFn = () => {- let { globalFilterFn: t } = e.options;- return _w(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? Lw[t];- }, e.setGlobalFilter = (t) => {- e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);- }, e.resetGlobalFilter = (t) => {- e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);- };+function cJ(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 >= iJ ? 10 : a >= aJ ? 5 : a >= oJ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= iJ ? 10 : a >= aJ ? 5 : a >= oJ ? 2 : 1);+}+function lJ(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 >= iJ ? i *= 10 : a >= aJ ? i *= 5 : a >= oJ && (i *= 2), t < e ? -i : i;+}+//#endregion+//#region node_modules/d3-array/src/max.js+function uJ(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 {+ let r = -1;+ for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);}-}, iT = {- getInitialState: (e) => ({- expanded: {},- ...e- }),- getDefaultOptions: (e) => ({- onExpandedChange: gw("expanded", e),- paginateExpandedRows: !0- }),- createTable: (e) => {- let t = !1, n = !1;- e._autoResetExpanded = () => {- if (!t) {- e._queue(() => {- t = !0;- });- return;- }- if (e.options.autoResetAll ?? e.options.autoResetExpanded ?? !e.options.manualExpanding) {- if (n) return;- n = !0, e._queue(() => {- e.resetExpanded(), n = !1;- });- }- }, e.setExpanded = (t) => e.options.onExpandedChange == null ? void 0 : e.options.onExpandedChange(t), e.toggleAllRowsExpanded = (t) => {- t ?? !e.getIsAllRowsExpanded() ? e.setExpanded(!0) : e.setExpanded({});- }, e.resetExpanded = (t) => {- e.setExpanded(t ? {} : e.initialState?.expanded ?? {});- }, e.getCanSomeRowsExpand = () => e.getPrePaginationRowModel().flatRows.some((e) => e.getCanExpand()), e.getToggleAllRowsExpandedHandler = () => (t) => {- t.persist == null || t.persist(), e.toggleAllRowsExpanded();- }, e.getIsSomeRowsExpanded = () => {- let t = e.getState().expanded;- return t === !0 || Object.values(t).some(Boolean);- }, e.getIsAllRowsExpanded = () => {- let t = e.getState().expanded;- return typeof t == "boolean" ? t === !0 : !(!Object.keys(t).length || e.getRowModel().flatRows.some((e) => !e.getIsExpanded()));- }, e.getExpandedDepth = () => {- let t = 0;- return (e.getState().expanded === !0 ? Object.keys(e.getRowModel().rowsById) : Object.keys(e.getState().expanded)).forEach((e) => {- let n = e.split(".");- t = Math.max(t, n.length);- }), t;- }, e.getPreExpandedRowModel = () => e.getSortedRowModel(), e.getExpandedRowModel = () => (!e._getExpandedRowModel && e.options.getExpandedRowModel && (e._getExpandedRowModel = e.options.getExpandedRowModel(e)), e.options.manualExpanding || !e._getExpandedRowModel ? e.getPreExpandedRowModel() : e._getExpandedRowModel());- },- createRow: (e, t) => {- e.toggleExpanded = (n) => {- t.setExpanded((r) => {- let i = r === !0 || !!(r != null && r[e.id]), a = {};- if (r === !0 ? Object.keys(t.getRowModel().rowsById).forEach((e) => {- a[e] = !0;- }) : a = r, n ??= !i, !i && n) return {- ...a,- [e.id]: !0- };- if (i && !n) {- let { [e.id]: t, ...n } = a;- return n;- }- return r;- });- }, e.getIsExpanded = () => {- let n = t.getState().expanded;- return !!((t.options.getIsRowExpanded == null ? void 0 : t.options.getIsRowExpanded(e)) ?? (n === !0 || n?.[e.id]));- }, e.getCanExpand = () => {- var n;- return (t.options.getRowCanExpand == null ? void 0 : t.options.getRowCanExpand(e)) ?? ((t.options.enableExpanding ?? !0) && !!((n = e.subRows) != null && n.length));- }, e.getIsAllParentsExpanded = () => {- let n = !0, r = e;- for (; n && r.parentId;) r = t.getRow(r.parentId, !0), n = r.getIsExpanded();- return n;- }, e.getToggleExpandedHandler = () => {- let t = e.getCanExpand();- return () => {- t && e.toggleExpanded();- };- };+ return n;+}+//#endregion+//#region node_modules/d3-array/src/min.js+function dJ(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 {+ let r = -1;+ for (let i of e) (i = t(i, ++r, e)) != null && (n > i || n === void 0 && i >= i) && (n = i);}-}, aT = 0, oT = 10, sT = () => ({- pageIndex: aT,- pageSize: oT-}), cT = {- getInitialState: (e) => ({- ...e,- pagination: {- ...sT(),- ...e?.pagination+ return n;+}+//#endregion+//#region node_modules/d3-array/src/quickselect.js+function fJ(e, t, n = 0, r = e.length - 1, i = Kq) {+ 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);+ fJ(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);}- }),- getDefaultOptions: (e) => ({ onPaginationChange: gw("pagination", e) }),- createTable: (e) => {- let t = !1, n = !1;- e._autoResetPageIndex = () => {- if (!t) {- e._queue(() => {- t = !0;- });- return;- }- if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if (n) return;- n = !0, e._queue(() => {- e.resetPageIndex(), n = !1;- });- }- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => hw(t, e)), e.resetPagination = (t) => {- e.setPagination(t ? sT() : e.initialState.pagination ?? sT());- }, e.setPageIndex = (t) => {- e.setPagination((n) => {- let r = hw(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- };- });- }, e.resetPageIndex = (t) => {- var n;- e.setPageIndex(t ? aT : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? aT);- }, e.resetPageSize = (t) => {- var n;- e.setPageSize(t ? oT : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? oT);- }, e.setPageSize = (t) => {- e.setPagination((e) => {- let n = Math.max(1, hw(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);- return {- ...e,- pageIndex: i,- pageSize: n- };- });- }, e.setPageCount = (t) => e.setPagination((n) => {- let r = hw(t, e.options.pageCount ?? -1);- return typeof r == "number" && (r = Math.max(-1, r)), {- ...n,- pageCount: r- };- }), e.getPageOptions = Q(() => [e.getPageCount()], (e) => {- let t = [];- return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;- }, $(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;+ let a = e[t], o = n, s = r;+ for (pJ(e, n, t), i(e[r], a) > 0 && pJ(e, n, r); o < s;) {+ for (pJ(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;+ for (; i(e[s], a) > 0;) --s;+ }+ i(e[n], a) === 0 ? pJ(e, n, s) : (++s, pJ(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);+ }+ return e;+}+function pJ(e, t, n) {+ let r = e[t];+ e[t] = e[n], e[n] = r;+}+//#endregion+//#region node_modules/d3-array/src/quantile.js+function mJ(e, t, n) {+ if (e = Float64Array.from(Xq(e, n)), r = e.length) {+ if ((t = +t) <= 0 || r < 2) return dJ(e);+ if (t >= 1) return uJ(e);+ var r, i = (r - 1) * t, a = Math.floor(i), o = uJ(fJ(e, a).subarray(0, a + 1));+ return o + (dJ(e.subarray(a + 1)) - o) * (i - a);+ }+}+function hJ(e, t, n = Yq) {+ 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);+ var r, i = (r - 1) * t, a = Math.floor(i), o = +n(e[a], a, e);+ return o + (+n(e[a + 1], a + 1, e) - o) * (i - a);+ }+}+//#endregion+//#region node_modules/d3-array/src/range.js+function gJ(e, t, n) {+ e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;+ for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;+ return a;+}+//#endregion+//#region node_modules/d3-array/src/sum.js+function _J(e, t) {+ let n = 0;+ if (t === void 0) for (let t of e) (t = +t) && (n += t);+ else {+ let r = -1;+ for (let i of e) (i = +t(i, ++r, e)) && (n += i);}-}, lT = () => ({- top: [],- bottom: []-}), uT = {- getInitialState: (e) => ({- rowPinning: lT(),- ...e- }),- getDefaultOptions: (e) => ({ onRowPinningChange: gw("rowPinning", e) }),- createRow: (e, t) => {- e.pin = (n, r, i) => {- let a = r ? e.getLeafRows().map((e) => {- let { id: t } = e;- return t;- }) : [], o = i ? e.getParentRows().map((e) => {- let { id: t } = e;- return t;- }) : [], s = /* @__PURE__ */ new Set([- ...o,- e.id,- ...a- ]);- t.setRowPinning((e) => n === "bottom" ? {- top: (e?.top ?? []).filter((e) => !(s != null && s.has(e))),- bottom: [...(e?.bottom ?? []).filter((e) => !(s != null && s.has(e))), ...Array.from(s)]- } : n === "top" ? {- top: [...(e?.top ?? []).filter((e) => !(s != null && s.has(e))), ...Array.from(s)],- bottom: (e?.bottom ?? []).filter((e) => !(s != null && s.has(e)))- } : {- top: (e?.top ?? []).filter((e) => !(s != null && s.has(e))),- bottom: (e?.bottom ?? []).filter((e) => !(s != null && s.has(e)))- });- }, e.getCanPin = () => {- let { enableRowPinning: n, enablePinning: r } = t.options;- return typeof n == "function" ? n(e) : n ?? r ?? !0;- }, e.getIsPinned = () => {- let n = [e.id], { top: r, bottom: i } = t.getState().rowPinning, a = n.some((e) => r?.includes(e)), o = n.some((e) => i?.includes(e));- return a ? "top" : o ? "bottom" : !1;- }, e.getPinnedIndex = () => {- let n = e.getIsPinned();- return n ? ((n === "top" ? t.getTopRows() : t.getBottomRows())?.map((e) => {- let { id: t } = e;- return t;- }))?.indexOf(e.id) ?? -1 : -1;- };+ return n;+}+//#endregion+//#region node_modules/d3-scale/src/init.js+function vJ(e, t) {+ switch (arguments.length) {+ case 0: break;+ case 1:+ this.range(e);+ break;+ default: this.range(t).domain(e);+ }+ return this;+}+function yJ(e, t) {+ switch (arguments.length) {+ case 0: break;+ case 1:+ typeof e == "function" ? this.interpolator(e) : this.range(e);+ break;+ default: this.domain(e), typeof t == "function" ? this.interpolator(t) : this.range(t);+ }+ return this;+}+//#endregion+//#region node_modules/d3-scale/src/ordinal.js+var bJ = Symbol("implicit");+function xJ() {+ var e = new $q(), t = [], n = [], r = bJ;+ function i(i) {+ let a = e.get(i);+ if (a === void 0) {+ if (r !== bJ) return r;+ e.set(i, a = t.push(i) - 1);+ }+ return n[a % n.length];+ }+ return i.domain = function(n) {+ if (!arguments.length) return t.slice();+ t = [], e = new $q();+ for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);+ return i;+ }, i.range = function(e) {+ return arguments.length ? (n = Array.from(e), i) : n.slice();+ }, i.unknown = function(e) {+ return arguments.length ? (r = e, i) : r;+ }, i.copy = function() {+ return xJ(t, n).unknown(r);+ }, vJ.apply(i, arguments), i;+}+//#endregion+//#region node_modules/d3-scale/src/band.js+function SJ() {+ var e = xJ().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;+ delete e.unknown;+ function d() {+ var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;+ a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));+ var m = gJ(e).map(function(e) {+ return f + a * e;+ });+ return n(d ? m.reverse() : m);+ }+ return e.domain = function(e) {+ return arguments.length ? (t(e), d()) : t();+ }, e.range = function(e) {+ return arguments.length ? ([r, i] = e, r = +r, i = +i, d()) : [r, i];+ }, e.rangeRound = function(e) {+ return [r, i] = e, r = +r, i = +i, s = !0, d();+ }, e.bandwidth = function() {+ return o;+ }, e.step = function() {+ return a;+ }, e.round = function(e) {+ return arguments.length ? (s = !!e, d()) : s;+ }, e.padding = function(e) {+ return arguments.length ? (c = Math.min(1, l = +e), d()) : c;+ }, e.paddingInner = function(e) {+ return arguments.length ? (c = Math.min(1, e), d()) : c;+ }, e.paddingOuter = function(e) {+ return arguments.length ? (l = +e, d()) : l;+ }, e.align = function(e) {+ return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;+ }, e.copy = function() {+ return SJ(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);+ }, vJ.apply(d(), arguments);+}+function CJ(e) {+ var t = e.copy;+ return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {+ return CJ(t());+ }, e;+}+function wJ() {+ return CJ(SJ.apply(null, arguments).paddingInner(1));+}+//#endregion+//#region node_modules/d3-color/src/define.js+function TJ(e, t, n) {+ e.prototype = t.prototype = n, n.constructor = e;+}+function EJ(e, t) {+ var n = Object.create(e.prototype);+ for (var r in t) n[r] = t[r];+ return n;+}+//#endregion+//#region node_modules/d3-color/src/color.js+function DJ() {}+var OJ = .7, kJ = 1 / OJ, AJ = "\\s*([+-]?\\d+)\\s*", jJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", MJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", NJ = /^#([0-9a-f]{3,8})$/, PJ = RegExp(`^rgb\\(${AJ},${AJ},${AJ}\\)$`), FJ = RegExp(`^rgb\\(${MJ},${MJ},${MJ}\\)$`), IJ = RegExp(`^rgba\\(${AJ},${AJ},${AJ},${jJ}\\)$`), LJ = RegExp(`^rgba\\(${MJ},${MJ},${MJ},${jJ}\\)$`), RJ = RegExp(`^hsl\\(${jJ},${MJ},${MJ}\\)$`), zJ = RegExp(`^hsla\\(${jJ},${MJ},${MJ},${jJ}\\)$`), BJ = {+ aliceblue: 15792383,+ antiquewhite: 16444375,+ aqua: 65535,+ aquamarine: 8388564,+ azure: 15794175,+ beige: 16119260,+ bisque: 16770244,+ black: 0,+ blanchedalmond: 16772045,+ blue: 255,+ blueviolet: 9055202,+ brown: 10824234,+ burlywood: 14596231,+ cadetblue: 6266528,+ chartreuse: 8388352,+ chocolate: 13789470,+ coral: 16744272,+ cornflowerblue: 6591981,+ cornsilk: 16775388,+ crimson: 14423100,+ cyan: 65535,+ darkblue: 139,+ darkcyan: 35723,+ darkgoldenrod: 12092939,+ darkgray: 11119017,+ darkgreen: 25600,+ darkgrey: 11119017,+ darkkhaki: 12433259,+ darkmagenta: 9109643,+ darkolivegreen: 5597999,+ darkorange: 16747520,+ darkorchid: 10040012,+ darkred: 9109504,+ darksalmon: 15308410,+ darkseagreen: 9419919,+ darkslateblue: 4734347,+ darkslategray: 3100495,+ darkslategrey: 3100495,+ darkturquoise: 52945,+ darkviolet: 9699539,+ deeppink: 16716947,+ deepskyblue: 49151,+ dimgray: 6908265,+ dimgrey: 6908265,+ dodgerblue: 2003199,+ firebrick: 11674146,+ floralwhite: 16775920,+ forestgreen: 2263842,+ fuchsia: 16711935,+ gainsboro: 14474460,+ ghostwhite: 16316671,+ gold: 16766720,+ goldenrod: 14329120,+ gray: 8421504,+ green: 32768,+ greenyellow: 11403055,+ grey: 8421504,+ honeydew: 15794160,+ hotpink: 16738740,+ indianred: 13458524,+ indigo: 4915330,+ ivory: 16777200,+ khaki: 15787660,+ lavender: 15132410,+ lavenderblush: 16773365,+ lawngreen: 8190976,+ lemonchiffon: 16775885,+ lightblue: 11393254,+ lightcoral: 15761536,+ lightcyan: 14745599,+ lightgoldenrodyellow: 16448210,+ lightgray: 13882323,+ lightgreen: 9498256,+ lightgrey: 13882323,+ lightpink: 16758465,+ lightsalmon: 16752762,+ lightseagreen: 2142890,+ lightskyblue: 8900346,+ lightslategray: 7833753,+ lightslategrey: 7833753,+ lightsteelblue: 11584734,+ lightyellow: 16777184,+ lime: 65280,+ limegreen: 3329330,+ linen: 16445670,+ magenta: 16711935,+ maroon: 8388608,+ mediumaquamarine: 6737322,+ mediumblue: 205,+ mediumorchid: 12211667,+ mediumpurple: 9662683,+ mediumseagreen: 3978097,+ mediumslateblue: 8087790,+ mediumspringgreen: 64154,+ mediumturquoise: 4772300,+ mediumvioletred: 13047173,+ midnightblue: 1644912,+ mintcream: 16121850,+ mistyrose: 16770273,+ moccasin: 16770229,+ navajowhite: 16768685,+ navy: 128,+ oldlace: 16643558,+ olive: 8421376,+ olivedrab: 7048739,+ orange: 16753920,+ orangered: 16729344,+ orchid: 14315734,+ palegoldenrod: 15657130,+ palegreen: 10025880,+ paleturquoise: 11529966,+ palevioletred: 14381203,+ papayawhip: 16773077,+ peachpuff: 16767673,+ peru: 13468991,+ pink: 16761035,+ plum: 14524637,+ powderblue: 11591910,+ purple: 8388736,+ rebeccapurple: 6697881,+ red: 16711680,+ rosybrown: 12357519,+ royalblue: 4286945,+ saddlebrown: 9127187,+ salmon: 16416882,+ sandybrown: 16032864,+ seagreen: 3050327,+ seashell: 16774638,+ sienna: 10506797,+ silver: 12632256,+ skyblue: 8900331,+ slateblue: 6970061,+ slategray: 7372944,+ slategrey: 7372944,+ snow: 16775930,+ springgreen: 65407,+ steelblue: 4620980,+ tan: 13808780,+ teal: 32896,+ thistle: 14204888,+ tomato: 16737095,+ turquoise: 4251856,+ violet: 15631086,+ wheat: 16113331,+ white: 16777215,+ whitesmoke: 16119285,+ yellow: 16776960,+ yellowgreen: 10145074+};+TJ(DJ, GJ, {+ copy(e) {+ return Object.assign(new this.constructor(), this, e);},- createTable: (e) => {- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? lT() : e.initialState?.rowPinning ?? lT()), 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) => {- let n = e.getRow(t, !0);- return n.getIsAllParentsExpanded() ? n : null;- }) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({- ...e,- position: r- })), e.getTopRows = Q(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), $(e.options, "debugRows", "getTopRows")), e.getBottomRows = Q(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), $(e.options, "debugRows", "getBottomRows")), e.getCenterRows = Q(() => [- 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));- }, $(e.options, "debugRows", "getCenterRows"));+ displayable() {+ return this.rgb().displayable();+ },+ hex: VJ,+ formatHex: VJ,+ formatHex8: HJ,+ formatHsl: UJ,+ formatRgb: WJ,+ toString: WJ+});+function VJ() {+ return this.rgb().formatHex();+}+function HJ() {+ return this.rgb().formatHex8();+}+function UJ() {+ return iY(this).formatHsl();+}+function WJ() {+ return this.rgb().formatRgb();+}+function GJ(e) {+ var t, n;+ return e = (e + "").trim().toLowerCase(), (t = NJ.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? KJ(t) : n === 3 ? new XJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? qJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? qJ(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 = PJ.exec(e)) ? new XJ(t[1], t[2], t[3], 1) : (t = FJ.exec(e)) ? new XJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = IJ.exec(e)) ? qJ(t[1], t[2], t[3], t[4]) : (t = LJ.exec(e)) ? qJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = RJ.exec(e)) ? rY(t[1], t[2] / 100, t[3] / 100, 1) : (t = zJ.exec(e)) ? rY(t[1], t[2] / 100, t[3] / 100, t[4]) : BJ.hasOwnProperty(e) ? KJ(BJ[e]) : e === "transparent" ? new XJ(NaN, NaN, NaN, 0) : null;+}+function KJ(e) {+ return new XJ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);+}+function qJ(e, t, n, r) {+ return r <= 0 && (e = t = n = NaN), new XJ(e, t, n, r);+}+function JJ(e) {+ return e instanceof DJ || (e = GJ(e)), e ? (e = e.rgb(), new XJ(e.r, e.g, e.b, e.opacity)) : new XJ();+}+function YJ(e, t, n, r) {+ return arguments.length === 1 ? JJ(e) : new XJ(e, t, n, r ?? 1);+}+function XJ(e, t, n, r) {+ this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;+}+TJ(XJ, YJ, EJ(DJ, {+ brighter(e) {+ return e = e == null ? kJ : kJ ** +e, new XJ(this.r * e, this.g * e, this.b * e, this.opacity);+ },+ darker(e) {+ return e = e == null ? OJ : OJ ** +e, new XJ(this.r * e, this.g * e, this.b * e, this.opacity);+ },+ rgb() {+ return this;+ },+ clamp() {+ return new XJ(tY(this.r), tY(this.g), tY(this.b), eY(this.opacity));+ },+ displayable() {+ return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;+ },+ hex: ZJ,+ formatHex: ZJ,+ formatHex8: QJ,+ formatRgb: $J,+ toString: $J+}));+function ZJ() {+ return `#${nY(this.r)}${nY(this.g)}${nY(this.b)}`;+}+function QJ() {+ return `#${nY(this.r)}${nY(this.g)}${nY(this.b)}${nY((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;+}+function $J() {+ let e = eY(this.opacity);+ return `${e === 1 ? "rgb(" : "rgba("}${tY(this.r)}, ${tY(this.g)}, ${tY(this.b)}${e === 1 ? ")" : `, ${e})`}`;+}+function eY(e) {+ return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));+}+function tY(e) {+ return Math.max(0, Math.min(255, Math.round(e) || 0));+}+function nY(e) {+ return e = tY(e), (e < 16 ? "0" : "") + e.toString(16);+}+function rY(e, t, n, r) {+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new oY(e, t, n, r);+}+function iY(e) {+ if (e instanceof oY) return new oY(e.h, e.s, e.l, e.opacity);+ if (e instanceof DJ || (e = GJ(e)), !e) return new oY();+ if (e instanceof oY) return e;+ e = e.rgb();+ var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new oY(o, s, c, e.opacity);+}+function aY(e, t, n, r) {+ return arguments.length === 1 ? iY(e) : new oY(e, t, n, r ?? 1);+}+function oY(e, t, n, r) {+ this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;+}+TJ(oY, aY, EJ(DJ, {+ brighter(e) {+ return e = e == null ? kJ : kJ ** +e, new oY(this.h, this.s, this.l * e, this.opacity);+ },+ darker(e) {+ return e = e == null ? OJ : OJ ** +e, new oY(this.h, this.s, this.l * e, this.opacity);+ },+ rgb() {+ var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;+ return new XJ(lY(e >= 240 ? e - 240 : e + 120, i, r), lY(e, i, r), lY(e < 120 ? e + 240 : e - 120, i, r), this.opacity);+ },+ clamp() {+ return new oY(sY(this.h), cY(this.s), cY(this.l), eY(this.opacity));+ },+ displayable() {+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;+ },+ formatHsl() {+ let e = eY(this.opacity);+ return `${e === 1 ? "hsl(" : "hsla("}${sY(this.h)}, ${cY(this.s) * 100}%, ${cY(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}-}, dT = {- getInitialState: (e) => ({- rowSelection: {},- ...e- }),- getDefaultOptions: (e) => ({- onRowSelectionChange: gw("rowSelection", e),- enableRowSelection: !0,- enableMultiRowSelection: !0,- enableSubRowSelection: !0- }),- createTable: (e) => {- e.setRowSelection = (t) => e.options.onRowSelectionChange == null ? void 0 : e.options.onRowSelectionChange(t), e.resetRowSelection = (t) => e.setRowSelection(t ? {} : e.initialState.rowSelection ?? {}), e.toggleAllRowsSelected = (t) => {- e.setRowSelection((n) => {- t = t === void 0 ? !e.getIsAllRowsSelected() : t;- let r = { ...n }, i = e.getPreGroupedRowModel().flatRows;- return t ? i.forEach((e) => {- e.getCanSelect() && (r[e.id] = !0);- }) : i.forEach((e) => {- delete r[e.id];- }), r;- });- }, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {- let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };- return e.getRowModel().rows.forEach((t) => {- fT(i, t.id, r, !0, e);- }), i;- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Q(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? pT(e, n) : {- rows: [],- flatRows: [],- rowsById: {}- }, $(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Q(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? pT(e, n) : {- rows: [],- flatRows: [],- rowsById: {}- }, $(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Q(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? pT(e, n) : {- rows: [],- flatRows: [],- rowsById: {}- }, $(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 = () => {- let t = e.getPaginationRowModel().flatRows.filter((e) => e.getCanSelect()), { rowSelection: n } = e.getState(), r = !!t.length;- return r && t.some((e) => !n[e.id]) && (r = !1), r;- }, e.getIsSomeRowsSelected = () => {- let t = Object.keys(e.getState().rowSelection ?? {}).length;- return t > 0 && t < e.getFilteredRowModel().flatRows.length;- }, e.getIsSomePageRowsSelected = () => {- let t = e.getPaginationRowModel().flatRows;- return !e.getIsAllPageRowsSelected() && t.filter((e) => e.getCanSelect()).some((e) => e.getIsSelected() || e.getIsSomeSelected());- }, e.getToggleAllRowsSelectedHandler = () => (t) => {- e.toggleAllRowsSelected(t.target.checked);- }, e.getToggleAllPageRowsSelectedHandler = () => (t) => {- e.toggleAllPageRowsSelected(t.target.checked);+}));+function sY(e) {+ return e = (e || 0) % 360, e < 0 ? e + 360 : e;+}+function cY(e) {+ return Math.max(0, Math.min(1, e || 0));+}+function lY(e, t, n) {+ return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;+}+//#endregion+//#region node_modules/d3-interpolate/src/constant.js+var uY = (e) => () => e;+//#endregion+//#region node_modules/d3-interpolate/src/color.js+function dY(e, t) {+ return function(n) {+ return e + n * t;+ };+}+function fY(e, t, n) {+ return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {+ return (e + r * t) ** +n;+ };+}+function pY(e) {+ return (e = +e) == 1 ? mY : function(t, n) {+ return n - t ? fY(t, n, e) : uY(isNaN(t) ? n : t);+ };+}+function mY(e, t) {+ var n = t - e;+ return n ? dY(e, n) : uY(isNaN(e) ? t : e);+}+//#endregion+//#region node_modules/d3-interpolate/src/rgb.js+var hY = (function e(t) {+ var n = pY(t);+ function r(e, t) {+ var r = n((e = YJ(e)).r, (t = YJ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = mY(e.opacity, t.opacity);+ return function(t) {+ return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";};- },- createRow: (e, t) => {- e.toggleSelected = (n, r) => {- let i = e.getIsSelected();- t.setRowSelection((a) => {- if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;- let o = { ...a };- return fT(o, e.id, n, r?.selectChildren ?? !0, t), o;- });- }, e.getIsSelected = () => {- let { rowSelection: n } = t.getState();- return mT(e, n);- }, e.getIsSomeSelected = () => {- let { rowSelection: n } = t.getState();- return hT(e, n) === "some";- }, e.getIsAllSubRowsSelected = () => {- let { rowSelection: n } = t.getState();- return hT(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) => {- t && e.toggleSelected(n.target?.checked);- };+ }+ return r.gamma = e, r;+})(1);+//#endregion+//#region node_modules/d3-interpolate/src/numberArray.js+function gY(e, t) {+ t ||= [];+ var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;+ return function(a) {+ for (i = 0; i < n; ++i) r[i] = e[i] * (1 - a) + t[i] * a;+ return r;+ };+}+function _Y(e) {+ return ArrayBuffer.isView(e) && !(e instanceof DataView);+}+//#endregion+//#region node_modules/d3-interpolate/src/array.js+function vY(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] = DY(e[o], t[o]);+ for (; o < n; ++o) a[o] = t[o];+ return function(e) {+ for (o = 0; o < r; ++o) a[o] = i[o](e);+ return a;+ };+}+//#endregion+//#region node_modules/d3-interpolate/src/date.js+function yY(e, t) {+ var n = /* @__PURE__ */ new Date();+ return e = +e, t = +t, function(r) {+ return n.setTime(e * (1 - r) + t * r), n;+ };+}+//#endregion+//#region node_modules/d3-interpolate/src/number.js+function bY(e, t) {+ return e = +e, t = +t, function(n) {+ return e * (1 - n) + t * n;+ };+}+//#endregion+//#region node_modules/d3-interpolate/src/object.js+function xY(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] = DY(e[i], t[i]) : r[i] = t[i];+ return function(e) {+ for (i in n) r[i] = n[i](e);+ return r;+ };+}+//#endregion+//#region node_modules/d3-interpolate/src/string.js+var SY = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, CY = new RegExp(SY.source, "g");+function wY(e) {+ return function() {+ return e;+ };+}+function TY(e) {+ return function(t) {+ return e(t) + "";+ };+}+function EY(e, t) {+ var n = SY.lastIndex = CY.lastIndex = 0, r, i, a, o = -1, s = [], c = [];+ for (e += "", t += ""; (r = SY.exec(e)) && (i = CY.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: bY(r, i)+ })), n = CY.lastIndex;+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? TY(c[0].x) : wY(t) : (t = c.length, function(e) {+ for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);+ return s.join("");+ });+}+//#endregion+//#region node_modules/d3-interpolate/src/value.js+function DY(e, t) {+ var n = typeof t, r;+ return t == null || n === "boolean" ? uY(t) : (n === "number" ? bY : n === "string" ? (r = GJ(t)) ? (t = r, hY) : EY : t instanceof GJ ? hY : t instanceof Date ? yY : _Y(t) ? gY : Array.isArray(t) ? vY : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? xY : bY)(e, t);+}+//#endregion+//#region node_modules/d3-interpolate/src/round.js+function OY(e, t) {+ return e = +e, t = +t, function(n) {+ return Math.round(e * (1 - n) + t * n);+ };+}+//#endregion+//#region node_modules/d3-interpolate/src/piecewise.js+function kY(e, t) {+ t === void 0 && (t = e, e = DY);+ for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);+ return function(e) {+ var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));+ return a[t](e - t);+ };+}+//#endregion+//#region node_modules/d3-scale/src/constant.js+function AY(e) {+ return function() {+ return e;+ };+}+//#endregion+//#region node_modules/d3-scale/src/number.js+function jY(e) {+ return +e;+}+//#endregion+//#region node_modules/d3-scale/src/continuous.js+var MY = [0, 1];+function NY(e) {+ return e;+}+function PY(e, t) {+ return (t -= e = +e) ? function(n) {+ return (n - e) / t;+ } : AY(isNaN(t) ? NaN : .5);+}+function FY(e, t) {+ var n;+ return e > t && (n = e, e = t, t = n), function(n) {+ return Math.max(e, Math.min(t, n));+ };+}+function IY(e, t, n) {+ var r = e[0], i = e[1], a = t[0], o = t[1];+ return i < r ? (r = PY(i, r), a = n(o, a)) : (r = PY(r, i), a = n(a, o)), function(e) {+ return a(r(e));+ };+}+function LY(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] = PY(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);+ return function(t) {+ var n = Qq(e, t, 1, r) - 1;+ return a[n](i[n](t));+ };+}+function RY(e, t) {+ return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());+}+function zY() {+ var e = MY, t = MY, n = DY, r, i, a, o = NY, s, c, l;+ function u() {+ var n = Math.min(e.length, t.length);+ return o !== NY && (o = FY(e[0], e[n - 1])), s = n > 2 ? LY : IY, c = l = null, d;+ }+ function d(i) {+ return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));+ }+ return d.invert = function(n) {+ return o(i((l ||= s(t, e.map(r), bY))(n)));+ }, d.domain = function(t) {+ return arguments.length ? (e = Array.from(t, jY), u()) : e.slice();+ }, d.range = function(e) {+ return arguments.length ? (t = Array.from(e), u()) : t.slice();+ }, d.rangeRound = function(e) {+ return t = Array.from(e), n = OY, u();+ }, d.clamp = function(e) {+ return arguments.length ? (o = e ? !0 : NY, u()) : o !== NY;+ }, d.interpolate = function(e) {+ return arguments.length ? (n = e, u()) : n;+ }, d.unknown = function(e) {+ return arguments.length ? (a = e, d) : a;+ }, function(e, t) {+ return r = e, i = t, u();+ };+}+function BY() {+ return zY()(NY, NY);+}+//#endregion+//#region node_modules/d3-format/src/formatDecimal.js+function VY(e) {+ return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);+}+function HY(e, t) {+ if (!isFinite(e) || e === 0) return null;+ var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);+ return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];+}+//#endregion+//#region node_modules/d3-format/src/exponent.js+function UY(e) {+ return e = HY(Math.abs(e)), e ? e[1] : NaN;+}+//#endregion+//#region node_modules/d3-format/src/formatGroup.js+function WY(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);+ };+}+//#endregion+//#region node_modules/d3-format/src/formatNumerals.js+function GY(e) {+ return function(t) {+ return t.replace(/[0-9]/g, function(t) {+ return e[+t];+ });+ };+}+//#endregion+//#region node_modules/d3-format/src/formatSpecifier.js+var KY = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;+function qY(e) {+ if (!(t = KY.exec(e))) throw Error("invalid format: " + e);+ var t;+ return new JY({+ fill: t[1],+ align: t[2],+ sign: t[3],+ symbol: t[4],+ zero: t[5],+ width: t[6],+ comma: t[7],+ precision: t[8] && t[8].slice(1),+ trim: t[9],+ type: t[10]+ });+}+qY.prototype = JY.prototype;+function JY(e) {+ this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";+}+JY.prototype.toString = function() {+ return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;+};+//#endregion+//#region node_modules/d3-format/src/formatTrim.js+function YY(e) {+ out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {+ case ".":+ r = i = n;+ break;+ case "0":+ r === 0 && (r = n), i = n;+ break;+ default:+ if (!+e[n]) break out;+ r > 0 && (r = 0);+ }+ return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;+}+//#endregion+//#region node_modules/d3-format/src/formatPrefixAuto.js+var XY;+function ZY(e, t) {+ var n = HY(e, t);+ if (!n) return XY = void 0, e.toPrecision(t);+ var r = n[0], i = n[1], a = i - (XY = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + HY(e, Math.max(0, t + a - 1))[0];+}+//#endregion+//#region node_modules/d3-format/src/formatRounded.js+function QY(e, t) {+ var n = HY(e, t);+ if (!n) return e + "";+ var r = n[0], i = n[1];+ return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");+}+//#endregion+//#region node_modules/d3-format/src/formatTypes.js+var $Y = {+ "%": (e, t) => (e * 100).toFixed(t),+ b: (e) => Math.round(e).toString(2),+ c: (e) => e + "",+ d: VY,+ 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) => QY(e * 100, t),+ r: QY,+ s: ZY,+ X: (e) => Math.round(e).toString(16).toUpperCase(),+ x: (e) => Math.round(e).toString(16)+};+//#endregion+//#region node_modules/d3-format/src/identity.js+function eX(e) {+ return e;+}+//#endregion+//#region node_modules/d3-format/src/locale.js+var tX = Array.prototype.map, nX = [+ "y",+ "z",+ "a",+ "f",+ "p",+ "n",+ "µ",+ "m",+ "",+ "k",+ "M",+ "G",+ "T",+ "P",+ "E",+ "Z",+ "Y"+];+function rX(e) {+ var t = e.grouping === void 0 || e.thousands === void 0 ? eX : WY(tX.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 ? eX : GY(tX.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 = qY(e);+ var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;+ y === "n" ? (g = !0, y = "g") : $Y[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = $Y[y], C = /[defgprs%]/.test(y);+ _ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));+ function w(e) {+ var n = b, r = x, o, l, p;+ if (y === "c") r = S(e) + r, e = "";+ else {+ e = +e;+ var w = e < 0 || 1 / e < 0;+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = YY(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && XY !== void 0 ? nX[8 + XY / 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;+ }+ }+ }+ g && !m && (e = t(e, Infinity));+ var T = n.length + e.length + r.length, E = T < h ? Array(h - T + 1).join(u) : "";+ switch (g && m && (e = t(E + e, E.length ? h - r.length : Infinity), E = ""), d) {+ case "<":+ e = n + e + r + E;+ break;+ case "=":+ e = n + E + e + r;+ break;+ case "^":+ e = E.slice(0, T = E.length >> 1) + n + e + r + E.slice(T);+ break;+ default: e = E + n + e + r;+ }+ return a(e);+ }+ return w.toString = function() {+ return e + "";+ }, w;+ }+ function u(e, t) {+ var n = Math.max(-8, Math.min(8, Math.floor(UY(t) / 3))) * 3, r = 10 ** -n, i = l((e = qY(e), e.type = "f", e), { suffix: nX[8 + n / 3] });+ return function(e) {+ return i(r * e);};}-}, fT = (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) => fT(e, t.id, n, r, i));-};-function pT(e, t) {- let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {- return e.map((e) => {- var t;- let o = mT(e, n);- if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {- ...e,- subRows: a(e.subRows)- }), o) return e;- }).filter(Boolean);- };return {- rows: a(t.rows),- flatRows: r,- rowsById: i+ format: l,+ formatPrefix: u};}-function mT(e, t) {- return t[e.id] ?? !1;+//#endregion+//#region node_modules/d3-format/src/defaultLocale.js+var iX, aX, oX;+sX({+ thousands: ",",+ grouping: [3],+ currency: ["$", ""]+});+function sX(e) {+ return iX = rX(e), aX = iX.format, oX = iX.formatPrefix, iX;}-function hT(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() && (mT(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {- let n = hT(e, t);- n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);- }- }), i ? "all" : a ? "some" : !1;+//#endregion+//#region node_modules/d3-format/src/precisionFixed.js+function cX(e) {+ return Math.max(0, -UY(Math.abs(e)));}-var gT = /([0-9]+)/gm, _T = (e, t, n) => TT(wT(e.getValue(n)).toLowerCase(), wT(t.getValue(n)).toLowerCase()), vT = (e, t, n) => TT(wT(e.getValue(n)), wT(t.getValue(n))), yT = (e, t, n) => CT(wT(e.getValue(n)).toLowerCase(), wT(t.getValue(n)).toLowerCase()), bT = (e, t, n) => CT(wT(e.getValue(n)), wT(t.getValue(n))), xT = (e, t, n) => {- let r = e.getValue(n), i = t.getValue(n);- return r > i ? 1 : r < i ? -1 : 0;-}, ST = (e, t, n) => CT(e.getValue(n), t.getValue(n));-function CT(e, t) {- return e === t ? 0 : e > t ? 1 : -1;+//#endregion+//#region node_modules/d3-format/src/precisionPrefix.js+function lX(e, t) {+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(UY(t) / 3))) * 3 - UY(Math.abs(e)));}-function wT(e) {- return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";+//#endregion+//#region node_modules/d3-format/src/precisionRound.js+function uX(e, t) {+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, UY(t) - UY(e)) + 1;}-function TT(e, t) {- let n = e.split(gT).filter(Boolean), r = t.split(gT).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])) {- if (e > t) return 1;- if (t > e) return -1;- continue;+//#endregion+//#region node_modules/d3-scale/src/tickFormat.js+function dX(e, t, n, r) {+ var i = lJ(e, t, n), a;+ switch (r = qY(r ?? ",f"), r.type) {+ case "s":+ var o = Math.max(Math.abs(e), Math.abs(t));+ return r.precision == null && !isNaN(a = lX(i, o)) && (r.precision = a), oX(r, o);+ case "":+ case "e":+ case "g":+ case "p":+ case "r":+ r.precision == null && !isNaN(a = uX(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));+ break;+ case "f":+ case "%": r.precision == null && !isNaN(a = cX(i)) && (r.precision = a - (r.type === "%") * 2);+ }+ return aX(r);+}+//#endregion+//#region node_modules/d3-scale/src/linear.js+function fX(e) {+ var t = e.domain;+ return e.ticks = function(e) {+ var n = t();+ return sJ(n[0], n[n.length - 1], e ?? 10);+ }, e.tickFormat = function(e, n) {+ var r = t();+ return dX(r[0], r[r.length - 1], e ?? 10, n);+ }, e.nice = function(n) {+ n ??= 10;+ var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;+ for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {+ if (l = cJ(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;+ c = l;}- if (isNaN(o[1])) return isNaN(i) ? -1 : 1;- if (i > a) return 1;- if (a > i) return -1;+ return e;+ }, e;+}+function pX() {+ var e = BY();+ return e.copy = function() {+ return RY(e, pX());+ }, vJ.apply(e, arguments), fX(e);+}+//#endregion+//#region node_modules/d3-scale/src/identity.js+function mX(e) {+ var t;+ function n(e) {+ return e == null || isNaN(e = +e) ? t : e;}- return n.length - r.length;+ return n.invert = n, n.domain = n.range = function(t) {+ return arguments.length ? (e = Array.from(t, jY), n) : e.slice();+ }, n.unknown = function(e) {+ return arguments.length ? (t = e, n) : t;+ }, n.copy = function() {+ return mX(e).unknown(t);+ }, e = arguments.length ? Array.from(e, jY) : [0, 1], fX(n);}-var ET = {- alphanumeric: _T,- alphanumericCaseSensitive: vT,- text: yT,- textCaseSensitive: bT,- datetime: xT,- basic: ST-}, DT = [- ww,- eT,- Ww,- Kw,- Dw,- zw,- nT,- rT,- {- getInitialState: (e) => ({- sorting: [],- ...e- }),- getDefaultColumnDef: () => ({- sortingFn: "auto",- sortUndefined: 1- }),- getDefaultOptions: (e) => ({- onSortingChange: gw("sorting", e),- isMultiSortEvent: (e) => e.shiftKey- }),- createColumn: (e, t) => {- e.getAutoSortingFn = () => {- 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 ET.datetime;- if (typeof n == "string" && (r = !0, n.split(gT).length > 1)) return ET.alphanumeric;+//#endregion+//#region node_modules/d3-scale/src/nice.js+function hX(e, t) {+ e = e.slice();+ var n = 0, r = e.length - 1, i = e[n], a = e[r], o;+ return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;+}+//#endregion+//#region node_modules/d3-scale/src/log.js+function gX(e) {+ return Math.log(e);+}+function _X(e) {+ return Math.exp(e);+}+function vX(e) {+ return -Math.log(-e);+}+function yX(e) {+ return -Math.exp(-e);+}+function bX(e) {+ return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;+}+function xX(e) {+ return e === 10 ? bX : e === Math.E ? Math.exp : (t) => e ** +t;+}+function SX(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 CX(e) {+ return (t, n) => -e(-t, n);+}+function wX(e) {+ let t = e(gX, _X), n = t.domain, r = 10, i, a;+ function o() {+ return i = SX(r), a = xX(r), n()[0] < 0 ? (i = CX(i), a = CX(a), e(vX, yX)) : e(gX, _X), t;+ }+ return t.base = function(e) {+ return arguments.length ? (r = +e, o()) : r;+ }, t.domain = function(e) {+ return arguments.length ? (n(e), o()) : n();+ }, t.ticks = (e) => {+ let t = n(), o = t[0], s = t[t.length - 1], c = s < o;+ c && ([o, s] = [s, o]);+ let l = i(o), u = i(s), d, f, p = e == null ? 10 : +e, m = [];+ if (!(r % 1) && u - l < p) {+ if (l = Math.floor(l), u = Math.ceil(u), o > 0) {+ for (; l <= u; ++l) for (d = 1; d < r; ++d) if (f = l < 0 ? d / a(-l) : d * a(l), !(f < o)) {+ if (f > s) break;+ m.push(f);}- return r ? ET.text : ET.basic;- }, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {- if (!e) throw Error();- return _w(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? ET[e.columnDef.sortingFn];- }, e.toggleSorting = (n, r) => {- let i = e.getNextSortingOrder(), a = n != null;- t.setSorting((o) => {- let s = o?.find((t) => t.id === e.id), c = o?.findIndex((t) => t.id === e.id), l = [], u, d = a ? n : i === "desc";- return u = o != null && o.length && e.getCanMultiSort() && r ? s ? "toggle" : "add" : o != null && o.length && c !== o.length - 1 ? "replace" : s ? "toggle" : "replace", u === "toggle" && (a || i || (u = "remove")), u === "add" ? (l = [...o, {- id: e.id,- desc: d- }], l.splice(0, l.length - (t.options.maxMultiSortColCount ?? 2 ** 53 - 1))) : l = u === "toggle" ? o.map((t) => t.id === e.id ? {- ...t,- desc: d- } : t) : u === "remove" ? o.filter((t) => t.id !== e.id) : [{- id: e.id,- desc: d- }], l;- });- }, e.getFirstSortDir = () => e.columnDef.sortDescFirst ?? t.options.sortDescFirst ?? e.getAutoSortDir() === "desc" ? "desc" : "asc", e.getNextSortingOrder = (n) => {- let r = e.getFirstSortDir(), i = e.getIsSorted();- return i ? i !== r && (t.options.enableSortingRemoval ?? !0) && (!n || (t.options.enableMultiRemove ?? !0)) ? !1 : i === "desc" ? "asc" : "desc" : r;- }, e.getCanSort = () => (e.columnDef.enableSorting ?? !0) && (t.options.enableSorting ?? !0) && !!e.accessorFn, e.getCanMultiSort = () => e.columnDef.enableMultiSort ?? t.options.enableMultiSort ?? !!e.accessorFn, e.getIsSorted = () => {- let n = t.getState().sorting?.find((t) => t.id === e.id);- return n ? n.desc ? "desc" : "asc" : !1;- }, e.getSortIndex = () => t.getState().sorting?.findIndex((t) => t.id === e.id) ?? -1, e.clearSorting = () => {- t.setSorting((t) => t != null && t.length ? t.filter((t) => t.id !== e.id) : []);- }, e.getToggleSortingHandler = () => {- let n = e.getCanSort();- return (r) => {- n && (r.persist == null || r.persist(), e.toggleSorting == null || e.toggleSorting(void 0, e.getCanMultiSort() ? t.options.isMultiSortEvent == null ? void 0 : t.options.isMultiSortEvent(r) : !1));- };- };- },- createTable: (e) => {- e.setSorting = (t) => e.options.onSortingChange == null ? void 0 : e.options.onSortingChange(t), e.resetSorting = (t) => {- e.setSorting(t ? [] : e.initialState?.sorting ?? []);- }, 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());+ } else for (; l <= u; ++l) for (d = r - 1; d >= 1; --d) if (f = l > 0 ? d / a(-l) : d * a(l), !(f < o)) {+ if (f > s) break;+ m.push(f);+ }+ m.length * 2 < p && (m = sJ(o, s, p));+ } else m = sJ(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 = qY(n)).precision == null && (n.trim = !0), n = aX(n)), e === Infinity) return n;+ let o = Math.max(1, r * e / t.ticks().length);+ return (e) => {+ let t = e / a(Math.round(i(e)));+ return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";+ };+ }, t.nice = () => n(hX(n(), {+ floor: (e) => a(Math.floor(i(e))),+ ceil: (e) => a(Math.ceil(i(e)))+ })), t;+}+function TX() {+ let e = wX(zY()).domain([1, 10]);+ return e.copy = () => RY(e, TX()).base(e.base()), vJ.apply(e, arguments), e;+}+//#endregion+//#region node_modules/d3-scale/src/symlog.js+function EX(e) {+ return function(t) {+ return Math.sign(t) * Math.log1p(Math.abs(t / e));+ };+}+function DX(e) {+ return function(t) {+ return Math.sign(t) * Math.expm1(Math.abs(t)) * e;+ };+}+function OX(e) {+ var t = 1, n = e(EX(t), DX(t));+ return n.constant = function(n) {+ return arguments.length ? e(EX(t = +n), DX(t)) : t;+ }, fX(n);+}+function kX() {+ var e = OX(zY());+ return e.copy = function() {+ return RY(e, kX()).constant(e.constant());+ }, vJ.apply(e, arguments);+}+//#endregion+//#region node_modules/d3-scale/src/pow.js+function AX(e) {+ return function(t) {+ return t < 0 ? -((-t) ** +e) : t ** +e;+ };+}+function jX(e) {+ return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);+}+function MX(e) {+ return e < 0 ? -e * e : e * e;+}+function NX(e) {+ var t = e(NY, NY), n = 1;+ function r() {+ return n === 1 ? e(NY, NY) : n === .5 ? e(jX, MX) : e(AX(n), AX(1 / n));+ }+ return t.exponent = function(e) {+ return arguments.length ? (n = +e, r()) : n;+ }, fX(t);+}+function PX() {+ var e = NX(zY());+ return e.copy = function() {+ return RY(e, PX()).exponent(e.exponent());+ }, vJ.apply(e, arguments), e;+}+function FX() {+ return PX.apply(null, arguments).exponent(.5);+}+//#endregion+//#region node_modules/d3-scale/src/radial.js+function IX(e) {+ return Math.sign(e) * e * e;+}+function LX(e) {+ return Math.sign(e) * Math.sqrt(Math.abs(e));+}+function RX() {+ var e = BY(), t = [0, 1], n = !1, r;+ function i(t) {+ var i = LX(e(t));+ return isNaN(i) ? r : n ? Math.round(i) : i;+ }+ return i.invert = function(t) {+ return e.invert(IX(t));+ }, i.domain = function(t) {+ return arguments.length ? (e.domain(t), i) : e.domain();+ }, i.range = function(n) {+ return arguments.length ? (e.range((t = Array.from(n, jY)).map(IX)), i) : t.slice();+ }, i.rangeRound = function(e) {+ return i.range(e).round(!0);+ }, i.round = function(e) {+ return arguments.length ? (n = !!e, i) : n;+ }, i.clamp = function(t) {+ return arguments.length ? (e.clamp(t), i) : e.clamp();+ }, i.unknown = function(e) {+ return arguments.length ? (r = e, i) : r;+ }, i.copy = function() {+ return RX(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);+ }, vJ.apply(i, arguments), fX(i);+}+//#endregion+//#region node_modules/d3-scale/src/quantile.js+function zX() {+ 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] = hJ(e, r / i);+ return a;+ }+ function a(e) {+ return e == null || isNaN(e = +e) ? r : t[Qq(n, e)];+ }+ return a.invertExtent = function(r) {+ var i = t.indexOf(r);+ return i < 0 ? [NaN, NaN] : [i > 0 ? n[i - 1] : e[0], i < n.length ? n[i] : e[e.length - 1]];+ }, a.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(Kq), i();+ }, a.range = function(e) {+ return arguments.length ? (t = Array.from(e), i()) : t.slice();+ }, a.unknown = function(e) {+ return arguments.length ? (r = e, a) : r;+ }, a.quantiles = function() {+ return n.slice();+ }, a.copy = function() {+ return zX().domain(e).range(t).unknown(r);+ }, vJ.apply(a, arguments);+}+//#endregion+//#region node_modules/d3-scale/src/quantize.js+function BX() {+ var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;+ function o(e) {+ return e != null && e <= e ? i[Qq(r, e, 0, n)] : a;+ }+ function s() {+ var i = -1;+ for (r = Array(n); ++i < n;) r[i] = ((i + 1) * t - (i - n) * e) / (n + 1);+ return o;+ }+ return o.domain = function(n) {+ return arguments.length ? ([e, t] = n, e = +e, t = +t, s()) : [e, t];+ }, o.range = function(e) {+ return arguments.length ? (n = (i = Array.from(e)).length - 1, s()) : i.slice();+ }, o.invertExtent = function(a) {+ var o = i.indexOf(a);+ return o < 0 ? [NaN, NaN] : o < 1 ? [e, r[0]] : o >= n ? [r[n - 1], t] : [r[o - 1], r[o]];+ }, o.unknown = function(e) {+ return arguments.length && (a = e), o;+ }, o.thresholds = function() {+ return r.slice();+ }, o.copy = function() {+ return BX().domain([e, t]).range(i).unknown(a);+ }, vJ.apply(fX(o), arguments);+}+//#endregion+//#region node_modules/d3-scale/src/threshold.js+function VX() {+ var e = [.5], t = [0, 1], n, r = 1;+ function i(i) {+ return i != null && i <= i ? t[Qq(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();+ }, i.range = function(n) {+ return arguments.length ? (t = Array.from(n), r = Math.min(e.length, t.length - 1), i) : t.slice();+ }, i.invertExtent = function(n) {+ var r = t.indexOf(n);+ return [e[r - 1], e[r]];+ }, i.unknown = function(e) {+ return arguments.length ? (n = e, i) : n;+ }, i.copy = function() {+ return VX().domain(e).range(t).unknown(n);+ }, vJ.apply(i, arguments);+}+//#endregion+//#region node_modules/d3-time/src/interval.js+var HX = /* @__PURE__ */ new Date(), UX = /* @__PURE__ */ new Date();+function WX(e, t, n, r) {+ function i(t) {+ return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;+ }+ return i.floor = (t) => (e(t = /* @__PURE__ */ new Date(+t)), t), i.ceil = (n) => (e(n = /* @__PURE__ */ new Date(n - 1)), t(n, 1), e(n), n), i.round = (e) => {+ let t = i(e), n = i.ceil(e);+ return e - t < n - e ? t : n;+ }, i.offset = (e, n) => (t(e = /* @__PURE__ */ new Date(+e), n == null ? 1 : Math.floor(n)), e), i.range = (n, r, a) => {+ let o = [];+ if (n = i.ceil(n), a = a == null ? 1 : Math.floor(a), !(n < r) || !(a > 0)) return o;+ let s;+ do+ o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);+ while (s < n && n < r);+ return o;+ }, i.filter = (n) => WX((t) => {+ if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);+ }, (e, r) => {+ if (e >= e) {+ if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););+ else for (; --r >= 0;) for (; t(e, 1), !n(e););+ }+ }), n && (i.count = (t, r) => (HX.setTime(+t), UX.setTime(+r), e(HX), e(UX), Math.floor(n(HX, UX))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;+}+//#endregion+//#region node_modules/d3-time/src/millisecond.js+var GX = WX(() => {}, (e, t) => {+ e.setTime(+e + t);+}, (e, t) => t - e);+GX.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? WX((t) => {+ t.setTime(Math.floor(t / e) * e);+}, (t, n) => {+ t.setTime(+t + n * e);+}, (t, n) => (n - t) / e) : GX), GX.range;+//#endregion+//#region node_modules/d3-time/src/duration.js+var KX = 1e3, qX = KX * 60, JX = qX * 60, YX = JX * 24, XX = YX * 7, ZX = YX * 30, QX = YX * 365, $X = WX((e) => {+ e.setTime(e - e.getMilliseconds());+}, (e, t) => {+ e.setTime(+e + t * KX);+}, (e, t) => (t - e) / KX, (e) => e.getUTCSeconds());+$X.range;+//#endregion+//#region node_modules/d3-time/src/minute.js+var eZ = WX((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * KX);+}, (e, t) => {+ e.setTime(+e + t * qX);+}, (e, t) => (t - e) / qX, (e) => e.getMinutes());+eZ.range;+var tZ = WX((e) => {+ e.setUTCSeconds(0, 0);+}, (e, t) => {+ e.setTime(+e + t * qX);+}, (e, t) => (t - e) / qX, (e) => e.getUTCMinutes());+tZ.range;+//#endregion+//#region node_modules/d3-time/src/hour.js+var nZ = WX((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * KX - e.getMinutes() * qX);+}, (e, t) => {+ e.setTime(+e + t * JX);+}, (e, t) => (t - e) / JX, (e) => e.getHours());+nZ.range;+var rZ = WX((e) => {+ e.setUTCMinutes(0, 0, 0);+}, (e, t) => {+ e.setTime(+e + t * JX);+}, (e, t) => (t - e) / JX, (e) => e.getUTCHours());+rZ.range;+//#endregion+//#region node_modules/d3-time/src/day.js+var iZ = WX((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * qX) / YX, (e) => e.getDate() - 1);+iZ.range;+var aZ = WX((e) => {+ e.setUTCHours(0, 0, 0, 0);+}, (e, t) => {+ e.setUTCDate(e.getUTCDate() + t);+}, (e, t) => (t - e) / YX, (e) => e.getUTCDate() - 1);+aZ.range;+var oZ = WX((e) => {+ e.setUTCHours(0, 0, 0, 0);+}, (e, t) => {+ e.setUTCDate(e.getUTCDate() + t);+}, (e, t) => (t - e) / YX, (e) => Math.floor(e / YX));+oZ.range;+//#endregion+//#region node_modules/d3-time/src/week.js+function sZ(e) {+ return WX((t) => {+ t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);+ }, (e, t) => {+ e.setDate(e.getDate() + t * 7);+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * qX) / XX);+}+var cZ = sZ(0), lZ = sZ(1), uZ = sZ(2), dZ = sZ(3), fZ = sZ(4), pZ = sZ(5), mZ = sZ(6);+cZ.range, lZ.range, uZ.range, dZ.range, fZ.range, pZ.range, mZ.range;+function hZ(e) {+ return WX((t) => {+ t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);+ }, (e, t) => {+ e.setUTCDate(e.getUTCDate() + t * 7);+ }, (e, t) => (t - e) / XX);+}+var gZ = hZ(0), _Z = hZ(1), vZ = hZ(2), yZ = hZ(3), bZ = hZ(4), xZ = hZ(5), SZ = hZ(6);+gZ.range, _Z.range, vZ.range, yZ.range, bZ.range, xZ.range, SZ.range;+//#endregion+//#region node_modules/d3-time/src/month.js+var CZ = WX((e) => {+ e.setDate(1), e.setHours(0, 0, 0, 0);+}, (e, t) => {+ e.setMonth(e.getMonth() + t);+}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());+CZ.range;+var wZ = WX((e) => {+ e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);+}, (e, t) => {+ e.setUTCMonth(e.getUTCMonth() + t);+}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());+wZ.range;+//#endregion+//#region node_modules/d3-time/src/year.js+var TZ = WX((e) => {+ e.setMonth(0, 1), e.setHours(0, 0, 0, 0);+}, (e, t) => {+ e.setFullYear(e.getFullYear() + t);+}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());+TZ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : WX((t) => {+ t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);+}, (t, n) => {+ t.setFullYear(t.getFullYear() + n * e);+}), TZ.range;+var EZ = WX((e) => {+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);+}, (e, t) => {+ e.setUTCFullYear(e.getUTCFullYear() + t);+}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());+EZ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : WX((t) => {+ t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);+}, (t, n) => {+ t.setUTCFullYear(t.getUTCFullYear() + n * e);+}), EZ.range;+//#endregion+//#region node_modules/d3-time/src/ticks.js+function DZ(e, t, n, r, i, a) {+ let o = [+ [+ $X,+ 1,+ KX+ ],+ [+ $X,+ 5,+ 5 * KX+ ],+ [+ $X,+ 15,+ 15 * KX+ ],+ [+ $X,+ 30,+ 30 * KX+ ],+ [+ a,+ 1,+ qX+ ],+ [+ a,+ 5,+ 5 * qX+ ],+ [+ a,+ 15,+ 15 * qX+ ],+ [+ a,+ 30,+ 30 * qX+ ],+ [+ i,+ 1,+ JX+ ],+ [+ i,+ 3,+ 3 * JX+ ],+ [+ i,+ 6,+ 6 * JX+ ],+ [+ i,+ 12,+ 12 * JX+ ],+ [+ r,+ 1,+ YX+ ],+ [+ r,+ 2,+ 2 * YX+ ],+ [+ n,+ 1,+ XX+ ],+ [+ t,+ 1,+ ZX+ ],+ [+ t,+ 3,+ 3 * ZX+ ],+ [+ e,+ 1,+ QX+ ]+ ];+ function s(e, t, n) {+ let r = t < e;+ r && ([e, t] = [t, e]);+ let i = n && typeof n.range == "function" ? n : c(e, t, n), a = i ? i.range(e, +t + 1) : [];+ return r ? a.reverse() : a;+ }+ function c(t, n, r) {+ let i = Math.abs(n - t) / r, a = qq(([, , e]) => e).right(o, i);+ if (a === o.length) return e.every(lJ(t / QX, n / QX, r));+ if (a === 0) return GX.every(Math.max(lJ(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 [OZ, kZ] = DZ(EZ, wZ, gZ, oZ, rZ, tZ), [AZ, jZ] = DZ(TZ, CZ, cZ, iZ, nZ, eZ);+//#endregion+//#region node_modules/d3-time-format/src/locale.js+function MZ(e) {+ if (0 <= e.y && e.y < 100) {+ var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);+ return t.setFullYear(e.y), t;+ }+ return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);+}+function NZ(e) {+ if (0 <= e.y && e.y < 100) {+ var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));+ return t.setUTCFullYear(e.y), t;+ }+ return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));+}+function PZ(e, t, n) {+ return {+ y: e,+ m: t,+ d: n,+ H: 0,+ M: 0,+ S: 0,+ L: 0+ };+}+function FZ(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 = HZ(i), u = UZ(i), d = HZ(a), f = UZ(a), p = HZ(o), m = UZ(o), h = HZ(s), g = UZ(s), _ = HZ(c), v = UZ(c), y = {+ a: N,+ A: P,+ b: F,+ B: I,+ c: null,+ d: uQ,+ e: uQ,+ f: hQ,+ g: EQ,+ G: OQ,+ H: dQ,+ I: fQ,+ j: pQ,+ L: mQ,+ m: gQ,+ M: _Q,+ p: ee,+ q: te,+ Q: ZQ,+ s: QQ,+ S: vQ,+ u: yQ,+ U: bQ,+ V: SQ,+ w: CQ,+ W: wQ,+ x: null,+ X: null,+ y: TQ,+ Y: DQ,+ Z: kQ,+ "%": XQ+ }, b = {+ a: L,+ A: ne,+ b: re,+ B: ie,+ c: null,+ d: AQ,+ e: AQ,+ f: FQ,+ g: KQ,+ G: JQ,+ H: jQ,+ I: MQ,+ j: NQ,+ L: PQ,+ m: IQ,+ M: LQ,+ p: ae,+ q: oe,+ Q: ZQ,+ s: QQ,+ S: RQ,+ u: zQ,+ U: BQ,+ V: HQ,+ w: UQ,+ W: WQ,+ x: null,+ X: null,+ y: GQ,+ Y: qQ,+ Z: YQ,+ "%": XQ+ }, x = {+ a: E,+ A: D,+ b: O,+ B: k,+ c: A,+ d: eQ,+ e: eQ,+ f: oQ,+ g: XZ,+ G: YZ,+ H: nQ,+ I: nQ,+ j: tQ,+ L: aQ,+ m: $Z,+ M: rQ,+ p: T,+ q: QZ,+ Q: cQ,+ s: lQ,+ S: iQ,+ u: GZ,+ U: KZ,+ V: qZ,+ w: WZ,+ W: JZ,+ x: j,+ X: M,+ y: XZ,+ Y: YZ,+ Z: ZZ,+ "%": sQ+ };+ y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);+ function S(e, t) {+ return function(n) {+ var r = [], i = -1, a = 0, o = e.length, s, c, l;+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = IZ[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);+ return r.push(e.slice(a, i)), r.join("");+ };+ }+ function C(e, t) {+ return function(n) {+ var r = PZ(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;+ if (i != n.length) return null;+ if ("Q" in r) return new Date(r.Q);+ if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));+ if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {+ if (r.V < 1 || r.V > 53) return null;+ "w" in r || (r.w = 1), "Z" in r ? (a = NZ(PZ(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? _Z.ceil(a) : _Z(a), a = aZ.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = MZ(PZ(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? lZ.ceil(a) : lZ(a), a = iZ.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? NZ(PZ(r.y, 0, 1)).getUTCDay() : MZ(PZ(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, NZ(r)) : MZ(r);+ };+ }+ function w(e, t, n, r) {+ for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {+ if (r >= o) return -1;+ if (s = t.charCodeAt(i++), s === 37) {+ if (s = t.charAt(i++), c = x[s in IZ ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;+ } else if (s != n.charCodeAt(r++)) return -1;}- },- Hw,- iT,- cT,- uT,- dT,- Xw-];-function OT(e) {- let t = [...DT, ...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 ?? {} };- n._features.forEach((e) => {- a = (e.getInitialState == null ? void 0 : e.getInitialState(a)) ?? a;- });- let o = [], s = !1, c = {- _features: t,- options: {- ...r,- ...e- },- initialState: a,- _queue: (e) => {- o.push(e), s || (s = !0, Promise.resolve().then(() => {- for (; o.length;) o.shift()();- s = !1;- }).catch((e) => setTimeout(() => {- throw e;- })));- },- reset: () => {- n.setState(n.initialState);- },- setOptions: (e) => {- let t = hw(e, n.options);- n.options = i(t);+ return r;+ }+ function T(e, t, n) {+ var r = l.exec(t.slice(n));+ return r ? (e.p = u.get(r[0].toLowerCase()), n + r[0].length) : -1;+ }+ function E(e, t, n) {+ var r = p.exec(t.slice(n));+ return r ? (e.w = m.get(r[0].toLowerCase()), n + r[0].length) : -1;+ }+ function D(e, t, n) {+ var r = d.exec(t.slice(n));+ return r ? (e.w = f.get(r[0].toLowerCase()), n + r[0].length) : -1;+ }+ function O(e, t, n) {+ var r = _.exec(t.slice(n));+ return r ? (e.m = v.get(r[0].toLowerCase()), n + r[0].length) : -1;+ }+ function k(e, t, n) {+ var r = h.exec(t.slice(n));+ return r ? (e.m = g.get(r[0].toLowerCase()), n + r[0].length) : -1;+ }+ function A(e, n, r) {+ return w(e, t, n, r);+ }+ function j(e, t, r) {+ return w(e, n, t, r);+ }+ function M(e, t, n) {+ return w(e, r, t, n);+ }+ function N(e) {+ return o[e.getDay()];+ }+ function P(e) {+ return a[e.getDay()];+ }+ function F(e) {+ return c[e.getMonth()];+ }+ function I(e) {+ return s[e.getMonth()];+ }+ function ee(e) {+ return i[+(e.getHours() >= 12)];+ }+ function te(e) {+ return 1 + ~~(e.getMonth() / 3);+ }+ function L(e) {+ return o[e.getUTCDay()];+ }+ function ne(e) {+ return a[e.getUTCDay()];+ }+ function re(e) {+ return c[e.getUTCMonth()];+ }+ function ie(e) {+ return s[e.getUTCMonth()];+ }+ function ae(e) {+ return i[+(e.getUTCHours() >= 12)];+ }+ function oe(e) {+ return 1 + ~~(e.getUTCMonth() / 3);+ }+ return {+ format: function(e) {+ var t = S(e += "", y);+ return t.toString = function() {+ return e;+ }, t;},- getState: () => n.options.state,- setState: (e) => {- n.options.onStateChange == null || n.options.onStateChange(e);+ parse: function(e) {+ var t = C(e += "", !1);+ return t.toString = function() {+ return e;+ }, t;},- _getRowId: (e, t, r) => (n.options.getRowId == null ? void 0 : n.options.getRowId(e, t, r)) ?? `${r ? [r.id, t].join(".") : t}`,- getCoreRowModel: () => (n._getCoreRowModel ||= n.options.getCoreRowModel(n), n._getCoreRowModel()),- getRowModel: () => n.getPaginationRowModel(),- getRow: (e, t) => {- let r = (t ? n.getPrePaginationRowModel() : n.getRowModel()).rowsById[e];- if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();- return r;+ utcFormat: function(e) {+ var t = S(e += "", b);+ return t.toString = function() {+ return e;+ }, t;},- _getDefaultColumnDef: Q(() => [n.options.defaultColumn], (e) => (e ??= {}, {- header: (e) => {- let t = e.header.column.columnDef;- return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;- },- cell: (e) => {- var t;- return ((t = e.renderValue()) == null || t.toString == null ? void 0 : t.toString()) ?? null;- },- ...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),- ...e- }), $(e, "debugColumns", "_getDefaultColumnDef")),- _getColumnDefs: () => n.options.columns,- getAllColumns: Q(() => [n._getColumnDefs()], (e) => {- let t = function(e, r, i) {- return i === void 0 && (i = 0), e.map((e) => {- let a = xw(n, e, i, r), o = e;- return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;- });- };- return t(e);- }, $(e, "debugColumns", "getAllColumns")),- getAllFlatColumns: Q(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), $(e, "debugColumns", "getAllFlatColumns")),- _getAllFlatColumnsById: Q(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), $(e, "debugColumns", "getAllFlatColumnsById")),- getAllLeafColumns: Q(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), $(e, "debugColumns", "getAllLeafColumns")),- getColumn: (e) => n._getAllFlatColumnsById()[e]+ utcParse: function(e) {+ var t = C(e += "", !0);+ return t.toString = function() {+ return e;+ }, t;+ }};- Object.assign(n, c);- for (let e = 0; e < n._features.length; e++) {- let t = n._features[e];- t == null || t.createTable == null || t.createTable(n);- }- return n;}-function kT() {- return (e) => Q(() => [e.options.data], (t) => {- let n = {- rows: [],- flatRows: [],- rowsById: {}- }, r = function(t, i, a) {- i === void 0 && (i = 0);- let o = [];- for (let c = 0; c < t.length; c++) {- let l = Ew(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));- }- }- return o;- };- return n.rows = r(t), n;- }, $(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));+var IZ = {+ "-": "",+ _: " ",+ 0: "0"+}, LZ = /^\s*\d+/, RZ = /^%/, zZ = /[\\^$*+?|[\]().{}]/g;+function BZ(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 AT(e) {- let t = [], n = (e) => {- var r;- t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);- };- return e.rows.forEach(n), {- rows: t,- flatRows: e.flatRows,- rowsById: e.rowsById- };+function VZ(e) {+ return e.replace(zZ, "\\$&");}-function jT(e) {- return (e) => Q(() => [- e.getState().pagination,- e.getPrePaginationRowModel(),- e.options.paginateExpandedRows ? void 0 : e.getState().expanded- ], (t, n) => {- if (!n.rows.length) return n;- let { pageSize: r, pageIndex: i } = t, { rows: a, flatRows: o, rowsById: s } = n, c = r * i, l = c + r;- a = a.slice(c, l);- let u;- u = e.options.paginateExpandedRows ? {- rows: a,- flatRows: o,- rowsById: s- } : AT({- rows: a,- flatRows: o,- rowsById: s- }), u.flatRows = [];- let d = (e) => {- u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);- };- return u.rows.forEach(d), u;- }, $(e.options, "debugTable", "getPaginationRowModel"));+function HZ(e) {+ return RegExp("^(?:" + e.map(VZ).join("|") + ")", "i");}-//#endregion-//#region node_modules/@tanstack/react-table/build/lib/index.mjs-function MT(e, t) {- return e ? NT(e) ? /*#__PURE__*/ E.createElement(e, t) : e : null;+function UZ(e) {+ return new Map(e.map((e, t) => [e.toLowerCase(), t]));}-function NT(e) {- return PT(e) || typeof e == "function" || FT(e);+function WZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 1));+ return r ? (e.w = +r[0], n + r[0].length) : -1;}-function PT(e) {- return typeof e == "function" && (() => {- let t = Object.getPrototypeOf(e);- return t.prototype && t.prototype.isReactComponent;- })();+function GZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 1));+ return r ? (e.u = +r[0], n + r[0].length) : -1;}-function FT(e) {- return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);+function KZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.U = +r[0], n + r[0].length) : -1;}-function IT(e) {- let t = {- state: {},- onStateChange: () => {},- renderFallbackValue: null,- ...e- }, [n] = E.useState(() => ({ current: OT(t) })), [r, i] = E.useState(() => n.current.initialState);- return n.current.setOptions((t) => ({- ...t,- ...e,- state: {- ...r,- ...e.state- },- onStateChange: (t) => {- i(t), e.onStateChange == null || e.onStateChange(t);- }- })), n.current;+function qZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.V = +r[0], n + r[0].length) : -1;}-//#endregion-//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function LT(e) {- return /* @__PURE__ */ (0, D.jsx)("svg", {- viewBox: "0 0 16 16",- fill: "none",- "aria-hidden": !0,- ...e,- children: /* @__PURE__ */ (0, D.jsx)("path", {- d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",- stroke: "currentColor",- strokeWidth: "2",- strokeLinecap: "round"- })- });+function JZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.W = +r[0], n + r[0].length) : -1;}-function RT(e) {- return /* @__PURE__ */ (0, D.jsx)("svg", {- viewBox: "0 0 24 24",- fill: "none",- "aria-hidden": !0,- ...e,- children: /* @__PURE__ */ (0, D.jsx)("path", {- d: "M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z",- fill: "currentColor"- })- });+function YZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 4));+ return r ? (e.y = +r[0], n + r[0].length) : -1;+}+function XZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;+}+function ZZ(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 QZ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 1));+ return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;+}+function $Z(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.m = r[0] - 1, n + r[0].length) : -1;+}+function eQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.d = +r[0], n + r[0].length) : -1;+}+function tQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 3));+ return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;+}+function nQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.H = +r[0], n + r[0].length) : -1;+}+function rQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.M = +r[0], n + r[0].length) : -1;+}+function iQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 2));+ return r ? (e.S = +r[0], n + r[0].length) : -1;+}+function aQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 3));+ return r ? (e.L = +r[0], n + r[0].length) : -1;+}+function oQ(e, t, n) {+ var r = LZ.exec(t.slice(n, n + 6));+ return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;+}+function sQ(e, t, n) {+ var r = RZ.exec(t.slice(n, n + 1));+ return r ? n + r[0].length : -1;+}+function cQ(e, t, n) {+ var r = LZ.exec(t.slice(n));+ return r ? (e.Q = +r[0], n + r[0].length) : -1;+}+function lQ(e, t, n) {+ var r = LZ.exec(t.slice(n));+ return r ? (e.s = +r[0], n + r[0].length) : -1;+}+function uQ(e, t) {+ return BZ(e.getDate(), t, 2);+}+function dQ(e, t) {+ return BZ(e.getHours(), t, 2);+}+function fQ(e, t) {+ return BZ(e.getHours() % 12 || 12, t, 2);+}+function pQ(e, t) {+ return BZ(1 + iZ.count(TZ(e), e), t, 3);+}+function mQ(e, t) {+ return BZ(e.getMilliseconds(), t, 3);+}+function hQ(e, t) {+ return mQ(e, t) + "000";+}+function gQ(e, t) {+ return BZ(e.getMonth() + 1, t, 2);+}+function _Q(e, t) {+ return BZ(e.getMinutes(), t, 2);+}+function vQ(e, t) {+ return BZ(e.getSeconds(), t, 2);+}+function yQ(e) {+ var t = e.getDay();+ return t === 0 ? 7 : t;+}+function bQ(e, t) {+ return BZ(cZ.count(TZ(e) - 1, e), t, 2);+}+function xQ(e) {+ var t = e.getDay();+ return t >= 4 || t === 0 ? fZ(e) : fZ.ceil(e);+}+function SQ(e, t) {+ return e = xQ(e), BZ(fZ.count(TZ(e), e) + (TZ(e).getDay() === 4), t, 2);+}+function CQ(e) {+ return e.getDay();+}+function wQ(e, t) {+ return BZ(lZ.count(TZ(e) - 1, e), t, 2);+}+function TQ(e, t) {+ return BZ(e.getFullYear() % 100, t, 2);+}+function EQ(e, t) {+ return e = xQ(e), BZ(e.getFullYear() % 100, t, 2);+}+function DQ(e, t) {+ return BZ(e.getFullYear() % 1e4, t, 4);+}+function OQ(e, t) {+ var n = e.getDay();+ return e = n >= 4 || n === 0 ? fZ(e) : fZ.ceil(e), BZ(e.getFullYear() % 1e4, t, 4);+}+function kQ(e) {+ var t = e.getTimezoneOffset();+ return (t > 0 ? "-" : (t *= -1, "+")) + BZ(t / 60 | 0, "0", 2) + BZ(t % 60, "0", 2);+}+function AQ(e, t) {+ return BZ(e.getUTCDate(), t, 2);+}+function jQ(e, t) {+ return BZ(e.getUTCHours(), t, 2);+}+function MQ(e, t) {+ return BZ(e.getUTCHours() % 12 || 12, t, 2);+}+function NQ(e, t) {+ return BZ(1 + aZ.count(EZ(e), e), t, 3);+}+function PQ(e, t) {+ return BZ(e.getUTCMilliseconds(), t, 3);+}+function FQ(e, t) {+ return PQ(e, t) + "000";+}+function IQ(e, t) {+ return BZ(e.getUTCMonth() + 1, t, 2);+}+function LQ(e, t) {+ return BZ(e.getUTCMinutes(), t, 2);+}+function RQ(e, t) {+ return BZ(e.getUTCSeconds(), t, 2);+}+function zQ(e) {+ var t = e.getUTCDay();+ return t === 0 ? 7 : t;+}+function BQ(e, t) {+ return BZ(gZ.count(EZ(e) - 1, e), t, 2);+}+function VQ(e) {+ var t = e.getUTCDay();+ return t >= 4 || t === 0 ? bZ(e) : bZ.ceil(e);+}+function HQ(e, t) {+ return e = VQ(e), BZ(bZ.count(EZ(e), e) + (EZ(e).getUTCDay() === 4), t, 2);+}+function UQ(e) {+ return e.getUTCDay();+}+function WQ(e, t) {+ return BZ(_Z.count(EZ(e) - 1, e), t, 2);+}+function GQ(e, t) {+ return BZ(e.getUTCFullYear() % 100, t, 2);+}+function KQ(e, t) {+ return e = VQ(e), BZ(e.getUTCFullYear() % 100, t, 2);+}+function qQ(e, t) {+ return BZ(e.getUTCFullYear() % 1e4, t, 4);+}+function JQ(e, t) {+ var n = e.getUTCDay();+ return e = n >= 4 || n === 0 ? bZ(e) : bZ.ceil(e), BZ(e.getUTCFullYear() % 1e4, t, 4);+}+function YQ() {+ return "+0000";+}+function XQ() {+ return "%";+}+function ZQ(e) {+ return +e;+}+function QQ(e) {+ return Math.floor(e / 1e3);+}+//#endregion+//#region node_modules/d3-time-format/src/defaultLocale.js+var $Q, e$, t$;+n$({+ dateTime: "%x, %X",+ date: "%-m/%-d/%Y",+ time: "%-I:%M:%S %p",+ periods: ["AM", "PM"],+ days: [+ "Sunday",+ "Monday",+ "Tuesday",+ "Wednesday",+ "Thursday",+ "Friday",+ "Saturday"+ ],+ shortDays: [+ "Sun",+ "Mon",+ "Tue",+ "Wed",+ "Thu",+ "Fri",+ "Sat"+ ],+ months: [+ "January",+ "February",+ "March",+ "April",+ "May",+ "June",+ "July",+ "August",+ "September",+ "October",+ "November",+ "December"+ ],+ shortMonths: [+ "Jan",+ "Feb",+ "Mar",+ "Apr",+ "May",+ "Jun",+ "Jul",+ "Aug",+ "Sep",+ "Oct",+ "Nov",+ "Dec"+ ]+});+function n$(e) {+ return $Q = FZ(e), e$ = $Q.format, $Q.parse, t$ = $Q.utcFormat, $Q.utcParse, $Q;}//#endregion-//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function zT(e, t, n) {- (0, E.useEffect)(() => {- if (!e) return;- let r = (e) => {- let r = e.target;- n.some((e) => e.current?.contains(r)) || t();+//#region node_modules/d3-scale/src/time.js+function r$(e) {+ return new Date(e);+}+function i$(e) {+ return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);+}+function a$(e, t, n, r, i, a, o, s, c, l) {+ var u = BY(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");+ function x(e) {+ return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);+ }+ return u.invert = function(e) {+ return new Date(d(e));+ }, u.domain = function(e) {+ return arguments.length ? f(Array.from(e, i$)) : f().map(r$);+ }, u.ticks = function(t) {+ var n = f();+ return e(n[0], n[n.length - 1], t ?? 10);+ }, u.tickFormat = function(e, t) {+ return t == null ? x : l(t);+ }, u.nice = function(e) {+ var n = f();+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(hX(n, e)) : u;+ }, u.copy = function() {+ return RY(u, a$(e, t, n, r, i, a, o, s, c, l));+ }, u;+}+function o$() {+ return vJ.apply(a$(AZ, jZ, TZ, CZ, cZ, iZ, nZ, eZ, $X, e$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+}+//#endregion+//#region node_modules/d3-scale/src/utcTime.js+function s$() {+ return vJ.apply(a$(OZ, kZ, EZ, wZ, gZ, aZ, rZ, tZ, $X, t$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+}+//#endregion+//#region node_modules/d3-scale/src/sequential.js+function c$() {+ var e = 0, t = 1, n, r, i, a, o = NY, s = !1, c;+ function l(e) {+ return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));+ }+ l.domain = function(o) {+ return arguments.length ? ([e, t] = o, n = a(e = +e), r = a(t = +t), i = n === r ? 0 : 1 / (r - n), l) : [e, t];+ }, l.clamp = function(e) {+ return arguments.length ? (s = !!e, l) : s;+ }, l.interpolator = function(e) {+ return arguments.length ? (o = e, l) : o;+ };+ function u(e) {+ return function(t) {+ var n, r;+ return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];};- return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);- }, [- e,- t,- n- ]);+ }+ return l.range = u(DY), l.rangeRound = u(OY), l.unknown = function(e) {+ return arguments.length ? (c = e, l) : c;+ }, function(o) {+ return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;+ };}-function BT(e, t) {- let n = (0, E.useRef)(!1);- return (0, E.useEffect)(() => {- if (!e) return;- let r = (e) => {- t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {- n.current = !1;- }, 400));+function l$(e, t) {+ return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());+}+function u$() {+ var e = fX(c$()(NY));+ return e.copy = function() {+ return l$(e, u$());+ }, yJ.apply(e, arguments);+}+function d$() {+ var e = wX(c$()).domain([1, 10]);+ return e.copy = function() {+ return l$(e, d$()).base(e.base());+ }, yJ.apply(e, arguments);+}+function f$() {+ var e = OX(c$());+ return e.copy = function() {+ return l$(e, f$()).constant(e.constant());+ }, yJ.apply(e, arguments);+}+function p$() {+ var e = NX(c$());+ return e.copy = function() {+ return l$(e, p$()).exponent(e.exponent());+ }, yJ.apply(e, arguments);+}+function m$() {+ return p$.apply(null, arguments).exponent(.5);+}+//#endregion+//#region node_modules/d3-scale/src/sequentialQuantile.js+function h$() {+ var e = [], t = NY;+ function n(n) {+ if (n != null && !isNaN(n = +n)) return t((Qq(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(Kq), 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) => mJ(e, r / t));+ }, n.copy = function() {+ return h$(t).domain(e);+ }, yJ.apply(n, arguments);+}+//#endregion+//#region node_modules/d3-scale/src/diverging.js+function g$() {+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = NY, u, d = !1, f;+ function p(e) {+ return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));+ }+ p.domain = function(l) {+ return arguments.length ? ([e, t, n] = l, i = u(e = +e), a = u(t = +t), o = u(n = +n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p) : [+ e,+ t,+ n+ ];+ }, p.clamp = function(e) {+ return arguments.length ? (d = !!e, p) : d;+ }, p.interpolator = function(e) {+ return arguments.length ? (l = e, p) : l;+ };+ function m(e) {+ return function(t) {+ var n, r, i;+ return arguments.length ? ([n, r, i] = t, l = kY(e, [+ n,+ r,+ i+ ]), p) : [+ l(0),+ l(.5),+ l(1)+ ];};- return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);- }, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;+ }+ return p.range = m(DY), p.rangeRound = m(OY), p.unknown = function(e) {+ return arguments.length ? (f = e, p) : f;+ }, function(l) {+ return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;+ };+}+function _$() {+ var e = fX(g$()(NY));+ return e.copy = function() {+ return l$(e, _$());+ }, yJ.apply(e, arguments);}+function v$() {+ var e = wX(g$()).domain([+ .1,+ 1,+ 10+ ]);+ return e.copy = function() {+ return l$(e, v$()).base(e.base());+ }, yJ.apply(e, arguments);+}+function y$() {+ var e = OX(g$());+ return e.copy = function() {+ return l$(e, y$()).constant(e.constant());+ }, yJ.apply(e, arguments);+}+function b$() {+ var e = NX(g$());+ return e.copy = function() {+ return l$(e, b$()).exponent(e.exponent());+ }, yJ.apply(e, arguments);+}+function x$() {+ return b$.apply(null, arguments).exponent(.5);+}+//#endregion+//#region node_modules/victory-vendor/es/d3-scale.js+var S$ = /* @__PURE__ */ v({+ scaleBand: () => SJ,+ scaleDiverging: () => _$,+ scaleDivergingLog: () => v$,+ scaleDivergingPow: () => b$,+ scaleDivergingSqrt: () => x$,+ scaleDivergingSymlog: () => y$,+ scaleIdentity: () => mX,+ scaleImplicit: () => bJ,+ scaleLinear: () => pX,+ scaleLog: () => TX,+ scaleOrdinal: () => xJ,+ scalePoint: () => wJ,+ scalePow: () => PX,+ scaleQuantile: () => zX,+ scaleQuantize: () => BX,+ scaleRadial: () => RX,+ scaleSequential: () => u$,+ scaleSequentialLog: () => d$,+ scaleSequentialPow: () => p$,+ scaleSequentialQuantile: () => h$,+ scaleSequentialSqrt: () => m$,+ scaleSequentialSymlog: () => f$,+ scaleSqrt: () => FX,+ scaleSymlog: () => kX,+ scaleThreshold: () => VX,+ scaleTime: () => o$,+ scaleUtc: () => s$,+ tickFormat: () => dX+});//#endregion-//#region src/react/boardui/components/base/select/select.tsx-var VT = (0, E.createContext)("md");-function HT({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {- let l = (0, E.useRef)(null), u = (0, E.useRef)(null), [d, f] = (0, E.useState)(!1);- zT(d, () => f(!1), [l, u]);- let p = BT(d, l);- return /* @__PURE__ */ (0, D.jsx)(Gv, {- ref: s,- ...c,- isOpen: d,- onOpenChange: (e) => p(e) && f(e),- className: nh("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(wg, {- ref: l,- className: nh("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, D.jsx)(Yv, {- className: nh("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),- children: o- }), /* @__PURE__ */ (0, D.jsx)(LT, { className: nh("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, D.jsx)(hv, {- ref: u,- isNonModal: !0,- offset: 4,- className: nh(aC, iC, "p-2", n),- children: /* @__PURE__ */ (0, D.jsx)(ev, {- items: a,- className: nh(oC, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, D.jsx)(VT.Provider, {- value: r,- children: i- })- })- })] })- });+//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js+function C$(e) {+ if (e in S$) return S$[e]();+ var t = `scale${_R(e)}`;+ if (t in S$) return S$[t]();}-function UT({ className: e, children: t, ...n }) {- let r = (0, E.useContext)(VT);- return /* @__PURE__ */ (0, D.jsx)(iv, {- ...n,- className: (t) => nh(sC, 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- });+function w$(e, t, n) {+ if (typeof e == "function") return e.copy().domain(t).range(n);+ if (e != null) {+ var r = C$(e);+ if (r != null) return r.domain(t).range(n), r;+ }+}+function T$(e, t, n, r) {+ if (n != null && r != null) return typeof e.scale == "function" ? w$(e.scale, n, r) : w$(t, n, r);}//#endregion-//#region src/react/components/selection-dock.tsx-function WT({ children: e, count: t, label: n }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- role: "group",- "aria-label": n,- "data-selection-dock": !0,- "data-glass-pane": "",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- role: "status",- className: "px-2 text-body-2-regular whitespace-nowrap text-text-primary",- children: t- }), e]- });+//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js+function E$(e) {+ return `scale${_R(e)}`;+}+function D$(e) {+ return E$(e) in S$;+}+var O$ = (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 D$(r) ? r : "point";+ }+};+//#endregion+//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js+function k$(e, t) {+ for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {+ var a = Math.floor((n + r) / 2);+ (i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;+ }+ return n;+}+function A$(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 = k$(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;+ return Math.abs(e - i) <= Math.abs(e - a) ? n[t - 1] : n[t];+ };+ }}//#endregion-//#region src/react/follow-manage/source-list.tsx-var GT = Object.fromEntries(Object.entries(Yx).map(([e, t]) => [t, e])), KT = 740;-function qT() {- let [e, t] = (0, E.useState)(!1), n = (0, E.useRef)(null), r = (0, E.useCallback)((e) => {- if (n.current?.disconnect(), !e) {- n.current = null;- return;+//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js+function j$(e) {+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : A$(e, void 0);+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/axisSelectors.js+function M$(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function N$(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? M$(Object(n), !0).forEach(function(t) {+ P$(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M$(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function P$(e, t, n) {+ return (t = F$(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function F$(e) {+ var t = I$(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function I$(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var L$ = [0, "auto"], R$ = {+ allowDataOverflow: !1,+ allowDecimals: !0,+ allowDuplicatedCategory: !0,+ angle: 0,+ dataKey: void 0,+ domain: void 0,+ height: 30,+ hide: !0,+ id: 0,+ includeHidden: !1,+ interval: "preserveEnd",+ minTickGap: 5,+ mirror: !1,+ name: void 0,+ orientation: "bottom",+ padding: {+ left: 0,+ right: 0+ },+ reversed: !1,+ scale: "auto",+ tick: !0,+ tickCount: 5,+ tickFormatter: void 0,+ ticks: void 0,+ type: "category",+ unit: void 0,+ niceTicks: "auto"+}, z$ = (e, t) => e.cartesianAxis.xAxis[t], B$ = (e, t) => z$(e, t) ?? R$, V$ = {+ allowDataOverflow: !1,+ allowDecimals: !0,+ allowDuplicatedCategory: !0,+ angle: 0,+ dataKey: void 0,+ domain: L$,+ hide: !0,+ id: 0,+ includeHidden: !1,+ interval: "preserveEnd",+ minTickGap: 5,+ mirror: !1,+ name: void 0,+ orientation: "left",+ padding: {+ top: 0,+ bottom: 0+ },+ reversed: !1,+ scale: "auto",+ tick: !0,+ tickCount: 5,+ tickFormatter: void 0,+ ticks: void 0,+ type: "number",+ unit: void 0,+ niceTicks: "auto",+ width: 60+}, H$ = (e, t) => e.cartesianAxis.yAxis[t], U$ = (e, t) => H$(e, t) ?? V$, W$ = {+ domain: [0, "auto"],+ includeHidden: !1,+ reversed: !1,+ allowDataOverflow: !1,+ allowDuplicatedCategory: !1,+ dataKey: void 0,+ id: 0,+ name: "",+ range: [64, 64],+ scale: "auto",+ type: "number",+ unit: ""+}, G$ = (e, t) => e.cartesianAxis.zAxis[t] ?? W$, K$ = (e, t, n) => {+ switch (t) {+ case "xAxis": return B$(e, n);+ case "yAxis": return U$(e, n);+ case "zAxis": return G$(e, n);+ case "angleAxis": return Cq(e, n);+ case "radiusAxis": return wq(e, n);+ default: throw Error(`Unexpected axis type: ${t}`);+ }+}, q$ = (e, t, n) => {+ switch (t) {+ case "xAxis": return B$(e, n);+ case "yAxis": return U$(e, n);+ default: throw Error(`Unexpected axis type: ${t}`);+ }+}, J$ = (e, t, n) => {+ switch (t) {+ case "xAxis": return B$(e, n);+ case "yAxis": return U$(e, n);+ case "angleAxis": return Cq(e, n);+ case "radiusAxis": return wq(e, n);+ default: throw Error(`Unexpected axis type: ${t}`);+ }+}, Y$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");+function X$(e, t) {+ return (n) => {+ switch (e) {+ case "xAxis": return "xAxisId" in n && n.xAxisId === t;+ case "yAxis": return "yAxisId" in n && n.yAxisId === t;+ case "zAxis": return "zAxisId" in n && n.zAxisId === t;+ case "angleAxis": return "angleAxisId" in n && n.angleAxisId === t;+ case "radiusAxis": return "radiusAxisId" in n && n.radiusAxisId === t;+ default: return !1;}- let r = new ResizeObserver(() => t(e.clientWidth < KT));- r.observe(e), n.current = r, t(e.clientWidth < KT);- }, []);- return (0, E.useEffect)(() => () => n.current?.disconnect(), []), [r, e];+ };}-var JT = {- select: "选择",- author: "创作者",- source: "来源",- provider: "站点",- status: "状态",- checked: "上次检查",- actions: "操作"-};-function YT({ page: e, pages: t, onPage: n }) {- return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {- "aria-label": "关注列表分页",- className: "flex flex-wrap items-center justify-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: e <= 1,- onClick: () => n(e - 1),- children: "上一页"- }),- /* @__PURE__ */ (0, D.jsx)("ul", {- className: "flex flex-wrap items-center gap-1",- children: wx(e, t).map((t, r) => /* @__PURE__ */ (0, D.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "px-1 text-body-2-regular text-text-tertiary",- children: "…"- }) : /* @__PURE__ */ (0, D.jsx)(K, {- variant: t === e ? "secondary" : "ghost",- size: "small",- "aria-label": `第 ${t} 页`,- "aria-current": t === e ? "page" : void 0,- onClick: () => n(Number(t)),- children: t- }) }, t === "…" ? `dots-${r}` : t))- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: e >= t,- onClick: () => n(e + 1),- children: "下一页"- })- ]- });+var Z$ = (e) => e.graphicalItems.cartesianItems, Q$ = $([Pq, Fq], X$), $$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), e1 = $([+ Z$,+ K$,+ Q$+], $$, { memoizeOptions: { resultEqualityCheck: Bq } }), t1 = $([e1], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(Rq)), n1 = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), r1 = $([e1], n1), i1 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), a1 = $([e1], i1, { memoizeOptions: { resultEqualityCheck: Bq } }), o1 = (e, t) => {+ var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;+ return e.length > 0 ? e : n.slice(r, i + 1);+}, s1 = $([a1, RK], o1), c1 = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: yV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: yV(e, t.dataKey) })), l1 = $([+ s1,+ K$,+ e1+], c1);+function u1(e) {+ if (lR(e) || e instanceof Date) {+ var t = Number(e);+ if (hV(t)) return t;+ }+}+function d1(e) {+ if (Array.isArray(e)) {+ var t = [u1(e[0]), u1(e[1])];+ return BK(t) ? t : void 0;+ }+ var n = u1(e);+ if (n != null) return [n, n];+}+function f1(e) {+ return e.map(u1).filter(vR);+}+function p1(e, t) {+ var n = u1(e), r = u1(t);+ return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;+}+var m1 = $([l1], (e) => e?.map((e) => e.value).sort(p1));+function h1(e, t) {+ switch (e) {+ case "xAxis": return t.direction === "x";+ case "yAxis": return t.direction === "y";+ default: return !1;+ }}-function XT({ source: e, selected: t, onToggle: n, handlers: r }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- "data-selected": t || void 0,- className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",- children: [- /* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: t,- onChange: n,- "aria-label": `选择 ${e.label}`- }),- /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, D.jsx)(PC, { source: e }), e.last_error ? /* @__PURE__ */ (0, D.jsx)("small", {- className: "text-caption-1-regular text-text-error-primary",- children: e.last_error- }) : null]- }),- /* @__PURE__ */ (0, D.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, D.jsx)(jC, {- provider: e.provider,- label: e.provider_label- })- }),- /* @__PURE__ */ (0, D.jsx)(NC, { source: e }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",- children: US(e)- }),- /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex shrink-0 items-center gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- iconOnly: !0,- leadingIcon: fp,- "aria-label": `检查 ${e.label} 的更新`,- disabled: !e.enabled || r.readOnly,- ...X(r.busy),- onClick: () => r.check([e.id])- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- iconOnly: !0,- leadingIcon: Zf,- "aria-label": `移除 ${e.label}`,- disabled: r.readOnly,- onClick: () => r.remove(e)- })]- })- ]- });+function g1(e, t, n) {+ return !n || typeof t != "number" || sR(t) || !n.length ? [] : f1(n.flatMap((n) => {+ var r = yV(e, n.dataKey), i, a;+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!hV(i) || !hV(a))) return [t - i, t + a];+ }));}-function ZT({ 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(nS).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = hS(r, c);- return /* @__PURE__ */ (0, D.jsxs)("section", {- "aria-label": `${t} 的关注来源`,- className: vh({- variant: "raised",- padding: "none",- className: "flex flex-col overflow-hidden p-2"- }),- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- "data-follow-author-header": !0,- "data-open": n || void 0,- className: "flex flex-wrap items-center gap-3 px-2 py-2.5",- children: [- /* @__PURE__ */ (0, D.jsx)(MC, {- group: e,- name: t- }),- /* @__PURE__ */ (0, D.jsx)("b", {- className: "min-w-0 grow text-body-medium break-words text-text-primary",- children: t- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- iconOnly: !0,- leadingIcon: fp,- "aria-label": `检查 ${t} 的全部来源`,- disabled: !l.length || i.readOnly,- ...X(i.busy),- onClick: () => i.check(l)- }),- /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex shrink-0 items-center gap-1",- title: d,- children: [e.map((e) => /* @__PURE__ */ (0, D.jsx)(jC, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, D.jsx)(ss, { children: `来源:${d}` })]- }),- u ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "shrink-0 text-body-2-regular text-text-error-primary",- children: `${u} 个失败`- }) : null,- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- leadingIcon: qf,- "aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",- "aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,- onClick: () => o(!p.all),- children: p.all ? "取消全选" : "全选"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- "aria-expanded": n,- "aria-controls": f,- leadingIcon: n ? Kf : Hf,- "aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,- onClick: () => a(!n),- children: n ? "收起" : "展开"- })- ]- }), /* @__PURE__ */ (0, D.jsx)("div", {- id: f,- hidden: !n,- "data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(XT, {- source: e,- handlers: i,- selected: r.has(e.id),- onToggle: (t) => s(e.id, t)- }, e.id))- })]- });+var _1 = (e) => J$(e, Hq(e), Uq(e)), v1 = $([_1], (e) => e?.dataKey), y1 = $([+ t1,+ RK,+ _1+], Lq), b1 = (e, t, n, r) => {+ var i = t.reduce((e, t) => {+ if (t.stackId == null) return e;+ var n = e[t.stackId];+ return n ??= [], n.push(t), e[t.stackId] = n, e;+ }, {});+ return Object.fromEntries(Object.entries(i).map((t) => {+ var [i, a] = t, o = r ? [...a].reverse() : a;+ return [i, {+ stackedData: dse(e, o.map(Iq), n),+ graphicalItems: o+ }];+ }));+}, x1 = $([+ y1,+ t1,+ iq,+ aq+], b1), S1 = (e, t, n, r) => {+ var { dataStartIndex: i, dataEndIndex: a } = t;+ if (r == null && n !== "zAxis") {+ var o = mse(e, i, a);+ if (o == null || o[0] !== 0 || o[1] !== 0) return o;+ }+}, C1 = $([K$], (e) => e.allowDataOverflow), w1 = (e) => {+ if (e == null || !("domain" in e)) return L$;+ if (e.domain != null) return e.domain;+ if ("ticks" in e && e.ticks != null) {+ if (e.type === "number") {+ var t = f1(e.ticks);+ return [Math.min(...t), Math.max(...t)];+ }+ if (e.type === "category") return e.ticks.map(String);+ }+ return e?.domain ?? L$;+}, T1 = $([K$], w1), E1 = $([T1, C1], HK), D1 = $([+ x1,+ IK,+ Pq,+ E1+], S1, { memoizeOptions: { resultEqualityCheck: zq } }), O1 = (e) => e.errorBars, k1 = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => h1(n, e)), A1 = function() {+ var e = [...arguments].filter(Boolean);+ if (e.length !== 0) {+ var t = e.flat();+ return [Math.min(...t), Math.max(...t)];+ }+}, j1 = (e, t, n, r, i) => {+ var a, o;+ if (n.length > 0 && e.forEach((e) => {+ n.forEach((n) => {+ var s = r[n.id]?.filter((e) => h1(i, e)), c = yV(e, t.dataKey ?? n.dataKey), l = g1(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);+ }+ var f = d1(c);+ 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 = d1(yV(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]));+ }), hV(a) && hV(o)) return [a, o];+}, M1 = $([+ s1,+ K$,+ r1,+ O1,+ Pq+], j1, { memoizeOptions: { resultEqualityCheck: zq } });+function N1(e) {+ var { value: t } = e;+ if (lR(t) || t instanceof Date) return t;+}+var P1 = (e, t, n) => {+ var r = e.map(N1).filter((e) => e != null);+ return n && (t.dataKey == null || t.allowDuplicatedCategory && pR(r)) ? FK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+}, F1 = (e) => e.referenceElements.dots, I1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), L1 = $([+ F1,+ Pq,+ Fq+], I1), R1 = (e) => e.referenceElements.areas, z1 = $([+ R1,+ Pq,+ Fq+], I1), B1 = (e) => e.referenceElements.lines, V1 = $([+ B1,+ Pq,+ Fq+], I1), H1 = (e, t) => {+ if (e != null) {+ var n = f1(e.map((e) => t === "xAxis" ? e.x : e.y));+ if (n.length !== 0) return [Math.min(...n), Math.max(...n)];+ }+}, U1 = $(L1, Pq, H1), W1 = (e, t) => {+ if (e != null) {+ var n = f1(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)];+ }+}, G1 = $([z1, Pq], W1);+function K1(e) {+ if (e.x != null) return f1([e.x]);+ var t = e.segment?.map((e) => e.x);+ return t == null || t.length === 0 ? [] : f1(t);+}+function q1(e) {+ if (e.y != null) return f1([e.y]);+ var t = e.segment?.map((e) => e.y);+ return t == null || t.length === 0 ? [] : f1(t);+}+var J1 = (e, t) => {+ if (e != null) {+ var n = e.flatMap((e) => t === "xAxis" ? K1(e) : q1(e));+ if (n.length !== 0) return [Math.min(...n), Math.max(...n)];+ }+}, Y1 = $(U1, $([V1, Pq], J1), G1, (e, t, n) => A1(e, n, t)), X1 = (e, t, n, r, i, a, o, s) => n ?? UK(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? A1(r, a, i) : A1(a, i), e.allowDataOverflow), Z1 = $([+ K$,+ T1,+ E1,+ D1,+ M1,+ Y1,+ oH,+ Pq+], X1, { memoizeOptions: { resultEqualityCheck: zq } }), Q1 = [0, 1], $1 = (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 = bV(t, a);+ return l && s == null ? FK(0, n?.length ?? 0) : c === "category" ? P1(r, e, l) : i === "expand" ? Q1 : o;+ }+}, e0 = $([+ K$,+ oH,+ s1,+ l1,+ iq,+ Pq,+ Z1+], $1), t0 = $([+ K$,+ Y$,+ oq+], O$), n0 = (e, t, n) => {+ var { niceTicks: r } = t;+ if (r !== "none") {+ var i = w1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && BK(e)) {+ if (a) return QK(e, t.tickCount, t.allowDecimals, r);+ if (t.type === "number") return $K(e, t.tickCount, t.allowDecimals, r);+ }+ if (r === "auto" && n === "linear" && t != null && t.tickCount) {+ if (a && BK(e)) return QK(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && BK(e)) return $K(e, t.tickCount, t.allowDecimals, "adaptive");+ }+ }+}, r0 = $([+ e0,+ J$,+ t0+], n0), i0 = (e, t, n, r) => {+ if (r !== "angleAxis" && e?.type === "number" && BK(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;+}, a0 = $([+ K$,+ e0,+ r0,+ Pq+], i0), o0 = $($(l1, K$, (e, t) => {+ if (!(!t || t.type !== "number")) {+ var n = Infinity, r = Array.from(f1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];+ if (i == null || a == null) return Infinity;+ var o = a - i;+ if (o === 0) return Infinity;+ for (var s = 0; s < r.length - 1; s++) {+ var c = r[s], l = r[s + 1];+ if (c != null && l != null) {+ var u = l - c;+ n = Math.min(n, u);+ }+ }+ return n / o;+ }+}), oH, nq, BV, (e, t, n, r, i) => i, (e, t, n, r, i) => {+ if (!hV(e)) return 0;+ var a = t === "vertical" ? r.height : r.width;+ if (i === "gap") return e * a / 2;+ if (i === "no-gap") {+ var o = fR(n, e * a), s = e * a / 2;+ return s - o - (s - o) / a * o;+ }+ return 0;+}), s0 = (e, t, n) => {+ var r = B$(e, t);+ return r == null || typeof r.padding != "string" ? 0 : o0(e, "xAxis", t, n, r.padding);+}, c0 = (e, t, n) => {+ var r = U$(e, t);+ return r == null || typeof r.padding != "string" ? 0 : o0(e, "yAxis", t, n, r.padding);+}, l0 = $(B$, s0, (e, t) => {+ if (e == null) return {+ left: 0,+ right: 0+ };+ var { padding: n } = e;+ return typeof n == "string" ? {+ left: t,+ right: t+ } : {+ left: (n.left ?? 0) + t,+ right: (n.right ?? 0) + t+ };+}), u0 = $(U$, c0, (e, t) => {+ if (e == null) return {+ top: 0,+ bottom: 0+ };+ var { padding: n } = e;+ return typeof n == "string" ? {+ top: t,+ bottom: t+ } : {+ top: (n.top ?? 0) + t,+ bottom: (n.bottom ?? 0) + t+ };+}), d0 = $([+ BV,+ l0,+ WV,+ UV,+ (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];+}), f0 = $([+ BV,+ oH,+ u0,+ WV,+ UV,+ (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];+}), p0 = (e, t, n, r) => {+ switch (t) {+ case "xAxis": return d0(e, n, r);+ case "yAxis": return f0(e, n, r);+ case "zAxis": return G$(e, n)?.range;+ case "angleAxis": return kq(e);+ case "radiusAxis": return jq(e, n);+ default: return;+ }+}, m0 = $([K$, p0], mq), h0 = $([+ K$,+ t0,+ $([t0, a0], Gq),+ m0+], T$), g0 = (e, t, n, r) => {+ if (n != null && n.dataKey != null) {+ var { type: i, scale: a } = n;+ if (bV(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);+ }+}, _0 = $([+ oH,+ l1,+ J$,+ Pq+], g0), v0 = $([h0], Wq);+$([h0], j$), $([h0, m1], A$), $([+ e1,+ O1,+ Pq+], k1);+function y0(e, t) {+ return e.id < t.id ? -1 : +(e.id > t.id);+}+var b0 = (e, t) => t, x0 = (e, t, n) => n, S0 = $(IV, b0, x0, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(y0)), C0 = $(LV, b0, x0, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(y0)), w0 = (e, t) => ({+ width: e.width,+ height: t.height+}), T0 = (e, t) => ({+ width: typeof t.width == "number" ? t.width : 60,+ height: e.height+}), E0 = $(BV, B$, w0), D0 = (e, t, n) => {+ switch (t) {+ case "top": return e.top;+ case "bottom": return n - e.bottom;+ default: return 0;+ }+}, O0 = (e, t, n) => {+ switch (t) {+ case "left": return e.left;+ case "right": return n - e.right;+ default: return 0;+ }+}, k0 = $(PV, BV, S0, b0, x0, (e, t, n, r, i) => {+ var a = {}, o;+ return n.forEach((n) => {+ var s = w0(t, n);+ o ??= D0(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;+}), A0 = $(NV, BV, C0, b0, x0, (e, t, n, r, i) => {+ var a = {}, o;+ return n.forEach((n) => {+ var s = T0(t, n);+ o ??= O0(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;+}), j0 = $([+ BV,+ B$,+ (e, t) => {+ var n = B$(e, t);+ if (n != null) return k0(e, n.orientation, n.mirror);+ },+ (e, t) => t+], (e, t, n, r) => {+ if (t != null) {+ var i = n?.[r];+ return i == null ? {+ x: e.left,+ y: 0+ } : {+ x: e.left,+ y: i+ };+ }+}), M0 = $([+ BV,+ U$,+ (e, t) => {+ var n = U$(e, t);+ if (n != null) return A0(e, n.orientation, n.mirror);+ },+ (e, t) => t+], (e, t, n, r) => {+ if (t != null) {+ var i = n?.[r];+ return i == null ? {+ x: 0,+ y: e.top+ } : {+ x: i,+ y: e.top+ };+ }+}), N0 = $(BV, U$, (e, t) => ({+ width: typeof t.width == "number" ? t.width : 60,+ height: e.height+})), P0 = (e, t, n) => {+ switch (t) {+ case "xAxis": return E0(e, n).width;+ case "yAxis": return N0(e, n).height;+ default: return;+ }+}, F0 = (e, t, n, r) => {+ if (n != null) {+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = bV(e, r), c = t.map((e) => e.value);+ if (o && s && a === "category" && i && pR(c)) return c;+ }+}, I0 = $([+ oH,+ l1,+ K$,+ Pq+], F0), L0 = $([+ oH,+ q$,+ t0,+ v0,+ I0,+ _0,+ p0,+ r0,+ Pq+], (e, t, n, r, i, a, o, s, c) => {+ if (t != null) {+ var l = bV(e, c);+ return {+ angle: t.angle,+ interval: t.interval,+ minTickGap: t.minTickGap,+ orientation: t.orientation,+ tick: t.tick,+ tickCount: t.tickCount,+ tickFormatter: t.tickFormatter,+ ticks: t.ticks,+ type: t.type,+ unit: t.unit,+ axisType: c,+ categoricalDomain: a,+ duplicateDomain: i,+ isCategorical: l,+ niceTicks: s,+ range: o,+ realScaleType: n,+ scale: r+ };+ }+}), R0 = (e, t, n, r, i, a, o, s, c) => {+ if (t != null && r != null) {+ var l = bV(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 ? oR(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 hV(i) ? {+ index: t,+ coordinate: i + m,+ value: e,+ offset: m+ } : null;+ }).filter(vR) : l && s ? s.map((e, t) => {+ var n = r.map(e);+ return hV(n) ? {+ coordinate: n + m,+ value: e,+ index: t,+ offset: m+ } : null;+ }).filter(vR) : r.ticks ? r.ticks(f).map((e, t) => {+ var n = r.map(e);+ return hV(n) ? {+ coordinate: n + m,+ value: e,+ index: t,+ offset: m+ } : null;+ }).filter(vR) : r.domain().map((e, t) => {+ var n = r.map(e);+ return hV(n) ? {+ coordinate: n + m,+ value: o ? o[e] : e,+ index: t,+ offset: m+ } : null;+ }).filter(vR);+ }+}, z0 = $([+ oH,+ J$,+ t0,+ v0,+ r0,+ p0,+ I0,+ _0,+ Pq+], R0), B0 = (e, t, n, r, i, a, o) => {+ if (t != null && n != null && r != null && r[0] !== r[1]) {+ var s = bV(e, o), { tickCount: c } = t, l = 0;+ return l = o === "angleAxis" && r?.length >= 2 ? oR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ var r = n.map(e);+ return hV(r) ? {+ coordinate: r + l,+ value: e,+ index: t,+ offset: l+ } : null;+ }).filter(vR) : n.ticks ? n.ticks(c).map((e, t) => {+ var r = n.map(e);+ return hV(r) ? {+ coordinate: r + l,+ value: e,+ index: t,+ offset: l+ } : null;+ }).filter(vR) : n.domain().map((e, t) => {+ var r = n.map(e);+ return hV(r) ? {+ coordinate: r + l,+ value: i ? i[e] : e,+ index: t,+ offset: l+ } : null;+ }).filter(vR);+ }+}, V0 = $([+ oH,+ J$,+ v0,+ p0,+ I0,+ _0,+ Pq+], B0), H0 = $(K$, v0, (e, t) => {+ if (e != null && t != null) return N$(N$({}, e), {}, { scale: t });+});+$((e, t, n) => G$(e, n), $([$([+ K$,+ t0,+ e0,+ m0+], T$)], Wq), (e, t) => {+ if (e != null && t != null) return N$(N$({}, e), {}, { scale: t });+});+var U0 = $([+ oH,+ IV,+ LV+], (e, t, n) => {+ switch (e) {+ case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";+ case "vertical": return n.some((e) => e.reversed) ? "bottom-to-top" : "top-to-bottom";+ case "centric":+ case "radial": return "left-to-right";+ default: return;+ }+});+$([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {+ if (!(!e || e.length === 0)) return (t) => {+ var n = Infinity, r = e[0];+ for (var i of e) {+ var a = Math.abs(i.coordinate - t);+ a < n && (n = a, r = i);+ }+ return r?.value;+ };+});+//#endregion+//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js+var W0 = (e) => e.options.defaultTooltipEventType, G0 = (e) => e.options.validateTooltipEventTypes;+function K0(e, t, n) {+ if (e == null) return t;+ var r = e ? "axis" : "item";+ return n == null ? t : n.includes(r) ? r : t;+}+function q0(e, t) {+ return K0(t, W0(e), G0(e));+}+function J0(e) {+ return Q((t) => q0(t, e));+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js+var Y0 = (e, t) => {+ var n, r = Number(t);+ if (!(sR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+}, X0 = (e) => e.tooltip.settings, Z0 = {+ active: !1,+ index: null,+ dataKey: void 0,+ graphicalItemId: void 0,+ coordinate: void 0+}, Q0 = BB({+ name: "tooltip",+ initialState: {+ itemInteraction: {+ click: Z0,+ hover: Z0+ },+ axisInteraction: {+ click: Z0,+ hover: Z0+ },+ keyboardInteraction: Z0,+ syncInteraction: {+ active: !1,+ index: null,+ dataKey: void 0,+ label: void 0,+ coordinate: void 0,+ sourceViewBox: void 0,+ graphicalItemId: void 0+ },+ tooltipItemPayloads: [],+ settings: {+ shared: void 0,+ trigger: "hover",+ axisId: 0,+ active: !1,+ defaultIndex: void 0+ }+ },+ reducers: {+ addTooltipEntrySettings: {+ reducer(e, t) {+ e.tooltipItemPayloads.push(eU(t.payload));+ },+ prepare: IB()+ },+ replaceTooltipEntrySettings: {+ reducer(e, t) {+ var { prev: n, next: r } = t.payload, i = DB(e).tooltipItemPayloads.indexOf(eU(n));+ i > -1 && (e.tooltipItemPayloads[i] = eU(r));+ },+ prepare: IB()+ },+ removeTooltipEntrySettings: {+ reducer(e, t) {+ var n = DB(e).tooltipItemPayloads.indexOf(eU(t.payload));+ n > -1 && e.tooltipItemPayloads.splice(n, 1);+ },+ prepare: IB()+ },+ setTooltipSettingsState(e, t) {+ e.settings = t.payload;+ },+ setActiveMouseOverItemIndex(e, t) {+ e.syncInteraction.active = !1, e.keyboardInteraction.active = !1, e.itemInteraction.hover.active = !0, e.itemInteraction.hover.index = t.payload.activeIndex, e.itemInteraction.hover.dataKey = t.payload.activeDataKey, e.itemInteraction.hover.graphicalItemId = t.payload.activeGraphicalItemId, e.itemInteraction.hover.coordinate = t.payload.activeCoordinate;+ },+ mouseLeaveChart(e) {+ e.itemInteraction.hover.active = !1, e.axisInteraction.hover.active = !1;+ },+ mouseLeaveItem(e) {+ e.itemInteraction.hover.active = !1;+ },+ setActiveClickItemIndex(e, t) {+ e.syncInteraction.active = !1, e.itemInteraction.click.active = !0, e.keyboardInteraction.active = !1, e.itemInteraction.click.index = t.payload.activeIndex, e.itemInteraction.click.dataKey = t.payload.activeDataKey, e.itemInteraction.click.graphicalItemId = t.payload.activeGraphicalItemId, e.itemInteraction.click.coordinate = t.payload.activeCoordinate;+ },+ setMouseOverAxisIndex(e, t) {+ e.syncInteraction.active = !1, e.axisInteraction.hover.active = !0, e.keyboardInteraction.active = !1, e.axisInteraction.hover.index = t.payload.activeIndex, e.axisInteraction.hover.dataKey = t.payload.activeDataKey, e.axisInteraction.hover.coordinate = t.payload.activeCoordinate;+ },+ setMouseClickAxisIndex(e, t) {+ e.syncInteraction.active = !1, e.keyboardInteraction.active = !1, e.axisInteraction.click.active = !0, e.axisInteraction.click.index = t.payload.activeIndex, e.axisInteraction.click.dataKey = t.payload.activeDataKey, e.axisInteraction.click.coordinate = t.payload.activeCoordinate;+ },+ setSyncInteraction(e, t) {+ e.syncInteraction = t.payload;+ },+ setKeyboardInteraction(e, t) {+ e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;+ }+ }+}), { addTooltipEntrySettings: $0, replaceTooltipEntrySettings: e2, removeTooltipEntrySettings: t2, setTooltipSettingsState: $se, setActiveMouseOverItemIndex: n2, mouseLeaveItem: ece, mouseLeaveChart: r2, setActiveClickItemIndex: tce, setMouseOverAxisIndex: i2, setMouseClickAxisIndex: nce, setSyncInteraction: a2, setKeyboardInteraction: o2 } = Q0.actions, rce = Q0.reducer;+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js+function s2(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function QT(e) {- let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), [C, w] = qT(), [T, O] = (0, E.useState)(""), k = (0, E.useMemo)(() => dS(v, n, i, y), [- v,- n,- i,- y- ]), A = (0, E.useMemo)(() => fS(k, n, i, y), [- k,- n,- i,- y- ]), { job: j, running: M, outcome: ee, start: te } = fC({- queryKey: Hx,- queryFn: ({ signal: e }) => yS(e),- start: (e) => SS(e),- onError: (e) => O(q(e)),- onFinish: (e) => {- zS(), g(e.status === "failed" ? e.error || "检查失败" : BS(e));+function c2(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? s2(Object(n), !0).forEach(function(t) {+ ice(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s2(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function ice(e, t, n) {+ return (t = ace(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function ace(e) {+ var t = oce(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function oce(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function sce(e, t, n) {+ return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;+}+function cce(e) {+ return e.index != null;+}+var l2 = (e, t, n, r) => {+ if (t == null) return Z0;+ var i = sce(e, t, n);+ if (i == null) return Z0;+ 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 (cce(i)) {+ if (a) return c2(c2({}, i), {}, { active: !0 });+ } else if (r != null) return {+ active: !0,+ coordinate: void 0,+ dataKey: void 0,+ index: r,+ graphicalItemId: void 0+ };+ return c2(c2({}, Z0), {}, { coordinate: i.coordinate });+};+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js+function lce(e) {+ if (typeof e == "number") return Number.isFinite(e) ? e : void 0;+ if (e instanceof Date) {+ var t = e.valueOf();+ return Number.isFinite(t) ? t : void 0;+ }+ var n = Number(e);+ return Number.isFinite(n) ? n : void 0;+}+function uce(e, t) {+ var n = lce(e), r = t[0], i = t[1];+ return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);+}+function dce(e, t, n) {+ if (n == null || t == null) return !0;+ var r = yV(e, t);+ return r == null || !BK(n) || uce(r, n);+}+var u2 = (e, t, n, r) => {+ var i = e?.index;+ if (i == null) return null;+ var a = Number(i);+ if (!hV(a)) return i;+ var o = 0, s = Infinity;+ t.length > 0 && (s = t.length - 1);+ var c = Math.max(o, Math.min(a, s)), l = t[c];+ return l == null || dce(l, n, r) ? String(c) : null;+}, d2 = (e, t, n, r, i, a, o) => {+ if (a != null) {+ var s = o[0]?.getPosition(a);+ if (s != null) return s;+ var c = i?.[Number(a)];+ if (c) switch (n) {+ case "horizontal": return {+ x: c.coordinate,+ y: (r.top + t) / 2+ };+ default: return {+ x: (r.left + e) / 2,+ y: c.coordinate+ };}- }), N = (e) => {- M || te.isPending || (O(""), te.mutate(e));- }, P = (e, t) => h(gS(l, [e], t)), ne = (e, t) => h(gS(l, e, t)), re = ht({- mutationFn: (e) => TS(e),- onSuccess: (e, t) => {- RS([t]), h(gS(l, [t], !1)), g("已取消关注来源");- },- onError: (e) => O(q(e))- }), F = (e) => void c({- title: "取消关注来源",- body: "将移除这个来源及已抓取的条目,媒体文件保留。",- confirmLabel: "取消关注来源",- danger: !0,- onConfirm: () => re.mutateAsync(e.id)- }), ie = ht({- mutationFn: async (e) => {- let t = await r(e.ids, 4, async (t) => {- e.action === "remove" ? await TS(t) : await wS(t, e.action === "enabled");+ }+}, f2 = (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;+ if (e.syncInteraction.active && i == null) return e.tooltipItemPayloads;+ if (i == null && r != null) {+ var a = e.tooltipItemPayloads[0];+ return a == null ? [] : [a];+ }+ return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);+}, p2 = (e) => e.options.tooltipPayloadSearcher, m2 = (e) => e.tooltip;+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js+function h2(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function g2(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? h2(Object(n), !0).forEach(function(t) {+ fce(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function fce(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 pce(e) {+ var t = mce(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function mce(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function hce(e) {+ if (typeof e == "string" || typeof e == "number") return e;+}+function gce(e) {+ if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;+}+function _ce(e) {+ if (typeof e == "string" || typeof e == "number") return e;+ if (typeof e == "function") return (t) => e(t);+}+function _2(e) {+ if (typeof e == "string") return e;+}+function vce(e) {+ if (!(typeof e != "object" || !e)) return {+ name: "name" in e ? hce(e.name) : void 0,+ unit: "unit" in e ? gce(e.unit) : void 0,+ dataKey: "dataKey" in e ? _ce(e.dataKey) : void 0,+ payload: "payload" in e ? e.payload : void 0,+ color: "color" in e ? _2(e.color) : void 0,+ fill: "fill" in e ? _2(e.fill) : void 0+ };+}+function yce(e, t) {+ return e ?? t;+}+var v2 = (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 = yce(d, s), m = Array.isArray(p) ? mV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? hR(m, r, i) : a(m, t, c, g);+ return Array.isArray(_) ? _.forEach((t) => {+ var n = vce(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g2(g2({}, f), {}, {+ name: r,+ unit: n?.unit,+ color: n?.color ?? f?.color,+ fill: n?.fill ?? f?.fill+ });+ e.push(jV({+ tooltipEntrySettings: o,+ dataKey: i,+ payload: a,+ value: yV(a, i),+ name: r == null ? void 0 : String(r)+ }));+ }) : e.push(jV({+ tooltipEntrySettings: f,+ dataKey: h,+ payload: _,+ value: yV(_, h),+ name: yV(_, g) ?? f?.name+ })), e;+ }, []);+ }+}, y2 = $([+ _1,+ Y$,+ oq+], O$), b2 = $([+ $([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),+ _1,+ $([Hq, Uq], X$)+], $$, { memoizeOptions: { resultEqualityCheck: Bq } }), bce = $([b2], (e) => e.filter(Rq)), x2 = $([$([b2], i1, { memoizeOptions: { resultEqualityCheck: Bq } }), IK], o1), xce = $([+ bce,+ IK,+ _1+], Lq), S2 = $([+ x2,+ _1,+ b2+], c1), C2 = $([_1], w1), w2 = $([C2, $([_1], (e) => e.allowDataOverflow)], HK), Sce = $([+ $([+ xce,+ $([b2], (e) => e.filter(Rq)),+ iq,+ aq+ ], b1),+ IK,+ Hq,+ w2+], S1), Cce = $([+ x2,+ _1,+ $([b2], n1),+ O1,+ Hq+], j1, { memoizeOptions: { resultEqualityCheck: zq } }), wce = $([$([+ F1,+ Hq,+ Uq+], I1), Hq], H1), Tce = $([$([+ R1,+ Hq,+ Uq+], I1), Hq], W1), T2 = $([+ _1,+ oH,+ x2,+ S2,+ iq,+ Hq,+ $([+ _1,+ C2,+ w2,+ Sce,+ Cce,+ $([+ wce,+ $([$([+ B1,+ Hq,+ Uq+ ], I1), Hq], J1),+ Tce+ ], A1),+ oH,+ Hq+ ], X1)+], $1), Ece = $([+ _1,+ T2,+ $([+ T2,+ _1,+ y2+ ], n0),+ Hq+], i0), E2 = (e) => p0(e, Hq(e), Uq(e), !1), D2 = $([_1, E2], mq), O2 = $([$([+ _1,+ y2,+ Ece,+ D2+], T$)], Wq), k2 = $([+ oH,+ _1,+ y2,+ O2,+ E2,+ $([+ oH,+ S2,+ _1,+ Hq+ ], F0),+ $([+ oH,+ S2,+ _1,+ Hq+ ], g0),+ Hq+], (e, t, n, r, i, a, o, s) => {+ if (t) {+ var { type: c } = t, l = bV(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 ? oR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ var n = r.map(e);+ return hV(n) ? {+ coordinate: n + d,+ value: e,+ index: t,+ offset: d+ } : null;+ }).filter(vR) : r.domain().map((e, t) => {+ var n = r.map(e);+ return hV(n) ? {+ coordinate: n + d,+ value: a ? a[e] : e,+ index: t,+ offset: d+ } : null;+ }).filter(vR);+ }+ }+}), A2 = $([+ W0,+ G0,+ X0+], (e, t, n) => K0(n.shared, e, t)), j2 = (e) => e.tooltip.settings.trigger, M2 = (e) => e.tooltip.settings.defaultIndex, N2 = $([+ m2,+ A2,+ j2,+ M2+], l2), P2 = $([+ N2,+ x2,+ v1,+ T2+], u2), F2 = $([k2, P2], Y0), I2 = $([N2], (e) => {+ if (e) return e.dataKey;+}), Dce = $([N2], (e) => {+ if (e) return e.graphicalItemId;+}), L2 = $([+ m2,+ A2,+ j2,+ M2+], f2), Oce = $([N2, $([+ NV,+ PV,+ oH,+ BV,+ k2,+ M2,+ L2+], d2)], (e, t) => e != null && e.coordinate ? e.coordinate : t), kce = $([N2], (e) => e?.active ?? !1), Ace = $([$([+ L2,+ P2,+ IK,+ v1,+ F2,+ p2,+ A2+], v2)], (e) => {+ if (e != null) {+ var t = e.map((e) => e.payload).filter((e) => e != null);+ return Array.from(new Set(t));+ }+});+//#endregion+//#region node_modules/recharts/es6/context/useTooltipAxis.js+function R2(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function z2(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) {+ jce(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R2(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function jce(e, t, n) {+ return (t = Mce(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");+ return typeof t == "symbol" ? t : t + "";+}+function Nce(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var Pce = () => Q(_1), Fce = () => {+ var e = Pce(), t = Q(k2), n = Q(O2);+ return AV(!e || !n ? void 0 : z2(z2({}, e), {}, { scale: n }), t);+};+//#endregion+//#region node_modules/recharts/es6/util/getActiveCoordinate.js+function B2(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function V2(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? B2(Object(n), !0).forEach(function(t) {+ Ice(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 Ice(e, t, n) {+ return (t = Lce(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Lce(e) {+ var t = Rce(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Rce(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var zce = (e, t, n, r) => {+ var i = t.find((e) => e && e.index === n);+ if (i) {+ if (e === "horizontal") return {+ x: i.coordinate,+ y: r.relativeY+ };+ if (e === "vertical") return {+ x: r.relativeX,+ y: i.coordinate+ };+ }+ return {+ x: 0,+ y: 0+ };+}, Bce = (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 V2(V2(V2({}, r), lK(r.cx, r.cy, o, a)), {}, {+ angle: a,+ radius: o});+ }+ var s = i.coordinate, { angle: c } = r;+ return V2(V2(V2({}, r), lK(r.cx, r.cy, s, c)), {}, {+ angle: c,+ radius: s+ });+ }+ return {+ angle: 0,+ clockWise: !1,+ cx: 0,+ cy: 0,+ endAngle: 0,+ innerRadius: 0,+ outerRadius: 0,+ radius: 0,+ startAngle: 0,+ x: 0,+ y: 0+ };+};+function Vce(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 H2 = (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 (oR(c - s) !== oR(l - c)) {+ var d = [];+ if (oR(l - c) === oR(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);+ } else {+ u = s;+ var p = l + i[1] - i[0];+ d[0] = Math.min(c, (p + c) / 2), d[1] = Math.max(c, (p + c) / 2);+ }+ var m = [Math.min(c, (u + c) / 2), Math.max(c, (u + c) / 2)];+ if (e > m[0] && e <= m[1] || e >= d[0] && e <= d[1]) return n[o]?.index;+ } else {+ var h = Math.min(s, l), g = Math.max(s, l);+ if (e > (h + c) / 2 && e <= (g + c) / 2) return n[o]?.index;+ }+ }+ }+ else if (t) for (var _ = 0; _ < a; _++) {+ var v = t[_];+ if (v != null) {+ var y = t[_ + 1], b = t[_ - 1];+ if (_ === 0 && y != null && e <= (v.coordinate + y.coordinate) / 2 || _ === a - 1 && b != null && e > (v.coordinate + b.coordinate) / 2 || _ > 0 && _ < a - 1 && b != null && y != null && e > (v.coordinate + b.coordinate) / 2 && e <= (v.coordinate + y.coordinate) / 2) return v.index;+ }+ }+ return -1;+}, U2 = () => Q(oq), W2 = (e, t) => t, G2 = (e, t, n) => n, K2 = (e, t, n, r) => r, Hce = $(k2, (e) => lz(e, (e) => e.coordinate)), q2 = $([+ m2,+ W2,+ G2,+ K2+], l2), J2 = $([+ q2,+ x2,+ v1,+ T2+], u2), Uce = (e, t, n) => {+ if (t != null) {+ var r = m2(e);+ return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;+ }+}, Y2 = $([+ m2,+ W2,+ G2,+ K2+], f2), X2 = $([+ NV,+ PV,+ oH,+ BV,+ k2,+ K2,+ Y2+], d2), Wce = $([q2, X2], (e, t) => e.coordinate ?? t), Z2 = $([k2, J2], Y0), Gce = $([+ Y2,+ J2,+ IK,+ v1,+ Z2,+ p2,+ W2+], v2), Kce = $([q2, J2], (e, t) => ({+ isActive: e.active && t != null,+ activeIndex: t+})), qce = (e, t, n, r, i, a, o) => {+ if (!(!e || !n || !r || !i) && Vce(e, o)) {+ var s = H2(hse(e, t), a, i, n, r), c = zce(t, i, s, e);+ return {+ activeIndex: String(s),+ activeCoordinate: c+ };+ }+}, Jce = (e, t, n, r, i, a, o) => {+ if (!(!e || !r || !i || !a || !n)) {+ var s = hK(e, n);+ if (s) {+ var c = H2(gse(s, t), o, a, r, i), l = Bce(t, a, c, s);return {- ...e,- done: e.ids.filter((e, n) => t[n]?.ok),- results: t+ activeIndex: String(c),+ activeCoordinate: l};+ }+ }+}, Yce = (e, t, n, r, i, a, o, s) => {+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? qce(e, t, r, i, a, o, s) : Jce(e, t, n, r, i, a, o);+}, Xce = $((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;+ }+}), Zce = $((e) => e.zIndex.zIndexMap, (e) => {+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(dq));+ return Array.from(new Set(t)).sort((e, t) => e - t);+}, { memoizeOptions: { resultEqualityCheck: Vq } });+//#endregion+//#region node_modules/recharts/es6/state/zIndexSlice.js+function Q2(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function $2(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) {+ Qce(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q2(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function Qce(e, t, n) {+ return (t = $ce(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function $ce(e) {+ var t = ele(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function ele(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var tle = { zIndexMap: Object.values(dq).reduce((e, t) => $2($2({}, e), {}, { [t]: {+ element: void 0,+ panoramaElement: void 0,+ consumers: 0+} }), {}) }, nle = new Set(Object.values(dq));+function rle(e) {+ return nle.has(e);+}+var e4 = BB({+ name: "zIndex",+ initialState: tle,+ reducers: {+ registerZIndexPortal: {+ reducer: (e, t) => {+ var { zIndex: n } = t.payload;+ e.zIndexMap[n] ? e.zIndexMap[n].consumers += 1 : e.zIndexMap[n] = {+ consumers: 1,+ element: void 0,+ panoramaElement: void 0+ };+ },+ prepare: IB()},- onSuccess: (e) => {- if (e.action === "remove") RS(e.done);- else for (let t of e.done) LS(t, { enabled: e.action === "enabled" });- h(gS(l, e.done, !1));- let t = e.results.filter((e) => !e.ok);- if (t.length) {- O(`${t.length}/${e.ids.length} 个来源未更新:${q(t[0]?.error)}`);- return;- }- O("");- let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";- g(`已${n} ${e.done.length} 个关注来源`);+ unregisterZIndexPortal: {+ reducer: (e, t) => {+ var { zIndex: n } = t.payload;+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !rle(n) && delete e.zIndexMap[n]);+ },+ prepare: IB()},- onError: (e) => O(q(e))- }), ae = ht({- mutationFn: async (e) => {- let t = ((await jS()).groups || []).flatMap((e) => [- e.primary,- ...e.variants,- ...e.duplicates- ]).filter((e) => e.status === "new").map((e) => e.id);- return {- ids: t,- failed: (await r(t, 6, (t) => AS(t, e))).filter((e) => !e.ok)- };+ registerZIndexPortalElement: {+ reducer: (e, t) => {+ var { zIndex: n, element: r, isPanorama: i } = t.payload;+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = eU(r) : e.zIndexMap[n].element = eU(r) : e.zIndexMap[n] = {+ consumers: 0,+ element: i ? void 0 : eU(r),+ panoramaElement: i ? eU(r) : void 0+ };+ },+ prepare: IB()},- onSuccess: (e) => {- if (zS(), e.failed.length) {- O(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);- return;+ 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: IB()+ }+ }+}), { registerZIndexPortal: ile, unregisterZIndexPortal: ale, registerZIndexPortalElement: ole, unregisterZIndexPortalElement: sle } = e4.actions, cle = e4.reducer;+//#endregion+//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js+function t4(e) {+ var { zIndex: t, children: n } = e, r = Kse() && t !== void 0 && t !== 0, i = HV(), a = tz();+ (0, E.useLayoutEffect)(() => r ? (a(ile({ zIndex: t })), () => {+ a(ale({ zIndex: t }));+ }) : yR, [+ a,+ t,+ r+ ]);+ var o = Q((e) => Xce(e, t, i));+ return r ? o ? /*#__PURE__*/ (0, Zm.createPortal)(n, o) : null : n;+}+//#endregion+//#region node_modules/recharts/es6/component/Cursor.js+function n4() {+ return n4 = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);+ }+ return e;+ }, n4.apply(null, arguments);+}+function r4(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function i4(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? r4(Object(n), !0).forEach(function(t) {+ lle(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r4(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function lle(e, t, n) {+ return (t = ule(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function ule(e) {+ var t = dle(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function dle(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function fle(e) {+ var { cursor: t, cursorComp: n, cursorProps: r } = e;+ return /*#__PURE__*/ (0, E.isValidElement)(t) ? /*#__PURE__*/ (0, E.cloneElement)(t, r) : /*#__PURE__*/ (0, E.createElement)(n, r);+}+function ple(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 = UW, h = dq.cursorLine;+ else if (l === "BarChart") p = WW(o, u, i, a), m = eK, h = dq.cursorRectangle;+ else if (o === "radial" && TR(u)) {+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = gK(u);+ p = {+ cx: g,+ cy: _,+ startAngle: y,+ endAngle: b,+ innerRadius: v,+ outerRadius: v+ }, m = jK, h = dq.cursorLine;+ } else p = { points: MK(o, u, i) }, m = MW, h = dq.cursorLine;+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i4(i4(i4(i4({+ stroke: "#ccc",+ pointerEvents: "none"+ }, i), p), lI(s)), {}, {+ payload: d,+ payloadIndex: f,+ className: Sm("recharts-tooltip-cursor", x)+ });+ return /*#__PURE__*/ E.createElement(t4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ E.createElement(fle, {+ cursor: s,+ cursorComp: m,+ cursorProps: S+ }));+}+function mle(e) {+ var t = Fce(), n = rH(), r = sH(), i = U2();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ E.createElement(ple, n4({}, e, {+ offset: n,+ layout: r,+ tooltipAxisBandSize: t,+ chartName: i+ }));+}+//#endregion+//#region node_modules/recharts/es6/context/tooltipPortalContext.js+var a4 = /*#__PURE__*/ (0, E.createContext)(null), hle = () => (0, E.useContext)(a4), gle = (/* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {+ var n = Object.prototype.hasOwnProperty, r = "~";+ function i() {}+ Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));+ function a(e, t, n) {+ this.fn = e, this.context = t, this.once = n || !1;+ }+ function o(e, t, n, i, o) {+ if (typeof n != "function") throw TypeError("The listener must be a function");+ var s = new a(n, i || e, o), c = r ? r + t : t;+ return e._events[c] ? e._events[c].fn ? e._events[c] = [e._events[c], s] : e._events[c].push(s) : (e._events[c] = s, e._eventsCount++), e;+ }+ function s(e, t) {+ --e._eventsCount === 0 ? e._events = new i() : delete e._events[t];+ }+ function c() {+ this._events = new i(), this._eventsCount = 0;+ }+ c.prototype.eventNames = function() {+ var e = [], t, i;+ if (this._eventsCount === 0) return e;+ for (i in t = this._events) n.call(t, i) && e.push(r ? i.slice(1) : i);+ return Object.getOwnPropertySymbols ? e.concat(Object.getOwnPropertySymbols(t)) : e;+ }, c.prototype.listeners = function(e) {+ var t = r ? r + e : e, n = this._events[t];+ if (!n) return [];+ if (n.fn) return [n.fn];+ for (var i = 0, a = n.length, o = Array(a); i < a; i++) o[i] = n[i].fn;+ return o;+ }, c.prototype.listenerCount = function(e) {+ var t = r ? r + e : e, n = this._events[t];+ return n ? n.fn ? 1 : n.length : 0;+ }, c.prototype.emit = function(e, t, n, i, a, o) {+ var s = r ? r + e : e;+ if (!this._events[s]) return !1;+ var c = this._events[s], l = arguments.length, u, d;+ if (c.fn) {+ switch (c.once && this.removeListener(e, c.fn, void 0, !0), l) {+ case 1: return c.fn.call(c.context), !0;+ case 2: return c.fn.call(c.context, t), !0;+ case 3: return c.fn.call(c.context, t, n), !0;+ case 4: return c.fn.call(c.context, t, n, i), !0;+ case 5: return c.fn.call(c.context, t, n, i, a), !0;+ case 6: return c.fn.call(c.context, t, n, i, a, o), !0;+ }+ for (d = 1, u = Array(l - 1); d < l; d++) u[d - 1] = arguments[d];+ c.fn.apply(c.context, u);+ } else {+ var f = c.length, p;+ for (d = 0; d < f; d++) switch (c[d].once && this.removeListener(e, c[d].fn, void 0, !0), l) {+ case 1:+ c[d].fn.call(c[d].context);+ break;+ case 2:+ c[d].fn.call(c[d].context, t);+ break;+ case 3:+ c[d].fn.call(c[d].context, t, n);+ break;+ case 4:+ c[d].fn.call(c[d].context, t, n, i);+ break;+ default:+ if (!u) for (p = 1, u = Array(l - 1); p < l; p++) u[p - 1] = arguments[p];+ c[d].fn.apply(c[d].context, u);}- O(""), g(`已批量标记 ${e.ids.length} 项`);- },- onError: (e) => O(q(e))- }), oe = (0, E.useRef)({- check: N,- remove: F,- busy: !1,- readOnly: u- });- oe.current = {- check: N,- remove: F,- busy: M || te.isPending,- readOnly: u- };- let se = oe.current, ce = (0, E.useMemo)(() => {- let e = mw(), t = (e) => () => JT[e] || e;- return [- e.display({- id: "select",- header: t("select"),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(rC, {- slot: null,- isSelected: e.row.getIsSelected(),- onChange: (t) => e.row.toggleSelected(t),- "aria-label": `选择 ${e.row.original.source.label}`- })- }),- e.accessor((e) => e.author, {- id: "author",- header: t("author"),- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(MC, {- group: e.row.original.group,- name: e.row.original.author- }), /* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 break-words",- children: e.row.original.author- })]- })- }),- e.accessor((e) => e.source.label, {- id: "source",- header: t("source"),- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, D.jsx)(PC, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)("small", {- className: "text-caption-1-regular text-text-error-primary",- children: e.row.original.source.last_error- }) : null]- })- }),- e.accessor((e) => e.source.provider_label, {- id: "provider",- header: t("provider"),- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(jC, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]- })- }),- e.display({- id: "status",- header: t("status"),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(NC, { source: e.row.original.source })- }),- e.accessor((e) => e.source.last_checked_at || "", {- id: "checked",- header: t("checked"),- cell: (e) => US(e.row.original.source)- }),- e.display({- id: "actions",- header: t("actions"),- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex items-center gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- iconOnly: !0,- leadingIcon: fp,- "aria-label": `检查 ${e.row.original.source.label} 的更新`,- disabled: !e.row.original.source.enabled || se.readOnly,- ...X(se.busy),- onClick: () => oe.current.check([e.row.original.source.id])- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- iconOnly: !0,- leadingIcon: Zf,- "aria-label": `移除 ${e.row.original.source.label}`,- disabled: se.readOnly,- onClick: () => oe.current.remove(e.row.original.source)- })]- })- })- ];- }, [se]), le = (0, E.useMemo)(() => {- let e = GT[n];- return e ? [{- id: e,- desc: i === "desc"- }] : [];- }, [n, i]), ue = (0, E.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), de = o === "table", fe = pS(de ? A.length : k.length, s, a), I = IT({- data: A,- columns: ce,- getRowId: (e) => String(e.source.id),- state: {- sorting: le,- rowSelection: ue,- pagination: {- pageIndex: fe.page - 1,- pageSize: s+ }+ return !0;+ }, c.prototype.on = function(e, t, n) {+ return o(this, e, t, n, !1);+ }, c.prototype.once = function(e, t, n) {+ return o(this, e, t, n, !0);+ }, c.prototype.removeListener = function(e, t, n, i) {+ var a = r ? r + e : e;+ if (!this._events[a]) return this;+ if (!t) return s(this, a), this;+ var o = this._events[a];+ if (o.fn) o.fn === t && (!i || o.once) && (!n || o.context === n) && s(this, a);+ else {+ for (var c = 0, l = [], u = o.length; c < u; c++) (o[c].fn !== t || i && !o[c].once || n && o[c].context !== n) && l.push(o[c]);+ l.length ? this._events[a] = l.length === 1 ? l[0] : l : s(this, a);+ }+ return this;+ }, c.prototype.removeAllListeners = function(e) {+ 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, o4 = new gle(), s4 = "recharts.syncEvent.tooltip", c4 = "recharts.syncEvent.brush", l4 = (e, t) => {+ if (t && Array.isArray(e)) {+ var n = Number.parseInt(t, 10);+ if (!sR(n)) return e[n];+ }+}, u4 = BB({+ name: "options",+ initialState: {+ chartName: "",+ tooltipPayloadSearcher: () => void 0,+ eventEmitter: void 0,+ defaultTooltipEventType: "axis"+ },+ reducers: { createEventEmitter: (e) => {+ e.eventEmitter ??= Symbol("rechartsEventEmitter");+ } }+}), _le = u4.reducer, { createEventEmitter: vle } = u4.actions;+//#endregion+//#region node_modules/recharts/es6/synchronisation/syncSelectors.js+function yle(e) {+ return e.tooltip.syncInteraction;+}+var d4 = BB({+ name: "chartData",+ initialState: {+ chartData: void 0,+ computedData: void 0,+ dataStartIndex: 0,+ dataEndIndex: 0+ },+ reducers: {+ setChartData(e, t) {+ if (e.chartData = eU(t.payload), t.payload == null) {+ e.dataStartIndex = 0, e.dataEndIndex = 0;+ return;}+ t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);},- manualSorting: !0,- enableRowSelection: !0,- onSortingChange: (e) => {- let t = (typeof e == "function" ? e(le) : e)[0];- if (!t) return;- let n = Yx[t.id];- n && d(n, t.desc ? "desc" : "asc");- },- onRowSelectionChange: (e) => {- let t = typeof e == "function" ? e(ue) : e;- h(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));- },- onPaginationChange: (e) => {- let t = {- pageIndex: fe.page - 1,- pageSize: s- }, n = typeof e == "function" ? e(t) : e;- n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);+ setComputedData(e, t) {+ e.computedData = t.payload;},- getCoreRowModel: kT(),- getPaginationRowModel: jT()- }), pe = I.getRowModel().rows, me = de ? pe.map((e) => e.original.source.id) : k.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), he = hS(l, me), ge = [...l], _e = VS(ee), ve = HS(ee), ye = k.length > 0 && x.size >= k.length;- return v.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- padding: "none",- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"- }),- children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- ref: C,- className: "flex flex-wrap items-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "mr-auto text-title-2-medium text-text-primary",- children: "关注列表"- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: `${v.length} 个来源${b.new ? ` · ${b.new} 条未看` : ""}`- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- leadingIcon: fp,- disabled: u,- "aria-label": "检查全部",- iconOnly: w,- ...X(se.busy),- onClick: () => N([]),- children: "检查全部"- }),- /* @__PURE__ */ (0, D.jsxs)("span", {- "data-button-group": !0,- role: "group",- "aria-label": "关注列表版式",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- iconOnly: !0,- leadingIcon: lp,- "aria-label": Kx[0][1],- "aria-pressed": !de,- onClick: () => p("default")- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- iconOnly: !0,- leadingIcon: hp,- "aria-label": Kx[1][1],- "aria-pressed": de,- onClick: () => p("table")- })]- }),- /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "关注列表排序",- selectedKey: n,- onSelectionChange: (e) => {- if (e === null) return;- let t = String(e);- d(t, xx[t]);- },- children: yx.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: t- }, e))- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- iconOnly: !0,- leadingIcon: i === "asc" ? Gf : Vf,- "aria-label": $x(n, i),- onClick: () => d(n, i === "asc" ? "desc" : "asc")- }),- de ? null : /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- iconOnly: w,- leadingIcon: ye ? Hf : Kf,- "aria-label": ye ? "全部展开" : "全部收起",- onClick: () => S(ye ? /* @__PURE__ */ new Set() : new Set(k.map((e) => String(e[0].author_key || e[0].id)))),- children: ye ? "全部展开" : "全部收起"- })- ]- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- "aria-live": "polite",- className: "flex flex-col gap-3 empty:hidden",- children: [- M ? j?.total ? /* @__PURE__ */ (0, D.jsx)(Ch, {- label: j.message || `${j.older ? "抓取历史" : "检查更新"}:已完成 ${j.checked || 0}/${j.total} 个来源`,- value: j.checked || 0,- max: j.total- }) : /* @__PURE__ */ (0, D.jsx)(xh, { label: j?.message || "正在准备检查任务" }) : null,- T ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "操作未完成",- children: T- }) : null,- _e.length ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: `${_e.length} 个来源检查失败`,- extra: /* @__PURE__ */ (0, D.jsx)("ul", {- className: "flex flex-col gap-0.5 text-body-2-regular",- children: _e.map((e, t) => /* @__PURE__ */ (0, D.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))- }),- children: "这些来源这一轮没有取到更新。"- }) : null,- ve ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- children: `候选已入库,但这一次的原始响应没有留档:${ve}`- }) : null- ]- }),- ge.length ? /* @__PURE__ */ (0, D.jsxs)(WT, {- label: "关注来源批量操作",- count: `已选 ${ge.length} 个来源`,- children: [- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: u,- ...X(se.busy),- onClick: () => N(ge),- children: "检查所选"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: u,- ...X(ie.isPending),- onClick: () => ie.mutate({- ids: ge,- action: "enabled"- }),- children: "启用"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: u,- ...X(ie.isPending),- onClick: () => ie.mutate({- ids: ge,- action: "paused"- }),- children: "暂停"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "danger",- size: "small",- disabled: u,- ...X(ie.isPending),- onClick: () => void c({- title: `删除 ${ge.length} 个关注来源`,- body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",- confirmLabel: "删除所选来源",- danger: !0,- onConfirm: () => ie.mutateAsync({- ids: ge,- action: "remove"- })- }),- children: "删除"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- onClick: () => h(/* @__PURE__ */ new Set()),- children: "取消选择"- })- ]- }) : null,- de ? /* @__PURE__ */ (0, D.jsx)(KC, {- follow: !0,- children: /* @__PURE__ */ (0, D.jsxs)(GC, {- "aria-label": "关注来源",- size: "sm",- sortDescriptor: le[0] ? {- column: le[0].id,- direction: le[0].desc ? "descending" : "ascending"- } : void 0,- onSortChange: (e) => I.setSorting([{- id: String(e.column),- desc: e.direction === "descending"- }]),- children: [/* @__PURE__ */ (0, D.jsx)(Ty, { children: I.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in Yx, n = MT(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, D.jsx)(Ay, {- id: e.id,- allowsSorting: t,- isRowHeader: e.column.id === "source",- children: ({ sortDirection: e }) => t ? /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex items-center gap-0.5",- children: [n, /* @__PURE__ */ (0, D.jsx)("span", {- "data-sort-indicator": !0,- "data-direction": e || void 0,- children: /* @__PURE__ */ (0, D.jsx)(RT, {})- })]- }) : /* @__PURE__ */ (0, D.jsx)(ss, { children: n })- }, e.id);- }) }), /* @__PURE__ */ (0, D.jsx)(Py, {- renderEmptyState: () => "这一页没有来源",- children: pe.map((e) => /* @__PURE__ */ (0, D.jsx)(Ry, {- id: e.id,- "data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Vy, { children: MT(e.column.columnDef.cell, e.getContext()) }, e.id))- }, e.id))- })]- })- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: he.all,- isIndeterminate: he.some,- onChange: (e) => ne(me, e),- "aria-label": "全选本页来源",- children: "全选本页"- }), /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col gap-3",- children: k.slice(fe.start, fe.end).map((e) => {- let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, D.jsx)(ZT, {- group: e,- name: sS(e, y),- handlers: se,- selected: l,- open: !x.has(t),- onOpen: (e) => {- let n = new Set(x);- e ? n.delete(t) : n.add(t), S(n);- },- onToggleGroup: (t) => ne(e.map((e) => e.id), t),- onToggle: P- }, t);- })- })] }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center justify-between gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: `${fe.start + 1}–${fe.end} / ${fe.total} ${de ? "个来源" : "位创作者"}`- }),- /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "每页显示数量",- size: "sm",- selectedKey: String(s),- onSelectionChange: (e) => {- e !== null && I.setPageSize(Number(e));- },- children: qx.map((e) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: String(e),- children: `每页 ${e} ${de ? "条" : "位"}`- }, e))- }),- /* @__PURE__ */ (0, D.jsx)(YT, {- page: fe.page,- pages: fe.pages,- onPage: (e) => I.setPageIndex(e - 1)- })- ]- }),- b.new ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- className: "mr-auto text-body-2-regular text-text-secondary",- children: `未看 ${b.new} · 已看 ${b.seen || 0} · 已保存 ${b.saved || 0} · 已忽略 ${b.ignored || 0}`- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- onClick: _,- children: "去看更新"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: u,- ...X(ae.isPending),- onClick: () => void c({- title: "标记已看",- body: "将把当前未看作品标记为已看。",- confirmLabel: "标记已看",- onConfirm: () => ae.mutateAsync("seen")- }),- children: "全部标记已看"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: u,- ...X(ae.isPending),- onClick: () => void c({- title: "标记已忽略",- body: "将把当前未看作品标记为已忽略。",- confirmLabel: "标记已忽略",- onConfirm: () => ae.mutateAsync("ignored")- }),- children: "全部忽略"- })- ]- }) : null- ]- }) : /* @__PURE__ */ (0, D.jsx)(bh, {- shell: "plain",- icon: pp,- title: "还没有关注来源",- children: "关注来源及其检查状态会显示在这里。"- });+ setDataStartEndIndexes(e, t) {+ var { startIndex: n, endIndex: r } = t.payload;+ n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);+ }+ }+}), { setChartData: f4, setDataStartEndIndexes: ble, setComputedData: xle } = d4.actions, Sle = d4.reducer, Cle = ["x", "y"];+function p4(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function m4(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? p4(Object(n), !0).forEach(function(t) {+ wle(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p4(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function wle(e, t, n) {+ return (t = Tle(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Tle(e) {+ var t = Ele(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Ele(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function Dle(e, t) {+ if (e == null) return {};+ var n, r, i = Ole(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 Ole(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function kle() {+ var e = Q(sq), t = Q(lq), n = tz(), r = Q(cq), i = Q(k2), a = sH(), o = nH(), s = Q((e) => e.rootProps.className);+ (0, E.useEffect)(() => {+ if (e == null) return yR;+ 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 = Dle(d, Cle), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m4(m4({}, m), {}, {+ x: o.x + (_ ? (f - h) / _ : 0) * o.width,+ y: o.y + (v ? (p - g) / v : 0) * o.height+ });+ n(m4(m4({}, c), {}, { payload: m4(m4({}, c.payload), {}, { coordinate: y }) }));+ } else n(c);+ return;+ }+ if (i != null) {+ var b;+ typeof r == "function" ? b = i[r(i, {+ activeTooltipIndex: c.payload.index == null ? void 0 : Number(c.payload.index),+ isTooltipActive: c.payload.active,+ activeIndex: c.payload.index == null ? void 0 : Number(c.payload.index),+ activeLabel: c.payload.label,+ activeDataKey: c.payload.dataKey,+ activeCoordinate: c.payload.coordinate+ })] : 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(a2({+ active: !1,+ coordinate: void 0,+ dataKey: void 0,+ index: null,+ label: void 0,+ sourceViewBox: void 0,+ graphicalItemId: void 0+ }));+ return;+ }+ var { x: S, y: C } = x, w = Math.min(S, o.x + o.width), T = Math.min(C, o.y + o.height), E = {+ x: a === "horizontal" ? b.coordinate : w,+ y: a === "horizontal" ? T : b.coordinate+ };+ n(a2({+ active: c.payload.active,+ coordinate: E,+ dataKey: c.payload.dataKey,+ index: String(b.index),+ label: c.payload.label,+ sourceViewBox: c.payload.sourceViewBox,+ graphicalItemId: c.payload.graphicalItemId+ }));+ }+ }+ };+ return o4.on(s4, s), () => {+ o4.off(s4, s);+ };+ }, [+ s,+ n,+ t,+ e,+ r,+ i,+ a,+ o+ ]);}-//#endregion-//#region src/react/follow-manage/follow-manage-page.tsx-var $T = [- ["list", "关注列表"],- ["add", "添加关注"],- ["feeds", "订阅源"],- ["source", "来源和凭证"]-], eE = (e) => $T.some(([t]) => t === e);-function tE({ term: e, figure: t, unit: n }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- padding: "none",- className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"- }),- children: [/* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-medium text-text-secondary",- children: e- }), /* @__PURE__ */ (0, D.jsxs)("b", {- className: "text-title-1-medium tabular-nums text-text-primary",- children: [t, /* @__PURE__ */ (0, D.jsx)("small", {- className: "text-body-2-regular text-text-secondary",- children: ` ${n}`- })]- })]- });+function Ale() {+ var e = Q(sq), t = Q(lq), n = tz();+ (0, E.useEffect)(() => {+ if (e == null) return yR;+ var r = (r, i, a) => {+ t !== a && e === r && n(ble(i));+ };+ return o4.on(c4, r), () => {+ o4.off(c4, r);+ };+ }, [+ n,+ t,+ e+ ]);}-function nE(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, E.useState)(eE(e.tab) ? e.tab : "list"), [u, d] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, E.useState)(() => Cx(e.sort, e.dir).sort), [m, h] = (0, E.useState)(() => Cx(e.sort, e.dir).dir), [g, _] = (0, E.useState)(Xx(e.layout) ? e.layout : "default"), [v, y] = (0, E.useState)(Zx(e.pageSize)), [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), S = mt({- queryKey: Bx,- queryFn: ({ signal: e }) => _S(e)- }), C = mt({- queryKey: Vx,- queryFn: ({ signal: e }) => vS(e)- }), w = S.data || { sources: [] }, T = C.data || {- root: "",- providers: []- }, O = w.sources;+function jle() {+ var e = tz();(0, E.useEffect)(() => {- x((e) => {- let t = mS(e, O);- return t.size === e.size ? e : t;+ e(vle());+ }, [e]), kle(), Ale();+}+function Mle(e, t, n, r, i, a) {+ var o = Q((n) => Uce(n, e, t)), s = Q(Dce), c = Q(lq), l = Q(sq), u = Q(cq), d = Q(yle)?.active, f = nH();+ (0, E.useEffect)(() => {+ if (!d && l != null && c != null) {+ var e = a2({+ active: a,+ coordinate: n,+ dataKey: o,+ index: i,+ label: typeof r == "number" ? String(r) : r,+ sourceViewBox: f,+ graphicalItemId: s+ });+ o4.emit(s4, l, e, c);+ }+ }, [+ d,+ n,+ o,+ s,+ i,+ r,+ c,+ l,+ u,+ a,+ f+ ]);+}+//#endregion+//#region node_modules/recharts/es6/component/Tooltip.js+function h4(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function g4(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) {+ Nle(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));});- }, [O]);- let k = (e) => {- let n = e.sort ?? f, r = e.dir ?? m;- t({- tab: e.tab ?? c,- page: e.page ?? u,- sort: n === "checked" ? "" : n,- dir: r === xx[n] ? "" : r+ }+ return e;+}+function Nle(e, t, n) {+ return (t = Ple(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Ple(e) {+ var t = Fle(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Fle(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function Ile(e) {+ return e.dataKey;+}+function Lle(e, t) {+ return /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ E.createElement(e, t) : /*#__PURE__*/ E.createElement(eW, t);+}+var _4 = [], Rle = {+ allowEscapeViewBox: {+ x: !1,+ y: !1+ },+ animationDuration: 400,+ animationEasing: "ease",+ axisId: 0,+ contentStyle: {},+ cursor: !0,+ filterNull: !0,+ includeHidden: !1,+ isAnimationActive: "auto",+ itemSorter: "name",+ itemStyle: {},+ labelStyle: {},+ offset: 10,+ reverseDirection: {+ x: !1,+ y: !1+ },+ separator: " : ",+ trigger: "hover",+ useTranslate3d: !1,+ wrapperStyle: {}+};+function zle(e) {+ var t = kR(e, Rle), { 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 = tz(), S = typeof v == "number" ? String(v) : v;+ (0, E.useEffect)(() => {+ x($se({+ shared: g,+ trigger: _,+ axisId: b,+ active: n,+ defaultIndex: S+ }));+ }, [+ x,+ g,+ _,+ b,+ n,+ S+ ]);+ var C = nH(), w = _W(), T = J0(g), { activeIndex: D, isActive: O } = Q((e) => Kce(e, T, _, S)) ?? {}, k = Q((e) => Gce(e, T, _, S)), A = Q((e) => Z2(e, T, _, S)), j = Q((e) => Wce(e, T, _, S)), M = k, N = hle(), P = n ?? O ?? !1, [F, I] = fz([M, P]), ee = T === "axis" ? A : void 0;+ Mle(T, _, j, ee, D, P);+ var te = y ?? N;+ if (te == null || C == null || T == null) return null;+ var L = M ?? _4;+ P || (L = _4), s && L.length && (L = $R(L.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Ile));+ var ne = L.length > 0, re = g4(g4({}, t), {}, {+ payload: L,+ label: ee,+ active: P,+ activeIndex: D,+ coordinate: j,+ accessibilityLayer: w+ }), ie = /*#__PURE__*/ E.createElement(gW, {+ allowEscapeViewBox: r,+ animationDuration: i,+ animationEasing: a,+ isAnimationActive: c,+ active: P,+ coordinate: j,+ hasPayload: ne,+ offset: l,+ position: d,+ reverseDirection: f,+ useTranslate3d: p,+ viewBox: C,+ wrapperStyle: m,+ lastBoundingBox: F,+ innerRef: I,+ hasPortalFromProps: !!y+ }, Lle(o, re));+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ (0, Zm.createPortal)(ie, te), P && /*#__PURE__*/ E.createElement(mle, {+ cursor: h,+ tooltipEventType: T,+ coordinate: j,+ payload: L,+ index: D+ }));+}+//#endregion+//#region node_modules/recharts/es6/component/Cell.js+var v4 = (e) => null;+v4.displayName = "Cell";+//#endregion+//#region node_modules/recharts/es6/util/LRUCache.js+function Ble(e, t, n) {+ return (t = Vle(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Vle(e) {+ var t = Hle(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Hle(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var Ule = class {+ constructor(e) {+ Ble(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;+ }+ get(e) {+ var t = this.cache.get(e);+ return t !== void 0 && (this.cache.delete(e), this.cache.set(e, t)), t;+ }+ set(e, t) {+ if (this.cache.has(e)) this.cache.delete(e);+ else if (this.cache.size >= this.maxSize) {+ var n = this.cache.keys().next().value;+ n != null && this.cache.delete(n);+ }+ this.cache.set(e, t);+ }+ clear() {+ this.cache.clear();+ }+ size() {+ return this.cache.size;+ }+};+//#endregion+//#region node_modules/recharts/es6/util/DOMUtils.js+function y4(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function Wle(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? y4(Object(n), !0).forEach(function(t) {+ Gle(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y4(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});- }, A = uS(O), j = O.filter(nS).length, M = O.filter((e) => e.enabled).length, ee = (T.providers || []).filter((e) => e.requirement === "required" && !qS(e)).length;- return /* @__PURE__ */ (0, D.jsxs)(Sh, { children: [- a ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "本机只能浏览",- extra: s ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular",- children: /* @__PURE__ */ (0, D.jsx)("a", {- href: s,- className: "text-text-primary underline underline-offset-2",- children: "前往写入端管理关注"- })- }) : void 0,- children: o- }) : null,- /* @__PURE__ */ (0, D.jsxs)("div", {- className: $S,- "aria-label": "关注概览",- children: [- /* @__PURE__ */ (0, D.jsx)(tE, {- term: "关注创作者",- figure: A.length,- unit: "位"- }),- /* @__PURE__ */ (0, D.jsx)(tE, {- term: "启用来源",- figure: M,- unit: `/ ${O.length}`- }),- /* @__PURE__ */ (0, D.jsx)(tE, {- term: "检查失败",- figure: j,- unit: "个来源"- }),- /* @__PURE__ */ (0, D.jsx)(tE, {- term: "未看更新",- figure: w.counts?.new || 0,- unit: "条"- })- ]- }),- /* @__PURE__ */ (0, D.jsxs)($y, {- selectedKey: c,- onSelectionChange: (e) => {- let t = String(e);- eE(t) && (l(t), k({ tab: t }));- },- className: "flex flex-col gap-6",- children: [- /* @__PURE__ */ (0, D.jsx)(tb, {- "aria-label": "关注管理区域",- className: JS,- children: $T.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(rb, {- id: e,- className: YS,- children: e === "source" && ee ? `${t}(${ee})` : t- }, e))- }),- /* @__PURE__ */ (0, D.jsx)(ib, {- id: "list",- className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(QT, {- data: w,- sort: f,- dir: m,- page: u,- layout: g,- pageSize: v,- selected: b,- readOnly: a,- toast: r,- openFollow: i,- onSort: (e, t) => {- p(e), h(t), d(1), k({- sort: e,- dir: t,- page: 1- });- },- onPage: (e) => {- d(e), k({ page: e });- },- onSelected: x,- onLayout: (e) => {- _(e), d(1), n({ layout: e }), k({ page: 1 });- },- onPageSize: (e) => {- y(e), d(1), n({ pageSize: e }), k({ page: 1 });- }- })- }),- /* @__PURE__ */ (0, D.jsxs)(ib, {- id: "add",- className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, D.jsx)(WC, {- data: w,- credentials: T,- readOnly: a,- toast: r,- openCredentials: () => {- l("source"), k({ tab: "source" });- }- }), /* @__PURE__ */ (0, D.jsx)(ZC, {- groups: w.author_aliases || [],- readOnly: a,- toast: r,- suggestions: w.alias_suggestions || [],- sources: w.sources- })]- }),- /* @__PURE__ */ (0, D.jsx)(ib, {- id: "feeds",- className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(pw, {- readOnly: a,- toast: r- })- }),- /* @__PURE__ */ (0, D.jsx)(ib, {- id: "source",- className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(lw, {- data: T,- readOnly: a,- toast: r- })- })- ]- })- ] });+ }+ return e;+}+function Gle(e, t, n) {+ return (t = Kle(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Kle(e) {+ var t = qle(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function qle(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var b4 = Wle({}, {+ cacheSize: 2e3,+ enableCache: !0+}), x4 = new Ule(b4.cacheSize), Jle = {+ position: "absolute",+ top: "-20000px",+ left: 0,+ padding: 0,+ margin: 0,+ border: "none",+ whiteSpace: "pre"+}, S4 = "recharts_measurement_span";+function Yle(e, t) {+ return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;+}+var C4 = (e, t) => {+ try {+ var n = document.getElementById(S4);+ n || (n = document.createElement("span"), n.setAttribute("id", S4), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Jle, t), n.textContent = `${e}`;+ var r = n.getBoundingClientRect();+ return {+ width: r.width,+ height: r.height+ };+ } catch {+ return {+ width: 0,+ height: 0+ };+ }+}, w4 = function(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};+ if (e == null || sW.isSsr) return {+ width: 0,+ height: 0+ };+ if (!b4.enableCache) return C4(e, t);+ var n = Yle(e, t), r = x4.get(n);+ if (r) return r;+ var i = C4(e, t);+ return x4.set(n, i), i;+}, T4;+function Xle(e, t, n) {+ return (t = Zle(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Zle(e) {+ var t = Qle(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Qle(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var E4 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D4 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, $le = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, eue = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, tue = {+ cm: 96 / 2.54,+ mm: 96 / 25.4,+ pt: 96 / 72,+ pc: 16,+ in: 96,+ Q: 96 / 101.6,+ px: 1+}, nue = [+ "cm",+ "mm",+ "pt",+ "pc",+ "in",+ "Q",+ "px"+];+function rue(e) {+ return nue.includes(e);+}+var O4 = "NaN";+function iue(e, t) {+ return e * tue[t];+}+var k4 = class e {+ static parse(t) {+ var [, n, r] = eue.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, sR(e) && (this.unit = ""), t !== "" && !$le.test(t) && (this.num = NaN, this.unit = ""), rue(t) && (this.num = iue(e, t), this.unit = "px");+ }+ add(t) {+ return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");+ }+ subtract(t) {+ return this.unit === t.unit ? new e(this.num - t.num, this.unit) : new e(NaN, "");+ }+ multiply(t) {+ return this.unit !== "" && t.unit !== "" && this.unit !== t.unit ? new e(NaN, "") : new e(this.num * t.num, this.unit || t.unit);+ }+ divide(t) {+ return this.unit !== "" && t.unit !== "" && this.unit !== t.unit ? new e(NaN, "") : new e(this.num / t.num, this.unit || t.unit);+ }+ toString() {+ return `${this.num}${this.unit}`;+ }+ isNaN() {+ return sR(this.num);+ }+};+T4 = k4, Xle(k4, "NaN", new T4(NaN, ""));+function A4(e) {+ if (e == null || e.includes(O4)) return O4;+ for (var t = e; t.includes("*") || t.includes("/");) {+ var [, n, r, i] = E4.exec(t) ?? [], a = k4.parse(n ?? ""), o = k4.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);+ if (s.isNaN()) return O4;+ t = t.replace(E4, s.toString());+ }+ for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {+ var [, c, l, u] = D4.exec(t) ?? [], d = k4.parse(c ?? ""), f = k4.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);+ if (p.isNaN()) return O4;+ t = t.replace(D4, p.toString());+ }+ return t;}-//#endregion-//#region src/react/library-processing/library-processing.ts-var rE = "/api/library-processing", iE = ["library-processing"], aE = (e) => uh(rE, e);-async function oE(e) {- await Th.fetchQuery({- queryKey: iE,- queryFn: () => aE(e)- });+var j4 = /\(([^()]*)\)/;+function aue(e) {+ for (var t = e, n; (n = j4.exec(t)) != null;) {+ var [, r] = n;+ t = t.replace(j4, A4(r));+ }+ return t;}-var sE = 2e3, cE = 1e4, lE = "连接中断,正在重新读取处理进度";-function uE(e, t) {- return e?.status === "running" ? sE : t ? cE : !1;+function oue(e) {+ var t = e.replace(/\s+/g, "");+ return t = aue(t), t = A4(t), t;}-var dE = {- reading_local: "读取本地资料",- querying_metadata: "查询外部资料",- fetching_cover: "采集缺失封面",- writing_candidates: "保存资料候选"-}, fE = {- querying_metadata: "没有资料",- fetching_cover: "没有封面"-};-function pE(e) {- let t = Object.entries(e).filter(([e, t]) => fE[e] && t > 0).map(([e, t]) => `${fE[e]} ${t} 部`);- return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";+function sue(e) {+ try {+ return oue(e);+ } catch {+ return O4;+ }+}+function M4(e) {+ var t = sue(e.slice(5, -1));+ return t === O4 ? "" : t;+}+//#endregion+//#region node_modules/recharts/es6/component/Text.js+var cue = [+ "x",+ "y",+ "lineHeight",+ "capHeight",+ "fill",+ "scaleToFit",+ "textAnchor",+ "verticalAnchor"+], lue = [+ "dx",+ "dy",+ "angle",+ "className",+ "breakAll"+];+function N4() {+ return N4 = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);+ }+ return e;+ }, N4.apply(null, arguments);}-function mE(e) {- let t = dE[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 P4(e, t) {+ if (e == null) return {};+ var n, r, i = uue(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 hE(e) {- let t = e.issue_preview || [];- return t.length ? {- label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,- items: t.map((e, t) => ({- key: `${e.asset_id ?? "source"}-${t}`,- label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),- href: e.asset_id ? `/item/${e.asset_id}` : "",- note: e.message,- hint: e.path || ""- })),- log: e.issues_log || ""- } : null;+function uue(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-var gE = "peach.library-processing.announced", _E = 120;-function vE(e, t, n) {- if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < _E;- if (!(!n && !r)) {- try {- if (e.job_id && localStorage.getItem(gE) === e.job_id) return;- e.job_id && localStorage.setItem(gE, e.job_id);- } catch {}- t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);+var F4 = /[ \f\n\r\t\v\u2028\u2029]+/, I4 = (e) => {+ var { children: t, breakAll: n, style: r } = e;+ try {+ var i = [];+ return gR(t) || (i = n ? t.toString().split("") : t.toString().split(F4)), {+ wordsWithComputedWidth: i.map((e) => ({+ word: e,+ width: w4(e, r).width+ })),+ spaceWidth: n ? 0 : w4("\xA0", r).width+ };+ } catch {+ return null;}+};+function L4(e) {+ return e === "start" || e === "middle" || e === "end" || e === "inherit";+}+function due(e) {+ return gR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}+var R4 = (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 {+ var c = {+ words: [a],+ width: o+ };+ e.push(c);+ }+ return e;+}, []), z4 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), fue = "…", B4 = (e, t, n, r, i, a, o, s) => {+ var c = I4({+ breakAll: n,+ style: r,+ children: e.slice(0, t) + fue+ });+ if (!c) return [!1, []];+ var l = R4(c.wordsWithComputedWidth, a, o, s);+ return [l.length > i || z4(l).width > Number(a), l];+}, pue = (e, t, n, r, i) => {+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R4(t, r, n, i);+ if (!l || i || !(d.length > a || z4(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] = B4(u, g - 1, c, s, a, r, n, i), [y] = B4(u, g, c, s, a, r, n, i);+ if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {+ h = v;+ break;+ }+ m++;+ }+ return h || d;+}, V4 = (e) => [{+ words: gR(e) ? [] : e.toString().split(F4),+ width: void 0+}], mue = (e) => {+ var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;+ if ((t || n) && !sW.isSsr) {+ var s, c, l = I4({+ breakAll: a,+ children: r,+ style: i+ });+ if (l) {+ var { wordsWithComputedWidth: u, spaceWidth: d } = l;+ s = u, c = d;+ } else return V4(r);+ return pue({+ breakAll: a,+ children: r,+ maxLines: o,+ style: i+ }, s, c, t, !!n);+ }+ return V4(r);+}, H4 = "#808080", hue = {+ angle: 0,+ breakAll: !1,+ capHeight: "0.71em",+ fill: H4,+ lineHeight: "1em",+ scaleToFit: !1,+ textAnchor: "start",+ verticalAnchor: "end",+ x: 0,+ y: 0+}, U4 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = kR(e, hue), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P4(n, cue), f = (0, E.useMemo)(() => mue({+ breakAll: d.breakAll,+ children: d.children,+ maxLines: d.maxLines,+ scaleToFit: c,+ style: d.style,+ width: d.width+ }), [+ d.breakAll,+ d.children,+ d.maxLines,+ c,+ d.style,+ d.width+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P4(d, lue);+ if (!lR(r) || !lR(i) || f.length === 0) return null;+ var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);+ if (!hV(y) || !hV(b)) return null;+ var x;+ switch (u) {+ case "start":+ x = M4(`calc(${o})`);+ break;+ case "middle":+ x = M4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);+ break;+ default: x = M4(`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__*/ E.createElement("text", N4({}, uI(v), {+ ref: t,+ x: y,+ y: b,+ className: Sm("recharts-text", g),+ textAnchor: l,+ fill: s.includes("url") ? H4 : s+ }), f.map((e, t) => {+ var n = e.words.join(_ ? "" : " ");+ return /*#__PURE__*/ E.createElement("tspan", {+ x: y,+ dy: t === 0 ? x : a,+ key: `${n}-${t}`+ }, n);+ }));+});+U4.displayName = "Text";//#endregion-//#region src/react/media-repair/media-repair.ts-var yE = "/api/media-repair", bE = ["media-repair"], xE = ["media-repair", "libraries"], SE = {- status: "idle",- library: "",- stage: "",- checked: 0,- total: 0,- found: 0,- repaired: 0,- failed: 0,- missing_tool: 0,- skipped: 0,- message: ""-}, CE = (e) => uh(yE, e), wE = async (e) => (await uh("/api/libraries", e)).libraries || [];-async function TE(e) {- await Promise.all([Th.fetchQuery({- queryKey: bE,- queryFn: () => CE(e)- }), Th.fetchQuery({- queryKey: xE,- queryFn: () => wE(e)- })]);+//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js+function W4(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-var EE = (e) => Number(e).toLocaleString();-function DE(e) {- if (e.status === "running") {- let t = e.total ? `${EE(e.checked)} / ${EE(e.total)}` : "准备中";- return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;+function G4(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? W4(Object(n), !0).forEach(function(t) {+ gue(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W4(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${EE(e.repaired)} 部,${EE(e.failed)} 部修不了` : `修好 ${EE(e.repaired)} 部` : "";+ return e;}-var OE = (e) => `${EE(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`;-({- 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 kE = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", AE = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", jE = (e) => o[e] || e, ME = (e) => Th.setQueryData(bE, e);-function NE() {- let e = mt({- queryKey: bE,- queryFn: ({ signal: e }) => CE(e),- refetchInterval: (e) => e.state.data?.status === "running" && lC- }), t = mt({- queryKey: xE,- queryFn: ({ signal: e }) => wE(e)- }), [n, r] = (0, E.useState)(""), i = wh(), a = e.data ?? SE, o = t.data ?? [], s = a.status === "running", l = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], u = () => {- l && c({- title: `修复媒体库「${l.name}」`,- body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),- confirmLabel: "修复媒体库",- onConfirm: async () => ME(await J(yE, {- library: l.id,- restart: !0- }))+function gue(e, t, n) {+ return (t = _ue(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function _ue(e) {+ var t = vue(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function vue(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var yue = (e) => {+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = tH(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,+ y: s - _,+ horizontalAnchor: "middle",+ verticalAnchor: v+ };+ return a && w && (T.height = Math.max(s - w.y, 0), T.width = l), T;+ }+ if (n === "bottom") {+ var E = {+ x: f + u / 2,+ y: s + c + _,+ horizontalAnchor: "middle",+ verticalAnchor: y+ };+ return a && w && (E.height = Math.max(w.y + w.height - (s + c), 0), E.width = u), E;+ }+ if (n === "left") {+ var D = {+ x: p - x,+ y: s + c / 2,+ horizontalAnchor: S,+ verticalAnchor: "middle"+ };+ return a && w && (D.width = Math.max(D.x - w.x, 0), D.height = c), D;+ }+ if (n === "right") {+ var O = {+ x: p + m + x,+ y: s + c / 2,+ horizontalAnchor: C,+ verticalAnchor: "middle"+ };+ return a && w && (O.width = Math.max(w.x + w.width - O.x, 0), O.height = c), O;+ }+ var k = a && w ? {+ width: m,+ height: c+ } : {};+ return n === "insideLeft" ? G4({+ x: p + x,+ y: s + c / 2,+ horizontalAnchor: C,+ verticalAnchor: "middle"+ }, k) : n === "insideRight" ? G4({+ x: p + m - x,+ y: s + c / 2,+ horizontalAnchor: S,+ verticalAnchor: "middle"+ }, k) : n === "insideTop" ? G4({+ x: d + l / 2,+ y: s + _,+ horizontalAnchor: "middle",+ verticalAnchor: y+ }, k) : n === "insideBottom" ? G4({+ x: f + u / 2,+ y: s + c - _,+ horizontalAnchor: "middle",+ verticalAnchor: v+ }, k) : n === "insideTopLeft" ? G4({+ x: d + x,+ y: s + _,+ horizontalAnchor: C,+ verticalAnchor: y+ }, k) : n === "insideTopRight" ? G4({+ x: d + l - x,+ y: s + _,+ horizontalAnchor: S,+ verticalAnchor: y+ }, k) : n === "insideBottomLeft" ? G4({+ x: f + x,+ y: s + c - _,+ horizontalAnchor: C,+ verticalAnchor: v+ }, k) : n === "insideBottomRight" ? G4({+ x: f + u - x,+ y: s + c - _,+ horizontalAnchor: S,+ verticalAnchor: v+ }, k) : n && typeof n == "object" && (Z(n.x) || cR(n.x)) && (Z(n.y) || cR(n.y)) ? G4({+ x: o + fR(n.x, m),+ y: s + fR(n.y, c),+ horizontalAnchor: "end",+ verticalAnchor: "end"+ }, k) : G4({+ x: h,+ y: s + c / 2,+ horizontalAnchor: "middle",+ verticalAnchor: "middle"+ }, k);+}, bue = ["labelRef"], xue = ["content"];+function K4(e, t) {+ if (e == null) return {};+ var n, r, i = Sue(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 Sue(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function q4(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+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) {+ Cue(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));});- }, d = () => void i.run("stop", (e) => J(yE, { stop: !0 }, "POST", e), ME), f = DE(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)("section", {- "aria-label": "媒体修复",- "data-geist-fieldset": !0,- "data-cleanup-task": !0,- "data-cleanup-processing": !0,- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- "data-geist-fieldset-content": !0,- children: [- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "媒体修复"- }),- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: AE- }),- s && a.total ? /* @__PURE__ */ (0, D.jsx)(Ch, {- label: "修复进度",- value: a.checked,- max: a.total- }) : null,- f ? /* @__PURE__ */ (0, D.jsx)("p", {- role: "status",- className: "text-caption-1-regular text-text-secondary",- children: f- }) : null- ]- }), /* @__PURE__ */ (0, D.jsxs)("footer", {- "data-geist-fieldset-footer": !0,- children: [/* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "媒体库",- className: "w-48",- selectedKey: l?.id ?? null,- isDisabled: s || !o.length,- onSelectionChange: (e) => {- e !== null && r(String(e));- },- children: o.map((e) => /* @__PURE__ */ (0, D.jsxs)(UT, {- id: e.id,- textValue: e.name,- children: [/* @__PURE__ */ (0, D.jsx)(AC, { mark: jE(e.icon) }), e.name]- }, e.id))- }), s ? /* @__PURE__ */ (0, D.jsx)(K, {- onClick: d,- ...X(i.busy === "stop"),- children: "停止"- }) : /* @__PURE__ */ (0, D.jsx)(K, {- onClick: u,- disabled: !l,- children: "开始修复"- })]- })]- }), /* @__PURE__ */ (0, D.jsxs)("div", {- "aria-live": "polite",- className: "flex flex-col gap-4 empty:hidden",- children: [- p && !a.repaired && !a.failed ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "info",- title: "没有要修的",- children: "这个库里的片子都能直接播。"- }) : null,- p && a.missing_tool ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "缺少 untrunc",- children: OE(a)- }) : null,- m ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: m- }) : null- ]- })]- });+ }+ return e;}-//#endregion-//#region src/react/library-processing/use-library-processing.ts-function PE({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = mt({- queryKey: iE,- queryFn: ({ signal: e }) => aE(e),- refetchInterval: (e) => uE(e.state.data, r)- }), [a, o] = (0, E.useState)(null), s = (0, E.useRef)(void 0), c = i.data;- return (0, E.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") && vE(c, e, r);- }, [- c,+function Cue(e, t, n) {+ return (t = wue(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function wue(e) {+ var t = Tue(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Tue(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function Y4() {+ return Y4 = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);+ }+ return e;+ }, Y4.apply(null, arguments);+}+var X4 = /*#__PURE__*/ (0, E.createContext)(null), Z4 = (e) => {+ var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, E.useMemo)(() => ({+ x: t,+ y: n,+ upperWidth: r,+ lowerWidth: i,+ width: a,+ height: o+ }), [t,- e- ]), {- job: i,- settled: a,- forget: () => o(null)+ n,+ r,+ i,+ a,+ o+ ]);+ return /*#__PURE__*/ E.createElement(X4.Provider, { value: c }, s);+}, Q4 = () => {+ var e = (0, E.useContext)(X4), t = nH();+ return e || (t ? tH(t) : void 0);+}, Eue = /*#__PURE__*/ (0, E.createContext)(null), Due = () => {+ var e = (0, E.useContext)(Eue), t = Q(Nq);+ return e || t;+}, Oue = (e) => {+ var { value: t, formatter: n } = e, r = gR(e.children) ? t : e.children;+ return typeof n == "function" ? n(r) : r;+}, $4 = (e) => e != null && typeof e == "function", kue = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 360), Aue = (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 = kue(d, f), g = h >= 0 ? 1 : -1, _, v;+ switch (t) {+ case "insideStart":+ _ = d + g * a, v = p;+ break;+ case "insideEnd":+ _ = f - g * a, v = !p;+ break;+ case "end":+ _ = f + g * a, v = p;+ break;+ default: throw Error(`Unsupported position ${t}`);+ }+ v = h <= 0 ? v : !v;+ var y = lK(s, c, m, _), b = lK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}+ A${m},${m},0,1,${+!v},+ ${b.x},${b.y}`, S = gR(e.id) ? dR("recharts-radial-line-") : e.id;+ return /*#__PURE__*/ E.createElement("text", Y4({}, r, {+ dominantBaseline: "central",+ className: Sm("recharts-radial-bar-label", o)+ }), /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("path", {+ id: S,+ d: x+ })), /*#__PURE__*/ E.createElement("textPath", { xlinkHref: `#${S}` }, n));+}, jue = (e, t, n) => {+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;+ if (n === "outside") {+ var { x: u, y: d } = lK(r, i, o + t, l);+ return {+ x: u,+ y: d,+ textAnchor: u >= r ? "start" : "end",+ verticalAnchor: "middle"+ };+ }+ if (n === "center") return {+ x: r,+ y: i,+ textAnchor: "middle",+ verticalAnchor: "middle"+ };+ if (n === "centerTop") return {+ x: r,+ y: i,+ textAnchor: "middle",+ verticalAnchor: "start"+ };+ if (n === "centerBottom") return {+ x: r,+ y: i,+ textAnchor: "middle",+ verticalAnchor: "end"+ };+ var { x: f, y: p } = lK(r, i, (a + o) / 2, l);+ return {+ x: f,+ y: p,+ textAnchor: "middle",+ verticalAnchor: "middle"+ };+}, e3 = (e) => e != null && "cx" in e && Z(e.cx), Mue = {+ angle: 0,+ offset: 5,+ zIndex: dq.label,+ position: "middle",+ textBreakAll: !1+};+function Nue(e) {+ if (!e3(e)) return e;+ var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;+ return {+ x: t - r,+ y: n - r,+ width: i,+ upperWidth: i,+ lowerWidth: i,+ height: i+ };+}+function t3(e) {+ var t = kR(e, Mue), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = Due(), f = Q4(), p = n == null ? i === "center" ? f : d ?? f : e3(n) ? n : tH(n), m, h, g = Nue(p);+ if (!p || gR(a) && gR(o) && !/*#__PURE__*/ (0, E.isValidElement)(s) && typeof s != "function") return null;+ var _ = J4(J4({}, t), {}, { viewBox: p });+ if (/*#__PURE__*/ (0, E.isValidElement)(s)) {+ var { labelRef: v } = _, y = K4(_, bue);+ return /*#__PURE__*/ (0, E.cloneElement)(s, y);+ }+ if (typeof s == "function") {+ var { content: b } = _, x = K4(_, xue);+ if (m = /*#__PURE__*/ (0, E.createElement)(s, x), /*#__PURE__*/ (0, E.isValidElement)(m)) return m;+ } else m = Oue(t);+ var S = uI(t);+ if (e3(p)) {+ if (i === "insideStart" || i === "insideEnd" || i === "end") return Aue(t, i, m, S, p);+ h = jue(p, t.offset, t.position);+ } else {+ if (!g) return null;+ var C = yue({+ viewBox: g,+ position: i,+ offset: t.offset,+ parentViewBox: e3(r) ? void 0 : r,+ clamp: !0+ });+ h = J4(J4({+ 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__*/ E.createElement(t4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(U4, Y4({+ ref: u,+ className: Sm("recharts-label", c)+ }, S, h, {+ textAnchor: L4(S.textAnchor) ? S.textAnchor : h.textAnchor,+ breakAll: l+ }), m));+}+t3.displayName = "Label";+var Pue = (e, t, n) => {+ if (!e) return null;+ var r = {+ viewBox: t,+ labelRef: n};+ return e === !0 ? /*#__PURE__*/ E.createElement(t3, Y4({ key: "label-implicit" }, r)) : lR(e) ? /*#__PURE__*/ E.createElement(t3, Y4({+ key: "label-implicit",+ value: e+ }, r)) : /*#__PURE__*/ (0, E.isValidElement)(e) ? e.type === t3 ? /*#__PURE__*/ (0, E.cloneElement)(e, J4({ key: "label-implicit" }, r)) : /*#__PURE__*/ E.createElement(t3, Y4({+ key: "label-implicit",+ content: e+ }, r)) : $4(e) ? /*#__PURE__*/ E.createElement(t3, Y4({+ key: "label-implicit",+ content: e+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ E.createElement(t3, Y4({}, e, { key: "label-implicit" }, r)) : null;+};+function n3(e) {+ var { label: t, labelRef: n } = e;+ return Pue(t, Q4(), n) || null;+}+//#endregion+//#region node_modules/recharts/es6/component/LabelList.js+var Fue = ["valueAccessor"], Iue = [+ "dataKey",+ "clockWise",+ "id",+ "textBreakAll",+ "zIndex"+];+function r3() {+ return r3 = 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;+ }, r3.apply(null, arguments);+}+function i3(e, t) {+ if (e == null) return {};+ var n, r, i = Lue(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 Lue(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var Rue = (e) => {+ var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;+ if (due(t)) return t;+}, a3 = /*#__PURE__*/ (0, E.createContext)(void 0), o3 = a3.Provider, s3 = /*#__PURE__*/ (0, E.createContext)(void 0), zue = s3.Provider;+function Bue() {+ return (0, E.useContext)(a3);+}+function Vue() {+ return (0, E.useContext)(s3);+}+function c3(e) {+ var { valueAccessor: t = Rue } = e, n = i3(e, Fue), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = i3(n, Iue), l = Bue(), u = Vue(), d = l || u;+ return !d || !d.length ? null : /*#__PURE__*/ E.createElement(t4, { zIndex: s ?? dq.label }, /*#__PURE__*/ E.createElement(xI, { className: "recharts-label-list" }, d.map((e, i) => {+ var s = gR(r) ? t(e, i) : yV(e.payload, r), l = gR(a) ? {} : { id: `${a}-${i}` };+ return /*#__PURE__*/ E.createElement(t3, r3({ key: `label-${i}` }, uI(e), c, l, {+ fill: n.fill ?? e.fill,+ parentViewBox: e.parentViewBox,+ value: s,+ textBreakAll: o,+ viewBox: e.viewBox,+ index: i,+ zIndex: 0+ }));+ })));+}+c3.displayName = "LabelList";+function l3(e) {+ var { label: t } = e;+ return t ? t === !0 ? /*#__PURE__*/ E.createElement(c3, { key: "labelList-implicit" }) : /*#__PURE__*/ E.isValidElement(t) || $4(t) ? /*#__PURE__*/ E.createElement(c3, {+ key: "labelList-implicit",+ content: t+ }) : typeof t == "object" ? /*#__PURE__*/ E.createElement(c3, r3({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;+}+//#endregion+//#region node_modules/recharts/es6/shape/Polygon.js+var Hue = [+ "points",+ "className",+ "baseLinePoints",+ "connectNulls"+], Uue;+function u3() {+ return u3 = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);+ }+ return e;+ }, u3.apply(null, arguments);+}+function Wue(e, t) {+ if (e == null) return {};+ 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 Gue(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}+function Kue(e, t) {+ return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));+}+var d3 = (e) => e != null && e.x === +e.x && e.y === +e.y, que = function() {+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];+ e.forEach((e) => {+ var n = t[t.length - 1];+ d3(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);+ });+ var n = e[0], r = t[t.length - 1];+ d3(n) && r && r.push(n);+ var i = t[t.length - 1];+ return i && i.length <= 0 && (t = t.slice(0, -1)), t;+}, f3 = (e, t) => {+ var n = que(e);+ t && (n = [n.reduce((e, t) => [...e, ...t], [])]);+ var r = n.map((e) => e.reduce((e, t, n) => aR(Uue ||= Kue([+ "",+ "",+ "",+ ",",+ ""+ ]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");+ return n.length === 1 ? `${r}Z` : r;+}, Jue = (e, t, n) => {+ var r = f3(e, n);+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${f3(Array.from(t).reverse(), n).slice(1)}`;+}, Yue = (e) => {+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Wue(e, Hue);+ if (!t || !t.length) return null;+ var o = Sm("recharts-polygon", n);+ if (r && r.length) {+ var s = a.stroke && a.stroke !== "none", c = Jue(t, r, i);+ return /*#__PURE__*/ E.createElement("g", { className: o }, /*#__PURE__*/ E.createElement("path", u3({}, uI(a), {+ fill: c.slice(-1) === "Z" ? a.fill : "none",+ stroke: "none",+ d: c+ })), s ? /*#__PURE__*/ E.createElement("path", u3({}, uI(a), {+ fill: "none",+ d: f3(t, i)+ })) : null, s ? /*#__PURE__*/ E.createElement("path", u3({}, uI(a), {+ fill: "none",+ d: f3(r, i)+ })) : null);+ }+ var l = f3(t, i);+ return /*#__PURE__*/ E.createElement("path", u3({}, uI(a), {+ fill: l.slice(-1) === "Z" ? a.fill : "none",+ className: o,+ d: l+ }));+};//#endregion-//#region src/react/library-processing/library-processing-card.tsx-var FE = [- {- label: "扫描并补全资料",- icon: U,- command: {}- },- {- label: "只扫描",- icon: rp,- command: { stage: "scan" }+//#region node_modules/recharts/es6/shape/Dot.js+function p3() {+ return p3 = 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;+ }, p3.apply(null, arguments);+}+var m3 = (e) => {+ var { cx: t, cy: n, r, className: i } = e, a = Sm("recharts-dot", i);+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ E.createElement("circle", p3({}, cI(e), ER(e), {+ className: a,+ cx: t,+ cy: n,+ r+ })) : null;+}, h3 = (e) => e.graphicalItems.polarItems, g3 = $([+ h3,+ K$,+ $([Pq, Fq], X$)+], $$), _3 = $([$([g3], i1), LK], o1), v3 = $([+ _3,+ K$,+ g3+], c1);+$([+ _3,+ K$,+ g3+], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({+ value: yV(e, t.dataKey ?? n.dataKey),+ errorDomain: []+}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({+ value: e,+ errorDomain: []+})) : e.map((e) => ({+ value: yV(e, t.dataKey),+ errorDomain: []+})));+var y3 = () => void 0, b3 = $([+ K$,+ oH,+ _3,+ v3,+ iq,+ Pq,+ $([+ K$,+ T1,+ E1,+ y3,+ $([+ _3,+ K$,+ g3,+ O1,+ Pq+ ], j1),+ y3,+ oH,+ Pq+ ], X1)+], $1), x3 = $([+ b3,+ J$,+ t0+], n0), Xue = $([t0, $([+ K$,+ b3,+ x3,+ Pq+], i0)], Gq), S3 = (e, t, n) => {+ switch (t) {+ case "angleAxis": return Cq(e, n);+ case "radiusAxis": return wq(e, n);+ default: throw Error(`Unexpected axis type: ${t}`);+ }+}, C3 = (e, t, n) => {+ switch (t) {+ case "angleAxis": return Aq(e, n);+ case "radiusAxis": return Mq(e, n);+ default: throw Error(`Unexpected axis type: ${t}`);+ }+}, w3 = $([$([+ S3,+ t0,+ Xue,+ C3+], T$)], Wq), T3 = $([+ oH,+ v3,+ J$,+ Pq+], g0), E3 = $([+ oH,+ S3,+ t0,+ w3,+ x3,+ C3,+ I0,+ T3,+ Pq+], R0), Zue = $([E3], (e) => {+ if (e) {+ var t = /* @__PURE__ */ new Map();+ return e.forEach((e) => {+ var n = (e.coordinate + 360) % 360;+ t.has(n) || t.set(n, e);+ }), Array.from(t.values());+ }+}), Que = $([+ oH,+ S3,+ w3,+ C3,+ I0,+ T3,+ Pq+], B0), D3 = BB({+ name: "polarAxis",+ initialState: {+ radiusAxis: {},+ angleAxis: {}},- {- label: "只采集",- icon: np,- command: { stage: "collect" }+ reducers: {+ addRadiusAxis(e, t) {+ e.radiusAxis[t.payload.id] = eU(t.payload);+ },+ removeRadiusAxis(e, t) {+ delete e.radiusAxis[t.payload.id];+ },+ addAngleAxis(e, t) {+ e.angleAxis[t.payload.id] = eU(t.payload);+ },+ removeAngleAxis(e, t) {+ delete e.angleAxis[t.payload.id];+ }}-], IE = nh(sC, cC, "text-body-2-medium"), LE = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", RE = (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(",")}。`;-}, zE = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + RE(e);-function BE({ busy: e, onRun: t }) {- let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), a = (n) => {- e || (i(!1), t(n));- };- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {- "data-button-group": !0,- "data-split-button": !0,- "data-variant": "primary",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- leadingIcon: U,- onClick: () => a({}),- ...X(e),- children: "扫描并补全资料"- }), /* @__PURE__ */ (0, D.jsx)(K, {- ref: n,- iconOnly: !0,- leadingIcon: Hf,- "aria-label": "更多扫描与采集方式",- "aria-haspopup": "dialog",- "aria-expanded": r,- ...X(e),- onClick: () => {- e || i(!0);- }- })]- }), /* @__PURE__ */ (0, D.jsx)(hv, {- triggerRef: n,- isOpen: r,- onOpenChange: i,- placement: "bottom end",- offset: 4,- className: iC,- children: /* @__PURE__ */ (0, D.jsx)(yv, {- "aria-label": "更多扫描与采集方式",- className: "flex w-52 flex-col gap-1 outline-none",- children: FE.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, D.jsxs)("button", {- type: "button",- className: IE,- onClick: () => a(n),- children: [/* @__PURE__ */ (0, D.jsx)(t, {- "aria-hidden": !0,- className: "size-4 shrink-0"- }), e]- }, e))- })- })] });-}-function VE({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = hE(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = pE(e.notes || {}), c = Mb();- return /* @__PURE__ */ (0, D.jsxs)("div", {- "aria-live": "polite",- className: "flex flex-col gap-4 empty:hidden",- children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "处理较慢",- children: LE- }) : null,- t || e.status === "failed" ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- action: o ? /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- size: "small",- onClick: r,- children: "重试未完成项"- }) : null,- extra: a ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "mt-1.5 border-t border-current/20 pt-1.5",- children: /* @__PURE__ */ (0, D.jsxs)(OC, {- summary: a.label,- children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: "relative",- children: /* @__PURE__ */ (0, D.jsx)("ul", {- ref: c,- className: "max-h-96 overflow-y-auto pr-3",- children: a.items.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {- className: "flex flex-col gap-0.5 border-b border-current/15 py-2 first:pt-1 last:border-b-0 last:pb-1",- children: [- e.href ? /* @__PURE__ */ (0, D.jsx)("a", {- href: e.href,- className: "text-body-2-medium underline-offset-4 hover:underline",- children: e.label- }) : /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-medium",- children: e.label- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-caption-1-regular",- children: e.note- }),- e.hint ? /* @__PURE__ */ (0, D.jsx)("code", {- className: "text-caption-1-regular break-all",- children: e.hint- }) : null- ]- }, e.key))- })- }), a.log ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(ew, {- path: a.log,- prefix: "完整记录:",- className: "text-caption-1-regular",- onRevealed: i- })- }) : null]- })- }) : null,- children: t || e.error || "处理未完成,请重试"- }) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "success",- title: "处理完成",- children: zE(n)- }) : null,- e.status !== "running" && s ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "neutral",- extra: e.issues_log ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(ew, {- path: e.issues_log,- prefix: "完整记录:",- className: "text-caption-1-regular",- onRevealed: i- })- }) : null,- children: s- }) : null- ]- });+}), { addRadiusAxis: $ue, removeRadiusAxis: ede, addAngleAxis: tde, removeAngleAxis: nde } = D3.actions, rde = D3.reducer;+//#endregion+//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js+function O3(e) {+ return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";}-function HE(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = PE(e), o = ht({- mutationFn: (e) => J(rE, e),- onSuccess: (e) => {- a(), Th.setQueryData(iE, e), Th.invalidateQueries({ queryKey: iE });+//#endregion+//#region node_modules/recharts/es6/polar/PolarAngleAxis.js+var ide = ["children", "type"], ade = ["ref"];+function k3() {+ return k3 = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}+ return e;+ }, k3.apply(null, arguments);+}+function A3(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function j3(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? A3(Object(n), !0).forEach(function(t) {+ ode(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function ode(e, t, n) {+ return (t = sde(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function sde(e) {+ var t = cde(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function cde(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function M3(e, t) {+ if (e == null) return {};+ var n, r, i = lde(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 lde(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var N3 = 1e-5, ude = Math.cos(sK(45)), dde = "angleAxis";+function fde(e) {+ var t = tz(), n = Gse(), r = (0, E.useMemo)(() => {+ var { children: t, type: r } = e, i = M3(e, ide), a = hq(n, "angleAxis", r);+ if (a != null) return j3(j3({}, i), {}, { type: a });+ }, [e, n]), i = r === Q((e) => Cq(e, r?.id));+ return (0, E.useEffect)(() => r == null ? yR : (t(tde(r)), () => {+ t(nde(r));+ }), [t, r]), i ? e.children : null;+}+var pde = (e, t) => {+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = lK(n, r, i, e.coordinate), l = lK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);+ return {+ x1: c.x,+ y1: c.y,+ x2: l.x,+ y2: l.y+ };+}, mde = (e, t) => {+ var n = Math.cos(sK(-e.coordinate));+ return n > N3 ? t === "outer" ? "start" : "end" : n < -N3 ? t === "outer" ? "end" : "start" : "middle";+}, hde = (e) => {+ var t = Math.cos(sK(-e.coordinate)), n = Math.sin(sK(-e.coordinate));+ return Math.abs(t) <= ude ? n > 0 ? "start" : "end" : "middle";+}, gde = (e) => {+ var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;+ if (!a) return null;+ var s = j3(j3({}, cI(e)), {}, { fill: "none" }, cI(a));+ if (i === "circle") return /*#__PURE__*/ E.createElement(m3, k3({ className: "recharts-polar-angle-axis-line" }, s, {+ cx: t,+ cy: n,+ r+ }));+ var c = o.map((e) => lK(t, n, r, e.coordinate));+ return /*#__PURE__*/ E.createElement(Yue, k3({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+}, _de = (e) => {+ var { tick: t, tickProps: n, value: r } = e;+ return t ? /*#__PURE__*/ E.isValidElement(t) ? /*#__PURE__*/ E.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ E.createElement(U4, k3({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;+}, vde = (e) => {+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = cI(e), { ref: s } = o, c = M3(o, ade), l = lI(t), u = j3(j3({}, c), {}, { fill: "none" }, cI(n)), d = a.map((a, o) => {+ var s = pde(a, e), d = mde(a, e.orientation), f = hde(a), p = j3(j3(j3({}, c), {}, {+ textAnchor: d,+ verticalAnchor: f,+ stroke: "none",+ fill: i+ }, l), {}, {+ index: o,+ payload: a,+ x: s.x2,+ y: s.y2+ });+ return /*#__PURE__*/ E.createElement(xI, k3({+ className: Sm("recharts-polar-angle-axis-tick", O3(t)),+ key: `tick-${a.coordinate}`+ }, DR(e, a, o)), n && /*#__PURE__*/ E.createElement("line", k3({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ E.createElement(_de, {+ tick: t,+ tickProps: p,+ value: r ? r(a.value, o) : a.value+ }));});- (0, E.useEffect)(() => {- i && n?.();- }, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? q(o.error) : r.isError ? r.data ? lE : q(r.error) : "", l = o.isPending || s.status === "running", u = mE(s), d = (e) => {- l || (o.reset(), o.mutate(e));+ return /*#__PURE__*/ E.createElement(xI, { className: "recharts-polar-angle-axis-ticks" }, d);+}, yde = (e) => {+ var { angleAxisId: t } = e, n = Q(Nq), r = Q((e) => w3(e, "angleAxis", t)), i = HV(), a = Q((e) => Zue(e, "angleAxis", t, i));+ if (n == null || !a || !a.length || r == null) return null;+ var o = j3(j3(j3({}, e), {}, { scale: r }, n), {}, {+ radius: n.outerRadius,+ ticks: a+ });+ return /*#__PURE__*/ E.createElement(t4, { zIndex: o.zIndex }, /*#__PURE__*/ E.createElement(xI, { className: Sm("recharts-polar-angle-axis", dde, o.className) }, /*#__PURE__*/ E.createElement(gde, o), /*#__PURE__*/ E.createElement(vde, o)));+};+function P3(e) {+ var t = kR(e, fq);+ return /*#__PURE__*/ E.createElement(fde, {+ id: t.angleAxisId,+ scale: t.scale,+ type: t.type,+ dataKey: t.dataKey,+ unit: void 0,+ name: t.name,+ allowDuplicatedCategory: !1,+ allowDataOverflow: !1,+ reversed: t.reversed,+ includeHidden: !1,+ allowDecimals: t.allowDecimals,+ tickCount: t.tickCount,+ niceTicks: t.niceTicks ?? "auto",+ ticks: t.ticks,+ tick: t.tick,+ domain: t.domain+ }, /*#__PURE__*/ E.createElement(yde, t));+}+P3.displayName = "PolarAngleAxis";+//#endregion+//#region node_modules/react-is/cjs/react-is.production.js+var bde = /* @__PURE__ */ _(((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) {+ var m = e.$$typeof;+ switch (m) {+ case t: switch (e = e.type, e) {+ case r:+ case a:+ case i:+ case l:+ case u:+ case p: return e;+ default: switch (e &&= e.$$typeof, e) {+ case s:+ case c:+ case f:+ case d: return e;+ case o: return e;+ default: return m;+ }+ }+ case n: return m;+ }+ }+ }+ e.isFragment = function(e) {+ return m(e) === r;};- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)("section", {- "aria-label": "扫描与采集",- "data-geist-fieldset": !0,- "data-cleanup-task": !0,- "data-cleanup-processing": !0,- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- "data-geist-fieldset-content": !0,- children: [- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "扫描与采集"- }),- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: kE- }),- s.status === "running" ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col gap-1.5",- children: s.total ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Ch, {- label: u,- value: s.checked || 0,- max: s.total- }), /* @__PURE__ */ (0, D.jsxs)("p", {- className: "text-caption-1-regular text-text-secondary",- children: [- u,- " · ",- s.checked || 0,- " / ",- s.total,- " 个视频"- ]- })] }) : /* @__PURE__ */ (0, D.jsx)(xh, { label: u })- }) : null- ]- }), /* @__PURE__ */ (0, D.jsxs)("footer", {- "data-geist-fieldset-footer": !0,- children: [- /* @__PURE__ */ (0, D.jsx)(_C, {- href: "/scraping",- size: "small",- trailingIcon: Uf,- children: "来源和凭证"- }),- s.candidates ? /* @__PURE__ */ (0, D.jsx)(_C, {- href: "/review",- size: "small",- trailingIcon: Uf,- children: "复核资料"- }) : null,- /* @__PURE__ */ (0, D.jsx)(BE, {- busy: l,- onRun: d- })- ]- })]- }), /* @__PURE__ */ (0, D.jsx)(VE, {- state: s,- problem: c,- settled: i,- onRetry: () => {- !s.job_id || !s.retryable_asset_ids?.length || d({- job_id: s.job_id,- retry: s.retryable_asset_ids- });- },- toast: t- })]+})), xde = (/* @__PURE__ */ _(((e, t) => {+ t.exports = bde();+})))(), F3 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", I3 = null, L3 = null, R3 = (e) => {+ if (e === I3 && Array.isArray(L3)) return L3;+ var t = [];+ return E.Children.forEach(e, (e) => {+ gR(e) || ((0, xde.isFragment)(e) ? t = t.concat(R3(e.props.children)) : t.push(e));+ }), L3 = t, I3 = e, t;+};+function z3(e, t) {+ var n = [], r = [];+ return r = Array.isArray(t) ? t.map((e) => F3(e)) : [F3(t)], R3(e).forEach((e) => {+ var t = tR(e, "type.displayName") || tR(e, "type.name");+ t && r.indexOf(t) !== -1 && n.push(e);+ }), n;+}+var B3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs+function Sde(e) {+ if (typeof e != "object" || !e) return !1;+ if (Object.getPrototypeOf(e) === null) return !0;+ if (Object.prototype.toString.call(e) !== "[object Object]") {+ let t = e[Symbol.toStringTag];+ return t == null || !Object.getOwnPropertyDescriptor(e, Symbol.toStringTag)?.writable ? !1 : e.toString() === `[object ${t}]`;+ }+ let t = e;+ for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);+ return Object.getPrototypeOf(e) === t;+}+//#endregion+//#region node_modules/recharts/es6/shape/Trapezoid.js+var Cde, wde, Tde, Ede, Dde;+function V3(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function H3(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? V3(Object(n), !0).forEach(function(t) {+ Ode(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V3(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function Ode(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 kde(e) {+ var t = Ade(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Ade(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function U3() {+ return U3 = Object.assign ? Object.assign.bind() : function(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t];+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);+ }+ return e;+ }, U3.apply(null, arguments);+}+function W3(e, t) {+ return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));+}+var G3 = (e, t, n, r, i) => {+ var a = n - r, o = aR(Cde ||= W3([+ "M ",+ ",",+ ""+ ]), e, t);+ return o += aR(wde ||= W3([+ "L ",+ ",",+ ""+ ]), e + n, t), o += aR(Tde ||= W3([+ "L ",+ ",",+ ""+ ]), e + n - a / 2, t + i), o += aR(Ede ||= W3([+ "L ",+ ",",+ ""+ ]), e + n - a / 2 - r, t + i), o += aR(Dde ||= W3([+ "L ",+ ",",+ " Z"+ ]), e, t), o;+}, jde = {+ x: 0,+ y: 0,+ upperWidth: 0,+ lowerWidth: 0,+ height: 0,+ isUpdateAnimationActive: !1,+ animationBegin: 0,+ animationDuration: 1500,+ animationEasing: "ease"+}, Mde = (e) => {+ var t = kR(e, jde), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, E.useRef)(null), [p, m] = (0, E.useState)(-1), h = (0, E.useRef)(i), g = (0, E.useRef)(a), _ = (0, E.useRef)(o), v = (0, E.useRef)(n), y = (0, E.useRef)(r), b = AG(e, "trapezoid-");+ if ((0, E.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 = Sm("recharts-trapezoid", s);+ if (!d) return /*#__PURE__*/ E.createElement("g", null, /*#__PURE__*/ E.createElement("path", U3({}, uI(t), {+ className: x,+ d: G3(n, r, i, a, o)+ })));+ var S = h.current, C = g.current, w = _.current, T = v.current, D = y.current, O = `0px ${p === -1 ? 1 : p}px`, k = `${p}px ${p}px`, A = ZW(["strokeDasharray"], l, c);+ return /*#__PURE__*/ E.createElement(kG, {+ animationId: b,+ key: b,+ canBegin: p > 0,+ duration: l,+ easing: c,+ isActive: d,+ begin: u+ }, (e) => {+ var s = mR(S, i, e), c = mR(C, a, e), l = mR(w, o, e), u = mR(T, n, e), d = mR(D, r, e);+ f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);+ var p = e > 0 ? {+ transition: A,+ strokeDasharray: k+ } : { strokeDasharray: O };+ return /*#__PURE__*/ E.createElement("path", U3({}, uI(t), {+ className: x,+ d: G3(u, d, s, c, l),+ ref: f,+ style: H3(H3({}, p), t.style)+ }));});+}, Nde = [+ "option",+ "shapeType",+ "activeClassName",+ "inActiveClassName"+];+function Pde(e, t) {+ if (e == null) return {};+ 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 Fde(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function K3(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function q3(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? K3(Object(n), !0).forEach(function(t) {+ Ide(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K3(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function Ide(e, t, n) {+ return (t = Lde(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Lde(e) {+ var t = Rde(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Rde(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function zde(e, t) {+ return q3(q3({}, t), e);+}+function Bde(e, t) {+ return e === "symbols";+}+function J3(e) {+ var { shapeType: t, elementProps: n } = e;+ switch (t) {+ case "rectangle": return /*#__PURE__*/ E.createElement(eK, n);+ case "trapezoid": return /*#__PURE__*/ E.createElement(Mde, n);+ case "sector": return /*#__PURE__*/ E.createElement(jK, n);+ case "symbols":+ if (Bde(t, n)) return /*#__PURE__*/ E.createElement(wR, n);+ break;+ case "curve": return /*#__PURE__*/ E.createElement(MW, n);+ default: return null;+ }+}+function Vde(e) {+ return /*#__PURE__*/ (0, E.isValidElement)(e) ? e.props : e;+}+function Y3(e) {+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Pde(e, Nde), o;+ if (/*#__PURE__*/ (0, E.isValidElement)(t)) o = /*#__PURE__*/ (0, E.cloneElement)(t, q3(q3({}, a), Vde(t)));+ else if (typeof t == "function") o = t(a, a.index);+ else if (Sde(t) && typeof t != "boolean") {+ var s = zde(t, a);+ o = /*#__PURE__*/ E.createElement(J3, {+ shapeType: n,+ elementProps: s+ });+ } else {+ var c = a;+ o = /*#__PURE__*/ E.createElement(J3, {+ shapeType: n,+ elementProps: c+ });+ }+ return a.isActive ? /*#__PURE__*/ E.createElement(xI, { className: r }, o) : /*#__PURE__*/ E.createElement(xI, { className: i }, o);}//#endregion-//#region src/react/library-processing/library-processing-notice.tsx-var UE = "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", WE = {- gray: `${UE} border-separator-border bg-background-secondary-default text-text-secondary`,- warning: `${UE} border-current/35 bg-status-yellow-background text-status-yellow-text`,- error: `${UE} border-current/35 bg-background-tertiary-error text-text-error-primary`+//#region node_modules/recharts/es6/context/tooltipContext.js+var X3 = (e, t, n) => {+ var r = tz();+ return (i, a) => (o) => {+ e?.(i, a, o), r(n2({+ activeIndex: String(a),+ activeDataKey: t,+ activeCoordinate: i.tooltipPosition,+ activeGraphicalItemId: n+ }));+ };+}, Z3 = (e) => {+ var t = tz();+ return (n, r) => (i) => {+ e?.(n, r, i), t(ece());+ };+}, Q3 = (e, t, n) => {+ var r = tz();+ return (i, a) => (o) => {+ e?.(i, a, o), r(tce({+ activeIndex: String(a),+ activeDataKey: t,+ activeCoordinate: i.tooltipPosition,+ activeGraphicalItemId: n+ }));+ };};-function GE({ value: e, max: t }) {- let n = Math.max(0, Math.min(100, e / t * 100));- return /* @__PURE__ */ (0, D.jsxs)("svg", {- role: "progressbar",- "aria-label": "任务完成率",- "aria-valuemin": 0,- "aria-valuemax": 100,- "aria-valuenow": n,- viewBox: "0 0 32 32",- fill: "none",- className: "size-8 shrink-0 -rotate-90 stroke-current",- children: [/* @__PURE__ */ (0, D.jsx)("circle", {- cx: "16",- cy: "16",- r: "13",- strokeWidth: "4",- className: "opacity-25"- }), /* @__PURE__ */ (0, D.jsx)("circle", {- cx: "16",- cy: "16",- r: "13",- strokeWidth: "4",- pathLength: 100,- strokeDasharray: `${n} 100`,- strokeLinecap: "round"- })]- });-}-function KE(e) {- let { job: t } = PE(e), n = t.data, r = t.isError ? n ? lE : q(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 ? "扫描与资料采集未完成" : mE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? sp : Qf;- return /* @__PURE__ */ (0, D.jsxs)("aside", {- role: a ? "alert" : "status",- className: WE[s],- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 items-center gap-3",- children: [o && l ? /* @__PURE__ */ (0, D.jsx)(GE, {- value: c,- max: l- }) : /* @__PURE__ */ (0, D.jsx)(d, {- "aria-hidden": !0,- className: "size-4 shrink-0"- }), /* @__PURE__ */ (0, D.jsx)("p", {- className: "min-w-0 text-body-2-regular",- children: u- })]- }), /* @__PURE__ */ (0, D.jsx)(_C, {- href: "/data-cleanup#libraryProcessing",- size: "small",- trailingIcon: Uf,- children: r || a ? "查看并处理" : "查看进度"- })]- });+//#endregion+//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js+function $3(e) {+ var { tooltipEntrySettings: t } = e, n = tz(), r = HV(), i = (0, E.useRef)(null);+ return (0, E.useLayoutEffect)(() => {+ r || (i.current === null ? n($0(t)) : i.current !== t && n(e2({+ prev: i.current,+ next: t+ })), i.current = t);+ }, [+ t,+ n,+ r+ ]), (0, E.useLayoutEffect)(() => () => {+ i.current &&= (n(t2(i.current)), null);+ }, [n]), null;+}+//#endregion+//#region node_modules/recharts/es6/state/SetLegendPayload.js+function e6(e) {+ var { legendPayload: t } = e, n = tz(), r = HV(), i = (0, E.useRef)(null);+ return (0, E.useLayoutEffect)(() => {+ r || (i.current === null ? n(iU(t)) : i.current !== t && n(aU({+ prev: i.current,+ next: t+ })), i.current = t);+ }, [+ n,+ r,+ t+ ]), (0, E.useLayoutEffect)(() => () => {+ i.current &&= (n(oU(i.current)), null);+ }, [n]), null;+}+function Hde(e) {+ var { legendPayload: t } = e, n = tz(), r = Q(oH), i = (0, E.useRef)(null);+ return (0, E.useLayoutEffect)(() => {+ (r === "centric" || r === "radial") && (i.current === null ? n(iU(t)) : i.current !== t && n(aU({+ prev: i.current,+ next: t+ })), i.current = t);+ }, [+ n,+ r,+ t+ ]), (0, E.useLayoutEffect)(() => () => {+ i.current &&= (n(oU(i.current)), null);+ }, [n]), null;}//#endregion-//#region src/react/quality-goals/quality-goals.ts-var qE = "/api/quality-goals?limit=200", JE = ["quality-goals"], YE = (e) => uh(qE, e);-async function XE(e) {- await Th.fetchQuery({- queryKey: JE,- queryFn: () => YE(e)- });+//#region node_modules/recharts/es6/util/useId.js+var Ude = E.useId ?? (() => {+ var [e] = E.useState(() => dR("uid-"));+ return e;+});+//#endregion+//#region node_modules/recharts/es6/util/useUniqueId.js+function Wde(e, t) {+ var n = Ude();+ return t || (e ? `${e}-${n}` : n);+}+//#endregion+//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js+var Gde = /*#__PURE__*/ (0, E.createContext)(void 0), t6 = (e) => {+ var { id: t, type: n, children: r } = e, i = Wde(`recharts-${n}`, t);+ return /*#__PURE__*/ E.createElement(Gde.Provider, { value: i }, r(i));+}, n6 = BB({+ name: "graphicalItems",+ initialState: {+ cartesianItems: [],+ polarItems: []+ },+ reducers: {+ addCartesianGraphicalItem: {+ reducer(e, t) {+ e.cartesianItems.push(eU(t.payload));+ },+ prepare: IB()+ },+ replaceCartesianGraphicalItem: {+ reducer(e, t) {+ var { prev: n, next: r } = t.payload, i = DB(e).cartesianItems.indexOf(eU(n));+ i > -1 && (e.cartesianItems[i] = eU(r));+ },+ prepare: IB()+ },+ removeCartesianGraphicalItem: {+ reducer(e, t) {+ var n = DB(e).cartesianItems.indexOf(eU(t.payload));+ n > -1 && e.cartesianItems.splice(n, 1);+ },+ prepare: IB()+ },+ addPolarGraphicalItem: {+ reducer(e, t) {+ e.polarItems.push(eU(t.payload));+ },+ prepare: IB()+ },+ removePolarGraphicalItem: {+ reducer(e, t) {+ var n = DB(e).polarItems.indexOf(eU(t.payload));+ n > -1 && e.polarItems.splice(n, 1);+ },+ prepare: IB()+ },+ replacePolarGraphicalItem: {+ reducer(e, t) {+ var { prev: n, next: r } = t.payload, i = DB(e).polarItems.indexOf(eU(n));+ i > -1 && (e.polarItems[i] = eU(r));+ },+ prepare: IB()+ }+ }+}), { addCartesianGraphicalItem: Kde, replaceCartesianGraphicalItem: qde, removeCartesianGraphicalItem: Jde, addPolarGraphicalItem: Yde, removePolarGraphicalItem: Xde, replacePolarGraphicalItem: Zde } = n6.actions, Qde = n6.reducer, r6 = /*#__PURE__*/ (0, E.memo)((e) => {+ var t = tz(), n = (0, E.useRef)(null);+ return (0, E.useLayoutEffect)(() => {+ n.current === null ? t(Kde(e)) : n.current !== e && t(qde({+ prev: n.current,+ next: e+ })), n.current = e;+ }, [t, e]), (0, E.useLayoutEffect)(() => () => {+ n.current &&= (t(Jde(n.current)), null);+ }, [t]), null;+}), $de = /*#__PURE__*/ (0, E.memo)((e) => {+ var t = tz(), n = (0, E.useRef)(null);+ return (0, E.useLayoutEffect)(() => {+ n.current === null ? t(Yde(e)) : n.current !== e && t(Zde({+ prev: n.current,+ next: e+ })), n.current = e;+ }, [t, e]), (0, E.useLayoutEffect)(() => () => {+ n.current &&= (t(Xde(n.current)), null);+ }, [t]), null;+}), efe = ["points"];+function i6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function a6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? i6(Object(n), !0).forEach(function(t) {+ tfe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i6(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function tfe(e, t, n) {+ return (t = nfe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function nfe(e) {+ var t = rfe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function rfe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function o6() {+ return o6 = 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;+ }, o6.apply(null, arguments);+}+function ife(e, t) {+ if (e == null) return {};+ var n, r, i = afe(e, t);+ if (Object.getOwnPropertySymbols) {+ var a = Object.getOwnPropertySymbols(e);+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);+ }+ return i;+}+function afe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function ofe(e) {+ var { option: t, dotProps: n, className: r } = e;+ if (/*#__PURE__*/ (0, E.isValidElement)(t)) return /*#__PURE__*/ (0, E.cloneElement)(t, n);+ if (typeof t == "function") return t(n);+ var i = Sm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = ife(a, efe);+ return /*#__PURE__*/ E.createElement(m3, o6({}, s, { className: i }));+}+function sfe(e, t) {+ return e == null ? !1 : t ? !0 : e.length === 1;+}+function s6(e) {+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = dq.scatter } = e;+ if (!sfe(t, n)) return null;+ var u = B3(n), d = dI(n), f = t.map((e, r) => {+ var s = a6(a6(a6({ r: 3 }, o), d), {}, {+ index: r,+ cx: e.x ?? void 0,+ cy: e.y ?? void 0,+ dataKey: a,+ value: e.value,+ payload: e.payload,+ points: t+ });+ return /*#__PURE__*/ E.createElement(ofe, {+ key: `dot-${r}`,+ option: n,+ dotProps: s,+ className: i+ });+ }), p = {};+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ E.createElement(t4, { zIndex: l }, /*#__PURE__*/ E.createElement(xI, o6({ className: r }, p), f));}-var ZE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;//#endregion-//#region src/react/quality-goals/quality-goals-page.tsx-function QE({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {- let c = () => i(r.id);- return /* @__PURE__ */ (0, D.jsxs)("li", {- "data-goal-id": r.id,- className: vh({- padding: "none",- bordered: "soft",- className: "flex flex-col gap-3 p-3"- }),- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)("button", {- type: "button",- onClick: c,- "aria-label": `打开 ${o(r)}`,- className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- className: "text-caption-1-regular text-text-secondary",- children: "暂无预览"- }), /* @__PURE__ */ (0, D.jsx)("img", {- src: ZE(r),- alt: "",- loading: "lazy",- onError: (e) => e.currentTarget.remove(),- className: "absolute inset-0 size-full object-contain"- })]- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-col gap-1.5",- children: [- /* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-headline-medium text-text-primary",- children: /* @__PURE__ */ (0, D.jsx)("button", {- type: "button",- "data-middle-truncate": !0,- onClick: c,- className: "block w-full cursor-pointer text-left",- dangerouslySetInnerHTML: { __html: a(r) }- })- }),- /* @__PURE__ */ (0, D.jsxs)("p", {- className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- className: "contents",- dangerouslySetInnerHTML: { __html: s(r.location, r.cost) }- }),- /* @__PURE__ */ (0, D.jsx)("span", { children: e[r.location] ?? r.location }),- /* @__PURE__ */ (0, D.jsx)("span", { children: t(r.duration) }),- /* @__PURE__ */ (0, D.jsx)("span", { children: n(r.size ?? 0) })- ]- }),- r.reason ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "border-t border-separator-border pt-3 text-body-2-regular text-text-secondary",- children: r.reason- }) : null- ]- })]- }), /* @__PURE__ */ (0, D.jsx)("footer", {- className: "flex justify-end",- children: /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- onClick: c,- children: "查看版本"- })- })]- });+//#region node_modules/recharts/es6/state/cartesianAxisSlice.js+function c6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function $E(e) {- let t = mt({- queryKey: JE,- queryFn: ({ signal: e }) => YE(e)- }), n = t.data;- if (!n) return /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "读取失败",- children: t.error ? q(t.error) : "读取高清版目标失败"- }) });- let r = n.items || [];- return r.length ? /* @__PURE__ */ (0, D.jsxs)(Sh, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: vh({- variant: "raised",- className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"- }),- children: [/* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: "待升级"- }), /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-display-4-medium tabular-nums text-text-primary",- children: `${n.total} 部作品`- })]- }), /* @__PURE__ */ (0, D.jsx)("ul", {- className: "card-grid-cover gap-5",- children: r.map((t) => /* @__PURE__ */ (0, D.jsx)(QE, {- item: t,- ...e- }, t.id))- })] }) : /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsx)(bh, {- shell: "plain",- icon: xp,- title: "没有标记中的高清版目标",- children: "现有版本都已满足条件,或还没有加入追踪。"- }) });+function l6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? c6(Object(n), !0).forEach(function(t) {+ cfe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c6(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function cfe(e, t, n) {+ return (t = lfe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function lfe(e) {+ var t = ufe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function ufe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var u6 = BB({+ name: "cartesianAxis",+ initialState: {+ xAxis: {},+ yAxis: {},+ zAxis: {}+ },+ reducers: {+ addXAxis: {+ reducer(e, t) {+ e.xAxis[t.payload.id] = eU(t.payload);+ },+ prepare: IB()+ },+ 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] = eU(r));+ },+ prepare: IB()+ },+ removeXAxis: {+ reducer(e, t) {+ delete e.xAxis[t.payload.id];+ },+ prepare: IB()+ },+ addYAxis: {+ reducer(e, t) {+ e.yAxis[t.payload.id] = eU(t.payload);+ },+ prepare: IB()+ },+ 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] = eU(r));+ },+ prepare: IB()+ },+ removeYAxis: {+ reducer(e, t) {+ delete e.yAxis[t.payload.id];+ },+ prepare: IB()+ },+ addZAxis: {+ reducer(e, t) {+ e.zAxis[t.payload.id] = eU(t.payload);+ },+ prepare: IB()+ },+ 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] = eU(r));+ },+ prepare: IB()+ },+ removeZAxis: {+ reducer(e, t) {+ delete e.zAxis[t.payload.id];+ },+ prepare: IB()+ },+ updateYAxisWidth(e, t) {+ var { id: n, width: r } = t.payload, i = e.yAxis[n];+ if (i) {+ var a = i.widthHistory || [];+ if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;+ var o = [...a, r].slice(-3);+ e.yAxis[n] = l6(l6({}, i), {}, {+ width: r,+ widthHistory: o+ });+ }+ }+ }+}), { addXAxis: dfe, replaceXAxis: ffe, removeXAxis: pfe, addYAxis: mfe, replaceYAxis: hfe, removeYAxis: gfe, addZAxis: _fe, replaceZAxis: vfe, removeZAxis: yfe, updateYAxisWidth: bfe } = u6.actions, xfe = u6.reducer, Sfe = $([+ $([BV], (e) => ({+ top: e.top,+ bottom: e.bottom,+ left: e.left,+ right: e.right+ })),+ NV,+ PV+], (e, t, n) => {+ if (!(!e || t == null || n == null)) return {+ x: e.left,+ y: e.top,+ width: Math.max(0, t - e.left - e.right),+ height: Math.max(0, n - e.top - e.bottom)+ };+}), d6 = () => Q(Sfe), Cfe = () => Q(Ace);+//#endregion+//#region node_modules/recharts/es6/component/ActivePoints.js+function f6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function p6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? f6(Object(n), !0).forEach(function(t) {+ wfe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f6(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function wfe(e, t, n) {+ return (t = Tfe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Tfe(e) {+ var t = Efe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Efe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var Dfe = (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 = p6(p6(p6({}, {+ index: n,+ dataKey: a,+ cx: t.x,+ cy: t.y,+ r: 4,+ fill: r ?? "none",+ strokeWidth: 2,+ stroke: "#fff",+ payload: t.payload,+ value: t.value+ }), lI(i)), ER(i)), c = /*#__PURE__*/ (0, E.isValidElement)(i) ? /*#__PURE__*/ (0, E.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ E.createElement(m3, s);+ return /*#__PURE__*/ E.createElement(xI, {+ className: "recharts-active-dot",+ clipPath: o+ }, c);+};+function m6(e) {+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = dq.activeDot } = e, s = Q(P2), c = Cfe();+ if (t == null || c == null) return null;+ var l = t.find((e) => c.includes(e.payload));+ return gR(l) ? null : /*#__PURE__*/ E.createElement(t4, { zIndex: o }, /*#__PURE__*/ E.createElement(Dfe, {+ point: l,+ childIndex: Number(s),+ mainColor: n,+ dataKey: i,+ activeDot: r,+ clipPath: a+ }));}//#endregion-//#region src/selection.ts-function eD(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;+//#region node_modules/recharts/es6/util/RadialBarUtils.js+function h6() {+ return h6 = 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;+ }, h6.apply(null, arguments);+}+function g6(e) {+ return typeof e == "string" ? parseInt(e, 10) : e;+}+function _6(e) {+ return /*#__PURE__*/ E.createElement(Y3, h6({ shapeType: "sector" }, e));}//#endregion-//#region src/react/review/review.ts-var tD = "/api/review", nD = "/api/review/decision", rD = "/api/review/genre", iD = ["review"], aD = {- metadata_fields: "元数据字段",- creator_tags: "创作者标签",- studio_logos: "厂牌 Logo",- performer_avatars: "女优头像",- western_identity: "西方身份回配",- code_creators: "番号目录存疑",- fc2_markings: "FC2 评论标记",- fc2_similarity: "FC2 跨号相似",- video_endcards: "片尾/出处证据",- media_failure: "无法识别"-}, oD = Object.keys(aD), sD = "metadata_fields", cD = (e) => typeof e == "string" && Object.hasOwn(aD, e), lD = {- creator_tags: "creator",- western_identity: "creator"+//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js+var v6 = (e, t, n) => {+ var r = n ?? e;+ if (!gR(r)) return fR(r, t, 0);+}, y6 = (e, t, n) => {+ var r = {}, i = e.filter(Rq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {+ var n = e[t.stackId];+ return n ??= [], n.push(t), e[t.stackId] = n, e;+ }, r), s = Object.entries(o).map((e) => {+ var [r, i] = e;+ return {+ stackId: r,+ dataKeys: i.map((e) => e.dataKey),+ barSize: v6(t, n, i[0]?.barSize)+ };+ }), c = a.map((e) => ({+ stackId: void 0,+ dataKeys: [e.dataKey].filter((e) => e != null),+ barSize: v6(t, n, e.barSize)+ }));+ return [...s, ...c];};-function uD(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;+//#endregion+//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js+function b6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function dD(e, t) {- let n = /* @__PURE__ */ new Map();- for (let r of e) {- let e, i;- if (t === "field") e = r.field || "__unspecified_field", i = r.field_label || r.field || "未标注字段";- else if (t === "source") {- let t = [...new Set((r.candidates?.map((e) => e.source || "") || [r.source || ""]).filter(Boolean))].sort();- e = JSON.stringify(t), i = t.join(" / ") || "未标注来源";- } else e = r.candidates ? r.candidates.length === 1 ? "single" : "multiple" : "pending", i = e === "single" ? "单一候选" : e === "multiple" ? "需选择来源" : "待复核";- n.has(e) || n.set(e, {- key: e,- title: i,- rows: []- }), n.get(e).rows.push(r);+function x6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? b6(Object(n), !0).forEach(function(t) {+ Ofe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b6(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });}- return [...n.values()];+ return e;}-function fD(e, t, n) {- return n && dD(e, t).find((e) => e.key === n)?.rows || e;+function Ofe(e, t, n) {+ return (t = kfe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function kfe(e) {+ var t = Afe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Afe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function jfe(e, t, n, r, i) {+ var a = r.length;+ if (!(a < 1)) {+ var o = fR(e, n, 0, !0), s, c = [];+ if (hV(r[0]?.barSize)) {+ var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);+ d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);+ var f = {+ offset: ((n - d) / 2 >> 0) - o,+ size: 0+ };+ s = r.reduce((e, t) => {+ var n = {+ stackId: t.stackId,+ dataKeys: t.dataKeys,+ position: {+ offset: f.offset + f.size + o,+ size: l ? u : t.barSize ?? 0+ }+ }, r = [...e, n];+ return f = n.position, r;+ }, c);+ } else {+ var p = fR(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 = hV(i) ? Math.min(m, i) : m;+ s = r.reduce((e, t, n) => [...e, {+ stackId: t.stackId,+ dataKeys: t.dataKeys,+ position: {+ offset: p + (m + o) * n + (m - h) / 2,+ size: h+ }+ }], c);+ }+ return s;+ }}-function pD(e, t) {- let n = Tx(e.length, 20), r = Ex(t, n);- return {- page: r,- pages: n,- rows: e.slice((r - 1) * 20, r * 20)- };+var S6 = (e, t, n, r, i, a, o) => {+ var s = gR(o) ? t : o, c = jfe(n, r, i === a ? a : i, e, s);+ return i !== a && c != null && (c = c.map((e) => x6(x6({}, e), {}, { position: x6(x6({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;+}, C6 = (e, t) => {+ var n = Iq(t);+ if (!(!e || n == null || t == null)) {+ var { stackId: r } = t;+ if (r != null) {+ var i = e[r];+ if (i) {+ var { stackedData: a } = i;+ if (a) return a.find((e) => e.key === n);+ }+ }+ }+}, w6 = (e, t) => {+ if (e != null && t != null) {+ var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));+ if (n != null) return n.position;+ }+};+//#endregion+//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js+function T6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function mD(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 E6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? T6(Object(n), !0).forEach(function(t) {+ Mfe(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 Mfe(e, t, n) {+ return (t = Nfe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Nfe(e) {+ var t = Pfe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Pfe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var D6 = $([(e, t) => wq(e, t), (e, t) => w3(e, "radiusAxis", t)], (e, t) => {+ if (e != null && t != null) return E6(E6({}, e), {}, { scale: t });+}), O6 = (e, t) => Que(e, "radiusAxis", t, !1), k6 = $([(e, t, n) => Cq(e, n), (e, t, n) => w3(e, "angleAxis", n)], (e, t) => {+ if (e != null && t != null) return E6(E6({}, e), {}, { scale: t });+}), A6 = (e, t, n) => E3(e, "angleAxis", n, !1), j6 = $([h3, (e, t, n, r) => r], (e, t) => {+ if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;+}), M6 = $([+ oH,+ D6,+ O6,+ k6,+ A6+], (e, t, n, r, i) => bV(e, "radiusAxis") ? AV(t, n, !1) : AV(r, i, !1)), Ffe = $([+ k6,+ D6,+ oH+], (e, t, n) => {+ var r = n === "radial" ? e : t;+ if (r != null && r.scale != null) return DV({ numericAxis: r });+}), Ife = (e, t, n, r, i) => i, Lfe = (e, t, n, r, i) => n, Rfe = (e, t, n, r, i) => t, N6 = (e, t, n, r, i) => r.maxBarSize, P6 = (e) => e.type === "radialBar", zfe = $([$([+ $([+ $([+ oH,+ h3,+ Lfe,+ Rfe+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(P6)),+ rq,+ () => void 0+ ], y6),+ eq,+ tq,+ nq,+ $([+ oH,+ eq,+ k6,+ A6,+ D6,+ O6,+ N6+ ], (e, t, n, r, i, a, o) => {+ var s = gR(o) ? t : o;+ return e === "centric" ? AV(n, r, !0) ?? s ?? 0 : AV(i, a, !0) ?? s ?? 0;+ }),+ M6,+ N6+], S6), j6], w6), F6 = $([g3], (e) => e.filter(P6).filter(Rq)), I6 = $([+ $([+ F6,+ LK,+ _1+ ], Lq),+ F6,+ iq,+ aq+], b1), Bfe = $([+ k6,+ A6,+ D6,+ O6,+ IK,+ j6,+ M6,+ oH,+ Ffe,+ Nq,+ Ife,+ zfe,+ $([(e, t, n) => oH(e) === "centric" ? I6(e, "radiusAxis", t) : I6(e, "angleAxis", n), j6], C6)+], (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 rpe({+ angleAxis: e,+ angleAxisTicks: t,+ bandSize: o,+ baseValue: c,+ cells: u,+ cx: v,+ cy: y,+ dataKey: g,+ dataStartIndex: m,+ displayedData: p.slice(m, h + 1),+ endAngle: x,+ layout: s,+ minPointSize: _,+ pos: d,+ radiusAxis: n,+ radiusAxisTicks: r,+ stackedData: f,+ stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,+ startAngle: b+ });+}), Vfe = $([LK, (e, t) => t], (e, t) => {+ var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;+ if (n == null) return [];+ var a = n.slice(r, i + 1);+ return a.length === 0 ? [] : a.map((e) => ({+ type: t,+ value: e.name,+ color: e.fill,+ payload: e+ }));+});+//#endregion+//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js+function L6(e, t) {+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && hV(e.zIndex) ? e.zIndex : t;+}+//#endregion+//#region node_modules/recharts/es6/polar/RadialBar.js+var Hfe = [+ "shape",+ "activeShape",+ "cornerRadius",+ "id"+], Ufe = [+ "onMouseEnter",+ "onClick",+ "onMouseLeave"+], Wfe = ["value", "background"];+function R6() {+ return R6 = 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;+ }, R6.apply(null, arguments);}-function hD(e, t, n, r, i, a) {- return eD(e, t, n, r, i, a);+function z6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function gD(e, t) {- return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";+function B6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? z6(Object(n), !0).forEach(function(t) {+ Gfe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z6(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function _D(e, t) {- return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);+function Gfe(e, t, n) {+ return (t = Kfe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Kfe(e) {+ var t = qfe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function qfe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function V6(e, t) {+ if (e == null) return {};+ var n, r, i = Jfe(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;}-var vD = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function yD(e, t) {- let n = _D(e, t), r = vD(e, t);- return r ? `${n} · ${r}` : n;+function Jfe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-var bD = (e) => e.reason || e.evidence || e.note || e.decision_note || "", xD = (e) => String(e.tags || "").split("|").filter(Boolean), SD = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function CD(e) {- let t = e.candidates || [];+var H6 = [];+function Yfe(e) {+ var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({+ value: e.value,+ payload: e.payload,+ parentViewBox: void 0,+ clockWise: !1,+ viewBox: {+ cx: e.cx,+ cy: e.cy,+ innerRadius: e.innerRadius,+ outerRadius: e.outerRadius,+ startAngle: e.startAngle,+ endAngle: e.endAngle,+ clockWise: !1+ },+ fill: e.fill+ }));+ return /*#__PURE__*/ E.createElement(zue, { value: t ? i : void 0 }, r);+}+function Xfe(e) {+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = V6(n, Hfe), l = cI(c), u = Q(P2), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = V6(n, Ufe), h = X3(d, n.dataKey, s), g = Z3(p), _ = Q3(f, n.dataKey, s);+ return t == null ? null : /*#__PURE__*/ E.createElement(Yfe, {+ 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 = B6(B6(B6(B6({}, l), {}, { cornerRadius: g6(o) }, e), DR(m, e, t)), {}, {+ onMouseEnter: r,+ onMouseLeave: s,+ onClick: d,+ className: `recharts-radial-bar-sector ${e.className}`,+ forceCornerRadius: c.forceCornerRadius,+ cornerIsExternal: c.cornerIsExternal,+ isActive: n,+ option: n ? a : i,+ index: t+ });+ return n ? /*#__PURE__*/ E.createElement(t4, {+ zIndex: dq.activeBar,+ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`+ }, /*#__PURE__*/ E.createElement(_6, f)) : /*#__PURE__*/ E.createElement(_6, R6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));+ }), /*#__PURE__*/ E.createElement(l3, { label: n.label }), n.children);+}+function Zfe(e) {+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = AG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, E.useState)(!1), m = (0, E.useCallback)(() => {+ typeof c == "function" && c(), p(!1);+ }, [c]), h = (0, E.useCallback)(() => {+ typeof l == "function" && l(), p(!0);+ }, [l]);+ return /*#__PURE__*/ E.createElement(kG, {+ animationId: u,+ begin: a,+ duration: o,+ isActive: i,+ easing: s,+ onAnimationStart: h,+ onAnimationEnd: m,+ key: u+ }, (e) => {+ var i = e === 1 ? r : (r ?? H6).map((t, n) => {+ var r = d && d[n];+ if (r) return B6(B6({}, t), {}, {+ startAngle: mR(r.startAngle, t.startAngle, e),+ endAngle: mR(r.endAngle, t.endAngle, e)+ });+ var { endAngle: i, startAngle: a } = t;+ return B6(B6({}, t), {}, { endAngle: mR(a, i, e) });+ });+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ E.createElement(Xfe, {+ sectors: i ?? H6,+ allOtherRadialBarProps: t,+ showLabels: !f+ });+ });+}+function Qfe(e) {+ var t = (0, E.useRef)(null);+ return /*#__PURE__*/ E.createElement(Zfe, {+ props: e,+ previousSectorsRef: t+ });+}+function $fe(e) {+ var t = Q((t) => Vfe(t, e.legendType));+ return /*#__PURE__*/ E.createElement(Hde, { legendPayload: t ?? [] });+}+var epe = /*#__PURE__*/ E.memo((e) => {+ var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {+ dataDefinedOnItem: n,+ getPosition: yR,+ settings: {+ graphicalItemId: l,+ stroke: r,+ strokeWidth: i,+ fill: s,+ nameKey: void 0,+ dataKey: t,+ name: MV(a, t),+ hide: o,+ type: c,+ color: s,+ unit: ""+ }+ };+ return /*#__PURE__*/ E.createElement($3, { tooltipEntrySettings: u });+}), tpe = class extends E.PureComponent {+ renderBackground(e) {+ if (e == null) return null;+ var { cornerRadius: t } = this.props, n = lI(this.props.background);+ return /*#__PURE__*/ E.createElement(t4, { zIndex: L6(this.props.background, dq.barBackground) }, e.map((e, r) => {+ var { value: i, background: a } = e, o = V6(e, Wfe);+ if (!a) return null;+ var s = B6(B6(B6(B6(B6({ cornerRadius: g6(t) }, o), {}, { fill: "#eee" }, a), n), DR(this.props, e, r)), {}, {+ index: r,+ className: Sm("recharts-radial-bar-background-sector", String(n?.className)),+ option: a,+ isActive: !1+ });+ return /*#__PURE__*/ E.createElement(_6, R6({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));+ }));+ }+ render() {+ var { hide: e, sectors: t, className: n, background: r } = this.props;+ if (e) return null;+ var i = Sm("recharts-area", n);+ return /*#__PURE__*/ E.createElement(t4, { zIndex: this.props.zIndex }, /*#__PURE__*/ E.createElement(xI, { className: i }, r && /*#__PURE__*/ E.createElement(xI, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ E.createElement(xI, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ E.createElement(Qfe, this.props))));+ }+};+function npe(e) {+ var t = E.useMemo(() => z3(e.children, v4), [e.children]), n = E.useMemo(() => ({+ data: void 0,+ hide: !1,+ id: e.id,+ dataKey: e.dataKey,+ minPointSize: e.minPointSize,+ stackId: wV(e.stackId),+ maxBarSize: e.maxBarSize,+ barSize: e.barSize,+ type: "radialBar",+ angleAxisId: e.angleAxisId,+ radiusAxisId: e.radiusAxisId+ }), [+ e.id,+ e.dataKey,+ e.minPointSize,+ e.stackId,+ e.maxBarSize,+ e.barSize,+ e.angleAxisId,+ e.radiusAxisId+ ]), r = Q((r) => Bfe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? H6;+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(epe, {+ dataKey: e.dataKey,+ sectors: r,+ stroke: e.stroke,+ strokeWidth: e.strokeWidth,+ name: e.name,+ hide: e.hide,+ fill: e.fill,+ tooltipType: e.tooltipType,+ id: e.id+ }), /*#__PURE__*/ E.createElement(tpe, R6({}, e, { sectors: r })));+}+var U6 = {+ angleAxisId: 0,+ animationBegin: 0,+ animationDuration: 1500,+ animationEasing: "ease",+ background: !1,+ cornerIsExternal: !1,+ cornerRadius: 0,+ forceCornerRadius: !1,+ hide: !1,+ isAnimationActive: "auto",+ label: !1,+ legendType: "rect",+ minPointSize: 0,+ radiusAxisId: 0,+ zIndex: dq.bar+};+function rpe(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 ? H6 : (t ?? []).map((e, t) => {+ var b, x, S, C, w, T;+ if (n ? b = CV(n[r + t], i) : (b = yV(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 = EV({+ axis: c,+ ticks: l,+ bandSize: u,+ offset: d.offset,+ entry: e,+ index: t+ }), x != null && w != null && C != null) {+ S = x + d.size;+ var E = w - C;+ if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {+ var D = oR(E || p) * (Math.abs(p) - Math.abs(E));+ w += D;+ }+ T = { background: {+ cx: m,+ cy: h,+ innerRadius: x,+ outerRadius: S,+ startAngle: v,+ endAngle: y+ } };+ }+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = EV({+ axis: f,+ ticks: g,+ bandSize: u,+ offset: d.offset,+ entry: e,+ index: t+ }), x != null && S != null && C != null) {+ w = C + d.size;+ var O = S - x;+ if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {+ var k = oR(O || p) * (Math.abs(p) - Math.abs(O));+ S += k;+ }+ }+ return B6(B6(B6({}, e), T), {}, {+ payload: e,+ value: n ? b : b[1],+ cx: m,+ cy: h,+ innerRadius: x,+ outerRadius: S,+ startAngle: C,+ endAngle: w+ }, _ && _[t] && _[t].props);+ });+}+function W6(e) {+ var t = kR(e, U6);+ return /*#__PURE__*/ E.createElement(t6, {+ id: t.id,+ type: "radialBar"+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement($de, {+ type: "radialBar",+ id: e,+ data: void 0,+ dataKey: t.dataKey,+ hide: t.hide ?? U6.hide,+ angleAxisId: t.angleAxisId ?? U6.angleAxisId,+ radiusAxisId: t.radiusAxisId ?? U6.radiusAxisId,+ stackId: wV(t.stackId),+ barSize: t.barSize,+ minPointSize: t.minPointSize,+ maxBarSize: t.maxBarSize+ }), /*#__PURE__*/ E.createElement($fe, t), /*#__PURE__*/ E.createElement(npe, R6({}, t, { id: e }))));+}+W6.displayName = "RadialBar";+//#endregion+//#region node_modules/recharts/es6/context/chartDataContext.js+var G6 = (e) => {+ var { chartData: t } = e, n = tz(), r = HV();+ return (0, E.useEffect)(() => r ? () => {} : (n(f4(t)), () => {+ n(f4(void 0));+ }), [+ t,+ n,+ r+ ]), null;+}, K6 = {+ x: 0,+ y: 0,+ width: 0,+ height: 0,+ padding: {+ top: 0,+ right: 0,+ bottom: 0,+ left: 0+ }+}, q6 = BB({+ name: "brush",+ initialState: K6,+ reducers: { setBrushSettings(e, t) {+ return t.payload == null ? K6 : t.payload;+ } }+}), { setBrushSettings: ipe } = q6.actions, ape = q6.reducer, ope = (e, t) => {+ var { x: n, y: r } = e, { x: i, y: a } = t;return {- candidateKey: t.length === 1 ? t[0].candidate_key : "",- assets: (e.preview_assets || []).map((e) => e.id)+ x: Math.min(n, i),+ y: Math.min(r, a),+ width: Math.abs(i - n),+ height: Math.abs(a - r)};+}, spe = (e) => {+ var { x1: t, y1: n, x2: r, y2: i } = e;+ return ope({+ x: t,+ y: n+ }, {+ x: r,+ y: i+ });+};+function cpe(e) {+ return (e % 180 + 180) % 180;+}+var lpe = function(e) {+ var { width: t, height: n } = e, r = cpe(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);+}, J6 = BB({+ name: "referenceElements",+ initialState: {+ dots: [],+ areas: [],+ lines: []+ },+ reducers: {+ addDot: (e, t) => {+ e.dots.push(t.payload);+ },+ removeDot: (e, t) => {+ var n = DB(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 = DB(e).areas.findIndex((e) => e === t.payload);+ n !== -1 && e.areas.splice(n, 1);+ },+ addLine: (e, t) => {+ e.lines.push(eU(t.payload));+ },+ removeLine: (e, t) => {+ var n = DB(e).lines.findIndex((e) => e === t.payload);+ n !== -1 && e.lines.splice(n, 1);+ }+ }+}), { addDot: upe, removeDot: dpe, addArea: fpe, removeArea: ppe, addLine: mpe, removeLine: hpe } = J6.actions, gpe = J6.reducer, Y6 = /*#__PURE__*/ (0, E.createContext)(void 0), _pe = (e) => {+ var { children: t } = e, [n] = (0, E.useState)(`${dR("recharts")}-clip`), r = d6();+ if (r == null) return null;+ var { x: i, y: a, width: o, height: s } = r;+ return /*#__PURE__*/ E.createElement(Y6.Provider, { value: n }, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: n }, /*#__PURE__*/ E.createElement("rect", {+ x: i,+ y: a,+ height: s,+ width: o+ }))), t);+}, vpe = () => (0, E.useContext)(Y6), ype = class {+ constructor(e) {+ var { x: t, y: n } = e;+ this.xAxisScale = t, this.yAxisScale = n;+ }+ map(e, t) {+ var { position: n } = t;+ return {+ x: this.xAxisScale.map(e.x, { position: n }) ?? 0,+ y: this.yAxisScale.map(e.y, { position: n }) ?? 0+ };+ }+ mapWithFallback(e, t) {+ var { position: n, fallback: r } = t, i = r === "rangeMin" ? this.yAxisScale.rangeMin() : r === "rangeMax" ? this.yAxisScale.rangeMax() : 0, a = r === "rangeMin" ? this.xAxisScale.rangeMin() : r === "rangeMax" ? this.xAxisScale.rangeMax() : 0;+ return {+ x: this.xAxisScale.map(e.x, { position: n }) ?? a,+ y: this.yAxisScale.map(e.y, { position: n }) ?? i+ };+ }+ isInRange(e) {+ var { x: t, y: n } = e, r = t == null || this.xAxisScale.isInRange(t), i = n == null || this.yAxisScale.isInRange(n);+ return r && i;+ }+};+//#endregion+//#region node_modules/recharts/es6/cartesian/ReferenceLine.js+function X6(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function wD(e, t, n, r) {- let i = !!t.asset_path && t.asset_mutation_revision != null;- return {- category: e,- item_key: t.item_key,- status: n,- candidate_key: r.candidateKey,- creator: t.creator,- tags: t.tags,- studio: t.studio,- entity_id: t.entity_id,- avatar_url: t.avatar_url,- selected_ids: r.assets,- ...i ? { expected_revision: t.asset_mutation_revision } : {}+function Z6(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? X6(Object(n), !0).forEach(function(t) {+ bpe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X6(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function bpe(e, t, n) {+ return (t = xpe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function xpe(e) {+ var t = Spe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Spe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function Q6() {+ return Q6 = 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;+ }, Q6.apply(null, arguments);+}+var Cpe = (e, t) => {+ var n;+ if (/*#__PURE__*/ E.isValidElement(e)) n = /*#__PURE__*/ E.cloneElement(e, t);+ else if (typeof e == "function") n = e(t);+ else {+ if (!hV(t.x1) || !hV(t.y1) || !hV(t.x2) || !hV(t.y2)) return null;+ n = /*#__PURE__*/ E.createElement("line", Q6({}, t, { className: "recharts-reference-line-line" }));+ }+ return n;+}, wpe = (e, t, n, r, i, a) => {+ var { x: o, width: s } = a, c = i.map(e, { position: n });+ if (!hV(c) || t === "discard" && !i.isInRange(c)) return null;+ var l = [{+ x: o + s,+ y: c+ }, {+ x: o,+ y: c+ }];+ return r === "left" ? l.reverse() : l;+}, Tpe = (e, t, n, r, i, a) => {+ var { y: o, height: s } = a, c = i.map(e, { position: n });+ if (!hV(c) || t === "discard" && !i.isInRange(c)) return null;+ var l = [{+ x: c,+ y: o + s+ }, {+ x: c,+ y: o+ }];+ return r === "top" ? l.reverse() : l;+}, Epe = (e, t, n, r) => {+ var i = [r.mapWithFallback(e[0], {+ position: n,+ fallback: "rangeMin"+ }), r.mapWithFallback(e[1], {+ position: n,+ fallback: "rangeMax"+ })];+ return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;+}, Dpe = (e, t, n, r, i, a, o) => {+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = lR(s);+ return lR(c) ? wpe(c, u, r, a, t, n) : d ? Tpe(s, u, r, i, e, n) : l != null && l.length === 2 ? Epe(l, u, r, new ype({+ x: e,+ y: t+ })) : null;+};+function Ope(e) {+ var t = tz();+ return (0, E.useEffect)(() => (t(mpe(e)), () => {+ t(hpe(e));+ })), null;+}+function kpe(e) {+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = HV(), s = vpe(), c = Q((e) => B$(e, t)), l = Q((e) => U$(e, n)), u = Q((e) => v0(e, "xAxis", t, o)), d = Q((e) => v0(e, "yAxis", n, o)), f = nH();+ if (!s || !f || c == null || l == null || u == null || d == null) return null;+ var p = Dpe(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 = Z6(Z6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, uI(e)), {}, {+ x1: g,+ y1: _,+ x2: v,+ y2: y+ }), x = spe({+ x1: g,+ y1: _,+ x2: v,+ y2: y+ });+ return /*#__PURE__*/ E.createElement(t4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xI, { className: Sm("recharts-reference-line", i) }, Cpe(r, b), /*#__PURE__*/ E.createElement(Z4, Q6({}, x, {+ lowerWidth: x.width,+ upperWidth: x.width+ }), /*#__PURE__*/ E.createElement(n3, { label: e.label }), e.children)));+}+var Ape = {+ ifOverflow: "discard",+ xAxisId: 0,+ yAxisId: 0,+ fill: "none",+ label: !1,+ stroke: "#ccc",+ fillOpacity: 1,+ strokeWidth: 1,+ position: "middle",+ zIndex: dq.line+};+function $6(e) {+ var t = kR(e, Ape);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Ope, {+ yAxisId: t.yAxisId,+ xAxisId: t.xAxisId,+ ifOverflow: t.ifOverflow,+ x: t.x,+ y: t.y,+ segment: t.segment+ }), /*#__PURE__*/ E.createElement(kpe, t));+}+$6.displayName = "ReferenceLine";+//#endregion+//#region node_modules/recharts/es6/util/getEveryNth.js+function e8(e, t) {+ if (t < 1) return [];+ if (t === 1) return e;+ for (var n = [], r = 0; r < e.length; r += t) {+ var i = e[r];+ i !== void 0 && n.push(i);+ }+ return n;+}+//#endregion+//#region node_modules/recharts/es6/util/TickUtils.js+function jpe(e, t, n) {+ return lpe({+ width: e.width + t.width,+ height: e.height + t.height+ }, n);+}+function Mpe(e, t, n) {+ var r = n === "width", { x: i, y: a, width: o, height: s } = e;+ return t === 1 ? {+ start: r ? i : a,+ end: r ? i + o : a + s+ } : {+ start: r ? i + o : a + s,+ end: r ? i : a};}-var TD = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", ED = (e) => uh(tD, e), DD = (e) => J(nD, e), OD = (e, t) => J(rD, {- genre: e,- tag: t-});-async function kD(e) {- await Th.fetchQuery({- queryKey: iD,- queryFn: () => ED(e)- });+function t8(e, t, n, r, i) {+ if (e * t < e * r || e * t > e * i) return !1;+ var a = n();+ return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;}-function AD(e, t) {- let n = new Set(t);- n.size && Th.setQueryData(iD, (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 : {- ...t,- sections: {- ...t.sections,- [e]: i- },- counts: {- ...t.counts,- [e]: Math.max(0, (t.counts[e] ?? r.length) - (r.length - i.length))+function Npe(e, t) {+ return e8(e, t + 1);+}+//#endregion+//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js+function Ppe(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: e8(r, l) };+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || t8(e, p, f, u, s);+ m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);+ }, f; l <= a.length;) if (f = d(), f) return f.v;+ return [];+}+function Fpe(e, t, n, r, i) {+ var a = (r || []).slice().length;+ if (a === 0) return [];+ for (var { start: o, end: s } = t, c = 1; c <= a; c++) {+ for (var l = (a - 1) % c, u = o, d = !0, f = function() {+ var t = r[m];+ if (t == null) return 0;+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || t8(e, f, c, u, s);+ if (!p) return d = !1, 1;+ p && (u = f + e * (c() / 2 + i));+ }, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);+ if (d) {+ for (var h = [], g = l; g < a; g += c) {+ var _ = r[g];+ _ != null && h.push(_);+ }+ return h;+ }+ }+ return [];+}+//#endregion+//#region node_modules/recharts/es6/cartesian/getTicks.js+function n8(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function r8(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? n8(Object(n), !0).forEach(function(t) {+ Ipe(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 Ipe(e, t, n) {+ return (t = Lpe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Lpe(e) {+ var t = Rpe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Rpe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function zpe(e, t, n, r, i) {+ for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {+ var r = a[t];+ if (r == null) return 1;+ var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);+ if (t === o - 1) {+ var f = e * (l.coordinate + e * d() / 2 - c);+ a[t] = l = r8(r8({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });+ } else a[t] = l = r8(r8({}, l), {}, { tickCoord: l.coordinate });+ l.tickCoord != null && t8(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = r8(r8({}, l), {}, { isShow: !0 }));+ }, u = o - 1; u >= 0; u--) if (l(u)) continue;+ return a;+}+function Bpe(e, t, n, r, i, a) {+ var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;+ if (a) {+ var u = r[s - 1];+ if (u != null) {+ var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);+ o[s - 1] = u = r8(r8({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && t8(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = r8(r8({}, u), {}, { isShow: !0 }));+ }+ }+ for (var p = a ? s - 1 : s, m = function(t) {+ var r = o[t];+ if (r == null) return 1;+ var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);+ if (t === 0) {+ var d = e * (a.coordinate - e * u() / 2 - c);+ o[t] = a = r8(r8({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });+ } else o[t] = a = r8(r8({}, a), {}, { tickCoord: a.coordinate });+ a.tickCoord != null && t8(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = r8(r8({}, a), {}, { isShow: !0 }));+ }, h = 0; h < p; h++) if (m(h)) continue;+ return o;+}+function i8(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) || sW.isSsr) return Npe(i, Z(c) ? c : 0) ?? [];+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w4(u, {+ fontSize: t,+ letterSpacing: n+ }) : {+ width: 0,+ height: 0+ }, h = (e, r) => {+ var i = typeof l == "function" ? l(e.value, r) : e.value;+ return p === "width" ? jpe(w4(i, {+ fontSize: t,+ letterSpacing: n+ }), m, d) : w4(i, {+ fontSize: t,+ letterSpacing: n+ })[p];+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? oR(_.coordinate - g.coordinate) : 1, y = Mpe(a, v, p);+ return c === "equidistantPreserveStart" ? Ppe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? Fpe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Bpe(v, y, h, i, o, c === "preserveStartEnd") : zpe(v, y, h, i, o), f.filter((e) => e.isShow));+}+//#endregion+//#region node_modules/recharts/es6/util/YAxisUtils.js+var Vpe = (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) => {+ if (e) {+ var t = e.getBoundingClientRect();+ t.width > o && (o = t.width);}- };- });+ });+ var s = n ? n.getBoundingClientRect().width : 0, c = i + a, l = o + c + s + (n ? r : 0);+ return Math.round(l);+ }+ return 0;+}, a8 = BB({+ name: "renderedTicks",+ initialState: {+ xAxis: {},+ yAxis: {}+ },+ reducers: {+ setRenderedTicks: (e, t) => {+ var { axisType: n, axisId: r, ticks: i } = t.payload;+ e[n][r] = eU(i);+ },+ removeRenderedTicks: (e, t) => {+ var { axisType: n, axisId: r } = t.payload;+ delete e[n][r];+ }+ }+}), { setRenderedTicks: Hpe, removeRenderedTicks: Upe } = a8.actions, Wpe = a8.reducer, Gpe = [+ "axisLine",+ "width",+ "height",+ "className",+ "hide",+ "ticks",+ "axisType",+ "axisId"+];+function Kpe(e, t) {+ if (e == null) return {};+ var n, r, i = qpe(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;}-var jD = () => Th.invalidateQueries({- queryKey: iD,- exact: !0-});-function MD(e, t) {- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Dx(e.fetched_at)} 的缓存` : e?.error || t;+function qpe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-//#endregion-//#region src/react/review/bulk-toolbar.tsx-function ND(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 = mD(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- role: "group",- "aria-label": "复核筛选",- "data-review-filter": !0,- "data-glass-pane": "",- className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",- children: [- /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "筛选分组方式",- size: "sm",- selectedKey: n,- onSelectionChange: (e) => {- e !== null && r(String(e));- },- children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: t- }, e))- }),- i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(HT, {- "aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",- size: "sm",- selectedKey: a || "*",- onSelectionChange: (e) => {- e !== null && o(String(e) === "*" ? "" : String(e));- },- children: [/* @__PURE__ */ (0, D.jsx)(UT, {- id: "*",- children: "全部分类"- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e.key,- children: `${e.title} · ${e.rows.length}`- }, e.key))]- }) : null,- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- leadingIcon: qf,- "aria-pressed": v,- disabled: p || !s.length,- onClick: () => {- let e = new Set(c);- for (let t of s) v ? e.delete(t) : e.add(t);- l(e);- },- children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"- })- ]- }), c.size ? /* @__PURE__ */ (0, D.jsxs)(WT, {- label: "复核所选项目",- count: `已选 ${c.size} 项`,- children: [- b ? /* @__PURE__ */ (0, D.jsxs)(HT, {- "aria-label": "统一选择来源",- size: "sm",- selectedKey: "",- isDisabled: p || !y.length,- onSelectionChange: (e) => {- e !== null && e !== "" && h(String(e));- },- children: [/* @__PURE__ */ (0, D.jsx)(UT, {- id: "",- children: x- }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: e- }, e))]- }) : null,- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- size: "small",- disabled: p || !c.size || !f,- onClick: () => g("approved"),- children: "通过所选"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "danger",- size: "small",- disabled: p || !c.size,- onClick: () => g("rejected"),- children: "拒绝所选"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- disabled: p,- onClick: () => l(/* @__PURE__ */ new Set()),- children: "取消选择"- }),- m ? /* @__PURE__ */ (0, D.jsx)("p", {- role: "status",- className: "w-full text-body-2-regular text-text-secondary",- children: m- }) : null- ]- }) : null] });+function o8() {+ return o8 = 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;+ }, o8.apply(null, arguments);}-//#endregion-//#region src/react/review/candidate-form.tsx-var PD = {- title: "标题",- original_title: "原标题",- runtime: "来源时长",- director: "导演",- label: "Label",- poster_url: "海报",- cover_url: "封面",- screenshot_urls: "截图",- trailer_url: "预告片"-}, FD = "reviewgenretags";-function ID({ tags: e }) {- return e.length ? /* @__PURE__ */ (0, D.jsx)("datalist", {- id: FD,- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)("option", { value: e }, e))- }) : null;+function s8(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function LD({ 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, D.jsxs)("span", {- className: "flex min-w-0 flex-1 flex-col",- children: [/* @__PURE__ */ (0, D.jsxs)("span", {- className: "relative flex min-w-0 flex-col gap-0.5 px-4 py-3 group-hover:bg-background-primary-hover group-data-selected:bg-background-primary-hover",- children: [- /* @__PURE__ */ (0, D.jsxs)("b", {- className: "text-body-2-medium text-text-secondary",- children: [- e.source,- e.official ? " · 官方优先" : "",- r ? ` · ID ${r}` : ""- ]- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-medium break-words text-text-primary",- children: e.display_value || ""- }),- (e.warnings || []).map((e) => /* @__PURE__ */ (0, D.jsx)("i", {- className: "text-body-2-regular text-status-yellow-text",- children: e- }, e)),- t ? /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": "true",- "data-candidate-choice": !0,- className: "absolute top-4 right-4 inline-grid size-4 place-items-center rounded-full border border-border-checkbox-default bg-background-primary-default group-hover:border-border-checkbox-hover group-data-selected:border-border-focus-ring group-data-selected:bg-accent-600",- children: /* @__PURE__ */ (0, D.jsx)("span", { className: "size-1.5 rounded-full bg-text-white opacity-0 group-data-selected:opacity-100" })- }) : null- ]- }), n.length ? /* @__PURE__ */ (0, D.jsx)("dl", {- className: "flex flex-col gap-1 border-t border-separator-border bg-background-primary-default px-4 py-2.5",- children: n.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-wrap gap-x-2",- children: [- /* @__PURE__ */ (0, D.jsx)("dt", {- className: "text-body-2-regular text-text-secondary",- children: PD[e] || e- }),- /* @__PURE__ */ (0, D.jsx)("dd", {- className: "min-w-0 text-body-2-regular break-words text-text-primary",- children: t.display_value- }),- (t.warnings || []).map((e) => /* @__PURE__ */ (0, D.jsx)("small", {- className: "w-full text-caption-1-regular text-status-yellow-text",- children: e- }, e))- ]- }, e))- }) : null]- });+function c8(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? s8(Object(n), !0).forEach(function(t) {+ Jpe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s8(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function RD({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {- let a = e.candidates || [];- return a.length ? a.length === 1 ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, D.jsx)(LD, { candidate: a[0] })- }) : /* @__PURE__ */ (0, D.jsx)(Iv, {- "aria-label": `${t || "候选"}的来源`,+function Jpe(e, t, n) {+ return (t = Ype(t)) in e ? Object.defineProperty(e, t, {value: n,- isDisabled: i,- onChange: r,- className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(Lv, {- 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, D.jsx)(LD, {- candidate: e,- selectable: !0- })- }, e.candidate_key))- }) : null;+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Ype(e) {+ var t = Xpe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Xpe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var l8 = {+ x: 0,+ y: 0,+ width: 0,+ height: 0,+ viewBox: {+ x: 0,+ y: 0,+ width: 0,+ height: 0+ },+ orientation: "bottom",+ ticks: [],+ stroke: "#666",+ tickLine: !0,+ axisLine: !0,+ tick: !0,+ mirror: !1,+ minTickGap: 5,+ tickSize: 6,+ tickMargin: 2,+ interval: "preserveEnd",+ zIndex: dq.axis+};+function Zpe(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 = c8(c8(c8({}, c), cI(s)), {}, { fill: "none" });+ if (a === "top" || a === "bottom") {+ var u = +(a === "top" && !o || a === "bottom" && o);+ l = c8(c8({}, l), {}, {+ x1: t,+ y1: n + u * i,+ x2: t + r,+ y2: n + u * i+ });+ } else {+ var d = +(a === "left" && !o || a === "right" && o);+ l = c8(c8({}, l), {}, {+ x1: t + d * r,+ y1: n,+ x2: t + d * r,+ y2: n + i+ });+ }+ return /*#__PURE__*/ E.createElement("line", o8({}, l, { className: Sm("recharts-cartesian-axis-line", tR(s, "className")) }));}-function zD({ genre: e, tags: t, locked: n, toast: r }) {- let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), c = ht({- mutationFn: (t) => OD(e, t),- onSuccess: async (t, n) => {- if (!t.ok) {- s(t.error || "服务端拒绝了这次收录");- return;- }- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await jD();+function Qpe(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":+ l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;+ break;+ case "left":+ d = f = e.coordinate, u = t + +!s * r, l = u - h * g, p = l - h * c, m = _;+ break;+ case "right":+ d = f = e.coordinate, u = t + +s * r, l = u + h * g, p = l + h * c, m = _;+ break;+ default: l = u = e.coordinate, f = n + +s * i, d = f + h * g, m = d + h * c, p = _;+ }+ return {+ line: {+ x1: l,+ y1: d,+ x2: u,+ y2: f},- onError: (e) => s(q(e))- }), l = () => {- let e = i.trim();- if (!e) {- s("先给它一个中文标签");- return;+ tick: {+ x: p,+ y: m}- s(""), c.mutate(e);};- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)("b", {- lang: "ja",- className: "text-body-medium text-text-primary",- children: e- }),- /* @__PURE__ */ (0, D.jsx)(mb, {- "aria-label": `「${e}」收录成的中文标签`,- value: i,- onChange: a,- maxLength: 40,- isDisabled: n || c.isPending,- className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(gb, {- size: "small",- list: t.length ? FD : void 0,- autoComplete: "off",- placeholder: "中文标签",- onKeyDown: (e) => {- e.key !== "Enter" || e.nativeEvent.isComposing || (e.preventDefault(), l());- }- })- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: n || c.isPending,- onClick: l,- children: "收录"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: n || c.isPending,- onClick: () => {- s(""), c.mutate("");- },- children: "不是内容"- }),- o ? /* @__PURE__ */ (0, D.jsx)("p", {- role: "status",- className: "w-full text-body-2-regular text-text-error-primary",- children: o- }) : null- ]- });}-function BD({ row: e, tags: t, locked: n, toast: r }) {- let i = SD(e);- return i.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- role: "group",- "aria-label": "未收录 genre",- className: "flex flex-col gap-2 rounded-surface border border-separator-border bg-background-primary-default px-4 py-3",- children: [/* @__PURE__ */ (0, D.jsx)("h5", {- className: "text-body-2-medium text-text-secondary",- children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(zD, {- genre: e,- tags: t,- locked: n,- toast: r- }, e))]- }) : null;+function $pe(e, t) {+ switch (e) {+ case "left": return t ? "start" : "end";+ case "right": return t ? "end" : "start";+ default: return "middle";+ }+}+function eme(e, t) {+ switch (e) {+ case "left":+ case "right": return "middle";+ case "top": return t ? "start" : "end";+ default: return t ? "end" : "start";+ }}-//#endregion-//#region src/react/review/review-evidence.tsx-var VD = (e = "") => /^https?:\/\//i.test(e) ? e : "", HD = (e = "") => VD(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function UD({ url: e }) {- let t = HD(e || ""), [n, r] = (0, E.useState)(!1);- return /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",- children: t && !n ? /* @__PURE__ */ (0, D.jsx)("img", {- src: t,- alt: "来源候选图片",- loading: "lazy",- className: "size-full object-contain",- onError: () => r(!0)- }) : /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: "未取得来源图片"- })- });+function tme(e) {+ var { option: t, tickProps: n, value: r } = e, i, a = Sm(n.className, "recharts-cartesian-axis-tick-value");+ if (/*#__PURE__*/ E.isValidElement(t)) i = /*#__PURE__*/ E.cloneElement(t, c8(c8({}, n), {}, { className: a }));+ else if (typeof t == "function") i = t(c8(c8({}, n), {}, { className: a }));+ else {+ var o = "recharts-cartesian-axis-tick-value";+ typeof t != "boolean" && (o = Sm(o, O3(t))), i = /*#__PURE__*/ E.createElement(U4, o8({}, n, { className: o }), r);+ }+ return i;}-function WD({ asset: e, openItem: t }) {- let n = e.name || "";- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",- children: [/* @__PURE__ */ (0, D.jsxs)("button", {- type: "button",- onClick: () => t(e.id),- className: "flex aspect-card-cover w-review-cover-narrow shrink-0 review-tight:w-review-cover cursor-pointer items-center justify-center overflow-hidden rounded-2lg bg-background-tertiary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [e.preview_url ? /* @__PURE__ */ (0, D.jsx)("img", {- src: e.preview_url,- alt: "",- loading: "lazy",- className: "size-full object-cover"- }) : /* @__PURE__ */ (0, D.jsx)("span", {- className: "text-caption-1-regular text-text-secondary",- children: "无封面"- }), /* @__PURE__ */ (0, D.jsx)(ss, { children: `打开原视频 ${n}` })]- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-col items-start gap-1",- children: [/* @__PURE__ */ (0, D.jsx)("b", {- title: n,- className: "w-full truncate text-body-medium text-text-primary",- children: e.code || n || "原视频"- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- leadingIcon: up,- onClick: () => t(e.id),- children: "打开原视频"- })]- })]+function nme(e) {+ var { ticks: t, axisType: n, axisId: r } = e, i = tz();+ return (0, E.useEffect)(() => r == null || n == null ? yR : (i(Hpe({+ ticks: t.map((e) => ({+ value: e.value,+ coordinate: e.coordinate,+ offset: e.offset,+ index: e.index+ })),+ axisId: r,+ axisType: n+ })), () => {+ i(Upe({+ axisId: r,+ axisType: n+ }));+ }), [+ i,+ t,+ r,+ n+ ]), null;+}+var rme = /*#__PURE__*/ (0, E.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 = i8(c8(c8({}, b), {}, { ticks: n }), v, y), T = cI(b), D = lI(r), O = L4(T.textAnchor) ? T.textAnchor : $pe(u, d), k = eme(u, d), A = {};+ typeof i == "object" && (A = i);+ var j = c8(c8({}, T), {}, { fill: "none" }, A), M = w.map((e) => c8({ entry: e }, Qpe(e, f, p, m, h, u, g, d, _))), N = M.map((e) => {+ var { entry: t, line: n } = e;+ return /*#__PURE__*/ E.createElement(xI, {+ className: "recharts-cartesian-axis-tick",+ key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`+ }, i && /*#__PURE__*/ E.createElement("line", o8({}, j, n, { className: Sm("recharts-cartesian-axis-tick-line", tR(i, "className")) })));+ }), P = M.map((e, t) => {+ var { entry: n, tick: i } = e, u = c8(c8({}, c8(c8(c8(c8({ verticalAnchor: k }, T), {}, {+ textAnchor: O,+ stroke: "none",+ fill: a+ }, i), {}, {+ index: t,+ payload: n,+ visibleTicksCount: w.length,+ tickFormatter: o,+ padding: c+ }, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), D);+ return /*#__PURE__*/ E.createElement(xI, o8({+ className: "recharts-cartesian-axis-tick-label",+ key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`+ }, DR(x, n, t)), r && /*#__PURE__*/ E.createElement(tme, {+ option: r,+ tickProps: u,+ value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`+ }));});+ return /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ E.createElement(nme, {+ ticks: w,+ axisId: C,+ axisType: S+ }), P.length > 0 && /*#__PURE__*/ E.createElement(t4, { zIndex: dq.label }, /*#__PURE__*/ E.createElement("g", {+ className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,+ ref: t+ }, P)), N.length > 0 && /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, N));+}), ime = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = Kpe(e, Gpe), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(""), h = (0, E.useRef)(null);+ (0, E.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => Vpe({+ ticks: h.current,+ label: e.labelRef?.current,+ labelGapWithTick: 5,+ tickSize: e.tickSize,+ tickMargin: e.tickMargin+ }) }));+ var g = (0, E.useCallback)((e) => {+ if (e) {+ var t = e.getElementsByClassName("recharts-cartesian-axis-tick-value");+ h.current = t;+ var n = t[0];+ if (n) {+ var r = window.getComputedStyle(n), i = r.fontSize, a = r.letterSpacing;+ (i !== d || a !== p) && (f(i), m(a));+ }+ }+ }, [d, p]);+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ E.createElement(t4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xI, { className: Sm("recharts-cartesian-axis", a) }, /*#__PURE__*/ E.createElement(Zpe, {+ x: e.x,+ y: e.y,+ width: r,+ height: i,+ orientation: e.orientation,+ mirror: e.mirror,+ axisLine: n,+ otherSvgProps: cI(e)+ }), /*#__PURE__*/ E.createElement(rme, {+ ref: g,+ axisType: c,+ events: u,+ fontSize: d,+ getTicksConfig: e,+ height: e.height,+ letterSpacing: p,+ mirror: e.mirror,+ orientation: e.orientation,+ padding: e.padding,+ stroke: e.stroke,+ tick: e.tick,+ tickFormatter: e.tickFormatter,+ tickLine: e.tickLine,+ tickMargin: e.tickMargin,+ tickSize: e.tickSize,+ tickTextProps: e.tickTextProps,+ ticks: s,+ unit: e.unit,+ width: e.width,+ x: e.x,+ y: e.y,+ axisId: l+ }), /*#__PURE__*/ E.createElement(Z4, {+ x: e.x,+ y: e.y,+ width: e.width,+ height: e.height,+ lowerWidth: e.width,+ upperWidth: e.width+ }, /*#__PURE__*/ E.createElement(n3, {+ label: e.label,+ labelRef: e.labelRef+ }), e.children)));+}), u8 = /*#__PURE__*/ E.forwardRef((e, t) => {+ var n = kR(e, l8);+ return /*#__PURE__*/ E.createElement(ime, o8({}, n, { ref: t }));+});+u8.displayName = "CartesianAxis";+//#endregion+//#region node_modules/recharts/es6/cartesian/CartesianGrid.js+var ame = [+ "x1",+ "y1",+ "x2",+ "y2",+ "key"+], ome = ["offset"], sme = ["xAxisId", "yAxisId"], cme = ["xAxisId", "yAxisId"];+function d8(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-function GD({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 items-center gap-3",- children: [/* @__PURE__ */ (0, D.jsx)("button", {- type: "button",- "aria-label": `打开创作者页:${t}`,- onClick: () => i(e, t),- className: "relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",- dangerouslySetInnerHTML: { __html: r }- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex min-w-0 flex-col items-start",- children: [/* @__PURE__ */ (0, D.jsx)("button", {- type: "button",- onClick: () => i(e, t),- className: "max-w-full cursor-pointer truncate text-body-medium text-text-primary underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: t- }), n ? /* @__PURE__ */ (0, D.jsx)("small", {- className: "tabular-nums text-body-2-regular text-text-secondary",- children: `${n.toLocaleString()} 部作品`- }) : null]- })]- });+function f8(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? d8(Object(n), !0).forEach(function(t) {+ lme(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d8(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;}-function KD({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = VD(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));- return /* @__PURE__ */ (0, D.jsxs)("section", {- className: "flex flex-col gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)("h5", {- className: "text-body-medium text-text-primary",- children: `候选身份:${e.babepedia_name || "未标注"}`- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [o ? /* @__PURE__ */ (0, D.jsx)(sh, {- variant: "secondary",- size: "small",- trailingIcon: $f,- href: o,- target: "_blank",- rel: "noopener noreferrer",- children: "来源资料"- }) : null, /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- onClick: () => n("creator", e.creator || ""),- children: `查看全部 ${c.toLocaleString()} 部作品`- })]- }),- /* @__PURE__ */ (0, D.jsx)(UD, { url: e.preview_url }),- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: "通过后记录身份判断。"- }),- s.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("h5", {- className: "text-body-medium text-text-primary",- children: "本地作品样本"- }), /* @__PURE__ */ (0, D.jsx)("ul", {- className: "flex flex-col gap-1",- children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {- className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- className: "min-w-0",- onClick: () => t(e.id),- children: /* @__PURE__ */ (0, D.jsx)("span", {- title: e.name,- className: "block max-w-full truncate",- children: e.name- })- }), /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- "aria-label": `打开 ${e.name} 的文件位置`,- ...X(i === e.id),- onClick: () => r(e.id),- children: "文件位置"- })]- }, e.id))- })] }) : /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: "暂无本地作品样本,打开全部作品核对。"- }),- a ? /* @__PURE__ */ (0, D.jsx)("p", {- role: "status",- className: "text-body-2-regular text-text-error-primary",- children: a- }) : null- ]- });+function lme(e, t, n) {+ return (t = ume(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;}-function qD({ assets: e, picked: t, onPicked: n, locked: r }) {- let [i, a] = (0, E.useState)(null), o = new Set(t), s = (t, s) => {- if (r) return;- let c = new Set(o);- if (s && i !== null) {- let [n, r] = [Math.min(i, t), Math.max(i, t)];- for (let t = n; t <= r; t++) c.add(e[t].id);- } else {- let n = e[t].id;- c.has(n) ? c.delete(n) : c.add(n);+function ume(e) {+ var t = dme(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function dme(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function p8() {+ return p8 = 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]);}- a(t), n(e.filter((e) => c.has(e.id)).map((e) => e.id));- };- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)("span", {- className: "tabular-nums text-body-2-regular text-text-secondary",- children: `已选 ${o.size} / ${e.length}`- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- disabled: r,- onClick: () => n(e.map((e) => e.id)),- children: "全选"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- disabled: r,- onClick: () => n([]),- children: "清空"- })- ]- }), /* @__PURE__ */ (0, D.jsx)("div", {- className: "review-asset-grid gap-1.5",- children: e.map((e, t) => {- let n = o.has(e.id);- return /* @__PURE__ */ (0, D.jsxs)("button", {- type: "button",- "aria-pressed": n,- title: e.name,- onClick: (e) => s(t, e.shiftKey),- className: `relative aspect-card-cover cursor-pointer overflow-hidden rounded-surface bg-background-tertiary-default outline-none transition-opacity focus-visible:ring-2 focus-visible:ring-border-focus-ring ${n ? "opacity-100 ring-2 ring-border-button-active ring-inset" : "opacity-50"}`,- children: [- /* @__PURE__ */ (0, D.jsx)("img", {- src: `/poster?id=${e.id}&c=4`,- alt: "",- loading: "lazy",- className: "size-full object-cover"- }),- /* @__PURE__ */ (0, D.jsx)("span", {- className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, D.jsx)(nC, {- size: "sm",- state: {- isSelected: n,- isIndeterminate: !1,- isFocusVisible: !1,- isDisabled: r,- isHovered: !1- }- })- }),- /* @__PURE__ */ (0, D.jsx)(ss, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })- ]- }, e.id);- })- })]+ return e;+ }, p8.apply(null, arguments);+}+function m8(e, t) {+ if (e == null) return {};+ var n, r, i = fme(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 fme(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var pme = (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;+ return /*#__PURE__*/ E.createElement("rect", {+ x: r,+ y: i,+ ry: s,+ width: a,+ height: o,+ stroke: "none",+ fill: t,+ fillOpacity: n,+ className: "recharts-cartesian-grid-bg"+ });+};+function h8(e) {+ var { option: t, lineItemProps: n } = e, r;+ if (/*#__PURE__*/ E.isValidElement(t)) r = /*#__PURE__*/ E.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 = cI(m8(n, ame)) ?? {}, { offset: u } = l, d = m8(l, ome);+ r = /*#__PURE__*/ E.createElement("line", p8({}, d, {+ x1: i,+ y1: a,+ x2: o,+ y2: s,+ fill: "none",+ key: c+ }));+ }+ return r;+}+function mme(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 = m8(e, sme), c = i.map((e, i) => {+ var a = f8(f8({}, s), {}, {+ x1: t,+ y1: e,+ x2: t + n,+ y2: e,+ key: `line-${i}`,+ index: i+ });+ return /*#__PURE__*/ E.createElement(h8, {+ key: `line-${i}`,+ option: r,+ lineItemProps: a+ });+ });+ return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);+}+function hme(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 = m8(e, cme), c = i.map((e, i) => {+ var a = f8(f8({}, s), {}, {+ x1: e,+ y1: t,+ x2: e,+ y2: t + n,+ key: `line-${i}`,+ index: i+ });+ return /*#__PURE__*/ E.createElement(h8, {+ option: r,+ lineItemProps: a,+ key: `line-${i}`+ });});+ return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);+}+function gme(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);+ i !== l[0] && l.unshift(0);+ var u = l.map((e, s) => {+ var c = l[s + 1], u = c == null ? i + o - e : c - e;+ if (u <= 0) return null;+ var d = s % t.length;+ return /*#__PURE__*/ E.createElement("rect", {+ key: `react-${s}`,+ y: e,+ x: r,+ height: u,+ width: a,+ stroke: "none",+ fill: t[d],+ fillOpacity: n,+ className: "recharts-cartesian-grid-bg"+ });+ });+ return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);+}+function _me(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);+ i !== l[0] && l.unshift(0);+ var u = l.map((e, t) => {+ var c = l[t + 1], u = c == null ? i + o - e : c - e;+ if (u <= 0) return null;+ var d = t % n.length;+ return /*#__PURE__*/ E.createElement("rect", {+ key: `react-${t}`,+ x: e,+ y: a,+ width: u,+ height: s,+ stroke: "none",+ fill: n[d],+ fillOpacity: r,+ className: "recharts-cartesian-grid-bg"+ });+ });+ return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);+}+var vme = (e, t) => {+ var { xAxis: n, width: r, height: i, offset: a } = e;+ return xV(i8(f8(f8(f8({}, l8), n), {}, {+ ticks: SV(n, !0),+ viewBox: {+ x: 0,+ y: 0,+ width: r,+ height: i+ }+ })), a.left, a.left + a.width, t);+}, yme = (e, t) => {+ var { yAxis: n, width: r, height: i, offset: a } = e;+ return xV(i8(f8(f8(f8({}, l8), n), {}, {+ ticks: SV(n, !0),+ viewBox: {+ x: 0,+ y: 0,+ width: r,+ height: i+ }+ })), a.top, a.top + a.height, t);+}, bme = {+ horizontal: !0,+ vertical: !0,+ horizontalPoints: [],+ verticalPoints: [],+ stroke: "#ccc",+ fill: "none",+ verticalFill: [],+ horizontalFill: [],+ xAxisId: 0,+ yAxisId: 0,+ syncWithTicks: !1,+ zIndex: dq.grid+};+function g8(e) {+ var t = iH(), n = aH(), r = rH(), i = f8(f8({}, kR(e, bme)), {}, {+ 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 = HV(), h = Q((e) => L0(e, "xAxis", a, m)), g = Q((e) => L0(e, "yAxis", o, m));+ if (!gV(l) || !gV(u) || !Z(s) || !Z(c)) return null;+ var _ = i.verticalCoordinatesGenerator || vme, v = i.horizontalCoordinatesGenerator || yme, { horizontalPoints: y, verticalPoints: b } = i;+ if ((!y || !y.length) && typeof v == "function") {+ var x = f && f.length, S = v({+ yAxis: g ? f8(f8({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,+ width: t ?? l,+ height: n ?? u,+ offset: r+ }, x ? !0 : d);+ GV(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 = _({+ xAxis: h ? f8(f8({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,+ width: t ?? l,+ height: n ?? u,+ offset: r+ }, C ? !0 : d);+ GV(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);+ }+ return /*#__PURE__*/ E.createElement(t4, { zIndex: i.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ E.createElement(pme, {+ fill: i.fill,+ fillOpacity: i.fillOpacity,+ x: i.x,+ y: i.y,+ width: i.width,+ height: i.height,+ ry: i.ry+ }), /*#__PURE__*/ E.createElement(gme, p8({}, i, { horizontalPoints: y })), /*#__PURE__*/ E.createElement(_me, p8({}, i, { verticalPoints: b })), /*#__PURE__*/ E.createElement(mme, p8({}, i, {+ offset: r,+ horizontalPoints: y,+ xAxis: h,+ yAxis: g+ })), /*#__PURE__*/ E.createElement(hme, p8({}, i, {+ offset: r,+ verticalPoints: b,+ xAxis: h,+ yAxis: g+ }))));}+g8.displayName = "CartesianGrid";//#endregion-//#region src/react/review/review-card.tsx-var JD = vh({- variant: "outlined",- padding: "none",- className: "flex flex-col gap-4 px-5 pt-4"-}), YD = "flex min-h-6 min-w-0 items-center", XD = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function ZD(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, E.useRef)(!1), m = Mb(), h = Mb(), g = t === "metadata_fields", _ = lD[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = yD(t, n), x = vD(t, n), S = _D(t, n), C = bD(n), w = xD(n), T = gD(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-col gap-3",- children: O.map((e) => /* @__PURE__ */ (0, D.jsx)(WD, {- asset: e,- openItem: f.openItem- }, e.id))- }) : y ? /* @__PURE__ */ (0, D.jsx)(GD, {- kind: _,- name: v,- works: Number(n.video_count || n.videos || 0),- openEntity: f.openEntity,- avatar: f.avatarInner(v, n.entity_id ? {- id: n.entity_id,- has_image: !!n.has_image,- avatar_focus: n.avatar_focus- } : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)(WD, {- openItem: f.openItem,- asset: {- id: n.asset_id,- name: n.asset_name,- preview_url: n.asset_preview_url+//#region node_modules/recharts/es6/state/errorBarSlice.js+var _8 = BB({+ name: "errorBars",+ initialState: {},+ reducers: {+ addErrorBar: (e, t) => {+ var { itemId: n, errorBar: r } = t.payload;+ e[n] || (e[n] = []), e[n].push(r);+ },+ replaceErrorBar: (e, t) => {+ var { itemId: n, prev: r, next: i } = t.payload;+ e[n] && (e[n] = e[n].map((e) => e.dataKey === r.dataKey && e.direction === r.direction ? i : e));+ },+ removeErrorBar: (e, t) => {+ var { itemId: n, errorBar: r } = t.payload;+ e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));}- }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(RD, {- row: n,- fieldName: x,- value: r.candidateKey,- onChange: (e) => i({- ...r,- candidateKey: e- }),- locked: s- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(qD, {- assets: k,- picked: r.assets,- locked: s,- onPicked: (e) => i({- ...r,- assets: e- })- }) : /* @__PURE__ */ (0, D.jsx)(bh, {- shell: "inset",- icon: ap,- title: "这批作品尚未抽帧",- children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(KD, {- row: n,- openItem: f.openItem,- openEntity: f.openEntity,- onReveal: f.onReveal,- revealing: f.revealing,- note: f.revealNote- }) : /* @__PURE__ */ (0, D.jsx)(UD, { url: n.preview_url }), ee = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {- className: `${YD} flex-wrap gap-2`,- children: [/* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: "blue",- children: x- }), /* @__PURE__ */ (0, D.jsx)("span", {- title: S,- className: "min-w-0 truncate text-body-medium text-text-primary",- children: S- })]- }) : /* @__PURE__ */ (0, D.jsx)("h4", {- className: YD,- children: /* @__PURE__ */ (0, D.jsx)("span", {- title: b,- className: "min-w-0 truncate text-body-medium text-text-primary",- children: b- })- });- return /* @__PURE__ */ (0, D.jsxs)("section", {- "aria-label": b,- "data-review-key": n.item_key,- className: `${JD} ${XD(t)} overflow-hidden`,- children: [- /* @__PURE__ */ (0, D.jsxs)("header", {- className: "flex min-w-0 shrink-0 items-start gap-2",- children: [- s ? null : /* @__PURE__ */ (0, D.jsx)("span", {- className: `${YD} shrink-0`,- onPointerDownCapture: (e) => {- p.current = e.shiftKey;- },- onKeyDownCapture: (e) => {- p.current = e.shiftKey;- },- children: /* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: a,- "aria-label": `选择 ${b}`,- onChange: (e) => o(p.current, e)- })- }),- /* @__PURE__ */ (0, D.jsx)("div", {- className: "min-w-0 flex-1",- children: ee- }),- A ? /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: "neutral",- children: n.decision- }) : null- ]- }),- /* @__PURE__ */ (0, D.jsx)("div", {- className: "relative flex min-w-0 min-h-0 flex-1 flex-col",- children: /* @__PURE__ */ (0, D.jsxs)("div", {- ref: m,- className: "flex min-w-0 min-h-0 flex-1 flex-col gap-3 overflow-y-auto",- children: [- n.source_name ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: `来源写法:${n.source_name}`- }) : null,- !y && (n.board || n.assets) ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: `样本/资产:${n.video_count || n.assets || ""}`- }) : null,- !y && j ? j : null,- w.length || t === "creator_tags" ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "flex flex-wrap gap-1",- children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(ah, {- variant: "caption",- color: "soft",- children: e- }, e)) : /* @__PURE__ */ (0, D.jsx)("small", {- className: "text-body-2-regular text-text-secondary",- children: "暂无候选标签"- })- }) : null,- M,- /* @__PURE__ */ (0, D.jsx)(BD, {- row: n,- tags: u,- locked: s,- toast: f.toast- }),- !g && C ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: C- }) : null- ]- })- }),- g && C ? /* @__PURE__ */ (0, D.jsx)("div", {- className: "relative -mx-5 shrink-0",- children: /* @__PURE__ */ (0, D.jsx)("p", {- ref: h,- role: "region",- "aria-label": "当前信息",- className: "max-h-22 overflow-y-auto border-t border-separator-border px-5 py-2.5 text-body-2-regular text-text-secondary",- children: C- })- }) : null,- /* @__PURE__ */ (0, D.jsxs)("footer", {- className: "-mx-5 flex min-h-14 shrink-0 flex-wrap items-center justify-end gap-2 rounded-b-surface border-t border-separator-border bg-background-secondary-default py-3 pr-3 pl-5",- children: [- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "danger",- size: "small",- disabled: s,- ...X(c),- onClick: () => d("rejected"),- children: "拒绝"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: s,- ...X(c),- onClick: () => d("skipped"),- children: "跳过"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "primary",- size: "small",- disabled: s || !T,- ...X(c),- onClick: () => d("approved"),- children: T ? "通过" : "已跳过"- }),- l ? /* @__PURE__ */ (0, D.jsx)("p", {- role: "status",- className: "w-full text-body-2-regular text-text-error-primary",- children: l- }) : null- ]- })- ]- });+ }+}), { addErrorBar: xme, replaceErrorBar: Sme, removeErrorBar: Cme } = _8.actions, wme = _8.reducer, Tme = ["children"];+function Eme(e, t) {+ if (e == null) return {};+ var n, r, i = Dme(e, t);+ if (Object.getOwnPropertySymbols) {+ var a = Object.getOwnPropertySymbols(e);+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);+ }+ return i;+}+function Dme(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var Ome = /*#__PURE__*/ (0, E.createContext)({+ data: [],+ xAxisId: "xAxis-0",+ yAxisId: "yAxis-0",+ dataPointFormatter: () => ({+ x: 0,+ y: 0,+ value: 0+ }),+ errorBarOffset: 0+});+function v8(e) {+ var { children: t } = e, n = Eme(e, Tme);+ return /*#__PURE__*/ E.createElement(Ome.Provider, { value: n }, t);}//#endregion-//#region src/react/review/review-page.tsx-var QD = "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 $D({ page: e, pages: t, onPage: n }) {- return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {- "aria-label": "复核分页",- className: "flex w-full flex-wrap items-center justify-between gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: e <= 1,- onClick: () => n(e - 1),- children: "上一页"- }),- /* @__PURE__ */ (0, D.jsx)("ul", {- className: "flex flex-wrap items-center gap-1",- children: wx(e, t).map((t, r) => /* @__PURE__ */ (0, D.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "px-1 text-body-2-regular text-text-tertiary",- children: "…"- }) : /* @__PURE__ */ (0, D.jsx)(K, {- variant: t === e ? "secondary" : "ghost",- size: "small",- "aria-label": `第 ${t} 页`,- "aria-current": t === e ? "page" : void 0,- onClick: () => n(Number(t)),- children: t- }) }, t === "…" ? `dots-${r}` : t))- }),- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- size: "small",- disabled: e >= t,- onClick: () => n(e + 1),- children: "下一页"- })- ]- });+//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js+function y8(e, t) {+ var n = Q((t) => B$(t, e)), r = Q((e) => U$(e, t)), i = n?.allowDataOverflow ?? R$.allowDataOverflow, a = r?.allowDataOverflow ?? V$.allowDataOverflow;+ return {+ needClip: i || a,+ needClipX: i,+ needClipY: a+ };+}+function b8(e) {+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = d6(), { needClipX: a, needClipY: o, needClip: s } = y8(t, n);+ if (!s || !i) return null;+ var { x: c, y: l, width: u, height: d } = i;+ return /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ E.createElement("rect", {+ x: a ? c : c - u / 2,+ y: o ? l : l - d / 2,+ width: a ? u : u * 2,+ height: o ? d : d * 2+ }));+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/lineSelectors.js+var x8 = (e, t, n, r) => H0(e, "xAxis", t, r), S8 = (e, t, n, r) => V0(e, "xAxis", t, r), C8 = (e, t, n, r) => H0(e, "yAxis", n, r), w8 = (e, t, n, r) => V0(e, "yAxis", n, r), kme = $([+ oH,+ x8,+ C8,+ S8,+ w8+], (e, t, n, r, i) => bV(e, "xAxis") ? AV(t, r, !1) : AV(n, i, !1)), Ame = (e, t, n, r, i) => i;+function jme(e) {+ return e.type === "line";+}+var Mme = $([+ oH,+ x8,+ C8,+ S8,+ w8,+ $([Z$, Ame], (e, t) => e.filter(jme).find((e) => e.id === t)),+ kme,+ RK+], (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 Qme({+ layout: e,+ xAxis: t,+ yAxis: n,+ xAxisTicks: r,+ yAxisTicks: i,+ dataKey: d,+ bandSize: o,+ displayedData: p+ });+ }+});+//#endregion+//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js+function T8(e) {+ var t = lI(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), {+ r: o,+ strokeWidth: s+ };+ }+ return {+ r: n,+ strokeWidth: r+ };+}+//#endregion+//#region node_modules/recharts/es6/cartesian/Line.js+var Nme = ["id"], Pme = [+ "type",+ "layout",+ "connectNulls",+ "needClip",+ "shape"+], Fme = [+ "activeDot",+ "animateNewValues",+ "animationBegin",+ "animationDuration",+ "animationEasing",+ "connectNulls",+ "dot",+ "hide",+ "isAnimationActive",+ "label",+ "legendType",+ "xAxisId",+ "yAxisId",+ "id"+];+function E8() {+ return E8 = 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;+ }, E8.apply(null, arguments);+}+function D8(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function O8(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? D8(Object(n), !0).forEach(function(t) {+ Ime(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D8(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function Ime(e, t, n) {+ return (t = Lme(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Lme(e) {+ var t = Rme(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Rme(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function k8(e, t) {+ if (e == null) return {};+ var n, r, i = zme(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 zme(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var Bme = (e) => {+ var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;+ return [{+ inactive: a,+ dataKey: t,+ type: i,+ color: r,+ value: MV(n, t),+ payload: e+ }];+}, Vme = /*#__PURE__*/ E.memo((e) => {+ var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {+ dataDefinedOnItem: n,+ getPosition: yR,+ settings: {+ stroke: r,+ strokeWidth: i,+ fill: a,+ dataKey: t,+ nameKey: void 0,+ name: MV(o, t),+ hide: s,+ type: l,+ color: r,+ unit: c,+ graphicalItemId: u+ }+ };+ return /*#__PURE__*/ E.createElement($3, { tooltipEntrySettings: d });+}), A8 = (e, t) => `${t}px ${e}px`;+function Hme(e, t) {+ for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);+ return r;}-function eO(e) {- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, E.useState)(cD(e.category) ? e.category : sD), [f, p] = (0, E.useState)("candidates"), [m, h] = (0, E.useState)(""), [g, _] = (0, E.useState)(1), [v, y] = (0, E.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, E.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, E.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, E.useState)(""), O = (0, E.useRef)(null), [k, A] = (0, E.useState)(0), [j, M] = (0, E.useState)(""), ee = (0, E.useRef)(!0);- (0, E.useEffect)(() => () => {- ee.current = !1;- }, []);- let te = mt({- queryKey: iD,- queryFn: ({ signal: e }) => ED(e)- }).data || {- sections: {},- counts: {}- }, N = te.sections[u] || [], P = u === "metadata_fields", ne = s, re = uD(N, P), F = re.some(([e]) => e === f) ? f : "candidates", ie = dD(N, F), ae = ie.some((e) => e.key === m) ? m : "", oe = pD(fD(N, F, ae), g), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({- ...e,- rows: e.rows.filter((e) => ce.has(e.item_key))- })).filter((e) => e.rows.length), ue = (e) => b.get(e.item_key) || CD(e), de = N.filter((e) => v.has(e.item_key)), fe = (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))));- }, I = (e, t) => C((n) => new Map(n).set(e, t)), pe = (e) => {- d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), O.current = null, t({ category: e === "metadata_fields" ? "" : e });- }, me = ht({- mutationFn: ({ row: e, status: t }) => DD(wD(u, e, t, ue(e))),- onSuccess: (e, { row: t, status: n }) => {- if (!e.ok) {- I(t.item_key, e.error || "服务端拒绝了这次判定");- return;- }- AD(u, [t.item_key]), fe([t.item_key]), o(TD(n));- },- onError: (e, { row: t }) => I(t.item_key, q(e))- }), he = ht({- mutationFn: async (e) => {- let t = de, n = [], r = [];- for (let [i, a] of t.entries()) {- if (!ee.current) break;- T(`正在处理 ${i} / ${t.length}`);- try {- let t = await DD(wD(u, a, e, ue(a)));- if (!t.ok) throw Error(t.error || "服务端未采用该项");- n.push(a.item_key);- } catch (e) {- r.push([a.item_key, q(e)]);+var Ume = (e, t, n) => {+ var r = n.reduce((e, t) => e + t, 0);+ if (!r) return A8(t, e);+ for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {+ var l, u = n[s];+ if (u != null && c + u > a) {+ o = [...n.slice(0, s), a - c];+ break;+ }+ }+ var d = o.length % 2 == 0 ? [0, t] : [t];+ return [+ ...Hme(n, i),+ ...o,+ ...d+ ].map((e) => `${e}px`).join(", ");+};+function Wme(e) {+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = cI(k8(r, Nme));+ return /*#__PURE__*/ E.createElement(s6, {+ points: n,+ dot: i,+ className: "recharts-line-dots",+ dotClassName: "recharts-line-dot",+ dataKey: a,+ baseProps: c,+ needClip: o,+ clipPathId: t+ });+}+function Gme(e) {+ var { showLabels: t, children: n, points: r } = e, i = (0, E.useMemo)(() => r?.map((e) => {+ var t = {+ x: e.x ?? 0,+ y: e.y ?? 0,+ width: 0,+ lowerWidth: 0,+ upperWidth: 0,+ height: 0+ };+ return O8(O8({}, t), {}, {+ value: e.value,+ payload: e.payload,+ viewBox: t,+ parentViewBox: void 0,+ fill: void 0+ });+ }), [r]);+ return /*#__PURE__*/ E.createElement(o3, { value: t ? i : void 0 }, n);+}+function j8(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 = O8(O8({}, uI(k8(a, Pme))), {}, {+ fill: "none",+ className: "recharts-line-curve",+ clipPath: l ? `url(#clipPath-${t})` : void 0,+ points: r,+ type: o,+ layout: s,+ connectNulls: c,+ strokeDasharray: i ?? a.strokeDasharray+ });+ return /*#__PURE__*/ E.createElement(E.Fragment, null, r?.length > 1 && /*#__PURE__*/ E.createElement(Y3, E8({+ shapeType: "curve",+ option: u+ }, d, { pathRef: n })), /*#__PURE__*/ E.createElement(Wme, {+ points: r,+ clipPathId: t,+ props: a+ }));+}+function Kme(e) {+ try {+ return e && e.getTotalLength && e.getTotalLength() || 0;+ } catch {+ return 0;+ }+}+function qme(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 = AG(o, "recharts-line-"), y = (0, E.useRef)(v), [b, x] = (0, E.useState)(!1), S = !b, C = (0, E.useCallback)(() => {+ typeof h == "function" && h(), x(!1);+ }, [h]), w = (0, E.useCallback)(() => {+ typeof g == "function" && g(), x(!0);+ }, [g]), T = Kme(r.current), D = (0, E.useRef)(0);+ y.current !== v && (D.current = a.current, y.current = v);+ var O = D.current;+ return /*#__PURE__*/ E.createElement(Gme, {+ points: o,+ showLabels: S+ }, n.children, /*#__PURE__*/ E.createElement(kG, {+ animationId: v,+ begin: l,+ duration: u,+ isActive: c,+ easing: d,+ onAnimationEnd: C,+ onAnimationStart: w,+ key: v+ }, (e) => {+ var l = mR(O, T + O, e), u = Math.min(l, T), d = c ? s ? Ume(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : A8(T, u) : s == null ? void 0 : String(s);+ if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {+ var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {+ var r = Math.floor(n * h);+ if (_[r]) {+ var i = _[r];+ return O8(O8({}, t), {}, {+ x: mR(i.x, t.x, e),+ y: mR(i.y, t.y, e)+ });}- }- return {- status: e,- done: n,- failures: r- };- },- onSuccess: ({ status: e, done: t, failures: n }) => {- AD(u, t), fe(t), n.forEach(([e, t]) => I(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));- },- onError: (e) => {- T(q(e));+ return f ? O8(O8({}, t), {}, {+ x: mR(p * 2, t.x, e),+ y: mR(m / 2, t.y, e)+ }) : O8(O8({}, t), {}, {+ x: t.x,+ y: t.y+ });+ });+ return i.current = g, /*#__PURE__*/ E.createElement(j8, {+ props: n,+ points: g,+ clipPathId: t,+ pathRef: r,+ strokeDasharray: d+ });}- }), ge = (e) => {- if (!(he.isPending || !de.length)) {- if (e === "approved" && P && de.some((e) => !ue(e).candidateKey)) {- T("先为所选的多来源候选选择来源。");- return;+ return /*#__PURE__*/ E.createElement(j8, {+ props: n,+ points: o,+ clipPathId: t,+ pathRef: r,+ strokeDasharray: d+ });+ }), /*#__PURE__*/ E.createElement(l3, { label: n.label }));+}+function Jme(e) {+ var { clipPathId: t, props: n } = e, r = (0, E.useRef)(null), i = (0, E.useRef)(0), a = (0, E.useRef)(null);+ return /*#__PURE__*/ E.createElement(qme, {+ props: n,+ clipPathId: t,+ previousPointsRef: r,+ longestAnimatedLengthRef: i,+ pathRef: a+ });+}+var Yme = (e, t) => ({+ x: e.x ?? void 0,+ y: e.y ?? void 0,+ value: e.value,+ errorVal: yV(e.payload, t)+}), Xme = class extends E.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 = Sm("recharts-line", r), m = u, { r: h, strokeWidth: g } = T8(t), _ = B3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;+ return /*#__PURE__*/ E.createElement(t4, { zIndex: f }, /*#__PURE__*/ E.createElement(xI, { className: p }, d && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(b8, {+ clipPathId: m,+ xAxisId: i,+ yAxisId: a+ }), !_ && /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-dots-${m}` }, /*#__PURE__*/ E.createElement("rect", {+ x: s - v / 2,+ y: o - v / 2,+ width: c + v,+ height: l + v+ }))), /*#__PURE__*/ E.createElement(v8, {+ xAxisId: i,+ yAxisId: a,+ data: n,+ dataPointFormatter: Yme,+ errorBarOffset: 0+ }, /*#__PURE__*/ E.createElement(Jme, {+ props: this.props,+ clipPathId: m+ }))), /*#__PURE__*/ E.createElement(m6, {+ activeDot: this.props.activeDot,+ points: n,+ mainColor: this.props.stroke,+ itemDataKey: this.props.dataKey,+ clipPath: y+ }));+ }+}, M8 = {+ activeDot: !0,+ animateNewValues: !0,+ animationBegin: 0,+ animationDuration: 1500,+ animationEasing: "ease",+ connectNulls: !1,+ dot: !0,+ fill: "#fff",+ hide: !1,+ isAnimationActive: "auto",+ label: !1,+ legendType: "line",+ stroke: "#3182bd",+ strokeWidth: 1,+ xAxisId: 0,+ yAxisId: 0,+ zIndex: dq.line,+ type: "linear"+};+function Zme(e) {+ var t = kR(e, M8), { 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 = k8(t, Fme), { needClip: _ } = y8(p, m), v = d6(), y = sH(), b = HV(), x = Q((e) => Mme(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__*/ E.createElement(Xme, E8({}, g, {+ id: h,+ connectNulls: s,+ dot: c,+ activeDot: n,+ animateNewValues: r,+ animationBegin: i,+ animationDuration: a,+ animationEasing: o,+ isAnimationActive: u,+ hide: l,+ label: d,+ legendType: f,+ xAxisId: p,+ yAxisId: m,+ points: x,+ layout: y,+ height: S,+ width: C,+ left: w,+ top: T,+ needClip: _+ }));+}+function Qme(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 = yV(e, o);+ if (t === "horizontal") return {+ x: TV({+ axis: n,+ ticks: i,+ bandSize: s,+ entry: e,+ index: c+ }),+ y: (gR(l) ? null : r.scale.map(l)) ?? null,+ value: l,+ payload: e+ };+ var u = gR(l) ? null : n.scale.map(l), d = TV({+ axis: r,+ ticks: a,+ bandSize: s,+ entry: e,+ index: c+ });+ return u == null || d == null ? null : {+ x: u,+ y: d,+ value: l,+ payload: e+ };+ }).filter(Boolean);+}+function $me(e) {+ var t = kR(e, M8), n = HV();+ return /*#__PURE__*/ E.createElement(t6, {+ id: t.id,+ type: "line"+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(e6, { legendPayload: Bme(t) }), /*#__PURE__*/ E.createElement(Vme, {+ dataKey: t.dataKey,+ data: t.data,+ stroke: t.stroke,+ strokeWidth: t.strokeWidth,+ fill: t.fill,+ name: t.name,+ hide: t.hide,+ unit: t.unit,+ tooltipType: t.tooltipType,+ id: e+ }), /*#__PURE__*/ E.createElement(r6, {+ type: "line",+ id: e,+ data: t.data,+ xAxisId: t.xAxisId,+ yAxisId: t.yAxisId,+ zAxisId: 0,+ dataKey: t.dataKey,+ hide: t.hide,+ isPanorama: n+ }), /*#__PURE__*/ E.createElement(Zme, E8({}, t, { id: e }))));+}+var N8 = /*#__PURE__*/ E.memo($me, EU);+N8.displayName = "Line";+//#endregion+//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js+function P8(e, t) {+ return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;+}+function F8(e, t) {+ return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;+}+//#endregion+//#region node_modules/recharts/es6/state/selectors/areaSelectors.js+var I8 = (e, t, n) => H0(e, "xAxis", P8(e, t), n), L8 = (e, t, n) => V0(e, "xAxis", P8(e, t), n), R8 = (e, t, n) => H0(e, "yAxis", F8(e, t), n), z8 = (e, t, n) => V0(e, "yAxis", F8(e, t), n), ehe = $([+ oH,+ I8,+ R8,+ L8,+ z8+], (e, t, n, r, i) => bV(e, "xAxis") ? AV(t, r, !1) : AV(n, i, !1)), B8 = $([Z$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), V8 = (e) => bV(oH(e), "xAxis") ? "yAxis" : "xAxis", the = (e, t) => V8(e) === "yAxis" ? F8(e, t) : P8(e, t), nhe = $([+ oH,+ I8,+ R8,+ L8,+ z8,+ $([B8, (e, t, n) => x1(e, V8(e), the(e, t), n)], (e, t) => {+ if (e != null && t != null) {+ var { stackId: n } = e, r = Iq(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]]);}- T(""), he.mutate(e);}- }, _e = (e) => {- x((t) => {- let n = new Map(t);- for (let t of de) {- let r = t.candidates?.find((t) => t.source === e);- r && n.set(t.item_key, {- ...ue(t),- candidateKey: r.candidate_key- });- }- return n;- }), T(`已选择 ${e},点击通过所选采用。`);- }, ve = async (e) => {- if (k) return;- A(e), M("");- let t = await i(e);- ee.current && (A(0), M(t));- }, ye = MD(te.mirror, c), be = te.genre_tags || [], xe = {- openItem: n,- openEntity: r,- onReveal: ve,- revealing: k,- revealNote: j,- avatarInner: a,- toast: o+ }),+ zK,+ ehe,+ B8,+ uq+], (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 She({+ layout: e,+ xAxis: t,+ yAxis: n,+ xAxisTicks: r,+ yAxisTicks: i,+ dataStartIndex: d,+ areaSettings: c,+ stackedData: a,+ displayedData: m,+ chartBaseValue: l,+ bandSize: s+ });+ }+}), rhe = ["id"], ihe = [+ "activeDot",+ "animationBegin",+ "animationDuration",+ "animationEasing",+ "connectNulls",+ "dot",+ "fill",+ "fillOpacity",+ "hide",+ "isAnimationActive",+ "legendType",+ "stroke",+ "xAxisId",+ "yAxisId"+];+function H8() {+ return H8 = 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;+ }, H8.apply(null, arguments);+}+function U8(e, t) {+ if (e == null) return {};+ var n, r, i = ahe(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 ahe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function W8(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function G8(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? W8(Object(n), !0).forEach(function(t) {+ ohe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W8(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function ohe(e, t, n) {+ return (t = she(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function she(e) {+ var t = che(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function che(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function K8(e, t) {+ return e && e !== "none" ? e : t;+}+var lhe = (e) => {+ var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;+ return [{+ inactive: o,+ dataKey: t,+ type: a,+ color: K8(r, i),+ value: MV(n, t),+ payload: e+ }];+}, uhe = /*#__PURE__*/ E.memo((e) => {+ var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {+ dataDefinedOnItem: n,+ getPosition: yR,+ settings: {+ stroke: r,+ strokeWidth: i,+ fill: a,+ dataKey: t,+ nameKey: void 0,+ name: MV(o, t),+ hide: s,+ type: l,+ color: K8(r, a),+ unit: c,+ graphicalItemId: u+ }};- return /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-5 pb-10",- children: [- ne ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "本机只能浏览",- extra: l ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular",- children: /* @__PURE__ */ (0, D.jsx)("a", {- href: l,- className: "text-text-primary underline underline-offset-2",- children: "前往写入端复核"- })- }) : void 0,- children: ye- }) : null,- /* @__PURE__ */ (0, D.jsx)(ID, { tags: be }),- /* @__PURE__ */ (0, D.jsxs)($y, {- selectedKey: u,- onSelectionChange: (e) => {- let t = String(e);- cD(t) && pe(t);- },- className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "w-full rounded-surface bg-background-primary-default px-2 py-4 review-split:sticky review-split:top-topbar review-split:w-review-tabs review-split:shrink-0",- children: [/* @__PURE__ */ (0, D.jsx)("h2", {- id: "reviewcategories",- className: "px-3 pb-3 text-caption-1-regular text-text-secondary",- children: "复核分类"- }), /* @__PURE__ */ (0, D.jsx)(tb, {- "aria-labelledby": "reviewcategories",- className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",- children: oD.map((e) => {- let t = Number(te.counts[e] || 0);- return /* @__PURE__ */ (0, D.jsxs)(rb, {- id: e,- className: QD,- children: [aD[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "tabular-nums text-caption-1-medium text-text-secondary",- children: t.toLocaleString()- }) : null]- }, e);- })- })]- }), /* @__PURE__ */ (0, D.jsxs)(ib, {- id: u,- className: "flex min-w-0 flex-1 flex-col gap-5",- children: [- N.length && !ne ? /* @__PURE__ */ (0, D.jsx)(ND, {- groupOptions: re,- groupBy: F,- onGroupBy: (e) => {- p(e), h(""), _(1);- },- groups: ie,- filter: ae,- onFilter: (e) => {- h(e), _(1);- },- pageKeys: se,- selected: v,- onSelected: y,- selectedRows: de,- metadata: P,- approvable: de.every((e) => gD(u, e)),- busy: he.isPending,- feedback: w,- onUnifySource: _e,- onRun: ge- }) : null,- oe.rows.length ? le.map((e) => /* @__PURE__ */ (0, D.jsxs)("section", {- className: "flex flex-col gap-3",- children: [le.length > 1 || F !== "candidates" ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-body-medium text-text-primary",- children: `${e.title} · ${e.rows.length}`- }), ne ? null : /* @__PURE__ */ (0, D.jsx)(K, {- variant: "ghost",- size: "small",- onClick: () => {- let t = e.rows.map((e) => e.item_key), n = t.every((e) => v.has(e)), r = new Set(v);- for (let e of t) n ? r.delete(e) : r.add(e);- y(r);- },- children: e.rows.every((e) => v.has(e.item_key)) ? "清空本组" : "全选本组"- })]- }) : null, /* @__PURE__ */ (0, D.jsx)("div", {- className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(ZD, {- category: u,- row: e,- choice: ue(e),- onChoice: (t) => x((n) => new Map(n).set(e.item_key, t)),- selected: v.has(e.item_key),- onSelect: (t, n) => y((r) => {- let i = new Set(r);- return O.current = hD(i, se, O.current, e.item_key, t, n), i;- }),- locked: ne,- busy: me.isPending && me.variables?.row.item_key === e.item_key,- problem: S.get(e.item_key) || "",- genreTags: be,- onDecide: (t) => {- me.isPending || he.isPending || (C((t) => new Map([...t].filter(([t]) => t !== e.item_key))), me.mutate({- row: e,- status: t- }));- },- handlers: xe- }, e.item_key))- })]- }, e.key)) : /* @__PURE__ */ (0, D.jsx)(bh, {- icon: Jf,- title: "暂无候选",- children: "该分类当前没有待人工复核的项目。"- }),- /* @__PURE__ */ (0, D.jsx)($D, {- page: oe.page,- pages: oe.pages,- onPage: _- })- ]- })]- })- ]- }) });+ return /*#__PURE__*/ E.createElement($3, { tooltipEntrySettings: d });+});+function dhe(e) {+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = cI(r);+ return /*#__PURE__*/ E.createElement(s6, {+ points: n,+ dot: a,+ className: "recharts-area-dots",+ dotClassName: "recharts-area-dot",+ dataKey: o,+ baseProps: s,+ needClip: i,+ clipPathId: t+ });+}+function fhe(e) {+ var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {+ var t = {+ x: e.x ?? 0,+ y: e.y ?? 0,+ width: 0,+ lowerWidth: 0,+ upperWidth: 0,+ height: 0+ };+ return G8(G8({}, t), {}, {+ value: e.value,+ payload: e.payload,+ parentViewBox: void 0,+ viewBox: t,+ fill: void 0+ });+ });+ return /*#__PURE__*/ E.createElement(o3, { value: t ? i : void 0 }, n);}-//#endregion-//#region src/react/scraping/scraping.ts-var tO = "/api/scraping", nO = "/api/scraping/settings", rO = "/api/scraping/check", iO = "/api/scraping/cover", aO = "/api/scraping/amane-bridge", oO = "/api/scraping/amane-bridge/check", sO = "/api/scraping/amane-bridge/rebuild", cO = ["scraping"], lO = ["scraping", "cover"], uO = ["scraping", "amane-bridge"], dO = (e) => uh(tO, e), fO = (e) => uh(iO, e), pO = (e) => uh(aO, e);-async function mO(e) {- await Promise.all([- Th.fetchQuery({- queryKey: cO,- queryFn: () => dO(e)- }),- Th.fetchQuery({- queryKey: lO,- queryFn: () => fO(e)- }),- Th.fetchQuery({- queryKey: uO,- queryFn: () => pO(e)- })- ]);+function q8(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 = U8(a, rhe), p = cI(f), m = uI(f);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, t?.length > 1 && /*#__PURE__*/ E.createElement(xI, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ E.createElement(MW, H8({}, m, {+ id: d,+ points: t,+ connectNulls: l,+ type: s,+ baseLine: n,+ layout: o,+ stroke: "none",+ className: "recharts-area-area"+ })), c !== "none" && /*#__PURE__*/ E.createElement(MW, H8({}, p, {+ className: "recharts-area-curve",+ layout: o,+ type: s,+ connectNulls: l,+ fill: "none",+ points: t+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ E.createElement(MW, H8({}, p, {+ className: "recharts-area-curve",+ layout: o,+ type: s,+ connectNulls: l,+ fill: "none",+ points: n+ }))), /*#__PURE__*/ E.createElement(dhe, {+ points: t,+ props: f,+ clipPathId: i+ }));}-function hO(e, t) {- return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");+function phe(e) {+ var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;+ if (!hV(a) || !hV(o)) return null;+ var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));+ return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ E.createElement("rect", {+ x: 0,+ y: a < o ? a : a - s,+ width: c + (i ? parseInt(`${i}`, 10) : 1),+ height: Math.floor(s)+ }) : null;}-//#endregion-//#region src/react/scraping/scraping-page.tsx-var gO = [["peach", "Peach 代理"], ["direct", "直接连接"]], _O = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function vO({ source: e }) {- return /* @__PURE__ */ (0, D.jsx)("img", {- src: a({ source: e }),- alt: "",- width: 16,- height: 16,- loading: "lazy",- onError: (e) => e.currentTarget.remove(),- className: "size-4 shrink-0 rounded-sm object-contain"+function mhe(e) {+ var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;+ if (!hV(a) || !hV(o)) return null;+ var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));+ return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ E.createElement("rect", {+ x: a < o ? a : a - s,+ y: 0,+ width: s,+ height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))+ }) : null;+}+function hhe(e) {+ var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;+ return n === "vertical" ? /*#__PURE__*/ E.createElement(phe, {+ alpha: t,+ points: r,+ baseLine: i,+ strokeWidth: a+ }) : /*#__PURE__*/ E.createElement(mhe, {+ alpha: t,+ points: r,+ baseLine: i,+ strokeWidth: a+ });+}+function ghe(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 = AG((0, E.useMemo)(() => ({+ points: o,+ baseLine: s+ }), [o, s]), "recharts-area-"), h = cH(), [g, _] = (0, E.useState)(!1), v = !g, y = (0, E.useCallback)(() => {+ typeof p == "function" && p(), _(!1);+ }, [p]), b = (0, E.useCallback)(() => {+ typeof f == "function" && f(), _(!0);+ }, [f]);+ if (h == null) return null;+ var x = i.current, S = a.current;+ return /*#__PURE__*/ E.createElement(fhe, {+ showLabels: v,+ points: o+ }, r.children, /*#__PURE__*/ E.createElement(kG, {+ animationId: m,+ begin: l,+ duration: u,+ isActive: c,+ easing: d,+ onAnimationEnd: y,+ onAnimationStart: b,+ key: m+ }, (e) => {+ if (x) {+ var l = x.length / o.length, u = e === 1 ? o : o.map((t, n) => {+ var r = Math.floor(n * l);+ if (x[r]) {+ var i = x[r];+ return G8(G8({}, t), {}, {+ x: mR(i.x, t.x, e),+ y: mR(i.y, t.y, e)+ });+ }+ return t;+ }), d = Z(s) ? mR(S, s, e) : gR(s) || sR(s) ? mR(S, 0, e) : s.map((t, n) => {+ var r = Math.floor(n * l);+ if (Array.isArray(S) && S[r]) {+ var i = S[r];+ return G8(G8({}, t), {}, {+ x: mR(i.x, t.x, e),+ y: mR(i.y, t.y, e)+ });+ }+ return t;+ });+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ E.createElement(q8, {+ points: u,+ baseLine: d,+ needClip: t,+ clipPathId: n,+ props: r+ });+ }+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ E.createElement(xI, null, c && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ E.createElement(hhe, {+ alpha: e,+ points: o,+ baseLine: s,+ layout: h,+ strokeWidth: r.strokeWidth+ }))), /*#__PURE__*/ E.createElement(xI, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ E.createElement(q8, {+ points: o,+ baseLine: s,+ needClip: t,+ clipPathId: n,+ props: r+ })));+ }), /*#__PURE__*/ E.createElement(l3, { label: r.label }));+}+function _he(e) {+ var { needClip: t, clipPathId: n, props: r } = e, i = (0, E.useRef)(null), a = (0, E.useRef)();+ return /*#__PURE__*/ E.createElement(ghe, {+ needClip: t,+ clipPathId: n,+ props: r,+ previousPointsRef: i,+ previousBaselineRef: a+ });+}+var vhe = class extends E.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 = Sm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = T8(t), v = B3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;+ return /*#__PURE__*/ E.createElement(t4, { zIndex: p }, /*#__PURE__*/ E.createElement(xI, { className: m }, o && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(b8, {+ clipPathId: h,+ xAxisId: s,+ yAxisId: c+ }), !v && /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-dots-${h}` }, /*#__PURE__*/ E.createElement("rect", {+ x: a - y / 2,+ y: i - y / 2,+ width: l + y,+ height: u + y+ }))), /*#__PURE__*/ E.createElement(_he, {+ needClip: o,+ clipPathId: h,+ props: this.props+ })), /*#__PURE__*/ E.createElement(m6, {+ points: n,+ mainColor: K8(this.props.stroke, this.props.fill),+ itemDataKey: this.props.dataKey,+ activeDot: this.props.activeDot,+ clipPath: b+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ E.createElement(m6, {+ points: f,+ mainColor: K8(this.props.stroke, this.props.fill),+ itemDataKey: this.props.dataKey,+ activeDot: this.props.activeDot,+ clipPath: b+ }));+ }+}, yhe = {+ activeDot: !0,+ animationBegin: 0,+ animationDuration: 1500,+ animationEasing: "ease",+ connectNulls: !1,+ dot: !1,+ fill: "#3182bd",+ fillOpacity: .6,+ hide: !1,+ isAnimationActive: "auto",+ legendType: "line",+ stroke: "#3182bd",+ strokeWidth: 1,+ type: "linear",+ label: !1,+ xAxisId: 0,+ yAxisId: 0,+ zIndex: dq.area+};+function bhe(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 = U8(e, ihe), g = sH(), _ = U2(), { needClip: v } = y8(p, m), y = HV(), { points: b, isRange: x, baseLine: S } = Q((t) => nhe(t, e.id, y)) ?? {}, C = d6();+ if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;+ var { height: w, width: T, x: D, y: O } = C;+ return !b || !b.length ? null : /*#__PURE__*/ E.createElement(vhe, H8({}, h, {+ activeDot: t,+ animationBegin: n,+ animationDuration: r,+ animationEasing: i,+ baseLine: S,+ connectNulls: a,+ dot: o,+ fill: s,+ fillOpacity: c,+ height: w,+ hide: l,+ layout: g,+ isAnimationActive: u,+ isRange: x,+ legendType: d,+ needClip: v,+ points: b,+ stroke: f,+ width: T,+ left: D,+ top: O,+ xAxisId: p,+ yAxisId: m+ }));+}+var xhe = (e, t, n, r, i) => {+ var a = n ?? t;+ if (Z(a)) return a;+ var o = e === "horizontal" ? i : r, s = o.scale.domain();+ if (o.type === "number") {+ var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);+ return a === "dataMin" ? l : a === "dataMax" || c < 0 ? c : Math.max(Math.min(s[0], s[1]), 0);+ }+ return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];+};+function She(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 = xhe(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 = yV(e, r);+ Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];+ }+ var l = a?.[1] ?? null, v = l == null || m && !t && yV(e, r) == null;+ return g ? {+ x: TV({+ axis: s,+ ticks: d,+ bandSize: p,+ entry: e,+ index: n+ }),+ y: v ? null : c.scale.map(l) ?? null,+ value: a,+ payload: e+ } : {+ x: v ? null : s.scale.map(l) ?? null,+ y: TV({+ axis: c,+ ticks: f,+ bandSize: p,+ entry: e,+ index: n+ }),+ value: a,+ payload: e+ };});+ return {+ points: v,+ baseLine: (m || _ ? v.map((e) => {+ var t = Array.isArray(e.value) ? e.value[0] : null;+ return g ? {+ x: e.x,+ y: t != null && e.y != null ? c.scale.map(t) ?? null : null,+ payload: e.payload+ } : {+ x: t == null ? null : s.scale.map(t) ?? null,+ y: e.y,+ payload: e.payload+ };+ }) : g ? c.scale.map(h) : s.scale.map(h)) ?? 0,+ isRange: _+ };}-function yO({ source: e, toast: t }) {- let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(_O[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);- function h() {- a(""), s(""), d(""), p(""), m.current && (m.current.value = "");- }- let g = ht({- mutationFn: (t) => J(nO, {- source: e.source,- network: n,- cookie: i,- cookies_text: o,- revoke: t- }),- onSuccess: (e, n) => {- Th.setQueryData(cO, (t) => t && {- ...t,- sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)- }), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");+function Che(e) {+ var t = kR(e, yhe), n = HV();+ return /*#__PURE__*/ E.createElement(t6, {+ id: t.id,+ type: "area"+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(e6, { legendPayload: lhe(t) }), /*#__PURE__*/ E.createElement(uhe, {+ dataKey: t.dataKey,+ data: t.data,+ stroke: t.stroke,+ strokeWidth: t.strokeWidth,+ fill: t.fill,+ name: t.name,+ hide: t.hide,+ unit: t.unit,+ tooltipType: t.tooltipType,+ id: e+ }), /*#__PURE__*/ E.createElement(r6, {+ type: "area",+ id: e,+ data: t.data,+ dataKey: t.dataKey,+ xAxisId: t.xAxisId,+ yAxisId: t.yAxisId,+ zAxisId: 0,+ stackId: wV(t.stackId),+ hide: t.hide,+ barSize: void 0,+ baseValue: t.baseValue,+ isPanorama: n,+ connectNulls: t.connectNulls+ }), /*#__PURE__*/ E.createElement(bhe, H8({}, t, { id: e }))));+}+var J8 = /*#__PURE__*/ E.memo(Che, EU);+J8.displayName = "Area";+//#endregion+//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js+var whe = "Invariant failed";+function The(e, t) {+ if (!e) throw Error(whe);+}+//#endregion+//#region node_modules/recharts/es6/util/BarUtils.js+function Y8() {+ return Y8 = 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]);}- }), _ = ht({ mutationFn: () => J(rO, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {- e.preventDefault(), !v && (_.reset(), g.mutate(!1));- }, b = () => {- v || (_.reset(), g.mutate(!0));- }, x = () => {- v || (g.reset(), _.mutate());+ return e;+ }, Y8.apply(null, arguments);+}+function X8(e) {+ return /*#__PURE__*/ E.createElement(Y3, Y8({+ shapeType: "rectangle",+ activeClassName: "recharts-active-bar",+ inActiveClassName: "recharts-inactive-bar"+ }, e));+}+var Ehe = 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) || gR(n);+ return i ? e(n, r) : (!i && The(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};- async function S(e) {- let t = e.currentTarget, n = t.files?.[0];- if (s(""), p(""), !n) {- d("");- return;- }- if (n.size > 262144) {- t.value = "", d(""), p("Cookie 文本超过 256 KiB");- return;- }- try {- let e = await n.text();- s(e), d(n.name);- } catch {- p("Cookie 文件未读取,请重新选择");+}, Dhe = (e, t, n) => n, Z8 = $([Z$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Ohe = $([Z8], (e) => e?.maxBarSize), khe = (e, t, n, r) => r, Ahe = $([+ oH,+ Z$,+ P8,+ F8,+ Dhe+], (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")), jhe = (e, t, n) => {+ var r = oH(e), i = P8(e, t), a = F8(e, t);+ if (i != null && a != null) return r === "horizontal" ? x1(e, "yAxis", a, n) : x1(e, "xAxis", i, n);+}, Mhe = $([+ Ahe,+ rq,+ (e, t) => {+ var n = oH(e), r = P8(e, t), i = F8(e, t);+ if (r != null && i != null) return n === "horizontal" ? P0(e, "xAxis", r) : P0(e, "yAxis", i);+ }+], y6), Nhe = (e, t, n) => {+ var r = Z8(e, t);+ if (r == null) return 0;+ var i = P8(e, t), a = F8(e, t);+ if (i == null || a == null) return 0;+ var o = oH(e), s = eq(e), { maxBarSize: c } = r, l = gR(c) ? s : c, u, d;+ return o === "horizontal" ? (u = H0(e, "xAxis", i, n), d = V0(e, "xAxis", i, n)) : (u = H0(e, "yAxis", a, n), d = V0(e, "yAxis", a, n)), AV(u, d, !0) ?? l ?? 0;+}, Q8 = (e, t, n) => {+ var r = oH(e), i = P8(e, t), a = F8(e, t);+ if (i != null && a != null) {+ var o, s;+ return r === "horizontal" ? (o = H0(e, "xAxis", i, n), s = V0(e, "xAxis", i, n)) : (o = H0(e, "yAxis", a, n), s = V0(e, "yAxis", a, n)), AV(o, s);+ }+}, Phe = $([+ BV,+ VV,+ (e, t, n) => {+ var r = P8(e, t);+ if (r != null) return H0(e, "xAxis", r, n);+ },+ (e, t, n) => {+ var r = F8(e, t);+ if (r != null) return H0(e, "yAxis", r, n);+ },+ (e, t, n) => {+ var r = P8(e, t);+ if (r != null) return V0(e, "xAxis", r, n);+ },+ (e, t, n) => {+ var r = F8(e, t);+ if (r != null) return V0(e, "yAxis", r, n);+ },+ $([$([+ Mhe,+ eq,+ tq,+ nq,+ Nhe,+ Q8,+ Ohe+ ], S6), Z8], w6),+ oH,+ zK,+ Q8,+ $([jhe, Z8], C6),+ Z8,+ khe+], (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 cge({+ layout: s,+ barSettings: d,+ pos: o,+ parentViewBox: t,+ bandSize: l,+ xAxis: n,+ yAxis: r,+ xAxisTicks: i,+ yAxisTicks: a,+ stackedData: u,+ displayedData: _,+ offset: e,+ cells: f,+ dataStartIndex: m+ });+ }+}), Fhe = ["index"];+function $8() {+ return $8 = 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;+ }, $8.apply(null, arguments);+}+function Ihe(e, t) {+ if (e == null) return {};+ var n, r, i = Lhe(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]);}- let C = f || (g.error ? q(g.error) : "") || (_.error ? q(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: e.label,- onSubmit: y,- aside: /* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(vO, { source: e.source }), /* @__PURE__ */ (0, D.jsx)(TC, {- href: e.login,- children: e.login- })]- }),- children: [- /* @__PURE__ */ (0, D.jsx)(yC, { children: /* @__PURE__ */ (0, D.jsx)(hC, {- label: "连接方式",- children: /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "连接方式",- selectedKey: n,- onSelectionChange: (e) => {- e !== null && r(String(e));- },- children: gO.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: t- }, e))- })- }) }),- T ? /* @__PURE__ */ (0, D.jsxs)(bC, {- divided: !0,- children: [- n === "peach" ? /* @__PURE__ */ (0, D.jsx)("span", {- className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(_C, {- href: "/configuration#peachProxy",- size: "small",- trailingIcon: Uf,- children: "配置 Peach 代理"- })- }) : null,- e.browser ? /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: "人机验证由本机浏览器自动完成;需要点击时窗口会弹出。这台机器上不需要 Cookie。"- }) : null,- e.accepts_cookie && !e.browser ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"- }),- /* @__PURE__ */ (0, D.jsx)(Iv, {- "aria-label": "提供 Cookie 的方式(二选一)",- value: c,- onChange: (e) => {- l(e), h();- },- className: JS,- children: _O.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Lv, {- value: e,- className: YS,- children: t- }, e))- }),- c === "paste" ? /* @__PURE__ */ (0, D.jsx)(_b, {- type: "password",- label: "Cookie",- autoComplete: "off",- value: i,- onChange: a- }) : /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(wC, { children: "Netscape Cookie 文件(.txt)" }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-center gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: () => m.current?.click(),- children: "选择文件"- }), /* @__PURE__ */ (0, D.jsx)("span", {- className: "min-w-0 text-body-2-regular break-all text-text-secondary",- children: u || "未选择文件"- })]- }),- /* @__PURE__ */ (0, D.jsx)("input", {- ref: m,- type: "file",- accept: ".txt",- tabIndex: -1,- "aria-hidden": !0,- className: "hidden",- onChange: (e) => {- S(e);- }- })- ]- })- ] }) : null,- C ? /* @__PURE__ */ (0, D.jsx)(CC, { children: C }) : null,- w.map((t) => /* @__PURE__ */ (0, D.jsx)(Y, {- tone: t.ok ? "success" : "error",- children: hO(t, e.label)- }, t.label))- ]- }) : null,- /* @__PURE__ */ (0, D.jsxs)(xC, { children: [- e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: b,- ...X(v),- children: "撤销 Cookie"- }) : null,- /* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: x,- ...X(v),- children: "检查连接"- }),- /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- ...X(v),- children: "保存"- })- ] })- ]- });+ return i;}-function bO({ toast: e }) {- let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = fC({- queryKey: lO,- queryFn: ({ signal: e }) => fO(e),- start: () => J(iO, { code: t }),- onFinish: (t) => {- t.status === "complete" && e(t.result || "封面采集完成");- }- }), o = (e) => {- e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();- }, s = a.error ? q(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";- return /* @__PURE__ */ (0, D.jsx)(vC, {- title: "高清封面",- onSubmit: o,- children: /* @__PURE__ */ (0, D.jsxs)(bC, { children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-wrap items-end gap-2",- children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(_b, {- "aria-label": "馆藏番号",- isRequired: !0,- isDisabled: r,- value: t,- onChange: n,- placeholder: "输入馆藏番号,如 ABW-232"- })- }), /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- disabled: !t.trim(),- ...X(r || a.isPending),- children: "抓取封面"- })]- }),- r ? /* @__PURE__ */ (0, D.jsx)(xh, { label: "正在抓取封面" }) : null,- s ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: s- }) : null,- i?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "success",- children: i.result || "封面采集完成"- }) : null- ] })- });+function Lhe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-function xO({ toast: e }) {- let { query: t, running: n, outcome: r, start: i } = fC({- queryKey: uO,- queryFn: ({ signal: e }) => pO(e),- start: () => J(sO, {}),- jobOf: (e) => e.job,- withJob: (e, t) => e && {- ...e,- job: t- },- onFinish: (t) => {- t.status === "complete" && e(t.result || "amane 桥已重建");+var e5 = /*#__PURE__*/ (0, E.createContext)(void 0), Rhe = (e) => {+ var t = (0, E.useContext)(e5);+ if (t != null) return t.stackId;+ if (e != null) return wV(e);+}, zhe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Bhe = (e) => {+ var t = (0, E.useContext)(e5);+ if (t != null) {+ var { stackId: n } = t;+ return `url(#${zhe(n, e)})`;+ }+}, t5 = (e) => {+ var { index: t } = e, n = Ihe(e, Fhe), r = Bhe(t);+ return /*#__PURE__*/ E.createElement(xI, $8({+ className: "recharts-bar-stack-layer",+ clipPath: r+ }, n));+}, Vhe = [+ "onMouseEnter",+ "onMouseLeave",+ "onClick"+], Hhe = [+ "value",+ "background",+ "tooltipPosition"+], Uhe = ["id"], Whe = [+ "onMouseEnter",+ "onClick",+ "onMouseLeave"+];+function n5() {+ return n5 = 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]);}- }), a = ht({ mutationFn: () => J(oO, {}) }), o = t.data;- if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(vC, {- title: "amane 桥",- children: /* @__PURE__ */ (0, D.jsx)(bC, { children: /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: q(t.error)- }) })- }) : null;- let s = n || i.isPending || a.isPending, c = i.error ? q(i.error) : a.error ? q(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "amane 桥",- aside: /* @__PURE__ */ (0, D.jsx)(TC, {- href: o.repository,- children: o.repository- }),- children: [- /* @__PURE__ */ (0, D.jsxs)(EC, { children: [- /* @__PURE__ */ (0, D.jsxs)(DC, {- term: "钉住的版本",- children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]- }),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "上游最新版本",- children: a.data?.latest ?? "尚未检查"- }),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "运行环境",- children: o.installed ? "已安装" : "未安装"- }),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "开放的站",- children: o.sites.map((e) => e.label).join("、")- })- ] }),- /* @__PURE__ */ (0, D.jsxs)(bC, {- divided: !0,- children: [- /* @__PURE__ */ (0, D.jsxs)(SC, { children: [- "这几站由 amane(",- o.license,- ")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"- ] }),- n ? /* @__PURE__ */ (0, D.jsx)(xh, { label: "正在重建运行环境" }) : null,- c ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- children: c- }) : null,- r?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "success",- children: r.result || "amane 桥已重建"- }) : null- ]- }),- /* @__PURE__ */ (0, D.jsxs)(xC, { children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: () => {- s || a.mutate();- },- ...X(a.isPending),- children: "检查上游版本"- }), /* @__PURE__ */ (0, D.jsx)(K, {- onClick: () => {- s || i.mutate();- },- ...X(n || i.isPending),- children: o.installed ? "重新安装" : "安装"- })] })- ]- });+ return e;+ }, n5.apply(null, arguments);+}+function r5(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function i5(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) {+ Ghe(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 Ghe(e, t, n) {+ return (t = Khe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Khe(e) {+ var t = qhe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function qhe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function a5(e, t) {+ if (e == null) return {};+ var n, r, i = Jhe(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 Jhe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-function SO({ toast: e }) {- let t = mt({- queryKey: cO,- queryFn: ({ signal: e }) => dO(e)- }), n = t.data;- return n ? /* @__PURE__ */ (0, D.jsxs)(Sh, { children: [- /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: "高清图片可能要经代理才能下载,先检查连接。"- }),- /* @__PURE__ */ (0, D.jsx)(bO, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(yO, {- source: t,- toast: e- }, t.source)),- /* @__PURE__ */ (0, D.jsx)(xO, { toast: e })- ] }) : /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "读取失败",- children: t.error ? q(t.error) : "读取采集来源失败"- }) });+var Yhe = (e) => {+ var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;+ return [{+ inactive: a,+ dataKey: t,+ type: i,+ color: r,+ value: MV(n, t),+ payload: e+ }];+}, Xhe = /*#__PURE__*/ E.memo((e) => {+ var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {+ dataDefinedOnItem: void 0,+ getPosition: yR,+ settings: {+ stroke: n,+ strokeWidth: r,+ fill: i,+ dataKey: t,+ nameKey: void 0,+ name: MV(a, t),+ hide: o,+ type: c,+ color: i,+ unit: s,+ graphicalItemId: l+ }+ };+ return /*#__PURE__*/ E.createElement($3, { tooltipEntrySettings: u });+});+function Zhe(e) {+ var t = Q(P2), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = a5(a, Vhe), u = X3(o, r, a.id), d = Z3(s), f = Q3(c, r, a.id);+ if (!i || n == null) return null;+ var p = lI(i);+ return /*#__PURE__*/ E.createElement(t4, { zIndex: L6(i, dq.barBackground) }, n.map((e, n) => {+ var { value: a, background: o, tooltipPosition: s } = e, c = a5(e, Hhe);+ if (!o) return null;+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = i5(i5(i5(i5(i5({+ option: i,+ isActive: String(n) === t+ }, c), {}, { fill: "#eee" }, o), p), DR(l, e, n)), {}, {+ onMouseEnter: m,+ onMouseLeave: h,+ onClick: g,+ dataKey: r,+ index: n,+ className: "recharts-bar-background-rectangle"+ });+ return /*#__PURE__*/ E.createElement(X8, n5({ key: `background-bar-${n}` }, _));+ }));}-//#endregion-//#region src/configuration-endpoints.ts-var CO = "/api/configuration", wO = "/api/pick-folder", TO = ["configuration"], EO = (e) => uh(CO, e);-async function DO(e) {- await Th.fetchQuery({- queryKey: TO,- queryFn: () => EO(e)+function Qhe(e) {+ var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {+ var t = {+ x: e.x,+ y: e.y,+ width: e.width,+ lowerWidth: e.width,+ upperWidth: e.width,+ height: e.height+ };+ return i5(i5({}, t), {}, {+ value: e.value,+ payload: e.payload,+ parentViewBox: e.parentViewBox,+ viewBox: t,+ fill: e.fill+ });});+ return /*#__PURE__*/ E.createElement(o3, { value: t ? i : void 0 }, n);}-//#endregion-//#region src/react/settings/entry-links-settings.tsx-function OO({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.sites), i = wh(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {- ...n,- host: t- } : n));- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "外部入口",- onSubmit: (e) => {- e.preventDefault();- let a = { sites: Object.fromEntries(n.map((e) => [e.key, { host: e.host }])) };- i.run("save", (e) => J("/api/configuration/entry-links", a, "POST", e), (e) => {- r(e.sites), t("已保存配置");+function $he(e) {+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P2), c = Q(I2), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)(!1);+ (0, E.useEffect)(() => {+ var e;+ return l ? (d(!0), e = requestAnimationFrame(() => {+ p(!0);+ })) : p(!1), () => {+ cancelAnimationFrame(e);+ };+ }, [l]);+ var m = (0, E.useCallback)(() => {+ l || d(!1);+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ E.createElement(X8, n5({}, r, { name: String(r.name) }, i, {+ isActive: h,+ option: _,+ index: a,+ dataKey: o,+ onTransitionEnd: m+ }));+ return g ? /*#__PURE__*/ E.createElement(t4, { zIndex: dq.activeBar }, /*#__PURE__*/ E.createElement(t5, { index: i.originalDataIndex }, v)) : v;+}+function ege(e) {+ var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;+ return /*#__PURE__*/ E.createElement(X8, n5({}, n, { name: String(n.name) }, r, {+ isActive: !1,+ option: t,+ index: i,+ dataKey: a+ }));+}+function tge(e) {+ var { data: t, props: n } = e, r = cI(n) ?? {}, { id: i } = r, a = a5(r, Uhe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = a5(n, Whe), p = X3(l, s, i), m = Z3(d), h = Q3(u, s, i);+ return t ? /*#__PURE__*/ E.createElement(E.Fragment, null, t.map((e, t) => /*#__PURE__*/ E.createElement(t5, n5({+ index: e.originalDataIndex,+ key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,+ className: "recharts-bar-rectangle"+ }, DR(f, e, t), {+ onMouseEnter: p(e, t),+ onMouseLeave: m(e, t),+ onClick: h(e, t)+ }), c ? /*#__PURE__*/ E.createElement($he, {+ shape: o,+ activeBar: c,+ baseProps: a,+ entry: e,+ index: t,+ dataKey: s+ }) : /*#__PURE__*/ E.createElement(ege, {+ shape: o,+ baseProps: a,+ entry: e,+ index: t,+ dataKey: s+ })))) : null;+}+function nge(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 = AG(t, "recharts-bar-"), [p, m] = (0, E.useState)(!1), h = !p, g = (0, E.useCallback)(() => {+ typeof l == "function" && l(), m(!1);+ }, [l]), _ = (0, E.useCallback)(() => {+ typeof u == "function" && u(), m(!0);+ }, [u]);+ return /*#__PURE__*/ E.createElement(Qhe, {+ showLabels: h,+ rects: r+ }, /*#__PURE__*/ E.createElement(kG, {+ animationId: f,+ begin: o,+ duration: s,+ isActive: a,+ easing: c,+ onAnimationEnd: g,+ onAnimationStart: _,+ key: f+ }, (e) => {+ var a = e === 1 ? r : r?.map((t, n) => {+ var r = d && d[n];+ if (r) return i5(i5({}, t), {}, {+ x: mR(r.x, t.x, e),+ y: mR(r.y, t.y, e),+ width: mR(r.width, t.width, e),+ height: mR(r.height, t.height, e)});- },- children: [/* @__PURE__ */ (0, D.jsxs)(bC, { children: [- /* @__PURE__ */ (0, D.jsx)(SC, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),- n.map((e) => /* @__PURE__ */ (0, D.jsx)(_b, {- id: `entry-link-${e.key}`,- label: `${e.label} 地址`,- autoComplete: "off",- maxLength: 100,- value: e.host,- placeholder: e.default_host,- onChange: (t) => a(e.key, t),- validationBehavior: "aria",- hint: "只写域名本身,留空就是默认"- }, e.key)),- i.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, D.jsx)(xC, { children: /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- ...X(i.busy === "save"),- children: "保存配置"- }) })]- });+ if (i === "horizontal") {+ var a = mR(0, t.height, e), o = mR(t.stackedBarStart, t.y, e);+ return i5(i5({}, t), {}, {+ y: o,+ height: a+ });+ }+ var s = mR(0, t.width, e), c = mR(t.stackedBarStart, t.x, e);+ return i5(i5({}, t), {}, {+ width: s,+ x: c+ });+ });+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ E.createElement(xI, null, /*#__PURE__*/ E.createElement(tge, {+ props: t,+ data: a+ }));+ }), /*#__PURE__*/ E.createElement(l3, { label: t.label }), t.children);}-//#endregion-//#region src/react/settings/general-settings.tsx-function kO({ data: e, receipt: t }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-6",- children: [e.startup ? /* @__PURE__ */ (0, D.jsx)(AO, {- startup: e.startup,- receipt: t- }) : null, e.entry_links ? /* @__PURE__ */ (0, D.jsx)(OO, {- initial: e.entry_links,- receipt: t- }) : null]+function rge(e) {+ var t = (0, E.useRef)(null);+ return /*#__PURE__*/ E.createElement(nge, {+ previousRectanglesRef: t,+ props: e});}-function AO({ startup: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = wh(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "开机自启",- onSubmit: (r) => {- r.preventDefault(), e.available && c.run("save", (e) => J("/api/configuration/startup", {- enabled: n,- silent: i,- desktop: o- }, "POST", e), () => t("已保存配置"));- },- children: [- /* @__PURE__ */ (0, D.jsxs)(yC, { children: [- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "开机后启动 Peach",- isSelected: n,- isDisabled: !e.available,- onChange: r- })- }),- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "静默启动",- description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "静默启动",- isSelected: i,- isDisabled: !e.available || !n,- onChange: a- })- }),- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "在桌面创建快捷方式",- description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "在桌面创建快捷方式",- isSelected: o,- isDisabled: !l,- onChange: s- })- })- ] }),- e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(bC, {- divided: !0,- children: [e.message ? /* @__PURE__ */ (0, D.jsx)(SC, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: c.error }) : null]- }) : null,- /* @__PURE__ */ (0, D.jsx)(xC, { children: /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- disabled: !e.available,- ...X(c.busy === "save"),- children: "保存配置"- }) })- ]- });+var o5 = 0, ige = (e, t) => {+ var n = Array.isArray(e.value) ? e.value[1] : e.value;+ return {+ x: e.x,+ y: e.y,+ value: n,+ errorVal: yV(e, t)+ };+}, age = class extends E.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 = Sm("recharts-bar", r), u = c;+ return /*#__PURE__*/ E.createElement(xI, {+ className: l,+ id: c+ }, o && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(b8, {+ clipPathId: u,+ xAxisId: i,+ yAxisId: a+ })), /*#__PURE__*/ E.createElement(xI, {+ className: "recharts-bar-rectangles",+ clipPath: o ? `url(#clipPath-${u})` : void 0+ }, /*#__PURE__*/ E.createElement(Zhe, {+ data: t,+ dataKey: n,+ background: s,+ allOtherBarProps: this.props+ }), /*#__PURE__*/ E.createElement(rge, this.props)));+ }+}, oge = {+ activeBar: !1,+ animationBegin: 0,+ animationDuration: 400,+ animationEasing: "ease",+ background: !1,+ hide: !1,+ isAnimationActive: "auto",+ label: !1,+ legendType: "rect",+ minPointSize: o5,+ xAxisId: 0,+ yAxisId: 0,+ zIndex: dq.bar+};+function sge(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 } = y8(t, n), f = sH(), p = HV(), m = z3(e.children, v4), h = Q((t) => Phe(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__*/ E.createElement(v8, {+ xAxisId: t,+ yAxisId: n,+ data: h,+ dataPointFormatter: ige,+ errorBarOffset: g+ }, /*#__PURE__*/ E.createElement(age, n5({}, e, {+ layout: f,+ needClip: d,+ data: h,+ xAxisId: t,+ yAxisId: n,+ hide: r,+ legendType: i,+ minPointSize: a,+ activeBar: o,+ animationBegin: s,+ animationDuration: c,+ animationEasing: l,+ isAnimationActive: u+ })));+}+function cge(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 = DV({ 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;+ _ = CV(E, v);+ } else _ = yV(e, n), Array.isArray(_) || (_ = [y, _]);+ var D = Ehe(r, o5)(_[1], f);+ if (t === "horizontal") {+ var O = c.scale.map(_[0]), k = c.scale.map(_[1]);+ if (O == null || k == null) return null;+ x = EV({+ axis: s,+ ticks: l,+ bandSize: o,+ offset: a.offset,+ entry: e,+ index: f+ }), S = k ?? O ?? void 0, C = a.size;+ var A = O - k;+ if (w = sR(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 = oR(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 = EV({+ axis: c,+ ticks: u,+ bandSize: o,+ offset: a.offset,+ entry: e,+ index: f+ }), C = N - M, w = a.size, T = {+ x: p.left,+ y: S,+ width: p.width,+ height: w+ }, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {+ var P = oR(C || D) * (Math.abs(D) - Math.abs(C));+ C += P;+ }+ }+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : i5(i5({}, e), {}, {+ stackedBarStart: b,+ x,+ y: S,+ width: C,+ height: w,+ value: d ? _ : _[1],+ payload: e,+ background: T,+ tooltipPosition: {+ x: x + C / 2,+ y: S + w / 2+ },+ parentViewBox: h,+ originalDataIndex: f+ }, m && m[f] && m[f].props);+ }).filter(Boolean);+}+function lge(e) {+ var t = kR(e, oge), n = Rhe(t.stackId), r = HV();+ return /*#__PURE__*/ E.createElement(t6, {+ id: t.id,+ type: "bar"+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(e6, { legendPayload: Yhe(t) }), /*#__PURE__*/ E.createElement(Xhe, {+ dataKey: t.dataKey,+ stroke: t.stroke,+ strokeWidth: t.strokeWidth,+ fill: t.fill,+ name: t.name,+ hide: t.hide,+ unit: t.unit,+ tooltipType: t.tooltipType,+ id: e+ }), /*#__PURE__*/ E.createElement(r6, {+ type: "bar",+ id: e,+ data: void 0,+ xAxisId: t.xAxisId,+ yAxisId: t.yAxisId,+ zAxisId: 0,+ dataKey: t.dataKey,+ stackId: n,+ hide: t.hide,+ barSize: t.barSize,+ minPointSize: t.minPointSize,+ maxBarSize: t.maxBarSize,+ isPanorama: r,+ hasCustomShape: t.shape != null+ }), /*#__PURE__*/ E.createElement(t4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(sge, n5({}, t, { id: e })))));+}+var s5 = /*#__PURE__*/ E.memo(lge, EU);+s5.displayName = "Bar";+//#endregion+//#region node_modules/recharts/es6/util/axisPropsAreEqual.js+var uge = ["domain", "range"], dge = ["domain", "range"];+function c5(e, t) {+ if (e == null) return {};+ var n, r, i = fge(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 fge(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function l5(e, t) {+ return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;+}+function u5(e, t) {+ if (e === t) return !0;+ var { domain: n, range: r } = e, i = c5(e, uge), { domain: a, range: o } = t, s = c5(t, dge);+ return !l5(n, a) || !l5(r, o) ? !1 : EU(i, s);+}+//#endregion+//#region node_modules/recharts/es6/cartesian/XAxis.js+var pge = ["type"], mge = [+ "dangerouslySetInnerHTML",+ "ticks",+ "scale"+], hge = ["id", "scale"];+function d5() {+ return d5 = 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;+ }, d5.apply(null, arguments);+}+function f5(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function p5(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? f5(Object(n), !0).forEach(function(t) {+ gge(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f5(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function gge(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 _ge(e) {+ var t = vge(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function vge(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function m5(e, t) {+ if (e == null) return {};+ var n, r, i = yge(e, t);+ if (Object.getOwnPropertySymbols) {+ var a = Object.getOwnPropertySymbols(e);+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);+ }+ return i;+}+function yge(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function bge(e) {+ var t = tz(), n = (0, E.useRef)(null), r = cH(), { type: i } = e, a = m5(e, pge), o = hq(r, "xAxis", i), s = (0, E.useMemo)(() => {+ if (o != null) return p5(p5({}, a), {}, { type: o });+ }, [a, o]);+ return (0, E.useLayoutEffect)(() => {+ s != null && (n.current === null ? t(dfe(s)) : n.current !== s && t(ffe({+ prev: n.current,+ next: s+ })), n.current = s);+ }, [s, t]), (0, E.useLayoutEffect)(() => () => {+ n.current &&= (t(pfe(n.current)), null);+ }, [t]), null;+}+var xge = (e) => {+ var { xAxisId: t, className: n } = e, r = Q(VV), i = HV(), a = "xAxis", o = Q((e) => z0(e, a, t, i)), s = Q((e) => E0(e, t)), c = Q((e) => j0(e, t)), l = Q((e) => z$(e, t));+ if (s == null || c == null || l == null) return null;+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = m5(e, mge), { id: m, scale: h } = l, g = m5(l, hge);+ return /*#__PURE__*/ E.createElement(u8, d5({}, p, g, {+ x: c.x,+ y: c.y,+ width: s.width,+ height: s.height,+ className: Sm(`recharts-${a} ${a}`, n),+ viewBox: r,+ ticks: o,+ axisType: a,+ axisId: t+ }));+}, Sge = {+ allowDataOverflow: R$.allowDataOverflow,+ allowDecimals: R$.allowDecimals,+ allowDuplicatedCategory: R$.allowDuplicatedCategory,+ angle: R$.angle,+ axisLine: l8.axisLine,+ height: R$.height,+ hide: !1,+ includeHidden: R$.includeHidden,+ interval: R$.interval,+ label: !1,+ minTickGap: R$.minTickGap,+ mirror: R$.mirror,+ orientation: R$.orientation,+ padding: R$.padding,+ reversed: R$.reversed,+ scale: R$.scale,+ tick: R$.tick,+ tickCount: R$.tickCount,+ tickLine: l8.tickLine,+ tickSize: l8.tickSize,+ type: R$.type,+ niceTicks: R$.niceTicks,+ xAxisId: 0+}, h5 = /*#__PURE__*/ E.memo((e) => {+ var t = kR(e, Sge);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(bge, {+ allowDataOverflow: t.allowDataOverflow,+ allowDecimals: t.allowDecimals,+ allowDuplicatedCategory: t.allowDuplicatedCategory,+ angle: t.angle,+ dataKey: t.dataKey,+ domain: t.domain,+ height: t.height,+ hide: t.hide,+ id: t.xAxisId,+ includeHidden: t.includeHidden,+ interval: t.interval,+ minTickGap: t.minTickGap,+ mirror: t.mirror,+ name: t.name,+ orientation: t.orientation,+ padding: t.padding,+ reversed: t.reversed,+ scale: t.scale,+ tick: t.tick,+ tickCount: t.tickCount,+ tickFormatter: t.tickFormatter,+ ticks: t.ticks,+ type: t.type,+ unit: t.unit,+ niceTicks: t.niceTicks+ }), /*#__PURE__*/ E.createElement(xge, t));+}, u5);+h5.displayName = "XAxis";+//#endregion+//#region node_modules/recharts/es6/cartesian/YAxis.js+var Cge = ["type"], wge = [+ "dangerouslySetInnerHTML",+ "ticks",+ "scale"+], Tge = ["id", "scale"];+function g5() {+ return g5 = 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;+ }, g5.apply(null, arguments);+}+function _5(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function v5(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? _5(Object(n), !0).forEach(function(t) {+ Ege(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _5(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function Ege(e, t, n) {+ return (t = Dge(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function Dge(e) {+ var t = Oge(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function Oge(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function y5(e, t) {+ if (e == null) return {};+ var n, r, i = kge(e, t);+ if (Object.getOwnPropertySymbols) {+ var a = Object.getOwnPropertySymbols(e);+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);+ }+ return i;+}+function kge(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function Age(e) {+ var t = tz(), n = (0, E.useRef)(null), r = cH(), { type: i } = e, a = y5(e, Cge), o = hq(r, "yAxis", i), s = (0, E.useMemo)(() => {+ if (o != null) return v5(v5({}, a), {}, { type: o });+ }, [o, a]);+ return (0, E.useLayoutEffect)(() => {+ s != null && (n.current === null ? t(mfe(s)) : n.current !== s && t(hfe({+ prev: n.current,+ next: s+ })), n.current = s);+ }, [s, t]), (0, E.useLayoutEffect)(() => () => {+ n.current &&= (t(gfe(n.current)), null);+ }, [t]), null;+}+function jge(e) {+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = Q(VV), c = HV(), l = tz(), u = "yAxis", d = Q((e) => N0(e, t)), f = Q((e) => M0(e, t)), p = Q((e) => z0(e, u, t, c)), m = Q((e) => H$(e, t));+ if ((0, E.useLayoutEffect)(() => {+ if (!(r !== "auto" || !d || $4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {+ var e = a.current;+ if (e) {+ var n = e.getCalculatedWidth();+ Math.round(d.width) !== Math.round(n) && l(bfe({+ id: t,+ width: n+ }));+ }+ }+ }, [+ p,+ d,+ l,+ i,+ t,+ r,+ m+ ]), d == null || f == null || m == null) return null;+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = y5(e, wge), { id: y, scale: b } = m, x = y5(m, Tge);+ return /*#__PURE__*/ E.createElement(u8, g5({}, v, x, {+ ref: a,+ labelRef: o,+ x: f.x,+ y: f.y,+ tickTextProps: r === "auto" ? { width: void 0 } : { width: r },+ width: d.width,+ height: d.height,+ className: Sm(`recharts-${u} ${u}`, n),+ viewBox: s,+ ticks: p,+ axisType: u,+ axisId: t+ }));}+var Mge = {+ allowDataOverflow: V$.allowDataOverflow,+ allowDecimals: V$.allowDecimals,+ allowDuplicatedCategory: V$.allowDuplicatedCategory,+ angle: V$.angle,+ axisLine: l8.axisLine,+ hide: !1,+ includeHidden: V$.includeHidden,+ interval: V$.interval,+ label: !1,+ minTickGap: V$.minTickGap,+ mirror: V$.mirror,+ orientation: V$.orientation,+ padding: V$.padding,+ reversed: V$.reversed,+ scale: V$.scale,+ tick: V$.tick,+ tickCount: V$.tickCount,+ tickLine: l8.tickLine,+ tickSize: l8.tickSize,+ type: V$.type,+ niceTicks: V$.niceTicks,+ width: V$.width,+ yAxisId: 0+}, b5 = /*#__PURE__*/ E.memo((e) => {+ var t = kR(e, Mge);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Age, {+ interval: t.interval,+ id: t.yAxisId,+ scale: t.scale,+ type: t.type,+ domain: t.domain,+ allowDataOverflow: t.allowDataOverflow,+ dataKey: t.dataKey,+ allowDuplicatedCategory: t.allowDuplicatedCategory,+ allowDecimals: t.allowDecimals,+ tickCount: t.tickCount,+ padding: t.padding,+ includeHidden: t.includeHidden,+ reversed: t.reversed,+ ticks: t.ticks,+ width: t.width,+ orientation: t.orientation,+ mirror: t.mirror,+ hide: t.hide,+ unit: t.unit,+ name: t.name,+ angle: t.angle,+ minTickGap: t.minTickGap,+ tick: t.tick,+ tickFormatter: t.tickFormatter,+ niceTicks: t.niceTicks+ }), /*#__PURE__*/ E.createElement(jge, t));+}, u5);+b5.displayName = "YAxis";+var x5 = $([+ (e, t) => t,+ oH,+ Nq,+ Hq,+ D2,+ k2,+ Hce,+ BV+], Yce);+//#endregion+//#region node_modules/recharts/es6/util/getRelativeCoordinate.js+function Nge(e) {+ return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";+}+function S5(e) {+ var t = e.currentTarget.getBoundingClientRect(), n, r;+ if (Nge(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 {+ var a = e.currentTarget;+ n = a.offsetWidth > 0 ? t.width / a.offsetWidth : 1, r = a.offsetHeight > 0 ? t.height / a.offsetHeight : 1;+ }+ var o = (e, i) => ({+ relativeX: Math.round((e - t.left) / n),+ relativeY: Math.round((i - t.top) / r)+ });+ return "touches" in e ? Array.from(e.touches).map((e) => o(e.clientX, e.clientY)) : o(e.clientX, e.clientY);+}+//#endregion+//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js+var C5 = jB("mouseClick"), w5 = dV();+w5.startListening({+ actionCreator: C5,+ effect: (e, t) => {+ var n = e.payload, r = x5(t.getState(), S5(n));+ r?.activeIndex != null && t.dispatch(nce({+ activeIndex: r.activeIndex,+ activeDataKey: void 0,+ activeCoordinate: r.activeCoordinate+ }));+ }+});+var T5 = jB("mouseMove"), E5 = dV(), D5 = null, O5 = null, k5 = null;+E5.startListening({+ actionCreator: T5,+ effect: (e, t) => {+ var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");+ D5 !== null && (cancelAnimationFrame(D5), D5 = null), O5 !== null && (typeof r != "number" || !a) && (clearTimeout(O5), O5 = null), k5 = S5(n);+ var o = () => {+ var e = t.getState(), n = q0(e, e.tooltip.settings.shared);+ if (!k5) {+ D5 = null, O5 = null;+ return;+ }+ if (n === "axis") {+ var r = x5(e, k5);+ r?.activeIndex == null ? t.dispatch(r2()) : t.dispatch(i2({+ activeIndex: r.activeIndex,+ activeDataKey: void 0,+ activeCoordinate: r.activeCoordinate+ }));+ }+ D5 = null, O5 = null;+ };+ if (!a) {+ o();+ return;+ }+ r === "raf" ? D5 = requestAnimationFrame(o) : typeof r == "number" && O5 === null && (O5 = setTimeout(o, r));+ }+});//#endregion-//#region src/react/settings/release-updates.tsx-var jO = /* @__PURE__ */ new Set([- "downloading",- "verifying",- "extracting",- "preparing",- "restarting",- "installing"-]), MO = [- 65,- 67,- 90-], NO = 120;-function PO({ initial: e, initialJob: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(t || {- state: "idle",- progress: 0- }), [o, s] = (0, E.useState)(""), l = wh(), u = (0, E.useRef)(!1), d = (0, E.useRef)(!0), f = jO.has(i.state);- (0, E.useEffect)(() => (d.current = !0, () => {- d.current = !1;- }), []);- let p = async () => {- let e = await J("/api/configuration/update-restart", {});- d.current && a(e);- }, m = () => void c({- title: "更新已准备好",- body: `Peach ${i.version || ""} 将在重启后安装。`,- confirmLabel: "立即重启",- cancelLabel: "稍后",- onConfirm: p- });- (0, E.useEffect)(() => {- i.state !== "ready" || u.current || (u.current = !0, m());- }, [i.state]), (0, E.useEffect)(() => {- let e = new AbortController(), t = jO.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js+function Pge(e, t) {+ return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;+}+//#endregion+//#region node_modules/recharts/es6/state/rootPropsSlice.js+var A5 = {+ accessibilityLayer: !0,+ barCategoryGap: "10%",+ barGap: 4,+ barSize: void 0,+ className: void 0,+ maxBarSize: void 0,+ stackOffset: "none",+ syncId: void 0,+ syncMethod: "index",+ baseValue: void 0,+ reverseStackOrder: !1+}, j5 = BB({+ name: "rootProps",+ initialState: A5,+ reducers: { updateOptions: (e, t) => {+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? A5.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;+ } }+}), Fge = j5.reducer, { updateOptions: Ige } = j5.actions, M5 = BB({+ 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: Lge } = M5.actions, Rge = M5.reducer, N5 = jB("keyDown"), P5 = jB("focus"), F5 = jB("blur"), I5 = dV(), L5 = null, R5 = null, z5 = null;+I5.startListening({+ actionCreator: N5,+ effect: (e, t) => {+ z5 = e.payload, L5 !== null && (cancelAnimationFrame(L5), L5 = null);+ var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");+ R5 !== null && (typeof n != "number" || !i) && (clearTimeout(R5), R5 = null);+ var a = () => {try {- let t = await uh("/api/configuration/update-status", e.signal);- if (e.signal.aborted) return;- a(t), o = 0, t.state === "complete" && r((e) => ({- ...e,- current_version: t.version || e.current_version,- state: "current",- message: "已是最新测试版。"+ var e = t.getState();+ if (e.rootProps.accessibilityLayer === !1) return;+ var { keyboardInteraction: n } = e.tooltip, r = z5;+ if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;+ var i = u2(n, x2(e), v1(e), T2(e)), a = i == null ? -1 : Number(i);+ if (!Number.isFinite(a) || a < 0) return;+ var o = k2(e);+ if (r === "Enter") {+ var s = X2(e, "axis", "hover", String(n.index));+ t.dispatch(o2({+ active: !n.active,+ activeIndex: n.index,+ activeCoordinate: s+ }));+ return;+ }+ var c = U0(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;+ if (o == null || l >= o.length || l < 0) return;+ var u = X2(e, "axis", "hover", String(l));+ t.dispatch(o2({+ active: !0,+ activeIndex: l.toString(),+ activeCoordinate: u}));- let n = await uh("/api/configuration/automatic-updates", e.signal);- !e.signal.aborted && n.result && r(n.result);- } catch {- o += 1, o >= NO && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ } finally {+ L5 = null, R5 = null;+ }+ };+ if (!i) {+ a();+ return;+ }+ n === "raf" ? L5 = requestAnimationFrame(a) : typeof n == "number" && R5 === null && (a(), z5 = null, R5 = setTimeout(() => {+ z5 ? a() : (R5 = null, L5 = null);+ }, n));+ }+}), I5.startListening({+ actionCreator: P5,+ effect: (e, t) => {+ var n = t.getState();+ if (n.rootProps.accessibilityLayer !== !1) {+ var { keyboardInteraction: r } = n.tooltip;+ if (!r.active && r.index == null) {+ var i = "0", a = X2(n, "axis", "hover", String(i));+ t.dispatch(o2({+ active: !0,+ activeIndex: i,+ activeCoordinate: a+ }));+ }+ }+ }+}), I5.startListening({+ actionCreator: F5,+ effect: (e, t) => {+ var n = t.getState();+ if (n.rootProps.accessibilityLayer !== !1) {+ var { keyboardInteraction: r } = n.tooltip;+ r.active && t.dispatch(o2({+ active: !1,+ activeIndex: r.index,+ activeCoordinate: r.coordinate+ }));+ }+ }+});+//#endregion+//#region node_modules/recharts/es6/util/createEventProxy.js+function B5(e) {+ e.persist();+ var { currentTarget: t } = e;+ return new Proxy(e, { get: (e, n) => {+ if (n === "currentTarget") return t;+ var r = Reflect.get(e, n);+ return typeof r == "function" ? r.bind(e) : r;+ } });+}+//#endregion+//#region node_modules/recharts/es6/state/externalEventsMiddleware.js+var V5 = jB("externalEvent"), H5 = dV(), U5 = /* @__PURE__ */ new Map(), W5 = /* @__PURE__ */ new Map(), G5 = /* @__PURE__ */ new Map();+H5.startListening({+ actionCreator: V5,+ effect: (e, t) => {+ var { handler: n, reactEvent: r } = e.payload;+ if (n != null) {+ var i = r.type, a = B5(r);+ G5.set(i, {+ handler: n,+ reactEvent: a+ });+ var o = U5.get(i);+ o !== void 0 && (cancelAnimationFrame(o), U5.delete(i));+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = W5.get(i);+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), W5.delete(i));+ var f = () => {+ var e = G5.get(i);+ try {+ if (!e) return;+ var { handler: n, reactEvent: r } = e, a = t.getState(), o = {+ activeCoordinate: Oce(a),+ activeDataKey: I2(a),+ activeIndex: P2(a),+ activeLabel: F2(a),+ activeTooltipIndex: P2(a),+ isTooltipActive: kce(a)+ };+ n && n(o, r);+ } finally {+ U5.delete(i), W5.delete(i), G5.delete(i);+ }+ };+ if (!u) {+ f();+ return;}- !e.signal.aborted && o < NO && (n = setTimeout(c, t));- };- return n = setTimeout(c, t), () => {- e.abort(), clearTimeout(n);- };- }, [i.state]);- let h = () => {- f || (u.current = !1, s(""), l.run("download", (e) => J("/api/configuration/update", {}, "POST", e), a));- }, g = () => void l.run("check", (e) => uh("/api/configuration/updates", e), r, (t) => {- r({- ...e,- state: "error"- }), l.setError(q(t));- }), _ = l.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, D.jsxs)(vC, {- title: "检查更新",- children: [- /* @__PURE__ */ (0, D.jsxs)(EC, { children: [- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "当前版本",- children: n.current_version- }),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "安装方式",- children: n.installation- }),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "更新通道",- children: n.channel- }),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "最新版本",- children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")- })- ] }),- /* @__PURE__ */ (0, D.jsxs)(bC, {- divided: !0,- children: [- n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(SC, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,- n.state === "available" && !_ ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "info",- title: "有可用更新",- children: n.message- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(CC, { children: _ || n.message }) : /* @__PURE__ */ (0, D.jsx)(SC, {- role: "status",- children: n.message- }),- i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(CC, { children: i.message }) : null,- i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, D.jsxs)("div", {- "aria-live": "polite",- className: "flex flex-col gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(Ch, {- label: "更新准备进度",- value: i.progress,- stops: MO- }),- /* @__PURE__ */ (0, D.jsxs)(SC, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, D.jsx)(SC, { children: v })- ]- }) : null- ]- }),- /* @__PURE__ */ (0, D.jsxs)(xC, {- status: /* @__PURE__ */ (0, D.jsx)(TC, {- href: n.release_url,- children: "查看发布页"- }),- children: [- i.state === "ready" ? /* @__PURE__ */ (0, D.jsx)(K, {- onClick: m,- children: "重启安装"- }) : null,- n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, D.jsx)(K, {- onClick: h,- ...X(f || l.busy === "download"),- children: "下载并安装"- }) : null,- /* @__PURE__ */ (0, D.jsx)(K, {- disabled: f,- onClick: g,- ...X(l.busy === "check"),- children: "检查更新"- })- ]- })- ]+ if (s === "raf") {+ var p = requestAnimationFrame(f);+ U5.set(i, p);+ } else if (typeof s == "number") {+ if (!W5.has(i)) {+ f();+ var m = setTimeout(f, s);+ W5.set(i, m);+ }+ } else f();+ }+ }+});+var zge = $([+ $([m2], (e) => e.tooltipItemPayloads),+ (e, t) => t,+ (e, t, n) => n+], (e, t, n) => {+ if (t != null) {+ var r = e.find((e) => e.settings.graphicalItemId === n);+ if (r != null) {+ var { getPosition: i } = r;+ if (i != null) return i(t);+ }+ }+}), K5 = jB("touchMove"), q5 = dV(), J5 = null, Y5 = null, X5 = null, Z5 = null;+q5.startListening({+ actionCreator: K5,+ effect: (e, t) => {+ var n = e.payload;+ if (n.touches != null && n.touches.length !== 0) {+ Z5 = B5(n);+ var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");+ J5 !== null && (cancelAnimationFrame(J5), J5 = null), Y5 !== null && (typeof r != "number" || !a) && (clearTimeout(Y5), Y5 = null), X5 = Array.from(n.touches).map((e) => S5({+ clientX: e.clientX,+ clientY: e.clientY,+ currentTarget: n.currentTarget+ }));+ var o = () => {+ if (Z5 != null) {+ var e = t.getState(), n = q0(e, e.tooltip.settings.shared);+ if (n === "axis") {+ var r = X5?.[0];+ if (r == null) {+ J5 = null, Y5 = null;+ return;+ }+ var i = x5(e, r);+ i?.activeIndex != null && t.dispatch(i2({+ activeIndex: i.activeIndex,+ activeDataKey: void 0,+ activeCoordinate: i.activeCoordinate+ }));+ } else if (n === "item") {+ var a = Z5.touches[0];+ if (document.elementFromPoint == null || a == null) return;+ var o = document.elementFromPoint(a.clientX, a.clientY);+ if (!o || !o.getAttribute) return;+ var s = o.getAttribute(vse), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b2(e).find((e) => e.id === c);+ if (s == null || l == null || c == null) return;+ var { dataKey: u } = l, d = zge(e, s, c);+ t.dispatch(n2({+ activeDataKey: u,+ activeIndex: s,+ activeCoordinate: d,+ activeGraphicalItemId: c+ }));+ }+ J5 = null, Y5 = null;+ }+ };+ if (!a) {+ o();+ return;+ }+ r === "raf" ? J5 = requestAnimationFrame(o) : typeof r == "number" && Y5 === null && (o(), Z5 = null, Y5 = setTimeout(() => {+ Z5 ? o() : (Y5 = null, J5 = null);+ }, r));+ }+ }+});+//#endregion+//#region node_modules/recharts/es6/state/eventSettingsSlice.js+var Q5 = {+ throttleDelay: "raf",+ throttledEvents: [+ "mousemove",+ "touchmove",+ "pointermove",+ "scroll",+ "wheel"+ ]+}, $5 = BB({+ name: "eventSettings",+ initialState: Q5,+ reducers: { setEventSettings: (e, t) => {+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = eU(t.payload.throttledEvents));+ } }+}), { setEventSettings: Bge } = $5.actions, Vge = $5.reducer, Hge = yz({+ brush: ape,+ cartesianAxis: xfe,+ chartData: Sle,+ errorBars: wme,+ eventSettings: Vge,+ graphicalItems: Qde,+ layout: ase,+ legend: sU,+ options: _le,+ polarAxis: rde,+ polarOptions: Rge,+ referenceElements: gpe,+ renderedTicks: Wpe,+ rootProps: Fge,+ tooltip: rce,+ zIndex: cle+}), Uge = function(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";+ return joe({+ reducer: Hge,+ preloadedState: e,+ middleware: (e) => e({+ serializableCheck: !1,+ immutableCheck: ![+ "commonjs",+ "es6",+ "production"+ ].includes("es6")+ }).concat([+ w5.middleware,+ E5.middleware,+ I5.middleware,+ H5.middleware,+ q5.middleware+ ]),+ enhancers: (e) => {+ var t = e;+ return typeof e == "function" && (t = e()), t.concat(RB({ type: "raf" }));+ },+ devTools: sW.devToolsEnabled && {+ serialize: { replacer: Pge },+ name: `recharts-${t}`+ }});+};+//#endregion+//#region node_modules/recharts/es6/state/RechartsStoreProvider.js+function e7(e) {+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = HV(), a = (0, E.useRef)(null);+ if (i) return n;+ a.current ??= Uge(t, r);+ var o = ez;+ return /*#__PURE__*/ E.createElement(CU, {+ context: o,+ store: a.current+ }, n);}//#endregion-//#region src/react/settings/maintenance-settings.tsx-var FO = [- ["6", "每 6 小时"],- ["24", "每天"],- ["168", "每周"]-];-function IO({ data: e, receipt: t, reopenTutorial: n }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-6",- children: [- e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(RO, {- initial: e.automatic_updates,- receipt: t- }) : null,- e.updates ? /* @__PURE__ */ (0, D.jsx)(PO, {- initial: e.updates,- initialJob: e.update_job- }) : null,- /* @__PURE__ */ (0, D.jsx)(zO, { facts: e.facts }),- /* @__PURE__ */ (0, D.jsx)(LO, {- receipt: t,- reopenTutorial: n- }),- e.uninstall ? /* @__PURE__ */ (0, D.jsx)(BO, {- uninstall: e.uninstall,- receipt: t- }) : null- ]- });+//#region node_modules/recharts/es6/state/ReportMainChartProps.js+function Wge(e) {+ var { layout: t, margin: n } = e, r = tz(), i = HV();+ return (0, E.useEffect)(() => {+ i || (r(nse(t)), r(tse(n)));+ }, [+ r,+ i,+ t,+ n+ ]), null;}-function LO({ receipt: e, reopenTutorial: t }) {- let n = wh();- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "安装教程",- children: [/* @__PURE__ */ (0, D.jsxs)(bC, { children: [/* @__PURE__ */ (0, D.jsx)(SC, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: n.error }) : null] }), /* @__PURE__ */ (0, D.jsx)(xC, { children: /* @__PURE__ */ (0, D.jsx)(K, {- onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),- ...X(n.busy === "reopen"),- children: "重新打开教程"- }) })]- });+var t7 = /*#__PURE__*/ (0, E.memo)(Wge, EU);+//#endregion+//#region node_modules/recharts/es6/state/ReportChartProps.js+function n7(e) {+ var t = tz();+ return (0, E.useEffect)(() => {+ t(Ige(e));+ }, [t, e]), null;}-function RO({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = wh(e.error), s = (r) => {- r.preventDefault(), e.available && o.run("save", (e) => J("/api/configuration/automatic-updates", {- mode: n,- interval_hours: i- }, "POST", e), () => t("已保存配置"));- }, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "自动更新",- onSubmit: s,- children: [- /* @__PURE__ */ (0, D.jsxs)(yC, { children: [- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "自动检查新版本",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "自动检查新版本",- isSelected: n !== "off",- isDisabled: !e.available,- onChange: (e) => r(e ? "check" : "off")- })- }),- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "自动下载更新",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "自动下载更新",- isSelected: n === "download",- isDisabled: !e.available || !e.download_available || n === "off",- onChange: (e) => r(e ? "download" : "check")- })- }),- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "检查频率",- description: c,- children: /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "检查频率",- selectedKey: String(i),- isDisabled: !e.available,- onSelectionChange: (e) => {- e !== null && a(Number(e));- },- children: FO.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: t- }, e))- })- })- ] }),- o.error ? /* @__PURE__ */ (0, D.jsx)(bC, {- divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(CC, { children: o.error })- }) : null,- /* @__PURE__ */ (0, D.jsx)(xC, { children: /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- disabled: !e.available,- ...X(o.busy === "save"),- children: "保存配置"- }) })- ]- });+var r7 = /*#__PURE__*/ (0, E.memo)((e) => {+ var t = tz();+ return (0, E.useEffect)(() => {+ t(Bge(e));+ }, [t, e]), null;+}, EU);+//#endregion+//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js+function i7(e) {+ var { zIndex: t, isPanorama: n } = e, r = (0, E.useRef)(null), i = tz();+ return (0, E.useLayoutEffect)(() => (r.current && i(ole({+ zIndex: t,+ element: r.current,+ isPanorama: n+ })), () => {+ i(sle({+ zIndex: t,+ isPanorama: n+ }));+ }), [+ i,+ t,+ n+ ]), /*#__PURE__*/ E.createElement("g", {+ tabIndex: -1,+ ref: r,+ className: `recharts-zIndex-layer_${t}`+ });+}+function a7(e) {+ var { children: t, isPanorama: n } = e, r = Q(Zce);+ if (!r || r.length === 0) return t;+ var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, i.map((e) => /*#__PURE__*/ E.createElement(i7, {+ key: e,+ zIndex: e,+ isPanorama: n+ })), t, a.map((e) => /*#__PURE__*/ E.createElement(i7, {+ key: e,+ zIndex: e,+ isPanorama: n+ })));+}+//#endregion+//#region node_modules/recharts/es6/container/RootSurface.js+var Gge = ["children"];+function Kge(e, t) {+ if (e == null) return {};+ var n, r, i = qge(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 qge(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function o7() {+ return o7 = 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;+ }, o7.apply(null, arguments);+}+var Jge = {+ width: "100%",+ height: "100%",+ display: "block"+}, Yge = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = iH(), r = aH(), i = _W();+ if (!gV(n) || !gV(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__*/ E.createElement(gI, o7({}, o, {+ title: s,+ desc: c,+ role: u,+ tabIndex: l,+ width: n,+ height: r,+ style: Jge,+ ref: t+ }), a);+}), Xge = (e) => {+ var { children: t } = e, n = Q(WV);+ if (!n) return null;+ var { width: r, height: i, y: a, x: o } = n;+ return /*#__PURE__*/ E.createElement(gI, {+ width: r,+ height: i,+ x: o,+ y: a+ }, t);+}, s7 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { children: n } = e, r = Kge(e, Gge);+ return HV() ? /*#__PURE__*/ E.createElement(Xge, null, /*#__PURE__*/ E.createElement(a7, { isPanorama: !0 }, n)) : /*#__PURE__*/ E.createElement(Yge, o7({ ref: t }, r), /*#__PURE__*/ E.createElement(a7, { isPanorama: !1 }, n));+});+//#endregion+//#region node_modules/recharts/es6/util/useReportScale.js+function Zge() {+ var e = tz(), [t, n] = (0, E.useState)(null), r = Q(_se);+ return (0, E.useEffect)(() => {+ if (t != null) {+ var n = t.getBoundingClientRect().width / t.offsetWidth;+ hV(n) && n !== r && e(ise(n));+ }+ }, [+ t,+ e,+ r+ ]), n;+}+//#endregion+//#region node_modules/recharts/es6/chart/RechartsWrapper.js+function c7(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function Qge(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? c7(Object(n), !0).forEach(function(t) {+ $ge(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c7(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function $ge(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 e_e(e) {+ var t = t_e(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function t_e(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function l7() {+ return l7 = 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;+ }, l7.apply(null, arguments);+}+var n_e = () => (jle(), null);+function u7(e) {+ if (typeof e == "number") return e;+ if (typeof e == "string") {+ var t = parseFloat(e);+ if (!Number.isNaN(t)) return t;+ }+ return 0;+}+var r_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = (0, E.useRef)(null), [r, i] = (0, E.useState)({+ containerWidth: u7(e.style?.width),+ containerHeight: u7(e.style?.height)+ }), a = (0, E.useCallback)((e, t) => {+ i((n) => {+ var r = Math.round(e), i = Math.round(t);+ return n.containerWidth === r && n.containerHeight === i ? n : {+ containerWidth: r,+ containerHeight: i+ };+ });+ }, []), o = (0, E.useCallback)((e) => {+ if (typeof t == "function" && t(e), e != null && typeof ResizeObserver < "u") {+ var { width: r, height: i } = e.getBoundingClientRect();+ a(r, i);+ var o = new ResizeObserver((e) => {+ var t = e[0];+ if (t != null) {+ var { width: n, height: r } = t.contentRect;+ a(n, r);+ }+ });+ o.observe(e), n.current = o;+ }+ }, [t, a]);+ return (0, E.useEffect)(() => () => {+ n.current?.disconnect();+ }, [a]), /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(uH, {+ width: r.containerWidth,+ height: r.containerHeight+ }), /*#__PURE__*/ E.createElement("div", l7({ ref: o }, e)));+}), i_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { width: n, height: r } = e, [i, a] = (0, E.useState)({+ containerWidth: u7(n),+ containerHeight: u7(r)+ }), o = (0, E.useCallback)((e, t) => {+ a((n) => {+ var r = Math.round(e), i = Math.round(t);+ return n.containerWidth === r && n.containerHeight === i ? n : {+ containerWidth: r,+ containerHeight: i+ };+ });+ }, []), s = (0, E.useCallback)((e) => {+ if (typeof t == "function" && t(e), e != null) {+ var { width: n, height: r } = e.getBoundingClientRect();+ o(n, r);+ }+ }, [t, o]);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(uH, {+ width: i.containerWidth,+ height: i.containerHeight+ }), /*#__PURE__*/ E.createElement("div", l7({ ref: s }, e)));+}), a_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { width: n, height: r } = e;+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(uH, {+ width: n,+ height: r+ }), /*#__PURE__*/ E.createElement("div", l7({ ref: t }, e)));+}), o_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { width: n, height: r } = e;+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ E.createElement(i_e, l7({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ E.createElement(a_e, l7({}, e, {+ width: n,+ height: r,+ ref: t+ })) : /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(uH, {+ width: n,+ height: r+ }), /*#__PURE__*/ E.createElement("div", l7({ ref: t }, e)));+});+function s_e(e) {+ return e ? r_e : o_e;+}+var c_e = /*#__PURE__*/ (0, E.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, E.useRef)(null), x = tz(), [S, C] = (0, E.useState)(null), [w, T] = (0, E.useState)(null), D = Zge(), O = $V(), k = O?.width > 0 ? O.width : _, A = O?.height > 0 ? O.height : i, j = (0, E.useCallback)((e) => {+ D(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);+ }, [+ D,+ t,+ C,+ T+ ]), M = (0, E.useCallback)((e) => {+ x(C5(e)), x(V5({+ handler: a,+ reactEvent: e+ }));+ }, [x, a]), N = (0, E.useCallback)((e) => {+ x(T5(e)), x(V5({+ handler: l,+ reactEvent: e+ }));+ }, [x, l]), P = (0, E.useCallback)((e) => {+ x(r2()), x(V5({+ handler: u,+ reactEvent: e+ }));+ }, [x, u]), F = (0, E.useCallback)((e) => {+ x(T5(e)), x(V5({+ handler: d,+ reactEvent: e+ }));+ }, [x, d]), I = (0, E.useCallback)(() => {+ x(P5());+ }, [x]), ee = (0, E.useCallback)(() => {+ x(F5());+ }, [x]), te = (0, E.useCallback)((e) => {+ x(N5(e.key));+ }, [x]), L = (0, E.useCallback)((e) => {+ x(V5({+ handler: o,+ reactEvent: e+ }));+ }, [x, o]), ne = (0, E.useCallback)((e) => {+ x(V5({+ handler: s,+ reactEvent: e+ }));+ }, [x, s]), re = (0, E.useCallback)((e) => {+ x(V5({+ handler: c,+ reactEvent: e+ }));+ }, [x, c]), ie = (0, E.useCallback)((e) => {+ x(V5({+ handler: f,+ reactEvent: e+ }));+ }, [x, f]), ae = (0, E.useCallback)((e) => {+ x(V5({+ handler: h,+ reactEvent: e+ }));+ }, [x, h]), oe = (0, E.useCallback)((e) => {+ y && x(K5(e)), x(V5({+ handler: m,+ reactEvent: e+ }));+ }, [+ x,+ y,+ m+ ]), se = (0, E.useCallback)((e) => {+ x(V5({+ handler: p,+ reactEvent: e+ }));+ }, [x, p]), ce = s_e(v);+ return /*#__PURE__*/ E.createElement(a4.Provider, { value: S }, /*#__PURE__*/ E.createElement(SI.Provider, { value: w }, /*#__PURE__*/ E.createElement(ce, {+ width: k ?? g?.width,+ height: A ?? g?.height,+ className: Sm("recharts-wrapper", r),+ style: Qge({+ position: "relative",+ cursor: "default",+ width: k,+ height: A+ }, g),+ onClick: M,+ onContextMenu: L,+ onDoubleClick: ne,+ onFocus: I,+ onBlur: ee,+ onKeyDown: te,+ onMouseDown: re,+ onMouseEnter: N,+ onMouseLeave: P,+ onMouseMove: F,+ onMouseUp: ie,+ onTouchEnd: se,+ onTouchMove: oe,+ onTouchStart: ae,+ ref: j+ }, /*#__PURE__*/ E.createElement(n_e, null), n)));+}), l_e = [+ "width",+ "height",+ "responsive",+ "children",+ "className",+ "style",+ "compact",+ "title",+ "desc"+];+function u_e(e, t) {+ if (e == null) return {};+ var n, r, i = d_e(e, t);+ if (Object.getOwnPropertySymbols) {+ var a = Object.getOwnPropertySymbols(e);+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);+ }+ return i;}-function zO({ facts: e }) {- return /* @__PURE__ */ (0, D.jsx)(vC, {- title: "运行信息",- children: /* @__PURE__ */ (0, D.jsx)(EC, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(DC, {- term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(TC, {- href: e.download_url,- children: e.download_label- }) : null]- }, e.term)) })- });+function d_e(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-function BO({ uninstall: e, receipt: t }) {- let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = () => void c({- title: "卸载 Peach",- danger: !0,- body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",- confirmLabel: "卸载 Peach",- onConfirm: async () => {- let e = await J("/api/configuration/uninstall", {- delete_data: n,- confirmation: "卸载 Peach"- });- a(e.message);+var d7 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = cI(u_e(e, l_e));+ return c ? /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(uH, {+ width: n,+ height: r+ }), /*#__PURE__*/ E.createElement(s7, {+ otherAttributes: d,+ title: l,+ desc: u+ }, a)) : /*#__PURE__*/ E.createElement(c_e, {+ className: o,+ style: s,+ width: n,+ height: r,+ responsive: i ?? !1,+ onClick: e.onClick,+ onMouseLeave: e.onMouseLeave,+ onMouseEnter: e.onMouseEnter,+ onMouseMove: e.onMouseMove,+ onMouseDown: e.onMouseDown,+ onMouseUp: e.onMouseUp,+ onContextMenu: e.onContextMenu,+ onDoubleClick: e.onDoubleClick,+ onTouchStart: e.onTouchStart,+ onTouchMove: e.onTouchMove,+ onTouchEnd: e.onTouchEnd+ }, /*#__PURE__*/ E.createElement(s7, {+ otherAttributes: d,+ title: l,+ desc: u,+ ref: t+ }, /*#__PURE__*/ E.createElement(_pe, null, a)));+});+//#endregion+//#region node_modules/recharts/es6/chart/CartesianChart.js+function f7() {+ return f7 = 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]);}- }), s = i || e.message, l = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, D.jsxs)(vC, {- id: "uninstallPeach",- title: "卸载 Peach",- children: [/* @__PURE__ */ (0, D.jsxs)(bC, { children: [- e.available ? /* @__PURE__ */ (0, D.jsx)(SC, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: n,- isDisabled: !e.full_available || !!i,- onChange: r,- children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"- }),- /* @__PURE__ */ (0, D.jsx)(OC, {- summary: "数据目录",- children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(ew, {- path: e,- className: "text-body-2-regular text-text-secondary",- onRevealed: t- }, e))- })- ] }), /* @__PURE__ */ (0, D.jsx)(xC, {- status: s ? /* @__PURE__ */ (0, D.jsx)("p", {- role: i ? "status" : void 0,- children: s- }) : null,- children: /* @__PURE__ */ (0, D.jsx)(K, {- variant: "danger",- disabled: !e.available || !!i,- onClick: o,- children: "卸载 Peach"- })- })]- });+ return e;+ }, f7.apply(null, arguments);}-//#endregion-//#region src/react/settings/clouddrive-guide.tsx-var VO = [- {- name: "机械硬盘,或内存 8 GB 以内",- cache: "10–20 GiB",- read: "256 / 128 KB",- task: "1 个"+function p7(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function f_e(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? p7(Object(n), !0).forEach(function(t) {+ p_e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p7(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function p_e(e, t, n) {+ return (t = m_e(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function m_e(e) {+ var t = h_e(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function h_e(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var g_e = f_e({+ accessibilityLayer: !0,+ barCategoryGap: "10%",+ barGap: 4,+ layout: "horizontal",+ margin: {+ top: 5,+ right: 5,+ bottom: 5,+ left: 5},- {- name: "SATA SSD,内存 8–16 GB",- cache: "20–50 GiB",- read: "256 / 128 KB",- task: "1–2 个"+ responsive: !1,+ reverseStackOrder: !1,+ stackOffset: "none",+ syncMethod: "index"+}, Q5), m7 = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ var n = kR(e.categoricalChartProps, g_e), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {+ chartName: r,+ defaultTooltipEventType: i,+ validateTooltipEventTypes: a,+ tooltipPayloadSearcher: o,+ eventEmitter: void 0+ };+ return /*#__PURE__*/ E.createElement(e7, {+ preloadedState: { options: c },+ reduxStoreName: s.id ?? r+ }, /*#__PURE__*/ E.createElement(G6, { chartData: s.data }), /*#__PURE__*/ E.createElement(t7, {+ layout: n.layout,+ margin: n.margin+ }), /*#__PURE__*/ E.createElement(r7, {+ throttleDelay: n.throttleDelay,+ throttledEvents: n.throttledEvents+ }), /*#__PURE__*/ E.createElement(n7, {+ baseValue: n.baseValue,+ accessibilityLayer: n.accessibilityLayer,+ barCategoryGap: n.barCategoryGap,+ maxBarSize: n.maxBarSize,+ stackOffset: n.stackOffset,+ barGap: n.barGap,+ barSize: n.barSize,+ syncId: n.syncId,+ syncMethod: n.syncMethod,+ className: n.className,+ reverseStackOrder: n.reverseStackOrder+ }), /*#__PURE__*/ E.createElement(d7, f7({}, n, { ref: t })));+}), __e = ["axis"], v_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(m7, {+ chartName: "LineChart",+ defaultTooltipEventType: "axis",+ validateTooltipEventTypes: __e,+ tooltipPayloadSearcher: l4,+ categoricalChartProps: e,+ ref: t+})), y_e = ["axis", "item"], h7 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(m7, {+ chartName: "BarChart",+ defaultTooltipEventType: "axis",+ validateTooltipEventTypes: y_e,+ tooltipPayloadSearcher: l4,+ categoricalChartProps: e,+ ref: t+}));+//#endregion+//#region node_modules/recharts/es6/state/ReportPolarOptions.js+function b_e(e) {+ var t = tz();+ return (0, E.useEffect)(() => {+ t(Lge(e));+ }, [t, e]), null;+}+//#endregion+//#region node_modules/recharts/es6/chart/PolarChart.js+var x_e = ["layout"];+function g7() {+ return g7 = 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;+ }, g7.apply(null, arguments);+}+function S_e(e, t) {+ if (e == null) return {};+ var n, r, i = C_e(e, t);+ if (Object.getOwnPropertySymbols) {+ var a = Object.getOwnPropertySymbols(e);+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);+ }+ return i;+}+function C_e(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function _7(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function w_e(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? _7(Object(n), !0).forEach(function(t) {+ T_e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _7(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+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 E_e(e) {+ var t = D_e(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function D_e(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var v7 = w_e({+ accessibilityLayer: !0,+ stackOffset: "none",+ barCategoryGap: "10%",+ barGap: 4,+ margin: {+ top: 5,+ right: 5,+ bottom: 5,+ left: 5},- {- name: "NVMe SSD,内存 16 GB 以上",- cache: "50–100 GiB",- read: "256 / 128 KB",- task: "2 个起步"+ reverseStackOrder: !1,+ syncMethod: "index",+ layout: "radial",+ responsive: !1,+ cx: "50%",+ cy: "50%",+ innerRadius: 0,+ outerRadius: "80%"+}, Q5), O_e = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ var n = kR(e.categoricalChartProps, v7), { layout: r } = n, i = S_e(n, x_e), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {+ chartName: a,+ defaultTooltipEventType: o,+ validateTooltipEventTypes: s,+ tooltipPayloadSearcher: c,+ eventEmitter: void 0+ };+ return /*#__PURE__*/ E.createElement(e7, {+ preloadedState: { options: l },+ reduxStoreName: n.id ?? a+ }, /*#__PURE__*/ E.createElement(G6, { chartData: n.data }), /*#__PURE__*/ E.createElement(t7, {+ layout: r,+ margin: n.margin+ }), /*#__PURE__*/ E.createElement(r7, {+ throttleDelay: n.throttleDelay,+ throttledEvents: n.throttledEvents+ }), /*#__PURE__*/ E.createElement(n7, {+ baseValue: void 0,+ accessibilityLayer: n.accessibilityLayer,+ barCategoryGap: n.barCategoryGap,+ maxBarSize: n.maxBarSize,+ stackOffset: n.stackOffset,+ barGap: n.barGap,+ barSize: n.barSize,+ syncId: n.syncId,+ syncMethod: n.syncMethod,+ className: n.className,+ reverseStackOrder: n.reverseStackOrder+ }), /*#__PURE__*/ E.createElement(b_e, {+ cx: n.cx,+ cy: n.cy,+ startAngle: n.startAngle,+ endAngle: n.endAngle,+ innerRadius: n.innerRadius,+ outerRadius: n.outerRadius+ }), /*#__PURE__*/ E.createElement(d7, g7({}, i, { ref: t })));+}), k_e = ["axis"], A_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(m7, {+ chartName: "AreaChart",+ defaultTooltipEventType: "axis",+ validateTooltipEventTypes: k_e,+ tooltipPayloadSearcher: l4,+ categoricalChartProps: e,+ ref: t+}));+//#endregion+//#region node_modules/recharts/es6/chart/RadialBarChart.js+function y7(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);}-], HO = [- ["cache", "缓存上限"],- ["read", "读取长度(默认 / 最小)"],- ["task", "同时处理视频"]-];-function UO() {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "@container flex flex-col gap-3",- children: [/* @__PURE__ */ (0, D.jsxs)(SC, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, D.jsx)(TC, {- href: "https://www.clouddrive2.com/help.html",- children: "挂载帮助"- })] }), /* @__PURE__ */ (0, D.jsxs)(OC, {- summary: "CloudDrive 缓存建议",- children: [- /* @__PURE__ */ (0, D.jsx)(SC, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),- /* @__PURE__ */ (0, D.jsx)("ul", {- "aria-label": "按缓存所在硬盘分档",- className: "flex flex-col gap-2",- children: VO.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {- className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",- children: [/* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-medium text-text-primary",- children: e.name- }), /* @__PURE__ */ (0, D.jsx)("dl", {- className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: HO.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col",- children: [/* @__PURE__ */ (0, D.jsx)("dt", {- className: "text-caption-1-regular text-text-secondary",- children: n- }), /* @__PURE__ */ (0, D.jsx)("dd", {- className: "text-body-regular text-text-primary",- children: e[t]- })]- }, t))- })]- }, e.name))- }),- /* @__PURE__ */ (0, D.jsxs)("ul", {- className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",- children: [- /* @__PURE__ */ (0, D.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),- /* @__PURE__ */ (0, D.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),- /* @__PURE__ */ (0, D.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })- ]- }),- /* @__PURE__ */ (0, D.jsxs)(SC, { children: [- "三处缓存的分工、往上调的方法和这些起步值的来源在",- /* @__PURE__ */ (0, D.jsx)(TC, {- href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",- children: "CloudDrive 配置与调优"- }),- "。"- ] })- ]- })]+ return n;+}+function b7(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? y7(Object(n), !0).forEach(function(t) {+ j_e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y7(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function j_e(e, t, n) {+ return (t = M_e(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function M_e(e) {+ var t = N_e(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function N_e(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var P_e = ["axis", "item"], F_e = b7(b7({}, v7), {}, {+ layout: "radial",+ startAngle: 0,+ endAngle: 360+}), I_e = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = kR(e, F_e);+ return /*#__PURE__*/ E.createElement(O_e, {+ chartName: "RadialBarChart",+ defaultTooltipEventType: "axis",+ validateTooltipEventTypes: P_e,+ tooltipPayloadSearcher: l4,+ categoricalChartProps: n,+ ref: t});+});+//#endregion+//#region src/react/charts/cn.ts+function x7(...e) {+ return _w(Sm(e));}//#endregion-//#region src/react/settings/library-icon-picker.tsx-var WO = [- ["", "自动识别"],- ["hard-drive", "磁盘"],- ["database", "资料库"],- ["heart", "心动"],- ["heart-hand", "亲密"],- ["flame", "热情"],- ["cherry", "樱桃"],- ["lollipop", "甜心"],- ["candy", "糖果"],- ["banana", "香蕉"],- ["droplets", "湿润"],- ["venus", "女性"],- ["mars", "男性"],- ["venus-and-mars", "情侣"],- ["gem", "精选"],- ["crown", "女王"],- ["ribbon", "丝带"],- ["shirt", "制服"],- ["graduation-cap", "学生"],- ["stethoscope", "护士"],- ["glasses", "眼镜"],- ["footprints", "足迹"],- ["hand", "手部"],- ["flower", "花朵"],- ["venetian-mask", "角色扮演"],- ["rabbit", "兔女郎"],- ["paw-print", "兽耳"],- ["dumbbell", "健身"],- ["bed-double", "卧室"],- ["bath", "浴室"],- ["key-round", "私密"],- ["wine", "微醺"],- ["cigarette", "烟"],- ["moon", "夜色"],- ["sparkles", "幻想"],- ["camera", "写真"],- ["video", "影片"],- ["film", "电影"],- ["image", "图集"],- ["gamepad-2", "游戏"],- ["star", "收藏"],- ["tags", "主题"]-];-function GO(e) {- let t = e === "local" ? "" : o[e];- return t ? [t, "自动识别"] : ["hard-drive", "默认"];+//#region src/react/evilcharts/registry/ui/recharts-chart.tsx+var S7 = {+ light: "",+ dark: ".dark"+}, C7 = Object.keys(S7);+function L_e(e) {+ for (let [t, n] of Object.entries(e)) if (n.colors && !C7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${C7.join(", ")}). Received empty object or invalid keys.`);}-var KO = "auto";-function qO({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(e), [l, u] = GO(n);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(K, {- ref: i,- variant: "secondary",- className: "self-start",- "aria-label": t,- "aria-haspopup": "dialog",- "aria-expanded": a,- onClick: () => {- c(e), o(!0);- },- children: /* @__PURE__ */ (0, D.jsxs)("span", {- "data-icon-choice": !0,- className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(AC, { mark: e || l }), ((e) => e && WO.find(([t]) => t === e)?.[1] || u)(e)]- })- }), /* @__PURE__ */ (0, D.jsx)(hv, {- triggerRef: i,- isOpen: a,- onOpenChange: o,- placement: "bottom start",- offset: 4,- className: iC,- children: /* @__PURE__ */ (0, D.jsxs)(yv, {- "aria-label": `${t}候选`,- className: "flex w-72 flex-col gap-3 outline-none",+var w7 = E.createContext(null);+function T7() {+ let e = E.useContext(w7);+ if (!e) throw Error("useChart must be used within a <ChartContainer />");+ return e;+}+function E7({ id: e, config: t, initialDimension: n = {+ width: 320,+ height: 200+}, className: r, children: i, footer: a, ...o }) {+ let s = E.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;+ return L_e(t), /* @__PURE__ */ (0, D.jsx)(w7.Provider, {+ value: { config: t },+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ "data-slot": "chart",+ "data-chart": c,+ className: x7("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),+ ...o,children: [- /* @__PURE__ */ (0, D.jsx)(Og, {- slot: "title",- className: "px-1 text-body-medium text-text-primary",- children: "选择媒体库图标"- }),- /* @__PURE__ */ (0, D.jsx)(Iv, {- "aria-label": "候选图标",- value: s || KO,- onChange: (e) => c(e === KO ? "" : e),- className: "inline-grid grid-cols-7 gap-1",- children: WO.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Lv, {- value: e || KO,- "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, D.jsx)(AC, { mark: e || l })- }, e || KO))+ /* @__PURE__ */ (0, D.jsx)(O7, {+ id: c,+ config: t}),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- variant: "secondary",- onClick: () => o(!1),- children: "取消"- }), /* @__PURE__ */ (0, D.jsx)(K, {- disabled: s === e,- onClick: () => {- r(s), o(!1);- },- children: "应用"- })]- })+ /* @__PURE__ */ (0, D.jsx)(eH, {+ className: "min-h-0 w-full flex-1",+ initialDimension: n,+ children: i+ }),+ a]})- })] });+ });}-//#endregion-//#region src/react/settings/push-discovery-settings.tsx-var JO = "/api/configuration/push-discovery", YO = "/api/configuration/push-discovery/secret";-function XO({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = wh(), l = Mb(), u = n.media_roots, [d, f] = (0, E.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, D.jsxs)(vC, {- title: "推送发现",- onSubmit: (e) => {- e.preventDefault();- let t = {- enabled: n.enabled,- watch_local: n.watch_local,- cloud: n.cloud,- prefixes: i- };- c.run("save", (e) => J(JO, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(q(e)));- },- children: [- /* @__PURE__ */ (0, D.jsxs)(yC, { children: [- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "新文件落地就入库",- description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "新文件落地就入库",- isSelected: n.enabled,- isDisabled: !n.available,- onChange: (e) => r({- ...n,- enabled: e- })- })- }),- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "监视本机文件夹",- description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "监视本机文件夹",- isSelected: n.watch_local,- isDisabled: !n.available || !n.enabled,- onChange: (e) => r({- ...n,- watch_local: e- })- })- }),- /* @__PURE__ */ (0, D.jsx)(hC, {- label: "接收 CloudDrive2 通知",- description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",- children: /* @__PURE__ */ (0, D.jsx)(ux, {- "aria-label": "接收 CloudDrive2 通知",- isSelected: n.cloud,- isDisabled: !n.available || !n.enabled,- onChange: (e) => r({- ...n,- cloud: e- })- })- })- ] }),- d.enabled ? /* @__PURE__ */ (0, D.jsx)(bC, {- divided: !0,- children: /* @__PURE__ */ (0, D.jsxs)(EC, { children: [d.watch_local ? /* @__PURE__ */ (0, D.jsx)(DC, {- term: "本机文件夹监视",- children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"- }) : null, /* @__PURE__ */ (0, D.jsx)(DC, {- term: "已入库",- children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`- })] })- }) : null,- d.enabled && d.cloud ? /* @__PURE__ */ (0, D.jsx)(bC, {- divided: !0,- children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)(wC, { children: "CloudDrive2 配置内容" }),- /* @__PURE__ */ (0, D.jsx)(SC, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),- d.config_toml ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(K, {- size: "small",- onClick: () => {- navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));- },- children: "复制配置"- }) }), /* @__PURE__ */ (0, D.jsx)(OC, {- summary: "查看这段配置",- children: /* @__PURE__ */ (0, D.jsx)("div", {- className: "relative",- children: /* @__PURE__ */ (0, D.jsx)("pre", {- ref: l,- tabIndex: 0,- className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",- children: d.config_toml- })- })- })] }) : /* @__PURE__ */ (0, D.jsx)(SC, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })- ]- })- }) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(bC, {- divided: !0,- children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)(wC, { children: "云端路径前缀" }),- /* @__PURE__ */ (0, D.jsx)(SC, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),- /* @__PURE__ */ (0, D.jsx)("div", {- role: "group",- "aria-label": "云端路径前缀",- className: "flex flex-col gap-3",- children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex items-start gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(_b, {- className: "min-w-0 flex-1",- "aria-label": `云端路径前缀 ${t + 1}`,- placeholder: "/115",- autoComplete: "off",- maxLength: 200,- value: e.prefix,- onChange: (e) => m(t, { prefix: e })- }),- /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": `前缀 ${t + 1} 对应的媒体根`,- selectedKey: e.root,- onSelectionChange: (e) => {- e !== null && m(t, { root: String(e) });- },- children: u.map((e) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: e- }, e))- }),- /* @__PURE__ */ (0, D.jsx)(ub, {- icon: Yf,- "aria-label": "移除这一条",- onClick: () => a((e) => e.filter((e, n) => n !== t))- })- ]- }, t))+function D7({ isLoading: e }) {+ return e ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "text-primary bg-background flex items-center justify-center gap-2 rounded-md border px-2 py-0.5 text-sm",+ children: [/* @__PURE__ */ (0, D.jsx)("div", { className: "border-border border-t-primary h-3 w-3 animate-spin rounded-full border" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "Loading" })]+ })+ }) : null;+}+function R_e(e, t) {+ let n = e.length;+ if (n >= t) return e.slice(0, t);+ let r = [], i = Math.floor(t / n), a = t % n;+ for (let t = 0; t < n; t++) {+ let o = i + +(t >= n - a);+ for (let n = 0; n < o; n++) r.push(e[t]);+ }+ return r;+}+var O7 = ({ id: e, config: t }) => {+ let n = Object.entries(t).filter(([, e]) => e.colors);+ if (!n.length) return null;+ let r = (e) => n.flatMap(([t, n]) => {+ let r = n.colors?.[e];+ return !r || !Array.isArray(r) || r.length === 0 ? [] : R_e(r, A7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ }).filter(Boolean).join("\n"), i = Object.entries(S7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");+ return /* @__PURE__ */ (0, D.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });+};+function k7(e, t, n) {+ if (typeof t != "object" || !t) return;+ let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;+ return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];+}+function A7(e) {+ if (!e.colors) return 1;+ let t = C7.map((t) => e.colors?.[t]?.length ?? 0);+ return Math.max(...t, 1);+}+var z_e = (e = 10, t = 0, n = 70) => {+ let r = n - t;+ return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));+}, B_e = {+ sm: "rounded-sm",+ md: "rounded-md",+ lg: "rounded-lg",+ xl: "rounded-xl"+}, V_e = {+ default: "bg-background",+ "frosted-glass": "bg-background/70 backdrop-blur-sm"+};+function j7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {+ let { config: h } = T7(), g = E.useMemo(() => {+ if (i || !t?.length) return null;+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = k7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;+ return s ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("font-medium", c),+ children: s(a, t)+ }) : a ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("font-medium", c),+ children: a+ }) : null;+ }, [+ o,+ s,+ t,+ i,+ c,+ h,+ d+ ]);+ if (!e || !t?.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });+ let _ = t.length === 1 && r !== "dot";+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: x7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", B_e[p], V_e[m], n),+ children: [_ ? null : g, /* @__PURE__ */ (0, D.jsx)("div", {+ className: "grid gap-1.5",+ children: t.filter((e) => e.type !== "none").map((e, t) => {+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = k7(h, e, n), o = i ? A7(i) : 1;+ return /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),+ children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("shrink-0 rounded-[2px]", {+ "h-2.5 w-2.5": r === "dot",+ "w-1": r === "line",+ "w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",+ "my-0.5": _ && r === "dashed"}),- /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(K, {- size: "small",- onClick: () => a((e) => [...e, {- prefix: "",- root: u[0] ?? ""- }]),- children: "添加前缀"- }) })- ]- })- }) : null,- o || c.error ? /* @__PURE__ */ (0, D.jsx)(bC, {- divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(CC, { children: o || c.error })- }) : null,- /* @__PURE__ */ (0, D.jsxs)(xC, {- status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,- children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, D.jsx)(K, {- onClick: () => {- c.run("secret", (e) => J(YO, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(q(e)));- },- disabled: !n.available,- ...X(c.busy === "secret"),- children: "更换密钥"- }) : null, /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- disabled: !n.available,- ...X(c.busy === "save"),- children: "保存配置"- })]+ style: H_e(n, o)+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: x7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "grid gap-1.5",+ children: [_ ? g : null, /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-muted-foreground",+ children: i?.label ?? e.name+ })]+ }), e.value != null && /* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-foreground font-mono font-medium tabular-nums",+ children: typeof e.value == "number" ? e.value.toLocaleString() : String(e.value)+ })]+ })] })+ }, t);})- ]+ })]});}-//#endregion-//#region src/react/settings/media-settings.tsx-var ZO = 8e3;-function QO({ className: e }) {- return /* @__PURE__ */ (0, D.jsx)("svg", {- "aria-hidden": !0,- viewBox: "0 0 24 24",- fill: "none",- stroke: "currentColor",- strokeWidth: 2,- strokeLinecap: "round",- strokeLinejoin: "round",- className: e,- children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-search" })- });+function H_e(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 $O = [- ["local", "本地磁盘"],- ["115", "CloudDrive · 115"],- ["pikpak", "CloudDrive · PikPak"]-], ek = (e) => $O.find(([t]) => t === e)?.[1] ?? e, tk = (e) => o[e] || "database", nk = (e = "") => ({- path: e,- location: "local",- root: "",- library: "",- library_icon: ""+var M7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, D.jsx)(zle, {+ animationDuration: e,+ ...t});-function rk(e) {- let t = e.media_sources?.filter((e) => $O.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) => nk(e));+//#endregion+//#region src/react/evilcharts/registry/ui/recharts-legend.tsx+function N7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {+ let { config: u } = T7();+ return r?.length ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),+ children: r.filter((e) => e.type !== "none").map((e) => {+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = k7(u, e, r), a = o === null || o === r, d = i ? A7(i) : 1;+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: x7("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),+ onClick: () => {+ c && s?.(o === r ? null : r);+ },+ children: [i?.icon && !t ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : /* @__PURE__ */ (0, D.jsx)(U_e, {+ variant: l,+ dataKey: r,+ colorsCount: d+ }), i?.label]+ }, r);+ })+ }) : null;}-var ik = (e) => !(e instanceof ch) || e.status !== 400 ? null : e.body?.errors ?? null;-function ak({ data: e, receipt: t }) {- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-6",+function U_e({ variant: e, dataKey: t, colorsCount: n }) {+ let r = W_e(t, n), i = G_e(t, n);+ switch (e) {+ case "square": return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-2 w-2 shrink-0",+ style: r+ });+ case "circle": return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-2 w-2 shrink-0 rounded-full",+ style: r+ });+ case "circle-outline": return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-2.5 w-2.5 shrink-0 rounded-full p-[1.5px]",+ style: i+ });+ case "vertical-bar": return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-3 w-1 shrink-0 rounded-[2px]",+ style: r+ });+ case "horizontal-bar": return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-1 w-3 shrink-0 rounded-[2px]",+ style: r+ });+ case "rounded-square-outline": return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-2.5 w-2.5 shrink-0 rounded-[3px] p-[1.5px]",+ style: i+ });+ default: return /* @__PURE__ */ (0, D.jsx)("div", {+ className: "h-2 w-2 shrink-0 rounded-[2px]",+ style: r+ });+ }+}+function W_e(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 G_e(e, t) {+ let n = {+ WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",+ WebkitMaskComposite: "xor",+ mask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",+ maskComposite: "exclude"+ };+ return t <= 1 ? {+ backgroundColor: `var(--color-${e}-0)`,+ ...n+ } : {+ background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})`,+ ...n+ };+}+var P7 = WU, F7 = () => null, I7 = {+ stiffness: 300,+ damping: 35,+ mass: .8+};+function K_e({ range: e, totalPoints: t, containerRef: n, commit: r }) {+ let i = E.useRef(null), [a, o] = E.useState(!1), s = (0, E.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, E.useCallback)((t, n) => {+ t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {+ type: n,+ originX: t.clientX,+ originRange: { ...e }+ }, o(!0);+ }, [e]), l = (0, E.useCallback)((e) => {+ let n = i.current;+ if (!n) return;+ let a = s(e.clientX - n.originX), { type: o, originRange: c } = n;+ if (o === "left") r({+ startIndex: c.startIndex + a,+ endIndex: c.endIndex+ }, "left");+ else if (o === "right") r({+ startIndex: c.startIndex,+ endIndex: c.endIndex + a+ }, "right");+ else {+ let e = c.endIndex - c.startIndex, n = c.startIndex + a, i = n + e;+ n < 0 && (n = 0, i = e), i > t - 1 && (i = t - 1, n = Math.max(0, i - e)), r({+ startIndex: n,+ endIndex: i+ }, "middle");+ }+ }, [+ s,+ t,+ r+ ]), u = (0, E.useCallback)((e) => {+ e.target.releasePointerCapture(e.pointerId), i.current = null, o(!1);+ }, []);+ return {+ isDragging: a,+ bind: (0, E.useCallback)((e) => ({+ onPointerDown: (t) => c(t, e),+ onPointerMove: l,+ onPointerUp: u+ }), [+ c,+ l,+ u+ ])+ };+}+function q_e({ 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 = E.useRef(null), S = E.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = E.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [O, k] = E.useState(() => ({+ startIndex: Math.max(0, Math.min(p, C - 1)),+ endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))+ })), A = E.useRef(O);+ (0, E.useEffect)(() => {+ T || k((e) => {+ let t = {+ startIndex: Math.min(e.startIndex, Math.max(0, C - 1)),+ endIndex: Math.min(e.endIndex, Math.max(0, C - 1))+ };+ return A.current = t, t;+ });+ }, [C, T]);+ let j = (0, E.useCallback)((e, t) => {+ let { startIndex: n, endIndex: r } = e, i = Math.max(0, C - 1);+ if (n = Math.max(0, Math.min(n, i)), r = Math.max(0, Math.min(r, i)), t === "left") {+ let e = Math.max(0, r - v);+ return n = Math.min(n, e), {+ startIndex: n,+ endIndex: r+ };+ }+ if (t === "right") {+ let e = Math.min(i, n + v);+ return r = Math.max(r, e), {+ startIndex: n,+ endIndex: r+ };+ }+ return r - n < v && (r = Math.min(n + v, i), r - n < v && (n = Math.max(0, r - v))), {+ startIndex: n,+ endIndex: r+ };+ }, [C, v]), { isDragging: M, bind: N } = K_e({+ range: O,+ totalPoints: C,+ containerRef: x,+ commit: (0, E.useCallback)((e, t) => {+ let n = j(e, t), r = A.current;+ (r.startIndex !== n.startIndex || r.endIndex !== n.endIndex) && (A.current = n, k(n), E.startTransition(() => {+ h?.(n);+ }));+ }, [j, h])+ }), P = O;+ (0, E.useEffect)(() => {+ if (T && !M) {+ let e = {+ startIndex: d,+ endIndex: f+ };+ k(e), A.current = e;+ }+ }, [+ T,+ d,+ f,+ M+ ]);+ let F = C > 1 ? P.startIndex / (C - 1) * 100 : 0, I = C > 1 ? P.endIndex / (C - 1) * 100 : 100, ee = ef(F), te = ef(I);+ ee.get() !== F && ee.set(F), te.get() !== I && te.set(I);+ let L = cf(ee, I7), ne = cf(te, I7), re = rf(L, (e) => `${e}%`), ie = rf(ne, (e) => `${e}%`), ae = rf(L, (e) => `${e}%`), oe = rf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = ef(`${Math.max(0, I - F)}%`), ce = (0, E.useCallback)(() => {+ se.set(`${Math.max(0, ne.get() - L.get())}%`);+ }, [+ L,+ ne,+ se+ ]);+ $d(L, "change", ce), $d(ne, "change", ce);+ let le = (0, E.useCallback)((t) => {+ if (!r) return String(t);+ let n = e[t]?.[r];+ return g ? g(n, t) : String(n ?? t);+ }, [+ e,+ r,+ g+ ]);+ return C === 0 ? null : /* @__PURE__ */ (0, D.jsxs)("div", {+ ref: x,+ "data-chart": b ? void 0 : w,+ className: x7("group relative select-none", o),+ style: { height: a },children: [- e.editable ? /* @__PURE__ */ (0, D.jsx)(ok, {- data: e,- receipt: t- }) : /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "neutral",- title: "只读",- children: e.notice+ !b && /* @__PURE__ */ (0, D.jsx)(O7, {+ id: w,+ config: t}),- /* @__PURE__ */ (0, D.jsx)(ck, { data: e }),- e.push_discovery ? /* @__PURE__ */ (0, D.jsx)(XO, {- initial: e.push_discovery,- receipt: t- }) : null+ /* @__PURE__ */ (0, D.jsx)("div", {+ className: "absolute inset-0 overflow-hidden rounded-md",+ children: /* @__PURE__ */ (0, D.jsx)(J_e, {+ data: e,+ keys: S,+ chartConfig: t,+ variant: i,+ curveType: _,+ chartId: w,+ stacked: s,+ strokeVariant: c === "animated-dashed" ? "dashed" : c,+ connectNulls: l,+ barRadius: u+ })+ }),+ /* @__PURE__ */ (0, D.jsx)(uf.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, D.jsx)(uf.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, D.jsx)(uf.div, {+ className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",+ style: {+ left: re,+ width: se+ },+ ...N("middle")+ }),+ /* @__PURE__ */ (0, D.jsx)(L7, {+ side: "left",+ position: re,+ label: y ? le(P.startIndex) : void 0,+ bind: N("left")+ }),+ /* @__PURE__ */ (0, D.jsx)(L7, {+ side: "right",+ position: ie,+ label: y ? le(P.endIndex) : void 0,+ bind: N("right")+ })]});}-function ok({ data: e, receipt: t }) {- let [n, r] = (0, E.useState)(() => rk(e)), [i, a] = (0, E.useState)(String(e.port)), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)([]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(null), [v, y] = (0, E.useState)(null), b = (0, E.useRef)(!1), x = (0, E.useRef)(e.revision), S = (0, E.useRef)([]), C = wh();- (0, E.useLayoutEffect)(() => {- g !== null && (S.current[g]?.focus(), _(null));- }, [g]), (0, E.useEffect)(() => {- if (!m) return;- let e = setTimeout(() => location.assign(m.url), ZO);- return () => clearTimeout(e);- }, [m]);- let w = (e, t) => r((n) => n.map((n, r) => r === e ? {- ...n,- ...t- } : n)), T = (e, t) => l((n) => {- let r = [...n];- for (; r.length <= e;) r.push("");- return r[e] = t, r;- }), O = () => {- _(n.length), r((e) => [...e, nk()]);- }, k = (e) => {- r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));- }, A = async (e) => {- if (!b.current) {- b.current = !0, y(e);- try {- let { path: t } = await J(wO, { initial: n[e]?.path ?? "" });- t && (w(e, { path: t }), T(e, ""));- } catch (t) {- T(e, q(t));- } finally {- b.current = !1, y(null);- }- }- }, j = (r) => {- r.preventDefault(), p(""), C.run("save", (t) => J(CO, {- revision: x.current,- media_dirs: n.map((e) => e.path),- ...e.media_sources ? { media_sources: n } : {},- port: i,- scan_now: o- }, "POST", t), (e) => {- x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);- }, (e) => {- let t = ik(e);- l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(q(e));+function L7({ side: e, position: t, label: n, bind: r }) {+ let i = e === "left";+ return /* @__PURE__ */ (0, D.jsxs)(uf.div, {+ className: "absolute inset-y-0 z-10",+ style: { left: t },+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),+ ...r,+ children: /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-col gap-[2px]",+ children: [+ /* @__PURE__ */ (0, D.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" }),+ /* @__PURE__ */ (0, D.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" }),+ /* @__PURE__ */ (0, D.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" })+ ]+ })+ })+ }), n && /* @__PURE__ */ (0, D.jsx)("div", {+ className: x7("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),+ children: n+ })]+ });+}+function J_e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {+ let u = E.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({+ dataKey: e,+ colorsCount: A7(t)+ })), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, D.jsxs)("linearGradient", {+ id: `${a}-zm-vertical-fade`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: "white",+ stopOpacity: .15+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: "white",+ stopOpacity: 0+ })]+ }), u.map(({ dataKey: e, colorsCount: t }) => {+ let n = t === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${e}-0)`+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${e}-0)`+ })] }) : Array.from({ length: t }, (n, r) => /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: `${r / (t - 1) * 100}%`,+ stopColor: `var(--color-${e}-${r}, var(--color-${e}-0))`+ }, r));+ return /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("linearGradient", {+ id: `${a}-zm-${e}`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: n+ }), r === "area" && /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${a}-zm-fill-mask-${e}`,+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${a}-zm-vertical-fade)`+ })+ }), /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${a}-zm-fill-${e}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${a}-zm-${e})`,+ mask: `url(#${a}-zm-fill-mask-${e})`+ })+ })] })] }, e);+ })] });+ if (r === "line") return /* @__PURE__ */ (0, D.jsx)(eH, {+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsxs)(v_e, {+ data: e,+ margin: {+ top: 4,+ right: 0,+ bottom: 0,+ left: 0+ },+ children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(N8, {+ type: i,+ dataKey: e,+ stroke: `url(#${a}-zm-${e})`,+ strokeWidth: 1,+ strokeOpacity: .5,+ strokeDasharray: d,+ connectNulls: c,+ dot: !1,+ activeDot: !1,+ isAnimationActive: !1+ }, e))]+ })+ });+ if (r === "bar") {+ let n = l ?? 3;+ return /* @__PURE__ */ (0, D.jsx)(eH, {+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsxs)(h7, {+ data: e,+ margin: {+ top: 2,+ right: 0,+ bottom: 0,+ left: 0+ },+ barGap: 2,+ barSize: 14,+ children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(s5, {+ dataKey: e,+ fill: `url(#${a}-zm-${e})`,+ fillOpacity: .35,+ stackId: o ? "zm-stack" : void 0,+ isAnimationActive: !1,+ radius: [+ n,+ n,+ n,+ n+ ]+ }, e))]+ })});- };- if (m) return /* @__PURE__ */ (0, D.jsx)(vC, {- title: "这台电脑",- children: /* @__PURE__ */ (0, D.jsx)(bC, { children: /* @__PURE__ */ (0, D.jsxs)(Y, {- tone: "success",- title: "配置已保存",- children: [- "Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, D.jsx)(_C, {- href: m.url,- size: "small",- children: "进入馆藏"- }),- "。"- ]- }) })+ }+ return /* @__PURE__ */ (0, D.jsx)(eH, {+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsxs)(A_e, {+ data: e,+ margin: {+ top: 4,+ right: 0,+ bottom: 0,+ left: 0+ },+ children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(J8, {+ type: i,+ dataKey: e,+ stroke: `url(#${a}-zm-${e})`,+ fill: `url(#${a}-zm-fill-${e})`,+ strokeWidth: 1,+ strokeOpacity: .5,+ strokeDasharray: d,+ connectNulls: c,+ fillOpacity: 1,+ stackId: o ? "zm-stack" : void 0,+ dot: !1,+ activeDot: !1,+ isAnimationActive: !1+ }, e))]+ })});- let M = n.some((e) => e.location === "115" || e.location === "pikpak"), ee = M ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "这台电脑",- onSubmit: j,- children: [/* @__PURE__ */ (0, D.jsxs)(bC, { children: [- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-3",- children: [- /* @__PURE__ */ (0, D.jsx)(wC, { children: "媒体文件夹" }),- /* @__PURE__ */ (0, D.jsx)("div", {- role: "group",- "aria-label": "媒体文件夹",- className: "flex flex-col gap-3",- children: n.map((t, r) => /* @__PURE__ */ (0, D.jsxs)("div", {- "data-folder-row": !0,- className: "@container flex flex-col gap-3 rounded-2lg border border-separator-border bg-background-primary-default p-3",- children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex items-start gap-2",- children: [- /* @__PURE__ */ (0, D.jsx)(_b, {- className: "min-w-0 flex-1",- "aria-label": `媒体文件夹 ${r + 1}`,- placeholder: "本机文件夹路径",- value: t.path,- onChange: (e) => w(r, { path: e }),- ref: (e) => {- S.current[r] = e;- },- validationBehavior: "aria",- isInvalid: !!c[r],- hint: c[r] || void 0- }),- /* @__PURE__ */ (0, D.jsx)(ub, {- icon: QO,- "aria-label": "选择文件夹",- onClick: () => void A(r),- ...X(v === r)- }),- n.length > 1 ? /* @__PURE__ */ (0, D.jsx)(ub, {- icon: Yf,- "aria-label": "移除这个文件夹",- onClick: () => k(r)- }) : null- ]- }), /* @__PURE__ */ (0, D.jsxs)("div", {- className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",- children: [- /* @__PURE__ */ (0, D.jsx)(_b, {- label: "媒体库名称",- maxLength: 80,- placeholder: "同名文件夹归入同一个媒体库",- value: t.library,- onChange: (e) => w(r, { library: e })- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(wC, { children: "媒体库图标" }), /* @__PURE__ */ (0, D.jsx)(qO, {- label: `媒体库图标 ${r + 1}`,- value: t.library_icon,- kind: t.location,- onChange: (e) => w(r, { library_icon: e })- })]- }),- /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(wC, { children: "媒体来源" }), /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": `媒体来源 ${r + 1}`,- selectedKey: t.location,- onSelectionChange: (e) => {- e !== null && w(r, { location: String(e) });- },- children: $O.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(UT, {- id: e,- textValue: t,- children: [/* @__PURE__ */ (0, D.jsx)(AC, { mark: tk(e) }), t]- }, e))- })]- }),- e.windows === !1 ? /* @__PURE__ */ (0, D.jsx)(_b, {- label: "Windows 中的对应路径",- placeholder: "例如 B:\\",- value: t.root,- onChange: (e) => w(r, { root: e })- }) : null- ]- })]- }, r))- }),- /* @__PURE__ */ (0, D.jsx)(K, {- className: "self-start",- onClick: O,- children: "添加文件夹"- })- ]- }),- M ? /* @__PURE__ */ (0, D.jsx)(UO, {}) : null,- ee.map((e) => /* @__PURE__ */ (0, D.jsxs)(SC, { children: [- "未检测到 ",- e.name,- "。",- /* @__PURE__ */ (0, D.jsxs)(TC, {- href: e.download_url,- children: ["下载 ", e.name]- })- ] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, D.jsx)(SC, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,- e.port_editable === !1 ? null : /* @__PURE__ */ (0, D.jsx)(_b, {- id: "configPort",- label: "本机访问端口",- inputMode: "numeric",- value: i,- onChange: a,- validationBehavior: "aria",- isInvalid: !!u,- hint: u || "浏览器地址里冒号后面的数字,一般不用改。"- }),- /* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: o,- onChange: s,- children: "保存后扫描并补全资料"- }),- f ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "没有保存",- children: f- }) : null- ] }), /* @__PURE__ */ (0, D.jsx)(xC, {- status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",- children: /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- ...X(C.busy === "save"),- children: "保存配置"+}+function Y_e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {+ let [r, i] = E.useState({+ startIndex: t,+ endIndex: n ?? Math.max(0, e.length - 1)+ }), a = E.useDeferredValue(r);+ return (0, E.useEffect)(() => {+ i({+ startIndex: 0,+ endIndex: Math.max(0, e.length - 1)+ });+ }, [e.length]), {+ range: r,+ visibleData: E.useMemo(() => e.slice(a.startIndex, a.endIndex + 1), [+ e,+ a.startIndex,+ a.endIndex+ ]),+ brushProps: {+ startIndex: r.startIndex,+ endIndex: r.endIndex,+ onChange: i+ }+ };+}+var X_e = {+ dots: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "20",+ height: "20",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("circle", {+ className: "text-border dark:text-border",+ cx: "2",+ cy: "2",+ r: "1",+ fill: "currentColor"+ })+ }),+ grid: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "20",+ height: "20",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M 20 0 L 0 0 0 20",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: "0.5"+ })+ }),+ plus: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "16",+ height: "16",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M 8 4 L 8 12 M 4 8 L 12 8",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: "0.5",+ strokeLinecap: "round"+ })+ }),+ bubbles: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "100",+ height: "100",+ patternUnits: "userSpaceOnUse",+ patternTransform: "scale(0.6667)",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z",+ fill: "currentColor",+ fillOpacity: "0.4",+ fillRule: "evenodd"+ })+ }),+ "cross-hatch": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "20",+ height: "20",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border/60 dark:text-border/50",+ d: "M 0 0 L 20 20 M 20 0 L 0 20",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: "0.5"+ })+ }),+ "diagonal-lines": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "6",+ height: "6",+ patternUnits: "userSpaceOnUse",+ patternTransform: "rotate(45)",+ children: /* @__PURE__ */ (0, D.jsx)("line", {+ className: "text-border dark:text-border",+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "6",+ stroke: "currentColor",+ strokeWidth: "0.5"+ })+ }),+ "falling-triangles": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "18",+ height: "36",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z",+ transform: "scale(0.5)",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ }),+ "4-pointed-star": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "16",+ height: "16",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("polygon", {+ className: "text-border dark:text-border",+ fillRule: "evenodd",+ points: "5 3 8 4 5 5 4 8 3 5 0 4 3 3 4 0 5 3",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ }),+ "tiny-checkers": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "8",+ height: "8",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ fillRule: "evenodd",+ d: "M0 0h4v4H0V0zm4 4h4v4H4V4z",+ fill: "currentColor",+ fillOpacity: "0.2"+ })+ }),+ "overlapping-circles": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "40",+ height: "40",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ fillRule: "evenodd",+ d: "M25 25c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5s-5-2.238-5-5 2.238-5 5-5zM5 5c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5S0 12.762 0 10s2.238-5 5-5zm5 4c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4zm20 20c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4z",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ }),+ "wiggle-lines": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "52",+ height: "26",+ patternUnits: "userSpaceOnUse",+ patternTransform: "scale(0.6)",+ children: /* @__PURE__ */ (0, D.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ })+};+function R7({ variant: e }) {+ let t = (0, E.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = X_e[e];+ return /* @__PURE__ */ (0, D.jsxs)(t4, {+ zIndex: -1,+ children: [/* @__PURE__ */ (0, D.jsxs)("defs", { children: [+ /* @__PURE__ */ (0, D.jsx)(a, { id: n }),+ /* @__PURE__ */ (0, D.jsx)("filter", {+ id: i,+ children: /* @__PURE__ */ (0, D.jsx)("feGaussianBlur", { stdDeviation: "25" })+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: r,+ maskUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ x: "8%",+ y: "20%",+ width: "85%",+ height: "60%",+ fill: "white",+ filter: `url(#${i})`+ })})+ ] }), /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${n})`,+ mask: `url(#${r})`})]});}-function sk({ online: e }) {- return e === !0 ? /* @__PURE__ */ (0, D.jsxs)("span", {- "data-mount": "online",- className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "size-1.5 rounded-full bg-current"- }), "在线"]- }) : e === !1 ? /* @__PURE__ */ (0, D.jsxs)("span", {- "data-mount": "offline",- className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-error-primary",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "size-1.5 rounded-full bg-current"- }), "离线"]- }) : /* @__PURE__ */ (0, D.jsxs)("span", {- "data-mount": "unknown",- className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-secondary",- children: [/* @__PURE__ */ (0, D.jsx)("span", {- "aria-hidden": !0,- className: "size-1.5 rounded-full bg-current"- }), "未检测"]- });+//#endregion+//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx+var z7 = 2, Z_e = "loading", Q_e = 2e3, $_e = "evil-stacked", eve = .5, tve = .05, nve = [+ 0,+ .7,+ .5,+ 1+], B7 = (0, E.createContext)(null);+function V7() {+ let e = (0, E.use)(B7);+ if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");+ return e;}-function ck({ data: e }) {- let t = e.media_sources, n = wh();- return t ? /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "挂载状态",- children: [- /* @__PURE__ */ (0, D.jsx)(EC, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(DC, {- term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(AC, { mark: tk(e.location) }), ek(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, D.jsx)(sk, { online: e.online })]- }, t)) }),- n.error ? /* @__PURE__ */ (0, D.jsx)(bC, {- divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(CC, { children: n.error })- }) : null,- /* @__PURE__ */ (0, D.jsx)(xC, { children: /* @__PURE__ */ (0, D.jsx)(K, {- onClick: () => void n.run("refresh", (e) => EO(e), (e) => Th.setQueryData(TO, e)),- ...X(n.busy === "refresh"),- children: "刷新挂载状态"- }) })- ]- }) : null;+function H7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = z7, 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, E.useId)().replace(/:/g, ""), [v] = (0, E.useState)(() => Date.now()), [y, b] = (0, E.useState)(f), [x, S] = (0, E.useState)(!1), { loadingData: C, onShimmerExit: w } = xve(m, h), { visibleData: T, brushProps: O } = Y_e({ data: t }), k = (0, E.useMemo)(() => {+ let e = E.Children.toArray(n), t = e.find((e) => (0, E.isValidElement)(e) && e.type === F7), r = (0, E.isValidElement)(t) ? t.props : {};+ return {+ slot: {+ present: (0, E.isValidElement)(t),+ height: r.height,+ formatLabel: r.formatLabel,+ onChange: r.onChange+ },+ chartChildren: e.filter((e) => !((0, E.isValidElement)(e) && e.type === F7))+ };+ }, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? T : t, P = (0, E.useCallback)((e) => {+ b(e), p?.(e);+ }, [p]), F = (0, E.useMemo)(() => ({+ config: e,+ isStacked: j,+ isHorizontal: M,+ isLoading: m,+ barRadius: s,+ animationType: c,+ introStartedAt: v,+ dataLength: N.length,+ selectedDataKey: y,+ selectDataKey: P,+ isMouseInChart: x+ }), [+ e,+ j,+ M,+ m,+ s,+ c,+ v,+ N.length,+ y,+ P,+ x+ ]);+ return /* @__PURE__ */ (0, D.jsx)(B7, {+ value: F,+ children: /* @__PURE__ */ (0, D.jsxs)(E7, {+ className: r,+ config: e,+ footer: A && !m && /* @__PURE__ */ (0, D.jsx)(q_e, {+ data: t,+ chartConfig: e,+ xDataKey: g,+ variant: "bar",+ barRadius: s,+ height: k.slot.height,+ formatLabel: k.slot.formatLabel,+ stacked: j,+ skipStyle: !0,+ className: "mt-1",+ ...O,+ onChange: (e) => {+ O.onChange(e), k.slot.onChange?.(e);+ }+ }),+ children: [/* @__PURE__ */ (0, D.jsx)(D7, { isLoading: m }), /* @__PURE__ */ (0, D.jsxs)(h7, {+ id: _,+ accessibilityLayer: !0,+ layout: M ? "vertical" : "horizontal",+ data: m ? C : N,+ barGap: l,+ barCategoryGap: u,+ stackOffset: a === "percent" ? "expand" : void 0,+ onMouseEnter: () => S(!0),+ onMouseLeave: () => S(!1),+ ...i,+ children: [+ d && /* @__PURE__ */ (0, D.jsx)(R7, { variant: d }),+ /* @__PURE__ */ (0, D.jsx)($6, { color: "white" }),+ k.chartChildren,+ m && /* @__PURE__ */ (0, D.jsx)(Sve, {+ chartId: _,+ onShimmerExit: w+ })+ ]+ })]+ })+ });}-//#endregion-//#region src/react/settings/access-settings.tsx-var lk = {- legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",- locked: "访问设置无法读取,请在本机检查配置文件。",- password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-};-function uk({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = wh(), 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) {- requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus());- return;+function rve({ 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 } = V7(), b = (0, E.useId)().replace(/:/g, ""), x = lf();+ if (f) return null;+ let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {+ id: b,+ dataKey: e,+ variant: t,+ barRadius: S,+ glowing: o,+ bufferBar: s,+ isClickable: i,+ enableHoverHighlight: a,+ isMouseInChart: y,+ isHorizontal: d,+ introStartedAt: h,+ selectedDataKey: _,+ dataLength: g,+ onClick: () => {+ i && v(C ? null : e);}- h.run("save", (e) => J("/api/configuration/access", {- revision: n.revision,- action: u ? "disable" : "set",- confirm_disable: u,- current_password: i,- password: u ? "" : o,- confirmation: u ? "" : c- }, "POST", e), (e) => {- r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");- }, (e) => {- let t = e instanceof ch ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? p(n) : h.setError(q(e));- });- }, _ = lk[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "访问密码",- onSubmit: g,- children: [/* @__PURE__ */ (0, D.jsx)("div", {- ref: m,- children: /* @__PURE__ */ (0, D.jsxs)(bC, { children: [- _ ? /* @__PURE__ */ (0, D.jsx)(SC, { children: _ }) : null,- n.mode === "open" ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "未设置访问密码",- children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"- }) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(rC, {- isSelected: u,- onChange: d,- children: "关闭访问密码"- }) : null,- n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(_b, {- id: "access-current",- type: "password",- label: "当前访问密码",- autoComplete: "current-password",- maxLength: 256,- value: i,- onChange: a,- isRequired: !0,- validationBehavior: "aria",- isInvalid: !!f.current_password,- hint: f.current_password- }) : null,- v ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(_b, {- id: "access-password",- type: "password",- label: n.mode === "password" ? "新访问密码" : "设置访问密码",- autoComplete: "new-password",- maxLength: 256,- value: o,- onChange: s,- isDisabled: u,- isRequired: !u,- validationBehavior: "aria",- isInvalid: !u && !!f.password,- hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"- }), /* @__PURE__ */ (0, D.jsx)(_b, {- id: "access-confirm",- type: "password",- label: "确认访问密码",- autoComplete: "new-password",- maxLength: 256,- value: c,- onChange: l,- isDisabled: u,- isRequired: !u,- validationBehavior: "aria",- isInvalid: !u && !!f.confirmation,- hint: u ? void 0 : f.confirmation- })] }) : null,- u ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "访问范围",- children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"- }) : null,- h.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: h.error }) : null- ] })- }), v ? /* @__PURE__ */ (0, D.jsx)(xC, {- status: "保存后立即生效。",- children: /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- ...X(h.busy === "save"),- children: "保存配置"- })- }) : null]+ };+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(s5, {+ dataKey: e,+ stackId: u ? $_e : void 0,+ fill: `url(#${b}-colors-${e})`,+ radius: S,+ isAnimationActive: !1,+ style: i || a ? { cursor: "pointer" } : void 0,+ shape: (e) => /* @__PURE__ */ (0, D.jsx)(U7, {+ ...e,+ ...T,+ animationType: w+ }),+ activeBar: (e) => /* @__PURE__ */ (0, D.jsx)(U7, {+ ...e,+ ...T,+ animationType: "none"+ }),+ ...c+ }), /* @__PURE__ */ (0, D.jsxs)("defs", { children: [+ /* @__PURE__ */ (0, D.jsx)(fve, {+ id: b,+ dataKey: e,+ config: l+ }),+ t === "hatched" && /* @__PURE__ */ (0, D.jsx)(pve, {+ id: b,+ dataKey: e+ }),+ t === "duotone" && /* @__PURE__ */ (0, D.jsx)(hve, {+ id: b,+ dataKey: e,+ config: l+ }),+ t === "duotone-reverse" && /* @__PURE__ */ (0, D.jsx)(gve, {+ id: b,+ dataKey: e,+ config: l+ }),+ t === "gradient" && /* @__PURE__ */ (0, D.jsx)(_ve, {+ id: b,+ dataKey: e+ }),+ t === "stripped" && /* @__PURE__ */ (0, D.jsx)(vve, {+ id: b,+ dataKey: e+ }),+ s && /* @__PURE__ */ (0, D.jsx)(mve, {+ id: b,+ dataKey: e+ }),+ o && /* @__PURE__ */ (0, D.jsx)(yve, {+ id: b,+ dataKey: e+ })+ ] })] });+}+function ive({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {+ let { isLoading: o, isHorizontal: s } = V7();+ return o ? null : /* @__PURE__ */ (0, D.jsx)(h5, {+ tickLine: e,+ axisLine: t,+ tickMargin: n,+ minTickGap: r,+ type: i ?? (s ? "number" : "category"),+ ...a+ });+}+function ave({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {+ let { isLoading: s, isHorizontal: c } = V7();+ return s ? null : /* @__PURE__ */ (0, D.jsx)(b5, {+ tickLine: e,+ axisLine: t,+ tickMargin: n,+ minTickGap: r,+ width: i,+ type: a ?? (c ? "category" : "number"),+ ...o});}-//#endregion-//#region src/react/settings/tunnel-settings.tsx-var dk = 2e3, fk = [["quick", "临时链接"], ["named", "命名隧道"]], pk = {- quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",- named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"-};-function mk({ revision: e, initial: t, receipt: n }) {- let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = wh(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";- (0, E.useEffect)(() => {- if (r.state !== "starting") return;- let e = new AbortController(), t = window.setInterval(() => {- EO(e.signal).then((t) => {- e.signal.aborted || !t.tunnel || (Th.setQueryData(TO, t), i(t.tunnel), o(t.revision));- }).catch(() => void 0);- }, dk);- return () => {- e.abort(), window.clearInterval(t);- };- }, [r.state]);- let v = (e, t, n) => {- m({}), h.run(e, (e) => J("/api/configuration/tunnel", {- revision: a,- enabled: t,- mode: s,- hostname: l,- token: d- }, "POST", e), (e) => {- i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);- }, (e) => {- let t = e instanceof ch ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? m(n) : h.setError(q(e));- });+function ove({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {+ let { isHorizontal: i } = V7();+ return /* @__PURE__ */ (0, D.jsx)(g8, {+ strokeDasharray: e,+ vertical: t ?? i,+ horizontal: n ?? !i,+ ...r+ });+}+function sve({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = V7();+ return r ? null : /* @__PURE__ */ (0, D.jsx)(M7, {+ cursor: !1,+ defaultIndex: n,+ content: /* @__PURE__ */ (0, D.jsx)(j7, {+ selected: i,+ roundness: t,+ variant: e+ })+ });+}+function cve({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {+ let { selectedDataKey: i, selectDataKey: a } = V7();+ return /* @__PURE__ */ (0, D.jsx)(P7, {+ verticalAlign: n,+ align: t,+ content: /* @__PURE__ */ (0, D.jsx)(N7, {+ selected: i,+ onSelectChange: a,+ isClickable: r,+ variant: e+ })+ });+}+var U7 = (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 = lve(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : uve(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, O = dve({+ isClickable: d,+ selectedDataKey: _,+ dataKey: o,+ enableHoverHighlight: f,+ isMouseInChart: p,+ isActive: v+ }), k = d || f ? { cursor: "pointer" } : void 0, A = C ? [+ c,+ c,+ 0,+ 0+ ] : c, j = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(eK, {+ x: t,+ y: n,+ width: r,+ opacity: O,+ height: Math.max(0, i - 3),+ radius: A,+ fill: T,+ filter: E,+ stroke: S ? `url(#${a}-colors-${o})` : void 0,+ strokeWidth: S ? 1 : void 0+ }), C && /* @__PURE__ */ (0, D.jsx)(eK, {+ x: t,+ y: n - 4,+ width: r,+ height: 2,+ radius: 1,+ fill: `url(#${a}-colors-${o})`+ })] });+ return /* @__PURE__ */ (0, D.jsxs)("g", {+ style: k,+ onClick: b,+ children: [/* @__PURE__ */ (0, D.jsx)(eK, {+ ...e,+ fill: "transparent"+ }), w ? /* @__PURE__ */ (0, D.jsx)(uf.g, {+ initial: w.initial,+ animate: w.animate,+ transition: w.transition,+ style: w.style,+ children: j+ }) : j]+ });+}, lve = (e, t, n, r, i) => {+ if (e === "none" || t < 0 || n <= 0) return null;+ let a = n - 1, o = a / 2, s;+ switch (e) {+ case "right-to-left":+ s = a - t;+ break;+ case "center-out":+ s = Math.abs(t - o);+ break;+ case "edges-in":+ s = o - Math.abs(t - o);+ break;+ default: s = t;+ }+ let c = s * tve * 1e3, l = eve * 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: nve,+ delay: Math.max(0, c - d) / 1e3};- return /* @__PURE__ */ (0, D.jsxs)(vC, {- title: "Cloudflare 公网入口",- onSubmit: (e) => {- e.preventDefault(), v("save", g, () => n("已保存配置"));- },- children: [/* @__PURE__ */ (0, D.jsxs)(bC, { children: [- r.named_available ? /* @__PURE__ */ (0, D.jsx)(Iv, {- "aria-label": "公网入口的形态(二选一)",- value: s,- isDisabled: g,- onChange: (e) => c(e),- className: JS,- children: fk.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Lv, {- value: e,- className: YS,- children: t- }, e))- }) : null,- /* @__PURE__ */ (0, D.jsx)(SC, { children: pk[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(_b, {- id: "tunnel-hostname",- label: "公开主机名",- autoComplete: "off",- maxLength: 253,- value: l,- onChange: u,- isDisabled: g,- validationBehavior: "aria",- isInvalid: !!p.hostname,- hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"- }), /* @__PURE__ */ (0, D.jsx)(_b, {- id: "tunnel-token",- type: "password",- label: "隧道令牌",- autoComplete: "off",- maxLength: 2048,- value: d,- onChange: f,- isDisabled: g,- validationBehavior: "aria",- hint: r.token_set ? "已保存。留空表示沿用已保存的令牌。" : "在 Cloudflare Zero Trust 的隧道详情页复制。"- })] }) : null,- r.available ? null : /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "找不到 cloudflared",- children: "安装官方 cloudflared,或用设置文件的 tunnel.binary 与 PEACH_CLOUDFLARED 指定路径。"- }),- r.state === "running" && r.url ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "info",- title: "公网地址",- children: /* @__PURE__ */ (0, D.jsx)(TC, {- href: r.url,- children: r.url- })- }) : null,- r.state === "starting" ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "info",- title: "正在连接",- children: "正在等待 cloudflared 连上 Cloudflare 边缘。"- }) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(xC, {- status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),- ...X(h.busy === "toggle"),- children: g ? "停止公网入口" : "启动公网入口"- }), r.named_available ? /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- ...X(h.busy === "save"),- children: "保存配置"- }) : null]+ return r ? {+ initial: { scaleX: f },+ animate: { scaleX: 1 },+ transition: p,+ style: { originX: 0 }+ } : {+ initial: { scaleY: f },+ animate: { scaleY: 1 },+ transition: p,+ style: { originY: 1 }+ };+}, uve = (e, t, n) => {+ switch (e) {+ case "hatched": return `url(#${t}-hatched-${n})`;+ case "duotone": return `url(#${t}-duotone-${n})`;+ case "duotone-reverse": return `url(#${t}-duotone-reverse-${n})`;+ case "gradient": return `url(#${t}-gradient-${n})`;+ case "stripped": return `url(#${t}-stripped-${n})`;+ default: return `url(#${t}-colors-${n})`;+ }+}, dve = ({ 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;+}, fve = ({ id: e, dataKey: t, config: n }) => {+ let r = A7(n[t] ?? {});+ return /* @__PURE__ */ (0, D.jsx)("linearGradient", {+ id: `${e}-colors-${t}`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${t}-0)`+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${t}-0)`+ })] }) : Array.from({ length: r }, (e, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`+ }, i);+ })+ });+}, pve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("pattern", {+ id: `${e}-hatched-mask-pattern`,+ x: "0",+ y: "0",+ width: "5",+ height: "5",+ patternUnits: "userSpaceOnUse",+ patternTransform: "rotate(-45)",+ children: [/* @__PURE__ */ (0, D.jsx)("rect", {+ width: "5",+ height: "5",+ fill: "white",+ fillOpacity: .3+ }), /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "1.5",+ height: "5",+ fill: "white",+ fillOpacity: 1+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-hatched-mask-${t}`,+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-hatched-mask-pattern)`+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-hatched-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-hatched-mask-${t})`+ })+ })+] }), mve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("pattern", {+ id: `${e}-buffer-hatched-mask-pattern`,+ x: "0",+ y: "0",+ width: "5",+ height: "5",+ patternUnits: "userSpaceOnUse",+ patternTransform: "rotate(-45)",+ children: [/* @__PURE__ */ (0, D.jsx)("rect", {+ width: "5",+ height: "5",+ fill: "black",+ fillOpacity: 0+ }), /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "1",+ height: "5",+ fill: "white",+ fillOpacity: 1})]- });+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-buffer-hatched-mask-${t}`,+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-buffer-hatched-mask-pattern)`+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-buffer-hatched-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-buffer-hatched-mask-${t})`+ })+ })+] }), hve = ({ id: e, dataKey: t, config: n }) => {+ let r = A7(n[t] ?? {});+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("linearGradient", {+ id: `${e}-duotone-mask-gradient-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "0",+ children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: .4+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: 1+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)("linearGradient", {+ id: `${e}-duotone-colors-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${t}-0)`+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${t}-0)`+ })] }) : Array.from({ length: r }, (e, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`+ }, i);+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-duotone-mask-${t}`,+ maskContentUnits: "objectBoundingBox",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-mask-gradient-${t})`+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-duotone-${t}`,+ patternUnits: "objectBoundingBox",+ patternContentUnits: "objectBoundingBox",+ width: "1",+ height: "1",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-colors-${t})`,+ mask: `url(#${e}-duotone-mask-${t})`+ })+ })+ ] });+}, gve = ({ id: e, dataKey: t, config: n }) => {+ let r = A7(n[t] ?? {});+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("linearGradient", {+ id: `${e}-duotone-reverse-mask-gradient-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "0",+ children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: 1+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: .4+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)("linearGradient", {+ id: `${e}-duotone-reverse-colors-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${t}-0)`+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${t}-0)`+ })] }) : Array.from({ length: r }, (e, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`+ }, i);+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-duotone-reverse-mask-${t}`,+ maskContentUnits: "objectBoundingBox",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-reverse-mask-gradient-${t})`+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-duotone-reverse-${t}`,+ patternUnits: "objectBoundingBox",+ patternContentUnits: "objectBoundingBox",+ width: "1",+ height: "1",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-reverse-colors-${t})`,+ mask: `url(#${e}-duotone-reverse-mask-${t})`+ })+ })+ ] });+}, _ve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("linearGradient", {+ id: `${e}-gradient-mask-gradient`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "20%",+ stopColor: "white",+ stopOpacity: 1+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "90%",+ stopColor: "white",+ stopOpacity: 0+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-gradient-mask-${t}`,+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-gradient-mask-gradient)`+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-gradient-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-gradient-mask-${t})`+ })+ })+] }), vve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsxs)("linearGradient", {+ id: `${e}-stripped-mask-gradient`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: "white",+ stopOpacity: .2+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: "white",+ stopOpacity: .2+ })]+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-stripped-mask-${t}`,+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-stripped-mask-gradient)`+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-stripped-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-stripped-mask-${t})`+ })+ })+] }), yve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {+ id: `${e}-bar-glow-${t}`,+ x: "-100%",+ y: "-100%",+ width: "300%",+ height: "300%",+ children: [+ /* @__PURE__ */ (0, D.jsx)("feGaussianBlur", {+ in: "SourceGraphic",+ stdDeviation: "8",+ result: "blur"+ }),+ /* @__PURE__ */ (0, D.jsx)("feColorMatrix", {+ in: "blur",+ type: "matrix",+ values: "1 0 0 0 0\n 0 1 0 0 0\n 0 0 1 0 0\n 0 0 0 0.5 0",+ result: "glow"+ }),+ /* @__PURE__ */ (0, D.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "SourceGraphic" })] })+ ]+}), bve = (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 xve(e, t = 12) {+ let [n, r] = (0, E.useState)(!1), i = (0, E.useCallback)(() => {+ e && r((e) => !e);+ }, [e]);+ return {+ loadingData: (0, E.useMemo)(() => z_e(t, 20, 80), [t, n]),+ onShimmerExit: i+ };}+var Sve = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(s5, {+ dataKey: Z_e,+ fill: "currentColor",+ fillOpacity: .15,+ radius: z7,+ isAnimationActive: !1,+ legendType: "none",+ style: { mask: `url(#${e}-loading-mask)` }+}), /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(Cve, {+ chartId: e,+ onShimmerExit: t+}) })] }), Cve = ({ chartId: e, onShimmerExit: t }) => {+ let n = bve(), r = (0, E.useRef)(-1);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsx)("linearGradient", {+ id: `${e}-loading-mask-gradient`,+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "0",+ children: n.map(({ offset: e, opacity: t }) => /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: e,+ stopColor: "white",+ stopOpacity: t+ }, e))+ }),+ /* @__PURE__ */ (0, D.jsx)("pattern", {+ id: `${e}-loading-mask-pattern`,+ patternUnits: "objectBoundingBox",+ patternContentUnits: "objectBoundingBox",+ patternTransform: "rotate(25)",+ width: 3,+ height: "1",+ x: "0",+ y: "0",+ children: /* @__PURE__ */ (0, D.jsx)(uf.rect, {+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-loading-mask-gradient)`,+ initial: { x: -1 },+ animate: { x: 2 },+ transition: {+ duration: Q_e / 1e3,+ ease: "linear",+ repeat: Infinity,+ repeatType: "loop"+ },+ onUpdate: (e) => {+ let n = typeof e.x == "number" ? e.x : -1, i = r.current;+ n >= 1 && i < 1 && t(), r.current = n;+ }+ })+ }),+ /* @__PURE__ */ (0, D.jsx)("mask", {+ id: `${e}-loading-mask`,+ maskUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, D.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-loading-mask-pattern)`+ })+ })+ ] });+};+H7.Bar = rve, H7.XAxis = ive, H7.YAxis = ave, H7.Grid = ove, H7.Tooltip = sve, H7.Legend = cve, H7.Brush = F7;//#endregion-//#region src/react/settings/network-settings.tsx-var hk = [- ["environment", "系统代理"],- ["direct", "直连"],- ["proxy", "自定义"]-];-function gk({ data: e, receipt: t }) {+//#region src/react/charts/chart-card.tsx+var W7 = `${Ew({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+function G7({ title: e, figure: t, note: n }) {+ return /* @__PURE__ */ (0, D.jsxs)("header", {+ className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",+ children: [/* @__PURE__ */ (0, D.jsxs)("span", {+ className: "flex min-w-0 flex-col gap-1",+ children: [/* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: e+ }), /* @__PURE__ */ (0, D.jsx)("b", {+ className: "text-display-4-medium tabular-nums text-text-primary",+ children: t+ })]+ }), /* @__PURE__ */ (0, D.jsx)("small", {+ className: "min-w-0 text-caption-1-regular break-words text-text-secondary",+ children: n+ })]+ });+}+var K7 = [+ "var(--color-chart-1)",+ "var(--color-chart-2)",+ "var(--color-chart-3)",+ "var(--color-chart-4)",+ "var(--color-chart-5)",+ "var(--color-chart-6)"+], q7 = (e) => ({ light: [e] }), J7 = (e) => `s${e}`;+function wve(e) {+ return Object.fromEntries(e.map((e, t) => [J7(t), {+ label: e,+ colors: q7(K7[t % K7.length])+ }]));+}+//#endregion+//#region src/react/charts/chart-tip.tsx+var Y7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";+function X7({ swatch: e, name: t, value: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col gap-6",- children: [- e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(_k, {- initial: e.peach_proxy,- receipt: t- }) : null,- e.access ? /* @__PURE__ */ (0, D.jsx)(uk, {- initial: e.access,- receipt: t- }) : null,- e.tunnel ? /* @__PURE__ */ (0, D.jsx)(mk, {- revision: e.revision,- initial: e.tunnel,- receipt: t- }) : null- ]+ className: "flex w-full items-center gap-2",+ children: [e, /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex flex-1 items-center justify-between gap-4 leading-none",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-muted-foreground",+ children: t+ }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: "font-mono font-medium tabular-nums text-foreground",+ children: n.toLocaleString()+ })]+ })]});}-function _k({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = wh();- return /* @__PURE__ */ (0, D.jsxs)(vC, {- id: "peachProxy",- title: "Peach 代理",- onSubmit: (e) => {- e.preventDefault(), c.run("save", (e) => J("/api/configuration/peach-proxy", {- mode: i,- proxy: o- }, "POST", e), (e) => {- r(e), s(""), t("已保存配置");- });- },- children: [- /* @__PURE__ */ (0, D.jsx)(yC, { children: /* @__PURE__ */ (0, D.jsx)(hC, {- label: "连接方式",- description: "采集来源选「Peach 代理」时共用这里的连接方式。",- children: /* @__PURE__ */ (0, D.jsx)(HT, {- "aria-label": "连接方式",- selectedKey: i,- onSelectionChange: (e) => {- e !== null && a(String(e));- },- children: hk.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UT, {- id: e,- children: t- }, e))+var Z7 = "size-2.5 shrink-0 rounded-xs";+function Tve({ active: e, payload: t, label: n, nameKey: r, hideLabel: i }) {+ let { config: a } = T7(), o = (t ?? []).filter((e) => e.type !== "none");+ if (!e || !o.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });+ let s = i || typeof n != "string" ? null : a[n]?.label ?? n;+ return /* @__PURE__ */ (0, D.jsxs)("div", {+ className: Y7,+ children: [s ? /* @__PURE__ */ (0, D.jsx)("div", {+ className: "font-medium text-foreground",+ children: s+ }) : null, o.map((e, t) => {+ let n = `${(r && e.payload ? e.payload[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = k7(a, e, n);+ return /* @__PURE__ */ (0, D.jsx)(X7, {+ name: i?.label ?? e.name,+ value: Number(e.value ?? 0),+ swatch: /* @__PURE__ */ (0, D.jsx)("i", {+ className: Z7,+ style: { background: `var(--color-${n}-0)` }})- }) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(bC, {- divided: !0,- children: [- i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(_b, {- id: "peachProxyAddress",- type: "password",- label: "代理地址",- autoComplete: "off",- value: o,- onChange: s,- placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"- }) : null,- n.needs_selection ? /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "warning",- title: "需要选择连接方式",- children: "已有来源的代理地址不同,请选择公共连接方式。"- }) : null,- c.error ? /* @__PURE__ */ (0, D.jsx)(CC, { children: c.error }) : null- ]- }) : null,- /* @__PURE__ */ (0, D.jsx)(xC, { children: /* @__PURE__ */ (0, D.jsx)(K, {- type: "submit",- ...X(c.busy === "save"),- children: "保存配置"- }) })- ]+ }, n + t);+ })]});}-//#endregion-//#region src/react/settings/configuration-page.tsx-function vk({ receipt: e, reopenTutorial: t }) {- let n = mt({- queryKey: TO,- queryFn: ({ signal: e }) => EO(e)- }), r = n.data;- if (!r) return /* @__PURE__ */ (0, D.jsx)("div", {- className: "configpage",- children: /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "打不开配置",- children: n.error ? q(n.error) : "没有读到配置"+function Q7({ nameKey: e, hideLabel: t }) {+ return /* @__PURE__ */ (0, D.jsx)(M7, {+ cursor: !1,+ content: /* @__PURE__ */ (0, D.jsx)(Tve, {+ nameKey: e,+ hideLabel: t})});- let i = {- data: r,- receipt: e- }, a = !!(r.startup || r.entry_links), o = !!(r.peach_proxy || r.access || r.tunnel);- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "configpage",- children: [- a ? /* @__PURE__ */ (0, D.jsx)("h2", {- className: "configgroup",- children: "通用"- }) : null,- a ? /* @__PURE__ */ (0, D.jsx)(kO, { ...i }) : null,- /* @__PURE__ */ (0, D.jsx)("h2", {- className: "configgroup",- children: "媒体"- }),- /* @__PURE__ */ (0, D.jsx)(ak, { ...i }),- o ? /* @__PURE__ */ (0, D.jsx)("h2", {- className: "configgroup",- children: "网络与访问"- }) : null,- o ? /* @__PURE__ */ (0, D.jsx)(gk, { ...i }) : null,- /* @__PURE__ */ (0, D.jsx)("h2", {- className: "configgroup",- children: "更新与维护"- }),- /* @__PURE__ */ (0, D.jsx)(IO, {- ...i,- reopenTutorial: t- })- ]+}+//#endregion+//#region src/react/charts/bar-card.tsx+function $7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {+ let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({+ name: e.name,+ value: e.value+ })), s = o.reduce((e, t) => e + t.value, 0);+ if (!s) return null;+ let c = a === "horizontal";+ return /* @__PURE__ */ (0, D.jsxs)("section", {+ className: W7,+ "aria-label": e,+ children: [/* @__PURE__ */ (0, D.jsx)(G7, {+ title: e,+ figure: s.toLocaleString(),+ note: t+ }), /* @__PURE__ */ (0, D.jsxs)(H7, {+ data: o,+ config: { value: {+ label: n,+ colors: q7(i)+ } },+ layout: a,+ barRadius: 4,+ className: c ? "aspect-auto h-64 text-text-secondary" : "aspect-auto h-56 text-text-secondary",+ children: [+ /* @__PURE__ */ (0, D.jsx)(H7.Grid, {}),+ c ? /* @__PURE__ */ (0, D.jsx)(H7.YAxis, { dataKey: "name" }) : /* @__PURE__ */ (0, D.jsx)(H7.XAxis, { dataKey: "name" }),+ c ? /* @__PURE__ */ (0, D.jsx)(H7.XAxis, { tickFormatter: (e) => e.toLocaleString() }) : /* @__PURE__ */ (0, D.jsx)(H7.YAxis, { tickFormatter: (e) => e.toLocaleString() }),+ /* @__PURE__ */ (0, D.jsx)(H7.Bar, {+ dataKey: "value",+ enableHoverHighlight: !0+ }),+ /* @__PURE__ */ (0, D.jsx)(Q7, {})+ ]+ })]});}//#endregion-//#region src/react/settings/configuration-summary.tsx-var yk = (e) => {- let t = e.updates;- return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";+//#region src/react/charts/heat.ts+var e9 = [+ "周一",+ "周二",+ "周三",+ "周四",+ "周五",+ "周六",+ "周日"+], t9 = (e, t) => e ? Math.max(.12, e / t) : 0;+function Eve(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;+ !Number.isInteger(e) || e < 0 || e > 6 || !Number.isInteger(r) || r < 0 || r > 23 || !Number.isFinite(i) || i < 0 || (t[e][r] = (t[e][r] || 0) + i);+ }+ let n = t.flat(), r = Math.max(1, ...n);+ return {+ cells: t.flatMap((e, t) => e.map((e, n) => ({+ key: `${t}-${n}`,+ label: `${e9[t]} ${n}:00`,+ count: e,+ share: t9(e, r)+ }))),+ total: n.reduce((e, t) => e + t, 0)+ };+}+function Dve(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,+ start: "",+ end: ""+ };+ if (!t.length) return n;+ let r = /* @__PURE__ */ new Date(`${t.at(-1).date}T00:00:00Z`), i = new Date(r);+ i.setUTCDate(i.getUTCDate() - 90);+ let a = new Map(t.map((e) => [e.date, e.count])), o = Math.max(1, ...t.map((e) => e.count)), s = Array.from({ length: 91 }, (e, t) => {+ let n = new Date(i);+ n.setUTCDate(i.getUTCDate() + t);+ let r = n.toISOString().slice(0, 10), s = a.get(r) || 0;+ return {+ key: r,+ label: r,+ count: s,+ share: t9(s, o)+ };+ });+ return {+ cells: s,+ total: s.reduce((e, t) => e + t.count, 0),+ start: i.toISOString().slice(0, 10),+ end: t.at(-1).date+ };+}+//#endregion+//#region src/react/charts/heat-card.tsx+var n9 = 14, r9 = 17, i9 = {+ 4: {+ fill: "fill-chart-4",+ dot: "bg-chart-4"+ },+ 5: {+ fill: "fill-chart-5",+ dot: "bg-chart-5"+ }+}, Ove = {+ start: "translate-x-0",+ center: "-translate-x-1/2",+ end: "-translate-x-full"};-function bk({ openConfiguration: e }) {- let t = mt({- queryKey: TO,- queryFn: ({ signal: e }) => EO(e)- }), n = t.data;+function kve({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "flex flex-col",- children: [n ? /* @__PURE__ */ (0, D.jsxs)(EC, { children: [- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "媒体库",- children: `${n.library_count} 个`+ "aria-hidden": !0,+ style: {+ left: `${r}%`,+ top: `${i}%`+ },+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${Y7} ${Ove[a]}`,+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "font-medium text-foreground",+ children: e.label+ }), /* @__PURE__ */ (0, D.jsx)(X7, {+ name: t,+ value: e.count,+ swatch: /* @__PURE__ */ (0, D.jsx)("i", { className: `${Z7} ${i9[n].dot}` })+ })]+ });+}+function a9({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {+ let [l, u] = (0, E.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * r9, m = f + a * r9, h = (e) => ({+ x: d + e % i * r9,+ y: f + Math.floor(e / i) * r9+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + n9 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {+ start: _.x,+ center: _.x + n9 / 2,+ end: _.x + n9+ }[y] : 0;+ return /* @__PURE__ */ (0, D.jsxs)("section", {+ className: W7,+ children: [+ /* @__PURE__ */ (0, D.jsx)(G7, {+ title: e,+ figure: (g ? g.count : r).toLocaleString(),+ note: g ? g.label : t.unit}),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "端口",- children: String(n.port)+ /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "relative",+ children: [/* @__PURE__ */ (0, D.jsx)("div", {+ className: "min-w-0 overflow-x-auto",+ children: /* @__PURE__ */ (0, D.jsxs)("svg", {+ role: "img",+ "aria-label": e,+ onPointerLeave: () => u(-1),+ viewBox: `0 0 ${p} ${m}`,+ className: "block h-auto min-w-80 w-full",+ children: [o, n.map((e, n) => {+ let { x: r, y: i } = h(n);+ return /* @__PURE__ */ (0, D.jsx)("rect", {+ tabIndex: 0,+ role: "img",+ "aria-label": `${e.label},${e.count} ${t.cellUnit}`,+ x: r,+ y: i,+ width: n9,+ height: n9,+ rx: 3,+ fillOpacity: e.share || 1,+ opacity: l >= 0 && l !== n ? .4 : 1,+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${i9[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",+ onPointerEnter: () => u(n),+ onFocus: () => u(n),+ onBlur: () => u(-1)+ }, e.key);+ })]+ })+ }), g && _ ? /* @__PURE__ */ (0, D.jsx)(kve, {+ cell: g,+ series: t.series,+ tone: c,+ anchor: y,+ left: b / p * 100,+ top: _.y / m * 100+ }) : null]}),- /* @__PURE__ */ (0, D.jsx)(DC, {- term: "更新",- children: yk(n)- })- ] }) : /* @__PURE__ */ (0, D.jsx)(bC, { children: /* @__PURE__ */ (0, D.jsx)(Y, {- tone: "error",- title: "打不开配置",- children: t.error ? q(t.error) : "没有读到配置"- }) }), /* @__PURE__ */ (0, D.jsx)(xC, {- status: "媒体文件夹、端口、代理与更新在配置页上改。",- children: /* @__PURE__ */ (0, D.jsx)(K, {- onClick: e,- children: "打开配置页"+ /* @__PURE__ */ (0, D.jsx)("footer", {+ className: "flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary",+ children: s})- })]+ ]});}-//#endregion-//#region src/react/stats/stats.ts-var xk = "/api/stats", Sk = ["stats"], Ck = (e) => uh(xk, e);-async function wk(e) {- await Th.fetchQuery({- queryKey: Sk,- queryFn: () => Ck(e)- });-}-var Tk = (e, t) => t ? Math.round(e / t * 100) : 0, Ek = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Dk = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, Ok = (e) => (e.max_reached || 0) * 100, kk = (e) => e.kind === "online" ? "在线直接观看" : Dk(e) < Ok(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Ak = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;-function jk(e) {- let t = Math.max(1, ...e) * 1.1, n = Math.min(22, 110 / Math.max(1, e.length)), r = Math.min(15, n * .68);- return e.map((e, i) => ({- radius: 32 + i * n,- width: r,- length: e / t * 100- }));+var Ave = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e9.map((e, t) => /* @__PURE__ */ (0, D.jsx)("text", {+ x: 0,+ y: 18 + t * r9 + 7,+ dominantBaseline: "middle",+ className: "fill-text-secondary text-caption-1-regular",+ children: e+}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, D.jsx)("text", {+ x: 30 + t * r9,+ y: 8,+ dominantBaseline: "middle",+ className: "fill-text-secondary text-caption-1-regular",+ children: t+}, t))] });+function o9({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {+ let o = Eve(e), s = Dve(e);+ return s.cells.length ? /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "inline-grid w-full gap-5 lg:grid-cols-2",+ children: [/* @__PURE__ */ (0, D.jsx)(a9, {+ title: t,+ words: r,+ tone: i,+ cells: o.cells,+ total: o.total,+ columns: 24,+ rows: 7,+ axis: Ave,+ footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })+ }), /* @__PURE__ */ (0, D.jsx)(a9, {+ title: n,+ words: r,+ tone: i,+ cells: s.cells,+ total: s.total,+ columns: 13,+ rows: 7,+ footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, D.jsx)("span", { children: s.end })] })+ })]+ }) : a ? /* @__PURE__ */ (0, D.jsxs)("section", {+ className: W7,+ children: [/* @__PURE__ */ (0, D.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: t+ }), /* @__PURE__ */ (0, D.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: a+ })]+ }) : null;}//#endregion//#region src/react/components/expandable-ranking.tsx-function Mk({ children: e, className: t = "", previewCount: n = 10 }) {+function s9({ children: e, className: t = "", previewCount: n = 10 }) {let r = (0, E.useId)(), i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(!1), l = E.Children.toArray(e), u = l.length > n;(0, E.useLayoutEffect)(() => {let e = i.current;@@ -34069,27 +59083,212 @@ function Mk({ children: e, className: t = "", previewCount: n = 10 }) {onClick: () => {c(!0), o((e) => !e);},- children: /* @__PURE__ */ (0, D.jsx)(Hf, { "aria-hidden": !0 })+ children: /* @__PURE__ */ (0, D.jsx)(vS, { "aria-hidden": !0 })}) : null]});}//#endregion+//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx+var jve = "30%", Mve = "100%", c9 = 5, l9 = 14, Nve = 5, u9 = 1500, d9 = (0, E.createContext)(null);+function f9() {+ let e = (0, E.use)(d9);+ if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");+ return e;+}+function p9({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = jve, outerRadius: l = Mve, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {+ let m = (0, E.useId)().replace(/:/g, ""), [h, g] = (0, E.useState)(u), _ = Bve(f), v = Lve(o), y = (0, E.useCallback)((e, t) => {+ g(e), d?.(e === null ? null : {+ dataKey: e,+ value: t ?? 0+ });+ }, [d]), b = (0, E.useMemo)(() => t.map((e) => ({+ ...e,+ fill: `url(#${m}-radial-colors-${e[n]})`+ })), [+ t,+ n,+ m+ ]), x = (0, E.useMemo)(() => ({+ config: e,+ nameKey: n,+ chartId: m,+ isLoading: f,+ selectedBar: h,+ selectBar: y+ }), [+ e,+ n,+ m,+ f,+ h,+ y+ ]);+ return /* @__PURE__ */ (0, D.jsx)(d9, {+ value: x,+ children: /* @__PURE__ */ (0, D.jsxs)(E7, {+ className: i,+ config: e,+ children: [/* @__PURE__ */ (0, D.jsx)(D7, { isLoading: f }), /* @__PURE__ */ (0, D.jsxs)(I_e, {+ id: m,+ data: f ? _ : b,+ innerRadius: c,+ outerRadius: l,+ startAngle: v.startAngle,+ endAngle: v.endAngle,+ cx: v.cx,+ cy: v.cy,+ ...a,+ children: [+ s != null && s > 0 && /* @__PURE__ */ (0, D.jsx)(P3, {+ type: "number",+ domain: [0, s],+ tick: !1,+ axisLine: !1+ }),+ p && /* @__PURE__ */ (0, D.jsx)(R7, { variant: p }),+ r,+ f && /* @__PURE__ */ (0, D.jsx)(Vve, {}),+ /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(Rve, {+ config: e,+ chartId: m+ }) })+ ]+ })]+ })+ });+}+function Pve({ dataKey: e, cornerRadius: t = c9, barSize: n = l9, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = f9();+ return s ? null : /* @__PURE__ */ (0, D.jsx)(W6, {+ dataKey: e,+ cornerRadius: t,+ barSize: n,+ background: r,+ className: "drop-shadow-sm",+ style: i ? { cursor: "pointer" } : void 0,+ onClick: (t, n) => {+ if (!i) return;+ let r = t, a = r?.[o] ?? String(n), s = Number(r?.[e] ?? 0);+ l(c === a ? null : a, s);+ },+ shape: (e) => {+ let t = e[o], n = c === null || c === t;+ return /* @__PURE__ */ (0, D.jsx)(jK, {+ ...e,+ opacity: i && !n ? .15 : 1,+ className: "transition-opacity duration-200"+ });+ },+ ...a+ });+}+function Fve({ variant: e, roundness: t, defaultIndex: n }) {+ let { nameKey: r, isLoading: i } = f9();+ return i ? null : /* @__PURE__ */ (0, D.jsx)(M7, {+ defaultIndex: n,+ cursor: !1,+ content: /* @__PURE__ */ (0, D.jsx)(j7, {+ nameKey: r,+ hideLabel: !0,+ roundness: t,+ variant: e+ })+ });+}+function Ive({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = f9();+ return a ? null : /* @__PURE__ */ (0, D.jsx)(P7, {+ verticalAlign: n,+ align: t,+ content: /* @__PURE__ */ (0, D.jsx)(N7, {+ selected: o,+ onSelectChange: s,+ isClickable: r,+ nameKey: i,+ variant: e+ })+ });+}+function Lve(e) {+ switch (e) {+ case "semi": return {+ startAngle: 180,+ endAngle: 0,+ cx: "50%",+ cy: "70%"+ };+ default: return {+ startAngle: 90,+ endAngle: -270,+ cx: "50%",+ cy: "50%"+ };+ }+}+var Rve = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: Object.entries(e).map(([e, n]) => {+ let r = A7(n);+ return /* @__PURE__ */ (0, D.jsx)("linearGradient", {+ id: `${t}-radial-colors-${e}`,+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${e}-0)`+ }), /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${e}-0)`+ })] }) : Array.from({ length: r }, (t, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, D.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${e}-${n}, var(--color-${e}-0))`+ }, i);+ })+ }, `${t}-radial-colors-${e}`);+}) });+function zve() {+ return Array.from({ length: Nve }, (e, t) => ({+ name: `loading${t}`,+ value: 40 + Math.random() * 60+ }));+}+function Bve(e) {+ let [t, n] = (0, E.useState)(0);+ return (0, E.useEffect)(() => {+ if (!e) return;+ let t = setInterval(() => {+ n((e) => e + 1);+ }, u9);+ return () => clearInterval(t);+ }, [e]), (0, E.useMemo)(() => zve(), [t]);+}+var Vve = () => /* @__PURE__ */ (0, D.jsx)(W6, {+ dataKey: "value",+ cornerRadius: c9,+ barSize: l9,+ background: !0,+ isAnimationActive: !0,+ animationDuration: u9,+ animationEasing: "ease-in-out",+ shape: (e) => /* @__PURE__ */ (0, D.jsx)(jK, {+ ...e,+ fill: "currentColor",+ fillOpacity: .25+ })+});+p9.RadialBar = Pve, p9.Tooltip = Fve, p9.Legend = Ive;+//#endregion//#region src/react/stats/radial-card.tsx-var Nk = [- "stroke-chart-1",- "stroke-chart-2",- "stroke-chart-3",- "stroke-chart-4",- "stroke-chart-5",- "stroke-chart-6"-], Pk = [+var Hve = ["bg-chart-1","bg-chart-2","bg-chart-3","bg-chart-4","bg-chart-5","bg-chart-6"-], Fk = [+], Uve = ["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",@@ -34097,12 +59296,15 @@ var Nk = ["aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5","aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];-function Ik({ title: e, rows: t, unit: n = "个视频" }) {+function m9({ title: e, rows: t, unit: n = "个视频" }) {let [r, i] = (0, E.useState)(-1), [a, o] = (0, E.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (!s.length) return null;- let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = jk(s.map((e) => e.value)), d = s[c], f = (e) => i((t) => t === e ? -1 : e);+ let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({+ slice: J7(t),+ value: e.value+ }));return /* @__PURE__ */ (0, D.jsxs)("section", {- className: `${vh({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`,+ className: W7,children: [/* @__PURE__ */ (0, D.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",@@ -34110,67 +59312,62 @@ function Ik({ title: e, rows: t, unit: n = "个视频" }) {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "text-title-2-medium text-text-primary",- children: d ? d.name : e+ children: u ? u.name : e}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",- children: (d ? d.value : l).toLocaleString()+ children: (u ? u.value : l).toLocaleString()})]}), /* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: n})]}),- /* @__PURE__ */ (0, D.jsx)("svg", {- viewBox: "0 0 320 320",- fill: "none",+ /* @__PURE__ */ (0, D.jsx)("div", {role: "img","aria-label": e,- className: "block h-75 w-full max-sm:h-65",onPointerLeave: () => o(-1),- children: s.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("g", {- onPointerEnter: () => o(t),- onClick: () => f(t),- children: [- /* @__PURE__ */ (0, D.jsx)("title", { children: `${e.name}:${e.value.toLocaleString()} ${n}` }),- /* @__PURE__ */ (0, D.jsx)("circle", {- cx: "160",- cy: "160",- r: u[t].radius,- strokeWidth: u[t].width,- strokeLinecap: "round",- className: "stroke-chart-track"- }),- /* @__PURE__ */ (0, D.jsx)("circle", {- cx: "160",- cy: "160",- r: u[t].radius,- strokeWidth: u[t].width,- strokeLinecap: "round",- pathLength: 100,- transform: "rotate(-90 160 160)",- strokeDasharray: `${u[t].length} ${100 - u[t].length}`,- className: c >= 0 && c !== t ? `cursor-pointer opacity-30 transition-opacity ${Nk[t % 6]}` : `cursor-pointer transition-opacity ${Nk[t % 6]}`- })- ]- }, e.name))+ children: /* @__PURE__ */ (0, D.jsxs)(p9, {+ data: f,+ nameKey: "slice",+ config: wve(s.map((e) => e.name)),+ max: JF(s.map((e) => e.value)),+ innerRadius: "22%",+ className: "aspect-auto h-75 max-sm:h-65",+ children: [/* @__PURE__ */ (0, D.jsx)(p9.RadialBar, {+ dataKey: "value",+ barSize: YF(s.length),+ radialBarProps: {+ shape: (e) => /* @__PURE__ */ (0, D.jsx)(jK, {+ ...e,+ opacity: c >= 0 && c !== e.index ? .3 : 1,+ className: "cursor-pointer transition-opacity duration-200"+ }),+ onClick: (e, t) => d(t),+ onMouseEnter: (e, t) => o(t)+ }+ }), /* @__PURE__ */ (0, D.jsx)(Q7, {+ nameKey: "slice",+ hideLabel: !0+ })]+ })}),/* @__PURE__ */ (0, D.jsx)("div", {className: "inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2",children: s.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","aria-pressed": r === t,- onClick: () => f(t),+ onClick: () => d(t),onPointerEnter: () => o(t),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 ${Fk[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 ${Uve[t % 6]}`,children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)("i", {"aria-hidden": !0,- className: `size-3 shrink-0 rounded-sm ${Pk[t % 6]}`+ className: `size-3 shrink-0 rounded-sm ${Hve[t % 6]}`}), e.name]}),/* @__PURE__ */ (0, D.jsx)("b", {@@ -34189,8 +59386,8 @@ function Ik({ title: e, rows: t, unit: n = "个视频" }) {}//#endregion//#region src/react/stats/stats-page.tsx-var Lk = 10, Rk = `${vh()} flex flex-col gap-4`, zk = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Bk = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Vk = "开始播放后,这里会显示最近的真实观看证据。", Hk = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Uk = "添加媒体文件夹后,这里会显示存储空间。";-function Wk({ term: e, value: t }) {+var Wve = 10, h9 = K7[5], Gve = K7[4], Kve = `${Ew()} flex flex-col gap-4`, qve = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Jve = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Yve = "开始播放后,这里会显示最近的真实观看证据。", Xve = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Zve = "添加媒体文件夹后,这里会显示存储空间。";+function g9({ term: e, value: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, D.jsx)("span", {@@ -34202,7 +59399,7 @@ function Wk({ term: e, value: t }) {})]});}-function Gk({ term: e, value: t, total: n }) {+function _9({ term: e, value: t, total: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",children: [/* @__PURE__ */ (0, D.jsxs)("p", {@@ -34211,17 +59408,17 @@ function Gk({ term: e, value: t, total: n }) {className: "tabular-nums",children: [t.toLocaleString(), /* @__PURE__ */ (0, D.jsxs)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: [Tk(t, n), "%"]+ children: [HF(t, n), "%"]})]})]- }), /* @__PURE__ */ (0, D.jsx)(Ch, {+ }), /* @__PURE__ */ (0, D.jsx)(Aw, {label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,value: t,max: Math.max(n, 1)})]});}-function Kk({ term: e, figure: t, unit: n }) {+function v9({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",children: [@@ -34240,75 +59437,123 @@ function Kk({ term: e, figure: t, unit: n }) {]});}-function qk({ headline: e, children: t }) {+function y9({ headline: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: `${Rk} md:flex-row md:gap-6`,+ className: `${Kve} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function Jk({ data: t, configurable: r, openMediaSettings: i }) {+function Qve({ data: t, configurable: r, openMediaSettings: i }) {return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, D.jsx)(Ik, {- title: "网盘与本地",- rows: t.by_loc.map((t) => ({- name: e[t.k] ?? t.k,- value: t.videos,- detail: n(t.bytes)- }))- }), /* @__PURE__ */ (0, D.jsx)(Ik, {- title: "媒体库",- rows: t.by_library.map((e) => ({- name: e.name,- value: e.videos,- detail: n(e.bytes)- }))+ className: "flex flex-col gap-5",+ children: [/* @__PURE__ */ (0, D.jsxs)("div", {+ className: "inline-grid w-full gap-5 md:grid-cols-2",+ children: [/* @__PURE__ */ (0, D.jsx)(m9, {+ title: "网盘与本地",+ rows: t.by_loc.map((t) => ({+ name: e[t.k] ?? t.k,+ value: t.videos,+ detail: n(t.bytes)+ }))+ }), /* @__PURE__ */ (0, D.jsx)(m9, {+ title: "媒体库",+ rows: t.by_library.map((e) => ({+ name: e.name,+ value: e.videos,+ detail: n(e.bytes)+ }))+ })]+ }), /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",+ children: [+ /* @__PURE__ */ (0, D.jsx)($7, {+ title: "时长",+ unit: "个视频",+ series: "视频",+ color: h9,+ rows: eI(t.by_length)+ }),+ /* @__PURE__ */ (0, D.jsx)($7, {+ title: "画质",+ unit: "个视频",+ series: "视频",+ color: h9,+ rows: $F(t.by_quality)+ }),+ /* @__PURE__ */ (0, D.jsx)($7, {+ title: "文件类型",+ unit: "个条目",+ series: "条目",+ color: h9,+ layout: "horizontal",+ rows: ZF(t.by_medium)+ })+ ]})]- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: bp,+ icon: RS,title: "还没有视频",- actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r ? /* @__PURE__ */ (0, D.jsx)(K, {+ actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r ? /* @__PURE__ */ (0, D.jsx)(G, {size: "small",onClick: i,children: "添加媒体文件夹"- }) : null, /* @__PURE__ */ (0, D.jsx)(_C, {+ }) : null, /* @__PURE__ */ (0, D.jsx)(pA, {href: "/follow-manage?tab=add",size: "small",children: "添加关注"})] }),- children: zk- });+ children: qve+ });+}+function $ve({ data: e }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(o9, {+ activity: e.play_activity,+ title: "播放时间",+ dailyTitle: "每日播放",+ words: {+ unit: "个作品",+ series: "作品",+ cellUnit: "个作品"+ },+ tone: 5+ }), /* @__PURE__ */ (0, D.jsx)($7, {+ title: "播放次数",+ unit: "个作品",+ series: "作品",+ color: Gve,+ rows: nI(e.replays)+ })] });}-function Yk({ attribution: e }) {+function eye({ attribution: e }) {let t = e.videos;return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col",children: [- /* @__PURE__ */ (0, D.jsx)(Gk, {+ /* @__PURE__ */ (0, D.jsx)(_9, {term: "有创作者",value: e.creator,total: t}),- /* @__PURE__ */ (0, D.jsx)(Gk, {+ /* @__PURE__ */ (0, D.jsx)(_9, {term: "有番号",value: e.code,total: t}),- /* @__PURE__ */ (0, D.jsx)(Gk, {+ /* @__PURE__ */ (0, D.jsx)(_9, {term: "有厂牌",value: e.studio,total: t}),- /* @__PURE__ */ (0, D.jsx)(Gk, {+ /* @__PURE__ */ (0, D.jsx)(_9, {term: "已抽帧",value: e.thumb,total: t}),- /* @__PURE__ */ (0, D.jsx)(Gk, {+ /* @__PURE__ */ (0, D.jsx)(_9, {term: "已探测时长",value: e.duration,total: t@@ -34316,7 +59561,7 @@ function Yk({ attribution: e }) {]});}-function Xk({ volume: e }) {+function tye({ volume: e }) {let t = e.total, r = e.used ?? 0;return /* @__PURE__ */ (0, D.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5",@@ -34328,14 +59573,14 @@ function Xk({ volume: e }) {children: e.label}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-body-2-medium whitespace-nowrap text-text-primary",- children: t == null ? e.online ? "容量未取得" : "离线" : `${Tk(r, t)}%`+ children: t == null ? e.online ? "容量未取得" : "离线" : `${HF(r, t)}%`})]}),/* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular break-words text-text-secondary",children: e.root ?? "未映射"}),- t == null ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Ch, {+ t == null ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Aw, {label: `${e.label}空间使用率`,value: r,max: Math.max(t, 1)@@ -34352,25 +59597,25 @@ function Xk({ volume: e }) {]});}-function Zk({ volumes: e, configurable: t, openMediaSettings: n }) {+function nye({ volumes: e, configurable: t, openMediaSettings: n }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-5",- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(Xk, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(tye, { volume: e }, `${e.kind}:${e.label}`))+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: rp,+ icon: kS,title: "还没有存储来源",- actions: t ? /* @__PURE__ */ (0, D.jsx)(K, {+ actions: t ? /* @__PURE__ */ (0, D.jsx)(G, {size: "small",onClick: n,children: "添加媒体文件夹"}) : void 0,- children: Uk+ children: Zve});}-function Qk({ tags: e, tagLabel: t, onTag: n }) {- return e.length ? /* @__PURE__ */ (0, D.jsx)(Mk, {- previewCount: Lk,+function rye({ tags: e, tagLabel: t, onTag: n }) {+ return e.length ? /* @__PURE__ */ (0, D.jsx)(s9, {+ previewCount: Wve,className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)("li", {className: "min-w-0",@@ -34394,23 +59639,23 @@ function Qk({ tags: e, tagLabel: t, onTag: n }) {]})}, e.k))- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: dp,+ icon: jS,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, D.jsx)(_C, {+ actions: /* @__PURE__ */ (0, D.jsx)(pA, {href: "/data-cleanup",size: "small",children: "补全资料"}),- children: Bk+ children: Jve});}-function $k({ rows: e }) {+function iye({ rows: e }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = Dk(e);+ let t = WF(e);return /* @__PURE__ */ (0, D.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -34418,40 +59663,40 @@ function $k({ rows: e }) {children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",children: /* @__PURE__ */ (0, D.jsx)("a", {- href: Ak(e),+ href: qF(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name})}), /* @__PURE__ */ (0, D.jsxs)("p", {className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, D.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: kk(e) })]+ children: [/* @__PURE__ */ (0, D.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: KF(e) })]})]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, D.jsx)(Ch, {+ children: [/* @__PURE__ */ (0, D.jsx)(Aw, {label: `真实观看 ${t.toFixed(0)}%`,value: t}), /* @__PURE__ */ (0, D.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${Ok(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${GF(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: ip,+ icon: AS,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, D.jsx)(_C, {+ actions: /* @__PURE__ */ (0, D.jsx)(pA, {href: "/",size: "small",children: "浏览馆藏"}),- children: Vk+ children: Yve});}-function eA({ sources: e, videos: t }) {+function aye({ sources: e, videos: t }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("article", {@@ -34470,7 +59715,7 @@ function eA({ sources: e, videos: t }) {})]})]}),- /* @__PURE__ */ (0, D.jsx)(Ch, {+ /* @__PURE__ */ (0, D.jsx)(Aw, {label: `${e.k} 覆盖视频`,value: e.assets,max: Math.max(t, 1)@@ -34481,26 +59726,26 @@ function eA({ sources: e, videos: t }) {})]}, e.k))- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: dp,+ icon: jS,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, D.jsx)(_C, {+ actions: /* @__PURE__ */ (0, D.jsx)(pA, {href: "/data-cleanup",size: "small",children: "补全资料"}),- children: Hk+ children: Xve});}-function tA({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {- return /* @__PURE__ */ (0, D.jsx)(rb, {+function b9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {+ return /* @__PURE__ */ (0, D.jsx)(jO, {id: e,- className: QS({+ className: Qk({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, D.jsx)(eC, {+ children: /* @__PURE__ */ (0, D.jsx)(eA, {label: t,icon: i,accent: a,@@ -34509,74 +59754,75 @@ function tA({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {})});}-function nA(e) {- let t = mt({- queryKey: Sk,- queryFn: ({ signal: e }) => Ck(e)+function oye(e) {+ let t = ft({+ queryKey: zF,+ queryFn: ({ signal: e }) => BF(e)}), r = t.data;- if (!r) return /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsx)(Y, {+ if (!r) return /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsx)(q, {tone: "error",title: "读取失败",- children: t.error ? q(t.error) : "读取统计失败"+ children: t.error ? K(t.error) : "读取统计失败"}) });- let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = Tk(r.tag_cov, r.attribution.videos);- return /* @__PURE__ */ (0, D.jsxs)(Sh, { children: [+ let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = HF(r.tag_cov, r.attribution.videos);+ return /* @__PURE__ */ (0, D.jsxs)(kw, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${n(s)}`}),- /* @__PURE__ */ (0, D.jsxs)($y, {+ /* @__PURE__ */ (0, D.jsxs)(DO, {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, D.jsxs)(tb, {+ /* @__PURE__ */ (0, D.jsxs)(kO, {"aria-label": "统计视图",- className: $S,+ className: $k,children: [- /* @__PURE__ */ (0, D.jsx)(tA, {+ /* @__PURE__ */ (0, D.jsx)(b9, {id: "inventory",label: "馆藏视频",- icon: U,+ icon: TS,accent: 0,figure: o.toLocaleString(),detail: n(s)}),- /* @__PURE__ */ (0, D.jsx)(tA, {+ /* @__PURE__ */ (0, D.jsx)(b9, {id: "viewing",label: "看过",- icon: ep,+ icon: OS,accent: 1,figure: i.played.toLocaleString(),- detail: Ek(i.play_seconds)+ detail: UF(i.play_seconds)}),- /* @__PURE__ */ (0, D.jsx)(tA, {+ /* @__PURE__ */ (0, D.jsx)(b9, {id: "coverage",label: "内容标签",- icon: dp,+ icon: jS,accent: 2,figure: `${c}%`,detail: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`}),- /* @__PURE__ */ (0, D.jsx)(tA, {+ /* @__PURE__ */ (0, D.jsx)(b9, {id: "storage",label: "使用空间",- icon: rp,+ icon: kS,accent: 3,figure: `${a.online} 个卷`,detail: a.measured ? `已用 ${n(a.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsx)(MO, {id: "inventory",- children: /* @__PURE__ */ (0, D.jsx)(Jk, {+ children: /* @__PURE__ */ (0, D.jsx)(Qve, {data: r,...e})}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsxs)(MO, {id: "viewing",- children: /* @__PURE__ */ (0, D.jsx)(qk, {- headline: /* @__PURE__ */ (0, D.jsx)(Kk, {+ className: "flex flex-col gap-5",+ children: [/* @__PURE__ */ (0, D.jsx)(y9, {+ headline: /* @__PURE__ */ (0, D.jsx)(v9, {term: "观看",figure: i.played.toLocaleString(),unit: "个作品有播放记录"@@ -34584,58 +59830,62 @@ function nA(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "馆藏观看",value: i.library_played}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "在线直接观看",value: i.online_played}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "高潮计数",value: i.o_total}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "快进扫过",value: i.skimmed}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {+ term: "喜欢",+ value: i.liked+ }),+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "明确不喜欢",value: i.dislike}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "看过了",value: i.seen}),- /* @__PURE__ */ (0, D.jsx)(Wk, {+ /* @__PURE__ */ (0, D.jsx)(g9, {term: "回收站",value: i.trash})]})- })+ }), /* @__PURE__ */ (0, D.jsx)($ve, { data: r })]}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsx)(MO, {id: "coverage",- children: /* @__PURE__ */ (0, D.jsx)(qk, {- headline: /* @__PURE__ */ (0, D.jsx)(Kk, {+ children: /* @__PURE__ */ (0, D.jsx)(y9, {+ headline: /* @__PURE__ */ (0, D.jsx)(v9, {term: "内容标签覆盖",figure: `${c}%`,unit: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`}),- children: /* @__PURE__ */ (0, D.jsx)(Yk, { attribution: r.attribution })+ children: /* @__PURE__ */ (0, D.jsx)(eye, { attribution: r.attribution })})}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsx)(MO, {id: "storage",- children: /* @__PURE__ */ (0, D.jsx)(qk, {- headline: /* @__PURE__ */ (0, D.jsx)(Kk, {+ children: /* @__PURE__ */ (0, D.jsx)(y9, {+ headline: /* @__PURE__ */ (0, D.jsx)(v9, {term: "使用空间",figure: String(a.measured),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, D.jsx)(Zk, {+ children: /* @__PURE__ */ (0, D.jsx)(nye, {volumes: r.storage_volumes,...e})@@ -34643,50 +59893,50 @@ function nA(e) {})]}),- /* @__PURE__ */ (0, D.jsxs)($y, {- className: `${vh({ padding: "none" })} flex flex-col`,+ /* @__PURE__ */ (0, D.jsxs)(DO, {+ className: `${Ew({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, D.jsxs)(tb, {+ children: /* @__PURE__ */ (0, D.jsxs)(kO, {"aria-label": "统计维度",- className: JS,+ className: Xk,children: [- /* @__PURE__ */ (0, D.jsx)(rb, {+ /* @__PURE__ */ (0, D.jsx)(jO, {id: "tags",- className: YS,+ className: Zk,children: "内容标签"}),- /* @__PURE__ */ (0, D.jsx)(rb, {+ /* @__PURE__ */ (0, D.jsx)(jO, {id: "recent",- className: YS,+ className: Zk,children: "最近看过"}),- /* @__PURE__ */ (0, D.jsx)(rb, {+ /* @__PURE__ */ (0, D.jsx)(jO, {id: "sources",- className: YS,+ className: Zk,children: "标签来源"})]})}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsx)(MO, {id: "tags",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(Qk, {+ children: /* @__PURE__ */ (0, D.jsx)(rye, {tags: r.top_tags,...e})}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsx)(MO, {id: "recent",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)($k, { rows: r.recent })+ children: /* @__PURE__ */ (0, D.jsx)(iye, { rows: r.recent })}),- /* @__PURE__ */ (0, D.jsx)(ib, {+ /* @__PURE__ */ (0, D.jsx)(MO, {id: "sources",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(eA, {+ children: /* @__PURE__ */ (0, D.jsx)(aye, {sources: r.tag_source,videos: r.attribution.videos})@@ -34696,100 +59946,67 @@ function nA(e) {] });}//#endregion-//#region node_modules/d3-array/src/max.js-function rA(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 {- let r = -1;- for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);- }- return n;-}-//#endregion-//#region node_modules/d3-array/src/min.js-function iA(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 {- let r = -1;- for (let i of e) (i = t(i, ++r, e)) != null && (n > i || n === void 0 && i >= i) && (n = i);- }- return n;-}-//#endregion-//#region node_modules/d3-array/src/sum.js-function aA(e, t) {- let n = 0;- if (t === void 0) for (let t of e) (t = +t) && (n += t);- else {- let r = -1;- for (let i of e) (i = +t(i, ++r, e)) && (n += i);- }- return n;-}-//#endregion//#region node_modules/d3-sankey/src/align.js-function oA(e, t) {+function sye(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function sA(e) {+function x9(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function cA(e, t) {- return uA(e.source, t.source) || e.index - t.index;+function S9(e, t) {+ return w9(e.source, t.source) || e.index - t.index;}-function lA(e, t) {- return uA(e.target, t.target) || e.index - t.index;+function C9(e, t) {+ return w9(e.target, t.target) || e.index - t.index;}-function uA(e, t) {+function w9(e, t) {return e.y0 - t.y0;}-function dA(e) {+function T9(e) {return e.value;}-function fA(e) {+function cye(e) {return e.index;}-function pA(e) {+function lye(e) {return e.nodes;}-function mA(e) {+function uye(e) {return e.links;}-function hA(e, t) {+function E9(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function gA({ nodes: e }) {+function D9({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function _A() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = fA, c = oA, l, u, d = pA, f = mA, p = 6;+function dye() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = cye, c = sye, l, u, d = lye, f = uye, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), gA(e), e;+ return h(e), g(e), _(e), v(e), x(e), D9(e), e;}m.update = function(e) {- return gA(e), e;+ return D9(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : sA(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : x9(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : sA(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : x9(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -34797,9 +60014,9 @@ function _A() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : sA(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : x9(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : sA(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : x9(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -34815,12 +60032,12 @@ function _A() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = hA(n, t)), typeof i != "object" && (i = r.target = hA(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = E9(n, t)), typeof i != "object" && (i = r.target = E9(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(aA(t.sourceLinks, dA), aA(t.targetLinks, dA)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(_J(t.sourceLinks, T9), _J(t.targetLinks, T9)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -34845,7 +60062,7 @@ function _A() {}}function y({ nodes: t }) {- let r = rA(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = uJ(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];@@ -34854,7 +60071,7 @@ function _A() {return o;}function b(e) {- let n = iA(e, (e) => (r - t - (e.length - 1) * o) / aA(e, dA));+ let n = dJ(e, (e) => (r - t - (e.length - 1) * o) / _J(e, T9));for (let i of e) {let e = t;for (let t of i) {@@ -34871,7 +60088,7 @@ function _A() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (rA(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (uJ(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);@@ -34890,7 +60107,7 @@ function _A() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(uA), w(i, n);+ l === void 0 && i.sort(w9), w(i, n);}}function C(e, t, n) {@@ -34906,7 +60123,7 @@ function _A() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(uA), w(i, n);+ l === void 0 && i.sort(w9), w(i, n);}}function w(e, n) {@@ -34927,12 +60144,12 @@ function _A() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(lA);- for (let { target: { targetLinks: t } } of e) t.sort(cA);+ for (let { source: { sourceLinks: e } } of t) e.sort(C9);+ for (let { target: { targetLinks: t } } of e) t.sort(S9);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(lA), n.sort(cA);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(C9), n.sort(S9);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -34962,15 +60179,15 @@ function _A() {}//#endregion//#region node_modules/d3-path/src/path.js-var vA = Math.PI, yA = 2 * vA, bA = 1e-6, xA = yA - bA;-function SA() {+var O9 = Math.PI, k9 = 2 * O9, A9 = 1e-6, fye = k9 - A9;+function j9() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function CA() {- return new SA();+function M9() {+ return new j9();}-SA.prototype = CA.prototype = {- constructor: SA,+j9.prototype = M9.prototype = {+ constructor: j9,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -34991,11 +60208,11 @@ SA.prototype = CA.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > bA) {- if (!(Math.abs(u * s - c * l) > bA) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > A9) {+ if (!(Math.abs(u * s - c * l) > A9) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((vA - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > bA && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((O9 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > A9 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -35003,7 +60220,7 @@ SA.prototype = CA.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) > bA || Math.abs(this._y1 - l) > bA) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % yA + yA), d > xA ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > bA && (this._ += "A" + n + "," + n + ",0," + +(d >= vA) + "," + 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) > A9 || Math.abs(this._y1 - l) > A9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % k9 + k9), d > fye ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > A9 && (this._ += "A" + n + "," + n + ",0," + +(d >= O9) + "," + 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";@@ -35014,90 +60231,90 @@ SA.prototype = CA.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function wA(e) {+function N9(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function TA(e) {+function pye(e) {return e[0];}-function EA(e) {+function mye(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var DA = Array.prototype.slice;+var hye = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function OA(e) {+function gye(e) {return e.source;}-function kA(e) {+function _ye(e) {return e.target;}-function AA(e) {- var t = OA, n = kA, r = TA, i = EA, a = null;+function vye(e) {+ var t = gye, n = _ye, r = pye, i = mye, a = null;function o() {- var o, s = DA.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = CA(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = hye.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = M9(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : wA(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : N9(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : wA(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : N9(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function jA(e, t, n, r, i) {+function yye(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function MA() {- return AA(jA);+function bye() {+ return vye(yye);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function NA(e) {+function xye(e) {return [e.source.x1, e.y0];}-function PA(e) {+function Sye(e) {return [e.target.x0, e.y1];}-function FA() {- return MA().source(NA).target(PA);+function Cye() {+ return bye().source(xye).target(Sye);}//#endregion//#region src/react/taste/taste.ts-var IA = "/api/taste", LA = "/api/taste/refresh", RA = "/api/taste/import", zA = "/api/taste/source", BA = (e) => ["taste", e], VA = ["taste", "refresh"], HA = [+var wye = "/api/taste", P9 = "/api/taste/refresh", Tye = "/api/taste/import", Eye = "/api/taste/source", F9 = (e) => ["taste", e], Dye = ["taste", "refresh"], Oye = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], UA = (e, t) => uh(`${IA}?window=${e}`, t), WA = (e) => uh(LA, e);-async function GA(e, t) {- await Th.fetchQuery({- queryKey: BA(e),- queryFn: () => UA(e, t)+], I9 = (e, t) => ww(`${wye}?window=${e}`, t), kye = (e) => ww(P9, e);+async function Aye(e, t) {+ await Mw.fetchQuery({+ queryKey: F9(e),+ queryFn: () => I9(e, t)});}-var KA = (e) => J(LA, {+var jye = (e) => Tw(P9, {window: e,background: !0-}), qA = (e, t) => J(zA, {+}), Mye = (e, t) => Tw(Eye, {operation: "remove",source_key: e,window: t});-async function JA(e) {- let t = await fetch(RA, {+async function Nye(e) {+ let t = await fetch(Tye, {method: "POST",credentials: "same-origin",headers: {@@ -35111,38 +60328,38 @@ async function JA(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new ch(e || `导入失败(${t.status})`, t.status, n);+ throw new Sw(e || `导入失败(${t.status})`, t.status, n);}return n;}-var YA = 1e4, XA = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", ZA = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, QA = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function $A(e) {+var Pye = 1e4, L9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Fye = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Iye = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function Lye(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 ej(e) {- let t = e.map(QA), n = Math.max(1, ...t);+function R9(e) {+ let t = e.map(Iye), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var tj = {+var z9 = {x: 160,y: 140-}, nj = [+}, Rye = [25,50,75,100-], rj = (e, t, n) => {+], B9 = (e, t, n) => {let r = e / t * Math.PI * 2 - Math.PI / 2;- return [tj.x + Math.cos(r) * n, tj.y + Math.sin(r) * n];+ return [z9.x + Math.cos(r) * n, z9.y + Math.sin(r) * n];};-function ij(e) {+function zye(e) {let t = e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).slice().sort((e, t) => Number(t.score) - Number(e.score)).slice(0, 6);if (t.length < 3) return [];let n = Math.max(...t.map((e) => Number(e.score)));return t.map((e, r) => {- let [i, a] = rj(r, t.length, Number(e.score) / n * 100), [o, s] = rj(r, t.length, 116);+ let [i, a] = B9(r, t.length, Number(e.score) / n * 100), [o, s] = B9(r, t.length, 116);return {name: e.name,x: i,@@ -35152,71 +60369,17 @@ function ij(e) {};});}-var aj = (e, t) => Array.from({ length: t }, (n, r) => rj(r, t, e).map((e) => e.toFixed(2)).join(",")).join(" "), oj = (e) => e.map((e) => `${e.x.toFixed(2)},${e.y.toFixed(2)}`).join(" "), sj = [- "周一",- "周二",- "周三",- "周四",- "周五",- "周六",- "周日"-], cj = (e, t) => e ? Math.max(.12, e / t) : 0;-function lj(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;- !Number.isInteger(e) || e < 0 || e > 6 || !Number.isInteger(r) || r < 0 || r > 23 || !Number.isFinite(i) || i < 0 || (t[e][r] = (t[e][r] || 0) + i);- }- let n = t.flat(), r = Math.max(1, ...n);- return {- cells: t.flatMap((e, t) => e.map((e, n) => ({- key: `${t}-${n}`,- label: `${sj[t]} ${n}:00`,- count: e,- share: cj(e, r)- }))),- total: n.reduce((e, t) => e + t, 0)- };-}-function uj(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,- start: "",- end: ""- };- if (!t.length) return n;- let r = /* @__PURE__ */ new Date(`${t.at(-1).date}T00:00:00Z`), i = new Date(r);- i.setUTCDate(i.getUTCDate() - 90);- let a = new Map(t.map((e) => [e.date, e.count])), o = Math.max(1, ...t.map((e) => e.count)), s = Array.from({ length: 91 }, (e, t) => {- let n = new Date(i);- n.setUTCDate(i.getUTCDate() + t);- let r = n.toISOString().slice(0, 10), s = a.get(r) || 0;- return {- key: r,- label: r,- count: s,- share: cj(s, o)- };- });- return {- cells: s,- total: s.reduce((e, t) => e + t.count, 0),- start: i.toISOString().slice(0, 10),- end: t.at(-1).date- };-}-var dj = {+var Bye = (e, t) => Array.from({ length: t }, (n, r) => B9(r, t, e).map((e) => e.toFixed(2)).join(",")).join(" "), V9 = (e) => e.map((e) => `${e.x.toFixed(2)},${e.y.toFixed(2)}`).join(" "), H9 = {width: 720,height: 435-}, fj = {+}, U9 = {source: 145,target: 545};-function pj(e = []) {+function Vye(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 = _A().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 = dye().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({nodes: [...n.map((e) => ({id: `source:${e}`,name: e,@@ -35231,7 +60394,7 @@ function pj(e = []) {target: `target:${e.target}`,value: e.value}))- }), a = t.reduce((e, t) => e + t.value, 0), o = FA();+ }), a = t.reduce((e, t) => e + t.value, 0), o = Cye();return {nodes: i.nodes.map((e) => ({id: e.id,@@ -35261,41 +60424,23 @@ function pj(e = []) {total: a};}-var mj = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, hj = [+var Hye = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, Uye = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], gj = [+], Wye = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], _j = `${vh({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;-function vj({ title: e, figure: t, note: n }) {- return /* @__PURE__ */ (0, D.jsxs)("header", {- className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",- children: [/* @__PURE__ */ (0, D.jsxs)("span", {- className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: e- }), /* @__PURE__ */ (0, D.jsx)("b", {- className: "text-display-4-medium tabular-nums text-text-primary",- children: t- })]- }), /* @__PURE__ */ (0, D.jsx)("small", {- className: "min-w-0 text-caption-1-regular break-words text-text-secondary",- children: n- })]- });-}-function yj({ rows: e, label: t }) {- let n = ij(e);+];+function Gye({ rows: e, label: t }) {+ let n = zye(e);if (!n.length) return null;let r = n.length;return /* @__PURE__ */ (0, D.jsxs)("svg", {@@ -35305,14 +60450,14 @@ function yj({ rows: e, label: t }) {className: "block w-full overflow-visible",children: [/* @__PURE__ */ (0, D.jsx)("title", { children: n.map((e) => e.name).join(",") }),- nj.map((e) => /* @__PURE__ */ (0, D.jsx)("polygon", {- points: aj(e, r),+ Rye.map((e) => /* @__PURE__ */ (0, D.jsx)("polygon", {+ points: Bye(e, r),fill: "none",className: "stroke-separator-border",strokeWidth: 1}, e)),/* @__PURE__ */ (0, D.jsx)("polygon", {- points: oj(n),+ points: V9(n),strokeWidth: 2,strokeLinejoin: "round",fillOpacity: .18,@@ -35329,10 +60474,10 @@ function yj({ rows: e, label: t }) {]});}-function bj({ rows: e, label: t }) {+function Kye({ rows: e, label: t }) {let n = e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).slice().sort((e, t) => Number(t.score) - Number(e.score)).slice(0, 8);if (!n.length) return null;- let r = ej(n);+ let r = R9(n);return /* @__PURE__ */ (0, D.jsx)("ol", {"aria-label": t,className: "flex flex-col gap-2",@@ -35365,107 +60510,14 @@ function bj({ rows: e, label: t }) {}, e.name))});}-function xj({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s }) {- let [c, l] = (0, E.useState)(null), u = o ? 30 : 0, d = o ? 18 : 0;- return /* @__PURE__ */ (0, D.jsxs)("section", {- className: _j,- children: [- /* @__PURE__ */ (0, D.jsx)(vj, {- title: e,- figure: (c ? c.count : r).toLocaleString(),- note: c ? c.label : t- }),- /* @__PURE__ */ (0, D.jsx)("div", {- className: "min-w-0 overflow-x-auto",- children: /* @__PURE__ */ (0, D.jsxs)("svg", {- role: "img",- "aria-label": e,- onPointerLeave: () => l(null),- viewBox: `0 0 ${u + i * 17} ${d + a * 17}`,- className: "block h-auto min-w-80 w-full",- children: [o, n.map((e, t) => {- let n = t % i, r = Math.floor(t / i);- return /* @__PURE__ */ (0, D.jsx)("rect", {- tabIndex: 0,- role: "img",- "aria-label": `${e.label},${e.count} 次访问`,- x: u + n * 17,- y: d + r * 17,- width: 14,- height: 14,- rx: 3,- fillOpacity: e.share || 1,- className: e.share ? "fill-chart-4 outline-none focus-visible:stroke-border-focus-ring" : "fill-chart-track outline-none focus-visible:stroke-border-focus-ring",- onPointerEnter: () => l(e),- onFocus: () => l(e),- onBlur: () => l(null)- }, e.key);- })]- })- }),- /* @__PURE__ */ (0, D.jsx)("footer", {- className: "flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary",- children: s- })- ]- });-}-var Sj = "口味网站访问";-function Cj({ activity: e }) {- let t = lj(e), n = uj(e);- if (!n.cells.length) return /* @__PURE__ */ (0, D.jsxs)("section", {- className: _j,- children: [/* @__PURE__ */ (0, D.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "浏览活跃时间"- }), /* @__PURE__ */ (0, D.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: "还没有可用于分析的口味网站访问记录。"- })]- });- let r = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [sj.map((e, t) => /* @__PURE__ */ (0, D.jsx)("text", {- x: 0,- y: 18 + t * 17 + 7,- dominantBaseline: "middle",- className: "fill-text-secondary text-caption-1-regular",- children: e- }, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, D.jsx)("text", {- x: 30 + t * 17,- y: 8,- dominantBaseline: "middle",- className: "fill-text-secondary text-caption-1-regular",- children: t- }, t))] });- return /* @__PURE__ */ (0, D.jsxs)("div", {- className: "inline-grid w-full gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, D.jsx)(xj, {- title: "浏览活跃时间",- unit: Sj,- cells: t.cells,- total: t.total,- columns: 24,- rows: 7,- axis: r,- footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, D.jsx)(xj, {- title: "每日活跃",- unit: Sj,- cells: n.cells,- total: n.total,- columns: 13,- rows: 7,- footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: n.start }), /* @__PURE__ */ (0, D.jsx)("span", { children: n.end })] })- })]- });-}-function wj({ flows: e }) {- let [t, n] = (0, E.useState)(null), r = pj(e);+function qye({ flows: e }) {+ let [t, n] = (0, E.useState)(null), r = Vye(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, D.jsxs)("section", {- className: _j,+ className: W7,children: [- /* @__PURE__ */ (0, D.jsx)(vj, {+ /* @__PURE__ */ (0, D.jsx)(G7, {title: "创作者线索来源",figure: (t ? t.value : r.total).toLocaleString(),note: t ? t.label : "条线索"@@ -35473,7 +60525,7 @@ function wj({ flows: e }) {/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 overflow-x-auto",children: /* @__PURE__ */ (0, D.jsxs)("svg", {- viewBox: `0 0 ${dj.width} ${dj.height}`,+ viewBox: `0 0 ${H9.width} ${H9.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",@@ -35487,7 +60539,7 @@ function wj({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${hj[e.color]}`,+ className: `outline-none transition-opacity ${Uye[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -35521,15 +60573,15 @@ function wj({ flows: e }) {width: 10,height: e.height,rx: 5,- className: e.side === "source" ? gj[e.color] : "fill-text-secondary"+ className: e.side === "source" ? Wye[e.color] : "fill-text-secondary"}), /* @__PURE__ */ (0, D.jsxs)("text", {- x: fj[e.side],+ x: U9[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: [mj(e.name), /* @__PURE__ */ (0, D.jsx)("tspan", {- x: fj[e.side],+ children: [Hye(e.name), /* @__PURE__ */ (0, D.jsx)("tspan", {+ x: U9[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -35546,11 +60598,11 @@ function wj({ flows: e }) {}//#endregion//#region src/react/taste/taste-page.tsx-var Tj = 10, Ej = nh(sC, cC, "text-body-2-medium"), Dj = `${vh()} flex flex-col gap-4`, Oj = "rounded-xl bg-background-primary-default p-3", kj = "读取运行 Peach 的这台电脑上的浏览记录", Aj = "导入或读取浏览记录后,这里会列出已采集设备。", jj = "馆藏里暂时没有对得上浏览信号的标签。", Mj = "采集浏览记录后,这里会显示聚合后的口味证据。", Nj = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", Pj = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Fj = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Ij = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Lj = "这个数据源将不再用于口味分析。原始导出文件保留。", Rj = "peach-taste-guide-dismissed";-function zj({ icon: e, term: t, figure: n, detail: r, accent: i }) {+var Jye = 10, W9 = _w(aA, oA, "text-body-2-medium"), G9 = `${Ew()} flex flex-col gap-4`, K9 = "rounded-xl bg-background-primary-default p-3", Yye = "读取运行 Peach 的这台电脑上的浏览记录", Xye = "导入或读取浏览记录后,这里会列出已采集设备。", Zye = "馆藏里暂时没有对得上浏览信号的标签。", Qye = "采集浏览记录后,这里会显示聚合后的口味证据。", $ye = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ebe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", tbe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", nbe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", rbe = "这个数据源将不再用于口味分析。原始导出文件保留。", q9 = "peach-taste-guide-dismissed";+function J9({ icon: e, term: t, figure: n, detail: r, accent: i }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: QS(),- children: /* @__PURE__ */ (0, D.jsx)(eC, {+ className: Qk(),+ children: /* @__PURE__ */ (0, D.jsx)(eA, {label: t,icon: e,accent: i,@@ -35559,7 +60611,7 @@ function zj({ icon: e, term: t, figure: n, detail: r, accent: i }) {})});}-function Bj({ name: e, domain: t }) {+function Y9({ name: e, domain: t }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, D.jsx)("img", {@@ -35573,22 +60625,22 @@ function Bj({ name: e, domain: t }) {})]});}-function Vj({ html: e }) {+function ibe({ html: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",dangerouslySetInnerHTML: { __html: e }});}-function Hj({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {- if (!e.length) return /* @__PURE__ */ (0, D.jsx)(bh, {+function abe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {+ if (!e.length) return /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: mp,+ icon: PS,title: "暂无足够证据",children: r});- let o = ej(e);- return /* @__PURE__ */ (0, D.jsx)(Mk, {- previewCount: Tj,+ let o = R9(e);+ return /* @__PURE__ */ (0, D.jsx)(s9, {+ previewCount: Jye,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, D.jsxs)(D.Fragment, { children: [@@ -35607,15 +60659,15 @@ function Hj({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: aclassName: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Bj, {+ n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Y9, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, D.jsx)(Bj, {+ n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, D.jsx)(Y9, {name: e.name,domain: c}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, D.jsx)(Vj, { html: a(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, D.jsx)(ibe, { html: a(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,avatar_focus: e.avatar_focus@@ -35627,10 +60679,10 @@ function Hj({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: achildren: e.name}), /* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: $A(e)+ children: Lye(e)})]}),- s ? /* @__PURE__ */ (0, D.jsx)(Wf, {+ s ? /* @__PURE__ */ (0, D.jsx)(bS, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"}) : null@@ -35650,24 +60702,24 @@ function Hj({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a})});}-function Uj({ label: e, panels: t, onSignal: n, avatarInner: r }) {- return /* @__PURE__ */ (0, D.jsxs)($y, {- className: `${vh({ padding: "none" })} flex flex-col`,+function X9({ label: e, panels: t, onSignal: n, avatarInner: r }) {+ return /* @__PURE__ */ (0, D.jsxs)(DO, {+ className: `${Ew({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, D.jsx)(tb, {+ children: /* @__PURE__ */ (0, D.jsx)(kO, {"aria-label": e,- className: JS,- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(rb, {+ className: Xk,+ children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(jO, {id: e.id,- className: YS,+ className: Zk,children: e.name}, e.id))})- }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(ib, {+ }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(MO, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(Hj, {+ children: /* @__PURE__ */ (0, D.jsx)(abe, {...e.props,onSignal: n,avatarInner: r@@ -35675,7 +60727,7 @@ function Uj({ label: e, panels: t, onSignal: n, avatarInner: r }) {}, e.id))]});}-function Wj({ data: e, onSignal: t, navigate: n }) {+function obe({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -35690,7 +60742,7 @@ function Wj({ data: e, onSignal: t, navigate: n }) {act: () => n(e.route)}))];return /* @__PURE__ */ (0, D.jsxs)("section", {- className: Dj,+ className: G9,"aria-label": "口味总结",children: [/* @__PURE__ */ (0, D.jsxs)("header", {@@ -35716,7 +60768,7 @@ function Wj({ data: e, onSignal: t, navigate: n }) {r.points?.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: r.points.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: `flex min-w-0 flex-col gap-1 ${Oj}`,+ className: `flex min-w-0 flex-col gap-1 ${K9}`,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e.label@@ -35731,7 +60783,7 @@ function Wj({ data: e, onSignal: t, navigate: n }) {children: a.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",onClick: e.act,- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${Oj} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${K9} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsx)("b", {@@ -35741,44 +60793,44 @@ function Wj({ data: e, onSignal: t, navigate: n }) {className: "text-caption-1-regular text-text-secondary",children: e.detail})]- }), /* @__PURE__ */ (0, D.jsx)(Wf, {+ }), /* @__PURE__ */ (0, D.jsx)(bS, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: mp,+ icon: PS,title: "还没有可探索的入口",- children: jj+ children: Zye})]});}-function Gj({ onboarding: e, done: t }) {+function sbe({ onboarding: e, done: t }) {let [n, r] = (0, E.useState)(() => {try {- return localStorage.getItem(Rj) === "1";+ return localStorage.getItem(q9) === "1";} catch {return !1;}});return t || n ? null : /* @__PURE__ */ (0, D.jsx)("div", {- className: vh({+ className: Ew({padding: "none",className: "p-4"}),- children: /* @__PURE__ */ (0, D.jsxs)(OC, {+ children: /* @__PURE__ */ (0, D.jsxs)(wA, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: Pj+ children: ebe}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: Fj+ children: tbe}),/* @__PURE__ */ (0, D.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",@@ -35808,16 +60860,16 @@ function Gj({ onboarding: e, done: t }) {}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: Ij+ children: nbe}),/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(K, {+ children: /* @__PURE__ */ (0, D.jsx)(G, {variant: "secondary",size: "small",onClick: () => {try {- localStorage.setItem(Rj, "1");+ localStorage.setItem(q9, "1");} catch {}r(!0);},@@ -35828,7 +60880,7 @@ function Gj({ onboarding: e, done: t }) {})});}-function Kj({ busy: e, onRefresh: t, onImport: n }) {+function cbe({ busy: e, onRefresh: t, onImport: n }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), o = (e) => {a(!1), e();};@@ -35836,44 +60888,44 @@ function Kj({ busy: e, onRefresh: t, onImport: n }) {"data-button-group": !0,"data-split-button": !0,"data-variant": "primary",- children: [/* @__PURE__ */ (0, D.jsx)(K, {- leadingIcon: Xf,- title: kj,+ children: [/* @__PURE__ */ (0, D.jsx)(G, {+ leadingIcon: wS,+ title: Yye,onClick: t,- ...X(e),+ ...J(e),children: "读取浏览器历史"- }), /* @__PURE__ */ (0, D.jsx)(K, {+ }), /* @__PURE__ */ (0, D.jsx)(G, {ref: r,iconOnly: !0,- leadingIcon: Hf,+ leadingIcon: vS,"aria-label": "更多取得浏览记录的方式","aria-haspopup": "dialog","aria-expanded": i,onClick: () => a(!0)})]- }), /* @__PURE__ */ (0, D.jsx)(hv, {+ }), /* @__PURE__ */ (0, D.jsx)(UE, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: iC,- children: /* @__PURE__ */ (0, D.jsxs)(yv, {+ className: iA,+ children: /* @__PURE__ */ (0, D.jsxs)(qE, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: Ej,+ className: W9,onClick: () => o(t),- children: [/* @__PURE__ */ (0, D.jsx)(Xf, {+ children: [/* @__PURE__ */ (0, D.jsx)(wS, {"aria-hidden": !0,className: "size-4 shrink-0"}), "读取浏览器历史"]}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: Ej,+ className: W9,onClick: () => o(n),- children: [/* @__PURE__ */ (0, D.jsx)(vp, {+ children: [/* @__PURE__ */ (0, D.jsx)(IS, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入历史文件"]@@ -35881,36 +60933,36 @@ function Kj({ busy: e, onRefresh: t, onImport: n }) {})})] });}-function qj({ sources: e, window: t, toast: n }) {- let r = ht({- mutationFn: (e) => qA(e, t),+function lbe({ sources: e, window: t, toast: n }) {+ let r = pt({+ mutationFn: (e) => Mye(e, t),onSuccess: (e) => {- Th.setQueryData(BA(t), e.dashboard), n("已移除口味数据源");+ Mw.setQueryData(F9(t), e.dashboard), n("已移除口味数据源");}});return /* @__PURE__ */ (0, D.jsxs)("section", {- className: Dj,+ className: G9,"aria-label": "数据源",children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "text-title-2-medium text-text-primary",children: "数据源"}),- r.error ? /* @__PURE__ */ (0, D.jsx)(Y, {+ r.error ? /* @__PURE__ */ (0, D.jsx)(q, {tone: "error",- children: q(r.error)+ children: K(r.error)}) : null,e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "inline-grid w-full gap-2 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: `flex min-w-0 items-center gap-3 ${Oj}`,+ className: `flex min-w-0 items-center gap-3 ${K9}`,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)(vp, {+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)(IS, {"aria-hidden": !0,className: "size-4"- }) : /* @__PURE__ */ (0, D.jsx)(U, {+ }) : /* @__PURE__ */ (0, D.jsx)(TS, {"aria-hidden": !0,className: "size-4"})@@ -35925,17 +60977,17 @@ function qj({ sources: e, window: t, toast: n }) {children: `${e.browser} · ${e.host} · ${Number(e.visits || 0).toLocaleString()} 条`})]}),- /* @__PURE__ */ (0, D.jsx)(K, {+ /* @__PURE__ */ (0, D.jsx)(G, {variant: "secondary",size: "small","aria-label": `移除 ${e.profile}`,iconOnly: !0,- leadingIcon: Zf,- ...X(r.isPending),+ leadingIcon: ES,+ ...J(r.isPending),onClick: () => {r.isPending || c({title: "移除口味数据源",- body: Lj,+ body: rbe,confirmLabel: "移除口味数据源",onConfirm: () => r.mutateAsync(e.source_key)});@@ -35943,32 +60995,32 @@ function qj({ sources: e, window: t, toast: n }) {})]}, e.source_key))- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: U,+ icon: TS,title: "还没有数据源",- children: Aj+ children: Xye})]});}-function Jj(e) {- let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, E.useState)("all"), [l, u] = (0, E.useState)("browser"), d = (0, E.useRef)(null), f = mt({- queryKey: BA(s),- queryFn: ({ signal: e }) => UA(s, e),- placeholderData: ge- }), { job: p, running: m, outcome: h, start: g } = fC({- queryKey: VA,- queryFn: ({ signal: e }) => WA(e),- start: () => KA(s),- idlePollMs: YA,+function ube(e) {+ let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, E.useState)("all"), [l, u] = (0, E.useState)("browser"), d = (0, E.useRef)(null), f = ft({+ queryKey: F9(s),+ queryFn: ({ signal: e }) => I9(s, e),+ placeholderData: me+ }), { job: p, running: m, outcome: h, start: g } = cA({+ queryKey: Dye,+ queryFn: ({ signal: e }) => kye(e),+ start: () => jye(s),+ idlePollMs: Pye,onFinish: (e) => {- e.status !== "failed" && (Th.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));+ e.status !== "failed" && (Mw.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));}- }), _ = ht({- mutationFn: (e) => JA(e),+ }), _ = pt({+ mutationFn: (e) => Nye(e),onSuccess: (e) => {- Th.setQueryData(BA("all"), e.dashboard), c("all"), i("已导入口味数据");+ Mw.setQueryData(F9("all"), e.dashboard), c("all"), i("已导入口味数据");}}), v = (e) => {let t = e.currentTarget.files?.[0];@@ -35976,47 +61028,47 @@ function Jj(e) {}, y = () => {m || g.isPending || (g.reset(), g.mutate());}, b = f.data;- if (!b) return /* @__PURE__ */ (0, D.jsx)(Sh, { children: /* @__PURE__ */ (0, D.jsx)(Y, {+ if (!b) return /* @__PURE__ */ (0, D.jsx)(kw, { children: /* @__PURE__ */ (0, D.jsx)(q, {tone: "error",title: "读取失败",- children: f.error ? q(f.error) : "读取口味分析失败"+ children: f.error ? K(f.error) : "读取口味分析失败"}) });- let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], O = b.gaps || [], k = S.tagged || 0, A = S.identified || 0, j = g.error ? q(g.error) : _.error ? q(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";- return /* @__PURE__ */ (0, D.jsxs)(Sh, { children: [- /* @__PURE__ */ (0, D.jsxs)($y, {+ let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], O = b.gaps || [], k = S.tagged || 0, A = S.identified || 0, j = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";+ return /* @__PURE__ */ (0, D.jsxs)(kw, { children: [+ /* @__PURE__ */ (0, D.jsxs)(DO, {selectedKey: l,onSelectionChange: (e) => u(String(e)),className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, D.jsxs)(tb, {+ children: [/* @__PURE__ */ (0, D.jsxs)(kO, {"aria-label": "口味证据来源",- className: JS,- children: [/* @__PURE__ */ (0, D.jsx)(rb, {+ className: Xk,+ children: [/* @__PURE__ */ (0, D.jsx)(jO, {id: "browser",- className: YS,+ className: Zk,children: "浏览器记录"- }), /* @__PURE__ */ (0, D.jsx)(rb, {+ }), /* @__PURE__ */ (0, D.jsx)(jO, {id: "peach",- className: YS,+ className: Zk,children: "Peach 内部"})]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(HT, {+ /* @__PURE__ */ (0, D.jsx)(aM, {"aria-label": "分析范围",selectedKey: s,onSelectionChange: (e) => {e !== null && c(String(e));},- children: HA.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UT, {+ children: Oye.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(oM, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(Kj, {+ /* @__PURE__ */ (0, D.jsx)(cbe, {busy: m || g.isPending || _.isPending,onRefresh: y,onImport: () => d.current?.click()@@ -36032,7 +61084,7 @@ function Jj(e) {]})]}),- /* @__PURE__ */ (0, D.jsx)(Gj, {+ /* @__PURE__ */ (0, D.jsx)(sbe, {onboarding: o,done: !!(x.history_sources || b.updated_at)}),@@ -36042,7 +61094,7 @@ function Jj(e) {children: [m ? p?.total ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(Ch, {+ children: [/* @__PURE__ */ (0, D.jsx)(Aw, {label: p.message || "正在读取浏览记录",value: p.checked || 0,max: p.total@@ -36050,44 +61102,44 @@ function Jj(e) {className: "text-caption-1-regular text-text-secondary",children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`})]- }) : /* @__PURE__ */ (0, D.jsx)(xh, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,- _.isPending ? /* @__PURE__ */ (0, D.jsx)(xh, { label: "正在导入历史文件" }) : null,- j ? /* @__PURE__ */ (0, D.jsx)(Y, {+ }) : /* @__PURE__ */ (0, D.jsx)(Ow, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,+ _.isPending ? /* @__PURE__ */ (0, D.jsx)(Ow, { label: "正在导入历史文件" }) : null,+ j ? /* @__PURE__ */ (0, D.jsx)(q, {tone: "error",children: j}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(ib, {+ /* @__PURE__ */ (0, D.jsxs)(MO, {id: "browser",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: $S,+ className: $k,children: [- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 0,- icon: ip,+ icon: AS,term: "浏览记录",figure: Number(x.history_visits || 0).toLocaleString(),- detail: `${x.history_sources || 0} 个数据源 · ${XA(x.range_start)}—${XA(x.range_end)}`+ detail: `${x.history_sources || 0} 个数据源 · ${L9(x.range_start)}—${L9(x.range_end)}`}),- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 1,- icon: dp,+ icon: jS,term: "口味维度",figure: T.length.toLocaleString(),detail: T[0]?.name || "尚无主维度"}),- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 2,- icon: mp,+ icon: PS,term: "浏览候选",figure: O.length.toLocaleString()}),- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 3,- icon: U,+ icon: TS,term: "私有导出",figure: Number(w.exports || 0).toLocaleString(),detail: n(w.bytes || 0)@@ -36095,7 +61147,7 @@ function Jj(e) {]}),/* @__PURE__ */ (0, D.jsxs)("section", {- className: `${Dj} md:flex-row md:gap-6`,+ className: `${G9} md:flex-row md:gap-6`,"aria-label": "浏览器画像",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-col gap-2 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -36104,31 +61156,42 @@ function Jj(e) {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- /* @__PURE__ */ (0, D.jsx)(yj, {+ /* @__PURE__ */ (0, D.jsx)(Gye, {rows: T,label: "主要口味维度"}),/* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: b.updated_at ? `更新于 ${XA(b.updated_at)}` : "尚未采集浏览记录"+ children: b.updated_at ? `更新于 ${L9(b.updated_at)}` : "尚未采集浏览记录"})]}), /* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 grow",- children: T.length ? /* @__PURE__ */ (0, D.jsx)(bj, {+ children: T.length ? /* @__PURE__ */ (0, D.jsx)(Kye, {rows: T,label: "口味维度排名"- }) : /* @__PURE__ */ (0, D.jsx)(bh, {+ }) : /* @__PURE__ */ (0, D.jsx)(Dw, {shell: "plain",- icon: mp,+ icon: PS,title: "暂无口味维度",- children: Mj+ children: Qye})})]}),- /* @__PURE__ */ (0, D.jsx)(Cj, { activity: b.activity }),- /* @__PURE__ */ (0, D.jsx)(wj, { flows: b.creator_flows }),- /* @__PURE__ */ (0, D.jsx)(Uj, {+ /* @__PURE__ */ (0, D.jsx)(o9, {+ activity: b.activity,+ title: "浏览活跃时间",+ dailyTitle: "每日活跃",+ words: {+ unit: "口味网站访问",+ series: "访问",+ cellUnit: "次访问"+ },+ tone: 4,+ empty: "还没有可用于分析的口味网站访问记录。"+ }),+ /* @__PURE__ */ (0, D.jsx)(qye, { flows: b.creator_flows }),+ /* @__PURE__ */ (0, D.jsx)(X9, {label: "浏览器口味维度",onSignal: t,avatarInner: a,@@ -36170,49 +61233,49 @@ function Jj(e) {rows: O,kind: "",visual: "none",- empty: Nj+ empty: $ye}}]})]}),- /* @__PURE__ */ (0, D.jsxs)(ib, {+ /* @__PURE__ */ (0, D.jsxs)(MO, {id: "peach",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: $S,+ className: $k,children: [- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 0,- icon: ep,+ icon: OS,term: "Peach 看过",figure: Number(x.peach_items || 0).toLocaleString(),- detail: ZA(x.peach_seconds || 0)+ detail: Fye(x.peach_seconds || 0)}),- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 1,- icon: _p,+ icon: FS,term: "喜欢",figure: Number(x.liked || 0).toLocaleString()}),- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 2,- icon: gp,+ icon: wte,term: "不合口味",figure: Number(x.disliked || 0).toLocaleString()}),- /* @__PURE__ */ (0, D.jsx)(zj, {+ /* @__PURE__ */ (0, D.jsx)(J9, {accent: 3,- icon: dp,+ icon: jS,term: "有标签",figure: k.toLocaleString()})]}),/* @__PURE__ */ (0, D.jsxs)("section", {- className: `${Dj} md:flex-row md:gap-6`,+ className: `${G9} md:flex-row md:gap-6`,"aria-label": "Peach 观看",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -36232,18 +61295,18 @@ function Jj(e) {]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, D.jsx)(Yj, {+ children: [/* @__PURE__ */ (0, D.jsx)(Z9, {term: "有标签",value: k,rest: S.untagged || 0- }), /* @__PURE__ */ (0, D.jsx)(Yj, {+ }), /* @__PURE__ */ (0, D.jsx)(Z9, {term: "有身份",value: A,rest: S.unidentified || 0})]})]}),- /* @__PURE__ */ (0, D.jsx)(Uj, {+ /* @__PURE__ */ (0, D.jsx)(X9, {label: "Peach 口味维度",onSignal: t,avatarInner: a,@@ -36284,19 +61347,19 @@ function Jj(e) {})]}),- /* @__PURE__ */ (0, D.jsx)(Wj, {+ /* @__PURE__ */ (0, D.jsx)(obe, {data: b,onSignal: t,navigate: r}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(lbe, {sources: b.sources || [],window: s,toast: i})] });}-function Yj({ term: e, value: t, rest: n }) {+function Z9({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -36309,7 +61372,7 @@ function Yj({ term: e, value: t, rest: n }) {children: `${n} 项待补`})]})]- }), /* @__PURE__ */ (0, D.jsx)(Ch, {+ }), /* @__PURE__ */ (0, D.jsx)(Aw, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -36318,81 +61381,81 @@ function Yj({ term: e, value: t, rest: n }) {}//#endregion//#region src/react/entry.tsx-var Xj = null;-function Zj() {- return Xj?.isConnected || (Xj = document.createElement("div"), Xj.className = "peach-react", Xj.dataset.reactOverlays = "", document.body.append(Xj)), Xj;+var Q9 = null;+function dbe() {+ return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;}-function Qj(e) {+function $9(e) {return (t, n) => {- let r = (0, zf.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, D.jsx)(A, {- client: Th,- children: /* @__PURE__ */ (0, D.jsx)(St, {+ let r = (0, lte.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, D.jsx)(A, {+ client: Mw,+ children: /* @__PURE__ */ (0, D.jsx)(gu, {reducedMotion: "user",- children: /* @__PURE__ */ (0, D.jsx)(jc, {- getContainer: Zj,+ children: /* @__PURE__ */ (0, D.jsx)(Yv, {+ getContainer: dbe,children: /* @__PURE__ */ (0, D.jsx)(e, { ...t })})})}));- return (0, li.flushSync)(() => i(n)), {+ return (0, Zm.flushSync)(() => i(n)), {update: i,unmount: () => r.unmount()};};}-var $j = {+var fbe = {activity: {- prefetch: (e, t) => Ph(t),- mount: Qj(ng)+ prefetch: (e, t) => Vte(t),+ mount: $9($te)},"avatar-picker": {prefetch: async () => {},- mount: Qj(ix)+ mount: $9(Vne)},"cover-crop": {prefetch: async () => {},- mount: Qj(_x)+ mount: $9(Zne)},configuration: {- prefetch: (e, t) => DO(t),- mount: Qj(vk)+ prefetch: (e, t) => WP(t),+ mount: $9(FF)},"configuration-summary": {- prefetch: (e, t) => DO(t),- mount: Qj(bk)+ prefetch: (e, t) => WP(t),+ mount: $9(LF)},"follow-manage": {- prefetch: (e, t) => IS(t, e.tab),- mount: Qj(nE)+ prefetch: (e, t) => Fre(t, e.tab),+ mount: $9(yM)},"library-processing": {- prefetch: (e, t) => oE(t),- mount: Qj((e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(KE, { ...e }) : /* @__PURE__ */ (0, D.jsx)(HE, { ...e }))+ prefetch: (e, t) => CM(t),+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(lN, { ...e }) : /* @__PURE__ */ (0, D.jsx)(aN, { ...e }))},"media-repair": {- prefetch: (e, t) => TE(t),- mount: Qj(NE)+ prefetch: (e, t) => HM(t),+ mount: $9(XM)},"quality-goals": {- prefetch: (e, t) => XE(t),- mount: Qj($E)+ prefetch: (e, t) => pN(t),+ mount: $9(gN)},review: {- prefetch: (e, t) => kD(t),- mount: Qj(eO)+ prefetch: (e, t) => KN(t),+ mount: $9(_P)},scraping: {- prefetch: (e, t) => mO(t),- mount: Qj(SO)+ prefetch: (e, t) => jP(t),+ mount: $9(zP)},stats: {- prefetch: (e, t) => wk(t),- mount: Qj(nA)+ prefetch: (e, t) => VF(t),+ mount: $9(oye)},taste: {- prefetch: (e, t) => GA("all", t),- mount: Qj(Jj)+ prefetch: (e, t) => Aye("all", t),+ mount: $9(ube)}};//#endregion-export { $j as pages };+export { fbe as pages };