Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(web): 为 BoardUI 补齐连续状态与浮层动效

longmeidao40e022fb50ce
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 90a38ec48..b01d9e18d 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -6,6 +6,8 @@
## Board 界面与数值设置
+- 功能性动效由 `frontend/src/react/components/use-moving-surface.ts`、`modal-frame.tsx`、`selection-dock.tsx` 承担,复用现有 Motion 12.43.0(MIT)与 React Aria Components 1.21.1(Apache-2.0)。Fluid Functionalism 只提供行为与短程参数参考,见 [取证记录](reference-snapshots/fluid-functionalism.md)。不安装其 Registry:额外的 Radix、字体与上下文不符合当前 BoardUI 组合;Peach 保留单一选中底板、键盘即时反馈与原有主题。无新增依赖。
+
页面控件与交互由哪些共用件承担;Board 的上游证据登记在 [BoardUI 适配](BOARD_UI.md)。
- 作者别名管理复用逐字复制进 `frontend/src/react/boardui/` 的 BoardUI `Table`、关注列表共用的 `DataTableFrame`、`AuthorAvatar` 和既有别名 API;公开结构与固定资源见 `BOARD_UI.md`。待合并与已保存两张表都只有几行,排序、分页用不上,不接 `@tanstack/react-table`;合并范围是这一屏自己的勾选状态,所以表里的勾写 `slot={null}`,不走 React Aria Table 自己的行选择。扫描与采集那三种方式收在一颗主键加一个下拉里:触发键用 BoardUI `Button`,面板用已在用的 React Aria `Popover`,行的外观取注册表 `select` 条目带来的 `menu-styles.ts`,无新增依赖(见 `frontend/src/react/boardui/ORIGIN.md`)。
diff --git a/docs/reference-snapshots/fluid-functionalism.md b/docs/reference-snapshots/fluid-functionalism.md
new file mode 100644
index 000000000..81aec4fec
--- /dev/null
+++ b/docs/reference-snapshots/fluid-functionalism.md
@@ -0,0 +1,24 @@
+# Fluid Functionalism 交互参考
+
+2026-09-29 读取 <https://www.fluidfunctionalism.com/docs> 与公开 Registry。本文是人工取证笔记,不登记为可变上游快照;原文在 `upstream/fluid-springs.json`、`upstream/fluid-tabs.json`,URL 与 SHA-256 由 `docs/reference-sources.json` 锁定。浏览器控制返回 `nodeRepl.fetch request failed`,参考站实时手感未取得,不作为视觉复刻证据。
+
+## 采用的行为
+
+- 点击后立即更新选中值,只让独立底板移动;不移动文字,不等待动画再取数据。
+- 短程参数来自 `springs`:fast 为 `type: spring, duration: 0.08, bounce: 0`;moderate 为 `duration: 0.16, bounce: 0`。退出参数分别为 0.06、0.12 秒。
+- `tabs` 的选中底板常驻,悬停面与选中面分开。Peach 的普通分段控件只采用选中底板,未选中项仍只提亮文字。
+- 快速改变目标时读取当前可见位置,从该位置过渡;尺寸只在目标改变时设置,逐帧仅改 transform。
+
+## Peach 的实现与差异
+
+`frontend/src/react/components/use-moving-surface.ts` 为现有 React Aria 集合添加无语义的装饰面,使用已固定的 Motion 12.43.0(MIT),不复制 Registry 组件源码、不增加 Radix 或 framer-motion 依赖。现有玻璃筛选条仍使用 `useViewGlide`,上游 BoardUI 副本不修改。
+
+装饰面使用 [Motion mini](https://motion.dev/docs/animate#type) 的原生动画与 `spring` 生成器;取消动画后由组件直接设置键盘、触屏与尺寸变化对应的位置。
+
+短菜单最多八项,仅精细鼠标指向有效按钮时移动高亮。空隙不触发最近项,禁用项不高亮;含复选框等混合表单的面板不接入。键盘立即反馈。初次定位、滚动、改尺寸、触屏与减少动态效果模式不执行位移动画。
+
+共用弹窗由 React Aria 的 entering/exiting 生命周期维持挂载,opacity 与 scale .98 在 200ms 内进入,120ms 退出。批量选择条沿底部 8px 路径进出,进入 160ms、退出 120ms;Motion AnimatePresence 保持退出阶段,退出内容立即 inert,数量更新不重播。上述数值是 Peach 的设计选择,不宣称是参考站的弹窗与操作条实测值。
+
+无障碍与生产边界:保留 React Aria 焦点管理,键盘与减少动态效果模式即时开合;不改变 API、账本写入、选择集合和提交时机。运行回归在 `frontend/e2e/design.test.ts`。
+
+局部滚动区通过共用 `attachOverlayScrollbar` 接入上下边缘提示:仍可滚动的一侧显示 16px 渐隐与 2px 背景模糊,到头即撤去,不影响滚轮与点击。整页不叠加此效果。此处根据复核卡截图设计;参考站“超出框范围的模糊”实时视觉证据未取得,不宣称是上游效果的复刻。
diff --git a/docs/reference-snapshots/upstream/fluid-springs.json b/docs/reference-snapshots/upstream/fluid-springs.json
new file mode 100644
index 000000000..ffe6ea1a8
--- /dev/null
+++ b/docs/reference-snapshots/upstream/fluid-springs.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "springs",
+ "title": "Spring Animations",
+ "description": "Spring animation token presets for Framer Motion (fast, moderate, slow).",
+ "files": [
+ {
+ "path": "registry/default/lib/springs.ts",
+ "content": "// Motion tokens. Each tier's value is the ENTER transition — a critically\n// damped spring, except the largest tier which keeps a little bounce. Its\n// `.exit` is the matching EXIT transition — a plain tween, no bounce, one tier\n// quicker — so a dismissal reads as crisp and final rather than replaying the\n// entrance in reverse.\n//\n// transition={spring.fast} // enter\n// exit={{ opacity: 0, transition: spring.fast.exit }} // leave\n//\n// The bigger the thing that moves, the slower the spring. Never hand-write a\n// duration — always reach for a tier.\nexport const spring = {\n fast: {\n type: \"spring\" as const,\n duration: 0.08,\n bounce: 0,\n exit: { duration: 0.06 },\n },\n // Critically damped: same perceived speed as a bouncier tier, but lands\n // exactly with no overshoot — for short travel and panels/sheets that must\n // settle precisely (dropdowns, tabs, drawers, merged selection backgrounds).\n moderate: {\n type: \"spring\" as const,\n duration: 0.16,\n bounce: 0,\n exit: { duration: 0.12 },\n },\n slow: {\n type: \"spring\" as const,\n duration: 0.24,\n bounce: 0.12,\n exit: { duration: 0.16 },\n },\n} as const;\n\n// Fallback delay (ms) for deferred-unmount timers that guard an exit tween:\n// popups keep their portal mounted until onAnimationComplete fires, but a\n// throttled/background tab can stall the animation, so a timer force-unmounts\n// after the tier's exit duration plus a safety buffer. Deriving it here keeps\n// the timers in step with the tokens above.\nexport const exitFallbackMs = (tier: { exit: { duration: number } }) =>\n Math.round(tier.exit.duration * 1000) + 100;\n",
+ "type": "registry:lib"
+ }
+ ],
+ "docs": "Docs & live playground: https://www.fluidfunctionalism.com/docs/motion.",
+ "categories": [
+ "lib"
+ ],
+ "type": "registry:lib"
+}
diff --git a/docs/reference-snapshots/upstream/fluid-tabs.json b/docs/reference-snapshots/upstream/fluid-tabs.json
new file mode 100644
index 000000000..f4d35dee3
--- /dev/null
+++ b/docs/reference-snapshots/upstream/fluid-tabs.json
@@ -0,0 +1,34 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "tabs",
+ "title": "Tabs",
+ "description": "Segmented control tabs with sliding active indicator, fluid hover, and spring animations. Built on Radix UI Tabs.",
+ "dependencies": [
+ "framer-motion",
+ "@radix-ui/react-tabs",
+ "lucide-react"
+ ],
+ "registryDependencies": [
+ "utils",
+ "https://www.fluidfunctionalism.com/r/springs.json",
+ "https://www.fluidfunctionalism.com/r/font-weight.json",
+ "https://www.fluidfunctionalism.com/r/shape-context.json",
+ "https://www.fluidfunctionalism.com/r/icon-context.json",
+ "https://www.fluidfunctionalism.com/r/use-fluid-hover.json",
+ "https://www.fluidfunctionalism.com/r/size-context.json",
+ "https://www.fluidfunctionalism.com/r/tokens.json"
+ ],
+ "files": [
+ {
+ "path": "registry/radix/tabs.tsx",
+ "content": "\"use client\";\n\nimport {\n useRef,\n useState,\n useCallback,\n useEffect,\n useLayoutEffect,\n createContext,\n useContext,\n forwardRef,\n Children,\n cloneElement,\n isValidElement,\n type ComponentPropsWithoutRef,\n} from \"react\";\nimport * as TabsPrimitive from \"@radix-ui/react-tabs\";\nimport { motion, AnimatePresence } from \"framer-motion\";\nimport type { IconComponent } from \"@/lib/icon-context\";\nimport { cn } from \"@/lib/utils\";\nimport { spring } from \"@/lib/springs\";\nimport { fontWeights } from \"@/lib/font-weight\";\nimport { useShape } from \"@/lib/shape-context\";\nimport { SizeProvider, useSize, type SizeVariant } from \"@/lib/size-context\";\nimport { useSurface } from \"@/lib/surface-context\";\nimport { surfaceClasses } from \"@/lib/surface-classes\";\nimport { useFluidHover } from \"@/hooks/use-fluid-hover\";\n\n/* ─────────────────────── Contexts ─────────────────────── */\n\ninterface TabsValueOrderContextValue {\n valueOrder: string[];\n setValueOrder: (order: string[]) => void;\n selectedValue: string | undefined;\n}\n\nconst TabsValueOrderContext = createContext<TabsValueOrderContextValue | null>(null);\n\ninterface TabsListContextValue {\n registerTab: (index: number, value: string, el: HTMLElement | null) => void;\n hoveredIndex: number | null;\n selectedValue: string | undefined;\n /** Optimistically set selectedIdx so the indicator moves immediately on click. */\n setOptimisticIdx: (index: number) => void;\n}\n\nconst TabsListContext = createContext<TabsListContextValue | null>(null);\n\nfunction useTabsList() {\n const ctx = useContext(TabsListContext);\n if (!ctx) throw new Error(\"TabItem must be used within a TabsList\");\n return ctx;\n}\n\n/* ─────────────────────── Tabs (Root) ─────────────────────── */\n\ninterface TabsProps\n extends Omit<\n ComponentPropsWithoutRef<typeof TabsPrimitive.Root>,\n \"onValueChange\" | \"onSelect\"\n > {\n /** Controlled value (takes precedence over selectedIndex). */\n value?: string;\n /** Called when the active tab changes. */\n onValueChange?: (value: string) => void;\n /** Index-based controlled alternative. */\n selectedIndex?: number;\n /** Called with the new index when the active tab changes. */\n onSelect?: (index: number) => void;\n /** Pins the segmented control to one step of the size ladder (default 36px\n * outer, compact 28px — see /docs/sizes). Omitted, it follows the\n * surrounding SizeProvider. */\n size?: SizeVariant;\n}\n\nconst Tabs = forwardRef<HTMLDivElement, TabsProps>(\n (\n {\n value,\n onValueChange,\n selectedIndex,\n onSelect,\n defaultValue,\n size,\n children,\n ...props\n },\n ref\n ) => {\n const [valueOrder, setValueOrder] = useState<string[]>([]);\n const [uncontrolledValue, setUncontrolledValue] = useState<string | undefined>(\n defaultValue\n );\n const updateValueOrder = useCallback((order: string[]) => {\n setValueOrder((current) => {\n if (\n current.length === order.length &&\n current.every((value, index) => value === order[index])\n ) {\n return current;\n }\n return order;\n });\n }, []);\n\n // Resolve value: explicit value > selectedIndex lookup > uncontrolled state.\n // Uncontrolled with no defaultValue falls back to the first tab so the\n // FF layer's selectedValue matches what the primitive shows.\n const resolvedValue =\n value ??\n (selectedIndex != null\n ? valueOrder[selectedIndex]\n : uncontrolledValue ?? valueOrder[0]);\n\n const handleValueChange = useCallback(\n (newValue: string) => {\n if (value === undefined && selectedIndex == null) {\n setUncontrolledValue(newValue);\n }\n onValueChange?.(newValue);\n if (onSelect) {\n const idx = valueOrder.indexOf(newValue);\n if (idx !== -1) onSelect(idx);\n }\n },\n [onValueChange, onSelect, valueOrder, value, selectedIndex]\n );\n\n const root = (\n <TabsValueOrderContext.Provider\n value={{\n valueOrder,\n setValueOrder: updateValueOrder,\n selectedValue: resolvedValue,\n }}\n >\n {/*\n Always controlled: feeding the primitive an undefined-then-defined\n value flips it from uncontrolled to controlled, which Radix warns\n about in dev. valueOrder is empty on the first commit, so fall back\n to an empty-string sentinel — TabsList's layout effect populates\n valueOrder pre-paint, so the corrected value lands before anything\n is visible.\n */}\n <TabsPrimitive.Root\n ref={ref}\n value={resolvedValue ?? \"\"}\n onValueChange={handleValueChange}\n activationMode=\"automatic\"\n {...props}\n >\n {children}\n </TabsPrimitive.Root>\n </TabsValueOrderContext.Provider>\n );\n\n // A size prop pins the whole compound (list + items) to one ladder step.\n return size ? <SizeProvider size={size}>{root}</SizeProvider> : root;\n }\n);\n\nTabs.displayName = \"Tabs\";\n\n/* ─────────────────────── TabsList ─────────────────────── */\n\ntype TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List>;\n\nconst TabsList = forwardRef<HTMLDivElement, TabsListProps>(\n ({ children, className, ...props }, ref) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const isMouseInside = useRef(false);\n const shape = useShape();\n const sizeClasses = useSize();\n const substrate = useSurface();\n // Active pill lifts 3 levels above substrate (1 above the muted track + 2 for pop).\n // On the page (substrate 1) this lands on surface 4 — matches the original design.\n // Inside a dialog (substrate 5) it lifts to surface 8 instead of staying at 4.\n const indicatorLevel = Math.min(substrate + 3, 8);\n const valueOrderCtx = useContext(TabsValueOrderContext);\n const [optimisticIdx, setOptimisticIdx] = useState<number | null>(null);\n\n // Derive value order from children synchronously\n const values = Children.toArray(children)\n .filter(isValidElement)\n .map((child) => (child.props as { value?: string }).value)\n .filter((v): v is string => typeof v === \"string\");\n const valueOrderKey = values.join(\",\");\n const setValueOrder = valueOrderCtx?.setValueOrder;\n\n // Report value order up to Tabs root\n useLayoutEffect(() => {\n setValueOrder?.(values);\n }, [setValueOrder, valueOrderKey]);\n\n // Fluid hover\n const {\n activeIndex: hoveredIndex,\n setActiveIndex: setHoveredIndex,\n itemRects,\n handlers,\n registerItem,\n measureItems,\n } = useFluidHover(containerRef, { axis: \"x\" });\n\n // Register items: bridge from (index, value, el) → registerItem(index, el)\n const registerTab = useCallback(\n (index: number, _value: string, el: HTMLElement | null) => {\n registerItem(index, el);\n },\n [registerItem]\n );\n\n // Measure on children change (resizes are covered by useFluidHover's\n // own container ResizeObserver)\n useEffect(() => {\n measureItems();\n }, [measureItems, children]);\n\n // Track mouse inside\n const handleMouseMove = useCallback(\n (e: React.MouseEvent) => {\n isMouseInside.current = true;\n handlers.onMouseMove(e);\n },\n [handlers]\n );\n\n const handleMouseLeave = useCallback(() => {\n isMouseInside.current = false;\n handlers.onMouseLeave();\n }, [handlers]);\n\n // Focus ring\n const [focusedIndex, setFocusedIndex] = useState<number | null>(null);\n const selectedValue = valueOrderCtx?.selectedValue;\n const selectedIdx =\n selectedValue !== undefined ? values.indexOf(selectedValue) : -1;\n\n useEffect(() => {\n setOptimisticIdx(selectedIdx >= 0 ? selectedIdx : null);\n }, [selectedIdx]);\n\n const activeSelectedIdx = optimisticIdx;\n const selectedRect =\n activeSelectedIdx !== null ? itemRects[activeSelectedIdx] : null;\n const hoverRect = hoveredIndex !== null ? itemRects[hoveredIndex] : null;\n const focusRect = focusedIndex !== null ? itemRects[focusedIndex] : null;\n const isHoveringSelected = hoveredIndex === activeSelectedIdx;\n const isHovering = hoveredIndex !== null && !isHoveringSelected;\n\n // Auto-assign _index to children.\n // Skip plain DOM elements — injecting _index into e.g. a <div>\n // triggers React's unknown-prop warning.\n const indexedChildren = Children.map(children, (child, i) => {\n if (isValidElement(child) && typeof child.type !== \"string\") {\n return cloneElement(child, { _index: i } as Record<string, unknown>);\n }\n return child;\n });\n\n return (\n <TabsListContext.Provider\n value={{\n registerTab,\n hoveredIndex,\n selectedValue,\n setOptimisticIdx,\n }}\n >\n <TabsPrimitive.List\n ref={(node) => {\n (\n containerRef as React.MutableRefObject<HTMLDivElement | null>\n ).current = node;\n if (typeof ref === \"function\") ref(node);\n else if (ref)\n (\n ref as React.MutableRefObject<HTMLDivElement | null>\n ).current = node;\n }}\n onMouseMove={handleMouseMove}\n onMouseLeave={handleMouseLeave}\n onFocus={(e) => {\n const trigger = (e.target as HTMLElement).closest('[role=\"tab\"]');\n if (!trigger) return;\n const indexAttr = trigger.getAttribute(\"data-fluid-hover-index\");\n if (indexAttr != null) {\n const idx = Number(indexAttr);\n setHoveredIndex(idx);\n setFocusedIndex(\n (e.target as HTMLElement).matches(\":focus-visible\") ? idx : null\n );\n }\n }}\n onBlur={(e) => {\n if (containerRef.current?.contains(e.relatedTarget as Node)) return;\n setFocusedIndex(null);\n if (isMouseInside.current) return;\n setHoveredIndex(null);\n }}\n className={cn(\n // segmentPad + segmentItem add up to the ladder's control height\n // (36px default, 28px compact) so the segmented control's outer\n // box lines up with buttons, selects, and inputs beside it.\n \"relative inline-flex items-center select-none bg-muted\",\n sizeClasses.segmentPad,\n shape.container,\n className\n )}\n {...props}\n >\n {/* Active segment indicator */}\n {selectedRect && (\n <motion.div\n className={cn(\n \"absolute pointer-events-none\",\n surfaceClasses(indicatorLevel),\n shape.bg\n )}\n initial={false}\n animate={{\n left: selectedRect.left,\n width: selectedRect.width,\n top: selectedRect.top,\n height: selectedRect.height,\n opacity: isHovering ? 0.85 : 1,\n }}\n transition={{\n ...spring.moderate,\n opacity: { duration: 0.08 },\n }}\n />\n )}\n\n {/* Hover indicator */}\n <AnimatePresence>\n {hoverRect && !isHoveringSelected && selectedRect && (\n <motion.div\n className={cn(\n \"absolute pointer-events-none bg-hover\",\n shape.bg\n )}\n initial={{\n left: selectedRect.left,\n width: selectedRect.width,\n top: selectedRect.top,\n height: selectedRect.height,\n opacity: 0,\n }}\n animate={{\n left: hoverRect.left,\n width: hoverRect.width,\n top: hoverRect.top,\n height: hoverRect.height,\n opacity: 0.4,\n }}\n exit={\n !isMouseInside.current && selectedRect\n ? {\n left: selectedRect.left,\n width: selectedRect.width,\n top: selectedRect.top,\n height: selectedRect.height,\n opacity: 0,\n transition: {\n ...spring.moderate,\n opacity: { duration: 0.06 },\n },\n }\n : { opacity: 0, transition: spring.fast.exit }\n }\n transition={{\n ...spring.fast,\n opacity: { duration: 0.08 },\n }}\n />\n )}\n </AnimatePresence>\n\n {/* Focus ring */}\n <AnimatePresence>\n {focusRect && (\n <motion.div\n className={cn(\n \"absolute pointer-events-none z-20 border border-[color:var(--focus-ring,#6B97FF)]\",\n shape.focusRing\n )}\n initial={false}\n animate={{\n left: focusRect.left - 2,\n top: focusRect.top - 2,\n width: focusRect.width + 4,\n height: focusRect.height + 4,\n }}\n exit={{ opacity: 0, transition: spring.fast.exit }}\n transition={{\n ...spring.fast,\n opacity: { duration: 0.08 },\n }}\n />\n )}\n </AnimatePresence>\n\n {indexedChildren}\n </TabsPrimitive.List>\n </TabsListContext.Provider>\n );\n }\n);\n\nTabsList.displayName = \"TabsList\";\n\n/* ─────────────────────── TabItem ─────────────────────── */\n\ninterface TabItemProps\n extends ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> {\n /** Unique value for this tab. */\n value: string;\n /** Optional leading icon. */\n icon?: IconComponent;\n /** Text label. */\n label: string;\n /** @internal Auto-assigned by TabsList. */\n _index?: number;\n}\n\nconst TabItem = forwardRef<HTMLButtonElement, TabItemProps>(\n ({ value, icon: Icon, label, _index = 0, className, onClick, ...props }, ref) => {\n const internalRef = useRef<HTMLButtonElement>(null);\n const sizeClasses = useSize();\n const { registerTab, hoveredIndex, selectedValue, setOptimisticIdx } = useTabsList();\n\n useEffect(() => {\n registerTab(_index, value, internalRef.current);\n return () => registerTab(_index, value, null);\n }, [_index, value, registerTab]);\n\n const isSelected = selectedValue === value;\n const isActive = hoveredIndex === _index || isSelected;\n\n return (\n <TabsPrimitive.Trigger\n // Composed (not spread-overridable): a consumer onClick must not\n // replace the optimistic indicator jump.\n onClick={(e) => {\n setOptimisticIdx(_index);\n onClick?.(e);\n }}\n ref={(node) => {\n (\n internalRef as React.MutableRefObject<HTMLButtonElement | null>\n ).current = node;\n if (typeof ref === \"function\") ref(node);\n else if (ref)\n (\n ref as React.MutableRefObject<HTMLButtonElement | null>\n ).current = node;\n }}\n value={value}\n data-fluid-hover-index={_index}\n className={cn(\n // Fixed height (not py) so the text-box trim below doesn't shrink\n // the tab — browsers without text-box support render identically.\n \"relative z-10 flex items-center px-3 cursor-pointer bg-transparent border-none outline-none\",\n sizeClasses.segmentItem,\n sizeClasses.gap,\n className\n )}\n {...props}\n >\n {Icon && (\n <Icon\n size={sizeClasses.icon}\n strokeWidth={isActive ? 2 : 1.5}\n className={cn(\n \"transition-[color,stroke-width] duration-80\",\n isActive ? \"text-foreground\" : \"text-muted-foreground\"\n )}\n />\n )}\n {/* Both stacked spans carry the text-box trim so the invisible bold\n sizer and the visible label keep identical boxes. */}\n <span className={cn(\"inline-grid whitespace-nowrap\", sizeClasses.text)}>\n <span\n className=\"col-start-1 row-start-1 invisible [text-box:trim-both_cap_alphabetic]\"\n style={{ fontVariationSettings: fontWeights.semibold }}\n aria-hidden=\"true\"\n >\n {label}\n </span>\n <span\n className={cn(\n \"col-start-1 row-start-1 transition-[color,font-variation-settings] duration-80 [text-box:trim-both_cap_alphabetic]\",\n isActive ? \"text-foreground\" : \"text-muted-foreground\"\n )}\n style={{\n fontVariationSettings: isSelected\n ? fontWeights.semibold\n : fontWeights.normal,\n }}\n >\n {label}\n </span>\n </span>\n </TabsPrimitive.Trigger>\n );\n }\n);\n\nTabItem.displayName = \"TabItem\";\n\n/* ─────────────────────── TabPanel ─────────────────────── */\n\ninterface TabPanelProps\n extends ComponentPropsWithoutRef<typeof TabsPrimitive.Content> {\n /** Must match a TabItem value. */\n value: string;\n}\n\nconst TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n ({ className, ...props }, ref) => {\n return (\n <TabsPrimitive.Content\n ref={ref}\n className={cn(\"outline-none\", className)}\n {...props}\n />\n );\n }\n);\n\nTabPanel.displayName = \"TabPanel\";\n\n/* ─────────────────────── Exports ─────────────────────── */\n\nexport { Tabs, TabsList, TabItem, TabPanel };\nexport type { TabsProps, TabsListProps, TabItemProps, TabPanelProps };\n",
+ "type": "registry:ui",
+ "target": "components/ui/tabs.tsx"
+ }
+ ],
+ "docs": "Docs & live playground: https://www.fluidfunctionalism.com/docs/tabs.",
+ "categories": [
+ "components"
+ ],
+ "type": "registry:ui"
+}
diff --git a/docs/reference-sources.json b/docs/reference-sources.json
index 8d99ea5dc..0e02a57aa 100644
--- a/docs/reference-sources.json
+++ b/docs/reference-sources.json
@@ -2,6 +2,26 @@
"schema": 1,
"policy": "上游 Markdown 只作为待审证据;先比较锁定快照,再人工判断是否影响 Peach,禁止自动改代码。",
"sources": [
+ {
+ "id": "fluid-springs",
+ "name": "Fluid Functionalism 短程弹簧参数",
+ "url": "https://www.fluidfunctionalism.com/r/springs.json",
+ "snapshot": "docs/reference-snapshots/upstream/fluid-springs.json",
+ "checked_on": "2026-09-29",
+ "sha256": "d31fea32ef50e0fd2d30d86186f04c9d4eaa28c3501d958db45f5e2ad1199c05",
+ "role": "普通分段控件与短菜单的无回弹短程参数参考;保留 Peach 主题与无障碍行为。",
+ "consumers": ["frontend/src/react/components/use-moving-surface.ts"]
+ },
+ {
+ "id": "fluid-tabs",
+ "name": "Fluid Functionalism 分段控件行为",
+ "url": "https://www.fluidfunctionalism.com/r/tabs.json",
+ "snapshot": "docs/reference-snapshots/upstream/fluid-tabs.json",
+ "checked_on": "2026-09-29",
+ "sha256": "b78dda3b5a3bf306ff36271a20e8d6b24496e373e8c6ca419cfddaad1fa1b49c",
+ "role": "独立选中底板与即时状态更新参考;不复制组件源码、字重变化与悬停双底板。",
+ "consumers": ["frontend/src/react/components/segmented.tsx"]
+ },
{
"id": "vercel-report-design",
"name": "Vercel Design Report Reference",
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 8ff2f2282..b0367bb95 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -161,6 +161,7 @@ const REVIEW_ROW = {
field_label: '厂牌',
code: 'ABC-123',
query: 'ABC-123',
+ evidence: '当前值:尚无;1 个匹配资产;2 个来源候选',
candidates: [{ candidate_key: 'javdb:studio', source: 'javdb', display_value: '示例厂牌' }],
};
@@ -1774,6 +1775,40 @@ describe('设计决定', () => {
}
});
+ it('复核滚动边缘按方向出现,当前信息在分隔线之间居中', { timeout: 60_000 }, async () => {
+ const opened = await openReview(browser);
+ try {
+ const card = opened.page.locator('section[data-review-key]').first();
+ const scroller = card.locator('div[data-overlay-scrollbar]').first();
+ // 增加候选内容,覆盖图片加载或队列更新后的溢出重算。
+ await scroller.evaluate((node) => {
+ const content = document.createElement('div');
+ content.style.cssText = 'height:1000px;flex-shrink:0';
+ content.dataset.scrollTest = '';
+ node.append(content);
+ });
+ const edges = scroller.locator('..').locator('.ov-edges');
+ await opened.page.waitForFunction(() => !!document.querySelector('[data-review-key] .can-scroll-bottom'));
+ assert.equal(await edges.evaluate((node) => node.classList.contains('can-scroll-top')), false);
+ await scroller.evaluate((node) => { node.scrollTop = 100 });
+ await opened.page.waitForFunction(() => !!document.querySelector('[data-review-key] .can-scroll-top.can-scroll-bottom'));
+ assert.equal(await edges.evaluate((node) => getComputedStyle(node).pointerEvents), 'none');
+ assert.equal(await edges.locator('.ov-edge-top').evaluate((node) => getComputedStyle(node).backdropFilter), 'blur(2px)');
+ await scroller.evaluate((node) => { node.scrollTop = node.scrollHeight });
+ await opened.page.waitForFunction(() => !document.querySelector('[data-review-key] .can-scroll-bottom'));
+ await scroller.locator('[data-scroll-test]').evaluate((node) => node.remove());
+ await opened.page.waitForFunction(() => !document.querySelector('[data-review-key] [data-scroll-edges]'));
+ const spacing = await card.getByRole('region', { name: '当前信息' }).evaluate((node) => {
+ const style = getComputedStyle(node);
+ const footer = node.closest('section')!.querySelector('footer')!.getBoundingClientRect();
+ return { top: parseFloat(style.paddingTop), bottom: parseFloat(style.paddingBottom), gap: footer.top - node.getBoundingClientRect().bottom };
+ });
+ assert.equal(spacing.top, spacing.bottom);
+ assert.ok(Math.abs(spacing.gap) <= 1, `当前信息下方多出 ${spacing.gap}px`);
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
+
it('暗色下没选中的勾选框边线不比浅色下更弱', { timeout: 60_000 }, async () => {
const opened = await openReview(browser);
try {
@@ -2396,6 +2431,141 @@ describe('设计决定', () => {
}
});
+ it('分段底板支持鼠标反向、键盘即时切换与减少动态效果', { timeout: 60_000 }, async () => {
+ const opened = await openIndexPage(browser, '/performers');
+ const { page } = opened;
+ try {
+ await page.emulateMedia({ reducedMotion: 'no-preference' });
+ const track = page.locator('[data-index-layout]');
+ const choices = track.locator('label');
+ const pane = track.locator('[data-moving-surface]');
+ await pane.waitFor();
+ const aligned = async () => {
+ await page.waitForFunction(() => {
+ const host = document.querySelector('[data-index-layout]')!;
+ const pane = host.querySelector('[data-moving-surface]')!.getBoundingClientRect();
+ const selected = host.querySelector('label[data-selected]')!.getBoundingClientRect();
+ return Math.abs(pane.x - selected.x) < 1 && Math.abs(pane.width - selected.width) < 1;
+ });
+ };
+ const assertInstant = async () => {
+ const offset = await pane.evaluate((node) => {
+ const selected = node.parentElement!.querySelector('label[data-selected]')!.getBoundingClientRect();
+ const box = node.getBoundingClientRect();
+ return { x: box.x - selected.x, width: box.width - selected.width };
+ });
+ assert.ok(Math.abs(offset.x) < 1 && Math.abs(offset.width) < 1,
+ `即时切换的底板位置:${JSON.stringify(offset)}`);
+ };
+ await choices.nth(0).click();
+ await aligned();
+ const endpoints = await choices.evaluateAll((nodes) => nodes.slice(0, 2).map((node) => node.getBoundingClientRect().x));
+ await pane.evaluate((node) => {
+ const samples: number[] = [];
+ const sample = () => {
+ samples.push(node.getBoundingClientRect().x);
+ if (samples.length < 24) requestAnimationFrame(sample);
+ else (node as HTMLElement).dataset.motionSamples = JSON.stringify(samples);
+ };
+ requestAnimationFrame(sample);
+ });
+ await choices.nth(1).click();
+ await page.waitForFunction(() => document.querySelector('[data-index-layout] [data-motion-samples]'));
+ const samples = JSON.parse((await pane.getAttribute('data-motion-samples'))!) as number[];
+ assert.ok(samples.some((x) => x > Math.min(...endpoints) + 1 && x < Math.max(...endpoints) - 1),
+ `鼠标切换应经过两项之间的位置:${JSON.stringify(samples)}`);
+ await choices.nth(0).click();
+ await choices.nth(1).click();
+ await choices.nth(0).click();
+ await aligned();
+ assert.equal(await pane.count(), 1);
+ assert.equal(await pane.getAttribute('aria-hidden'), 'true');
+ await track.getByRole('radio').nth(0).focus();
+ await page.keyboard.press('ArrowRight');
+ await assertInstant();
+ assert.equal(await track.getByRole('radio').nth(1).isChecked(), true);
+ assert.equal(await pane.evaluate((node) => node.getAnimations().length), 0);
+ assert.match(await choices.nth(1).evaluate((node) => getComputedStyle(node).getPropertyValue('--tw-ring-shadow')), /2px/,
+ '选中底板不能抹掉键盘焦点环');
+ await page.emulateMedia({ reducedMotion: 'reduce' });
+ await choices.nth(0).click();
+ await assertInstant();
+ assert.equal(await pane.evaluate((node) => node.getAnimations().length), 0);
+ await page.setViewportSize({ width: 390, height: 844 });
+ await aligned();
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close(); }
+ });
+
+ it('短菜单共享悬停面,弹窗关闭释放焦点与遮罩', { timeout: 60_000 }, async () => {
+ const opened = await openPlaylistsPage(browser);
+ const { page } = opened;
+ try {
+ await page.emulateMedia({ reducedMotion: 'no-preference' });
+ const trigger = page.locator('[data-playlist-card="1"] [data-playlist-menu]');
+ await trigger.click();
+ const menu = page.getByRole('dialog', { name: '播放列表操作:列表1' });
+ await menu.getByRole('button', { name: '编辑名称' }).hover();
+ const pane = menu.locator('[data-moving-surface]');
+ await pane.waitFor();
+ await menu.getByRole('button', { name: '删除播放列表' }).hover();
+ await page.waitForFunction(() => {
+ const host = document.querySelector('[data-surface-host="hover"]')!;
+ const pane = host.querySelector('[data-moving-surface]')!.getBoundingClientRect();
+ const button = [...host.querySelectorAll('button')].at(-1)!.getBoundingClientRect();
+ return Math.abs(pane.y - button.y) < 1;
+ });
+ await page.keyboard.press('Tab');
+ assert.equal(await pane.isVisible(), false);
+ await menu.getByRole('button', { name: '编辑名称' }).click();
+ const modal = page.locator('[data-modal-motion]');
+ await modal.waitFor();
+ await modal.getByRole('textbox', { name: '名称' }).waitFor();
+ assert.equal(await modal.locator('[data-modal-surface]').evaluate((node) =>
+ getComputedStyle(node).transitionProperty.includes('transform')), true);
+ await modal.locator('form').getByRole('button', { name: '取消', exact: true }).click();
+ await modal.waitFor({ state: 'detached' });
+ await trigger.click();
+ await menu.getByRole('button', { name: '编辑名称' }).focus();
+ await page.keyboard.press('Enter');
+ await modal.waitFor();
+ assert.equal(await modal.getAttribute('data-motion-instant'), 'true');
+ await page.keyboard.press('Escape');
+ await modal.waitFor({ state: 'detached' });
+ assert.equal(await page.evaluate(() => document.activeElement?.closest('[data-modal-motion]') !== null), false);
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close(); }
+ });
+
+ it('批量选择条更新计数保持节点,清空后退出且不保留可操作控件', { timeout: 60_000 }, async () => {
+ const opened = await openIndexPage(browser, '/tags');
+ const { page } = opened;
+ try {
+ await page.emulateMedia({ reducedMotion: 'no-preference' });
+ await page.locator('#selectMode').click();
+ const tags = page.locator('#index [data-alpha-tag]');
+ await tags.nth(0).click();
+ const dock = page.locator('[data-selection-dock]');
+ await dock.waitFor();
+ await dock.evaluate((node) => node.setAttribute('data-test-identity', 'retained'));
+ await tags.nth(1).click();
+ assert.equal(await dock.getAttribute('data-test-identity'), 'retained');
+ assert.match(await dock.textContent() ?? '', /已选 2 个标签/);
+ await dock.getByRole('button', { name: '清空', exact: true }).click();
+ await page.waitForFunction(() => {
+ const dock = document.querySelector<HTMLElement>('[data-selection-dock]');
+ return !dock || (dock.inert && dock.getAttribute('aria-hidden') === 'true');
+ });
+ await dock.waitFor({ state: 'detached' });
+ await tags.nth(0).click();
+ await dock.waitFor();
+ await page.emulateMedia({ reducedMotion: 'reduce' });
+ await dock.getByRole('button', { name: '清空', exact: true }).click();
+ await dock.waitFor({ state: 'detached' });
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close(); }
+ });
+
it('标签多选坞出现时页底让出 96px;在线词表的类型色走上游 tag_type 那一套', { timeout: 60_000 }, async () => {
const opened = await openIndexPage(browser, '/tags');
try {
diff --git a/frontend/src/react/boardui/ORIGIN.md b/frontend/src/react/boardui/ORIGIN.md
index fe2f9159e..0f495171e 100644
--- a/frontend/src/react/boardui/ORIGIN.md
+++ b/frontend/src/react/boardui/ORIGIN.md
@@ -1,5 +1,7 @@
# BoardUI 源码
+普通分段控件、短菜单悬停面、共用弹窗与选择条动效由 `../components/` 组合实现,参数与差异见 `docs/reference-snapshots/fluid-functionalism.md`;本目录副本不承担这些扩展。
+
来源是 BoardUI 的 shadcn 注册表条目 `https://www.boardui.com/r/<条目>.json`,2026-09-15 取得。
许可证为 MIT,原文见 `web/vendor/boardui-LICENSE.txt`。
diff --git a/frontend/src/react/components/menu-dialog.tsx b/frontend/src/react/components/menu-dialog.tsx
new file mode 100644
index 000000000..eaa228cca
--- /dev/null
+++ b/frontend/src/react/components/menu-dialog.tsx
@@ -0,0 +1,8 @@
+import { Dialog, type DialogProps } from 'react-aria-components';
+import { useMovingSurface } from './use-moving-surface';
+
+/** 短菜单的悬停面;空隙与禁用项不映射到其他动作。 */
+export function MenuDialog(props: DialogProps) {
+ const ref = useMovingSurface('hover');
+ return <Dialog {...props} ref={ref} />;
+}
diff --git a/frontend/src/react/components/modal-frame.tsx b/frontend/src/react/components/modal-frame.tsx
index 4d1d23875..7417c4593 100644
--- a/frontend/src/react/components/modal-frame.tsx
+++ b/frontend/src/react/components/modal-frame.tsx
@@ -9,6 +9,7 @@
*
* 页头左边那枚 56px 图标方块也在这里(`ModalGlyph`):它是弹层页头的一部分,不是卡。 */
import type { ReactNode } from 'react';
+import { useFocusVisible } from 'react-aria';
import { Dialog, Modal, ModalOverlay } from 'react-aria-components';
const WIDTH = {
@@ -25,10 +26,12 @@ export function ModalFrame({ isOpen, onOpenChange, width, label, children }: {
label?: string;
children: ReactNode;
}) {
+ const { isFocusVisible } = useFocusVisible();
return (
<ModalOverlay isOpen={isOpen} onOpenChange={onOpenChange} isDismissable
+ data-modal-motion="" data-motion-instant={isFocusVisible || undefined}
className="fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4">
- <Modal className={`flex max-h-full w-full ${WIDTH[width]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`}>
+ <Modal data-modal-surface="" className={`flex max-h-full w-full ${WIDTH[width]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`}>
<Dialog aria-label={label} className="flex min-h-0 flex-col outline-none">{children}</Dialog>
</Modal>
</ModalOverlay>
diff --git a/frontend/src/react/components/segmented.tsx b/frontend/src/react/components/segmented.tsx
index 3773215a3..59b0d6e1f 100644
--- a/frontend/src/react/components/segmented.tsx
+++ b/frontend/src/react/components/segmented.tsx
@@ -1,14 +1,16 @@
-/* 分段控件:一排互斥选项挤在一条药丸轨道里。
- *
- * 迁移前统计页的面板页签 `.insighttabs`、口味页的 `.insightswitch` 与关注管理页的
- * `.follow-workspace-switch` 是同一个形状:
- * 轨道 `background-tertiary-default` 打底、4px 内边距、
- * 10px 圆角,选中那一格是一块浮起来的面(6px 圆角、1px 接触阴影)。迁到 React 时这几处都掉成了
- * 裸文字加一条下划线,一排选项看不出是一个控件。
- *
- * 旧实现的滑块是一个单独的 `.board-segment-thumb` 元素,靠 `board-controls.ts` 量位置再平移。
- * 这里不搬那套:选中面直接画在被选中的那一格上。形态、尺寸与配色照旧,少的只有滑动动画。
- * 字重不随选中变(`peach-web-ui`:选中态不加字重),整排都是 `body-medium`。 */
+/* 分段控件的选中面独立移动,文字、焦点与业务状态即时更新。 */
+import { RadioGroup, TabList, type RadioGroupProps, type TabListProps } from 'react-aria-components';
+import { useMovingSurface } from './use-moving-surface';
+
+export function SegmentedTabList<T extends object>(props: TabListProps<T>) {
+ const ref = useMovingSurface('selection');
+ return <TabList {...props} ref={ref} />;
+}
+
+export function SegmentedRadioGroup(props: RadioGroupProps) {
+ const ref = useMovingSurface('selection');
+ return <RadioGroup {...props} ref={ref} />;
+}
/** 轨道。宽度按内容收,窄屏装不下时自己横向滚,不把页面撑出滚动条。 */
export const SEGMENTED_TRACK = 'inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto'
@@ -19,6 +21,7 @@ export const SEGMENTED_TRACK = 'inline-flex w-max max-w-full items-center gap-0.
export const SEGMENT = 'flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1'
+ ' text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors'
+ ' hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring'
+ + ' data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring'
+ ' data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card'
+ ' dark:data-selected:bg-background-primary-hover';
@@ -33,6 +36,7 @@ export const SEGMENT_ARIA = 'flex min-h-7 flex-none cursor-pointer items-center
export const SEGMENT_ICON = 'flex size-7 flex-none cursor-pointer items-center justify-center rounded-md'
+ ' text-text-secondary outline-none transition-colors'
+ ' hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring'
+ + ' data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring'
+ ' data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card'
+ ' dark:data-selected:bg-background-primary-hover';
diff --git a/frontend/src/react/components/selection-dock.tsx b/frontend/src/react/components/selection-dock.tsx
index 5672e7a00..96652cd0b 100644
--- a/frontend/src/react/components/selection-dock.tsx
+++ b/frontend/src/react/components/selection-dock.tsx
@@ -1,19 +1,44 @@
-import type { ReactNode } from 'react';
+import { useSyncExternalStore, type ReactNode } from 'react';
+import { AnimatePresence, motion, useIsPresent } from 'motion/react';
+import { useFocusVisible } from 'react-aria';
+
+const reduceQuery = '(prefers-reduced-motion: reduce)';
+const readReduce = () => matchMedia(reduceQuery).matches;
+const subscribeReduce = (notify: () => void) => {
+ const media = matchMedia(reduceQuery);
+ media.addEventListener('change', notify);
+ return () => media.removeEventListener('change', notify);
+};
interface SelectionDockProps {
children: ReactNode;
count: string;
label: string;
+ visible: boolean;
}
-/** 与首页多选共用的底部悬浮操作框。只在确实有选择时由调用方挂载。 */
-export function SelectionDock({ children, count, label }: SelectionDockProps) {
+function DockSurface({ children, count, label }: Omit<SelectionDockProps, 'visible'>) {
+ const present = useIsPresent();
+ const reduce = useSyncExternalStore(subscribeReduce, readReduce, () => false);
+ const { isFocusVisible } = useFocusVisible();
+ const instant = reduce || isFocusVisible;
+ const hidden = { opacity: 0, transform: 'translate(-50%, 8px)' };
return (
- <div role="group" aria-label={label} data-selection-dock data-glass-pane="">
+ <motion.div role="group" aria-label={label} data-selection-dock data-glass-pane=""
+ inert={!present} aria-hidden={!present || undefined}
+ initial={instant ? false : hidden}
+ animate={{ opacity: 1, transform: 'translate(-50%, 0px)' }}
+ exit={{ ...hidden, transition: { duration: instant ? 0 : 0.12 } }}
+ transition={{ duration: instant ? 0 : 0.16, ease: [0.23, 1, 0.32, 1] }}>
<span role="status" className="px-2 text-body-2-regular whitespace-nowrap text-text-primary">
{count}
</span>
{children}
- </div>
+ </motion.div>
);
}
+
+/** 持续挂载这个外壳,数量变化只更新内容,清空选择由内部完成退出。 */
+export function SelectionDock({ visible, ...props }: SelectionDockProps) {
+ return <AnimatePresence>{visible ? <DockSurface key="selection" {...props} /> : null}</AnimatePresence>;
+}
diff --git a/frontend/src/react/components/surface-motion.css b/frontend/src/react/components/surface-motion.css
new file mode 100644
index 000000000..574718a99
--- /dev/null
+++ b/frontend/src/react/components/surface-motion.css
@@ -0,0 +1,50 @@
+/* 动效仅作用于装饰面;控件的命中范围、内容与焦点均保持原位。 */
+.peach-react [data-surface-host] { position: relative; isolation: isolate; }
+.peach-react [data-moving-surface] {
+ position: absolute;
+ top: 0;
+ left: 0;
+ pointer-events: none;
+ transform-origin: top left;
+ z-index: -1;
+}
+.peach-react [data-moving-surface="selection"] {
+ border-radius: var(--radius-md);
+ background: var(--color-background-primary-default);
+ box-shadow: var(--shadow-card);
+}
+.dark .peach-react [data-moving-surface="selection"] {
+ background: var(--color-background-primary-hover);
+}
+.peach-react [data-surface-host="selection"][data-surface-ready] :is([data-selected], [aria-selected="true"]) {
+ background: transparent;
+ --tw-shadow: 0 0 transparent;
+}
+.peach-react [data-moving-surface="hover"] {
+ border-radius: var(--radius-2lg);
+ background: var(--color-dropdown-item-hover-background);
+}
+@media (hover: hover) and (pointer: fine) {
+ .peach-react [data-surface-host="hover"][data-surface-ready] button:is(:hover, :focus-visible) {
+ background: transparent;
+ }
+}
+
+.peach-react [data-modal-motion] {
+ transition: opacity 200ms var(--ease-out);
+}
+.peach-react [data-modal-surface] {
+ transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
+}
+.peach-react [data-modal-motion]:is([data-entering], [data-exiting]) { opacity: 0; }
+.peach-react [data-modal-surface]:is([data-entering], [data-exiting]) {
+ transform: scale(.98);
+ opacity: 0;
+}
+.peach-react [data-modal-motion][data-exiting],
+.peach-react [data-modal-surface][data-exiting] { transition-duration: 120ms; }
+.peach-react [data-modal-motion][data-motion-instant],
+.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface] { transition: none; }
+@media (prefers-reduced-motion: reduce) {
+ .peach-react [data-modal-motion], .peach-react [data-modal-surface] { transition: none; }
+}
diff --git a/frontend/src/react/components/use-moving-surface.ts b/frontend/src/react/components/use-moving-surface.ts
new file mode 100644
index 000000000..c37585d4d
--- /dev/null
+++ b/frontend/src/react/components/use-moving-surface.ts
@@ -0,0 +1,129 @@
+import { spring } from 'motion';
+import { animate } from 'motion/mini';
+import { useLayoutEffect, useState } from 'react';
+
+/** Fluid 的短程、无回弹档;页面语义与配色仍由 BoardUI 提供。 */
+export const SURFACE_SPRING = {
+ selection: { type: spring, duration: 0.16, bounce: 0 },
+ hover: { type: spring, duration: 0.08, bounce: 0 },
+} as const;
+
+/** 装饰节点不加入 React Aria 的 collection;生命周期与测量均归这个 hook。 */
+export function useMovingSurface(mode: 'selection' | 'hover') {
+ const [host, setHost] = useState<HTMLElement | null>(null);
+ useLayoutEffect(() => {
+ if (!host) return;
+ const pane = document.createElement('span');
+ pane.setAttribute('aria-hidden', 'true');
+ pane.dataset.movingSurface = mode;
+ pane.hidden = true;
+ host.prepend(pane);
+ host.dataset.surfaceHost = mode;
+ const reduced = matchMedia('(prefers-reduced-motion: reduce)');
+ const mouse = matchMedia('(hover: hover) and (pointer: fine)');
+ let pointerInput = false;
+ let hovered: HTMLElement | null = null;
+ let previous: HTMLElement | null = null;
+ let destination = '';
+ let animation: ReturnType<typeof animate> | undefined;
+ const selector = mode === 'selection'
+ ? '[role="tab"],label[data-rac]'
+ : '[role="option"],button';
+ const items = () => [...host.querySelectorAll<HTMLElement>(selector)]
+ .filter((node) => node.getBoundingClientRect().width > 0);
+ const hide = () => {
+ animation?.cancel();
+ pane.hidden = true;
+ previous = null;
+ destination = '';
+ delete host.dataset.surfaceReady;
+ };
+ const place = (smooth = false) => {
+ const rows = items();
+ const selected = rows.find((node) => node.hasAttribute('data-selected')
+ || node.getAttribute('aria-selected') === 'true');
+ const target = mode === 'selection' ? selected : hovered;
+ if (!target || !host.contains(target) || !rows.includes(target)
+ || (mode === 'hover' && (!mouse.matches || !pointerInput || rows.length > 8
+ || target.matches(':disabled,[aria-disabled="true"],[data-disabled]')))) {
+ hide();
+ return;
+ }
+ const box = target.getBoundingClientRect();
+ const origin = host.getBoundingClientRect();
+ const sx = origin.width / host.offsetWidth || 1;
+ const sy = origin.height / host.offsetHeight || 1;
+ const x = (box.left - origin.left) / sx + host.scrollLeft - host.clientLeft;
+ const y = (box.top - origin.top) / sy + host.scrollTop - host.clientTop;
+ const width = box.width / sx;
+ const height = box.height / sy;
+ const next = `${x},${y},${width},${height}`;
+ // 同一个位置的重复通知不截断正在移动的底板;键盘和媒体设置变化仍即时落位。
+ if (pointerInput && mouse.matches && !reduced.matches && previous === target && destination === next) return;
+ const live = pane.hidden ? null : pane.getBoundingClientRect();
+ animation?.cancel();
+ pane.hidden = false;
+ pane.style.width = `${width}px`;
+ pane.style.height = `${height}px`;
+ const transform = `translate(${x}px, ${y}px) scale(1, 1)`;
+ if (smooth && pointerInput && !reduced.matches && live && previous !== target) {
+ const fromX = (live.left - origin.left) / sx + host.scrollLeft - host.clientLeft;
+ const fromY = (live.top - origin.top) / sy + host.scrollTop - host.clientTop;
+ const from = `translate(${fromX}px, ${fromY}px) scale(${live.width / sx / width}, ${live.height / sy / height})`;
+ animation = animate(pane, { transform: [from, transform] }, SURFACE_SPRING[mode]);
+ } else {
+ pane.style.transform = transform;
+ }
+ previous = target;
+ destination = next;
+ host.dataset.surfaceReady = '';
+ };
+ const onPointer = (event: PointerEvent) => {
+ pointerInput = event.pointerType === 'mouse' && mouse.matches;
+ if (mode === 'hover') {
+ const target = event.target instanceof Element ? event.target.closest<HTMLElement>(selector) : null;
+ if (target === hovered && pointerInput) return;
+ hovered = target;
+ place(true);
+ }
+ };
+ const onKey = () => {
+ pointerInput = false;
+ if (mode === 'hover') hide();
+ else place();
+ };
+ const onLeave = () => { hovered = null; if (mode === 'hover') hide(); };
+ const measure = () => place();
+ const mutation = new MutationObserver(() => place(true));
+ const resize = new ResizeObserver(measure);
+ const observeItems = () => { resize.disconnect(); resize.observe(host); items().forEach((item) => resize.observe(item)); };
+ const children = new MutationObserver(() => { observeItems(); place(); });
+ mutation.observe(host, { subtree: true, attributes: true,
+ attributeFilter: ['data-selected', 'aria-selected', 'data-disabled', 'aria-disabled'] });
+ children.observe(host, { childList: true, subtree: true });
+ observeItems();
+ place();
+ host.addEventListener('pointerdown', onPointer, true);
+ host.addEventListener('pointermove', onPointer);
+ host.addEventListener('pointerleave', onLeave);
+ host.addEventListener('keydown', onKey, true);
+ host.addEventListener('scroll', measure, true);
+ reduced.addEventListener('change', measure);
+ mouse.addEventListener('change', measure);
+ return () => {
+ animation?.cancel();
+ mutation.disconnect(); children.disconnect(); resize.disconnect();
+ host.removeEventListener('pointerdown', onPointer, true);
+ host.removeEventListener('pointermove', onPointer);
+ host.removeEventListener('pointerleave', onLeave);
+ host.removeEventListener('keydown', onKey, true);
+ host.removeEventListener('scroll', measure, true);
+ reduced.removeEventListener('change', measure);
+ mouse.removeEventListener('change', measure);
+ pane.remove();
+ delete host.dataset.surfaceHost;
+ delete host.dataset.surfaceReady;
+ };
+ }, [host, mode]);
+ return setHost;
+}
diff --git a/frontend/src/react/follow-manage/feed-sources.tsx b/frontend/src/react/follow-manage/feed-sources.tsx
index 537dad776..a9603cd4d 100644
--- a/frontend/src/react/follow-manage/feed-sources.tsx
+++ b/frontend/src/react/follow-manage/feed-sources.tsx
@@ -346,8 +346,7 @@ export function FeedSources({ readOnly, toast, avatarInner }: {
</div>
) : null}
- {chosen.length ? (
- <SelectionDock label="订阅源批量操作" count={`已选 ${chosen.length} 条订阅源`}>
+ <SelectionDock visible={chosen.length > 0} label="订阅源批量操作" count={`已选 ${chosen.length} 条订阅源`}>
<Button variant="secondary" size="small" disabled={readOnly} {...busyProps(bulk.isPending)}
onClick={() => bulk.mutate({ ids: chosen.map((row) => row.id), action: 'enabled' })}>启用</Button>
<Button variant="secondary" size="small" disabled={readOnly} {...busyProps(bulk.isPending)}
@@ -357,7 +356,6 @@ export function FeedSources({ readOnly, toast, avatarInner }: {
() => bulk.mutateAsync({ ids: chosen.map((row) => row.id), action: 'remove' }))}>移除</Button>
<Button variant="ghost" size="small" onClick={() => setSelected(new Set())}>取消选择</Button>
</SelectionDock>
- ) : null}
{sources.length ? (
<DataTableFrame onRowClick={(key) => toggleRow(Number(key))}>
diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsx
index 97805cd10..82e18c8f2 100644
--- a/frontend/src/react/follow-manage/source-list.tsx
+++ b/frontend/src/react/follow-manage/source-list.tsx
@@ -582,8 +582,7 @@ export function SourceList(props: SourceListProps) {
{evidence ? <Note tone="warning">{`候选已入库,但这一次的原始响应没有留档:${evidence}`}</Note> : null}
</div>
- {chosen.length ? (
- <SelectionDock label="关注来源批量操作" count={`已选 ${chosen.length} 个来源`}>
+ <SelectionDock label="关注来源批量操作" visible={chosen.length > 0} count={`已选 ${chosen.length} 个来源`}>
<Button variant="secondary" size="small" disabled={readOnly}
{...busyProps(rowHandlers.busy)} onClick={() => startChecking(chosen)}>检查所选</Button>
<Button variant="secondary" size="small" disabled={readOnly} {...busyProps(bulk.isPending)}
@@ -599,7 +598,6 @@ export function SourceList(props: SourceListProps) {
})}>删除</Button>
<Button variant="ghost" size="small" onClick={() => onSelected(new Set())}>取消选择</Button>
</SelectionDock>
- ) : null}
{asTable ? (
<DataTableFrame follow onRowClick={(key) => toggleOne(Number(key), !selected.has(Number(key)))}>
diff --git a/frontend/src/react/index/index-page.tsx b/frontend/src/react/index/index-page.tsx
index f9e58ebd0..9249143b4 100644
--- a/frontend/src/react/index/index-page.tsx
+++ b/frontend/src/react/index/index-page.tsx
@@ -8,7 +8,7 @@
* 下面那排 Tabs。标签页的读数住在浮层下排,页头不再重复一遍。 */
import { keepPreviousData, useInfiniteQuery } from '@tanstack/react-query';
import { useEffect, useMemo, useRef, useState, type KeyboardEvent } from 'react';
-import { Radio, RadioGroup } from 'react-aria-components';
+import { Radio } from 'react-aria-components';
import { requestErrorMessage } from '@peach/legacy/core';
import { indexSkeletonHtml } from '@peach/legacy/ui';
@@ -19,7 +19,7 @@ import { InputBase, TextField } from '@/components/base/input/input';
import { BoardTabs, type BoardTab } from '../components/board-tabs';
import { EmptyState } from '../components/empty-state';
import { LoadingDots } from '../components/loading-dots';
-import { SEGMENTED_TRACK, SEGMENT_ICON } from '../components/segmented';
+import { SEGMENTED_TRACK, SEGMENT_ICON, SegmentedRadioGroup as RadioGroup } from '../components/segmented';
import { spriteGlyph } from '../components/sprite-glyph';
import type { OnlineAuthor, OnlineTag } from '../follow/online-vocab';
import {
@@ -238,7 +238,7 @@ export function IndexPage(props: IndexProps) {
</Button>
</div>
) : null}
- {kind === 'tags' && !onlineTags && props.selectMode && picked.size ? (
+ {kind === 'tags' && !onlineTags && props.selectMode ? (
<TagDock count={picked.size} match={match} onMatch={setMatch}
onClear={() => setPicked(new Set())}
onApply={() => { const chosen = [...picked]; setPicked(new Set()); props.showTags(chosen, match) }} />
diff --git a/frontend/src/react/index/index-tags.tsx b/frontend/src/react/index/index-tags.tsx
index ca8bc7132..73bee3d8b 100644
--- a/frontend/src/react/index/index-tags.tsx
+++ b/frontend/src/react/index/index-tags.tsx
@@ -150,7 +150,7 @@ export function TagDock(
{ count: number; match: 'any' | 'all'; onMatch(match: 'any' | 'all'): void; onClear(): void; onApply(): void },
) {
return (
- <SelectionDock label="所选标签操作" count={`已选 ${count} 个标签`}>
+ <SelectionDock visible={count > 0} label="所选标签操作" count={`已选 ${count} 个标签`}>
<Checkbox isSelected={match === 'any'} onChange={(on) => onMatch(on ? 'any' : 'all')}>
<span className="flex flex-col">
<span className="text-body-medium">广泛匹配</span>
diff --git a/frontend/src/react/library-processing/library-processing-card.tsx b/frontend/src/react/library-processing/library-processing-card.tsx
index 71970203a..504114f23 100644
--- a/frontend/src/react/library-processing/library-processing-card.tsx
+++ b/frontend/src/react/library-processing/library-processing-card.tsx
@@ -11,7 +11,8 @@ import {
RiArrowDownSLine, RiArrowRightLine, RiDatabase2Line, RiGlobalLine, RiHardDrive2Line,
} from '@remixicon/react';
import { useMutation } from '@tanstack/react-query';
-import { Dialog, Popover } from 'react-aria-components';
+import { Popover } from 'react-aria-components';
+import { MenuDialog as Dialog } from '../components/menu-dialog';
import { Button } from '@/components/base/buttons/button';
import { LinkButton } from '@/components/base/buttons/link-button';
diff --git a/frontend/src/react/playlists/playlists-page.tsx b/frontend/src/react/playlists/playlists-page.tsx
index 847fc3252..8bba2140a 100644
--- a/frontend/src/react/playlists/playlists-page.tsx
+++ b/frontend/src/react/playlists/playlists-page.tsx
@@ -9,7 +9,8 @@
* 写完让列表键重取,不重挂整页。壳在这一页上要求重读时把 `revision` 加一,页面同样只重取。 */
import { useEffect, useRef, useState, type FormEvent } from 'react';
import { useMutation, useQuery } from '@tanstack/react-query';
-import { Dialog, Heading, Popover } from 'react-aria-components';
+import { Heading, Popover } from 'react-aria-components';
+import { MenuDialog as Dialog } from '../components/menu-dialog';
import { confirmModal } from '@peach/legacy/ui';
import { Button } from '@/components/base/buttons/button';
diff --git a/frontend/src/react/review/bulk-toolbar.tsx b/frontend/src/react/review/bulk-toolbar.tsx
index e123e4937..20bcd3543 100644
--- a/frontend/src/react/review/bulk-toolbar.tsx
+++ b/frontend/src/react/review/bulk-toolbar.tsx
@@ -77,8 +77,7 @@ export function BulkToolbar(props: BulkToolbarProps) {
</Button>
</div>
- {selected.size ? (
- <SelectionDock label="复核所选项目" count={`已选 ${selected.size} 项`}>
+ <SelectionDock label="复核所选项目" visible={selected.size > 0} count={`已选 ${selected.size} 项`}>
{needsSource ? (
<Select aria-label="统一选择来源" size="sm" selectedKey=""
isDisabled={busy || !sources.length}
@@ -97,7 +96,6 @@ export function BulkToolbar(props: BulkToolbarProps) {
? <p role="status" className="w-full text-body-2-regular text-text-secondary">{feedback}</p>
: null}
</SelectionDock>
- ) : null}
</>
);
}
diff --git a/frontend/src/react/review/review-card.tsx b/frontend/src/react/review/review-card.tsx
index 86a5c2df6..797fbdced 100644
--- a/frontend/src/react/review/review-card.tsx
+++ b/frontend/src/react/review/review-card.tsx
@@ -196,7 +196,7 @@ export function ReviewCard(props: ReviewCardProps) {
证据的一部分。外面一层同样只为那条轨道,负边距由它出:轨道要贴着卡的内缘,
而这一句自己得铺满整条。 */}
{metadata && evidence
- ? <div className="relative -mx-5 shrink-0">
+ ? <div className="relative -mx-5 -mb-4 shrink-0">
<p ref={current} 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">
{evidence}
diff --git a/frontend/src/react/scraping/scraping-page.tsx b/frontend/src/react/scraping/scraping-page.tsx
index 83013eb35..491028bb0 100644
--- a/frontend/src/react/scraping/scraping-page.tsx
+++ b/frontend/src/react/scraping/scraping-page.tsx
@@ -10,7 +10,7 @@ import { useRef, useState } from 'react';
import type { ChangeEvent, FormEvent } from 'react';
import { RiArrowRightLine } from '@remixicon/react';
import { useMutation, useQuery } from '@tanstack/react-query';
-import { Radio, RadioGroup } from 'react-aria-components';
+import { Radio } from 'react-aria-components';
import { siteMarkUrl } from '@peach/legacy/core';
import { SettingsRow } from '@/components/application/settings/settings-rows';
@@ -25,7 +25,7 @@ import type { ScrapingProps } from '../bundle';
import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
import { Page } from '../components/page';
-import { SEGMENT, SEGMENTED_TRACK } from '../components/segmented';
+import { SEGMENT, SEGMENTED_TRACK, SegmentedRadioGroup as RadioGroup } from '../components/segmented';
import { queryClient } from '../query';
import {
ErrorText, ExternalLink, Fact, FactList, FieldLabel, Footer, Help, Rows, Section, Stack,
diff --git a/frontend/src/react/settings/tunnel-settings.tsx b/frontend/src/react/settings/tunnel-settings.tsx
index 0a71d918d..12b663383 100644
--- a/frontend/src/react/settings/tunnel-settings.tsx
+++ b/frontend/src/react/settings/tunnel-settings.tsx
@@ -4,7 +4,7 @@
* 隧道令牌:它只往服务端去,回来的只有「存过没有」,这里任何时候都不显示令牌本身。
* 模式选择只在源码开发环境出现,独立包收到的 `named_available` 是 false。 */
import { useEffect, useState, type FormEvent } from 'react';
-import { Radio, RadioGroup } from 'react-aria-components';
+import { Radio } from 'react-aria-components';
import { Button } from '@/components/base/buttons/button';
import { Input } from '@/components/base/input/input';
@@ -13,7 +13,7 @@ import { ApiError, apiSend, errorMessage } from '../../api';
import type { ConfigurationData, TunnelState } from '../bundle';
import { Note } from '../components/note';
import { queryClient } from '../query';
-import { SEGMENT, SEGMENTED_TRACK } from '../components/segmented';
+import { SEGMENT, SEGMENTED_TRACK, SegmentedRadioGroup as RadioGroup } from '../components/segmented';
import { CONFIGURATION_KEY, fetchConfiguration } from './configuration';
import { ExternalLink, ErrorText, Footer, Help, Section, Stack } from './section';
import { busyProps, useAction } from './use-action';
diff --git a/frontend/src/react/stats/stats-page.tsx b/frontend/src/react/stats/stats-page.tsx
index 43c0bb98f..c8f7195ac 100644
--- a/frontend/src/react/stats/stats-page.tsx
+++ b/frontend/src/react/stats/stats-page.tsx
@@ -29,7 +29,7 @@ import { ExpandableRanking } from '../components/expandable-ranking';
import { Note } from '../components/note';
import { Page } from '../components/page';
import { Progress } from '../components/progress';
-import { SEGMENT, SEGMENTED_TRACK } from '../components/segmented';
+import { SEGMENT, SEGMENTED_TRACK, SegmentedTabList } from '../components/segmented';
import { StatCard, statCardClass, STAT_STRIP } from '../components/stat-card';
import { RadialCard } from './radial-card';
import {
@@ -366,11 +366,11 @@ export function StatsPage(props: StatsProps) {
{/* 旧 `.insightpanel`:整块一张 16px 的填充卡,页签是卡内顶上那条分段控件。 */}
<Tabs className={`${cardClass({ padding: 'none' })} flex flex-col`}>
<div className="px-4 pt-3">
- <TabList aria-label="统计维度" className={SEGMENTED_TRACK}>
+ <SegmentedTabList aria-label="统计维度" className={SEGMENTED_TRACK}>
<Tab id="tags" className={SEGMENT}>内容标签</Tab>
<Tab id="recent" className={SEGMENT}>最近看过</Tab>
<Tab id="sources" className={SEGMENT}>标签来源</Tab>
- </TabList>
+ </SegmentedTabList>
</div>
<TabPanel id="tags" className="px-4 pt-3.5 pb-4"><TagRanking tags={data.top_tags} {...props} /></TabPanel>
<TabPanel id="recent" className="px-4 pt-3.5 pb-4"><RecentWatches rows={data.recent} /></TabPanel>
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index e62292bcc..194fdd5dc 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -16,6 +16,7 @@
@import "./boardui/styles/theme.css";
@import "./boardui/styles/typography.css";
@import "./components/media-card.css";
+@import "./components/surface-motion.css";
@import "./junk-queue/junk-queue.css";
@import "./entity-hero/entity-hero.css";
@import "./entity-filter/entity-filter.css";
diff --git a/frontend/src/react/taste/taste-page.tsx b/frontend/src/react/taste/taste-page.tsx
index b19709216..15e78c93e 100644
--- a/frontend/src/react/taste/taste-page.tsx
+++ b/frontend/src/react/taste/taste-page.tsx
@@ -20,7 +20,8 @@ import {
RiThumbUpLine, RiUploadLine, RiUserLine,
} from '@remixicon/react';
import { keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
-import { Dialog, Popover, Tab, TabList, TabPanel, Tabs } from 'react-aria-components';
+import { Popover, Tab, TabPanel, Tabs } from 'react-aria-components';
+import { MenuDialog as Dialog } from '../components/menu-dialog';
import { fmtSize, siteMarkUrl } from '@peach/legacy/core';
import { confirmModal } from '@peach/legacy/ui';
@@ -43,7 +44,7 @@ import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
import { Page } from '../components/page';
import { Progress } from '../components/progress';
-import { SEGMENT, SEGMENTED_TRACK } from '../components/segmented';
+import { SEGMENT, SEGMENTED_TRACK, SegmentedTabList as TabList } from '../components/segmented';
import { StatCard, statCardClass, STAT_STRIP } from '../components/stat-card';
import { queryClient } from '../query';
import { Disclosure } from '../settings/section';
diff --git a/frontend/test/react/junk-queue.test.tsx b/frontend/test/react/junk-queue.test.tsx
index 9cc6b1fd0..31674b27e 100644
--- a/frontend/test/react/junk-queue.test.tsx
+++ b/frontend/test/react/junk-queue.test.tsx
@@ -58,7 +58,7 @@ async function open(initial: JunkQueueProps) {
function countShape(root: Element | null | undefined): string {
const copy = root?.cloneNode(true) as Element | undefined;
if (!copy) return '';
- copy.querySelectorAll('.ovtrack').forEach((track) => track.remove());
+ copy.querySelectorAll('.ovtrack,.ov-edges').forEach((track) => track.remove());
copy.querySelectorAll('[data-overlay-scrollbar]').forEach((el) => el.removeAttribute('data-overlay-scrollbar'));
copy.querySelectorAll('[class]').forEach((el) => el.setAttribute('class', el.className.toString().trim().split(/\s+/).join(' ')));
return copy.outerHTML;
diff --git a/tests/test_reference_updates.py b/tests/test_reference_updates.py
index 7bde3849f..dd9699c1c 100644
--- a/tests/test_reference_updates.py
+++ b/tests/test_reference_updates.py
@@ -44,6 +44,7 @@ class ReferenceUpdateTests(unittest.TestCase):
"boardui-input",
"boardui-theme",
"boardui-auth-card",
+ "fluid-springs", "fluid-tabs",
"amane-content-routes",
"readme-yingku",
"readme-openaver", "readme-amane",
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index 3704d7567..5598431a1 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -649,7 +649,7 @@ class WebUiSourceTests(unittest.TestCase):
# documentElement 上挂 subtree 的 MutationObserver。
self.assertPageContains("if(root)new ResizeObserver(sync).observe(document.body);")
self.assertPageContains("else new MutationObserver(sync).observe("
- "container,{childList:true,subtree:true});")
+ "container,{childList:true,characterData:true,subtree:true});")
def test_the_drawer_scrolls_in_an_inner_layer_so_the_track_can_stay_put(self):
"""抽屉自己不滚,滚的是里面那层:跟着内容一起滚的轨道等于没有轨道。"""
diff --git a/web/css/01-base.css b/web/css/01-base.css
index 65d41139c..029f60809 100644
--- a/web/css/01-base.css
+++ b/web/css/01-base.css
@@ -412,6 +412,15 @@ body.settings-open>.ovtrack.page,body.photolight-open>.ovtrack.page{display:none
脚本没跑到的容器就还留着系统滚动条,不会变成一个既没有滑块也拖不动的死框。 */
[data-overlay-scrollbar]{scrollbar-width:none}
[data-overlay-scrollbar]::-webkit-scrollbar{display:none}
+/* 边缘只提示仍可滚动的方向;透明渐隐适配每一档底色,覆盖层不拦点击与滚轮。 */
+[data-scroll-edges]{mask-image:linear-gradient(to bottom,transparent,#000 var(--scroll-edge-top),#000 calc(100% - var(--scroll-edge-bottom)),transparent)}
+.ov-edges{position:absolute;pointer-events:none;z-index:1;overflow:hidden}
+.ov-edges[hidden]{display:none}
+.ov-edges>span{position:absolute;left:0;right:0;height:16px;visibility:hidden;backdrop-filter:blur(2px)}
+.ov-edge-top{top:0;mask-image:linear-gradient(#000,transparent)}
+.ov-edge-bottom{bottom:0;mask-image:linear-gradient(transparent,#000)}
+.ov-edges.can-scroll-top>.ov-edge-top,.ov-edges.can-scroll-bottom>.ov-edge-bottom{visibility:visible}
+.geist-scroller:has(>[data-overlay-scrollbar])>.geist-scroller-overlay{display:none}
/* 横向行不显示滚动条(本来就能拖动/滚轮横滚) */
.tier,.tagbar,.srow{scrollbar-width:none}
.tier::-webkit-scrollbar,.tagbar::-webkit-scrollbar,
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 4b9354a65..cdd87d331 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react [data-entity-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react [data-entity-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass][data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:hover [data-follow-collection]{display:none}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react [data-entity-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react [data-entity-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass][data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:hover [data-follow-collection]{display:none}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index e4291485b..10a3cb8fd 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -3415,16 +3415,95 @@ var Ea = 40, Da = class extends xi {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
+}, Oa = class {
+ constructor(e) {
+ this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
+ }
+ get finished() {
+ return Promise.all(this.animations.map((e) => e.finished));
+ }
+ getAll(e) {
+ return this.animations[0][e];
+ }
+ setAll(e, t) {
+ for (let n = 0; n < this.animations.length; n++) this.animations[n][e] = t;
+ }
+ attachTimeline(e) {
+ let t = this.animations.map((t) => t.attachTimeline(e));
+ return () => {
+ t.forEach((e, t) => {
+ e && e(), this.animations[t].stop();
+ });
+ };
+ }
+ get time() {
+ return this.getAll("time");
+ }
+ set time(e) {
+ this.setAll("time", e);
+ }
+ get speed() {
+ return this.getAll("speed");
+ }
+ set speed(e) {
+ this.setAll("speed", e);
+ }
+ get state() {
+ return this.getAll("state");
+ }
+ get startTime() {
+ return this.getAll("startTime");
+ }
+ get duration() {
+ return ka(this.animations, "duration");
+ }
+ get iterationDuration() {
+ return ka(this.animations, "iterationDuration");
+ }
+ runAll(e) {
+ this.animations.forEach((t) => t[e]());
+ }
+ play() {
+ this.runAll("play");
+ }
+ pause() {
+ this.runAll("pause");
+ }
+ cancel() {
+ this.runAll("cancel");
+ }
+ complete() {
+ this.runAll("complete");
+ }
};
+function ka(e, t) {
+ let n = 0;
+ for (let r = 0; r < e.length; r++) {
+ let i = e[r][t];
+ i !== null && i > n && (n = i);
+ }
+ return n;
+}
+//#endregion
+//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
+var Aa = class extends Oa {
+ then(e, t) {
+ return this.finished.finally(e).then(() => {});
+ }
+}, ja = /* @__PURE__ */ new WeakMap(), Ma = (e, t = "") => `${e}:${t}`;
+function Na(e) {
+ let t = ja.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), ja.set(e, t)), t;
+}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function Oa(e, t, n, r = 0, i = 1) {
+function Pa(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var ka = 30, Aa = (e) => !isNaN(parseFloat(e)), ja = { current: void 0 }, Ma = class {
+var Fa = 30, Ia = (e) => !isNaN(parseFloat(e)), La = { current: void 0 }, Ra = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
let t = In.now();
@@ -3432,7 +3511,7 @@ var ka = 30, Aa = (e) => !isNaN(parseFloat(e)), ja = { current: void 0 }, Ma = c
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = In.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Aa(this.current));
+ this.current = e, this.updatedAt = In.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Ia(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -3474,15 +3553,15 @@ var ka = 30, Aa = (e) => !isNaN(parseFloat(e)), ja = { current: void 0 }, Ma = c
this.dependents && this.dependents.delete(e);
}
get() {
- return ja.current && ja.current.push(this), this.current;
+ return La.current && La.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
let e = In.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ka) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, ka);
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Fa) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, Fa);
return /* @__PURE__ */ nn(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
@@ -3505,12 +3584,12 @@ var ka = 30, Aa = (e) => !isNaN(parseFloat(e)), ja = { current: void 0 }, Ma = c
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function Na(e, t) {
- return new Ma(e, t);
+function za(e, t) {
+ return new Ra(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function Pa(e, t) {
+function Ba(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -3522,26 +3601,26 @@ function Pa(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function Fa(e, t) {
+function Va(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : Pa(n, e);
+ return n === e ? n : Ba(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var Ia = {
+var Ha = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, La = (e) => ({
+}, Ua = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), Ra = {
+}), Wa = {
type: "keyframes",
duration: .8
-}, za = {
+}, Ga = {
type: "keyframes",
ease: [
.25,
@@ -3550,7 +3629,7 @@ var Ia = {
1
],
duration: .3
-}, Ba = (e, { keyframes: t }) => t.length > 2 ? Ra : Ri.has(e) ? e.startsWith("scale") ? La(t[1]) : Ia : za, Va = /* @__PURE__ */ new Set([
+}, Ka = (e, { keyframes: t }) => t.length > 2 ? Wa : Ri.has(e) ? e.startsWith("scale") ? Ua(t[1]) : Ha : Ga, qa = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -3562,14 +3641,14 @@ var Ia = {
"from",
"elapsed"
]);
-function Ha(e) {
- for (let t in e) if (!Va.has(t)) return !0;
+function Ja(e) {
+ for (let t in e) if (!qa.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var Ua = (e, t, n, r = {}, i, a) => (o) => {
- let s = Fa(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+var Ya = (e, t, n, r = {}, i, a) => (o) => {
+ let s = Va(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
l -= /* @__PURE__ */ en(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
@@ -3587,7 +3666,7 @@ var Ua = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- Ha(s) || Object.assign(u, Ba(e, u)), u.duration &&= /* @__PURE__ */ en(u.duration), u.repeatDelay &&= /* @__PURE__ */ en(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ Ja(s) || Object.assign(u, Ka(e, u)), u.duration &&= /* @__PURE__ */ en(u.duration), u.repeatDelay &&= /* @__PURE__ */ en(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (ya(u), u.delay === 0 && (d = !0)), (Gt.instantAnimations || Gt.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, ya(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
let e = vi(u.keyframes, s);
@@ -3599,52 +3678,52 @@ var Ua = (e, t, n, r = {}, i, a) => (o) => {
}
}
return s.isSync ? new Ci(u) : new Da(u);
-}, Wa = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function Ga(e) {
- let t = Wa.exec(e);
+}, Xa = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function Za(e) {
+ let t = Xa.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function Ka(e, t, n = 1) {
+function Qa(e, t, n = 1) {
`${e}`;
- let [r, i] = Ga(e);
+ let [r, i] = Za(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
return Kt(e) ? parseFloat(e) : e;
}
- return Bn(i) ? Ka(i, t, n + 1) : i;
+ return Bn(i) ? Qa(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function qa(e) {
+function $a(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function Ja(e, t, n, r) {
+function eo(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = qa(r);
+ let [i, a] = $a(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] = qa(r);
+ let [i, a] = $a(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function Ya(e, t, n) {
+function to(e, t, n) {
let r = e.getProps();
- return Ja(r, t, n === void 0 ? r.custom : n, e);
+ return eo(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var Xa = /* @__PURE__ */ new Set([
+var no = /* @__PURE__ */ new Set([
"width",
"height",
"top",
@@ -3652,36 +3731,36 @@ var Xa = /* @__PURE__ */ new Set([
"right",
"bottom",
...Li
-]), Za = (e) => Array.isArray(e);
+]), ro = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Qa(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Na(n));
+function io(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, za(n));
}
-function $a(e) {
- return Za(e) ? e[e.length - 1] || 0 : e;
+function ao(e) {
+ return ro(e) ? e[e.length - 1] || 0 : e;
}
-function eo(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = Ya(e, t) || {};
+function oo(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = to(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Qa(e, t, $a(i[t]));
+ for (let t in i) io(e, t, ao(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var to = (e) => !!(e && e.getVelocity);
+var so = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function no(e) {
- return !!(to(e) && e.add);
+function co(e) {
+ return !!(so(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function ro(e, t) {
+function lo(e, t) {
let n = e.getValue("willChange");
- if (no(n)) return n.add(t);
+ if (co(n)) return n.add(t);
if (!n && Gt.WillChange) {
let n = new Gt.WillChange("auto");
e.addValue("willChange", n), n.add(t);
@@ -3689,34 +3768,34 @@ function ro(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function io(e) {
+function uo(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var ao = "data-" + io("framerAppearId");
+var fo = "data-" + uo("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function oo(e) {
- return e.props[ao];
+function po(e) {
+ return e.props[fo];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function so({ protectedKeys: e, needsAnimating: t }, n) {
+function mo({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function co(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function ho(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? Pa(a, c) : c;
+ a = a ? Ba(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 && so(f, t)) continue;
+ if (i === void 0 || f && mo(f, t)) continue;
let o = {
delay: n,
- ...Fa(a || {}, t)
+ ...Va(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
@@ -3726,21 +3805,21 @@ function co(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = oo(e);
+ let n = po(e);
if (n) {
let e = window.MotionHandoffAnimation(n, t, An);
e !== null && (o.startTime = e, p = !0);
}
}
- ro(e, t);
+ lo(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(Ua(t, r, i, m && Xa.has(t) ? { type: !1 } : o, e, p));
+ r.start(Ya(t, r, i, m && no.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
let t = () => An.update(() => {
- o && eo(e, o);
+ o && oo(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -3748,12 +3827,12 @@ function co(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function lo(e, t, n = {}) {
- let r = Ya(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function go(e, t, n = {}) {
+ let r = to(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(co(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(ho(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return uo(e, t, r, a, o, s, n);
+ return _o(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -3761,26 +3840,26 @@ function lo(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function uo(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function _o(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(lo(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(go(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + Oa(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + Pa(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 fo(e, t, n = {}) {
+function vo(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => lo(e, t, n));
+ let i = t.map((t) => go(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = lo(e, t, n);
+ } else if (typeof t == "string") r = go(e, t, n);
else {
- let i = typeof t == "function" ? Ya(e, t, n.custom) : t;
- r = Promise.all(co(e, i, n));
+ let i = typeof t == "function" ? to(e, t, n.custom) : t;
+ r = Promise.all(ho(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -3788,46 +3867,46 @@ function fo(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var po = {
+var yo = {
test: (e) => e === "auto",
parse: (e) => e
-}, mo = (e) => (t) => t.test(e), ho = [
+}, bo = (e) => (t) => t.test(e), xo = [
Un,
B,
ar,
ir,
sr,
or,
- po
-], go = (e) => ho.find(mo(e));
+ yo
+], So = (e) => xo.find(bo(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function _o(e) {
+function Co(e) {
return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Jt(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var vo = /* @__PURE__ */ new Set([
+var wo = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function yo(e) {
+function To(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
let [r] = n.match(qn) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!vo.has(t);
+ let i = n.replace(r, ""), a = +!!wo.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var bo = /\b([a-z-]*)\(.*?\)/gu, xo = {
+var Eo = /\b([a-z-]*)\(.*?\)/gu, Do = {
...Er,
getAnimatableNone: (e) => {
- let t = e.match(bo);
- return t ? t.map(yo).join(" ") : e;
+ let t = e.match(Eo);
+ return t ? t.map(To).join(" ") : e;
}
-}, So = {
+}, Oo = {
...Er,
getAnimatableNone: (e) => {
let t = Er.parse(e);
@@ -3836,10 +3915,10 @@ var bo = /\b([a-z-]*)\(.*?\)/gu, xo = {
alpha: 1
} : e));
}
-}, Co = {
+}, ko = {
...Un,
transform: Math.round
-}, wo = {
+}, Ao = {
borderWidth: B,
borderTopWidth: B,
borderRightWidth: B,
@@ -3915,12 +3994,12 @@ var bo = /\b([a-z-]*)\(.*?\)/gu, xo = {
originX: cr,
originY: cr,
originZ: B,
- zIndex: Co,
+ zIndex: ko,
fillOpacity: Wn,
strokeOpacity: Wn,
- numOctaves: Co
-}, To = {
- ...wo,
+ numOctaves: ko
+}, jo = {
+ ...Ao,
color: ur,
backgroundColor: ur,
outlineColor: ur,
@@ -3931,33 +4010,33 @@ var bo = /\b([a-z-]*)\(.*?\)/gu, xo = {
borderRightColor: ur,
borderBottomColor: ur,
borderLeftColor: ur,
- filter: xo,
- WebkitFilter: xo,
- mask: So,
- WebkitMask: So
-}, Eo = (e) => To[e], Do = /*@__PURE__*/ new Set([xo, So]);
-function Oo(e, t) {
- let n = Eo(e);
- return Do.has(n) || (n = Er), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ filter: Do,
+ WebkitFilter: Do,
+ mask: Oo,
+ WebkitMask: Oo
+}, Mo = (e) => jo[e], No = /*@__PURE__*/ new Set([Do, Oo]);
+function Po(e, t) {
+ let n = Mo(e);
+ return No.has(n) || (n = Er), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var ko = /* @__PURE__ */ new Set([
+var Fo = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Ao(e, t, n) {
+function Io(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !ko.has(t) && yr(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !Fo.has(t) && yr(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = Oo(n, i);
+ if (i && n) for (let r of t) e[r] = Po(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var jo = class extends Zi {
+var Lo = class extends Zi {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -3968,12 +4047,12 @@ var jo = class extends Zi {
for (let n = 0; n < e.length; n++) {
let r = e[n];
if (typeof r == "string" && (r = r.trim(), Bn(r))) {
- let i = Ka(r, t.current);
+ let i = Qa(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !Xa.has(n) || e.length !== 2) return;
- let [r, i] = e, a = go(r), o = go(i);
+ if (this.resolveNoneKeyframes(), !no.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = So(r), o = So(i);
if (Hn(r) !== Hn(i) && Ui[n]) {
this.needsMeasurement = !0;
return;
@@ -3988,8 +4067,8 @@ var jo = class extends Zi {
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || _o(e[t])) && n.push(t);
- n.length && Ao(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || Co(e[t])) && n.push(t);
+ n.length && Io(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
@@ -4008,15 +4087,68 @@ var jo = class extends Zi {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, Mo = [
+}, Ro = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-];
+], zo = /* @__PURE__ */ new Set([
+ "borderWidth",
+ "borderTopWidth",
+ "borderRightWidth",
+ "borderBottomWidth",
+ "borderLeftWidth",
+ "borderRadius",
+ ...Ro,
+ "width",
+ "maxWidth",
+ "height",
+ "maxHeight",
+ "top",
+ "right",
+ "bottom",
+ "left",
+ "inset",
+ "insetBlock",
+ "insetBlockStart",
+ "insetBlockEnd",
+ "insetInline",
+ "insetInlineStart",
+ "insetInlineEnd",
+ "padding",
+ "paddingTop",
+ "paddingRight",
+ "paddingBottom",
+ "paddingLeft",
+ "paddingBlock",
+ "paddingBlockStart",
+ "paddingBlockEnd",
+ "paddingInline",
+ "paddingInlineStart",
+ "paddingInlineEnd",
+ "margin",
+ "marginTop",
+ "marginRight",
+ "marginBottom",
+ "marginLeft",
+ "marginBlock",
+ "marginBlockStart",
+ "marginBlockEnd",
+ "marginInline",
+ "marginInlineStart",
+ "marginInlineEnd",
+ "fontSize",
+ "backgroundPositionX",
+ "backgroundPositionY"
+]);
+//#endregion
+//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
+function Bo(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && zo.has(t) && (e[n] = e[n] + "px");
+}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function No(e, t, n) {
+function Vo(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -4029,34 +4161,34 @@ function No(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var Po = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var Ho = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Fo(e) {
+function Uo(e) {
return qt(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: Io, cancel: Lo } = /* @__PURE__ */ kn(queueMicrotask, !1), Ro = {
+var { schedule: Wo, cancel: Go } = /* @__PURE__ */ kn(queueMicrotask, !1), Ko = {
x: !1,
y: !1
};
-function zo() {
- return Ro.x || Ro.y;
+function qo() {
+ return Ko.x || Ko.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Bo(e) {
- return e === "x" || e === "y" ? Ro[e] ? null : (Ro[e] = !0, () => {
- Ro[e] = !1;
- }) : Ro.x || Ro.y ? null : (Ro.x = Ro.y = !0, () => {
- Ro.x = Ro.y = !1;
+function Jo(e) {
+ return e === "x" || e === "y" ? Ko[e] ? null : (Ko[e] = !0, () => {
+ Ko[e] = !1;
+ }) : Ko.x || Ko.y ? null : (Ko.x = Ko.y = !0, () => {
+ Ko.x = Ko.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function Vo(e, t) {
- let n = No(e), r = new AbortController();
+function Yo(e, t) {
+ let n = Vo(e), r = new AbortController();
return [
n,
{
@@ -4069,11 +4201,11 @@ function Vo(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Ho(e) {
- return !(e.pointerType === "touch" || zo());
+function Xo(e) {
+ return !(e.pointerType === "touch" || qo());
}
-function Uo(e, t, n = {}) {
- let [r, i, a] = Vo(e, n);
+function Zo(e, t, n = {}) {
+ let [r, i, a] = Yo(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -4093,7 +4225,7 @@ function Uo(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!Ho(n)) return;
+ if (!Xo(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -4102,124 +4234,130 @@ function Uo(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var Wo = (e, t) => t ? e === t || Wo(e, t.parentElement) : !1, Go = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Ko = /* @__PURE__ */ new Set([
+var Qo = (e, t) => t ? e === t || Qo(e, t.parentElement) : !1, $o = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, es = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function qo(e) {
- return Ko.has(e.tagName) || e.isContentEditable === !0;
+function ts(e) {
+ return es.has(e.tagName) || e.isContentEditable === !0;
}
-var Jo = /* @__PURE__ */ new Set([
+var ns = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Yo(e) {
- return Jo.has(e.tagName) || e.isContentEditable === !0;
+function rs(e) {
+ return ns.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var Xo = /* @__PURE__ */ new WeakSet();
+var is = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function Zo(e) {
+function as(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function Qo(e, t) {
+function os(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var $o = (e, t) => {
+var ss = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = Zo(() => {
- if (Xo.has(n)) return;
- Qo(n, "down");
- let e = Zo(() => {
- Qo(n, "up");
+ let r = as(() => {
+ if (is.has(n)) return;
+ os(n, "down");
+ let e = as(() => {
+ os(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Qo(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => os(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 es(e) {
- return Go(e) && !zo();
+function cs(e) {
+ return $o(e) && !qo();
}
-var ts = /* @__PURE__ */ new WeakSet();
-function ns(e, t, n = {}) {
- let [r, i, a] = Vo(e, n), o = (e) => {
+var ls = /* @__PURE__ */ new WeakSet();
+function us(e, t, n = {}) {
+ let [r, i, a] = Yo(e, n), o = (e) => {
let r = e.currentTarget;
- if (!es(e) || ts.has(e)) return;
- Xo.add(r), n.stopPropagation && ts.add(e);
+ if (!cs(e) || ls.has(e)) return;
+ is.add(r), n.stopPropagation && ls.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Xo.has(r) && Xo.delete(r), es(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), is.has(r) && is.delete(r), cs(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || Wo(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || Qo(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), Fo(e) && (e.addEventListener("focus", (e) => $o(e, i)), !qo(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Uo(e) && (e.addEventListener("focus", (e) => ss(e, i)), !ts(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
+//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
+function ds(e, t) {
+ let n = window.getComputedStyle(e);
+ return Qi(t) ? n.getPropertyValue(t) : n[t];
+}
+//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function rs(e) {
+function fs(e) {
return qt(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var is = /* @__PURE__ */ new WeakMap(), as, os = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : rs(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ss = /*@__PURE__*/ os("inline", "width", "offsetWidth"), cs = /*@__PURE__*/ os("block", "height", "offsetHeight");
-function ls({ target: e, borderBoxSize: t }) {
- is.get(e)?.forEach((n) => {
+var ps = /* @__PURE__ */ new WeakMap(), ms, hs = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : fs(r) && "getBBox" in r ? r.getBBox()[t] : r[n], gs = /*@__PURE__*/ hs("inline", "width", "offsetWidth"), _s = /*@__PURE__*/ hs("block", "height", "offsetHeight");
+function vs({ target: e, borderBoxSize: t }) {
+ ps.get(e)?.forEach((n) => {
n(e, {
get width() {
- return ss(e, t);
+ return gs(e, t);
},
get height() {
- return cs(e, t);
+ return _s(e, t);
}
});
});
}
-function us(e) {
- e.forEach(ls);
+function ys(e) {
+ e.forEach(vs);
}
-function ds() {
- typeof ResizeObserver > "u" || (as = new ResizeObserver(us));
+function bs() {
+ typeof ResizeObserver > "u" || (ms = new ResizeObserver(ys));
}
-function fs(e, t) {
- as || ds();
- let n = No(e);
+function xs(e, t) {
+ ms || bs();
+ let n = Vo(e);
return n.forEach((e) => {
- let n = is.get(e);
- n || (n = /* @__PURE__ */ new Set(), is.set(e, n)), n.add(t), as?.observe(e);
+ let n = ps.get(e);
+ n || (n = /* @__PURE__ */ new Set(), ps.set(e, n)), n.add(t), ms?.observe(e);
}), () => {
n.forEach((e) => {
- let n = is.get(e);
- n?.delete(t), n?.size || as?.unobserve(e);
+ let n = ps.get(e);
+ n?.delete(t), n?.size || ms?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var ps = /* @__PURE__ */ new Set(), ms;
-function hs() {
- ms = () => {
+var Ss = /* @__PURE__ */ new Set(), Cs;
+function ws() {
+ Cs = () => {
let e = {
get width() {
return window.innerWidth;
@@ -4228,43 +4366,43 @@ function hs() {
return window.innerHeight;
}
};
- ps.forEach((t) => t(e));
- }, window.addEventListener("resize", ms);
+ Ss.forEach((t) => t(e));
+ }, window.addEventListener("resize", Cs);
}
-function gs(e) {
- return ps.add(e), ms || hs(), () => {
- ps.delete(e), !ps.size && typeof ms == "function" && (window.removeEventListener("resize", ms), ms = void 0);
+function Ts(e) {
+ return Ss.add(e), Cs || ws(), () => {
+ Ss.delete(e), !Ss.size && typeof Cs == "function" && (window.removeEventListener("resize", Cs), Cs = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function _s(e, t) {
- return typeof e == "function" ? gs(e) : fs(e, t);
+function Es(e, t) {
+ return typeof e == "function" ? Ts(e) : xs(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var vs = {
+var Ds = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function ys(e) {
- return rs(e) && e.tagName === "svg";
+function Os(e) {
+ return fs(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function bs(...e) {
+function ks(...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 = di(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function xs(e, t, n = {}) {
+function As(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 = Cs(e.get()), r = Cs(a);
+ let t = Ms(e.get()), r = Ms(a);
if (t === r) {
c();
return;
@@ -4285,10 +4423,10 @@ function xs(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(Ss(e, s)), An.postRender(u);
- }, c), to(t)) {
+ a = e, o = (e) => t(js(e, s)), An.postRender(u);
+ }, c), so(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(Ss(t, s), !1)) : e.set(Ss(t, s));
+ r ? (r = !1, e.jump(js(t, s), !1)) : e.set(js(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -4296,46 +4434,46 @@ function xs(e, t, n = {}) {
}
return c;
}
-function Ss(e, t) {
+function js(e, t) {
return t ? e + t : e;
}
-function Cs(e) {
+function Ms(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var ws = [
- ...ho,
+var Ns = [
+ ...xo,
ur,
Er
-], Ts = (e) => ws.find(mo(e)), Es = () => ({
+], Ps = (e) => Ns.find(bo(e)), Fs = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), Ds = () => ({
- x: Es(),
- y: Es()
-}), Os = () => ({
+}), Is = () => ({
+ x: Fs(),
+ y: Fs()
+}), Ls = () => ({
min: 0,
max: 0
-}), ks = () => ({
- x: Os(),
- y: Os()
-}), As = /* @__PURE__ */ new WeakMap();
+}), Rs = () => ({
+ x: Ls(),
+ y: Ls()
+}), zs = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function js(e) {
+function Bs(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 Ms(e) {
+function Vs(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var Ns = [
+var Hs = [
"animate",
"whileInView",
"whileFocus",
@@ -4343,29 +4481,29 @@ var Ns = [
"whileTap",
"whileDrag",
"exit"
-], Ps = ["initial", ...Ns];
+], Us = ["initial", ...Hs];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function Fs(e) {
- return js(e.animate) || Ps.some((t) => Ms(e[t]));
+function Ws(e) {
+ return Bs(e.animate) || Us.some((t) => Vs(e[t]));
}
-function Is(e) {
- return !!(Fs(e) || e.variants);
+function Gs(e) {
+ return !!(Ws(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Ls(e, t, n) {
+function Ks(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (to(i)) e.addValue(r, i);
- else if (to(a)) e.addValue(r, Na(i, { owner: e }));
+ if (so(i)) e.addValue(r, i);
+ else if (so(a)) e.addValue(r, za(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, Na(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, za(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -4374,18 +4512,18 @@ function Ls(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var Rs = { current: null }, zs = { current: !1 }, Bs = typeof window < "u";
-function Vs() {
- if (zs.current = !0, Bs) {
+var qs = { current: null }, Js = { current: !1 }, Ys = typeof window < "u";
+function Xs() {
+ if (Js.current = !0, Ys) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Rs.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => qs.current = e.matches;
e.addEventListener("change", t), t();
- } else Rs.current = !1;
+ } else qs.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Hs = [
+var Zs = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -4393,14 +4531,14 @@ var Hs = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Us = {};
-function Ws(e) {
- Us = e;
+], Qs = {};
+function $s(e) {
+ Qs = e;
}
-function Gs() {
- return Us;
+function ec() {
+ return Qs;
}
-var Ks = class {
+var tc = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
@@ -4412,16 +4550,16 @@ var Ks = class {
this.renderScheduledAt < e && (this.renderScheduledAt = e, An.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 = Fs(t), this.isVariantNode = Is(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Ws(t), this.isVariantNode = Gs(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 && to(t) && t.set(c[e]);
+ c[e] !== void 0 && so(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, As.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 : (zs.current || Vs(), this.shouldReduceMotion = Rs.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, zs.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 : (Js.current || Xs(), this.shouldReduceMotion = qs.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(), jn(this.notifyUpdate), jn(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
@@ -4467,8 +4605,8 @@ var Ks = class {
}
updateFeatures() {
let e = "animation";
- for (e in Us) {
- let t = Us[e];
+ for (e in Qs) {
+ let t = Qs[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -4481,7 +4619,7 @@ var Ks = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : ks();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Rs();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -4491,13 +4629,13 @@ var Ks = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Hs.length; t++) {
- let n = Hs[t];
+ for (let t = 0; t < Zs.length; t++) {
+ let n = Zs[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 = Ls(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = Ks(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -4533,11 +4671,11 @@ var Ks = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = Na(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = za(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" && (Kt(n) || Jt(n)) ? n = parseFloat(n) : !Ts(n) && Er.test(t) && (n = Oo(e, t)), this.setBaseTarget(e, to(n) ? n.get() : n)), to(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (Kt(n) || Jt(n)) ? n = parseFloat(n) : !Ps(n) && Er.test(t) && (n = Po(e, t)), this.setBaseTarget(e, so(n) ? n.get() : n)), so(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -4545,12 +4683,12 @@ var Ks = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = Ja(this.props, t, this.presenceContext?.custom);
+ let r = eo(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 && !to(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !so(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 $t()), this.events[e].add(t);
@@ -4559,11 +4697,11 @@ var Ks = class {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- Io.render(this.render);
+ Wo.render(this.render);
}
-}, qs = class extends Ks {
+}, nc = class extends tc {
constructor() {
- super(...arguments), this.KeyframeResolver = jo;
+ super(...arguments), this.KeyframeResolver = Lo;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -4578,11 +4716,11 @@ var Ks = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- to(e) && (this.childSubscription = e.on("change", (e) => {
+ so(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, Js = class {
+}, rc = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -4590,7 +4728,7 @@ var Ks = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Ys({ top: e, left: t, right: n, bottom: r }) {
+function ic({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -4602,7 +4740,7 @@ function Ys({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Xs({ x: e, y: t }) {
+function ac({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -4610,7 +4748,7 @@ function Xs({ x: e, y: t }) {
left: e.min
};
}
-function Zs(e, t) {
+function oc(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -4628,37 +4766,37 @@ function Zs(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Qs(e) {
+function sc(e) {
return e === void 0 || e === 1;
}
-function $s({ scale: e, scaleX: t, scaleY: n }) {
- return !Qs(e) || !Qs(t) || !Qs(n);
+function cc({ scale: e, scaleX: t, scaleY: n }) {
+ return !sc(e) || !sc(t) || !sc(n);
}
-function ec(e) {
- return $s(e) || tc(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function lc(e) {
+ return cc(e) || uc(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function tc(e) {
- return nc(e.x) || nc(e.y);
+function uc(e) {
+ return dc(e.x) || dc(e.y);
}
-function nc(e) {
+function dc(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function rc(e, t, n) {
+function fc(e, t, n) {
return n + t * (e - n);
}
-function ic(e, t, n, r, i) {
- return i !== void 0 && (e = rc(e, i, r)), rc(e, n, r) + t;
+function pc(e, t, n, r, i) {
+ return i !== void 0 && (e = fc(e, i, r)), fc(e, n, r) + t;
}
-function ac(e, t = 0, n = 1, r, i) {
- e.min = ic(e.min, t, n, r, i), e.max = ic(e.max, t, n, r, i);
+function mc(e, t = 0, n = 1, r, i) {
+ e.min = pc(e.min, t, n, r, i), e.max = pc(e.max, t, n, r, i);
}
-function oc(e, { x: t, y: n }) {
- ac(e.x, t.translate, t.scale, t.originPoint), ac(e.y, n.translate, n.scale, n.originPoint);
+function hc(e, { x: t, y: n }) {
+ mc(e.x, t.translate, t.scale, t.originPoint), mc(e.y, n.translate, n.scale, n.originPoint);
}
-var sc = .999999999999, cc = 1.0000000000001;
-function lc(e, t, n, r = !1) {
+var gc = .999999999999, _c = 1.0000000000001;
+function vc(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -4666,43 +4804,43 @@ function lc(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (uc(e.x, -a.scroll.offset.x), uc(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, oc(e, o)), r && ec(a.latestValues) && pc(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (yc(e.x, -a.scroll.offset.x), yc(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, hc(e, o)), r && lc(a.latestValues) && Sc(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < cc && t.x > sc && (t.x = 1), t.y < cc && t.y > sc && (t.y = 1);
+ t.x < _c && t.x > gc && (t.x = 1), t.y < _c && t.y > gc && (t.y = 1);
}
-function uc(e, t) {
+function yc(e, t) {
e.min += t, e.max += t;
}
-function dc(e, t, n, r, i = .5) {
- ac(e, t, n, Ar(e.min, e.max, i), r);
+function bc(e, t, n, r, i = .5) {
+ mc(e, t, n, Ar(e.min, e.max, i), r);
}
-function fc(e, t) {
+function xc(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function pc(e, t, n) {
+function Sc(e, t, n) {
let r = n ?? e;
- dc(e.x, fc(t.x, r.x), t.scaleX, t.scale, t.originX), dc(e.y, fc(t.y, r.y), t.scaleY, t.scale, t.originY);
+ bc(e.x, xc(t.x, r.x), t.scaleX, t.scale, t.originX), bc(e.y, xc(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function mc(e, t) {
- return Ys(Zs(e.getBoundingClientRect(), t));
+function Cc(e, t) {
+ return ic(oc(e.getBoundingClientRect(), t));
}
-function hc(e, t, n) {
- let r = mc(e, n), { scroll: i } = t;
- return i && (uc(r.x, i.offset.x), uc(r.y, i.offset.y)), r;
+function wc(e, t, n) {
+ let r = Cc(e, n), { scroll: i } = t;
+ return i && (yc(r.x, i.offset.x), yc(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var gc = {
+var Tc = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, _c = Li.length;
-function vc(e, t, n) {
+}, Ec = Li.length;
+function Dc(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < _c; a++) {
+ for (let a = 0; a < Ec; a++) {
let o = Li[a], s = e[o];
if (s === void 0) continue;
let c = !0;
@@ -4712,21 +4850,21 @@ function vc(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = Po(s, wo[o]);
+ let e = Ho(s, Ao[o]);
if (!c) {
i = !1;
- let t = gc[o] || o;
+ let t = Tc[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${Po(a, wo.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${Ho(a, Ao.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function yc(e, t, n) {
+function Oc(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
@@ -4739,73 +4877,73 @@ function yc(e, t, n) {
continue;
}
{
- let t = Po(n, wo[e]);
+ let t = Ho(n, Ao[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = vc(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = Dc(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function bc(e, { style: t, vars: n }, r, i) {
+function kc(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function xc(e, t) {
+function Ac(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var Sc = { correct: (e, t) => {
+var jc = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (B.test(e)) e = parseFloat(e);
else return e;
}
- return `${xc(e, t.target.x)}% ${xc(e, t.target.y)}%`;
-} }, Cc = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ return `${Ac(e, t.target.x)}% ${Ac(e, t.target.y)}%`;
+} }, Mc = { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = Er.parse(e);
if (i.length > 5) return r;
let a = Er.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 = Ar(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, wc = {
+} }, Nc = {
borderRadius: {
- ...Sc,
- applyTo: [...Mo]
+ ...jc,
+ applyTo: [...Ro]
},
- borderTopLeftRadius: Sc,
- borderTopRightRadius: Sc,
- borderBottomLeftRadius: Sc,
- borderBottomRightRadius: Sc,
- boxShadow: Cc
+ borderTopLeftRadius: jc,
+ borderTopRightRadius: jc,
+ borderBottomLeftRadius: jc,
+ borderBottomRightRadius: jc,
+ boxShadow: Mc
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function Tc(e, { layout: t, layoutId: n }) {
- return Ri.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!wc[e] || e === "opacity");
+function Pc(e, { layout: t, layoutId: n }) {
+ return Ri.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Nc[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function Ec(e, t, n) {
+function Fc(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (to(r[t]) || i && to(i[t]) || Tc(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (so(r[t]) || i && so(i[t]) || Pc(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function Dc(e) {
+function Ic(e) {
return window.getComputedStyle(e);
}
-var Oc = class extends qs {
+var Lc = class extends nc {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = bc;
+ super(...arguments), this.type = "html", this.renderInstance = kc;
}
mount(e) {
e.style, super.mount(e);
@@ -4813,53 +4951,53 @@ var Oc = class extends qs {
readValueFromInstance(e, t) {
if (Ri.has(t)) return this.projection?.isProjecting ? Ni(t) : Fi(e, t);
{
- let n = Dc(e), r = (Rn(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = Ic(e), r = (Rn(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return mc(e, t);
+ return Cc(e, t);
}
build(e, t, n) {
- yc(e, t, n.transformTemplate);
+ Oc(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Ec(e, t, n);
+ return Fc(e, t, n);
}
-}, kc = {
+}, Rc = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, Ac = {
+}, zc = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function jc(e, t, n = 1, r = 0, i = !0) {
+function Bc(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? kc : Ac;
+ let a = i ? Rc : zc;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Mc = [
+var Vc = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function Nc(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (yc(e, s, l), c) {
+function Hc(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (Oc(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 Mc) 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 && jc(d, i, a, o, !1);
+ for (let e of Vc) 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 && Bc(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var Pc = /* @__PURE__ */ new Set([
+var Uc = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -4883,18 +5021,18 @@ var Pc = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), Fc = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), Wc = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function Ic(e, t, n, r) {
- bc(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(Pc.has(n) ? n : io(n), t.attrs[n]);
+function Gc(e, t, n, r) {
+ kc(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(Uc.has(n) ? n : uo(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function Lc(e, t, n) {
- let r = Ec(e, t, n);
- for (let n in e) if (to(e[n]) || to(t[n])) {
+function Kc(e, t, n) {
+ let r = Fc(e, t, n);
+ for (let n in e) if (so(e[n]) || so(t[n])) {
let t = Li.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
@@ -4902,49 +5040,49 @@ function Lc(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var Rc = class extends qs {
+var qc = class extends nc {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = ks;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Rs;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
if (Ri.has(t)) {
- let e = Eo(t);
+ let e = Mo(t);
return e && e.default || 0;
}
- return t = Pc.has(t) ? t : io(t), e.getAttribute(t);
+ return t = Uc.has(t) ? t : uo(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Lc(e, t, n);
+ return Kc(e, t, n);
}
build(e, t, n) {
- Nc(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ Hc(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- Ic(e, t, n, r);
+ Gc(e, t, n, r);
}
mount(e) {
- this.isSVGTag = Fc(e.tagName), super.mount(e);
+ this.isSVGTag = Wc(e.tagName), super.mount(e);
}
-}, zc = Ps.length;
-function Bc(e) {
+}, Jc = Us.length;
+function Yc(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && Bc(e.parent) || {};
+ let t = e.parent && Yc(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < zc; n++) {
- let r = Ps[n], i = e.props[r];
- (Ms(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < Jc; n++) {
+ let r = Us[n], i = e.props[r];
+ (Vs(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function Vc(e, t) {
+function Xc(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -4953,13 +5091,13 @@ function Vc(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Hc = [...Ns].reverse(), Uc = Ns.length;
-function Wc(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => fo(e, t, n)));
+var Zc = [...Hs].reverse(), Qc = Hs.length;
+function $c(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => vo(e, t, n)));
}
-function Gc(e) {
- let t = Wc(e), n = Jc(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = Ya(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function el(e) {
+ let t = $c(e), n = rl(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = to(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -4974,12 +5112,12 @@ function Gc(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = Bc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < Uc; t++) {
- let p = Hc[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = Ms(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = Yc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < Qc; t++) {
+ let p = Zc[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = Vs(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 || js(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || Bs(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -4987,7 +5125,7 @@ function Gc(e) {
});
continue;
}
- let y = Kc(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = tl(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -5001,7 +5139,7 @@ function Gc(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = Za(t) && Za(n) ? !Vc(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = ro(t) && ro(n) ? !Xc(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -5011,10 +5149,10 @@ function Gc(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = Ya(r, t);
+ let { parent: r } = e, i = to(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = Oa(r.enteringChildren, e, t);
+ n.delay = Pa(r.enteringChildren, e, t);
}
}
return {
@@ -5026,7 +5164,7 @@ function Gc(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = Ya(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = to(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -5050,14 +5188,14 @@ function Gc(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = Jc(), i = !0;
+ n = rl(), i = !0;
}
};
}
-function Kc(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Vc(t, e) : !1;
+function tl(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !Xc(t, e) : !1;
}
-function qc(e = !1) {
+function nl(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -5065,115 +5203,115 @@ function qc(e = !1) {
prevResolvedValues: {}
};
}
-function Jc() {
+function rl() {
return {
- animate: qc(!0),
- whileInView: qc(),
- whileHover: qc(),
- whileTap: qc(),
- whileDrag: qc(),
- whileFocus: qc(),
- exit: qc()
+ animate: nl(!0),
+ whileInView: nl(),
+ whileHover: nl(),
+ whileTap: nl(),
+ whileDrag: nl(),
+ whileFocus: nl(),
+ exit: nl()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function Yc(e, t) {
+function il(e, t) {
e.min = t.min, e.max = t.max;
}
-function Xc(e, t) {
- Yc(e.x, t.x), Yc(e.y, t.y);
+function al(e, t) {
+ il(e.x, t.x), il(e.y, t.y);
}
-function Zc(e, t) {
+function ol(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var Qc = .9999, $c = 1.0001, el = -.01, tl = .01;
-function nl(e) {
+var sl = .9999, cl = 1.0001, ll = -.01, ul = .01;
+function dl(e) {
return e.max - e.min;
}
-function rl(e, t, n) {
+function fl(e, t, n) {
return Math.abs(e - t) <= n;
}
-function il(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Ar(t.min, t.max, e.origin), e.scale = nl(n) / nl(t), e.translate = Ar(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Qc && e.scale <= $c || isNaN(e.scale)) && (e.scale = 1), (e.translate >= el && e.translate <= tl || isNaN(e.translate)) && (e.translate = 0);
+function pl(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = Ar(t.min, t.max, e.origin), e.scale = dl(n) / dl(t), e.translate = Ar(n.min, n.max, e.origin) - e.originPoint, (e.scale >= sl && e.scale <= cl || isNaN(e.scale)) && (e.scale = 1), (e.translate >= ll && e.translate <= ul || isNaN(e.translate)) && (e.translate = 0);
}
-function al(e, t, n, r) {
- il(e.x, t.x, n.x, r ? r.originX : void 0), il(e.y, t.y, n.y, r ? r.originY : void 0);
+function ml(e, t, n, r) {
+ pl(e.x, t.x, n.x, r ? r.originX : void 0), pl(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function ol(e, t, n, r = 0) {
- e.min = (r ? Ar(n.min, n.max, r) : n.min) + t.min, e.max = e.min + nl(t);
+function hl(e, t, n, r = 0) {
+ e.min = (r ? Ar(n.min, n.max, r) : n.min) + t.min, e.max = e.min + dl(t);
}
-function sl(e, t, n, r) {
- ol(e.x, t.x, n.x, r?.x), ol(e.y, t.y, n.y, r?.y);
+function gl(e, t, n, r) {
+ hl(e.x, t.x, n.x, r?.x), hl(e.y, t.y, n.y, r?.y);
}
-function cl(e, t, n, r = 0) {
+function _l(e, t, n, r = 0) {
let i = r ? Ar(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + nl(t);
+ e.min = t.min - i, e.max = e.min + dl(t);
}
-function ll(e, t, n, r) {
- cl(e.x, t.x, n.x, r?.x), cl(e.y, t.y, n.y, r?.y);
+function vl(e, t, n, r) {
+ _l(e.x, t.x, n.x, r?.x), _l(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function ul(e, t, n, r, i) {
- return e -= t, e = rc(e, 1 / n, r), i !== void 0 && (e = rc(e, 1 / i, r)), e;
+function yl(e, t, n, r, i) {
+ return e -= t, e = fc(e, 1 / n, r), i !== void 0 && (e = fc(e, 1 / i, r)), e;
}
-function dl(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function bl(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (ar.test(t) && (t = parseFloat(t), t = Ar(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = Ar(a.min, a.max, r);
- e === a && (s -= t), e.min = ul(e.min, t, n, s, i), e.max = ul(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = yl(e.min, t, n, s, i), e.max = yl(e.max, t, n, s, i);
}
-function fl(e, t, [n, r, i], a, o) {
- dl(e, t[n], t[r], t[i], t.scale, a, o);
+function xl(e, t, [n, r, i], a, o) {
+ bl(e, t[n], t[r], t[i], t.scale, a, o);
}
-var pl = [
+var Sl = [
"x",
"scaleX",
"originX"
-], ml = [
+], Cl = [
"y",
"scaleY",
"originY"
];
-function hl(e, t, n, r) {
- fl(e.x, t, pl, n ? n.x : void 0, r ? r.x : void 0), fl(e.y, t, ml, n ? n.y : void 0, r ? r.y : void 0);
+function wl(e, t, n, r) {
+ xl(e.x, t, Sl, n ? n.x : void 0, r ? r.x : void 0), xl(e.y, t, Cl, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function gl(e) {
+function Tl(e) {
return e.translate === 0 && e.scale === 1;
}
-function _l(e) {
- return gl(e.x) && gl(e.y);
+function El(e) {
+ return Tl(e.x) && Tl(e.y);
}
-function vl(e, t) {
+function Dl(e, t) {
return e.min === t.min && e.max === t.max;
}
-function yl(e, t) {
- return vl(e.x, t.x) && vl(e.y, t.y);
+function Ol(e, t) {
+ return Dl(e.x, t.x) && Dl(e.y, t.y);
}
-function bl(e, t) {
+function kl(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function xl(e, t) {
- return bl(e.x, t.x) && bl(e.y, t.y);
+function Al(e, t) {
+ return kl(e.x, t.x) && kl(e.y, t.y);
}
-function Sl(e) {
- return nl(e.x) / nl(e.y);
+function jl(e) {
+ return dl(e.x) / dl(e.y);
}
-function Cl(e, t) {
+function Ml(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function wl(e) {
+function Nl(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function Tl(e, t, n) {
+function Pl(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -5184,36 +5322,36 @@ function Tl(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var El = Mo.length, Dl = (e) => typeof e == "string" ? parseFloat(e) : e, Ol = (e) => typeof e == "number" || B.test(e);
-function kl(e, t, n, r, i, a) {
- i ? (e.opacity = Ar(0, n.opacity ?? 1, jl(r)), e.opacityExit = Ar(t.opacity ?? 1, 0, Ml(r))) : a && (e.opacity = Ar(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < El; i++) {
- let a = Mo[i], o = Al(t, a), s = Al(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Ol(o) === Ol(s) ? (e[a] = Math.max(Ar(Dl(o), Dl(s), r), 0), (ar.test(s) || ar.test(o)) && (e[a] += "%")) : e[a] = s);
+var Fl = Ro.length, Il = (e) => typeof e == "string" ? parseFloat(e) : e, Ll = (e) => typeof e == "number" || B.test(e);
+function Rl(e, t, n, r, i, a) {
+ i ? (e.opacity = Ar(0, n.opacity ?? 1, Bl(r)), e.opacityExit = Ar(t.opacity ?? 1, 0, Vl(r))) : a && (e.opacity = Ar(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < Fl; i++) {
+ let a = Ro[i], o = zl(t, a), s = zl(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Ll(o) === Ll(s) ? (e[a] = Math.max(Ar(Il(o), Il(s), r), 0), (ar.test(s) || ar.test(o)) && (e[a] += "%")) : e[a] = s);
}
(t.rotate || n.rotate) && (e.rotate = Ar(t.rotate || 0, n.rotate || 0, r));
}
-function Al(e, t) {
+function zl(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var jl = /*@__PURE__*/ Nl(0, .5, gn), Ml = /*@__PURE__*/ Nl(.5, .95, Xt);
-function Nl(e, t, n) {
+var Bl = /*@__PURE__*/ Hl(0, .5, gn), Vl = /*@__PURE__*/ Hl(.5, .95, Xt);
+function Hl(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Qt(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function Pl(e, t, n) {
- let r = to(e) ? e : Na(e);
- return r.start(Ua("", r, t, n)), r.animation;
+function Ul(e, t, n) {
+ let r = so(e) ? e : za(e);
+ return r.start(Ya("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function Fl(e, t, n, r = { passive: !0 }) {
+function Wl(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 Il = (e, t) => e.depth - t.depth, Ll = class {
+var Gl = (e, t) => e.depth - t.depth, Kl = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -5224,12 +5362,12 @@ var Il = (e, t) => e.depth - t.depth, Ll = class {
Ut(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Il), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Gl), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function Rl(e, t) {
+function ql(e, t) {
let n = In.now(), r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (jn(r), e(a - t));
@@ -5238,12 +5376,12 @@ function Rl(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function zl(e) {
- return to(e) ? e.get() : e;
+function Jl(e) {
+ return so(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Bl = class {
+var Yl = class {
constructor() {
this.members = [];
}
@@ -5289,48 +5427,48 @@ var Bl = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, Vl = {
+}, Xl = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, Hl = {
+}, Zl = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, Ul = [
+}, Ql = [
"",
"X",
"Y",
"Z"
-], Wl = 1e3, Gl = 0;
-function Kl(e, t, n, r) {
+], $l = 1e3, eu = 0;
+function tu(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function ql(e) {
+function nu(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = oo(t);
+ let n = po(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
window.MotionCancelOptimisedAnimation(n, "transform", An, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && ql(r);
+ r && !r.hasCheckedOptimisedAppear && nu(r);
}
-function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function ru({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = Gl++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = eu++, 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, vs.value && (Hl.nodes = Hl.calculatedTargetDeltas = Hl.calculatedProjections = 0), this.nodes.forEach(Zl), this.nodes.forEach(ou), this.nodes.forEach(su), this.nodes.forEach(Ql), vs.addProjectionMetrics && vs.addProjectionMetrics(Hl);
+ this.projectionUpdateScheduled = !1, Ds.value && (Zl.nodes = Zl.calculatedTargetDeltas = Zl.calculatedProjections = 0), this.nodes.forEach(ou), this.nodes.forEach(hu), this.nodes.forEach(gu), this.nodes.forEach(su), Ds.addProjectionMetrics && Ds.addProjectionMetrics(Zl);
}, 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 Ll());
+ this.root === this && (this.nodes = new Kl());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new $t()), this.eventHandlers.get(e).add(t);
@@ -5344,7 +5482,7 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = rs(t) && !ys(t), this.instance = t;
+ this.isSVG = fs(t) && !Os(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;
@@ -5352,7 +5490,7 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Rl(i, 250), Vl.hasAnimatedSinceResize && (Vl.hasAnimatedSinceResize = !1, this.nodes.forEach(au)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ql(i, 250), Xl.hasAnimatedSinceResize && (Xl.hasAnimatedSinceResize = !1, this.nodes.forEach(mu)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -5360,16 +5498,16 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || mu, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !xl(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Cu, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Al(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 = {
- ...Fa(a, "layout"),
+ ...Va(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 || au(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || mu(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
@@ -5391,7 +5529,7 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(cu), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(_u), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -5402,7 +5540,7 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && ql(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && nu(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -5416,22 +5554,22 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(tu), this.nodes.forEach(eu);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(uu), this.nodes.forEach(lu);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(nu);
+ this.nodes.forEach(du);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ru), this.nodes.forEach(iu), this.nodes.forEach(Yl), this.nodes.forEach(Xl)) : this.nodes.forEach(nu), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(fu), this.nodes.forEach(pu), this.nodes.forEach(iu), this.nodes.forEach(au)) : this.nodes.forEach(du), this.clearAllSnapshots();
let e = In.now();
Mn.delta = Wt(0, 1e3 / 60, e - Mn.timestamp), Mn.timestamp = e, Mn.isProcessing = !0, Nn.update.process(Mn), Nn.preRender.process(Mn), Nn.render.process(Mn), Mn.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, Io.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, Wo.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach($l), this.sharedNodes.forEach(lu);
+ this.nodes.forEach(cu), this.sharedNodes.forEach(vu);
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, An.preRender(this.updateProjection, !1, !0));
@@ -5442,13 +5580,13 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !nl(this.snapshot.measuredBox.x) && !nl(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !dl(this.snapshot.measuredBox.x) && !dl(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 ||= ks(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= Rs(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -5467,12 +5605,12 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !_l(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || ec(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !El(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || lc(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)), vu(n), {
+ return e && (n = this.removeTransform(n)), Du(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -5482,42 +5620,42 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return ks();
+ if (!e) return Rs();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(bu))) {
+ if (!(this.scroll?.wasRoot || this.path.some(ku))) {
let { scroll: e } = this.root;
- e && (uc(t.x, e.offset.x), uc(t.y, e.offset.y));
+ e && (yc(t.x, e.offset.x), yc(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = ks();
- if (Xc(t, e), this.scroll?.wasRoot) return t;
+ let t = Rs();
+ if (al(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 && Xc(t, e), uc(t.x, i.offset.x), uc(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && al(t, e), yc(t.x, i.offset.x), yc(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || ks();
- Xc(r, e);
+ let r = n || Rs();
+ al(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 && (uc(r.x, -n.scroll.offset.x), uc(r.y, -n.scroll.offset.y)), ec(n.latestValues) && pc(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (yc(r.x, -n.scroll.offset.x), yc(r.y, -n.scroll.offset.y)), lc(n.latestValues) && Sc(r, n.latestValues, n.layout?.layoutBox);
}
- return ec(this.latestValues) && pc(r, this.latestValues, this.layout?.layoutBox), r;
+ return lc(this.latestValues) && Sc(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = ks();
- Xc(t, e);
+ let t = Rs();
+ al(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!ec(n.latestValues)) continue;
+ if (!lc(n.latestValues)) continue;
let r;
- n.instance && ($s(n.latestValues) && n.updateSnapshot(), r = ks(), Xc(r, n.measurePageBox())), hl(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (cc(n.latestValues) && n.updateSnapshot(), r = Rs(), al(r, n.measurePageBox())), wl(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return ec(this.latestValues) && hl(t, this.latestValues), t;
+ return lc(this.latestValues) && wl(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -5544,16 +5682,16 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = Mn.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 = ks(), this.targetWithTransforms = ks()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), sl(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Xc(this.target, this.layout.layoutBox), oc(this.target, this.targetDelta)) : Xc(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), vs.value && Hl.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Rs(), this.targetWithTransforms = Rs()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), gl(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : al(this.target, this.layout.layoutBox), hc(this.target, this.targetDelta)) : al(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Ds.value && Zl.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || $s(this.parent.latestValues) || tc(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || cc(this.parent.latestValues) || uc(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 = ks(), this.relativeTargetOrigin = ks(), ll(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Xc(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Rs(), this.relativeTargetOrigin = Rs(), vl(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), al(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -5563,15 +5701,15 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Mn.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;
- Xc(this.layoutCorrected, this.layout.layoutBox);
+ al(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- lc(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 = ks());
+ vc(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 = Rs());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Zc(this.prevProjectionDelta.x, this.projectionDelta.x), Zc(this.prevProjectionDelta.y, this.projectionDelta.y)), al(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Cl(this.projectionDelta.x, this.prevProjectionDelta.x) || !Cl(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), vs.value && Hl.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ol(this.prevProjectionDelta.x, this.projectionDelta.x), ol(this.prevProjectionDelta.y, this.projectionDelta.y)), ml(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Ml(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ml(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Ds.value && Zl.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -5587,22 +5725,22 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = Ds(), this.projectionDelta = Ds(), this.projectionDeltaWithTransform = Ds();
+ this.prevProjectionDelta = Is(), this.projectionDelta = Is(), this.projectionDeltaWithTransform = Is();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ds();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Is();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = ks(), 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(pu));
+ let s = Rs(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Su));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = Ar(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 = Ar(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (uu(o.x, e.x, n), uu(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ll(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), fu(this.relativeTarget, this.relativeTargetOrigin, s, n), f && yl(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= ks(), Xc(f, this.relativeTarget)), c && (this.animationValues = a, kl(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = Ar(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 = Ar(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (yu(o.x, e.x, n), yu(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (vl(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), xu(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ol(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Rs(), al(f, this.relativeTarget)), c && (this.animationValues = a, Rl(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 &&= (jn(this.pendingAnimation), void 0), this.pendingAnimation = An.update(() => {
- Vl.hasAnimatedSinceResize = !0, this.motionValue ||= Na(0), this.motionValue.jump(0, !1), this.currentAnimation = Pl(this.motionValue, [0, 1e3], {
+ Xl.hasAnimatedSinceResize = !0, this.motionValue ||= za(0), this.motionValue.jump(0, !1), this.currentAnimation = Ul(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -5621,23 +5759,23 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Wl), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta($l), 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 && yu(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || ks();
- let t = nl(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && Ou(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || Rs();
+ let t = dl(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = nl(this.layout.layoutBox.y);
+ let r = dl(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- Xc(t, n), pc(t, i), al(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ al(t, n), Sc(t, i), ml(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Bl()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Yl()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -5674,8 +5812,8 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && Kl("z", e, r, this.animationValues);
- for (let t = 0; t < Ul.length; t++) Kl(`rotate${Ul[t]}`, e, r, this.animationValues), Kl(`skew${Ul[t]}`, e, r, this.animationValues);
+ n.z && tu("z", e, r, this.animationValues);
+ for (let t = 0; t < Ql.length; t++) tu(`rotate${Ql[t]}`, e, r, this.animationValues), tu(`skew${Ql[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -5688,71 +5826,71 @@ function Jl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = zl(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Jl(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 = zl(t?.pointerEvents) || ""), this.hasProjected && !ec(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Jl(t?.pointerEvents) || ""), this.hasProjected && !lc(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);
+ let a = Pl(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 wc) {
+ for (let t in Nc) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = wc[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = Nc[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 ? zl(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? Jl(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(eu), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(lu), this.root.sharedNodes.clear();
}
};
}
-function Yl(e) {
+function iu(e) {
e.updateLayout();
}
-function Xl(e) {
+function au(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") wl((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = nl(r);
+ if (i === "size") Nl((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = dl(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- Yc(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else yu(i, t.layoutBox, n) && wl((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = nl(n[r]);
+ il(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else Ou(i, t.layoutBox, n) && Nl((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = dl(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 = Ds();
- al(o, n, t.layoutBox);
- let s = Ds();
- a ? al(s, e.applyTransform(r, !0), t.measuredBox) : al(s, n, t.layoutBox);
- let c = !_l(o), l = !1;
+ let o = Is();
+ ml(o, n, t.layoutBox);
+ let s = Is();
+ a ? ml(s, e.applyTransform(r, !0), t.measuredBox) : ml(s, n, t.layoutBox);
+ let c = !El(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 = ks();
- ll(s, t.layoutBox, i.layoutBox, o);
- let c = ks();
- ll(c, n, a.layoutBox, o), xl(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = Rs();
+ vl(s, t.layoutBox, i.layoutBox, o);
+ let c = Rs();
+ vl(c, n, a.layoutBox, o), Al(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -5770,59 +5908,59 @@ function Xl(e) {
}
e.options.transition = void 0;
}
-function Zl(e) {
- vs.value && Hl.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 ou(e) {
+ Ds.value && Zl.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 Ql(e) {
+function su(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function $l(e) {
+function cu(e) {
e.clearSnapshot();
}
-function eu(e) {
+function lu(e) {
e.clearMeasurements();
}
-function tu(e) {
+function uu(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function nu(e) {
+function du(e) {
e.isLayoutDirty = !1;
}
-function ru(e) {
+function fu(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function iu(e) {
+function pu(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function au(e) {
+function mu(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function ou(e) {
+function hu(e) {
e.resolveTargetDelta();
}
-function su(e) {
+function gu(e) {
e.calcProjection();
}
-function cu(e) {
+function _u(e) {
e.resetSkewAndRotation();
}
-function lu(e) {
+function vu(e) {
e.removeLeadSnapshot();
}
-function uu(e, t, n) {
+function yu(e, t, n) {
e.translate = Ar(t.translate, 0, n), e.scale = Ar(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function du(e, t, n, r) {
+function bu(e, t, n, r) {
e.min = Ar(t.min, n.min, r), e.max = Ar(t.max, n.max, r);
}
-function fu(e, t, n, r) {
- du(e.x, t.x, n.x, r), du(e.y, t.y, n.y, r);
+function xu(e, t, n, r) {
+ bu(e.x, t.x, n.x, r), bu(e.y, t.y, n.y, r);
}
-function pu(e) {
+function Su(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var mu = {
+var Cu = {
duration: .45,
ease: [
.4,
@@ -5830,52 +5968,172 @@ var mu = {
.1,
1
]
-}, hu = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), gu = hu("applewebkit/") && !hu("chrome/") ? Math.round : Xt;
-function _u(e) {
- e.min = gu(e.min), e.max = gu(e.max);
+}, wu = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Tu = wu("applewebkit/") && !wu("chrome/") ? Math.round : Xt;
+function Eu(e) {
+ e.min = Tu(e.min), e.max = Tu(e.max);
}
-function vu(e) {
- _u(e.x), _u(e.y);
+function Du(e) {
+ Eu(e.x), Eu(e.y);
}
-function yu(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !rl(Sl(t), Sl(n), .2);
+function Ou(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !fl(jl(t), jl(n), .2);
}
-function bu(e) {
+function ku(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var xu = Jl({
- attachResizeListener: (e, t) => Fl(e, "resize", t),
+var Au = ru({
+ attachResizeListener: (e, t) => Wl(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), Su = { current: void 0 }, Cu = Jl({
+}), ju = { current: void 0 }, Mu = ru({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!Su.current) {
- let e = new xu({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), Su.current = e;
+ if (!ju.current) {
+ let e = new Au({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), ju.current = e;
}
- return Su.current;
+ return ju.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), wu = (0, I.createContext)({
+}), Nu = (0, I.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
+//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
+function Pu(e, t) {
+ if (typeof e == "function") return e(t);
+ e != null && (e.current = t);
+}
+function Fu(...e) {
+ return (t) => {
+ let n = !1, r = e.map((e) => {
+ let r = Pu(e, t);
+ return !n && typeof r == "function" && (n = !0), r;
+ });
+ if (n) return () => {
+ for (let t = 0; t < r.length; t++) {
+ let n = r[t];
+ typeof n == "function" ? n() : Pu(e[t], null);
+ }
+ };
+ };
+}
+function Iu(...e) {
+ return I.useCallback(Fu(...e), e);
+}
+//#endregion
+//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
+var Lu = class extends I.Component {
+ getSnapshotBeforeUpdate(e) {
+ let t = this.props.childRef.current;
+ if (Uo(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = Uo(e) && e.offsetWidth || 0, r = Uo(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
+ }
+ return null;
+ }
+ componentDidUpdate() {}
+ render() {
+ return this.props.children;
+ }
+};
+function Ru({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+ let o = (0, I.useId)(), s = (0, I.useRef)(null), c = (0, I.useRef)({
+ width: 0,
+ height: 0,
+ top: 0,
+ left: 0,
+ right: 0,
+ bottom: 0,
+ direction: "ltr"
+ }), { nonce: l } = (0, I.useContext)(Nu), u = Iu(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ return (0, I.useInsertionEffect)(() => {
+ let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
+ if (t || a === !1 || !s.current || !e || !u) return;
+ let g = h === "rtl", _ = n === "left" ? g ? `right: ${p}` : `left: ${f}` : g ? `left: ${f}` : `right: ${p}`, v = r === "bottom" ? `bottom: ${m}` : `top: ${d}`;
+ s.current.dataset.motionPopId = o;
+ let y = document.createElement("style");
+ l && (y.nonce = l);
+ let b = i ?? document.head;
+ return b.appendChild(y), y.sheet && y.sheet.insertRule(`
+ [data-motion-pop-id="${o}"] {
+ position: absolute !important;
+ width: ${e}px !important;
+ height: ${u}px !important;
+ ${_}px !important;
+ ${v}px !important;
+ }
+ `), () => {
+ s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
+ };
+ }, [t]), (0, L.jsx)(Lu, {
+ isPresent: t,
+ childRef: s,
+ sizeRef: c,
+ pop: a,
+ children: a === !1 ? e : I.cloneElement(e, { ref: u })
+ });
+}
+//#endregion
+//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
+var zu = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = zt(Bu), d = (0, I.useId)(), f = (0, I.useRef)(n), p = (0, I.useRef)(r);
+ Bt(() => {
+ f.current = n, p.current = r;
+ });
+ let m = !0, h = (0, I.useMemo)(() => (m = !1, {
+ id: d,
+ initial: t,
+ isPresent: n,
+ custom: i,
+ onExitComplete: (e) => {
+ u.set(e, !0);
+ for (let e of u.values()) if (!e) return;
+ r && r();
+ },
+ register: (e) => (u.set(e, !1), () => {
+ u.delete(e), !f.current && !u.size && p.current?.();
+ })
+ }), [
+ n,
+ u,
+ r
+ ]);
+ return a && m && (h = { ...h }), (0, I.useMemo)(() => {
+ u.forEach((e, t) => u.set(t, !1));
+ }, [n]), I.useEffect(() => {
+ !n && !u.size && r && r();
+ }, [n]), e = (0, L.jsx)(Ru, {
+ pop: o === "popLayout",
+ isPresent: n,
+ anchorX: s,
+ anchorY: c,
+ root: l,
+ children: e
+ }), (0, L.jsx)(Vt.Provider, {
+ value: h,
+ children: e
+ });
+};
+function Bu() {
+ return /* @__PURE__ */ new Map();
+}
+//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Tu(e = !0) {
+function Vu(e = !0) {
let t = (0, I.useContext)(Vt);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, I.useId)();
@@ -5889,9 +6147,70 @@ function Tu(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
+function Hu() {
+ return Uu((0, I.useContext)(Vt));
+}
+function Uu(e) {
+ return e === null || e.isPresent;
+}
+//#endregion
+//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
+var Wu = (e) => e.key || "";
+function Gu(e) {
+ let t = [];
+ return I.Children.forEach(e, (e) => {
+ (0, I.isValidElement)(e) && t.push(e);
+ }), t;
+}
//#endregion
-//#region node_modules/framer-motion/dist/es/context/LazyContext.mjs
-var Eu = (0, I.createContext)({ strict: !1 }), Du = {
+//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
+var Ku = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = Vu(o), f = (0, I.useMemo)(() => Gu(e), [e]), p = o && !u ? [] : f.map(Wu), m = (0, I.useRef)(!0), h = (0, I.useRef)(f), g = zt(() => /* @__PURE__ */ new Map()), _ = (0, I.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, I.useState)(f), [b, x] = (0, I.useState)(f);
+ Bt(() => {
+ m.current = !1, h.current = f;
+ for (let e = 0; e < b.length; e++) {
+ let t = Wu(b[e]);
+ p.includes(t) ? (g.delete(t), _.current.delete(t)) : g.get(t) !== !0 && g.set(t, !1);
+ }
+ }, [
+ b,
+ p.length,
+ p.join("-")
+ ]);
+ let S = [];
+ if (f !== v) {
+ let e = [...f];
+ for (let t = 0; t < b.length; t++) {
+ let n = b[t], r = Wu(n);
+ p.includes(r) || (e.splice(t, 0, n), S.push(n));
+ }
+ return a === "wait" && S.length && (e = S), x(Gu(e)), y(f), null;
+ }
+ let { forceRender: C } = (0, I.useContext)(Rt);
+ return (0, L.jsx)(L.Fragment, { children: b.map((e) => {
+ let v = Wu(e), y = o && !u ? !1 : f === b || p.includes(v);
+ return (0, L.jsx)(zu, {
+ isPresent: y,
+ initial: !m.current || n ? void 0 : !1,
+ custom: t,
+ presenceAffectsLayout: i,
+ mode: a,
+ root: l,
+ onExitComplete: y ? void 0 : () => {
+ if (_.current.has(v)) return;
+ if (g.has(v)) _.current.add(v), g.set(v, !0);
+ else return;
+ let e = !0;
+ g.forEach((t) => {
+ t || (e = !1);
+ }), e && (C?.(), x(h.current), o && d?.(), r && r());
+ },
+ anchorX: s,
+ anchorY: c,
+ children: e
+ }, v);
+ }) });
+}, qu = (0, I.createContext)({ strict: !1 }), Ju = {
animation: [
"animate",
"variants",
@@ -5928,98 +6247,98 @@ var Eu = (0, I.createContext)({ strict: !1 }), Du = {
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Ou = !1;
-function ku() {
- if (Ou) return;
+}, Yu = !1;
+function Xu() {
+ if (Yu) return;
let e = {};
- for (let t in Du) e[t] = { isEnabled: (e) => Du[t].some((t) => !!e[t]) };
- Ws(e), Ou = !0;
+ for (let t in Ju) e[t] = { isEnabled: (e) => Ju[t].some((t) => !!e[t]) };
+ $s(e), Yu = !0;
}
-function Au() {
- return ku(), Gs();
+function Zu() {
+ return Xu(), ec();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function ju(e) {
- let t = Au();
+function Qu(e) {
+ let t = Zu();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- Ws(t);
+ $s(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Mu = /* @__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 Nu(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Mu.has(e);
+var $u = /* @__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 ed(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || $u.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var Pu = /* @__PURE__ */ re({ default: () => Fu }), Fu, Iu = ne((() => {
- throw Fu = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), Lu = (e) => !Nu(e);
-function Ru(e) {
- typeof e == "function" && (Lu = (t) => t.startsWith("on") ? !Nu(t) : e(t));
+var td = /* @__PURE__ */ re({ default: () => nd }), nd, rd = ne((() => {
+ throw nd = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), id = (e) => !ed(e);
+function ad(e) {
+ typeof e == "function" && (id = (t) => t.startsWith("on") ? !ed(t) : e(t));
}
try {
- Ru((Iu(), oe(Pu)).default);
+ ad((rd(), oe(td)).default);
} catch {}
-function zu(e, t, n) {
+function od(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (to(e[i]) || (Lu(i) || n === !0 && Nu(i) || !t && !Nu(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (so(e[i]) || (id(i) || n === !0 && ed(i) || !t && !ed(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 Bu({ children: e, isValidProp: t, ...n }) {
- t && Ru(t);
- let r = (0, I.useContext)(wu);
+function sd({ children: e, isValidProp: t, ...n }) {
+ t && ad(t);
+ let r = (0, I.useContext)(Nu);
n = {
...r,
...n
- }, n.transition = Pa(n.transition, r.transition), n.isStatic = zt(() => n.isStatic);
+ }, n.transition = Ba(n.transition, r.transition), n.isStatic = zt(() => n.isStatic);
let i = (0, I.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, L.jsx)(wu.Provider, {
+ return (0, L.jsx)(Nu.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var Vu = /* @__PURE__ */ (0, I.createContext)({});
+var cd = /* @__PURE__ */ (0, I.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Hu(e, t) {
- if (Fs(e)) {
+function ld(e, t) {
+ if (Ws(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || Ms(t) ? t : void 0,
- animate: Ms(n) ? n : void 0
+ initial: t === !1 || Vs(t) ? t : void 0,
+ animate: Vs(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Uu(e) {
- let { initial: t, animate: n } = Hu(e, (0, I.useContext)(Vu));
+function ud(e) {
+ let { initial: t, animate: n } = ld(e, (0, I.useContext)(cd));
return (0, I.useMemo)(() => ({
initial: t,
animate: n
- }), [Wu(t), Wu(n)]);
+ }), [dd(t), dd(n)]);
}
-function Wu(e) {
+function dd(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Gu = () => ({
+var fd = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -6027,42 +6346,42 @@ var Gu = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function Ku(e, t, n) {
- for (let r in t) !to(t[r]) && !Tc(r, n) && (e[r] = t[r]);
+function pd(e, t, n) {
+ for (let r in t) !so(t[r]) && !Pc(r, n) && (e[r] = t[r]);
}
-function qu({ transformTemplate: e }, t) {
+function md({ transformTemplate: e }, t) {
return (0, I.useMemo)(() => {
- let n = Gu();
- return yc(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = fd();
+ return Oc(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Ju(e, t) {
+function hd(e, t) {
let n = e.style || {}, r = {};
- return Ku(r, n, e), Object.assign(r, qu(e, t)), r;
+ return pd(r, n, e), Object.assign(r, md(e, t)), r;
}
-function Yu(e, t) {
- let n = {}, r = Ju(e, t);
+function gd(e, t) {
+ let n = {}, r = hd(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 Xu = () => ({
- ...Gu(),
+var _d = () => ({
+ ...fd(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Zu(e, t, n, r) {
+function vd(e, t, n, r) {
let i = (0, I.useMemo)(() => {
- let n = Xu();
- return Nc(n, t, Fc(r), e.transformTemplate, e.style), {
+ let n = _d();
+ return Hc(n, t, Wc(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- Ku(t, e.style, e), i.style = {
+ pd(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -6071,7 +6390,7 @@ function Zu(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var Qu = [
+var yd = [
"animate",
"circle",
"defs",
@@ -6100,17 +6419,17 @@ var Qu = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function $u(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(Qu.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function bd(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(yd.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function ed(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? $u(e) ? Zu : Yu)(t, r, i, e), c = zu(t, typeof e == "string", a), l = e === I.Fragment ? {} : {
+function xd(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? bd(e) ? vd : gd)(t, r, i, e), c = od(t, typeof e == "string", a), l = e === I.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, I.useMemo)(() => to(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, I.useMemo)(() => so(u) ? u.get() : u, [u]);
return (0, I.createElement)(e, {
...l,
children: d
@@ -6118,24 +6437,24 @@ function ed(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function td({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Sd({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: nd(n, r, i, e),
+ latestValues: Cd(n, r, i, e),
renderState: t()
};
}
-function nd(e, t, n, r) {
+function Cd(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = zl(a[e]);
- let { initial: o, animate: s } = e, c = Fs(e), l = Is(e);
+ for (let e in a) i[e] = Jl(a[e]);
+ let { initial: o, animate: s } = e, c = Ws(e), l = Gs(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" && !js(d)) {
+ if (d && typeof d != "boolean" && !Bs(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = Ja(e, t[n]);
+ let r = eo(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -6152,19 +6471,19 @@ function nd(e, t, n, r) {
}
return i;
}
-var rd = (e) => (t, n) => {
- let r = (0, I.useContext)(Vu), i = (0, I.useContext)(Vt), a = () => td(e, t, r, i);
+var wd = (e) => (t, n) => {
+ let r = (0, I.useContext)(cd), i = (0, I.useContext)(Vt), a = () => Sd(e, t, r, i);
return n ? a() : zt(a);
-}, id = /*@__PURE__*/ rd({
- scrapeMotionValuesFromProps: Ec,
- createRenderState: Gu
-}), ad = /*@__PURE__*/ rd({
- scrapeMotionValuesFromProps: Lc,
- createRenderState: Xu
-}), od = Symbol.for("motionComponentSymbol");
+}, Td = /*@__PURE__*/ wd({
+ scrapeMotionValuesFromProps: Fc,
+ createRenderState: fd
+}), Ed = /*@__PURE__*/ wd({
+ scrapeMotionValuesFromProps: Kc,
+ createRenderState: _d
+}), Dd = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function sd(e, t, n) {
+function Od(e, t, n) {
let r = (0, I.useRef)(n);
(0, I.useInsertionEffect)(() => {
r.current = n;
@@ -6183,16 +6502,16 @@ function sd(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var cd = (0, I.createContext)({});
+var kd = (0, I.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function ld(e) {
+function Ad(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 ud(e, t, n, r, i, a) {
- let { visualElement: o } = (0, I.useContext)(Vu), s = (0, I.useContext)(Eu), c = (0, I.useContext)(Vt), l = (0, I.useContext)(wu), u = l.reducedMotion, d = l.skipAnimations, f = (0, I.useRef)(null), p = (0, I.useRef)(!1);
+function jd(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, I.useContext)(cd), s = (0, I.useContext)(qu), c = (0, I.useContext)(Vt), l = (0, I.useContext)(Nu), u = l.reducedMotion, d = l.skipAnimations, f = (0, I.useRef)(null), p = (0, I.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -6203,13 +6522,13 @@ function ud(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, I.useContext)(cd);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && dd(f.current, n, i, h);
+ let m = f.current, h = (0, I.useContext)(kd);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Md(f.current, n, i, h);
let g = (0, I.useRef)(!1);
(0, I.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[ao], v = (0, I.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ let _ = n[fo], v = (0, I.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
return Bt(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, I.useEffect)(() => {
@@ -6218,12 +6537,12 @@ function ud(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function dd(e, t, n, r) {
+function Md(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 : fd(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Nd(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && ld(s),
+ alwaysMeasureLayout: !!o || s && Ad(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -6233,46 +6552,46 @@ function dd(e, t, n, r) {
layoutAnchor: u
});
}
-function fd(e) {
- if (e) return e.options.allowProjection === !1 ? fd(e.parent) : e.projection;
+function Nd(e) {
+ if (e) return e.options.allowProjection === !1 ? Nd(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function pd(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && ju(r);
- let a = n ? n === "svg" : $u(e), o = a ? ad : id;
+function Pd(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Qu(r);
+ let a = n ? n === "svg" : bd(e), o = a ? Ed : Td;
function s(n, s) {
let c, l = {
- ...(0, I.useContext)(wu),
+ ...(0, I.useContext)(Nu),
...n,
- layoutId: md(n)
- }, { isStatic: u } = l, d = Uu(n), f = o(n, u);
+ layoutId: Fd(n)
+ }, { isStatic: u } = l, d = ud(n), f = o(n, u);
if (!u && typeof window < "u") {
- hd(l, r);
- let t = gd(l);
- c = t.MeasureLayout, d.visualElement = ud(e, f, l, i, t.ProjectionNode, a);
+ Id(l, r);
+ let t = Ld(l);
+ c = t.MeasureLayout, d.visualElement = jd(e, f, l, i, t.ProjectionNode, a);
}
- return (0, L.jsxs)(Vu.Provider, {
+ return (0, L.jsxs)(cd.Provider, {
value: d,
children: [c && d.visualElement ? (0, L.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, ed(e, n, sd(f, d.visualElement, s), f, u, t, a)]
+ }) : null, xd(e, n, Od(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, I.forwardRef)(s);
- return c[od] = e, c;
+ return c[Dd] = e, c;
}
-function md({ layoutId: e }) {
+function Fd({ layoutId: e }) {
let t = (0, I.useContext)(Rt).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function hd(e, t) {
- (0, I.useContext)(Eu).strict;
+function Id(e, t) {
+ (0, I.useContext)(qu).strict;
}
-function gd(e) {
- let { drag: t, layout: n } = Au();
+function Ld(e) {
+ let { drag: t, layout: n } = Zu();
if (!t && !n) return {};
let r = {
...t,
@@ -6285,20 +6604,20 @@ function gd(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function _d(e, t) {
- if (typeof Proxy > "u") return pd;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => pd(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, pd(a, void 0, e, t)), n.get(a)) });
+function Rd(e, t) {
+ if (typeof Proxy > "u") return Pd;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Pd(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Pd(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var vd = (e, t) => t.isSVG ?? $u(e) ? new Rc(t) : new Oc(t, { allowProjection: e !== I.Fragment }), yd = class extends Js {
+var zd = (e, t) => t.isSVG ?? bd(e) ? new qc(t) : new Lc(t, { allowProjection: e !== I.Fragment }), Bd = class extends rc {
constructor(e) {
- super(e), e.animationState ||= Gc(e);
+ super(e), e.animationState ||= el(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- js(e) && (this.unmountControls = e.subscribe(this.node));
+ Bs(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -6310,11 +6629,11 @@ var vd = (e, t) => t.isSVG ?? $u(e) ? new Rc(t) : new Oc(t, { allowProjection: e
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, bd = 0, xd = {
- animation: { Feature: yd },
- exit: { Feature: class extends Js {
+}, Vd = 0, Hd = {
+ animation: { Feature: Bd },
+ exit: { Feature: class extends rc {
constructor() {
- super(...arguments), this.id = bd++, this.isExitComplete = !1;
+ super(...arguments), this.id = Vd++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -6324,7 +6643,7 @@ var vd = (e, t) => t.isSVG ?? $u(e) ? new Rc(t) : new Oc(t, { allowProjection: e
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = Ya(this.node, e, t);
+ let n = to(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -6349,28 +6668,28 @@ var vd = (e, t) => t.isSVG ?? $u(e) ? new Rc(t) : new Oc(t, { allowProjection: e
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function Sd(e) {
+function Ud(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var Cd = (e) => (t) => Go(t) && e(t, Sd(t));
+var Wd = (e) => (t) => $o(t) && e(t, Ud(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function wd(e, t, n, r) {
- return Fl(e, t, Cd(n), r);
+function Gd(e, t, n, r) {
+ return Wl(e, t, Wd(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var Td = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Ed = (e, t) => Math.abs(e - t);
-function Dd(e, t) {
- let n = Ed(e.x, t.x), r = Ed(e.y, t.y);
+var Kd = ({ current: e }) => e ? e.ownerDocument.defaultView : null, qd = (e, t) => Math.abs(e - t);
+function Jd(e, t) {
+ let n = qd(e.x, t.x), r = qd(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
-var Od = /*#__PURE__*/ new Set(["auto", "scroll"]), kd = class {
+var Yd = /*#__PURE__*/ new Set(["auto", "scroll"]), Xd = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -6378,8 +6697,8 @@ var Od = /*#__PURE__*/ new Set(["auto", "scroll"]), kd = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Ad(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Md(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Dd(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Zd(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = $d(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Jd(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -6392,33 +6711,33 @@ var Od = /*#__PURE__*/ new Set(["auto", "scroll"]), kd = class {
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Ad(t, this.transformPagePoint), An.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Zd(t, this.transformPagePoint), An.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 = Md(e.type === "pointercancel" ? this.lastMoveEventInfo : Ad(t, this.transformPagePoint), this.history);
+ let a = $d(e.type === "pointercancel" ? this.lastMoveEventInfo : Zd(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !Go(e)) return;
+ }, !$o(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = Ad(Sd(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Mn;
+ let s = Zd(Ud(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Mn;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, Md(s, this.history));
+ u && u(e, $d(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Zt(wd(this.contextWindow, "pointermove", this.handlePointerMove, d), wd(this.contextWindow, "pointerup", this.handlePointerUp, d), wd(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Zt(Gd(this.contextWindow, "pointermove", this.handlePointerMove, d), Gd(this.contextWindow, "pointerup", this.handlePointerUp, d), Gd(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (Od.has(e.overflowX) || Od.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (Yd.has(e.overflowX) || Yd.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -6452,35 +6771,35 @@ var Od = /*#__PURE__*/ new Set(["auto", "scroll"]), kd = class {
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), jn(this.updatePoint);
}
};
-function Ad(e, t) {
+function Zd(e, t) {
return t ? { point: t(e.point) } : e;
}
-function jd(e, t) {
+function Qd(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Md({ point: e }, t) {
+function $d({ point: e }, t) {
return {
point: e,
- delta: jd(e, Pd(t)),
- offset: jd(e, Nd(t)),
- velocity: Fd(t, .1)
+ delta: Qd(e, tf(t)),
+ offset: Qd(e, ef(t)),
+ velocity: nf(t, .1)
};
}
-function Nd(e) {
+function ef(e) {
return e[0];
}
-function Pd(e) {
+function tf(e) {
return e[e.length - 1];
}
-function Fd(e, t) {
+function nf(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = Pd(e);
+ let n = e.length - 1, r = null, i = tf(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ en(t)));) n--;
if (!r) return {
x: 0,
@@ -6500,86 +6819,86 @@ function Fd(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function Id(e, { min: t, max: n }, r) {
+function rf(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? Ar(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Ar(n, e, r.max) : Math.min(e, n)), e;
}
-function Ld(e, t, n) {
+function af(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Rd(e, { top: t, left: n, bottom: r, right: i }) {
+function of(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: Ld(e.x, n, i),
- y: Ld(e.y, t, r)
+ x: af(e.x, n, i),
+ y: af(e.y, t, r)
};
}
-function zd(e, t) {
+function sf(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function Bd(e, t) {
+function cf(e, t) {
return {
- x: zd(e.x, t.x),
- y: zd(e.y, t.y)
+ x: sf(e.x, t.x),
+ y: sf(e.y, t.y)
};
}
-function Vd(e, t) {
- let n = .5, r = nl(e), i = nl(t);
+function lf(e, t) {
+ let n = .5, r = dl(e), i = dl(t);
return i > r ? n = /* @__PURE__ */ Qt(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Qt(e.min, e.max - i, t.min)), Wt(0, 1, n);
}
-function Hd(e, t) {
+function uf(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var Ud = .35;
-function Wd(e = Ud) {
- return e === !1 ? e = 0 : e === !0 && (e = Ud), {
- x: Gd(e, "left", "right"),
- y: Gd(e, "top", "bottom")
+var df = .35;
+function ff(e = df) {
+ return e === !1 ? e = 0 : e === !0 && (e = df), {
+ x: pf(e, "left", "right"),
+ y: pf(e, "top", "bottom")
};
}
-function Gd(e, t, n) {
+function pf(e, t, n) {
return {
- min: Kd(e, t),
- max: Kd(e, n)
+ min: mf(e, t),
+ max: mf(e, n)
};
}
-function Kd(e, t) {
+function mf(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
+var hf = /* @__PURE__ */ new WeakMap(), gf = 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 = ks(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Rs(), 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(Sd(e).point), this.stopAnimation();
+ t && this.snapToCursor(Ud(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 = Bo(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), wl((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Jo(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), Nl((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
if (ar.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = nl(r) * (parseFloat(t) / 100));
+ r && (t = dl(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && An.update(() => i(e, t), !1, !0), ro(this.visualElement, "transform");
+ }), i && An.update(() => i(e, t), !1, !0), lo(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -6588,7 +6907,7 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Qd(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = bf(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && An.update(() => a(e, t), !1, !0);
@@ -6601,7 +6920,7 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new kd(e, {
+ this.panSession = new Xd(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -6611,7 +6930,7 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: Td(this.visualElement),
+ contextWindow: Kd(this.visualElement),
element: this.visualElement.current
});
}
@@ -6635,32 +6954,32 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !Zd(e, r, this.currentDirection)) return;
+ if (!n || !yf(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Id(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = rf(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 && ld(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Rd(n.layoutBox, e) : !1, this.elastic = Wd(t), r !== this.constraints && !ld(e) && n && this.constraints && !this.hasMutatedConstraints && wl((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Hd(n.layoutBox[e], this.constraints[e]));
+ e && Ad(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? of(n.layoutBox, e) : !1, this.elastic = ff(t), r !== this.constraints && !Ad(e) && n && this.constraints && !this.hasMutatedConstraints && Nl((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = uf(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !ld(e)) return !1;
+ if (!e || !Ad(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 = hc(n, r.root, this.visualElement.getTransformPagePoint()), a = Bd(r.layout.layoutBox, i);
+ let i = wc(n, r.root, this.visualElement.getTransformPagePoint()), a = cf(r.layout.layoutBox, i);
if (t) {
- let e = t(Xs(a));
- this.hasMutatedConstraints = !!e, e && (a = Ys(e));
+ let e = t(ac(a));
+ this.hasMutatedConstraints = !!e, e && (a = ic(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = wl((o) => {
- if (!Zd(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = Nl((o) => {
+ if (!yf(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -6683,19 +7002,19 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return ro(this.visualElement, e), n.start(Ua(e, n, 0, t, this.visualElement, !1));
+ return lo(this.visualElement, e), n.start(Ya(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- wl((e) => this.getAxisMotionValue(e).stop());
+ Nl((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- wl((t) => {
+ Nl((t) => {
let { drag: n } = this.getProps();
- if (!Zd(t, n, this.currentDirection)) return;
+ if (!yf(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;
@@ -6706,42 +7025,42 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!ld(t) || !n || !this.constraints) return;
+ if (!Ad(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- wl((e) => {
+ Nl((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = Vd({
+ r[e] = lf({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), wl((t) => {
- if (!Zd(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Nl((t) => {
+ if (!yf(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
n.set(Ar(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- qd.set(this.visualElement, this);
- let e = this.visualElement.current, t = wd(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Yo(i);
+ hf.set(this.visualElement, this);
+ let e = this.visualElement.current, t = Gd(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && rs(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- ld(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Xd(e, t.current, () => this.scalePositionWithinConstraints()));
+ Ad(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= vf(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), An.read(r);
- let o = Fl(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (wl((t) => {
+ let o = Wl(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (Nl((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -6751,7 +7070,7 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Ud, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = df, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -6763,7 +7082,7 @@ var qd = /* @__PURE__ */ new WeakMap(), Jd = class {
};
}
};
-function Yd(e) {
+function _f(e) {
let t = !0;
return () => {
if (t) {
@@ -6773,24 +7092,24 @@ function Yd(e) {
e();
};
}
-function Xd(e, t, n) {
- let r = _s(e, Yd(n)), i = _s(t, Yd(n));
+function vf(e, t, n) {
+ let r = Es(e, _f(n)), i = Es(t, _f(n));
return () => {
r(), i();
};
}
-function Zd(e, t, n) {
+function yf(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Qd(e, t = 10) {
+function bf(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 $d = class extends Js {
+var xf = class extends rc {
constructor(e) {
- super(e), this.removeGroupControls = Xt, this.removeListeners = Xt, this.controls = new Jd(e);
+ super(e), this.removeGroupControls = Xt, this.removeListeners = Xt, this.controls = new gf(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -6803,31 +7122,31 @@ var $d = class extends Js {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, ef = (e) => (t, n) => {
+}, Sf = (e) => (t, n) => {
e && An.update(() => e(t, n), !1, !0);
-}, tf = class extends Js {
+}, Cf = class extends rc {
constructor() {
super(...arguments), this.removePointerDownListener = Xt;
}
onPointerDown(e) {
- this.session = new kd(e, this.createPanHandlers(), {
+ this.session = new Xd(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: Td(this.node)
+ contextWindow: Kd(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: ef(e),
- onStart: ef(t),
- onMove: ef(n),
+ onSessionStart: Sf(e),
+ onStart: Sf(t),
+ onMove: Sf(n),
onEnd: (e, t) => {
delete this.session, r && An.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = wd(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = Gd(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -6835,36 +7154,36 @@ var $d = class extends Js {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, nf = !1, rf = class extends I.Component {
+}, wf = !1, Tf = class extends I.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), nf && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), wf && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), Vl.hasEverUpdated = !0;
+ })), Xl.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
- }), nf = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || An.postRender(() => {
+ }), wf = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || An.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(), Io.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Wo.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- nf = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ wf = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -6874,41 +7193,41 @@ var $d = class extends Js {
return null;
}
};
-function af(e) {
- let [t, n] = Tu(), r = (0, I.useContext)(Rt);
- return (0, L.jsx)(rf, {
+function Ef(e) {
+ let [t, n] = Vu(), r = (0, I.useContext)(Rt);
+ return (0, L.jsx)(Tf, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, I.useContext)(cd),
+ switchLayoutGroup: (0, I.useContext)(kd),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var of = {
- pan: { Feature: tf },
+var Df = {
+ pan: { Feature: Cf },
drag: {
- Feature: $d,
- ProjectionNode: Cu,
- MeasureLayout: af
+ Feature: xf,
+ ProjectionNode: Mu,
+ MeasureLayout: Ef
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function sf(e, t, n) {
+function Of(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && An.postRender(() => i(t, Sd(t)));
+ i && An.postRender(() => i(t, Ud(t)));
}
-var cf = class extends Js {
+var kf = class extends rc {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Uo(e, (e, t) => (sf(this.node, t, "Start"), (e) => sf(this.node, e, "End"))));
+ e && (this.unmount = Zo(e, (e, t) => (Of(this.node, t, "Start"), (e) => Of(this.node, e, "End"))));
}
unmount() {}
-}, lf = class extends Js {
+}, Af = class extends rc {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -6925,57 +7244,57 @@ var cf = class extends Js {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Zt(Fl(this.node.current, "focus", () => this.onFocus()), Fl(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Zt(Wl(this.node.current, "focus", () => this.onFocus()), Wl(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function uf(e, t, n) {
+function jf(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 && An.postRender(() => i(t, Sd(t)));
+ i && An.postRender(() => i(t, Ud(t)));
}
-var df = class extends Js {
+var Mf = class extends rc {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = ns(e, (e, t) => (uf(this.node, t, "Start"), (e, { success: t }) => uf(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = us(e, (e, t) => (jf(this.node, t, "Start"), (e, { success: t }) => jf(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, ff = /* @__PURE__ */ new WeakMap(), pf = /* @__PURE__ */ new WeakMap(), mf = (e) => {
- let t = ff.get(e.target);
+}, Nf = /* @__PURE__ */ new WeakMap(), Pf = /* @__PURE__ */ new WeakMap(), Ff = (e) => {
+ let t = Nf.get(e.target);
t && t(e);
-}, hf = (e) => {
- e.forEach(mf);
+}, If = (e) => {
+ e.forEach(Ff);
};
-function gf({ root: e, ...t }) {
+function Lf({ root: e, ...t }) {
let n = e || document;
- pf.has(n) || pf.set(n, {});
- let r = pf.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(hf, {
+ Pf.has(n) || Pf.set(n, {});
+ let r = Pf.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(If, {
root: e,
...t
})), r[i];
}
-function _f(e, t, n) {
- let r = gf(t);
- return ff.set(e, n), r.observe(e), () => {
- ff.delete(e), r.unobserve(e);
+function Rf(e, t, n) {
+ let r = Lf(t);
+ return Nf.set(e, n), r.observe(e), () => {
+ Nf.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var vf = {
+var zf = {
some: 0,
all: 1
-}, yf = class extends Js {
+}, Bf = class extends rc {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -6984,7 +7303,7 @@ var vf = {
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 : vf[r]
+ threshold: typeof r == "number" ? r : zf[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -6992,7 +7311,7 @@ var vf = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = _f(this.node.current, a, o);
+ this.stopObserver = Rf(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -7004,34 +7323,34 @@ var vf = {
"amount",
"margin",
"root"
- ].some(bf(e, t)) && this.startObserver();
+ ].some(Vf(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function bf({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Vf({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var xf = {
- inView: { Feature: yf },
- tap: { Feature: df },
- focus: { Feature: lf },
- hover: { Feature: cf }
-}, Sf = { layout: {
- ProjectionNode: Cu,
- MeasureLayout: af
-} }, Cf = /*@__PURE__*/ _d({
- ...xd,
- ...xf,
- ...of,
- ...Sf
-}, vd);
+var Hf = {
+ inView: { Feature: Bf },
+ tap: { Feature: Mf },
+ focus: { Feature: Af },
+ hover: { Feature: kf }
+}, Uf = { layout: {
+ ProjectionNode: Mu,
+ MeasureLayout: Ef
+} }, Wf = /*@__PURE__*/ Rd({
+ ...Hd,
+ ...Hf,
+ ...Df,
+ ...Uf
+}, zd);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function wf(e, t, n) {
+function Gf(e, t, n) {
(0, I.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -7040,8 +7359,8 @@ function wf(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function Tf(e) {
- let t = zt(() => Na(e)), { isStatic: n } = (0, I.useContext)(wu);
+function Kf(e) {
+ let t = zt(() => za(e)), { isStatic: n } = (0, I.useContext)(Nu);
if (n) {
let [, n] = (0, I.useState)(e);
(0, I.useEffect)(() => t.on("change", n), []);
@@ -7050,8 +7369,8 @@ function Tf(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function Ef(e, t) {
- let n = Tf(t()), r = () => n.set(t());
+function qf(e, t) {
+ let n = Kf(t()), r = () => n.set(t());
return r(), Bt(() => {
let t = () => An.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
@@ -7061,17 +7380,17 @@ function Ef(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function Df(e) {
- ja.current = [], e();
- let t = Ef(ja.current, e);
- return ja.current = void 0, t;
+function Jf(e) {
+ La.current = [], e();
+ let t = qf(La.current, e);
+ return La.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function Of(e, t, n, r) {
- if (typeof e == "function") return Df(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Af(e, t, n, r);
- let i = typeof t == "function" ? t : bs(t, n, r), a = Array.isArray(e) ? kf(e, i) : kf([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function Yf(e, t, n, r) {
+ if (typeof e == "function") return Jf(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Zf(e, t, n, r);
+ let i = typeof t == "function" ? t : ks(t, n, r), a = Array.isArray(e) ? Xf(e, i) : Xf([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -7080,46 +7399,87 @@ function Of(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function kf(e, t) {
+function Xf(e, t) {
let n = zt(() => []);
- return Ef(e, () => {
+ return qf(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function Af(e, t, n, r) {
+function Zf(e, t, n, r) {
let i = zt(() => Object.keys(n)), a = zt(() => ({}));
- for (let o of i) a[o] = Of(e, t, n[o], r);
+ for (let o of i) a[o] = Yf(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function jf(e, t = {}) {
- let { isStatic: n } = (0, I.useContext)(wu), r = () => to(e) ? e.get() : e;
- if (n) return Of(r);
- let i = Tf(r());
- return (0, I.useInsertionEffect)(() => xs(i, e, t), [i, JSON.stringify(t)]), i;
+function Qf(e, t = {}) {
+ let { isStatic: n } = (0, I.useContext)(Nu), r = () => so(e) ? e.get() : e;
+ if (n) return Yf(r);
+ let i = Kf(r());
+ return (0, I.useInsertionEffect)(() => As(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function Mf(e, t = {}) {
- return jf(e, {
+function $f(e, t = {}) {
+ return Qf(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function Nf() {
- !zs.current && Vs();
- let [e] = (0, I.useState)(Rs.current);
+function ep() {
+ !Js.current && Xs();
+ let [e] = (0, I.useState)(qs.current);
return e;
}
//#endregion
-//#region node_modules/motion/dist/es/react.mjs
-var Pf = Cf, Ff = class {
+//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
+function tp(e, t, n, r) {
+ if (e == null) return [];
+ let i = Vo(e, r), a = i.length, o = [];
+ for (let e = 0; e < a; e++) {
+ let r = i[e], s = { ...n };
+ typeof s.delay == "function" && (s.delay = s.delay(e, a));
+ for (let e in t) {
+ let n = t[e];
+ Array.isArray(n) || (n = [n]);
+ let i = { ...Va(s, e) };
+ i.duration &&= /* @__PURE__ */ en(i.duration), i.delay &&= /* @__PURE__ */ en(i.delay);
+ let a = Na(r), c = Ma(e, i.pseudoElement || ""), l = a.get(c);
+ l && l.stop(), o.push({
+ map: a,
+ key: c,
+ unresolvedKeyframes: n,
+ options: {
+ ...i,
+ element: r,
+ name: e,
+ allowFlatten: !s.type && !s.ease
+ }
+ });
+ }
+ }
+ for (let e = 0; e < o.length; e++) {
+ let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
+ !a && t[0] === null && (t[0] = ds(r, i)), wi(t), Bo(t, i), !a && t.length < 2 && t.unshift(ds(r, i)), n.keyframes = t;
+ }
+ let s = [];
+ for (let e = 0; e < o.length; e++) {
+ let { map: t, key: n, options: r } = o[e], i = new ua(r);
+ t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
+ }
+ return s;
+}
+var np = /*@__PURE__*/ ((e) => {
+ function t(t, n, r) {
+ return new Aa(tp(t, n, r, e));
+ }
+ return t;
+})(), rp = Wf, ip = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -7134,22 +7494,22 @@ var Pf = Cf, Ff = class {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, If = class extends Ff {
+}, ap = class extends ip {
filter(e, t, n) {
- let [r, i] = Vf(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = up(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends Ff {
+(class extends ip {
static {
this.type = "header";
}
});
-var Lf = class extends Ff {
+var op = class extends ip {
static {
this.type = "loader";
}
-}, Rf = class extends If {
+}, sp = class extends ap {
static {
this.type = "item";
}
@@ -7160,7 +7520,7 @@ var Lf = class extends Ff {
}
return null;
}
-}, zf = class extends If {
+}, cp = class extends ap {
static {
this.type = "section";
}
@@ -7172,7 +7532,7 @@ var Lf = class extends Ff {
}
return null;
}
-}, Bf = class {
+}, lp = class {
get size() {
return this.itemCount;
}
@@ -7247,14 +7607,14 @@ var Lf = class extends Ff {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Vf(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = up(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 Vf(e, t, n, r) {
+function up(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -7269,7 +7629,7 @@ function Vf(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var Hf = class {
+var dp = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -7350,7 +7710,7 @@ var Hf = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, Uf = class e extends Hf {
+}, fp = class e extends dp {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -7401,7 +7761,7 @@ var Hf = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, Wf = class extends Hf {
+}, pp = class extends dp {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -7409,7 +7769,7 @@ var Hf = class {
return !0;
}
createElement(e) {
- return new Uf(e, this);
+ return new fp(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -7431,8 +7791,8 @@ var Hf = class {
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof Uf && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof Uf ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof fp && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof fp ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -7451,13 +7811,13 @@ var Hf = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Gf(e) {
+function mp(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, I.useMemo)(() => void 0, [t]), s = (0, I.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, I.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = Kf(a) ? a : null, o = n ? s.get(n) : null;
+ let n = hp(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -7482,7 +7842,7 @@ function Gf(e) {
i
]);
}
-function Kf(e) {
+function hp(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -7492,26 +7852,26 @@ function Kf(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function qf(e) {
- if (Yf()) e.focus({ preventScroll: !0 });
+function gp(e) {
+ if (vp()) e.focus({ preventScroll: !0 });
else {
- let t = Xf(e);
- e.focus(), Zf(t);
+ let t = yp(e);
+ e.focus(), bp(t);
}
}
-var Jf = null;
-function Yf() {
- if (Jf == null) {
- Jf = !1;
+var _p = null;
+function vp() {
+ if (_p == null) {
+ _p = !1;
try {
document.createElement("div").focus({ get preventScroll() {
- return Jf = !0, !0;
+ return _p = !0, !0;
} });
} catch {}
}
- return Jf;
+ return _p;
}
-function Xf(e) {
+function yp(e) {
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
element: t,
@@ -7524,25 +7884,25 @@ function Xf(e) {
scrollLeft: r.scrollLeft
}), n;
}
-function Zf(e) {
+function bp(e) {
for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Qf = (e) => tp(e) ? e.document : np(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), $f = (e) => Qf(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function ep(e) {
+var xp = (e) => wp(e) ? e.document : Tp(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Sp = (e) => xp(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function Cp(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function tp(e) {
+function wp(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function np(e) {
- return ep(e) && e.nodeType === 9;
+function Tp(e) {
+ return Cp(e) && e.nodeType === 9;
}
-function rp(e) {
- return ep(e) && e.nodeType === 11 && "host" in e;
+function Ep(e) {
+ return Cp(e) && e.nodeType === 11 && "host" in e;
}
-function ip(e, t, n, r) {
+function Dp(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -7550,7 +7910,7 @@ function ip(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function ap(e, t, n, r) {
+function Op(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -7565,73 +7925,73 @@ function ap(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var op = !1;
-function sp() {
- return op;
+var kp = !1;
+function Ap() {
+ return kp;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function cp(e, t) {
- if (!sp()) return t && e ? e.contains(t) : !1;
+function jp(e, t) {
+ if (!Ap()) 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 : rp(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Ep(n) ? n.host : n.parentNode;
}
return !1;
}
-var lp = (e = document) => {
- if (!sp()) return e.activeElement;
+var Mp = (e = document) => {
+ if (!Ap()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function V(e) {
- if (sp() && e.target instanceof Element && e.target.shadowRoot) {
+ if (Ap() && 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 up(e, t) {
+function Np(e, t) {
if (t === null) return [];
- t ??= $f(e);
+ t ??= Sp(e);
let n = [t];
- if (!sp() || !e || e === t) return n;
+ if (!Ap() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; rp(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; Ep(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function dp(e) {
+function Pp(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = $f(e);
+ let t = e.getRootNode(), n = Sp(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 fp = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function pp(e) {
- let t = $f(e);
+var Fp = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function Ip(e) {
+ let t = Sp(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 } = $f(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = Sp(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function mp(e, t) {
+function Lp(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 hp(e, t) {
- return fp ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && pp(e) && mp(e, t) && (!e.parentElement || hp(e.parentElement, e));
+function Rp(e, t) {
+ return Fp ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Ip(e) && Lp(e, t) && (!e.parentElement || Rp(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var gp = [
+var zp = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -7646,41 +8006,41 @@ var gp = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], _p = gp.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-gp.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var vp = gp.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function yp(e, t) {
- return e.matches(_p) && !xp(e) && (t?.skipVisibilityCheck || hp(e));
+], Bp = zp.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+zp.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var Vp = zp.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Hp(e, t) {
+ return e.matches(Bp) && !Wp(e) && (t?.skipVisibilityCheck || Rp(e));
}
-function bp(e) {
- return e.matches(vp) && hp(e) && !xp(e);
+function Up(e) {
+ return e.matches(Vp) && Rp(e) && !Wp(e);
}
-function xp(e) {
+function Wp(e) {
let t = e;
for (; t != null;) {
- if (t instanceof $f(t).HTMLElement && t.inert) return !0;
+ if (t instanceof Sp(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var Sp = typeof document < "u" ? I.useLayoutEffect : () => {};
+var Gp = typeof document < "u" ? I.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function Cp(e) {
+function Kp(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function wp(e, t) {
+function qp(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function Tp(e) {
+function Jp(e) {
let t = (0, I.useRef)({
isFocused: !1,
observer: null
});
- return Sp(() => {
+ return Gp(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -7692,14 +8052,14 @@ function Tp(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = Cp(r);
+ let t = Kp(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 === lp() ? null : lp();
+ let e = n === Mp() ? null : Mp();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -7712,87 +8072,87 @@ function Tp(e) {
}
}, [e]);
}
-var Ep = !1;
-function Dp(e) {
- for (; e && !yp(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = lp($f(e).document);
+var Yp = !1;
+function Xp(e) {
+ for (; e && !Hp(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Mp(Sp(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && rp(n) ? n : $f(e), i = (t) => t === e || t != null && cp(e, t), a = (e) => e === t || t != null && e != null && cp(t, e);
- Ep = !0;
+ let n = e?.getRootNode(), r = n != null && Ep(n) ? n : Sp(e), i = (t) => t === e || t != null && jp(e, t), a = (e) => e === t || t != null && e != null && jp(t, e);
+ Yp = !0;
let o = !1, s = (e) => {
(a(V(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(V(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, qf(t), d()));
+ (a(V(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, gp(t), d()));
}, l = (e) => {
(i(V(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(V(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, qf(t), d()));
+ (i(V(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, gp(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;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), Yp = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function Op(e) {
+function Zp(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 kp(e) {
+function Qp(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function Ap(e) {
+function $p(e) {
let t = null;
return () => (t ??= e(), t);
}
-var jp = Ap(function() {
- return kp(/^Mac/i);
-}), Mp = Ap(function() {
- return kp(/^iPhone/i);
-}), Np = Ap(function() {
- return kp(/^iPad/i) || jp() && navigator.maxTouchPoints > 1;
-}), Pp = Ap(function() {
- return Mp() || Np();
-}), Fp = Ap(function() {
- return jp() || Pp();
-}), Ip = Ap(function() {
- return Op(/AppleWebKit/i) && (Pp() || !Lp());
-}), Lp = Ap(function() {
- return Op(/Chrome|CriOS|CrMo/i);
-}), Rp = Ap(function() {
- return Op(/Android/i);
-}), zp = Ap(function() {
- return Op(/(Firefox|FxiOS)/i);
+var em = $p(function() {
+ return Qp(/^Mac/i);
+}), tm = $p(function() {
+ return Qp(/^iPhone/i);
+}), nm = $p(function() {
+ return Qp(/^iPad/i) || em() && navigator.maxTouchPoints > 1;
+}), rm = $p(function() {
+ return tm() || nm();
+}), im = $p(function() {
+ return em() || rm();
+}), am = $p(function() {
+ return Zp(/AppleWebKit/i) && (rm() || !om());
+}), om = $p(function() {
+ return Zp(/Chrome|CriOS|CrMo/i);
+}), sm = $p(function() {
+ return Zp(/Android/i);
+}), cm = $p(function() {
+ return Zp(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Bp(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : Rp() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function lm(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : sm() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function Vp(e) {
- return !Rp() && e.width === 0 && e.height === 0 || Rp() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function um(e) {
+ return !sm() && e.width === 0 && e.height === 0 || sm() && 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 Hp = /*#__PURE__*/ (0, I.createContext)({
+var dm = /*#__PURE__*/ (0, I.createContext)({
isNative: !0,
- open: qp,
+ open: gm,
useHref: (e) => e
});
-function Up() {
- return (0, I.useContext)(Hp);
+function fm() {
+ return (0, I.useContext)(dm);
}
-function Wp(e, t) {
+function pm(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function Gp(e, t, n = !0) {
+function mm(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !Ip() && zp() && window.event?.type?.startsWith("key") && e.target === "_blank" && (jp() ? r = !0 : i = !0);
- let s = Ip() && jp() && !Np() ? new KeyboardEvent("keydown", {
+ !am() && cm() && window.event?.type?.startsWith("key") && e.target === "_blank" && (em() ? r = !0 : i = !0);
+ let s = am() && em() && !nm() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -7807,21 +8167,21 @@ function Gp(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- Gp.isOpening = n, qf(e), e.dispatchEvent(s), Gp.isOpening = !1;
+ mm.isOpening = n, gp(e), e.dispatchEvent(s), mm.isOpening = !1;
}
-Gp.isOpening = !1;
-function Kp(e, t) {
+mm.isOpening = !1;
+function hm(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 qp(e, t) {
- Kp(e, (e) => Gp(e, t));
+function gm(e, t) {
+ hm(e, (e) => mm(e, t));
}
-function Jp(e) {
- let t = Up().useHref(e.href ?? "");
+function _m(e) {
+ let t = fm().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -7831,8 +8191,8 @@ function Jp(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function Yp(e) {
- let t = Up().useHref(e?.href ?? ""), n = {};
+function vm(e) {
+ let t = fm().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -7843,138 +8203,138 @@ function Yp(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Xp(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Wp(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function ym(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && pm(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Zp = {
+var bm = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, Qp = /*#__PURE__*/ I.createContext(Zp), $p = /*#__PURE__*/ I.createContext(!1);
+}, xm = /*#__PURE__*/ I.createContext(bm), Sm = /*#__PURE__*/ I.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var em = /* @__PURE__ */ new WeakMap();
-function tm(e = !1) {
- let t = (0, I.useContext)(Qp), n = (0, I.useRef)(null);
+var Cm = /* @__PURE__ */ new WeakMap();
+function wm(e = !1) {
+ let t = (0, I.useContext)(xm), n = (0, I.useRef)(null);
if (n.current === null && !e) {
let e = I.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = em.get(e);
- n == null ? em.set(e, {
+ let n = Cm.get(e);
+ n == null ? Cm.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, em.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, Cm.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function nm(e) {
- let t = (0, I.useContext)(Qp), n = tm(!!e), r = `react-aria${t.prefix}`;
+function Tm(e) {
+ let t = (0, I.useContext)(xm), n = wm(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function rm(e) {
- let t = I.useId(), [n] = (0, I.useState)(cm()), r = n ? "react-aria" : `react-aria${Zp.prefix}`;
+function Em(e) {
+ let t = I.useId(), [n] = (0, I.useState)(jm()), r = n ? "react-aria" : `react-aria${bm.prefix}`;
return e || `${r}-${t}`;
}
-var im = typeof I.useId == "function" ? rm : nm;
-function am() {
+var Dm = typeof I.useId == "function" ? Em : Tm;
+function Om() {
return !1;
}
-function om() {
+function km() {
return !0;
}
-function sm(e) {
+function Am(e) {
return () => {};
}
-function cm() {
- return typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore(sm, am, om) : (0, I.useContext)($p);
+function jm() {
+ return typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore(Am, Om, km) : (0, I.useContext)(Sm);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var lm = null, um = /* @__PURE__ */ new Set(), dm = /* @__PURE__ */ new Map(), fm = !1, pm = !1, mm = {
+var Mm = null, Nm = /* @__PURE__ */ new Set(), Pm = /* @__PURE__ */ new Map(), Fm = !1, Im = !1, Lm = {
Tab: !0,
Escape: !0
};
-function hm(e, t) {
- for (let n of um) n(e, t);
+function Rm(e, t) {
+ for (let n of Nm) n(e, t);
}
-function gm(e) {
- return !(e.metaKey || !jp() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function zm(e) {
+ return !(e.metaKey || !em() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function _m(e) {
- fm = !0, !Gp.isOpening && gm(e) && (lm = "keyboard", hm("keyboard", e));
+function Bm(e) {
+ Fm = !0, !mm.isOpening && zm(e) && (Mm = "keyboard", Rm("keyboard", e));
}
-function vm(e) {
- lm = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (fm = !0, hm("pointer", e));
+function Vm(e) {
+ Mm = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Fm = !0, Rm("pointer", e));
}
-function ym(e) {
- !Gp.isOpening && Bp(e) && (fm = !0, lm = "virtual");
+function Hm(e) {
+ !mm.isOpening && lm(e) && (Fm = !0, Mm = "virtual");
}
-function bm(e) {
- if (Ep) return;
- let t = V(e), n = $f(t), r = Qf(t);
+function Um(e) {
+ if (Yp) return;
+ let t = V(e), n = Sp(t), r = xp(t);
if (t === n) {
- pm = !0;
+ Im = !0;
return;
}
- t === r || !e.isTrusted || (!fm && !pm && (lm = "virtual", hm("virtual", e)), fm = !1, pm = !1);
+ t === r || !e.isTrusted || (!Fm && !Im && (Mm = "virtual", Rm("virtual", e)), Fm = !1, Im = !1);
}
-function xm() {
- Ep || (fm = !1, pm = !0);
+function Wm() {
+ Yp || (Fm = !1, Im = !0);
}
-function Sm(e) {
+function Gm(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = $f(e), n = Qf(e);
- if (dm.get(t)) return;
+ let t = Sp(e), n = xp(e);
+ if (Pm.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- fm = !0, r.apply(this, arguments);
+ Fm = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", _m, !0), n.addEventListener("keyup", _m, !0), n.addEventListener("click", ym, !0), t.addEventListener("focus", bm, !0), t.addEventListener("blur", xm, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", vm, !0), n.addEventListener("pointermove", vm, !0), n.addEventListener("pointerup", vm, !0)), t.addEventListener("beforeunload", () => {
- Cm(e);
- }, { once: !0 }), dm.set(t, { focus: r });
+ }), n.addEventListener("keydown", Bm, !0), n.addEventListener("keyup", Bm, !0), n.addEventListener("click", Hm, !0), t.addEventListener("focus", Um, !0), t.addEventListener("blur", Wm, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Vm, !0), n.addEventListener("pointermove", Vm, !0), n.addEventListener("pointerup", Vm, !0)), t.addEventListener("beforeunload", () => {
+ Km(e);
+ }, { once: !0 }), Pm.set(t, { focus: r });
}
-var Cm = (e, t) => {
- let n = $f(e), r = Qf(e);
- t && r.removeEventListener("DOMContentLoaded", t), dm.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var Km = (e, t) => {
+ let n = Sp(e), r = xp(e);
+ t && r.removeEventListener("DOMContentLoaded", t), Pm.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: dm.get(n).focus
- }), r.removeEventListener("keydown", _m, !0), r.removeEventListener("keyup", _m, !0), r.removeEventListener("click", ym, !0), n.removeEventListener("focus", bm, !0), n.removeEventListener("blur", xm, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", vm, !0), r.removeEventListener("pointermove", vm, !0), r.removeEventListener("pointerup", vm, !0)), dm.delete(n));
+ value: Pm.get(n).focus
+ }), r.removeEventListener("keydown", Bm, !0), r.removeEventListener("keyup", Bm, !0), r.removeEventListener("click", Hm, !0), n.removeEventListener("focus", Um, !0), n.removeEventListener("blur", Wm, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Vm, !0), r.removeEventListener("pointermove", Vm, !0), r.removeEventListener("pointerup", Vm, !0)), Pm.delete(n));
};
-function wm(e) {
- let t = Qf(e), n;
+function qm(e) {
+ let t = xp(e), n;
return t.readyState === "loading" ? (n = () => {
- Sm(e);
- }, t.addEventListener("DOMContentLoaded", n)) : Sm(e), () => Cm(e, n);
+ Gm(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : Gm(e), () => Km(e, n);
}
-typeof document < "u" && wm();
-function Tm() {
- return lm !== "pointer";
+typeof document < "u" && qm();
+function Jm() {
+ return Mm !== "pointer";
}
-function Em() {
- return lm;
+function Ym() {
+ return Mm;
}
-function Dm(e) {
- lm = e, hm(e, null);
+function Xm(e) {
+ Mm = e, Rm(e, null);
}
-function Om() {
- Sm();
- let [e, t] = (0, I.useState)(lm);
+function Zm() {
+ Gm();
+ let [e, t] = (0, I.useState)(Mm);
return (0, I.useEffect)(() => {
let e = () => {
- t(lm);
+ t(Mm);
};
- return um.add(e), () => {
- um.delete(e);
+ return Nm.add(e), () => {
+ Nm.delete(e);
};
- }, []), cm() ? null : e;
+ }, []), jm() ? null : e;
}
-var km = /* @__PURE__ */ new Set([
+var Qm = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -7985,25 +8345,31 @@ var km = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Am(e, t, n) {
- let r = n ? V(n) : void 0, i = Qf(r), a = $f(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 = lp(i);
- return e = e || u instanceof o && !km.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !mm[n.key]);
-}
-function jm(e, t, n) {
- Sm(), (0, I.useEffect)(() => {
+function $m(e, t, n) {
+ let r = n ? V(n) : void 0, i = xp(r), a = Sp(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 = Mp(i);
+ return e = e || u instanceof o && !Qm.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Lm[n.key]);
+}
+function eh(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, I.useState)(n || Jm());
+ return th((e) => {
+ i(e);
+ }, [t], { isTextInput: t }), { isFocusVisible: r };
+}
+function th(e, t, n) {
+ Gm(), (0, I.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- Am(!!n?.isTextInput, t, r) && e(Tm());
+ $m(!!n?.isTextInput, t, r) && e(Jm());
};
- return um.add(t), () => {
- um.delete(t);
+ return Nm.add(t), () => {
+ Nm.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var Mm = /* @__PURE__ */ new Map(), Nm = /* @__PURE__ */ new Set();
-function Pm() {
+var nh = /* @__PURE__ */ new Map(), rh = /* @__PURE__ */ new Set();
+function ih() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
@@ -8011,51 +8377,51 @@ function Pm() {
let t = (t) => {
let r = V(t);
if (!e(t) || !r) return;
- let i = Mm.get(r);
- i || (i = /* @__PURE__ */ new Set(), Mm.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = nh.get(r);
+ i || (i = /* @__PURE__ */ new Set(), nh.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
let r = V(t);
if (!e(t) || !r) return;
- let i = Mm.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Mm.delete(r)), Mm.size === 0)) {
- for (let e of Nm) e();
- Nm.clear();
+ let i = nh.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), nh.delete(r)), nh.size === 0)) {
+ for (let e of rh) e();
+ rh.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Pm) : Pm());
-function Fm() {
- for (let [e] of Mm) "isConnected" in e && !e.isConnected && Mm.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", ih) : ih());
+function ah() {
+ for (let [e] of nh) "isConnected" in e && !e.isConnected && nh.delete(e);
}
-function Im(e) {
+function oh(e) {
requestAnimationFrame(() => {
- Fm(), Mm.size === 0 ? e() : Nm.add(e);
+ ah(), nh.size === 0 ? e() : rh.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function Lm(e) {
+function sh(e) {
if (!e.isConnected) return;
- let t = Qf(e);
- if (Em() === "virtual") {
- let n = lp(t);
- Im(() => {
- let r = lp(t);
- (r === n || r === t.body) && e.isConnected && qf(e);
+ let t = xp(e);
+ if (Ym() === "virtual") {
+ let n = Mp(t);
+ oh(() => {
+ let r = Mp(t);
+ (r === n || r === t.body) && e.isConnected && gp(e);
});
- } else qf(e);
+ } else gp(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function Rm(...e) {
+function ch(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function zm(e) {
+function lh(e) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(t), i = (0, I.useRef)(null), a = (0, I.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
@@ -8065,7 +8431,7 @@ function zm(e) {
}
r.current === e.value ? a.current() : n(e.value);
});
- return Sp(() => {
+ return Gp(() => {
r.current = t, i.current && a.current();
}), [t, (0, I.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -8073,21 +8439,21 @@ function zm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var Bm = !!(typeof window < "u" && window.document && window.document.createElement), Vm = /* @__PURE__ */ new Map(), Hm;
-typeof FinalizationRegistry < "u" && (Hm = new FinalizationRegistry((e) => {
- Vm.delete(e);
+var uh = !!(typeof window < "u" && window.document && window.document.createElement), dh = /* @__PURE__ */ new Map(), fh;
+typeof FinalizationRegistry < "u" && (fh = new FinalizationRegistry((e) => {
+ dh.delete(e);
}));
-var Um = /* @__PURE__ */ new WeakMap();
-function Wm(e) {
- let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(null), i = im(t), a = (0, I.useRef)(null), o = Um.get(a);
- if (Hm && o !== i && (o != null && Hm.unregister(a), Hm.register(a, i, a), Um.set(a, i)), Bm) {
- let e = Vm.get(i);
- e && !e.includes(r) ? e.push(r) : Vm.set(i, [r]);
- }
- return Sp(() => {
+var ph = /* @__PURE__ */ new WeakMap();
+function mh(e) {
+ let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(null), i = Dm(t), a = (0, I.useRef)(null), o = ph.get(a);
+ if (fh && o !== i && (o != null && fh.unregister(a), fh.register(a, i, a), ph.set(a, i)), uh) {
+ let e = dh.get(i);
+ e && !e.includes(r) ? e.push(r) : dh.set(i, [r]);
+ }
+ return Gp(() => {
let e = i;
return () => {
- Hm && (Hm.unregister(a), Um.delete(a)), Vm.delete(e);
+ fh && (fh.unregister(a), ph.delete(a)), dh.delete(e);
};
}, [i]), (0, I.useEffect)(() => {
let e = r.current;
@@ -8096,20 +8462,20 @@ function Wm(e) {
};
}), i;
}
-function Gm(e, t) {
+function hh(e, t) {
if (e === t) return e;
- let n = Vm.get(e);
+ let n = dh.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = Vm.get(t);
+ let r = dh.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Km(e = []) {
- let t = Wm(), [n, r] = zm(t), i = (0, I.useCallback)(() => {
+function gh(e = []) {
+ let t = mh(), [n, r] = lh(t), i = (0, I.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return Sp(i, [
+ return Gp(i, [
t,
i,
...e
@@ -8117,38 +8483,38 @@ function Km(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function qm(...e) {
+function _h(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Jm(e, t);
+ let r = vh(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Jm(e[n], null);
+ typeof t == "function" ? t() : vh(e[n], null);
});
};
};
}
-function Jm(e, t) {
+function vh(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Ym(e) {
+function yh(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 = Ym(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = yh(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function Xm() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ym(e)) && (r && (r += " "), r += t);
+function bh() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = yh(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -8159,18 +8525,18 @@ function H(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Rm(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Xm(n, i) : e === "id" && n && i ? t.id = Gm(n, i) : e === "ref" && n && i ? t.ref = qm(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = ch(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = bh(n, i) : e === "id" && n && i ? t.id = hh(n, i) : e === "ref" && n && i ? t.ref = _h(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Zm(e) {
+function xh(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, I.useCallback)((e) => {
if (V(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = Tp(a), s = (0, I.useCallback)((e) => {
- let t = V(e), r = Qf(t), a = r ? lp(r) : lp();
+ }, [r, i]), o = Jp(a), s = (0, I.useCallback)((e) => {
+ let t = V(e), r = xp(t), a = r ? Mp(r) : Mp();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -8184,7 +8550,7 @@ function Zm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function Qm(e) {
+function Sh(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -8209,33 +8575,33 @@ function Qm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var $m = /* @__PURE__ */ new Set([
+var Ch = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), eh = [
+]), wh = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function th(e) {
+function Th(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(jp() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(em() ? "Meta" : "Control"), t;
}
-function nh(e) {
+function Eh(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 rh(e) {
- return eh.filter((t) => e.has(t));
+function Dh(e) {
+ return wh.filter((t) => e.has(t));
}
-function ih(e) {
+function Oh(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return $m.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return Ch.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -8247,10 +8613,10 @@ function ih(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function ah(e) {
+function kh(e) {
return e.toLowerCase();
}
-var oh = {
+var Ah = {
space: " ",
esc: "escape",
del: "delete",
@@ -8262,26 +8628,26 @@ var oh = {
pageup: "pageup",
pagedown: "pagedown"
};
-function sh(e) {
- let t = ah(e);
- return oh[t] ?? t;
+function jh(e) {
+ let t = kh(e);
+ return Ah[t] ?? t;
}
-function ch(e) {
- let t = rh(th(e)), n = sh(e.key);
+function Mh(e) {
+ let t = Dh(Th(e)), n = jh(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function lh(e) {
- let t = rh(nh(e)), n = ah(e.key);
+function Nh(e) {
+ let t = Dh(Eh(e)), n = kh(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function uh(e) {
+function Ph(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = ih(n);
- t.set(ch(e), r);
+ let e = Oh(n);
+ t.set(Mh(e), r);
}
return (e) => {
- let n = lh(e), r = t.get(n), i = r?.(e);
+ let n = Nh(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -8293,11 +8659,11 @@ function uh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function dh(e) {
+function Fh(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = uh(t), s = Qm((e) => {
- if (!cp(e.currentTarget, V(e))) {
+ let o = Ph(t), s = Sh((e) => {
+ if (!jp(e.currentTarget, V(e))) {
e.continuePropagation();
return;
}
@@ -8306,8 +8672,8 @@ function dh(e) {
return;
}
o(e);
- }), c = Qm((e) => {
- if (!cp(e.currentTarget, V(e))) {
+ }), c = Sh((e) => {
+ if (!jp(e.currentTarget, V(e))) {
e.continuePropagation();
return;
}
@@ -8317,8 +8683,8 @@ function dh(e) {
}
e.continuePropagation();
});
- i = e.onKeyDown ? Rm(e.onKeyDown, s) : s, a = e.onKeyUp ? Rm(e.onKeyUp, c) : c;
- } else i = Qm(e.onKeyDown), a = Qm(e.onKeyUp);
+ i = e.onKeyDown ? ch(e.onKeyDown, s) : s, a = e.onKeyUp ? ch(e.onKeyUp, c) : c;
+ } else i = Sh(e.onKeyDown), a = Sh(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -8326,7 +8692,7 @@ function dh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function fh(e) {
+function Ih(e) {
let t = (0, I.useRef)(null), n = (0, I.useRef)(void 0), r = (0, I.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -8349,8 +8715,8 @@ function fh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function ph(e, t) {
- Sp(() => {
+function Lh(e, t) {
+ Gp(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -8358,17 +8724,17 @@ function ph(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var mh = /*#__PURE__*/ I.createContext(null);
-function hh(e) {
- let t = (0, I.useContext)(mh) || {};
- ph(t, e);
+var Rh = /*#__PURE__*/ I.createContext(null);
+function zh(e) {
+ let t = (0, I.useContext)(Rh) || {};
+ Lh(t, e);
let { ref: n, ...r } = t;
return r;
}
-function gh(e, t) {
- let { focusProps: n } = Zm(e), { keyboardProps: r } = dh(e), i = H(n, r), a = hh(t), o = e.isDisabled ? {} : a, s = (0, I.useRef)(e.autoFocus);
+function Bh(e, t) {
+ let { focusProps: n } = xh(e), { keyboardProps: r } = Fh(e), i = H(n, r), a = zh(t), o = e.isDisabled ? {} : a, s = (0, I.useRef)(e.autoFocus);
(0, I.useEffect)(() => {
- s.current && t.current && Lm(t.current), s.current = !1;
+ s.current && t.current && sh(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: H({
@@ -8403,22 +8769,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var _h = /*#__PURE__*/ (0, I.createContext)(!1);
-function vh(e) {
- if ((0, I.useContext)(_h)) return /*#__PURE__*/ I.createElement(I.Fragment, null, e.children);
- let t = /*#__PURE__*/ I.createElement(_h.Provider, { value: !0 }, e.children);
+var Vh = /*#__PURE__*/ (0, I.createContext)(!1);
+function Hh(e) {
+ if ((0, I.useContext)(Vh)) return /*#__PURE__*/ I.createElement(I.Fragment, null, e.children);
+ let t = /*#__PURE__*/ I.createElement(Vh.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ I.createElement("template", null, t);
}
-function yh(e) {
- let t = (t, n) => (0, I.useContext)(_h) ? null : e(t, n);
+function Uh(e) {
+ let t = (t, n) => (0, I.useContext)(Vh) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, I.forwardRef)(t);
}
-function bh() {
- return (0, I.useContext)(_h);
+function Wh() {
+ return (0, I.useContext)(Vh);
}
//#endregion
//#region node_modules/react-dom/cjs/react-dom.production.js
-var xh = /* @__PURE__ */ F(((e) => {
+var Gh = /* @__PURE__ */ F(((e) => {
var t = ce();
function n(e) {
var t = "https://react.dev/errors/" + e;
@@ -8546,7 +8912,7 @@ var xh = /* @__PURE__ */ F(((e) => {
}, e.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, e.version = "19.3.0";
-})), Sh = /* @__PURE__ */ F(((e, t) => {
+})), Kh = /* @__PURE__ */ F(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -8554,8 +8920,8 @@ var xh = /* @__PURE__ */ F(((e) => {
console.error(e);
}
}
- n(), t.exports = xh();
-})), Ch = /* @__PURE__ */ F(((e) => {
+ n(), t.exports = Gh();
+})), qh = /* @__PURE__ */ F(((e) => {
var t = ce();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -8593,47 +8959,47 @@ var xh = /* @__PURE__ */ F(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), wh = /* @__PURE__ */ F(((e, t) => {
- t.exports = Ch();
-})), Th = /* @__PURE__ */ ae(Sh(), 1), Eh = wh(), Dh = /*#__PURE__*/ (0, I.createContext)(!1), Oh = /*#__PURE__*/ (0, I.createContext)(null);
-function kh(e) {
- if ((0, I.useContext)(Oh)) return e.content;
- let { collection: t, document: n } = Nh(e.createCollection);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(vh, null, /*#__PURE__*/ I.createElement(Oh.Provider, { value: n }, e.content)), /*#__PURE__*/ I.createElement(Ah, {
+})), Jh = /* @__PURE__ */ F(((e, t) => {
+ t.exports = qh();
+})), Yh = /* @__PURE__ */ ae(Kh(), 1), Xh = Jh(), Zh = /*#__PURE__*/ (0, I.createContext)(!1), Qh = /*#__PURE__*/ (0, I.createContext)(null);
+function $h(e) {
+ if ((0, I.useContext)(Qh)) return e.content;
+ let { collection: t, document: n } = rg(e.createCollection);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(Hh, null, /*#__PURE__*/ I.createElement(Qh.Provider, { value: n }, e.content)), /*#__PURE__*/ I.createElement(eg, {
render: e.children,
collection: t
}));
}
-function Ah({ collection: e, render: t }) {
+function eg({ collection: e, render: t }) {
return t(e);
}
-function jh(e, t, n) {
- let r = cm(), i = (0, I.useRef)(r);
+function tg(e, t, n) {
+ let r = jm(), i = (0, I.useRef)(r);
i.current = r;
let a = (0, I.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Eh.useSyncExternalStore)(e, a);
+ return (0, Xh.useSyncExternalStore)(e, a);
}
-var Mh = typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore : jh;
-function Nh(e) {
- let [t] = (0, I.useState)(() => new Wf(e?.() || new Bf()));
+var ng = typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore : tg;
+function rg(e) {
+ let [t] = (0, I.useState)(() => new pp(e?.() || new lp()));
return {
- collection: Mh((0, I.useCallback)((e) => t.subscribe(e), [t]), (0, I.useCallback)(() => {
+ collection: ng((0, I.useCallback)((e) => t.subscribe(e), [t]), (0, I.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, I.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var Ph = /*#__PURE__*/ (0, I.createContext)(null);
-function Fh(e) {
- return class extends Ff {
+var ig = /*#__PURE__*/ (0, I.createContext)(null);
+function eee(e) {
+ return class extends ip {
static {
this.type = e;
}
};
}
-function Ih(e, t, n, r, i, a) {
- typeof e == "string" && (e = Fh(e));
+function ag(e, t, n, r, i, a) {
+ typeof e == "string" && (e = eee(e));
let o = (0, I.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -8642,81 +9008,81 @@ function Ih(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, I.useContext)(Ph);
+ ]), s = (0, I.useContext)(ig);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ I.createElement(Ph.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ I.createElement(ig.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ I.createElement(e.type, { ref: o }, i);
}
-function Lh(e, t) {
+function og(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, I.forwardRef)((r, i) => {
- let a = (0, I.useContext)(mh);
- if (!(0, I.useContext)(Dh)) {
+ let a = (0, I.useContext)(Rh);
+ if (!(0, I.useContext)(Zh)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Ih(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ I.createElement(mh.Provider, { value: a }, /*#__PURE__*/ I.createElement(n, { node: e })));
+ return ag(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ I.createElement(Rh.Provider, { value: a }, /*#__PURE__*/ I.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function Rh(e, t, n = zh) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, I.forwardRef)((t, i) => Ih(e, t, i, null, n(t), (e) => /*#__PURE__*/ I.createElement(r, { node: e })) ?? /*#__PURE__*/ I.createElement(I.Fragment, null));
+function sg(e, t, n = cg) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, I.forwardRef)((t, i) => ag(e, t, i, null, n(t), (e) => /*#__PURE__*/ I.createElement(r, { node: e })) ?? /*#__PURE__*/ I.createElement(I.Fragment, null));
return i.displayName = t.name, i;
}
-function zh(e) {
- return Gf({
+function cg(e) {
+ return mp({
...e,
addIdAndValue: !0
});
}
-var Bh = /*#__PURE__*/ (0, I.createContext)(null);
-function Vh(e) {
- let t = (0, I.useContext)(Bh), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = zh({
+var lg = /*#__PURE__*/ (0, I.createContext)(null);
+function ug(e) {
+ let t = (0, I.useContext)(lg), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = cg({
...e,
idScope: r,
dependencies: n
});
- return (0, I.useContext)(Oh) && (i = /*#__PURE__*/ I.createElement(Hh, null, i)), t = (0, I.useMemo)(() => ({
+ return (0, I.useContext)(Qh) && (i = /*#__PURE__*/ I.createElement(dg, null, i)), t = (0, I.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ I.createElement(Bh.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ I.createElement(lg.Provider, { value: t }, i);
}
-function Hh({ children: e }) {
- let t = (0, I.useContext)(Oh), n = (0, I.useMemo)(() => /*#__PURE__*/ I.createElement(Oh.Provider, { value: null }, /*#__PURE__*/ I.createElement(Dh.Provider, { value: !0 }, e)), [e]);
- return cm() ? /*#__PURE__*/ I.createElement(Ph.Provider, { value: t }, n) : /*#__PURE__*/ (0, Th.createPortal)(n, t);
+function dg({ children: e }) {
+ let t = (0, I.useContext)(Qh), n = (0, I.useMemo)(() => /*#__PURE__*/ I.createElement(Qh.Provider, { value: null }, /*#__PURE__*/ I.createElement(Zh.Provider, { value: !0 }, e)), [e]);
+ return jm() ? /*#__PURE__*/ I.createElement(ig.Provider, { value: t }, n) : /*#__PURE__*/ (0, Yh.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var Uh = "react-aria-clear-focus", Wh = "react-aria-focus";
+var tee = "react-aria-clear-focus", nee = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Gh(e) {
- let t = Jh(Qf(e));
- t !== e && (t && Kh(t, e), e && qh(e, t));
+function fg(e) {
+ let t = ree(xp(e));
+ t !== e && (t && pg(t, e), e && mg(e, t));
}
-function Kh(e, t) {
+function pg(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function qh(e, t) {
+function mg(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function Jh(e) {
- let t = lp(e), n = t?.getAttribute("aria-activedescendant");
+function ree(e) {
+ let t = Mp(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function Yh(e) {
- return jp() ? e.metaKey : e.ctrlKey;
+function hg(e) {
+ return em() ? e.metaKey : e.ctrlKey;
}
-var Xh = /* @__PURE__ */ new Set([
+var iee = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -8727,15 +9093,15 @@ var Xh = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Zh(e) {
- return e instanceof HTMLInputElement && !Xh.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function gg(e) {
+ return e instanceof HTMLInputElement && !iee.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Qh = I.useInsertionEffect ?? Sp;
-function $h(e) {
+var aee = I.useInsertionEffect ?? Gp;
+function _g(e) {
let t = (0, I.useRef)(null);
- return Qh(() => {
+ return aee(() => {
t.current = e;
}, [e]), (0, I.useCallback)((...e) => {
let n = t.current;
@@ -8744,10 +9110,10 @@ function $h(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function eg(e, t, n, r) {
- let i = $h(n), a = n == null;
+function vg(e, t, n, r) {
+ let i = _g(n), a = n == null;
(0, I.useEffect)(() => {
- if (!(a || e.current == null)) return ip(e.current, t, i, r);
+ if (!(a || e.current == null)) return Dp(e.current, t, i, r);
}, [
e,
t,
@@ -8757,9 +9123,9 @@ function eg(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function tg(e, t) {
+function yg(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Wm(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = mh(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
@@ -8767,7 +9133,7 @@ function tg(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var ng = /* @__PURE__ */ new Set([
+var bg = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -8778,7 +9144,7 @@ var ng = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), rg = /* @__PURE__ */ new Set([
+]), oee = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -8799,20 +9165,20 @@ var ng = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function ig(e) {
+function see(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 ng.has(t.script);
+ if (t.script) return bg.has(t.script);
}
let t = e.split("-")[0];
- return rg.has(t);
+ return oee.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var ag = Symbol.for("react-aria.i18n.locale");
-function og() {
- let e = typeof window < "u" && window[ag] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var xg = Symbol.for("react-aria.i18n.locale");
+function Sg() {
+ let e = typeof window < "u" && window[xg] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -8820,33 +9186,33 @@ function og() {
}
return {
locale: e,
- direction: ig(e) ? "rtl" : "ltr"
+ direction: see(e) ? "rtl" : "ltr"
};
}
-var sg = og(), cg = /* @__PURE__ */ new Set();
-function lg() {
- sg = og();
- for (let e of cg) e(sg);
+var Cg = Sg(), wg = /* @__PURE__ */ new Set();
+function Tg() {
+ Cg = Sg();
+ for (let e of wg) e(Cg);
}
-function eee() {
- let e = cm(), [t, n] = (0, I.useState)(sg);
- return (0, I.useEffect)(() => (cg.size === 0 && window.addEventListener("languagechange", lg), cg.add(n), () => {
- cg.delete(n), cg.size === 0 && window.removeEventListener("languagechange", lg);
+function cee() {
+ let e = jm(), [t, n] = (0, I.useState)(Cg);
+ return (0, I.useEffect)(() => (wg.size === 0 && window.addEventListener("languagechange", Tg), wg.add(n), () => {
+ wg.delete(n), wg.size === 0 && window.removeEventListener("languagechange", Tg);
}), []), e ? {
- locale: typeof window < "u" && window[ag] || "en-US",
+ locale: typeof window < "u" && window[xg] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var tee = /*#__PURE__*/ I.createContext(null);
-function ug() {
- let e = eee();
- return (0, I.useContext)(tee) || e;
+var lee = /*#__PURE__*/ I.createContext(null);
+function Eg() {
+ let e = cee();
+ return (0, I.useContext)(lee) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var dg = Symbol.for("react-aria.i18n.locale"), fg = Symbol.for("react-aria.i18n.strings"), pg = void 0, mg = class e {
+var Dg = Symbol.for("react-aria.i18n.locale"), Og = Symbol.for("react-aria.i18n.strings"), kg = void 0, Ag = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -8857,39 +9223,39 @@ var dg = Symbol.for("react-aria.i18n.locale"), fg = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = nee(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = jg(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[dg];
- if (pg === void 0) {
- let t = window[fg];
+ let n = window[Dg];
+ if (kg === void 0) {
+ let t = window[Og];
if (!t) return null;
- pg = {};
- for (let r in t) pg[r] = new e({ [n]: t[r] }, n);
+ kg = {};
+ for (let r in t) kg[r] = new e({ [n]: t[r] }, n);
}
- let r = pg?.[t];
+ let r = kg?.[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 nee(e, t, n = "en-US") {
+function jg(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = hg(e), i = gg(e);
+ let r = Mg(e), i = Ng(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 hg(e) {
+function Mg(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function gg(e) {
+function Ng(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var _g = /* @__PURE__ */ new Map(), vg = /* @__PURE__ */ new Map(), ree = class {
+var Pg = /* @__PURE__ */ new Map(), Fg = /* @__PURE__ */ new Map(), uee = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -8900,37 +9266,37 @@ var _g = /* @__PURE__ */ new Map(), vg = /* @__PURE__ */ new Map(), ree = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = _g.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), _g.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Pg.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Pg.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = vg.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), vg.set(this.locale, t)), t.format(e);
+ let t = Fg.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Fg.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, yg = /* @__PURE__ */ new WeakMap();
-function iee(e) {
- let t = yg.get(e);
- return t || (t = new mg(e), yg.set(e, t)), t;
+}, Ig = /* @__PURE__ */ new WeakMap();
+function dee(e) {
+ let t = Ig.get(e);
+ return t || (t = new Ag(e), Ig.set(e, t)), t;
}
-function aee(e, t) {
- return t && mg.getGlobalDictionaryForPackage(t) || iee(e);
+function fee(e, t) {
+ return t && Ag.getGlobalDictionaryForPackage(t) || dee(e);
}
-function bg(e, t) {
- let { locale: n } = ug(), r = aee(e, t);
- return (0, I.useMemo)(() => new ree(n, r), [n, r]);
+function Lg(e, t) {
+ let { locale: n } = Eg(), r = fee(e, t);
+ return (0, I.useMemo)(() => new uee(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var oee = /* @__PURE__ */ new Set(["id"]), see = /* @__PURE__ */ new Set([
+var pee = /* @__PURE__ */ new Set(["id"]), mee = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), cee = /* @__PURE__ */ new Set([
+]), hee = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -8938,71 +9304,71 @@ var oee = /* @__PURE__ */ new Set(["id"]), see = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), lee = /* @__PURE__ */ new Set([
+]), gee = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), xg = /* @__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(".")), uee = /^(data-.*)$/;
-function Sg(e, t = {}) {
+]), 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(".")), _ee = /^(data-.*)$/;
+function zg(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) && (oee.has(t) || n && see.has(t) || r && cee.has(t) || i && lee.has(t) || a && (xg.has(t) || t.endsWith("Capture") && xg.has(t.slice(0, -7))) || o?.has(t) || uee.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (pee.has(t) || n && mee.has(t) || r && hee.has(t) || i && gee.has(t) || a && (Rg.has(t) || t.endsWith("Capture") && Rg.has(t.slice(0, -7))) || o?.has(t) || _ee.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Cg = "default", wg = "", Tg = /* @__PURE__ */ new WeakMap();
-function dee(e) {
- if (Pp() && Ip()) {
- if (Cg === "default") {
- let t = Qf(e);
- wg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+var Bg = "default", Vg = "", Hg = /* @__PURE__ */ new WeakMap();
+function vee(e) {
+ if (rm() && am()) {
+ if (Bg === "default") {
+ let t = xp(e);
+ Vg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
}
- Cg = "disabled";
+ Bg = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Tg.set(e, e.style[t]), e.style[t] = "none";
+ Hg.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Eg(e) {
- if (Pp() && Ip()) {
- if (Cg !== "disabled") return;
- Cg = "restoring", setTimeout(() => {
- Im(() => {
- if (Cg === "restoring") {
- let t = Qf(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = wg || ""), wg = "", Cg = "default";
+function Ug(e) {
+ if (rm() && am()) {
+ if (Bg !== "disabled") return;
+ Bg = "restoring", setTimeout(() => {
+ oh(() => {
+ if (Bg === "restoring") {
+ let t = xp(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Vg || ""), Vg = "", Bg = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Tg.has(e)) {
- let t = Tg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Tg.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Hg.has(e)) {
+ let t = Hg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Hg.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function fee(e, t) {
- let n = $f(t), r = Qf(t);
+function yee(e, t) {
+ let n = Sp(t), r = xp(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var Dg = /* @__PURE__ */ new WeakMap();
-function Og(e) {
- let t = Qf(e), n = Dg.get(t);
- return n ??= fee("csp-nonce", t), n !== void 0 && Dg.set(t, n), n;
+var Wg = /* @__PURE__ */ new WeakMap();
+function Gg(e) {
+ let t = xp(e), n = Wg.get(t);
+ return n ??= yee("csp-nonce", t), n !== void 0 && Wg.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var kg = I.createContext({ register: () => {} });
-kg.displayName = "PressResponderContext";
+var Kg = I.createContext({ register: () => {} });
+Kg.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function Ag() {
+function qg() {
let e = (0, I.useRef)(/* @__PURE__ */ new Map()), t = (0, I.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -9029,15 +9395,15 @@ function Ag() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function pee(e) {
- let t = (0, I.useContext)(kg);
+function Jg(e) {
+ let t = (0, I.useContext)(Kg);
if (t) {
let { register: n, ref: r, ...i } = t;
e = H(i, e), n();
}
- return ph(t, e.ref), e;
+ return Lh(t, e.ref), e;
}
-var jg = class {
+var Yg = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -9050,9 +9416,9 @@ var jg = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Mg = Symbol("linkClicked"), Ng = "react-aria-pressable-style", Pg = "data-react-aria-pressable";
-function Fg(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 } = pee(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
+}, Xg = Symbol("linkClicked"), Zg = "react-aria-pressable-style", Qg = "data-react-aria-pressable";
+function $g(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 } = Jg(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -9062,12 +9428,12 @@ function Fg(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Ag(), y = (0, I.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = qg(), y = (0, I.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new jg("pressstart", t, e);
+ let n = new Yg("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -9081,11 +9447,11 @@ function Fg(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new jg("pressend", r, e);
+ let t = new Yg("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new jg("press", r, e);
+ let n = new Yg("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -9094,19 +9460,19 @@ function Fg(e) {
i,
n,
t
- ]), x = $h(b), S = $h((0, I.useCallback)((e, t) => {
+ ]), x = _g(b), S = _g((0, I.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new jg("pressup", t, e);
+ let r = new Yg("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, I.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(Rg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Eg(t.target);
+ t.didFirePressStart && t.pointerType != null && b(n_(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Ug(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -9114,7 +9480,7 @@ function Fg(e) {
d,
v,
b
- ]), w = $h(C);
+ ]), w = _g(C);
(0, I.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -9131,39 +9497,39 @@ function Fg(e) {
}, [s, o]), D = (0, I.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- wp(n, t), o(Cp(n));
+ qp(n, t), o(Kp(n));
}
}, [s, o]), O = (0, I.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (Lg(t.nativeEvent, t.currentTarget) && cp(t.currentTarget, V(t))) {
- Bg(V(t), t.key) && t.preventDefault();
+ if (t_(t.nativeEvent, t.currentTarget) && jp(t.currentTarget, V(t))) {
+ r_(V(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(Qf(t.currentTarget), "keyup", Rm((t) => {
- Lg(t, i) && !t.repeat && cp(i, V(t)) && e.target && S(Rg(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && jp() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(xp(t.currentTarget), "keyup", ch((t) => {
+ t_(t, i) && !t.repeat && jp(i, V(t)) && e.target && S(n_(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && em() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if (!(t && !cp(t.currentTarget, V(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Gp.isOpening) {
+ if (!(t && !jp(t.currentTarget, V(t))) && t && t.button === 0 && !e.isTriggeringEvent && !mm.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Bp(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || lm(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Rg(t.currentTarget, t), r), a = x(Rg(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(n_(t.currentTarget, t), r), a = x(n_(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && Lg(t, e.target)) {
- Bg(V(t), t.key) && t.preventDefault();
- let n = V(t), r = cp(e.target, n);
- x(Rg(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && Ig(e.target) && cp(e.target, n) && !t[Mg] && (t[Mg] = !0, Gp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && t_(t, e.target)) {
+ r_(V(t), t.key) && t.preventDefault();
+ let n = V(t), r = jp(e.target, n);
+ x(n_(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && e_(e.target) && jp(e.target, n) && !t[Xg] && (t[Xg] = !0, mm(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -9172,39 +9538,39 @@ function Fg(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !cp(t.currentTarget, V(t))) return;
- if (Vp(t.nativeEvent)) {
+ if (t.button !== 0 || !jp(t.currentTarget, V(t))) return;
+ if (um(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 || dee(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || vee(e.target), i = y(t, e.pointerType);
let a = V(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Qf(t.currentTarget), "pointerup", n, !1), _(Qf(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(xp(t.currentTarget), "pointerup", n, !1), _(xp(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (cp(t.currentTarget, V(t)) && t.button === 0) {
+ if (jp(t.currentTarget, V(t)) && t.button === 0) {
if (l) {
- let n = Dp(t.target);
+ let n = Xp(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- !cp(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ !jp(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Rg(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(n_(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Rg(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(n_(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (cp(e.target, V(t)) && e.pointerType != null) {
+ if (jp(e.target, V(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (qf(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (gp(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -9214,7 +9580,7 @@ function Fg(e) {
w(e);
};
t.onDragStart = (e) => {
- cp(e.currentTarget, V(e)) && w(e);
+ jp(e.currentTarget, V(e)) && w(e);
};
}
return t;
@@ -9231,14 +9597,14 @@ function Fg(e) {
]);
return (0, I.useEffect)(() => {
if (!f) return;
- let e = Qf(f.current);
- if (!e || !e.head || e.getElementById(Ng)) return;
+ let e = xp(f.current);
+ if (!e || !e.head || e.getElementById(Zg)) return;
let t = e.createElement("style");
- t.id = Ng;
- let n = Og(e);
+ t.id = Zg;
+ let n = Gg(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Pg}] {
+ [${Qg}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -9246,23 +9612,23 @@ function Fg(e) {
}, [f]), (0, I.useEffect)(() => {
let e = g.current;
return () => {
- d || Eg(e.target ?? void 0);
+ d || Ug(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: H(p, O, { [Pg]: !0 })
+ pressProps: H(p, O, { [Qg]: !0 })
};
}
-function Ig(e) {
+function e_(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function Lg(e, t) {
+function t_(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof $f(i).HTMLInputElement && !Hg(i, n) || i instanceof $f(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ig(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Sp(i).HTMLInputElement && !i_(i, n) || i instanceof Sp(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && e_(i)) && n !== "Enter");
}
-function Rg(e, t) {
+function n_(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -9275,13 +9641,13 @@ function Rg(e, t) {
key: t.key
};
}
-function zg(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ig(e);
+function bee(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !e_(e);
}
-function Bg(e, t) {
- return jp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Hg(e, t) : zg(e);
+function r_(e, t) {
+ return em() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !i_(e, t) : bee(e);
}
-var Vg = /* @__PURE__ */ new Set([
+var xee = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9292,12 +9658,12 @@ var Vg = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Hg(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Vg.has(e.type);
+function i_(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : xee.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function Ug(e, t) {
+function See(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -9319,7 +9685,7 @@ function Ug(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = Fg({
+ let { pressProps: _, isPressed: v } = $g({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -9329,9 +9695,9 @@ function Ug(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = gh(e, t);
+ }), { focusableProps: y } = Bh(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = H(y, _, Sg(e, { labelable: !0 }));
+ let b = H(y, _, zg(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: H(g, b, {
@@ -9346,7 +9712,7 @@ function Ug(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Wg = class {
+var Cee = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9371,7 +9737,7 @@ var Wg = class {
return this._currentNode;
}
set currentNode(e) {
- if (!cp(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!jp(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -9385,7 +9751,7 @@ var Wg = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return cp(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return jp(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -9449,45 +9815,45 @@ var Wg = class {
return null;
}
};
-function Gg(e, t, n, r) {
- return sp() ? new Wg(e, t, n, r) : e.createTreeWalker(t, n, r);
+function a_(e, t, n, r) {
+ return Ap() ? new Cee(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Kg = /*#__PURE__*/ I.createContext(null), qg = "react-aria-focus-scope-restore", Jg = null;
-function Yg(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(Kg) || {}, l = (0, I.useMemo)(() => new u_({ scopeRef: s }), [s]);
- Sp(() => {
- let e = c || d_.root;
- if (d_.getTreeNode(e.scopeRef) && Jg && !t_(Jg, e.scopeRef)) {
- let t = d_.getTreeNode(Jg);
+var o_ = /*#__PURE__*/ I.createContext(null), s_ = "react-aria-focus-scope-restore", c_ = null;
+function l_(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(o_) || {}, l = (0, I.useMemo)(() => new C_({ scopeRef: s }), [s]);
+ Gp(() => {
+ let e = c || w_.root;
+ if (w_.getTreeNode(e.scopeRef) && c_ && !h_(c_, e.scopeRef)) {
+ let t = w_.getTreeNode(c_);
t && (e = t);
}
- e.addChild(l), d_.addNode(l);
- }, [l, c]), Sp(() => {
- let e = d_.getTreeNode(s);
+ e.addChild(l), w_.addNode(l);
+ }, [l, c]), Gp(() => {
+ let e = w_.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), Sp(() => {
+ }, [n]), Gp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(qg, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(s_, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(qg, n);
+ for (let e of t) e.removeEventListener(s_, n);
};
- }, [t]), bee(s, r, n), _ee(s, n), o_(s, r, n), yee(s, i), (0, I.useEffect)(() => {
- let e = lp(Qf(s.current ? s.current[0] : void 0)), t = null;
- if ($g(e, s.current)) {
- for (let n of d_.traverse()) n.scopeRef && $g(e, n.scopeRef.current) && (t = n);
- t === d_.getTreeNode(s) && (Jg = t.scopeRef);
- }
- }, [s]), Sp(() => () => {
- let e = d_.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Jg || t_(s, Jg)) && (!e || d_.getTreeNode(e)) && (Jg = e), d_.removeTreeNode(s);
+ }, [t]), Aee(s, r, n), Dee(s, n), jee(s, r, n), kee(s, i), (0, I.useEffect)(() => {
+ let e = Mp(xp(s.current ? s.current[0] : void 0)), t = null;
+ if (p_(e, s.current)) {
+ for (let n of w_.traverse()) n.scopeRef && p_(e, n.scopeRef.current) && (t = n);
+ t === w_.getTreeNode(s) && (c_ = t.scopeRef);
+ }
+ }, [s]), Gp(() => () => {
+ let e = w_.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === c_ || h_(s, c_)) && (!e || w_.getTreeNode(e)) && (c_ = e), w_.removeTreeNode(s);
}, [s]);
- let u = (0, I.useMemo)(() => mee(s), []), d = (0, I.useMemo)(() => ({
+ let u = (0, I.useMemo)(() => wee(s), []), d = (0, I.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ I.createElement(Kg.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
+ return /*#__PURE__*/ I.createElement(o_.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -9497,154 +9863,154 @@ function Yg(e) {
ref: o
}));
}
-function mee(e) {
+function wee(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || lp(Qf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = c_(Xg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mp(xp(n[0] ?? void 0)), c = n[0].previousElementSibling, l = x_(u_(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = $g(s, n) ? s : c;
+ l.currentNode = p_(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && n_(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && g_(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || lp(Qf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = c_(Xg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Mp(xp(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = x_(u_(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = $g(s, n) ? s : c;
+ l.currentNode = p_(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && n_(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && g_(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = c_(Xg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = x_(u_(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && n_(o, !0), o;
+ return o && g_(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = c_(Xg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = x_(u_(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && n_(o, !0), o;
+ return o && g_(o, !0), o;
}
};
}
-function Xg(e) {
+function u_(e) {
return e[0].parentElement;
}
-function Zg(e) {
- let t = d_.getTreeNode(Jg);
+function d_(e) {
+ let t = w_.getTreeNode(c_);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function hee(e) {
- if (!e.form) return Array.from(Qf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = $f(e);
+function Tee(e) {
+ if (!e.form) return Array.from(xp(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = Sp(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function gee(e) {
+function Eee(e) {
if (e.checked) return !0;
- let t = hee(e);
+ let t = Tee(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function _ee(e, t) {
+function Dee(e, t) {
let n = (0, I.useRef)(void 0), r = (0, I.useRef)(void 0);
- Sp(() => {
+ Gp(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Qf(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Zg(e) || t.isComposing) return;
- let n = lp(a), r = e.current;
- if (!r || !$g(n, r)) return;
- let i = c_(Xg(r), { tabbable: !0 }, r);
+ let a = xp(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !d_(e) || t.isComposing) return;
+ let n = Mp(a), r = e.current;
+ if (!r || !p_(n, r)) return;
+ let i = x_(u_(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 && (n_(o, !0), o instanceof $f(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (g_(o, !0), o instanceof Sp(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Jg || t_(Jg, e)) && $g(V(t), e.current) ? (Jg = e, n.current = V(t)) : Zg(e) && !e_(V(t), e) ? n.current ? n_(n.current) : Jg && Jg.current && i_(Jg.current) : Zg(e) && (n.current = V(t));
+ (!c_ || h_(c_, e)) && p_(V(t), e.current) ? (c_ = e, n.current = V(t)) : d_(e) && !m_(V(t), e) ? n.current ? g_(n.current) : c_ && c_.current && v_(c_.current) : d_(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = Em(), i = (r === "virtual" || r === null) && Rp() && Lp(), o = lp(a);
- if (!i && o && Zg(e) && !e_(o, e)) {
- Jg = e;
+ let r = Ym(), i = (r === "virtual" || r === null) && sm() && om(), o = Mp(a);
+ if (!i && o && d_(e) && !m_(o, e)) {
+ c_ = e;
let r = V(t);
- r && r.isConnected ? (n.current = r, n_(n.current)) : Jg.current && i_(Jg.current);
+ r && r.isConnected ? (n.current = r, g_(n.current)) : c_.current && v_(c_.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]), Sp(() => () => {
+ }, [e, t]), Gp(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Qg(e) {
- return e_(e);
+function f_(e) {
+ return m_(e);
}
-function $g(e, t) {
- return !e || !t ? !1 : t.some((t) => cp(t, e));
+function p_(e, t) {
+ return !e || !t ? !1 : t.some((t) => jp(t, e));
}
-function e_(e, t = null) {
+function m_(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of d_.traverse(d_.getTreeNode(t))) if (n && $g(e, n.current)) return !0;
+ for (let { scopeRef: n } of w_.traverse(w_.getTreeNode(t))) if (n && p_(e, n.current)) return !0;
return !1;
}
-function vee(e) {
- return e_(e, Jg);
+function Oee(e) {
+ return m_(e, c_);
}
-function t_(e, t) {
- let n = d_.getTreeNode(t)?.parent;
+function h_(e, t) {
+ let n = w_.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function n_(e, t = !1) {
+function g_(e, t = !1) {
if (e != null && !t) try {
- Lm(e);
+ sh(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function r_(e, t = !0) {
- let n = e[0].previousElementSibling, r = Xg(e), i = c_(r, { tabbable: t }, e);
+function __(e, t = !0) {
+ let n = e[0].previousElementSibling, r = u_(e), i = x_(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Xg(e), i = c_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = u_(e), i = x_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function i_(e, t = !0) {
- n_(r_(e, t));
+function v_(e, t = !0) {
+ g_(__(e, t));
}
-function yee(e, t) {
+function kee(e, t) {
let n = I.useRef(t);
(0, I.useEffect)(() => {
- n.current && (Jg = e, !$g(lp(Qf(e.current ? e.current[0] : void 0)), Jg.current) && e.current && i_(e.current)), n.current = !1;
+ n.current && (c_ = e, !p_(Mp(xp(e.current ? e.current[0] : void 0)), c_.current) && e.current && v_(e.current)), n.current = !1;
}, [e]);
}
-function bee(e, t, n) {
- Sp(() => {
+function Aee(e, t, n) {
+ Gp(() => {
if (t || n) return;
- let r = e.current, i = Qf(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = xp(r ? r[0] : void 0), a = (t) => {
let n = V(t);
- $g(n, e.current) ? Jg = e : Qg(n) || (Jg = null);
+ p_(n, e.current) ? c_ = e : f_(n) || (c_ = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9655,43 +10021,43 @@ function bee(e, t, n) {
n
]);
}
-function a_(e) {
- let t = d_.getTreeNode(Jg);
+function y_(e) {
+ let t = w_.getTreeNode(c_);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function o_(e, t, n) {
- let r = (0, I.useRef)(typeof document < "u" ? lp(Qf(e.current ? e.current[0] : void 0)) : null);
- Sp(() => {
- let r = e.current, i = Qf(r ? r[0] : void 0);
+function jee(e, t, n) {
+ let r = (0, I.useRef)(typeof document < "u" ? Mp(xp(e.current ? e.current[0] : void 0)) : null);
+ Gp(() => {
+ let r = e.current, i = xp(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Jg || t_(Jg, e)) && $g(lp(i), e.current) && (Jg = e);
+ (!c_ || h_(c_, e)) && p_(Mp(i), e.current) && (c_ = 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]), Sp(() => {
- let r = Qf(e.current ? e.current[0] : void 0);
+ }, [e, n]), Gp(() => {
+ let r = xp(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Zg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !d_(e) || t.isComposing) return;
let n = r.activeElement;
- if (!e_(n, e) || !a_(e)) return;
- let i = d_.getTreeNode(e);
+ if (!m_(n, e) || !y_(e)) return;
+ let i = w_.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = c_(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = x_(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 || !e_(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !m_(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (e_(s, e));
- t.preventDefault(), t.stopPropagation(), s ? n_(s, !0) : Qg(a) ? n_(a, !0) : n.blur();
+ while (m_(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? g_(s, !0) : f_(a) ? g_(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -9701,31 +10067,31 @@ function o_(e, t, n) {
e,
t,
n
- ]), Sp(() => {
- let n = Qf(e.current ? e.current[0] : void 0);
+ ]), Gp(() => {
+ let n = xp(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = d_.getTreeNode(e);
+ let i = w_.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = d_.getTreeNode(e);
+ let r = w_.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = lp(n);
- if (t && i && (a && e_(a, e) || a === n.body && a_(e))) {
- let t = d_.clone();
+ let i = r.nodeToRestore, a = Mp(n);
+ if (t && i && (a && m_(a, e) || a === n.body && y_(e))) {
+ let t = w_.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- s_(n.nodeToRestore);
+ b_(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && d_.getTreeNode(n.scopeRef)) {
- let e = r_(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && w_.getTreeNode(n.scopeRef)) {
+ let e = __(n.scopeRef.current, !0);
if (e) {
- s_(e);
+ b_(e);
return;
}
}
@@ -9737,21 +10103,21 @@ function o_(e, t, n) {
};
}, [e, t]);
}
-function s_(e) {
- e.dispatchEvent(new CustomEvent(qg, {
+function b_(e) {
+ e.dispatchEvent(new CustomEvent(s_, {
bubbles: !0,
cancelable: !0
- })) && n_(e);
+ })) && g_(e);
}
-function c_(e, t, n) {
- let r = t?.tabbable ? bp : yp, i = Qf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Gg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return cp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!gee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || $g(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function x_(e, t, n) {
+ let r = t?.tabbable ? Up : Hp, i = xp(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = a_(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return jp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Eee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || p_(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var l_ = class e {
+var S_ = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new u_({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new C_({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -9762,7 +10128,7 @@ var l_ = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new u_({ scopeRef: e });
+ let i = new C_({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -9773,7 +10139,7 @@ var l_ = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && $g(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && p_(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -9785,7 +10151,7 @@ var l_ = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, u_ = class {
+}, C_ = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -9795,13 +10161,13 @@ var l_ = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, d_ = new l_(), f_ = 7e3, p_ = null;
-function m_(e, t = "assertive", n = f_) {
- p_ ? p_.announce(e, t, n) : (p_ = new xee(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? p_.announce(e, t, n) : setTimeout(() => {
- p_?.isAttached() && p_?.announce(e, t, n);
+}, w_ = new S_(), T_ = 7e3, E_ = null;
+function D_(e, t = "assertive", n = T_) {
+ E_ ? E_.announce(e, t, n) : (E_ = new O_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? E_.announce(e, t, n) : setTimeout(() => {
+ E_?.isAttached() && E_?.announce(e, t, n);
}, 100));
}
-var xee = class {
+var O_ = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -9826,7 +10192,7 @@ var xee = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = f_) {
+ announce(e, t = "assertive", n = T_) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -9839,8 +10205,8 @@ var xee = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function h_(e, t) {
- let n = (0, I.useRef)(!0), r = (0, I.useRef)(null), i = $h(e);
+function k_(e, t) {
+ let n = (0, I.useRef)(!0), r = (0, I.useRef)(null), i = _g(e);
(0, I.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, I.useEffect)(() => {
@@ -9850,33 +10216,33 @@ function h_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function g_(e, t) {
+function A_(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 __(e, t) {
+function j_(e, t) {
let n = e;
- for (g_(n, t) && (n = n.parentElement); n && !g_(n, t);) n = n.parentElement;
+ for (A_(n, t) && (n = n.parentElement); n && !A_(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function v_(e, t) {
+function M_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (g_(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (A_(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function y_(e, t, n = {}) {
- e !== t && See(e, t, t.getBoundingClientRect(), n);
+function N_(e, t, n = {}) {
+ e !== t && Mee(e, t, t.getBoundingClientRect(), n);
}
-function See(e, t, n, r = {}) {
+function Mee(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, F = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
- Pp() && Ip() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);
+ rm() && am() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);
let ae = k < ne || A > F, oe = j < re || M > ie;
if (ae && i === "start") o += k - ne;
else if (ae && i === "center") o += (k + A) / 2 - (ne + F) / 2;
@@ -9897,7 +10263,7 @@ function See(e, t, n, r = {}) {
top: o
});
}
-function b_(e, t = {}) {
+function P_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -9910,47 +10276,47 @@ function b_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = v_(e, !0);
- for (let t of i) y_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = M_(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 ? v_(n, !0) : [];
- for (let e of i) y_(e, n, {
+ i = n ? M_(n, !0) : [];
+ for (let e of i) N_(e, n, {
block: "center",
inline: "center"
});
- for (let t of v_(e, !0)) y_(t, e);
+ for (let t of M_(e, !0)) N_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Cee = 0, x_ = /* @__PURE__ */ new Map();
-function S_(e) {
+var Nee = 0, F_ = /* @__PURE__ */ new Map();
+function I_(e) {
let [t, n] = (0, I.useState)();
- return Sp(() => {
+ return Gp(() => {
if (!e) return;
- let t = x_.get(e);
+ let t = F_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Cee++}`;
+ let r = `react-aria-description-${Nee++}`;
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
- }, x_.set(e, t);
+ }, F_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), x_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), F_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function C_(e, t, n) {
- let r = $h((e) => {
+function L_(e, t, n) {
+ let r = _g((e) => {
n && !e.defaultPrevented && n(t);
});
(0, I.useEffect)(() => {
@@ -9962,21 +10328,21 @@ function C_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function w_(e, t, n) {
+function R_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- Sp(() => {
+ Gp(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Tee(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Fee(n.current));
}
});
- let a = (0, I.useRef)(!1), o = $h(() => {
+ let a = (0, I.useRef)(!1), o = _g(() => {
a.current || t.resetValidation();
- }), s = $h((e) => {
+ }), s = _g((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Eee(r) === n.current && (i ? i() : n.current?.focus(), Dm("keyboard")), e.preventDefault();
- }), c = $h(() => {
+ !e.defaultPrevented && n && r && Iee(r) === n.current && (i ? i() : n.current?.focus(), Xm("keyboard")), e.preventDefault();
+ }), c = _g(() => {
t.commitValidation();
});
(0, I.useEffect)(() => {
@@ -9990,7 +10356,7 @@ function w_(e, t, n) {
};
}, [n, r]);
}
-function wee(e) {
+function Pee(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -10006,14 +10372,14 @@ function wee(e) {
valid: t.valid
};
}
-function Tee(e) {
+function Fee(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: wee(e),
+ validationDetails: Pee(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Eee(e) {
+function Iee(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -10022,16 +10388,16 @@ function Eee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Dee(e = !0) {
+function Lee(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return Sp(() => {
+ return Gp(() => {
r.current || n(!1);
}, []), [i, t];
}
-function T_(e = !0) {
- let t = Wm(), [n, r] = Dee(e);
+function z_(e = !0) {
+ let t = mh(), [n, r] = Lee(e);
return {
id: r ? t : void 0,
ref: n
@@ -10039,7 +10405,7 @@ function T_(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var E_ = {
+var B_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -10051,18 +10417,18 @@ var E_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, D_ = {
- ...E_,
+}, V_ = {
+ ...B_,
customError: !0,
valid: !1
-}, O_ = {
+}, H_ = {
isInvalid: !1,
- validationDetails: E_,
+ validationDetails: B_,
validationErrors: []
-}, Oee = (0, I.createContext)({}), k_ = "__reactAriaFormValidationState";
-function A_(e) {
+}, Ree = (0, I.createContext)({}), U_ = "__reactAriaFormValidationState";
+function W_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[k_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[U_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10071,71 +10437,71 @@ function A_(e) {
commitValidation: a
};
}
- return kee(e);
+ return zee(e);
}
-function kee(e) {
+function zee(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: D_
- }, l = (0, I.useMemo)(() => !o || i == null ? null : M_(Aee(o, i)), [o, i]);
+ validationDetails: V_
+ }, l = (0, I.useMemo)(() => !o || i == null ? null : K_(Bee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, I.useContext)(Oee), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => j_(u[e])) : j_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
+ let u = (0, I.useContext)(Ree), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => G_(u[e])) : G_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, I.useMemo)(() => M_(m ? [] : d), [m, d]), _ = (0, I.useRef)(O_), [v, y] = (0, I.useState)(O_), b = (0, I.useRef)(O_), x = () => {
+ let g = (0, I.useMemo)(() => K_(m ? [] : d), [m, d]), _ = (0, I.useRef)(H_), [v, y] = (0, I.useState)(H_), b = (0, I.useRef)(H_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- N_(e, b.current) || (b.current = e, y(e));
+ q_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, I.useState)(!1);
return (0, I.useEffect)(x), {
- realtimeValidation: c || g || l || a || O_,
+ realtimeValidation: c || g || l || a || H_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !N_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !q_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = O_;
- N_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = H_;
+ q_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function j_(e) {
+function G_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Aee(e, t) {
+function Bee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return j_(n);
+ if (n && typeof n != "boolean") return G_(n);
}
return [];
}
-function M_(e) {
+function K_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: D_
+ validationDetails: V_
} : null;
}
-function N_(e, t) {
+function q_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function P_(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 = A_({
+function J_(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 = W_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- w_(e, b, n);
+ R_(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(V(e).checked);
- }, { pressProps: T, isPressed: E } = Fg({
+ }, { pressProps: T, isPressed: E } = $g({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -10143,7 +10509,7 @@ function P_(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, I.useState)(!1), { pressProps: k } = Fg({
+ }), [D, O] = (0, I.useState)(!1), { pressProps: k } = $g({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -10172,13 +10538,13 @@ function P_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [k_]: i } = e, { commitValidation: a } = i || b;
+ let { [U_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = gh(e, n), j = H(T, A), M = Sg(e, { labelable: !0 });
- C_(n, t.defaultSelected, t.setSelected);
- let N = T_(), ee = T_();
+ }), { focusableProps: A } = Bh(e, n), j = H(T, A), M = zg(e, { labelable: !0 });
+ L_(n, t.defaultSelected, t.setSelected);
+ let N = z_(), ee = z_();
return {
labelProps: H(k, { onClick: (e) => e.preventDefault() }),
inputProps: H(M, {
@@ -10215,8 +10581,8 @@ function P_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function F_(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 } = P_(e, t, n), { isIndeterminate: m } = e;
+function Y_(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 } = J_(e, t, n), { isIndeterminate: m } = e;
return (0, I.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -10235,18 +10601,18 @@ function F_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var jee = /* @__PURE__ */ new WeakMap();
+var Vee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function I_(e) {
+function X_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Wm(t);
- let o = Wm(), s = {};
+ t = mh(t);
+ let o = mh(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = tg({
+ let c = yg({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -10258,13 +10624,13 @@ function I_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function L_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = I_(e), s = Km([
+function Z_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = X_(e), s = gh([
!!t,
!!n,
r,
i
- ]), c = Km([
+ ]), c = gh([
!!t,
!!n,
r,
@@ -10283,26 +10649,26 @@ function L_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function R_(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Ag(), c = (0, I.useCallback)((e) => {
- cp(e.currentTarget, V(e)) && a.current.isFocusWithin && !cp(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function Q_(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = qg(), c = (0, I.useCallback)((e) => {
+ jp(e.currentTarget, V(e)) && a.current.isFocusWithin && !jp(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = Tp(c), u = (0, I.useCallback)((e) => {
- if (!cp(e.currentTarget, V(e))) return;
- let t = V(e), n = Qf(t), s = lp(n);
+ ]), l = Jp(c), u = (0, I.useCallback)((e) => {
+ if (!jp(e.currentTarget, V(e))) return;
+ let t = V(e), n = xp(t), s = Mp(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
let r = V(e);
- if (a.current.isFocusWithin && !cp(t, r)) {
+ if (a.current.isFocusWithin && !jp(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- wp(e, t);
- let i = Cp(e);
+ qp(e, t);
+ let i = Kp(e);
c(i);
}
}, { capture: !0 });
@@ -10324,14 +10690,14 @@ function R_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var z_ = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
-function B_(e, t, n) {
+var Hee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
+function $_(e, t, n) {
let [r, i] = (0, I.useState)(e || t), a = (0, I.useRef)(r), o = (0, I.useRef)(e !== void 0), s = e !== void 0;
(0, I.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- z_(() => {
+ Hee(() => {
a.current = c;
});
let [, l] = (0, I.useReducer)(() => ({}), {});
@@ -10342,8 +10708,8 @@ function B_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function V_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = B_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
+function ev(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = $_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
function a(e) {
t || r(e);
}
@@ -10359,26 +10725,26 @@ function V_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function H_(e, t, n) {
- let r = V_({
+function Uee(e, t, n) {
+ let r = ev({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = jee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Vee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = A_({
+ let { realtimeValidation: l } = W_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, I.useRef)(O_), d = () => {
+ }), u = (0, I.useRef)(H_), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, I.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = F_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Y_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10386,7 +10752,7 @@ function H_(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [k_]: {
+ [U_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10410,12 +10776,12 @@ function H_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function U_(e, t = -Infinity, n = Infinity) {
+function tv(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 W_ = {
+var nv = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10427,38 +10793,38 @@ var W_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function G_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = R_({
+function rv(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = Q_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, I.useMemo)(() => r ? t : t ? {
- ...W_,
+ ...nv,
...t
- } : W_, [r]);
+ } : nv, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function K_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = G_(e);
+function iv(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = rv(e);
return /*#__PURE__*/ I.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function q_(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = B_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = gh(e, t), d = A_({
+function Wee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = $_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Bh(e, t), d = W_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = L_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Z_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Sg(e, { labelable: !0 }), b = {
+ }), y = zg(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, I.useState)(c);
- return C_(t, e.defaultValue ?? x, l), w_(e, d, t), {
+ return L_(t, e.defaultValue ?? x, l), R_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10505,42 +10871,42 @@ function q_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var J_ = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function Y_(e) {
+var Gee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function av(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var X_ = /* @__PURE__ */ new WeakMap(), Z_ = [];
-function Q_(e, t) {
- let n = $f(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && J_, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var ov = /* @__PURE__ */ new WeakMap(), sv = [];
+function cv(e, t) {
+ let n = Sp(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Gee, 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 (sp()) {
+ if (Ap()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; rp(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; Ep(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (cp(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (jp(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Gg(Qf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = a_(xp(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = X_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), X_.set(e, t + 1));
+ let t = ov.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ov.set(e, t + 1));
};
- Z_.length && Z_[Z_.length - 1].disconnect(), d(i);
+ sv.length && sv[sv.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) => cp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
- if (sp()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => jp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && av(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Ap()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -10553,11 +10919,11 @@ function Q_(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (sp()) for (let e of u) {
+ if (Ap()) 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) => cp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
- if (sp()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => jp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && av(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Ap()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -10583,59 +10949,59 @@ function Q_(e, t) {
p.disconnect();
}
};
- return Z_.push(h), () => {
- if (p.disconnect(), sp()) for (let e of m) e.disconnect();
+ return sv.push(h), () => {
+ if (p.disconnect(), Ap()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = X_.get(e);
- t != null && (t === 1 ? (l(e, !1), X_.delete(e)) : X_.set(e, t - 1));
+ let t = ov.get(e);
+ t != null && (t === 1 ? (l(e, !1), ov.delete(e)) : ov.set(e, t - 1));
}
- h === Z_[Z_.length - 1] ? (Z_.pop(), Z_.length && Z_[Z_.length - 1].observe()) : Z_.splice(Z_.indexOf(h), 1);
+ h === sv[sv.length - 1] ? (sv.pop(), sv.length && sv[sv.length - 1].observe()) : sv.splice(sv.indexOf(h), 1);
};
}
-function Mee(e) {
- let t = Z_[Z_.length - 1];
+function Kee(e) {
+ let t = sv[sv.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var $_ = /* @__PURE__ */ new WeakMap();
-function Nee(e) {
+var lv = /* @__PURE__ */ new WeakMap();
+function uv(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Pee(e, t) {
- let n = $_.get(e);
+function dv(e, t) {
+ let n = lv.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Nee(t)}`;
+ return `${n.id}-option-${uv(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function ev(e) {
- return Fp() ? e.altKey : e.ctrlKey;
+function fv(e) {
+ return im() ? e.altKey : e.ctrlKey;
}
-function tv(e, t) {
+function pv(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var nv = /* @__PURE__ */ new WeakMap();
-function Fee(e) {
- let t = Wm();
- return nv.set(e, t), t;
+var mv = /* @__PURE__ */ new WeakMap();
+function hv(e) {
+ let t = mh();
+ return mv.set(e, t), t;
}
-function Iee(e) {
- return nv.get(e);
+function gv(e) {
+ return mv.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var rv = class {
+var _v = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : tv(this.ref, e);
+ let n = e == null ? null : pv(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -10661,12 +11027,12 @@ var rv = class {
height: e?.clientHeight ?? 0
};
}
-}, iv = class {
+}, vv = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new rv(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new rv(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new _v(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 _v(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -10706,14 +11072,14 @@ var rv = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = tv(this.ref, e);
+ let t = this.getNextKey(e), n = pv(this.ref, e);
if (t != null) {
- let e = tv(this.ref, t);
+ let e = pv(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = tv(this.ref, r);
+ let e = pv(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -10747,7 +11113,7 @@ var rv = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !g_(t)) return this.getFirstKey();
+ if (t && !A_(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -10762,7 +11128,7 @@ var rv = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !g_(t)) return this.getLastKey();
+ if (t && !A_(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -10785,184 +11151,184 @@ var rv = class {
}
return null;
}
-}, av = {};
-av = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, yv = {};
+yv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var ov = {};
-ov = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var bv = {};
+bv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var sv = {};
-sv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var xv = {};
+xv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var cv = {};
-cv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Sv = {};
+Sv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var lv = {};
-lv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Cv = {};
+Cv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var uv = {};
-uv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var wv = {};
+wv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var dv = {};
-dv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var Tv = {};
+Tv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var fv = {};
-fv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Ev = {};
+Ev = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var pv = {};
-pv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Dv = {};
+Dv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var mv = {};
-mv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Ov = {};
+Ov = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var hv = {};
-hv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var kv = {};
+kv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var gv = {};
-gv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Av = {};
+Av = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var _v = {};
-_v = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var jv = {};
+jv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var vv = {};
-vv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Mv = {};
+Mv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var yv = {};
-yv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Nv = {};
+Nv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var bv = {};
-bv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Pv = {};
+Pv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var xv = {};
-xv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Fv = {};
+Fv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Sv = {};
-Sv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Iv = {};
+Iv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Cv = {};
-Cv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Lv = {};
+Lv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var wv = {};
-wv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Rv = {};
+Rv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Tv = {};
-Tv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var zv = {};
+zv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var Ev = {};
-Ev = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Bv = {};
+Bv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var Dv = {};
-Dv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Vv = {};
+Vv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var Ov = {};
-Ov = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Hv = {};
+Hv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var kv = {};
-kv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Uv = {};
+Uv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var Av = {};
-Av = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Wv = {};
+Wv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var jv = {};
-jv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Gv = {};
+Gv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Mv = {};
-Mv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Kv = {};
+Kv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var Nv = {};
-Nv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var qv = {};
+qv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Pv = {};
-Pv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Jv = {};
+Jv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Fv = {};
-Fv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Yv = {};
+Yv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Iv = {};
-Iv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Xv = {};
+Xv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Lv = {};
-Lv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Zv = {};
+Zv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Rv = {};
-Rv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Qv = {};
+Qv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var zv = {};
-zv = {
- "ar-AE": av,
- "bg-BG": ov,
- "cs-CZ": sv,
- "da-DK": cv,
- "de-DE": lv,
- "el-GR": uv,
- "en-US": dv,
- "es-ES": fv,
- "et-EE": pv,
- "fi-FI": mv,
- "fr-FR": hv,
- "he-IL": gv,
- "hr-HR": _v,
- "hu-HU": vv,
- "it-IT": yv,
- "ja-JP": bv,
- "ko-KR": xv,
- "lt-LT": Sv,
- "lv-LV": Cv,
- "nb-NO": wv,
- "nl-NL": Tv,
- "pl-PL": Ev,
- "pt-BR": Dv,
- "pt-PT": Ov,
- "ro-RO": kv,
- "ru-RU": Av,
- "sk-SK": jv,
- "sl-SI": Mv,
- "sr-SP": Nv,
- "sv-SE": Pv,
- "tr-TR": Fv,
- "uk-UA": Iv,
- "zh-CN": Lv,
- "zh-TW": Rv
+var $v = {};
+$v = {
+ "ar-AE": yv,
+ "bg-BG": bv,
+ "cs-CZ": xv,
+ "da-DK": Sv,
+ "de-DE": Cv,
+ "el-GR": wv,
+ "en-US": Tv,
+ "es-ES": Ev,
+ "et-EE": Dv,
+ "fi-FI": Ov,
+ "fr-FR": kv,
+ "he-IL": Av,
+ "hr-HR": jv,
+ "hu-HU": Mv,
+ "it-IT": Nv,
+ "ja-JP": Pv,
+ "ko-KR": Fv,
+ "lt-LT": Iv,
+ "lv-LV": Lv,
+ "nb-NO": Rv,
+ "nl-NL": zv,
+ "pl-PL": Bv,
+ "pt-BR": Vv,
+ "pt-PT": Hv,
+ "ro-RO": Uv,
+ "ru-RU": Wv,
+ "sk-SK": Gv,
+ "sl-SI": Kv,
+ "sr-SP": qv,
+ "sv-SE": Jv,
+ "tr-TR": Yv,
+ "uk-UA": Xv,
+ "zh-CN": Zv,
+ "zh-TW": Qv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Bv = 500;
-function Vv(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Bv, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Ag(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Fg({
+var qee = 500;
+function ey(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = qee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = qg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = $g({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -10970,12 +11336,12 @@ function Vv(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Qf(e.target).activeElement !== e.target && qf(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), xp(e.target).activeElement !== e.target && gp(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 = $f(e.target);
+ let t = Sp(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -10990,12 +11356,12 @@ function Vv(e) {
});
}
});
- return { longPressProps: H(f, S_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, I_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Hv(e) {
- let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = Vv({
+function Jee(e) {
+ let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = ey({
onLongPressStart() {
n.current = !1;
},
@@ -11007,7 +11373,7 @@ function Hv(e) {
});
}
});
- return t ? { contextMenuProps: H(Pp() ? r : {}, {
+ return t ? { contextMenuProps: H(rm() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -11018,7 +11384,7 @@ function Hv(e) {
});
},
onKeyDown(e) {
- if (jp() && e.ctrlKey && e.key === "Enter") {
+ if (em() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -11038,13 +11404,13 @@ function Hv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Uv = /* @__PURE__ */ new WeakMap();
-function Wv(e) {
+var ty = /* @__PURE__ */ new WeakMap();
+function Yee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, I.useEffect)(() => !n || r === null ? void 0 : ip(up(t.current), "scroll", (e) => {
+ (0, I.useEffect)(() => !n || r === null ? void 0 : Dp(Np(t.current), "scroll", (e) => {
let n = V(e);
- if (!t.current || n instanceof Node && !cp(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Uv.get(t.current);
+ if (!t.current || n instanceof Node && !jp(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || ty.get(t.current);
i && i();
}, !0), [
n,
@@ -11054,14 +11420,14 @@ function Wv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Gv(e, t, n) {
+function Xee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, I.useEffect)(() => {
- n && n.current && Uv.set(n.current, t.close);
+ n && n.current && ty.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Wm();
+ let o = mh();
return {
triggerProps: {
"aria-haspopup": a,
@@ -11074,14 +11440,14 @@ function Gv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Lee(e) {
+function Zee(e) {
return e && e.__esModule ? e.default : e;
}
-function Kv(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Wm(), { triggerProps: s, overlayProps: c } = Gv({ type: r }, t, n), l = (e, n, r = "first") => {
+function ny(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = mh(), { triggerProps: s, overlayProps: c } = Xee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = dh({
+ }, { keyboardProps: u } = Fh({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -11093,7 +11459,7 @@ function Kv(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = bg(Lee(zv), "@react-aria/menu"), { longPressProps: f } = Vv({
+ }), d = Lg(Zee($v), "@react-aria/menu"), { longPressProps: f } = ey({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11105,14 +11471,14 @@ function Kv(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (qf(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (gp(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (qf(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (gp(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = Hv({ onContextMenu(e) {
+ let { contextMenuProps: m } = Jee({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11157,8 +11523,8 @@ function Kv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var qv = 1e3;
-function Jv(e) {
+var ry = 1e3;
+function iy(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, I.useRef)({
search: "",
timeout: void 0
@@ -11177,12 +11543,12 @@ function Jv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, qv);
+ }, ry);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Ree(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !cp(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Qee(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !jp(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -11193,34 +11559,34 @@ function Jv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, qv);
+ }, ry);
}
} : void 0
} };
}
-function Ree(e) {
+function Qee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Yv(e, t) {
+function ay(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null);
- Sp(() => (n.current = !0, () => {
+ Gp(() => (n.current = !0, () => {
n.current = !1;
- }), []), Sp(() => {
+ }), []), Gp(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Xv(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 } = ug(), _ = Up(), v = (e, n, i) => {
+function oy(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 } = Eg(), _ = fm(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !ev(e)) {
- (0, Th.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !fv(e)) {
+ (0, Yh.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = tv(r, n), o = t.getItemProps(n);
+ let a = pv(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11232,7 +11598,7 @@ function Xv(e) {
t.extendSelection(n);
return;
}
- if (l && !ev(e)) {
+ if (l && !fv(e)) {
t.replaceSelection(n);
return;
}
@@ -11259,9 +11625,9 @@ function Xv(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Yh(e));
+ let r = n.getFirstKey(t.focusedKey, hg(e));
if (t.setFocusedKey(r), r != null) {
- if (Yh(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (hg(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -11293,9 +11659,9 @@ function Xv(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Yh(e));
+ let r = n.getLastKey(t.focusedKey, hg(e));
if (t.setFocusedKey(r), r != null) {
- if (Yh(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (hg(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -11332,12 +11698,12 @@ function Xv(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = c_(r.current, { tabbable: !0 }), t, n;
+ let e = x_(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = lp();
- t && (!dp(t) || i && !bp(i)) && qf(t);
+ let i = Mp();
+ t && (!Pp(t) || i && !Up(i)) && gp(t);
}
return {
shouldContinuePropagation: !0,
@@ -11347,11 +11713,11 @@ function Xv(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [jp() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [em() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [jp() ? e + "+Alt" : e + "+Control"]: t,
+ [em() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = dh({
+ }), { keyboardProps: M } = Fh({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -11361,7 +11727,7 @@ function Xv(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: N } = dh({ shortcuts: {
+ }), { keyboardProps: N } = Fh({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -11372,7 +11738,7 @@ function Xv(e) {
top: 0,
left: 0
});
- eg(p, "scroll", () => {
+ vg(p, "scroll", () => {
ee.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -11380,11 +11746,11 @@ function Xv(e) {
});
let te = (e) => {
if (t.isFocused) {
- cp(e.currentTarget, V(e)) || t.setFocused(!1);
+ jp(e.currentTarget, V(e)) || t.setFocused(!1);
return;
}
- if (!cp(e.currentTarget, V(e))) return;
- let i = Em();
+ if (!jp(e.currentTarget, V(e))) return;
+ let i = Ym();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -11395,27 +11761,27 @@ function Xv(e) {
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 = ee.current.top, p.current.scrollLeft = ee.current.left);
if (t.focusedKey != null && p.current) {
- let e = tv(r, t.focusedKey);
- e instanceof HTMLElement && (!dp(e) && !d && qf(e), (i === "keyboard" || h && i === "virtual") && b_(e, { containingElement: r.current }));
+ let e = pv(r, t.focusedKey);
+ e instanceof HTMLElement && (!Pp(e) && !d && gp(e), (i === "keyboard" || h && i === "virtual") && P_(e, { containingElement: r.current }));
}
}, P = (e) => {
- cp(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ jp(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, ne = (0, I.useRef)(!1);
- eg(r, Wh, d ? (e) => {
+ vg(r, nee, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let F = n.getFirstKey?.() ?? null;
- Yv(() => {
+ ay(() => {
if (ne.current) {
if (F == null) {
- let e = lp();
- Gh(r.current), qh(e, null), t.collection.size > 0 && (ne.current = !1);
+ let e = Mp();
+ fg(r.current), mg(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(F), ne.current = !1;
}
- }, [F, t.collection.size]), Yv(() => {
+ }, [F, t.collection.size]), ay(() => {
t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), eg(r, Uh, d ? (e) => {
+ }, [t.focusedKey]), vg(r, tee, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let re = (0, I.useRef)(i), ie = (0, I.useRef)(!1);
@@ -11430,22 +11796,22 @@ function Xv(e) {
break;
}
}
- 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 && (re.current = !1, ie.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && sh(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);
}
});
let ae = (0, I.useRef)(t.focusedKey), oe = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = Em(), n = tv(r, t.focusedKey);
+ let e = Ym(), n = pv(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (y_(p.current, n), e !== "virtual" && b_(n, { containingElement: r.current }));
+ p.current && (N_(p.current, n), e !== "virtual" && P_(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && Lm(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && sh(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, I.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), eg(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), vg(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
@@ -11455,14 +11821,14 @@ function Xv(e) {
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = Jv({
+ }, { typeSelectProps: ce } = iy({
keyboardDelegate: n,
selectionManager: t
});
u || (se = H(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = Fee(t.collection);
+ let ue = hv(t.collection);
return { collectionProps: H(se, {
tabIndex: le,
"data-collection": ue
@@ -11470,13 +11836,13 @@ function Xv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Zv(e, t) {
+function sy(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Qv(e) {
- return $v(e, 0);
+function cy(e) {
+ return ly(e, 0);
}
-function $v(e, t) {
+function ly(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11484,112 +11850,112 @@ function $v(e, t) {
n++;
}
}
-function ey(e) {
+function uy(e) {
let t;
for (let n of e) t = n;
return t;
}
-function ty(e, t, n) {
+function dy(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...ny(e, t), t], i = [...ny(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...fy(e, t), t], i = [...fy(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 ny(e, t) {
+function fy(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 ry = /* @__PURE__ */ new WeakMap();
-function iy(e) {
- let t = ry.get(e);
+var py = /* @__PURE__ */ new WeakMap();
+function my(e) {
+ let t = py.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++;
+ for (let i of t) i.type === "section" ? r(sy(i, e)) : i.type === "item" && n++;
};
- return r(e), ry.set(e, n), n;
+ return r(e), py.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var ay = /* @__PURE__ */ new Map();
-function oy(e) {
- let { locale: t } = ug(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (ay.has(n)) return ay.get(n);
+var hy = /* @__PURE__ */ new Map();
+function gy(e) {
+ let { locale: t } = Eg(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (hy.has(n)) return hy.get(n);
let r = new Intl.Collator(t, e);
- return ay.set(n, r), r;
+ return hy.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var zee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, I.useRef)(!1), i = (0, I.useContext)(kg), a = H(i || {}, {
+var $ee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, I.useRef)(!1), i = (0, I.useContext)(Kg), a = H(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = fh(n || i?.ref), ph(i, a.ref), (0, I.useEffect)(() => {
+ return a.ref = Ih(n || i?.ref), Lh(i, a.ref), (0, I.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ I.createElement(kg.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ I.createElement(Kg.Provider, { value: a }, e);
});
-function Bee({ children: e }) {
+function ete({ children: e }) {
let t = (0, I.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ I.createElement(kg.Provider, { value: t }, e);
+ return /*#__PURE__*/ I.createElement(Kg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var sy = /*#__PURE__*/ (0, I.createContext)({});
-function cy(e) {
- let { getContainer: t } = e, { getContainer: n } = ly();
- return /*#__PURE__*/ I.createElement(sy.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var _y = /*#__PURE__*/ (0, I.createContext)({});
+function vy(e) {
+ let { getContainer: t } = e, { getContainer: n } = yy();
+ return /*#__PURE__*/ I.createElement(_y.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function ly() {
- return (0, I.useContext)(sy) ?? {};
+function yy() {
+ return (0, I.useContext)(_y) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var uy = /*#__PURE__*/ I.createContext(null);
-function dy(e) {
- let t = cm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, I.useState)(!1), o = (0, I.useMemo)(() => ({
+var by = /*#__PURE__*/ I.createContext(null);
+function xy(e) {
+ let t = jm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, I.useState)(!1), o = (0, I.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = ly();
+ }), [i, a]), { getContainer: s } = yy();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(Yg, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(l_, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ I.createElement(uy.Provider, { value: o }, /*#__PURE__*/ I.createElement(Bee, null, /*#__PURE__*/ I.createElement(mh.Provider, { value: null }, c))), /*#__PURE__*/ Th.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ I.createElement(by.Provider, { value: o }, /*#__PURE__*/ I.createElement(ete, null, /*#__PURE__*/ I.createElement(Rh.Provider, { value: null }, c))), /*#__PURE__*/ Yh.createPortal(c, n);
}
-function fy() {
- let e = (0, I.useContext)(uy)?.setContain;
- Sp(() => {
+function Sy() {
+ let e = (0, I.useContext)(by)?.setContain;
+ Gp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Vee(e, t) {
- let { role: n = "dialog" } = e, r = Km();
+function Cy(e, t) {
+ let { role: n = "dialog" } = e, r = gh();
r = e["aria-label"] ? void 0 : r;
- let i = Km();
+ let i = gh();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
let a = (0, I.useRef)(!1);
(0, I.useEffect)(() => {
- if (t.current && !dp(t.current)) {
- Lm(t.current);
+ if (t.current && !Pp(t.current)) {
+ sh(t.current);
let e = setTimeout(() => {
- (lp() === t.current || lp() === document.body) && (a.current = !0, t.current && (t.current.blur(), Lm(t.current)), a.current = !1);
+ (Mp() === t.current || Mp() === document.body) && (a.current = !0, t.current && (t.current.blur(), sh(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), fy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
+ }, [t]), Sy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...Sg(e, { labelable: !0 }),
+ ...zg(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -11604,23 +11970,23 @@ function Vee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function py(e = {}) {
+function wy(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, I.useRef)({
isFocused: !1,
- isFocusVisible: t || Tm()
+ isFocusVisible: t || Jm()
}), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, I.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, I.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = Tm(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = Jm(), o(e), l();
}, [l]);
- jm((e) => {
+ th((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Zm({
+ let { focusProps: d } = xh({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = R_({
+ }), { focusWithinProps: f } = Q_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11632,42 +11998,42 @@ function py(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Hee(e = {}) {
- let { locale: t } = ug();
+function Ty(e = {}) {
+ let { locale: t } = Eg();
return (0, I.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var my = !1, hy = 0;
-function Uee() {
- my = !0, setTimeout(() => {
- my = !1;
+var Ey = !1, Dy = 0;
+function Oy() {
+ Ey = !0, setTimeout(() => {
+ Ey = !1;
}, 500);
}
-function gy(e) {
- e.pointerType === "touch" && Uee();
+function ky(e) {
+ e.pointerType === "touch" && Oy();
}
-function Wee() {
- let e = Qf(null);
- if (e !== void 0) return hy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", gy), hy++, () => {
- hy--, !(hy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", gy);
+function Ay() {
+ let e = xp(null);
+ if (e !== void 0) return Dy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ky), Dy++, () => {
+ Dy--, !(Dy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ky);
};
}
-function _y(e) {
+function jy(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, I.useState)(!1), s = (0, I.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, I.useEffect)(Wee, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = Ag(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
+ (0, I.useEffect)(Ay, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = qg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !cp(e.currentTarget, V(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !jp(e.currentTarget, V(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Qf(V(e)), "pointerover", (e) => {
- s.isHovered && s.target && !cp(s.target, V(e)) && a(e, e.pointerType);
+ s.target = l, c(xp(V(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !jp(s.target, V(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -11682,9 +12048,9 @@ function _y(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- my && t.pointerType === "mouse" || e(t, t.pointerType);
+ Ey && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && cp(e.currentTarget, V(e)) && a(e, e.pointerType);
+ !i && jp(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -11707,22 +12073,22 @@ function _y(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Gee(e) {
+function My(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, I.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = $h((e) => {
- n && vy(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = $h((e) => {
+ }), o = _g((e) => {
+ n && Ny(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = _g((e) => {
n && n(e);
});
(0, I.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Qf(n);
+ let n = t.current, i = xp(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && vy(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && Ny(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -11730,19 +12096,19 @@ function Gee(e) {
}
}, [t, r]);
}
-function vy(e, t) {
+function Ny(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !cp(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !jp(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var yy = {};
-yy = {
+var Py = {};
+Py = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11756,8 +12122,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var by = {};
-by = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11771,8 +12137,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var xy = {};
-xy = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -11786,8 +12152,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var Sy = {};
-Sy = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11801,8 +12167,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var Cy = {};
-Cy = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11816,8 +12182,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var wy = {};
-wy = {
+var zy = {};
+zy = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -11831,8 +12197,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var Ty = {};
-Ty = {
+var By = {};
+By = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11846,8 +12212,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Ey = {};
-Ey = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11861,8 +12227,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Dy = {};
-Dy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11876,8 +12242,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Oy = {};
-Oy = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11891,8 +12257,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var ky = {};
-ky = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -11906,8 +12272,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Ay = {};
-Ay = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11921,8 +12287,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var jy = {};
-jy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11936,8 +12302,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var My = {};
-My = {
+var qy = {};
+qy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11951,8 +12317,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Ny = {};
-Ny = {
+var Jy = {};
+Jy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11966,8 +12332,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Py = {};
-Py = {
+var Yy = {};
+Yy = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -11981,8 +12347,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Fy = {};
-Fy = {
+var Xy = {};
+Xy = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -11996,8 +12362,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Iy = {};
-Iy = {
+var Zy = {};
+Zy = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -12011,8 +12377,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Ly = {};
-Ly = {
+var Qy = {};
+Qy = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12026,8 +12392,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Ry = {};
-Ry = {
+var $y = {};
+$y = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12041,8 +12407,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var zy = {};
-zy = {
+var eb = {};
+eb = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12056,8 +12422,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var By = {};
-By = {
+var tb = {};
+tb = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12071,8 +12437,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Vy = {};
-Vy = {
+var nb = {};
+nb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12086,8 +12452,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Hy = {};
-Hy = {
+var rb = {};
+rb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12101,8 +12467,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Uy = {};
-Uy = {
+var ib = {};
+ib = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12116,8 +12482,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Wy = {};
-Wy = {
+var ab = {};
+ab = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12131,8 +12497,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Gy = {};
-Gy = {
+var ob = {};
+ob = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12146,8 +12512,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Ky = {};
-Ky = {
+var sb = {};
+sb = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12161,8 +12527,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var qy = {};
-qy = {
+var cb = {};
+cb = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12176,8 +12542,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Jy = {};
-Jy = {
+var lb = {};
+lb = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12191,8 +12557,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Yy = {};
-Yy = {
+var ub = {};
+ub = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12206,8 +12572,8 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Xy = {};
-Xy = {
+var db = {};
+db = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12221,8 +12587,8 @@ Xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Zy = {};
-Zy = {
+var fb = {};
+fb = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12236,8 +12602,8 @@ Zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Qy = {};
-Qy = {
+var pb = {};
+pb = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12251,55 +12617,55 @@ Qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var $y = {};
-$y = {
- "ar-AE": yy,
- "bg-BG": by,
- "cs-CZ": xy,
- "da-DK": Sy,
- "de-DE": Cy,
- "el-GR": wy,
- "en-US": Ty,
- "es-ES": Ey,
- "et-EE": Dy,
- "fi-FI": Oy,
- "fr-FR": ky,
- "he-IL": Ay,
- "hr-HR": jy,
- "hu-HU": My,
- "it-IT": Ny,
- "ja-JP": Py,
- "ko-KR": Fy,
- "lt-LT": Iy,
- "lv-LV": Ly,
- "nb-NO": Ry,
- "nl-NL": zy,
- "pl-PL": By,
- "pt-BR": Vy,
- "pt-PT": Hy,
- "ro-RO": Uy,
- "ru-RU": Wy,
- "sk-SK": Gy,
- "sl-SI": Ky,
- "sr-SP": qy,
- "sv-SE": Jy,
- "tr-TR": Yy,
- "uk-UA": Xy,
- "zh-CN": Zy,
- "zh-TW": Qy
+var mb = {};
+mb = {
+ "ar-AE": Py,
+ "bg-BG": Fy,
+ "cs-CZ": Iy,
+ "da-DK": Ly,
+ "de-DE": Ry,
+ "el-GR": zy,
+ "en-US": By,
+ "es-ES": Vy,
+ "et-EE": Hy,
+ "fi-FI": Uy,
+ "fr-FR": Wy,
+ "he-IL": Gy,
+ "hr-HR": Ky,
+ "hu-HU": qy,
+ "it-IT": Jy,
+ "ja-JP": Yy,
+ "ko-KR": Xy,
+ "lt-LT": Zy,
+ "lv-LV": Qy,
+ "nb-NO": $y,
+ "nl-NL": eb,
+ "pl-PL": tb,
+ "pt-BR": nb,
+ "pt-PT": rb,
+ "ro-RO": ib,
+ "ru-RU": ab,
+ "sk-SK": ob,
+ "sl-SI": sb,
+ "sr-SP": cb,
+ "sv-SE": lb,
+ "tr-TR": ub,
+ "uk-UA": db,
+ "zh-CN": fb,
+ "zh-TW": pb
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Kee(e) {
+function tte(e) {
return e && e.__esModule ? e.default : e;
}
-function qee(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = bg(Kee($y), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
+function nte(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Lg(tte(mb), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = eb(i, a.current), o = eb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = hb(i, a.current), o = hb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -12319,7 +12685,7 @@ function qee(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && m_(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && D_(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12330,7 +12696,7 @@ function qee(e, t) {
n,
r
]);
- h_(() => {
+ k_(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12338,7 +12704,7 @@ function qee(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function eb(e, t) {
+function hb(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -12346,13 +12712,13 @@ function eb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function tb(e, t) {
+function gb(e, t) {
let n = t?.isDisabled, [r, i] = (0, I.useState)(!1);
- return Sp(() => {
+ return Gp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = c_(e.current, { tabbable: !0 });
+ let t = x_(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12371,12 +12737,12 @@ function tb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Jee(e) {
+function rte(e) {
return e && e.__esModule ? e.default : e;
}
-function Yee(e) {
- let t = bg(Jee($y), "@react-aria/grid"), n = Om(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return S_((0, I.useMemo)(() => {
+function ite(e) {
+ let t = Lg(rte(mb), "@react-aria/grid"), n = Zm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return I_((0, I.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -12389,11 +12755,11 @@ function Yee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function nb(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = oy({
+function _b(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = gy({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new iv({
+ }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new vv({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12410,7 +12776,7 @@ function nb(e) {
c,
l,
s
- ]), { collectionProps: d } = Xv({
+ ]), { collectionProps: d } = oy({
...e,
ref: i,
selectionManager: t,
@@ -12420,11 +12786,11 @@ function nb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function rb(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 = Up();
- t = Wm(t);
+function vb(e) {
+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = fm();
+ t = mh(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && ev(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && fv(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12435,11 +12801,11 @@ function rb(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Yh(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (hg(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, I.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Gh(i.current) : s ? s() : lp() !== i.current && i.current && Lm(i.current));
+ r === n.focusedKey && n.isFocused && (o ? fg(i.current) : s ? s() : Mp() !== i.current && i.current && sh(i.current));
}, [
i,
r,
@@ -12467,22 +12833,22 @@ function rb(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || ab(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || bb(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !ib(e.key)) return;
+ if (e.pointerType === "keyboard" && !yb(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || ab(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || bb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && ib(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && yb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = Iee(n.collection);
+ let A = gv(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -12497,10 +12863,10 @@ function rb(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = Rm(k[e], D[e]));
- let { pressProps: j, isPressed: M } = Fg(k), N = x ? (e) => {
+ ]) D[e] && (k[e] = ch(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = $g(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: ee } = Vv({
+ } : void 0, { longPressProps: ee } = ey({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -12508,7 +12874,7 @@ function rb(e) {
}), te = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, P = d !== "none" && n.isLink(r) ? (e) => {
- Gp.isOpening || e.preventDefault();
+ mm.isOpening || e.preventDefault();
} : void 0, ne = H(m, v || b || o && !c ? j : {}, w ? ee : {}, {
onDoubleClick: N,
onDragStartCapture: te,
@@ -12521,7 +12887,7 @@ function rb(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return bp(e);
+ return Up(e);
}, re = ne.onPointerDown;
ne.onPointerDown = (e) => {
let t = V(e);
@@ -12549,22 +12915,22 @@ function rb(e) {
hasAction: S
};
}
-function ib(e) {
+function yb(e) {
return e === "Enter";
}
-function ab(e) {
+function bb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Xee(e) {
+function ate(e) {
return e && e.__esModule ? e.default : e;
}
-function Zee(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Wm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function ote(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = mh(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": bg(Xee($y), "@react-aria/grid").format("select"),
+ "aria-label": Lg(ate(mb), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12572,22 +12938,22 @@ function Zee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Qee(e, t, n) {
- let r = Sg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function ste(e, t, n) {
+ let r = zg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = nb({
+ let { listProps: s } = _b({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = R_({
+ }), { focusWithinProps: c } = Q_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Wm(e.id);
- $_.set(t, {
+ }), l = mh(e.id);
+ lv.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12597,7 +12963,7 @@ function Qee(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = I_({
+ let { labelProps: u, fieldProps: d } = X_({
...e,
id: l,
labelElementType: "span"
@@ -12613,8 +12979,8 @@ function Qee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function $ee(e) {
- let { heading: t, "aria-label": n } = e, r = Wm();
+function cte(e) {
+ let { heading: t, "aria-label": n } = e, r = mh();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -12633,8 +12999,8 @@ function $ee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function ete(e, t, n) {
- let { key: r } = e, i = $_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Km(), f = Km(), p = {
+function lte(e, t, n) {
+ let { key: r } = e, i = lv.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = gh(), f = gh(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -12644,9 +13010,9 @@ function ete(e, t, n) {
}, 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"] = iy(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = my(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Pee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = rb({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = dv(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = vb({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12655,18 +13021,18 @@ function ete(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? Rm(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? ch(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = _y({
+ }), { hoverProps: S } = jy({
isDisabled: a || !c,
onHoverStart() {
- Tm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ Jm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Sg(m?.props);
+ }), C = zg(m?.props);
delete C.id;
- let w = Yp(m?.props);
+ let w = vm(m?.props);
return {
optionProps: {
...p,
@@ -12676,7 +13042,7 @@ function ete(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && Tm(),
+ isFocusVisible: y && t.selectionManager.isFocused && Jm(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -12686,13 +13052,13 @@ function ete(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var ob = /* @__PURE__ */ new WeakMap();
+var xb = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function tte(e, t, n) {
+function ute(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Sg(e, { labelable: !0 }), { listProps: c } = nb({
+ let s = zg(e, { labelable: !0 }), { listProps: c } = _b({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -12701,7 +13067,7 @@ function tte(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return ob.set(t, {
+ return xb.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -12718,15 +13084,15 @@ function tte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function nte(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = ob.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Up(), M = () => {
+function dte(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = xb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = fm(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, N = "menuitem";
w || (C.selectionMode === "single" ? N = "menuitemradio" : C.selectionMode === "multiple" && (N = "menuitemcheckbox"));
- let ee = Km(), te = Km(), P = Km(), ne = {
+ let ee = gh(), te = gh(), P = gh(), ne = {
id: r,
"aria-disabled": E || void 0,
role: N,
@@ -12743,17 +13109,17 @@ function nte(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {
let e = Number(k?.index);
- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = iy(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = my(t.collection);
}
let F = (0, I.useRef)(!1), re = (e) => {
f?.(e), F.current = e;
}, ie = (0, I.useRef)(null), ae = (e) => {
e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (F.current || e.target.click()), u?.(e);
}, oe = (e) => {
- m?.(e), M(), Xp(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), ym(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = rb({
+ }, { itemProps: se, isFocused: ce } = vb({
id: r,
selectionManager: C,
key: i,
@@ -12762,27 +13128,27 @@ function nte(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = Fg({
+ }), { pressProps: le, isPressed: ue } = $g({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: L } = _y({
+ }), { hoverProps: L } = jy({
isDisabled: E,
onHoverStart(e) {
- !Tm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !Jm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: R } = dh({
+ }), { keyboardProps: R } = Fh({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, V(e).click(), Dm("keyboard");
+ }, V(e).click(), Xm("keyboard");
},
Enter: (e) => {
ie.current = {
@@ -12791,10 +13157,10 @@ function nte(e, t, n) {
};
let t = V(e);
if (t.tagName !== "A") {
- t.click(), Dm("keyboard");
+ t.click(), Xm("keyboard");
return;
}
- return Dm("keyboard"), {
+ return Xm("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -12802,13 +13168,13 @@ function nte(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: z } = gh({
+ }), { focusableProps: z } = Bh({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), de = Sg(k?.props);
+ }, n), de = zg(k?.props);
delete de.id;
- let fe = Yp(k?.props);
+ let fe = vm(k?.props);
return {
menuItemProps: {
...ne,
@@ -12823,7 +13189,7 @@ function nte(e, t, n) {
descriptionProps: { id: te },
keyboardShortcutProps: { id: P },
isFocused: ce,
- isFocusVisible: ce && C.isFocused && Tm() && !T,
+ isFocusVisible: ce && C.isFocused && Jm() && !T,
isSelected: D,
isPressed: ue,
isDisabled: E
@@ -12831,8 +13197,8 @@ function nte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function rte(e) {
- let { heading: t, "aria-label": n } = e, r = Wm();
+function fte(e) {
+ let { heading: t, "aria-label": n } = e, r = mh();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -12848,15 +13214,15 @@ function rte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function ite() {
+function pte() {
return window.ResizeObserver !== void 0;
}
-function sb(e) {
- let { ref: t, box: n, onResize: r } = e, i = $h(r);
+function Sb(e) {
+ let { ref: t, box: n, onResize: r } = e, i = _g(r);
(0, I.useEffect)(() => {
let e = t?.current;
if (e) {
- if (ite()) {
+ if (pte()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12872,189 +13238,189 @@ function sb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var cb = {};
-cb = { dismiss: "تجاهل" };
+var Cb = {};
+Cb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var lb = {};
-lb = { dismiss: "Отхвърляне" };
+var wb = {};
+wb = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var ub = {};
-ub = { dismiss: "Odstranit" };
+var Tb = {};
+Tb = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var db = {};
-db = { dismiss: "Luk" };
+var Eb = {};
+Eb = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var fb = {};
-fb = { dismiss: "Schließen" };
+var Db = {};
+Db = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var pb = {};
-pb = { dismiss: "Απόρριψη" };
+var Ob = {};
+Ob = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var mb = {};
-mb = { dismiss: "Dismiss" };
+var kb = {};
+kb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var hb = {};
-hb = { dismiss: "Descartar" };
+var Ab = {};
+Ab = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var gb = {};
-gb = { dismiss: "Lõpeta" };
+var jb = {};
+jb = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var _b = {};
-_b = { dismiss: "Hylkää" };
+var Mb = {};
+Mb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var vb = {};
-vb = { dismiss: "Rejeter" };
+var Nb = {};
+Nb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var yb = {};
-yb = { dismiss: "התעלם" };
+var Pb = {};
+Pb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var bb = {};
-bb = { dismiss: "Odbaci" };
+var Fb = {};
+Fb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var xb = {};
-xb = { dismiss: "Elutasítás" };
+var Ib = {};
+Ib = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Sb = {};
-Sb = { dismiss: "Ignora" };
+var Lb = {};
+Lb = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Cb = {};
-Cb = { dismiss: "閉じる" };
+var Rb = {};
+Rb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var wb = {};
-wb = { dismiss: "무시" };
+var zb = {};
+zb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Tb = {};
-Tb = { dismiss: "Atmesti" };
+var Bb = {};
+Bb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Eb = {};
-Eb = { dismiss: "Nerādīt" };
+var Vb = {};
+Vb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Db = {};
-Db = { dismiss: "Lukk" };
+var Hb = {};
+Hb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Ob = {};
-Ob = { dismiss: "Negeren" };
+var Ub = {};
+Ub = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var kb = {};
-kb = { dismiss: "Zignoruj" };
+var Wb = {};
+Wb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Ab = {};
-Ab = { dismiss: "Descartar" };
+var Gb = {};
+Gb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var jb = {};
-jb = { dismiss: "Dispensar" };
+var Kb = {};
+Kb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Mb = {};
-Mb = { dismiss: "Revocare" };
+var qb = {};
+qb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Nb = {};
-Nb = { dismiss: "Пропустить" };
+var Jb = {};
+Jb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Pb = {};
-Pb = { dismiss: "Zrušiť" };
+var Yb = {};
+Yb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Fb = {};
-Fb = { dismiss: "Opusti" };
+var Xb = {};
+Xb = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Ib = {};
-Ib = { dismiss: "Odbaci" };
+var Zb = {};
+Zb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Lb = {};
-Lb = { dismiss: "Avvisa" };
+var Qb = {};
+Qb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Rb = {};
-Rb = { dismiss: "Kapat" };
+var $b = {};
+$b = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var zb = {};
-zb = { dismiss: "Скасувати" };
+var ex = {};
+ex = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Bb = {};
-Bb = { dismiss: "取消" };
+var tx = {};
+tx = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Vb = {};
-Vb = { dismiss: "關閉" };
+var nx = {};
+nx = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Hb = {};
-Hb = {
- "ar-AE": cb,
- "bg-BG": lb,
- "cs-CZ": ub,
- "da-DK": db,
- "de-DE": fb,
- "el-GR": pb,
- "en-US": mb,
- "es-ES": hb,
- "et-EE": gb,
- "fi-FI": _b,
- "fr-FR": vb,
- "he-IL": yb,
- "hr-HR": bb,
- "hu-HU": xb,
- "it-IT": Sb,
- "ja-JP": Cb,
- "ko-KR": wb,
- "lt-LT": Tb,
- "lv-LV": Eb,
- "nb-NO": Db,
- "nl-NL": Ob,
- "pl-PL": kb,
- "pt-BR": Ab,
- "pt-PT": jb,
- "ro-RO": Mb,
- "ru-RU": Nb,
- "sk-SK": Pb,
- "sl-SI": Fb,
- "sr-SP": Ib,
- "sv-SE": Lb,
- "tr-TR": Rb,
- "uk-UA": zb,
- "zh-CN": Bb,
- "zh-TW": Vb
+var rx = {};
+rx = {
+ "ar-AE": Cb,
+ "bg-BG": wb,
+ "cs-CZ": Tb,
+ "da-DK": Eb,
+ "de-DE": Db,
+ "el-GR": Ob,
+ "en-US": kb,
+ "es-ES": Ab,
+ "et-EE": jb,
+ "fi-FI": Mb,
+ "fr-FR": Nb,
+ "he-IL": Pb,
+ "hr-HR": Fb,
+ "hu-HU": Ib,
+ "it-IT": Lb,
+ "ja-JP": Rb,
+ "ko-KR": zb,
+ "lt-LT": Bb,
+ "lv-LV": Vb,
+ "nb-NO": Hb,
+ "nl-NL": Ub,
+ "pl-PL": Wb,
+ "pt-BR": Gb,
+ "pt-PT": Kb,
+ "ro-RO": qb,
+ "ru-RU": Jb,
+ "sk-SK": Yb,
+ "sl-SI": Xb,
+ "sr-SP": Zb,
+ "sv-SE": Qb,
+ "tr-TR": $b,
+ "uk-UA": ex,
+ "zh-CN": tx,
+ "zh-TW": nx
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Ub(e) {
+function mte(e) {
return e && e.__esModule ? e.default : e;
}
-function Wb(e) {
- let { onDismiss: t, ...n } = e, r = tg(n, bg(Ub(Hb), "@react-aria/overlays").format("dismiss")), i = () => {
+function ix(e) {
+ let { onDismiss: t, ...n } = e, r = yg(n, Lg(mte(rx), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ I.createElement(K_, null, /*#__PURE__*/ I.createElement("button", {
+ return /*#__PURE__*/ I.createElement(iv, null, /*#__PURE__*/ I.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -13066,38 +13432,38 @@ function Wb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Gb = [];
-function Kb(e, t) {
+var ax = [];
+function ox(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, I.useRef)(void 0);
(0, I.useEffect)(() => {
- if (i && !Gb.includes(t)) return Gb.push(t), () => {
- let e = Gb.indexOf(t);
- e >= 0 && Gb.splice(e, 1);
+ if (i && !ax.includes(t)) return ax.push(t), () => {
+ let e = ax.indexOf(t);
+ e >= 0 && ax.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Gb[Gb.length - 1] === t && n && n();
+ ax[ax.length - 1] === t && n && n();
}, u = (e) => {
- let n = Gb[Gb.length - 1];
+ let n = ax[ax.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (Gb[Gb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = dh({ shortcuts: { Escape: () => {
+ (!s || s(V(e))) && (ax[ax.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = Fh({ shortcuts: { Escape: () => {
if (!o) {
l();
return;
}
return !1;
} } });
- Gee({
+ My({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = R_({
+ let { focusWithinProps: p } = Q_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || vee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || Oee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -13110,26 +13476,26 @@ function Kb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var qb = typeof document < "u" && window.visualViewport, Jb = 0, Yb;
-function Xb(e = {}) {
+var sx = typeof document < "u" && window.visualViewport, cx = 0, lx;
+function ux(e = {}) {
let { isDisabled: t } = e;
- Sp(() => {
- if (!t) return Jb++, Jb === 1 && (Yb = Pp() && Ip() ? Qb() : Zb()), () => {
- Jb--, Jb === 0 && Yb();
+ Gp(() => {
+ if (!t) return cx++, cx === 1 && (lx = rm() && am() ? gte() : hte()), () => {
+ cx--, cx === 0 && lx();
};
}, [t]);
}
-function Zb() {
+function hte() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return Rm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? ap(document.documentElement, "scrollbar-gutter", "stable") : ap(document.documentElement, "padding-right", `${e}px`)), ap(document.documentElement, "overflow", "hidden"));
+ return ch(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Op(document.documentElement, "scrollbar-gutter", "stable") : Op(document.documentElement, "padding-right", `${e}px`)), Op(document.documentElement, "overflow", "hidden"));
}
-function Qb() {
- let e = ap(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function gte() {
+ let e = Op(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
- t = g_(r) ? r : __(r, !0), n = !1;
+ t = A_(r) ? r : j_(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 = Og();
+ }, i = document.createElement("style"), a = Gg();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
if (!(e.touches.length === 2 || n)) {
@@ -13141,26 +13507,26 @@ function Qb() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && Zh(n) ? (n.focus({ preventScroll: !0 }), $b(n, Zh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && gg(n) ? (n.focus({ preventScroll: !0 }), dx(n, gg(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 = lp(), n = t != null && Zh(t);
+ let t = Mp(), n = t != null && gg(t);
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && $b(this, n);
+ }), (!e || !e.preventScroll) && dx(this, n);
}
});
- let l = Rm(ip(document, "touchstart", r, {
+ let l = ch(Dp(document, "touchstart", r, {
passive: !1,
capture: !0
- }), ip(document, "touchmove", o, {
+ }), Dp(document, "touchmove", o, {
passive: !1,
capture: !0
- }), ip(document, "blur", s, !0));
+ }), Dp(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -13169,18 +13535,18 @@ function Qb() {
});
};
}
-function $b(e, t) {
- t || !qb ? ex(e) : qb.addEventListener("resize", () => ex(e), { once: !0 });
+function dx(e, t) {
+ t || !sx ? fx(e) : sx.addEventListener("resize", () => fx(e), { once: !0 });
}
-function ex(e) {
+function fx(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = __(n);
+ let e = j_(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;
- qb && (n = Math.min(n, qb.offsetTop + qb.height));
+ sx && (n = Math.min(n, sx.offsetTop + sx.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -13193,14 +13559,14 @@ function ex(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function tx(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Kb({
+function _te(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = ox({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Xb({ isDisabled: !t.isOpen }), fy(), (0, I.useEffect)(() => {
- if (t.isOpen && n.current) return Q_([n.current], { shouldUseInert: !0 });
+ return ux({ isDisabled: !t.isOpen }), Sy(), (0, I.useEffect)(() => {
+ if (t.isOpen && n.current) return cv([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -13208,33 +13574,33 @@ function tx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var nx = {
+var px = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, rx = {
+}, mx = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, ix = {
+}, vte = {
top: "left",
left: "top"
-}, ax = {
+}, hx = {
top: "height",
left: "width"
-}, ox = {
+}, gx = {
width: "totalWidth",
height: "totalHeight"
-}, sx = {}, cx = () => typeof document < "u" ? window.visualViewport : null;
-function lx(e, t) {
+}, _x = {}, yte = () => typeof document < "u" ? window.visualViewport : null;
+function vx(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} = hx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return Ip() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = wx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return am() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -13244,7 +13610,7 @@ function lx(e, t) {
left: s
};
}
-function ate(e) {
+function bte(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13252,11 +13618,11 @@ function ate(e) {
height: e.scrollHeight
};
}
-function ux(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[ax[e]], l = o[e] + r.scroll[nx[e]] + a, u = o[e] + r.scroll[nx[e]] + c - a, d = t - s + r.scroll[nx[e]] + o[e] - r[nx[e]], f = t - s + n + r.scroll[nx[e]] + o[e] - r[nx[e]];
+function yx(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[hx[e]], l = o[e] + r.scroll[px[e]] + a, u = o[e] + r.scroll[px[e]] + c - a, d = t - s + r.scroll[px[e]] + o[e] - r[px[e]], f = t - s + n + r.scroll[px[e]] + o[e] - r[px[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function ote(e) {
+function xte(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13265,55 +13631,55 @@ function ote(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function dx(e) {
- if (sx[e]) return sx[e];
- let [t, n] = e.split(" "), r = nx[t] || "right", i = ix[r];
- nx[n] || (n = "center");
- let a = ax[r], o = ax[i];
- return sx[e] = {
+function bx(e) {
+ if (_x[e]) return _x[e];
+ let [t, n] = e.split(" "), r = px[t] || "right", i = vte[r];
+ px[n] || (n = "center");
+ let a = hx[r], o = hx[i];
+ return _x[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, sx[e];
+ }, _x[e];
}
-function fx(e, t, n, r, i, a, o, s, c, l, u) {
+function xx(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] = U_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[ox[h]];
- _[rx[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = tv(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[gx[h]];
+ _[mx[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function ste(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[ox.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Ste(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[gx.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
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 px(e, t, n, r, i, a, o, s) {
+function Sx(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[rx[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[rx[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[mx[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[mx[l]] - i);
}
-function cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = dx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = fx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = px(s, l, t, i, a + u, v, c, g);
+function Cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = bx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = xx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Sx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = dx(`${rx[S]} ${C}`), r = fx(t, s, n, e, u, d, l, f, m, h, c);
- px(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = bx(`${mx[S]} ${C}`), r = xx(t, s, n, e, u, d, l, f, m, h, c);
+ Sx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let 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 = ux(b, w[b], n[x], s, c, a, l);
+ let O = yx(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = ste(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = fx(t, s, n, v, T, d, l, f, m, h, c), O = ux(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[nx[b]], M = j + .5 * t[x], N = m / 2 + h, ee = nx[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = U_(U_(M, t[b] + m / 2 - (w[b] + i[nx[b]]), t[b] + t[x] - m / 2 - (w[b] + i[nx[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Ste(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = xx(t, s, n, v, T, d, l, f, m, h, c), O = yx(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[px[b]], M = j + .5 * t[x], N = m / 2 + h, ee = px[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = tv(tv(M, t[b] + m / 2 - (w[b] + i[px[b]]), t[b] + t[x] - m / 2 - (w[b] + i[px[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -13327,17 +13693,17 @@ function cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function lte(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = cx(), h = r instanceof HTMLElement ? ute(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? hx(n, !1, p) : gx(n, h, !1, p);
+function wte(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = yte(), h = r instanceof HTMLElement ? Tte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? wx(n, !1, p) : Tx(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = hx(r, !0), x = ote(r);
+ let b = wx(r, !0), x = xte(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = ate(i), C = lx(s, m), w = lx(h, m), T;
+ let S = bte(i), C = vx(s, m), w = vx(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = mx(h, !1);
+ let e = Cx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13349,11 +13715,11 @@ function lte(e) {
left: 0,
width: 0,
height: 0
- } : gx(s, h, !1);
- let E = cp(s, h);
- return cte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Tx(s, h, !1);
+ let E = jp(s, h);
+ return Cte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function mx(e, t) {
+function Cx(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -13362,8 +13728,8 @@ function mx(e, t) {
height: a
};
}
-function hx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || mx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function wx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Cx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13371,30 +13737,30 @@ function hx(e, t, n) {
height: o
};
}
-function gx(e, t, n, r) {
+function Tx(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || mx(e, n);
+ if (i.position === "fixed") a = r || Cx(e, n);
else {
- a = hx(e, n, r);
- let i = hx(t, n), o = window.getComputedStyle(t);
+ a = wx(e, n, r);
+ let i = wx(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function ute(e) {
+function Tte(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !_x(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !_x(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Ex(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Ex(t);) t = t.parentElement;
return t || document.documentElement;
}
-function _x(e) {
+function Ex(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 vx = typeof document < "u" ? window.visualViewport : null;
-function dte(e) {
- let { direction: t } = ug(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, I.useState)(null), x = [
+var Dx = typeof document < "u" ? window.visualViewport : null;
+function Ete(e) {
+ let { direction: t } = Eg(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, I.useState)(null), x = [
p,
s,
i.current,
@@ -13411,15 +13777,15 @@ function dte(e) {
g,
_,
n
- ], S = (0, I.useRef)(vx?.scale);
+ ], S = (0, I.useRef)(Dx?.scale);
(0, I.useEffect)(() => {
- m && (S.current = vx?.scale);
+ m && (S.current = Dx?.scale);
}, [m]);
let C = (0, I.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || vx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Dx?.scale !== S.current) return;
let e = null;
- if (o.current && dp(o.current)) {
- let t = lp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && Pp(o.current)) {
+ let t = Mp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -13427,8 +13793,8 @@ function dte(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = lte({
- placement: pte(s, t),
+ let y = wte({
+ placement: Ote(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13438,28 +13804,28 @@ function dte(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? mx(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Cx(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 = lp();
+ let x = Mp();
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);
- Sp(C, x), fte(C), sb({
+ Gp(C, x), Dte(C), Sb({
ref: i,
onResize: C
- }), sb({
+ }), Sb({
ref: r,
onResize: C
});
let w = (0, I.useRef)(!1);
- Sp(() => {
+ Gp(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -13467,16 +13833,16 @@ function dte(e) {
}, n = () => {
w.current && t();
};
- vx?.addEventListener("resize", t), vx?.addEventListener("scroll", n);
- let r = ip(up(window), "scroll", n);
+ Dx?.addEventListener("resize", t), Dx?.addEventListener("scroll", n);
+ let r = Dp(Np(window), "scroll", n);
return () => {
- vx?.removeEventListener("resize", t), vx?.removeEventListener("scroll", n), r();
+ Dx?.removeEventListener("resize", t), Dx?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, I.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Wv({
+ return Yee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13502,25 +13868,25 @@ function dte(e) {
updatePosition: C
};
}
-function fte(e) {
- Sp(() => (window.addEventListener("resize", e, !1), () => {
+function Dte(e) {
+ Gp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function pte(e, t) {
+function Ote(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function mte(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Kb({
+function kte(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = ox({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = dte({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Ete({
...c,
targetRef: n,
overlayRef: r,
@@ -13528,15 +13894,15 @@ function mte(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Xb({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Mee(i?.current ?? r.current) : Q_([i?.current ?? r.current], { shouldUseInert: !0 });
+ ux({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Kee(i?.current ?? r.current) : cv([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = R_(e);
+ let { focusWithinProps: g } = Q_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13547,13 +13913,13 @@ function mte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var yx = /* @__PURE__ */ new WeakMap();
+var Ox = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function hte(e, t, n) {
+function Ate(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: _ } = Fg({
+ }, { pressProps: g, isPressed: _ } = $g({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13561,7 +13927,7 @@ function hte(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = Fg({
+ }), { pressProps: v, isPressed: y } = $g({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13571,11 +13937,11 @@ function hte(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = gh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = Sg(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = Bh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = zg(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = yx.get(t);
- C_(n, t.defaultSelectedValue, t.setSelectedValue), w_({ validationBehavior: O }, t, n);
- let k = T_();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Ox.get(t);
+ L_(n, t.defaultSelectedValue, t.setSelectedValue), R_({ validationBehavior: O }, t, n);
+ let k = z_();
return {
labelProps: H(v, (0, I.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -13607,13 +13973,13 @@ function hte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function gte(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ug(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = L_({
+function jte(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Eg(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Z_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Sg(e, { labelable: !0 }), { focusWithinProps: v } = R_({
+ }), _ = zg(e, { labelable: !0 }), { focusWithinProps: v } = Q_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13621,13 +13987,13 @@ function gte(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = c_(n.currentTarget, {
+ let r = x_(n.currentTarget, {
from: V(n),
- accept: (e) => e instanceof $f(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof Sp(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 } = dh({
+ let { keyboardProps: b } = Fh({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -13635,8 +14001,8 @@ function gte(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Wm(n);
- return yx.set(t, {
+ }), x = mh(n);
+ return Ox.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13665,21 +14031,21 @@ function gte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var bx = /* @__PURE__ */ new WeakMap();
-function _te(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = oy({
+var kx = /* @__PURE__ */ new WeakMap();
+function Mte(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = gy({
usage: "search",
sensitivity: "base"
- }), u = (0, I.useMemo)(() => r || new iv(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, I.useMemo)(() => r || new vv(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Kv({
+ ]), { menuTriggerProps: d, menuProps: f } = ny({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = dh({
+ }, t, n), { keyboardProps: p } = Fh({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -13695,21 +14061,21 @@ function _te(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Jv({
+ }), { typeSelectProps: m } = iy({
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 } = L_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = Z_({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = Sg(e, { labelable: !0 }), C = H(m, d, y), w = Wm();
- return bx.set(t, {
+ let S = zg(e, { labelable: !0 }), C = H(m, d, y), w = mh();
+ return kx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13719,13 +14085,13 @@ function _te(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), Dm("keyboard"));
+ e.isDisabled || (n.current?.focus(), Xm("keyboard"));
}
},
triggerProps: H(S, {
...C,
isDisabled: i,
- onKeyDown: Rm(C.onKeyDown, p.onKeyDown),
+ onKeyDown: ch(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -13749,7 +14115,7 @@ function _te(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- cp(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ jp(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -13770,13 +14136,13 @@ function _te(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function vte(e, t, n) {
- let r = bx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = G_({ style: {
+function Nte(e, t, n) {
+ let r = kx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = rv({ style: {
position: "fixed",
top: 0,
left: 0
} });
- C_(e.selectRef, t.defaultValue, t.setValue), w_({
+ L_(e.selectRef, t.defaultValue, t.setValue), R_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -13806,8 +14172,8 @@ function vte(e, t, n) {
}
};
}
-function yte(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, I.useRef)(null), c = (0, I.useRef)(null), { containerProps: l, selectProps: u } = vte({
+function Pte(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, I.useRef)(null), c = (0, I.useRef)(null), { containerProps: l, selectProps: u } = Nte({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -13831,7 +14197,7 @@ function yte(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = bx.get(t) || {};
+ let { validationBehavior: e } = kx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13862,8 +14228,8 @@ function yte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function bte(e) {
- let t = Sg(e, { labelable: !0 }), n;
+function Fte(e) {
+ let t = zg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -13872,8 +14238,8 @@ function bte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function xte(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = P_(e, t, n);
+function Ite(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = J_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -13887,10 +14253,10 @@ function xte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var xx = class {
+var Ax = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new Ste(e.layout) : new rv(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Lte(e.layout) : new _v(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -13926,7 +14292,7 @@ var xx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of Zv(n, this.collection)) {
+ for (let e of sy(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -13960,13 +14326,13 @@ var xx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Zv(t, this.collection);
- return (this.direction === "rtl" ? ey(e)?.key : Qv(e)?.key) ?? null;
+ let e = sy(t, this.collection);
+ return (this.direction === "rtl" ? uy(e)?.key : cy(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" ? $v(r, t.index - 1) : $v(r, t.index + 1)) ?? null;
+ let r = sy(n, this.collection), i = (this.direction === "rtl" ? ly(r, t.index - 1) : ly(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;
@@ -13975,13 +14341,13 @@ var xx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Zv(t, this.collection);
- return (this.direction === "rtl" ? Qv(e)?.key : ey(e)?.key) ?? null;
+ let e = sy(t, this.collection);
+ return (this.direction === "rtl" ? cy(e)?.key : uy(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" ? $v(r, t.index + 1) : $v(r, t.index - 1)) ?? null;
+ let r = sy(n, this.collection), i = (this.direction === "rtl" ? ly(r, t.index + 1) : ly(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;
@@ -13992,13 +14358,13 @@ var xx = class {
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 ? Qv(Zv(e, this.collection))?.key ?? null : null;
+ return e ? cy(sy(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 = Qv(Zv(e, this.collection))?.key ?? null;
+ n = cy(sy(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14008,13 +14374,13 @@ var xx = class {
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 ? ey(Zv(e, this.collection))?.key ?? null : null;
+ return e ? uy(sy(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 = ey(Zv(e, this.collection))?.key ?? null;
+ n = uy(sy(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14050,13 +14416,13 @@ var xx = class {
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" ? Qv(Zv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? cy(sy(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;
}
-}, Ste = class {
+}, Lte = class {
constructor(e) {
this.layout = e;
}
@@ -14069,16 +14435,16 @@ var xx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, Sx = /* @__PURE__ */ new WeakMap();
+}, jx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Cte(e, t, n) {
+function Rte(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 = oy({
+ let h = gy({
usage: "search",
sensitivity: "base"
- }), { direction: g } = ug(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new xx({
+ }), { direction: g } = Eg(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new Ax({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -14095,7 +14461,7 @@ function Cte(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Xv({
+ ]), { collectionProps: y } = oy({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -14103,8 +14469,8 @@ function Cte(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Wm(e.id);
- Sx.set(t, {
+ }), b = mh(e.id);
+ jx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -14113,48 +14479,48 @@ function Cte(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Yee({
+ let x = ite({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = Sg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
+ }), S = zg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
if (m.isFocused) {
- cp(e.currentTarget, V(e)) || m.setFocused(!1);
+ jp(e.currentTarget, V(e)) || m.setFocused(!1);
return;
}
- cp(e.currentTarget, V(e)) && m.setFocused(!0);
+ jp(e.currentTarget, V(e)) && m.setFocused(!0);
}, [m]), w = (0, I.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = tb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = gb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), qee({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), nte({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Cx = /* @__PURE__ */ new WeakMap();
-function wx(e) {
+var Mx = /* @__PURE__ */ new WeakMap();
+function Nx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function wte(e, t) {
- let n = Cx.get(e);
+function zte(e, t) {
+ let n = Mx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${wx(t)}`;
+ return `${n}-${Nx(t)}`;
}
-function Tx(e, t, n) {
- let r = Cx.get(e);
+function Px(e, t, n) {
+ let r = Mx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${wx(t)}-${wx(n)}`;
+ return `${r}-${Nx(t)}-${Nx(n)}`;
}
-function Ex(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => Tx(e, t, n)).join(" ");
+function Fx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => Px(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Dx = {};
-Dx = {
+var Ix = {};
+Ix = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -14169,8 +14535,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Ox = {};
-Ox = {
+var Lx = {};
+Lx = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -14185,8 +14551,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var kx = {};
-kx = {
+var Rx = {};
+Rx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14201,8 +14567,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var Ax = {};
-Ax = {
+var zx = {};
+zx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14217,8 +14583,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var jx = {};
-jx = {
+var Bx = {};
+Bx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14233,8 +14599,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Mx = {};
-Mx = {
+var Vx = {};
+Vx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -14249,8 +14615,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Nx = {};
-Nx = {
+var Hx = {};
+Hx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14265,8 +14631,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Px = {};
-Px = {
+var Ux = {};
+Ux = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14281,8 +14647,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Fx = {};
-Fx = {
+var Wx = {};
+Wx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14297,8 +14663,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Ix = {};
-Ix = {
+var Gx = {};
+Gx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14313,8 +14679,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Lx = {};
-Lx = {
+var Kx = {};
+Kx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14329,8 +14695,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Rx = {};
-Rx = {
+var qx = {};
+qx = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -14345,8 +14711,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var zx = {};
-zx = {
+var Jx = {};
+Jx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14361,8 +14727,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Bx = {};
-Bx = {
+var Yx = {};
+Yx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14377,8 +14743,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Vx = {};
-Vx = {
+var Xx = {};
+Xx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14393,8 +14759,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Hx = {};
-Hx = {
+var Zx = {};
+Zx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14409,8 +14775,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Ux = {};
-Ux = {
+var Qx = {};
+Qx = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -14425,8 +14791,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Wx = {};
-Wx = {
+var $x = {};
+$x = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14441,8 +14807,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Gx = {};
-Gx = {
+var eS = {};
+eS = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -14457,8 +14823,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Kx = {};
-Kx = {
+var tS = {};
+tS = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14473,8 +14839,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var qx = {};
-qx = {
+var nS = {};
+nS = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14489,8 +14855,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Jx = {};
-Jx = {
+var rS = {};
+rS = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14505,8 +14871,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Yx = {};
-Yx = {
+var iS = {};
+iS = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14521,8 +14887,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Xx = {};
-Xx = {
+var aS = {};
+aS = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14537,8 +14903,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Zx = {};
-Zx = {
+var oS = {};
+oS = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14553,8 +14919,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Qx = {};
-Qx = {
+var sS = {};
+sS = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -14569,8 +14935,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var $x = {};
-$x = {
+var cS = {};
+cS = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14585,8 +14951,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var eS = {};
-eS = {
+var lS = {};
+lS = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -14601,8 +14967,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var tS = {};
-tS = {
+var uS = {};
+uS = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14617,8 +14983,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var nS = {};
-nS = {
+var dS = {};
+dS = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14633,8 +14999,8 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var rS = {};
-rS = {
+var fS = {};
+fS = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14649,8 +15015,8 @@ rS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var iS = {};
-iS = {
+var pS = {};
+pS = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -14665,8 +15031,8 @@ iS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var aS = {};
-aS = {
+var mS = {};
+mS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14681,8 +15047,8 @@ aS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var oS = {};
-oS = {
+var hS = {};
+hS = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -14697,46 +15063,46 @@ oS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var sS = {};
-sS = {
- "ar-AE": Dx,
- "bg-BG": Ox,
- "cs-CZ": kx,
- "da-DK": Ax,
- "de-DE": jx,
- "el-GR": Mx,
- "en-US": Nx,
- "es-ES": Px,
- "et-EE": Fx,
- "fi-FI": Ix,
- "fr-FR": Lx,
- "he-IL": Rx,
- "hr-HR": zx,
- "hu-HU": Bx,
- "it-IT": Vx,
- "ja-JP": Hx,
- "ko-KR": Ux,
- "lt-LT": Wx,
- "lv-LV": Gx,
- "nb-NO": Kx,
- "nl-NL": qx,
- "pl-PL": Jx,
- "pt-BR": Yx,
- "pt-PT": Xx,
- "ro-RO": Zx,
- "ru-RU": Qx,
- "sk-SK": $x,
- "sl-SI": eS,
- "sr-SP": tS,
- "sv-SE": nS,
- "tr-TR": rS,
- "uk-UA": iS,
- "zh-CN": aS,
- "zh-TW": oS
+var gS = {};
+gS = {
+ "ar-AE": Ix,
+ "bg-BG": Lx,
+ "cs-CZ": Rx,
+ "da-DK": zx,
+ "de-DE": Bx,
+ "el-GR": Vx,
+ "en-US": Hx,
+ "es-ES": Ux,
+ "et-EE": Wx,
+ "fi-FI": Gx,
+ "fr-FR": Kx,
+ "he-IL": qx,
+ "hr-HR": Jx,
+ "hu-HU": Yx,
+ "it-IT": Xx,
+ "ja-JP": Zx,
+ "ko-KR": Qx,
+ "lt-LT": $x,
+ "lv-LV": eS,
+ "nb-NO": tS,
+ "nl-NL": nS,
+ "pl-PL": rS,
+ "pt-BR": iS,
+ "pt-PT": aS,
+ "ro-RO": oS,
+ "ru-RU": sS,
+ "sk-SK": cS,
+ "sl-SI": lS,
+ "sr-SP": uS,
+ "sv-SE": dS,
+ "tr-TR": fS,
+ "uk-UA": pS,
+ "zh-CN": mS,
+ "zh-TW": hS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Tte = class extends xx {
+var Bte = class extends Ax {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14744,7 +15110,7 @@ var Tte = class extends xx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Qv(Zv(n, this.collection));
+ let e = cy(sy(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);
@@ -14765,13 +15131,13 @@ var Tte = class extends xx {
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;
+ for (let e of sy(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)];
+ let n = this.collection.headerRows[e.level], r = [...sy(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -14800,7 +15166,7 @@ var Tte = class extends xx {
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)) {
+ for (let r of sy(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);
@@ -14814,14 +15180,14 @@ var Tte = class extends xx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Ete(e) {
+function Vte(e) {
return e && e.__esModule ? e.default : e;
}
-function Dte(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = oy({
+function Hte(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = gy({
usage: "search",
sensitivity: "base"
- }), { direction: c } = ug(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Tte({
+ }), { direction: c } = Eg(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Bte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14840,43 +15206,43 @@ function Dte(e, t, n) {
s,
a,
o
- ]), d = Wm(e.id);
- Cx.set(t, d);
- let { gridProps: f } = Cte({
+ ]), d = mh(e.id);
+ Mx.set(t, d);
+ let { gridProps: f } = Rte({
...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 = bg(Ete(sS), "@react-aria/table"), g = (0, I.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Lg(Vte(gS), "@react-aria/table"), g = (0, I.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = S_(g);
- return h_(() => {
- g && m_(g, "assertive", 500);
+ ]), _ = I_(g);
+ return k_(() => {
+ g && D_(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 cS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ug(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Sx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
+function _S(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Eg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = jx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
if (n.current) {
- let e = c_(n.current);
+ let e = x_(n.current);
if (p === "child") {
- if (dp(n.current) && n.current !== lp(Qf(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? lS(e) : e.firstChild();
+ if (Pp(n.current) && n.current !== Mp(xp(n.current))) return;
+ let r = t.selectionManager.childFocusStrategy === "last" ? vS(e) : e.firstChild();
if (r) {
- Lm(r);
+ sh(r);
return;
}
}
- (m.current != null && r.key !== m.current || !dp(n.current)) && Lm(n.current);
+ (m.current != null && r.key !== m.current || !Pp(n.current)) && sh(n.current);
}
- }, { itemProps: g, isPressed: _ } = rb({
+ }, { itemProps: g, isPressed: _ } = vb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14888,47 +15254,47 @@ function cS(e, t, n) {
}), v = H(g, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = lp(Qf(n.current));
- if (!cp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = c_(n.current);
+ let i = Mp(xp(n.current));
+ if (!jp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = x_(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), b_(t, { containingElement: __(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) sh(t), P_(t, { containingElement: j_(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), b_(n.current, { containingElement: __(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : lS(a), t && (Lm(t), b_(t, { containingElement: __(n.current) })));
+ p === "cell" && l === "rtl" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : vS(a), t && (sh(t), P_(t, { containingElement: j_(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), b_(t, { containingElement: __(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) sh(t), P_(t, { containingElement: j_(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), b_(n.current, { containingElement: __(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? lS(a) : a.firstChild(), t && (Lm(t), b_(t, { containingElement: __(n.current) })));
+ p === "cell" && l === "ltr" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? vS(a) : a.firstChild(), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && cp(n.current, V(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && jp(n.current, V(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = lp(Qf(n.current));
- if (!(!cp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
+ let r = Mp(xp(n.current));
+ if (!(!jp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
if (f === "tab" && V(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = c_(n.current, { tabbable: !0 });
+ let t = x_(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -14938,11 +15304,11 @@ function cS(e, t, n) {
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
if (m.current = r.key, V(e) !== n.current) {
- Tm() || t.selectionManager.setFocusedKey(r.key);
+ Jm() || t.selectionManager.setFocusedKey(r.key);
return;
}
- p === "child" && e.relatedTarget && cp(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && lp(Qf(n.current)) === n.current && h();
+ p === "child" && e.relatedTarget && jp(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Mp(xp(n.current)) === n.current && h();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -14957,7 +15323,7 @@ function cS(e, t, n) {
isPressed: _
};
}
-function lS(e) {
+function vS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14966,33 +15332,33 @@ function lS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Ote(e, t, n) {
- let { gridCellProps: r, isPressed: i } = cS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Tx(t, e.node.parentKey, a)), {
+function yS(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = _S(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Px(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function kte(e) {
+function bS(e) {
return e && e.__esModule ? e.default : e;
}
-function Ate(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = cS({
+function xS(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = _S({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Fg({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = $g({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = gh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !Rp() && (u = d ? f : "none");
- let p = bg(kte(sS), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && Rp() && (m = `${m}, ${p.format(f)}`));
- let h = S_(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = Bh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !sm() && (u = d ? f : "none");
+ let p = Lg(bS(gS), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && sm() && (m = `${m}, ${p.format(f)}`));
+ let h = I_(m), g = t.collection.size === 0;
return (0, I.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -15003,7 +15369,7 @@ function Ate(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: wte(t, r.key),
+ id: zte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -15012,20 +15378,20 @@ function Ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function jte(e, t, n) {
+function SS(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Mte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Sx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = rb({
+function CS(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = jx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = vb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? Rm(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? ch(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -15040,10 +15406,10 @@ function Mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Nte(e) {
+function wS(e) {
return e && e.__esModule ? e.default : e;
}
-var uS = {
+var TS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -15053,21 +15419,21 @@ var uS = {
rtl: "ArrowRight"
}
};
-function Pte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Mte(e, t, n), { direction: s } = ug();
+function ES(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = CS(e, t, n), { direction: s } = Eg();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = bg(Nte(sS), "@react-aria/table"), u = tg({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Lg(wS(gS), "@react-aria/table"), u = yg({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Ex(t, r.key)
+ "aria-labelledby": Fx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = dS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = dS(t.collection, a);
+ let n = DS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = DS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === uS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === uS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === TS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === TS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -15085,45 +15451,45 @@ function Pte(e, t, n) {
};
}
}
- let p = Jp(r.props), m = o.hasAction ? p : {};
+ let p = _m(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Ex(t, r.key)
+ "aria-labelledby": Fx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function dS(e, t) {
+function DS(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Fte() {
+function OS() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function fS() {
- return Fte();
+function kS() {
+ return OS();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Ite(e) {
+function AS(e) {
return e && e.__esModule ? e.default : e;
}
-function Lte(e, t) {
- let { key: n } = e, { checkboxProps: r } = Zee(e, t);
+function jS(e, t) {
+ let { key: n } = e, { checkboxProps: r } = ote(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Ex(t, n)}`
+ "aria-labelledby": `${r.id} ${Fx(t, n)}`
} };
}
-function Rte(e) {
+function MS(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": bg(Ite(sS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Lg(AS(gS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -15132,23 +15498,23 @@ function Rte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var pS = /* @__PURE__ */ new WeakMap();
-function mS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${pS.get(e)}-${n}-${t}`) : "";
+var NS = /* @__PURE__ */ new WeakMap();
+function PS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${NS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function hS(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 } = rb({
+function FS(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = vb({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = mS(t, r, "tab"), m = mS(t, r, "tabpanel"), { tabIndex: h } = d, g = Sg(u?.props, { labelable: !0 });
+ }), p = PS(t, r, "tab"), m = PS(t, r, "tabpanel"), { tabIndex: h } = d, g = zg(u?.props, { labelable: !0 });
delete g.id;
- let _ = Yp(u?.props), { focusableProps: v } = gh({
+ let _ = vm(u?.props), { focusableProps: v } = Bh({
...u?.props,
isDisabled: l
}, n);
@@ -15168,7 +15534,7 @@ function hS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var gS = class {
+var IS = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15212,11 +15578,11 @@ var gS = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function _S(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ug(), { collectionProps: l } = Xv({
+function LS(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Eg(), { collectionProps: l } = oy({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, I.useMemo)(() => new gS(a, c, r, s), [
+ keyboardDelegate: (0, I.useMemo)(() => new IS(a, c, r, s), [
a,
s,
r,
@@ -15226,9 +15592,9 @@ function _S(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Wm();
- return pS.set(t, u), { tabListProps: {
- ...H(l, tg({
+ }), u = mh();
+ return NS.set(t, u), { tabListProps: {
+ ...H(l, yg({
...e,
id: u
})),
@@ -15239,12 +15605,12 @@ function _S(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function vS(e, t, n) {
- let r = tb(n) ? void 0 : 0, i = mS(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: H(tg({
+function RS(e, t, n) {
+ let r = gb(n) ? void 0 : 0, i = PS(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: H(yg({
...e,
id: i,
- "aria-labelledby": mS(t, t?.selectedKey, "tab")
+ "aria-labelledby": PS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15254,7 +15620,7 @@ function vS(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var yS = /* @__PURE__ */ F(((e) => {
+var zS = /* @__PURE__ */ F(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15453,10 +15819,10 @@ var yS = /* @__PURE__ */ F(((e) => {
}
};
};
-})), bS = /* @__PURE__ */ F(((e, t) => {
- t.exports = yS();
-})), xS = /* @__PURE__ */ F(((e) => {
- var t = bS(), n = ce(), r = Sh();
+})), BS = /* @__PURE__ */ F(((e, t) => {
+ t.exports = zS();
+})), VS = /* @__PURE__ */ F(((e) => {
+ var t = BS(), n = ce(), r = Kh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -15680,9 +16046,9 @@ var yS = /* @__PURE__ */ F(((e) => {
switch (ge(ye, t), ge(ve, e), ge(_e, null), t.nodeType) {
case 9:
case 11:
- e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;
+ e = (e = t.documentElement) && (e = e.namespaceURI) ? xp(e) : 0;
break;
- default: if (e = t.tagName, t = t.namespaceURI) t = bp(t), e = xp(t, e);
+ default: if (e = t.tagName, t = t.namespaceURI) t = xp(t), e = Sp(t, e);
else switch (e) {
case "svg":
e = 1;
@@ -15700,12 +16066,12 @@ var yS = /* @__PURE__ */ F(((e) => {
}
function Ce(e) {
var t = e.memoizedState;
- t !== null && (gh._currentValue = t.memoizedState, ge(be, e)), t = _e.current;
- var n = xp(t, e.type);
+ t !== null && (_h._currentValue = t.memoizedState, ge(be, e)), t = _e.current;
+ var n = Sp(t, e.type);
t !== n && (ge(ve, e), ge(_e, n));
}
function we(e) {
- ve.current === e && (he(_e), he(ve)), be.current === e && (he(be), gh._currentValue = de);
+ ve.current === e && (he(_e), he(ve)), be.current === e && (he(be), _h._currentValue = de);
}
var Te, Ee;
function De(e) {
@@ -16014,7 +16380,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
function gt() {
var e = z.p;
- return e === 0 ? (e = window.event, e === void 0 ? 32 : Nh(e.type)) : e;
+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Mh(e.type)) : e;
}
function _t(e, t) {
var n = z.p;
@@ -16979,7 +17345,7 @@ var yS = /* @__PURE__ */ F(((e) => {
function Ni(e, t, n, r, a, o) {
var s = 0;
if (r = e, typeof r == "function") Ai(r) && (s = 1);
- else if (typeof r == "string") s = nh(e, n, _e.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
+ else if (typeof r == "string") s = rh(e, n, _e.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
case F: return e = ki(31, n, t, a), e.elementType = F, e.lanes = o, e;
case O: return Pi(n.children, a, o, t);
@@ -17115,7 +17481,7 @@ var yS = /* @__PURE__ */ F(((e) => {
break;
case "textarea": Zf("invalid", t), sn(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 || V(t.textContent, n) ? (r.popover != null && (Zf("beforetoggle", t), Zf("toggle", t)), r.onScroll != null && Zf("scroll", t), r.onScrollEnd != null && Zf("scrollend", t), r.onClick != null && (t.onclick = gn), t = !0) : t = !1, t || oa(e, !0);
+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || up(t.textContent, n) ? (r.popover != null && (Zf("beforetoggle", t), Zf("toggle", t)), r.onScroll != null && Zf("scroll", t), r.onScrollEnd != null && Zf("scrollend", t), r.onClick != null && (t.onclick = gn), t = !0) : t = !1, t || oa(e, !0);
}
function ca(e) {
for (ea = e.return; ea;) switch (ea.tag) {
@@ -17135,13 +17501,13 @@ var yS = /* @__PURE__ */ F(((e) => {
if (e !== ea) return !1;
if (!na) return ca(e), na = !0, !1;
var t = e.tag, n;
- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Cp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {
+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || wp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
ta = xm(e);
} else if (t === 31) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
ta = xm(e);
- } else t === 27 ? (t = ta, Mp(e.type) ? (e = bm, bm = null, ta = e) : ta = t) : ta = ea ? ym(e.stateNode.nextSibling) : null;
+ } else t === 27 ? (t = ta, V(e.type) ? (e = bm, bm = null, ta = e) : ta = t) : ta = ea ? ym(e.stateNode.nextSibling) : null;
return !0;
}
function ua() {
@@ -17219,7 +17585,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
} else if (a === be.current) {
if (s = a.alternate, s === null) throw Error(i(387));
- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [gh] : e.push(gh));
+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [_h] : e.push(_h));
}
a = a.return;
}
@@ -18391,7 +18757,7 @@ var yS = /* @__PURE__ */ F(((e) => {
t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, zd());
}
function ic() {
- return Ca(gh);
+ return Ca(_h);
}
function ac() {
return ss().memoizedState;
@@ -19272,9 +19638,9 @@ var yS = /* @__PURE__ */ F(((e) => {
t = t.child;
}
return t;
- case 26: return Gc(e, t), e === null ? (n = Um(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = Sp(t.type, t.pendingProps, ye.current, t)) : t.memoizedState = Um(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
- case 27: return Ce(t), e === null && na && (r = t.stateNode = Tm(t.type, t.pendingProps, ye.current), ea = t, ia = !0, a = ta, Mp(t.type) ? (bm = a, ta = ym(r.firstChild)) : ta = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;
- case 5: return e === null && na && ((a = r = ta) && (r = pm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = ym(r.firstChild), ia = !1, a = !0)), a || oa(t)), Ce(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 = $o(e, t, ns, null, null, n), gh._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;
+ case 26: return Gc(e, t), e === null ? (n = Um(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = Cp(t.type, t.pendingProps, ye.current, t)) : t.memoizedState = Um(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
+ case 27: return Ce(t), e === null && na && (r = t.stateNode = Tm(t.type, t.pendingProps, ye.current), ea = t, ia = !0, a = ta, V(t.type) ? (bm = a, ta = ym(r.firstChild)) : ta = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;
+ case 5: return e === null && na && ((a = r = ta) && (r = pm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = ym(r.firstChild), ia = !1, a = !0)), a || oa(t)), Ce(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, wp(a, o) ? r = null : s !== null && wp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), _h._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;
case 6: return e === null && na && ((e = n = ta) && (n = mm(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || oa(t)), null;
case 13: return $c(e, t, n);
case 4: return xe(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Fc(e, t, r, n), t.child;
@@ -19311,7 +19677,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
function hl(e, t, n, r, i) {
var a;
- if ((a = !!(e.mode & 32)) && (a = n === null ? rh(t, r) : rh(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 (Zd()) e.flags |= 8192;
@@ -19321,7 +19687,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
function gl(e, t) {
if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;
- else if (e.flags |= 16777216, !ih(t)) {
+ else if (e.flags |= 16777216, !ah(t)) {
if (Zd()) e.flags |= 8192;
else throw eo = Xa, Ja;
}
@@ -19383,7 +19749,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
if (o = _e.current, la(t)) sa(t, o);
else {
- var s = yp(ye.current);
+ var s = bp(ye.current);
switch (o) {
case 1:
o = s.createElementNS("http://www.w3.org/2000/svg", a);
@@ -19422,7 +19788,7 @@ var yS = /* @__PURE__ */ F(((e) => {
s.sibling.return = s.return, s = s.sibling;
}
t.stateNode = o;
- a: switch (fp(o, a, r), a) {
+ a: switch (pp(o, a, r), a) {
case "button":
case "input":
case "select":
@@ -19447,8 +19813,8 @@ var yS = /* @__PURE__ */ F(((e) => {
case 27:
case 5: r = a.memoizedProps;
}
- e[yt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || V(e.nodeValue, n)), e || oa(t, !0);
- } else e = yp(e).createTextNode(r), e[yt] = t, t.stateNode = e;
+ e[yt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || up(e.nodeValue, n)), e || oa(t, !0);
+ } else e = bp(e).createTextNode(r), e[yt] = t, t.stateNode = e;
}
return yl(t), null;
case 31:
@@ -19731,13 +20097,13 @@ var yS = /* @__PURE__ */ F(((e) => {
function Fl(e, t, n) {
try {
var r = e.stateNode;
- mp(r, e.type, n, t), r[bt] = t;
+ hp(r, e.type, n, t), r[bt] = t;
} catch (t) {
Sf(e, e.return, t);
}
}
function Il(e) {
- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Mp(e.type) || e.tag === 4;
+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && V(e.type) || e.tag === 4;
}
function Ll(e) {
a: for (;;) {
@@ -19746,7 +20112,7 @@ var yS = /* @__PURE__ */ F(((e) => {
e = e.return;
}
for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {
- if (e.tag === 27 && Mp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
+ if (e.tag === 27 && V(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
e.child.return = e, e = e.child;
}
if (!(e.flags & 2)) return e.stateNode;
@@ -19755,18 +20121,18 @@ var yS = /* @__PURE__ */ F(((e) => {
function Rl(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)), kl(e, r), Ut = !0;
- else if (i !== 4 && (i === 27 && (kl(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;
+ else if (i !== 4 && (i === 27 && (kl(e, r), r = null, V(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;
}
function zl(e, t, n, r) {
var i = e.tag;
if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), kl(e, r), Ut = !0;
- else if (i !== 4 && (i === 27 && (kl(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;
+ else if (i !== 4 && (i === 27 && (kl(e, r), r = null, V(e.type) && (n = e.stateNode)), 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 Bl(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[yt] = e, t[bt] = n;
+ pp(t, r, n), t[yt] = e, t[bt] = n;
} catch (t) {
Sf(e, e.return, t);
}
@@ -19917,7 +20283,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
var ou = !1, su = !1, cu = !1, lu = !1, uu = typeof WeakSet == "function" ? WeakSet : Set, du = null, fu = !1, pu = !1, mu = !1, hu = !1;
function gu(e, t, n) {
- if (e = e.containerInfo, _p = Eh, e = Wr(e), Gr(e)) {
+ if (e = e.containerInfo, vp = Th, e = Wr(e), Gr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -19956,10 +20322,10 @@ var yS = /* @__PURE__ */ F(((e) => {
end: 0
};
} else r = null;
- for (vp = {
+ for (yp = {
focusedElem: e,
selectionRange: r
- }, Eh = !1, n = (n & 335544064) === n, du = t, t = n ? 9270 : 1024; du !== null;) {
+ }, Th = !1, n = (n & 335544064) === n, du = t, t = n ? 9270 : 1024; du !== null;) {
if (e = du, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && $l(r[a]);
if (e.alternate === null && e.flags & 2) n && Ul(e), _u(n);
else {
@@ -20177,7 +20543,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case 27:
su || Ol(n, t), jl(n);
var r = Cu, i = wu;
- Mp(n.type) && (Cu = n.stateNode, wu = !1), Tu(e, t, n), Em(n.stateNode, n.type, n.memoizedProps), Cu = r, wu = i;
+ V(n.type) && (Cu = n.stateNode, wu = !1), Tu(e, t, n), Em(n.stateNode, n.type, n.memoizedProps), Cu = r, wu = i;
break;
case 5: su || Ol(n, t), jl(n);
case 6:
@@ -20269,7 +20635,7 @@ var yS = /* @__PURE__ */ F(((e) => {
a: for (; l !== null;) {
switch (l.tag) {
case 27:
- if (Mp(l.type)) {
+ if (V(l.type)) {
Cu = l.stateNode, wu = !1;
break a;
}
@@ -20311,31 +20677,31 @@ var yS = /* @__PURE__ */ F(((e) => {
if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {
if (n === null) {
if (e.stateNode === null) {
- if (ou) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);
+ if (ou) e.stateNode = Cp(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[Et] || r[yt] || 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[yt] = e, Nt(r), t = r;
+ r = a.getElementsByTagName("title")[0], (!r || r[Et] || r[yt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), pp(r, t, n), r[yt] = e, Nt(r), t = r;
break a;
case "link":
- if (o = eh("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;
}
}
- r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), pp(r, t, n), a.head.appendChild(r);
break;
case "meta":
- if (o = eh("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;
}
}
- r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), pp(r, t, n), a.head.appendChild(r);
break;
default: throw Error(i(468, t));
}
@@ -20343,9 +20709,9 @@ var yS = /* @__PURE__ */ F(((e) => {
}
e.stateNode = t;
}
- } else ou || th(o, e.type, e.stateNode);
+ } else ou || nh(o, e.type, e.stateNode);
} else e.stateNode = Xm(o, n, e.memoizedProps);
- } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || su || t.parentNode.removeChild(t)) : a.count--, n === null ? ou || th(o, e.type, e.stateNode) : Xm(o, n, e.memoizedProps));
+ } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || su || t.parentNode.removeChild(t)) : a.count--, n === null ? ou || nh(o, e.type, e.stateNode) : Xm(o, n, e.memoizedProps));
}
break;
case 27:
@@ -20374,7 +20740,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
break;
case 3:
- if (Ut = !1, $m = null, o = Mu, Mu = Am(t.containerInfo), ju(t, e, n), Mu = o, Pu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
+ if (Ut = !1, eh = null, o = Mu, Mu = Am(t.containerInfo), ju(t, e, n), Mu = o, Pu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
Qh(t.containerInfo);
} catch (t) {
Sf(e, e.return, t);
@@ -20457,7 +20823,7 @@ var yS = /* @__PURE__ */ F(((e) => {
function Fu(e) {
if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {
var t = e;
- Fu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Eh = !0, t.reset(), Eh = !1), e = e.sibling;
+ Fu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Th = !0, t.reset(), Th = !1), e = e.sibling;
}
}
function Iu(e, t) {
@@ -20593,7 +20959,7 @@ var yS = /* @__PURE__ */ F(((e) => {
Al(a);
break;
case 26:
- c = a.stateNode, a.memoizedState !== null || c === null || ou || th(Am(c.ownerDocument), a.type, c), Bu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);
+ c = a.stateNode, a.memoizedState !== null || c === null || ou || nh(Am(c.ownerDocument), a.type, c), Bu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);
break;
case 12:
Bu(i, a, n);
@@ -20718,10 +21084,10 @@ var yS = /* @__PURE__ */ F(((e) => {
function Yu(e, t, n) {
switch (e.tag) {
case 26:
- Ju(e, t, n), e.flags & qu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && oh(n, e)) : sh(n, Mu, e.memoizedState, e.memoizedProps));
+ Ju(e, t, n), e.flags & qu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && sh(n, e)) : ch(n, Mu, e.memoizedState, e.memoizedProps));
break;
case 5:
- Ju(e, t, n), e.flags & qu && (e = e.stateNode, (t & 335544128) === t && oh(n, e));
+ Ju(e, t, n), e.flags & qu && (e = e.stateNode, (t & 335544128) === t && sh(n, e));
break;
case 3:
case 4:
@@ -20923,7 +21289,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
if ((t & 62914560) === t && (a = Sd + 300 - Le(), 10 < a)) {
if (Kd(r, t, _d, !ld), rt(r, 0, !0) !== 0) break a;
- Ad = t, r.timeoutHandle = Ep(Wd.bind(null, r, n, bd, Td, xd, t, _d, hd, vd, ld, o, "Throttled", -0, 0), a);
+ Ad = t, r.timeoutHandle = Dp(Wd.bind(null, r, n, bd, Td, xd, t, _d, hd, vd, ld, o, "Throttled", -0, 0), a);
break a;
}
Wd(r, n, bd, Td, xd, t, _d, hd, vd, ld, o, null, -0, 0);
@@ -20944,7 +21310,7 @@ var yS = /* @__PURE__ */ F(((e) => {
waitingForImages: !0,
waitingForViewTransition: !1,
unsuspend: gn
- }, Hl = null, Yu(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 = dh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Sd - Le() : (a & 4194048) === a ? Cd - Le() : 0, m = lh(d, m), m !== null)) {
+ }, Hl = null, Yu(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 ? Sd - Le() : (a & 4194048) === a ? Cd - Le() : 0, m = uh(d, m), m !== null)) {
Ad = a, e.cancelPendingCommit = m(df.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Kd(e, a, o, !l);
return;
}
@@ -20995,7 +21361,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
function Yd(e, t) {
var n = e.timeoutHandle;
- return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ad = 0, Jd(), id = e, ad = n = ji(e.current, null), od = t, sd = 0, cd = null, ld = !1, ud = it(e, t), dd = !1, vd = _d = gd = hd = md = pd = 0, bd = yd = null, xd = !1, fd = at(e, t), xi(), n;
+ return n !== -1 && (e.timeoutHandle = -1, Op(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ad = 0, Jd(), id = e, ad = n = ji(e.current, null), od = t, sd = 0, cd = null, ld = !1, ud = it(e, t), dd = !1, vd = _d = gd = hd = md = pd = 0, bd = yd = null, xd = !1, fd = at(e, t), xi(), n;
}
function Xd(e, t) {
Vo = null, R.H = hc, t === qa || t === Ya ? (t = to(), sd = 3) : t === Ja ? (t = to(), sd = 4) : sd = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, cd = t, ad === null && (pd = 1, Dc(e, zi(t, e.current)));
@@ -21094,7 +21460,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case 5:
case 27:
var c = ad;
- if (s ? ih(s) : c.stateNode.complete) {
+ if (s ? ah(s) : c.stateNode.complete) {
sd = 0, cd = null;
var l = c.sibling;
if (l !== null) ad = l;
@@ -21245,7 +21611,7 @@ var yS = /* @__PURE__ */ F(((e) => {
var a = rd;
rd |= 4;
try {
- pu = mu = !1, Nu(t, e, n), n = vp;
+ pu = mu = !1, Nu(t, e, n), n = yp;
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)) {
@@ -21274,7 +21640,7 @@ var yS = /* @__PURE__ */ F(((e) => {
b.element.scrollLeft = b.left, b.element.scrollTop = b.top;
}
}
- Eh = !!_p, vp = _p = null;
+ Th = !!vp, yp = vp = null;
} finally {
rd = a, z.p = i, R.T = r;
}
@@ -21442,7 +21808,7 @@ var yS = /* @__PURE__ */ F(((e) => {
function Rf() {
Mf = jf = !1;
var e = 0;
- Pf !== 0 && Tp() && (e = Pf);
+ Pf !== 0 && Ep() && (e = Pf);
for (var t = Le(), n = null, r = kf; r !== null;) {
var i = r.next, a = zf(r, t);
a === 0 ? (r.next = null, n === null ? kf = i : n.next = i, i === null && (Af = n)) : (n = r, (e !== 0 || a & 3) && (Mf = !0)), r = i;
@@ -21486,7 +21852,7 @@ var yS = /* @__PURE__ */ F(((e) => {
Ud(e, t, !0);
}
function Hf() {
- Ap(function() {
+ jp(function() {
rd & 6 ? Ne(ze, Lf) : Rf();
});
}
@@ -21595,14 +21961,14 @@ var yS = /* @__PURE__ */ F(((e) => {
}
}
function tp(e, t, n, r) {
- switch (Nh(t)) {
+ switch (Mh(t)) {
case 2:
- var i = Dh;
+ var i = Eh;
break;
case 8:
- i = Oh;
+ i = Dh;
break;
- default: i = kh;
+ default: i = Oh;
}
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, {
capture: !0,
@@ -21834,10 +22200,10 @@ var yS = /* @__PURE__ */ F(((e) => {
function lp(e) {
return (typeof e == "string" ? e : "" + e).replace(sp, "\n").replace(cp, "");
}
- function V(e, t) {
+ function up(e, t) {
return t = lp(t), lp(e) === t;
}
- function up(e, t, n, r, a, o) {
+ function dp(e, t, n, r, a, o) {
switch (n) {
case "children":
if (typeof r == "string") t === "body" || t === "textarea" && r === "" || cn(e, r);
@@ -21882,7 +22248,7 @@ var yS = /* @__PURE__ */ F(((e) => {
e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");
break;
}
- if (typeof o == "function" && (n === "formAction" ? (t !== "input" && up(e, t, "name", a.name, a, null), up(e, t, "formEncType", a.formEncType, a, null), up(e, t, "formMethod", a.formMethod, a, null), up(e, t, "formTarget", a.formTarget, a, null)) : (up(e, t, "encType", a.encType, a, null), up(e, t, "method", a.method, a, null), up(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && dp(e, t, "name", a.name, a, null), dp(e, t, "formEncType", a.formEncType, a, null), dp(e, t, "formMethod", a.formMethod, a, null), dp(e, t, "formTarget", a.formTarget, a, null)) : (dp(e, t, "encType", a.encType, a, null), dp(e, t, "method", a.method, a, null), dp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
e.removeAttribute(n);
break;
}
@@ -22016,7 +22382,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
Ut = !0;
}
- function dp(e, t, n, r, a, o) {
+ function fp(e, t, n, r, a, o) {
switch (n) {
case "style":
dn(e, r, o);
@@ -22062,7 +22428,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
Ut = !0;
}
- function fp(e, t, n) {
+ function pp(e, t, n) {
switch (t) {
case "div":
case "span":
@@ -22086,10 +22452,10 @@ var yS = /* @__PURE__ */ F(((e) => {
break;
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: up(e, t, o, s, n, null);
+ default: dp(e, t, o, s, n, null);
}
}
- a && up(e, t, "srcSet", n.srcSet, n, null), r && up(e, t, "src", n.src, n, null);
+ a && dp(e, t, "srcSet", n.srcSet, n, null), r && dp(e, t, "src", n.src, n, null);
return;
case "input":
Zf("invalid", e);
@@ -22119,7 +22485,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "dangerouslySetInnerHTML":
if (d != null) throw Error(i(137, t));
break;
- default: up(e, t, r, d, n, null);
+ default: dp(e, t, r, d, n, null);
}
}
nn(e, o, c, l, u, s, a, !1);
@@ -22133,7 +22499,7 @@ var yS = /* @__PURE__ */ F(((e) => {
s = c;
break;
case "multiple": r = c;
- default: up(e, t, a, c, n, null);
+ default: dp(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);
return;
@@ -22151,7 +22517,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "dangerouslySetInnerHTML":
if (c != null) throw Error(i(91));
break;
- default: up(e, t, s, c, n, null);
+ default: dp(e, t, s, c, n, null);
}
sn(e, r, a, o);
return;
@@ -22160,7 +22526,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "selected":
e.selected = r && typeof r != "function" && typeof r != "symbol";
break;
- default: up(e, t, l, r, n, null);
+ default: dp(e, t, l, r, n, null);
}
return;
case "dialog":
@@ -22197,18 +22563,18 @@ var yS = /* @__PURE__ */ F(((e) => {
for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: up(e, t, u, r, n, null);
+ default: dp(e, t, u, r, n, null);
}
return;
default: if (fn(t)) {
- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && dp(e, t, d, r, n, void 0));
+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && fp(e, t, d, r, n, void 0));
return;
}
}
- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && up(e, t, c, r, n, null));
+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && dp(e, t, c, r, n, null));
}
- var pp = {};
- function mp(e, t, n, r) {
+ var mp = {};
+ function hp(e, t, n, r) {
switch (t) {
case "div":
case "span":
@@ -22226,7 +22592,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "checked": break;
case "value": break;
case "defaultValue": l = f;
- default: r.hasOwnProperty(m) || up(e, t, m, null, r, f);
+ default: r.hasOwnProperty(m) || dp(e, t, m, null, r, f);
}
}
for (var p in r) {
@@ -22254,7 +22620,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "dangerouslySetInnerHTML":
if (m != null) throw Error(i(137, t));
break;
- default: m !== f && up(e, t, p, m, r, f);
+ default: m !== f && dp(e, t, p, m, r, f);
}
}
tn(e, s, c, l, u, d, o, a);
@@ -22263,7 +22629,7 @@ var yS = /* @__PURE__ */ F(((e) => {
for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {
case "value": break;
case "multiple": m = l;
- default: r.hasOwnProperty(o) || up(e, t, o, null, r, l);
+ default: r.hasOwnProperty(o) || dp(e, t, o, null, r, l);
}
for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {
case "value":
@@ -22273,7 +22639,7 @@ var yS = /* @__PURE__ */ F(((e) => {
o !== l && (Ut = !0), c = o;
break;
case "multiple": o !== l && (Ut = !0), s = o;
- default: o !== l && up(e, t, a, o, r, l);
+ default: o !== l && dp(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);
return;
@@ -22281,7 +22647,7 @@ var yS = /* @__PURE__ */ F(((e) => {
for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {
case "value": break;
case "children": break;
- default: up(e, t, c, null, r, a);
+ default: dp(e, t, c, null, r, a);
}
for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {
case "value":
@@ -22294,7 +22660,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "dangerouslySetInnerHTML":
if (a != null) throw Error(i(91));
break;
- default: a !== o && up(e, t, s, a, r, o);
+ default: a !== o && dp(e, t, s, a, r, o);
}
on(e, p, m);
return;
@@ -22303,13 +22669,13 @@ var yS = /* @__PURE__ */ F(((e) => {
case "selected":
e.selected = !1;
break;
- default: up(e, t, h, null, r, p);
+ default: dp(e, t, h, null, r, p);
}
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 && (Ut = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
break;
- default: up(e, t, l, p, r, m);
+ default: dp(e, t, l, p, r, m);
}
return;
case "img":
@@ -22327,25 +22693,25 @@ var yS = /* @__PURE__ */ F(((e) => {
case "track":
case "wbr":
case "menuitem":
- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && up(e, t, g, null, r, p);
+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && dp(e, t, g, null, r, p);
for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {
case "children":
case "dangerouslySetInnerHTML":
if (p != null) throw Error(i(137, t));
break;
- default: up(e, t, u, p, r, m);
+ default: dp(e, t, u, p, r, m);
}
return;
default: if (fn(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);
+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && fp(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 || fp(e, t, d, p, r, m);
return;
}
}
- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && up(e, t, v, null, r, p);
- for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || up(e, t, f, p, r, m);
+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && dp(e, t, v, null, r, p);
+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || dp(e, t, f, p, r, m);
}
- function hp(e) {
+ function gp(e) {
switch (e) {
case "css":
case "script":
@@ -22357,16 +22723,16 @@ var yS = /* @__PURE__ */ F(((e) => {
default: return !1;
}
}
- function gp() {
+ function _p() {
if (typeof performance.getEntriesByType == "function") {
for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {
var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;
- if (a && s && hp(o)) {
+ if (a && s && gp(o)) {
for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {
var c = n[r], l = c.startTime;
if (l > s) break;
var u = c.transferSize, d = c.initiatorType;
- u && hp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
+ u && gp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
}
if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;
}
@@ -22375,18 +22741,18 @@ var yS = /* @__PURE__ */ F(((e) => {
}
return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;
}
- var _p = null, vp = null;
- function yp(e) {
+ var vp = null, yp = null;
+ function bp(e) {
return e.nodeType === 9 ? e : e.ownerDocument;
}
- function bp(e) {
+ function xp(e) {
switch (e) {
case "http://www.w3.org/2000/svg": return 1;
case "http://www.w3.org/1998/Math/MathML": return 2;
default: return 0;
}
}
- function xp(e, t) {
+ function Sp(e, t) {
if (e === 0) switch (t) {
case "svg": return 1;
case "math": return 2;
@@ -22394,26 +22760,26 @@ var yS = /* @__PURE__ */ F(((e) => {
}
return e === 1 && t === "foreignObject" ? 0 : e;
}
- function Sp(e, t, n, r) {
- return n = yp(n).createElement(e), n[yt] = r, n[bt] = t, fp(n, e, t), Nt(n), n;
+ function Cp(e, t, n, r) {
+ return n = bp(n).createElement(e), n[yt] = r, n[bt] = t, pp(n, e, t), Nt(n), n;
}
- function Cp(e, t) {
+ function wp(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;
}
- var wp = null;
- function Tp() {
+ var Tp = null;
+ function Ep() {
var e = window.event;
- return e && e.type === "popstate" ? e !== wp && (wp = e, !0) : (wp = null, !1);
+ return e && e.type === "popstate" ? e !== Tp && (Tp = e, !0) : (Tp = null, !1);
}
- var Ep = typeof setTimeout == "function" ? setTimeout : void 0, Dp = typeof clearTimeout == "function" ? clearTimeout : void 0, Op = typeof Promise == "function" ? Promise : void 0, kp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Ep, Ap = typeof queueMicrotask == "function" ? queueMicrotask : Op === void 0 ? Ep : function(e) {
- return Op.resolve(null).then(e).catch(jp);
+ var Dp = typeof setTimeout == "function" ? setTimeout : void 0, Op = typeof clearTimeout == "function" ? clearTimeout : void 0, kp = typeof Promise == "function" ? Promise : void 0, Ap = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Dp, jp = typeof queueMicrotask == "function" ? queueMicrotask : kp === void 0 ? Dp : function(e) {
+ return kp.resolve(null).then(e).catch(Mp);
};
- function jp(e) {
+ function Mp(e) {
setTimeout(function() {
throw e;
});
}
- function Mp(e) {
+ function V(e) {
return e === "head";
}
function Np(e, t) {
@@ -22506,7 +22872,7 @@ var yS = /* @__PURE__ */ F(((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 += ah(f), u > ch) {
+ if (u += oh(f), u > lh) {
s.length = o;
break;
}
@@ -22675,7 +23041,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
Gp.prototype.blur = function() {
var e = p(this._fragmentFiber);
- e !== null && (e = _(e), e = yp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, $p, e, void 0, void 0));
+ e !== null && (e = _(e), e = bp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, $p, e, void 0, void 0));
};
function $p(e, t) {
return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);
@@ -22979,14 +23345,14 @@ var yS = /* @__PURE__ */ F(((e) => {
return r;
}
function wm(e) {
- kp(function() {
- kp(function(t) {
+ Ap(function() {
+ Ap(function(t) {
return e(t);
});
});
}
function Tm(e, t, n) {
- switch (t = yp(n), e) {
+ switch (t = bp(n), e) {
case "html":
if (e = t.documentElement, !e) throw Error(i(452));
return e;
@@ -23002,7 +23368,7 @@ var yS = /* @__PURE__ */ F(((e) => {
function Em(e, t, n) {
for (var r in n) {
var i = n[r];
- n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);
+ n.hasOwnProperty(r) && i != null && dp(e, t, r, null, mp, i);
}
n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === gn && (e.onclick = null), Ot(e);
}
@@ -23047,7 +23413,7 @@ var yS = /* @__PURE__ */ F(((e) => {
rel: e,
crossOrigin: n,
href: t
- }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Nt(t), r.head.appendChild(t)));
+ }, r.querySelector(i) === null && (t = r.createElement("link"), pp(t, "link", e), Nt(t), r.head.appendChild(t)));
}
}
function Im(e) {
@@ -23075,7 +23441,7 @@ var yS = /* @__PURE__ */ F(((e) => {
as: t
}, n), Om.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Gm(a)) || t === "script" && r.querySelector(Ym(a))))) {
var o = r.createElement("link");
- fp(o, "link", e), t === "style" && (o[Dt] = !0, o.onload = o.onerror = function() {
+ pp(o, "link", e), t === "style" && (o[Dt] = !0, o.onload = o.onerror = function() {
Pt(o);
}), Nt(o), r.head.appendChild(o);
}
@@ -23106,7 +23472,7 @@ var yS = /* @__PURE__ */ F(((e) => {
case "worker":
case "script": if (n.querySelector(Ym(a))) return;
}
- r = n.createElement("link"), fp(r, "link", e), Nt(r), n.head.appendChild(r);
+ r = n.createElement("link"), pp(r, "link", e), Nt(r), n.head.appendChild(r);
}
}
}
@@ -23128,15 +23494,15 @@ var yS = /* @__PURE__ */ F(((e) => {
rel: "stylesheet",
href: e,
"data-precedence": t
- }, n), (n = Om.get(a)) && Zm(e, n);
+ }, n), (n = Om.get(a)) && Qm(e, n);
var c = o = r.createElement("link");
- Nt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {
+ Nt(c), pp(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, H(o, t, r);
+ }), s.loading |= 4, Zm(o, t, r);
}
o = {
type: "stylesheet",
@@ -23155,7 +23521,7 @@ var yS = /* @__PURE__ */ F(((e) => {
a || (a = n.querySelector(Ym(i)), a || (e = w({
src: e,
async: !0
- }, t), (t = Om.get(i)) && Qm(e, t), a = n.createElement("script"), Nt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = Om.get(i)) && $m(e, t), a = n.createElement("script"), Nt(a), pp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -23172,7 +23538,7 @@ var yS = /* @__PURE__ */ F(((e) => {
src: e,
async: !0,
type: "module"
- }, t), (t = Om.get(i)) && Qm(e, t), a = n.createElement("script"), Nt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = Om.get(i)) && $m(e, t), a = n.createElement("script"), Nt(a), pp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -23255,7 +23621,7 @@ var yS = /* @__PURE__ */ F(((e) => {
r.loading = 1;
return;
}
- } else t = e.createElement("link"), t[Dt] = !0, t.onload = t.onerror = Pt.bind(null, t), fp(t, "link", n), Nt(t), e.head.appendChild(t);
+ } else t = e.createElement("link"), t[Dt] = !0, t.onload = t.onerror = Pt.bind(null, t), pp(t, "link", n), Nt(t), e.head.appendChild(t);
r.preload = t, t.addEventListener("load", function() {
return r.loading |= 1;
}), t.addEventListener("error", function() {
@@ -23279,24 +23645,24 @@ var yS = /* @__PURE__ */ F(((e) => {
href: null,
precedence: null
});
- return r = (e.ownerDocument || e).createElement("style"), Nt(r), fp(r, "style", a), H(r, n.precedence, e), t.instance = r;
+ return r = (e.ownerDocument || e).createElement("style"), Nt(r), pp(r, "style", a), Zm(r, n.precedence, e), t.instance = r;
case "stylesheet":
a = Wm(n.href);
var o = e.querySelector(Gm(a));
if (o) return t.state.loading |= 4, t.instance = o, Nt(o), o;
- r = Km(n), (a = Om.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Nt(o);
+ r = Km(n), (a = Om.get(a)) && Qm(r, a), o = (e.ownerDocument || e).createElement("link"), Nt(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, H(o, n.precedence, e), t.instance = o;
- case "script": return o = Jm(n.src), (a = e.querySelector(Ym(o))) ? (t.instance = a, Nt(a), a) : (r = n, (a = Om.get(o)) && (r = w({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Nt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);
+ }), pp(o, "link", r), t.state.loading |= 4, Zm(o, n.precedence, e), t.instance = o;
+ case "script": return o = Jm(n.src), (a = e.querySelector(Ym(o))) ? (t.instance = a, Nt(a), a) : (r = n, (a = Om.get(o)) && (r = w({}, n), $m(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Nt(a), pp(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, H(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 H(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;
@@ -23304,18 +23670,18 @@ var yS = /* @__PURE__ */ F(((e) => {
}
a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));
}
- function Zm(e, t) {
+ function Qm(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;
}
- function Qm(e, t) {
+ function $m(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;
}
- var $m = null;
- function eh(e, t, n) {
- if ($m === null) {
- var r = /* @__PURE__ */ new Map(), i = $m = /* @__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 = $m, 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];
@@ -23328,10 +23694,10 @@ var yS = /* @__PURE__ */ F(((e) => {
}
return r;
}
- function th(e, t, n) {
+ function nh(e, t, n) {
e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);
}
- function nh(e, t, n) {
+ function rh(e, t, n) {
if (n === 1 || t.itemProp != null) return !1;
switch (e) {
case "meta":
@@ -23349,91 +23715,91 @@ var yS = /* @__PURE__ */ F(((e) => {
}
return !1;
}
- function rh(e, t) {
+ function ih(e, t) {
return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";
}
- function ih(e) {
+ function ah(e) {
return !(e.type === "stylesheet" && !(e.state.loading & 3));
}
- function ah(e) {
+ function oh(e) {
return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;
}
- function oh(e, t) {
- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += ah(t), e.suspenseyImages.push(t)), e = fh.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 sh(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 = Wm(r.href), a = t.querySelector(Gm(i));
if (a) {
- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Nt(a);
+ 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, Nt(a);
return;
}
- a = t.ownerDocument || t, r = Km(r), (i = Om.get(i)) && Zm(r, i), a = a.createElement("link"), Nt(a);
+ a = t.ownerDocument || t, r = Km(r), (i = Om.get(i)) && Qm(r, i), a = a.createElement("link"), Nt(a);
var o = a;
o._p = new Promise(function(e, t) {
o.onload = e, o.onerror = t;
- }), fp(a, "link", r), n.instance = a;
+ }), pp(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 = dh.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 ch = 0;
- function lh(e, t) {
- return e.stylesheets && e.count === 0 && mh(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 && mh(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 && ch === 0 && (ch = 62500 * gp());
+ 0 < e.imgBytes && lh === 0 && (lh = 62500 * _p());
var i = setTimeout(function() {
- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && mh(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 > ch ? 50 : 800) + t);
+ }, (e.imgBytes > lh ? 50 : 800) + t);
return e.unsuspend = n, function() {
e.unsuspend = null, clearTimeout(r), clearTimeout(i);
};
} : null;
}
- function uh(e) {
+ function dh(e) {
if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {
- if (e.stylesheets) mh(e, e.stylesheets);
+ if (e.stylesheets) hh(e, e.stylesheets);
else if (e.unsuspend) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
}
}
- function dh() {
- this.count--, uh(this);
- }
function fh() {
- this.imgCount--, uh(this);
+ this.count--, dh(this);
}
- var ph = null;
- function mh(e, t) {
- e.stylesheets = null, e.unsuspend !== null && (e.count++, ph = /* @__PURE__ */ new Map(), t.forEach(hh, e), ph = null, dh.call(e));
+ function ph() {
+ this.imgCount--, dh(this);
}
+ 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 gh(e, t) {
if (!(t.state.loading & 4)) {
- var n = ph.get(e);
+ var n = mh.get(e);
if (n) var r = n.get(null);
else {
- n = /* @__PURE__ */ new Map(), ph.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 = dh.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 gh = {
+ var _h = {
$$typeof: M,
Provider: null,
Consumer: null,
@@ -23441,21 +23807,21 @@ var yS = /* @__PURE__ */ F(((e) => {
_currentValue2: de,
_threadCount: 0
};
- function _h(e, t, n, r, i, a, o, s, c) {
+ 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 = ct(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ct(0), this.hiddenUpdates = ct(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, l, u, d) {
- return e = new _h(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(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 = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
element: r,
isDehydrated: n,
cache: t
}, po(a), e;
}
- function yh(e) {
+ function bh(e) {
return e ? (e = Di, e) : Di;
}
- function bh(e, t, n, r, i, a) {
- i = yh(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 && (Hd(n, e, t), _o(n, e, t));
+ function H(e, t, n, r, i, a) {
+ i = bh(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 && (Hd(n, e, t), _o(n, e, t));
}
function xh(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
@@ -23463,50 +23829,50 @@ var yS = /* @__PURE__ */ F(((e) => {
e.retryLane = n !== 0 && n < t ? n : t;
}
}
- function Ch(e, t) {
+ function Sh(e, t) {
xh(e, t), (e = e.alternate) && xh(e, t);
}
- function wh(e) {
+ function Ch(e) {
if (e.tag === 13 || e.tag === 31) {
var t = wi(e, 67108864);
- t !== null && Hd(t, e, 67108864), Ch(e, 67108864);
+ t !== null && Hd(t, e, 67108864), Sh(e, 67108864);
}
}
- function Th(e) {
+ function wh(e) {
if (e.tag === 13 || e.tag === 31) {
var t = zd();
t = mt(t);
var n = wi(e, t);
- n !== null && Hd(n, e, t), Ch(e, t);
+ n !== null && Hd(n, e, t), Sh(e, t);
}
}
- var Eh = !0;
- function Dh(e, t, n, r) {
+ var Th = !0;
+ function Eh(e, t, n, r) {
var i = R.T;
R.T = null;
var a = z.p;
try {
- z.p = 2, kh(e, t, n, r);
+ z.p = 2, Oh(e, t, n, r);
} finally {
z.p = a, R.T = i;
}
}
- function Oh(e, t, n, r) {
+ function Dh(e, t, n, r) {
var i = R.T;
R.T = null;
var a = z.p;
try {
- z.p = 8, kh(e, t, n, r);
+ z.p = 8, Oh(e, t, n, r);
} finally {
z.p = a, R.T = i;
}
}
- function kh(e, t, n, r) {
- if (Eh) {
- var i = Ah(r);
- if (i === null) np(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)) {
+ function Oh(e, t, n, r) {
+ if (Th) {
+ var i = kh(r);
+ if (i === null) np(e, t, r, Ah, n), Vh(e, r);
+ else if (Uh(i, e, t, n, r)) r.stopPropagation();
+ else if (Vh(e, r), t & 4 && -1 < Bh.indexOf(e)) {
for (; i !== null;) {
var a = At(i);
if (a !== null) switch (a.tag) {
@@ -23524,21 +23890,21 @@ var yS = /* @__PURE__ */ F(((e) => {
}
break;
case 31:
- case 13: s = wi(a, 2), s !== null && Hd(s, a, 2), qd(), Ch(a, 2);
+ case 13: s = wi(a, 2), s !== null && Hd(s, a, 2), qd(), Sh(a, 2);
}
- if (a = Ah(r), a === null && np(e, t, r, jh, n), a === i) break;
+ if (a = kh(r), a === null && np(e, t, r, Ah, n), a === i) break;
i = a;
}
i !== null && r.stopPropagation();
} else np(e, t, r, null, n);
}
}
- function Ah(e) {
- return e = vn(e), Mh(e);
+ function kh(e) {
+ return e = vn(e), jh(e);
}
- var jh = null;
- function Mh(e) {
- if (jh = null, e = kt(e), e !== null) {
+ var Ah = null;
+ function jh(e) {
+ if (Ah = null, e = kt(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -23555,9 +23921,9 @@ var yS = /* @__PURE__ */ F(((e) => {
} else t !== e && (e = null);
}
}
- return jh = e, null;
+ return Ah = e, null;
}
- function Nh(e) {
+ function Mh(e) {
switch (e) {
case "beforetoggle":
case "cancel":
@@ -23642,51 +24008,51 @@ var yS = /* @__PURE__ */ F(((e) => {
default: return 32;
}
}
- 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) {
+ var Nh = !1, Ph = null, Fh = null, Ih = null, Lh = /* @__PURE__ */ new Map(), Rh = /* @__PURE__ */ new Map(), zh = [], Bh = "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 Vh(e, t) {
switch (e) {
case "focusin":
case "focusout":
- Fh = null;
+ Ph = null;
break;
case "dragenter":
case "dragleave":
- Ih = null;
+ Fh = null;
break;
case "mouseover":
case "mouseout":
- Lh = null;
+ Ih = null;
break;
case "pointerover":
case "pointerout":
- Rh.delete(t.pointerId);
+ Lh.delete(t.pointerId);
break;
case "gotpointercapture":
- case "lostpointercapture": zh.delete(t.pointerId);
+ case "lostpointercapture": Rh.delete(t.pointerId);
}
}
- function Uh(e, t, n, r, i, a) {
+ function Hh(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 = At(t), t !== null && wh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
+ }, t !== null && (t = At(t), t !== null && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
}
- function Wh(e, t, n, r, i) {
+ function Uh(e, t, n, r, i) {
switch (t) {
- 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 "focusin": return Ph = Hh(Ph, e, t, n, r, i), !0;
+ case "dragenter": return Fh = Hh(Fh, e, t, n, r, i), !0;
+ case "mouseover": return Ih = Hh(Ih, e, t, n, r, i), !0;
case "pointerover":
var a = i.pointerId;
- 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 Lh.set(a, Hh(Lh.get(a) || null, e, t, n, r, i)), !0;
+ case "gotpointercapture": return a = i.pointerId, Rh.set(a, Hh(Rh.get(a) || null, e, t, n, r, i)), !0;
}
return !1;
}
- function Gh(e) {
+ function Wh(e) {
var t = kt(e.target);
if (t !== null) {
var n = o(t);
@@ -23694,14 +24060,14 @@ var yS = /* @__PURE__ */ F(((e) => {
if (t = n.tag, t === 13) {
if (t = s(n), t !== null) {
e.blockedOn = t, _t(e.priority, function() {
- Th(n);
+ wh(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
e.blockedOn = t, _t(e.priority, function() {
- Th(n);
+ wh(n);
});
return;
}
@@ -23713,27 +24079,27 @@ var yS = /* @__PURE__ */ F(((e) => {
}
e.blockedOn = null;
}
- function Kh(e) {
+ function Gh(e) {
if (e.blockedOn !== null) return !1;
for (var t = e.targetContainers; 0 < t.length;) {
- var n = Ah(e.nativeEvent);
+ var n = kh(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 = At(n), t !== null && wh(t), e.blockedOn = n, !1;
+ } else return t = At(n), t !== null && Ch(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
}
function qh(e, t, n) {
- Kh(e) && n.delete(t);
+ Gh(e) && n.delete(t);
}
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);
+ Nh = !1, Ph !== null && Gh(Ph) && (Ph = null), Fh !== null && Gh(Fh) && (Fh = null), Ih !== null && Gh(Ih) && (Ih = null), Lh.forEach(qh), Rh.forEach(qh);
}
function Yh(e, n) {
- e.blockedOn === n && (e.blockedOn = null, Ph || (Ph = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Jh)));
+ e.blockedOn === n && (e.blockedOn = null, Nh || (Nh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Jh)));
}
var Xh = null;
function Zh(e) {
@@ -23742,7 +24108,7 @@ var yS = /* @__PURE__ */ F(((e) => {
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 (Mh(r || n) === null) continue;
+ if (jh(r || n) === null) continue;
break;
}
var a = At(n);
@@ -23759,12 +24125,12 @@ var yS = /* @__PURE__ */ F(((e) => {
function t(t) {
return Yh(t, e);
}
- 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];
+ Ph !== null && Yh(Ph, e), Fh !== null && Yh(Fh, e), Ih !== null && Yh(Ih, e), Lh.forEach(t), Rh.forEach(t);
+ for (var n = 0; n < zh.length; n++) {
+ var r = zh[n];
r.blockedOn === e && (r.blockedOn = null);
}
- for (; 0 < Bh.length && (n = Bh[0], n.blockedOn === null);) Gh(n), n.blockedOn === null && Bh.shift();
+ for (; 0 < zh.length && (n = zh[0], n.blockedOn === null);) Wh(n), n.blockedOn === null && zh.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[bt] || null;
if (typeof a == "function") o || Zh(n);
@@ -23772,7 +24138,7 @@ var yS = /* @__PURE__ */ F(((e) => {
var s = null;
if (a && a.hasAttribute("formAction")) {
if (i = a, o = a[bt] || null) s = o.formAction;
- else if (Mh(i) !== null) continue;
+ else if (jh(i) !== null) continue;
} else s = o.action;
typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Zh(n);
}
@@ -23817,13 +24183,13 @@ var yS = /* @__PURE__ */ F(((e) => {
var t = this._internalRoot;
if (t === null) throw Error(i(409));
var n = t.current;
- bh(n, zd(), e, t, null, null);
+ H(n, zd(), 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;
- bh(e.current, 2, null, e, null, null), qd(), t[xt] = null;
+ H(e.current, 2, null, e, null, null), qd(), t[xt] = null;
}
};
function tg(e) {
@@ -23837,8 +24203,8 @@ var yS = /* @__PURE__ */ F(((e) => {
target: e,
priority: t
};
- for (var n = 0; n < Bh.length && t !== 0 && t < Bh[n].priority; n++);
- Bh.splice(n, 0, e), n === 0 && Gh(e);
+ for (var n = 0; n < zh.length && t !== 0 && t < zh[n].priority; n++);
+ zh.splice(n, 0, e), n === 0 && Wh(e);
}
};
var ng = n.version;
@@ -23864,9 +24230,9 @@ var yS = /* @__PURE__ */ F(((e) => {
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
var n = !1, r = "", o = wc, s = Tc, c = Ec;
- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = vh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, ep(e), new eg(t);
+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, ep(e), new eg(t);
};
-})), SS = (/* @__PURE__ */ F(((e, t) => {
+})), HS = (/* @__PURE__ */ F(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -23874,8 +24240,8 @@ var yS = /* @__PURE__ */ F(((e) => {
console.error(e);
}
}
- n(), t.exports = xS();
-})))(), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+ n(), t.exports = VS();
+})))(), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23883,7 +24249,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23891,7 +24257,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), GS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23899,7 +24265,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), KS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23907,7 +24273,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), qS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23915,7 +24281,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), JS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23923,7 +24289,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), YS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23931,7 +24297,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), XS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23939,7 +24305,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), ZS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23947,7 +24313,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), QS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23955,7 +24321,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), $S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23963,7 +24329,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), eC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23971,7 +24337,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), tC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23979,7 +24345,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), IS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), nC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23987,7 +24353,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), LS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), rC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23995,7 +24361,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), RS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), iC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24003,7 +24369,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), zS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), aC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24011,7 +24377,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), BS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), oC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24019,7 +24385,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), VS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), sC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24027,7 +24393,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), HS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), cC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24035,7 +24401,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), lC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24043,7 +24409,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), uC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24051,7 +24417,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), GS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), dC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24059,7 +24425,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), KS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), fC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24067,7 +24433,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), qS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24075,7 +24441,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), JS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24083,7 +24449,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), YS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), pC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24091,7 +24457,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), XS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), mC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24099,7 +24465,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), ZS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), hC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24107,7 +24473,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), QS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), gC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24115,7 +24481,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), $S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24123,7 +24489,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), eC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24131,7 +24497,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), tC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24139,7 +24505,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), nC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), _C = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24147,7 +24513,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), rC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), vC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24155,7 +24521,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), iC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Jte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24163,7 +24529,7 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), aC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Yte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24171,100 +24537,100 @@ var yS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), oC = (e, t) => {
+}, I.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Xte = (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;
-}, sC = (e, t) => ({
+}, Zte = (e, t) => ({
classGroupId: e,
validator: t
-}), cC = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), yC = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), lC = "-", uC = [], zte = "arbitrary..", Bte = (e) => {
- let t = Hte(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), bC = "-", xC = [], Qte = "arbitrary..", $te = (e) => {
+ let t = tne(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Vte(e);
- let n = e.split(lC);
- return dC(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return ene(e);
+ let n = e.split(bC);
+ return SC(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? oC(i, t) : t : i || uC;
+ return t ? i ? Xte(i, t) : t : i || xC;
}
- return n[e] || uC;
+ return n[e] || xC;
}
};
-}, dC = (e, t, n) => {
+}, SC = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = dC(e, t + 1, i);
+ let n = SC(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(lC) : e.slice(t).join(lC), s = a.length;
+ let o = t === 0 ? e.join(bC) : e.slice(t).join(bC), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Vte = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, ene = (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 ? zte + r : void 0;
-})(), Hte = (e) => {
+ return r ? Qte + r : void 0;
+})(), tne = (e) => {
let { theme: t, classGroups: n } = e;
- return Ute(n, t);
-}, Ute = (e, t) => {
- let n = cC();
+ return nne(n, t);
+}, nne = (e, t) => {
+ let n = yC();
for (let r in e) {
let i = e[r];
- fC(i, n, r, t);
+ CC(i, n, r, t);
}
return n;
-}, fC = (e, t, n, r) => {
+}, CC = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Wte(i, t, n, r);
+ rne(i, t, n, r);
}
-}, Wte = (e, t, n, r) => {
+}, rne = (e, t, n, r) => {
if (typeof e == "string") {
- Gte(e, t, n);
+ ine(e, t, n);
return;
}
if (typeof e == "function") {
- Kte(e, t, n, r);
+ ane(e, t, n, r);
return;
}
- qte(e, t, n, r);
-}, Gte = (e, t, n) => {
- let r = e === "" ? t : pC(t, e);
+ one(e, t, n, r);
+}, ine = (e, t, n) => {
+ let r = e === "" ? t : wC(t, e);
r.classGroupId = n;
-}, Kte = (e, t, n, r) => {
- if (Jte(e)) {
- fC(e(r), t, n, r);
+}, ane = (e, t, n, r) => {
+ if (sne(e)) {
+ CC(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(sC(n, e));
-}, qte = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(Zte(n, e));
+}, one = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- fC(o, pC(t, a), n, r);
+ CC(o, wC(t, a), n, r);
}
-}, pC = (e, t) => {
- let n = e, r = t.split(lC), i = r.length;
+}, wC = (e, t) => {
+ let n = e, r = t.split(bC), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = cC(), n.nextPart.set(t, i)), n = i;
+ i || (i = yC(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Jte = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Yte = (e) => {
+}, sne = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, cne = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24282,19 +24648,19 @@ var yS = /* @__PURE__ */ F(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, mC = "!", hC = ":", Xte = [], gC = (e, t, n, r, i) => ({
+}, TC = "!", EC = ":", lne = [], DC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Zte = (e) => {
+}), une = (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 === hC) {
+ if (o === EC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24306,13 +24672,13 @@ var yS = /* @__PURE__ */ F(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(mC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(mC) && (c = s.slice(1), l = !0);
+ s.endsWith(TC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(TC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return gC(t, l, c, u);
+ return DC(t, l, c, u);
};
if (t) {
- let e = t + hC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : gC(Xte, !1, t, void 0, !0);
+ let e = t + EC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : DC(lne, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24322,7 +24688,7 @@ var yS = /* @__PURE__ */ F(((e) => {
});
}
return r;
-}, Qte = (e) => {
+}, dne = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24334,18 +24700,18 @@ var yS = /* @__PURE__ */ F(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, $te = (e) => ({
- cache: Yte(e.cacheSize),
- parseClassName: Zte(e),
- sortModifiers: Qte(e),
- postfixLookupClassGroupIds: ene(e),
- ...Bte(e)
-}), ene = (e) => {
+}, fne = (e) => ({
+ cache: cne(e.cacheSize),
+ parseClassName: une(e),
+ sortModifiers: dne(e),
+ postfixLookupClassGroupIds: pne(e),
+ ...$te(e)
+}), pne = (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;
-}, tne = /\s+/, nne = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(tne), l = "";
+}, mne = /\s+/, hne = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mne), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -24369,7 +24735,7 @@ var yS = /* @__PURE__ */ F(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + mC : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + TC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24380,34 +24746,34 @@ var yS = /* @__PURE__ */ F(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, rne = (...e) => {
+}, gne = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = _C(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = OC(n)) && (i && (i += " "), i += r);
return i;
-}, _C = (e) => {
+}, OC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = _C(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = OC(e[r])) && (n && (n += " "), n += t);
return n;
-}, vC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = $te(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, kC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = fne(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = nne(e, n);
+ let a = hne(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(rne(...e));
-}, ine = [], yC = (e) => {
- let t = (t) => t[e] || ine;
+ return a = o, (...e) => a(gne(...e));
+}, _ne = [], AC = (e) => {
+ let t = (t) => t[e] || _ne;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, bC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ane = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, one = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, sne = /\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$/, cne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, lne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, une = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, SC = (e) => ane.test(e), CC = (e) => !!e && !Number.isNaN(Number(e)), wC = (e) => !!e && Number.isInteger(Number(e)), TC = (e) => e.endsWith("%") && CC(e.slice(0, -1)), EC = (e) => one.test(e), DC = () => !0, dne = (e) => sne.test(e) && !cne.test(e), OC = () => !1, fne = (e) => lne.test(e), pne = (e) => une.test(e), mne = (e) => !U(e) && !W(e), hne = (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)), gne = (e) => IC(e, BC, OC), U = (e) => bC.test(e), kC = (e) => IC(e, VC, dne), AC = (e) => IC(e, wne, CC), _ne = (e) => IC(e, UC, DC), vne = (e) => IC(e, HC, OC), jC = (e) => IC(e, RC, OC), yne = (e) => IC(e, zC, pne), MC = (e) => IC(e, WC, fne), W = (e) => xC.test(e), NC = (e) => LC(e, VC), bne = (e) => LC(e, HC), PC = (e) => LC(e, RC), xne = (e) => LC(e, BC), Sne = (e) => LC(e, zC), FC = (e) => LC(e, WC, !0), Cne = (e) => LC(e, UC, !0), IC = (e, t, n) => {
- let r = bC.exec(e);
+}, jC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, MC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vne = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, yne = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bne = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, xne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Sne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cne = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NC = (e) => vne.test(e), PC = (e) => !!e && !Number.isNaN(Number(e)), FC = (e) => !!e && Number.isInteger(Number(e)), IC = (e) => e.endsWith("%") && PC(e.slice(0, -1)), LC = (e) => yne.test(e), RC = () => !0, wne = (e) => bne.test(e) && !xne.test(e), zC = () => !1, Tne = (e) => Sne.test(e), Ene = (e) => Cne.test(e), Dne = (e) => !U(e) && !W(e), One = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), kne = (e) => qC(e, ZC, zC), U = (e) => jC.test(e), BC = (e) => qC(e, QC, wne), VC = (e) => qC(e, Lne, PC), Ane = (e) => qC(e, ew, RC), jne = (e) => qC(e, $C, zC), HC = (e) => qC(e, YC, zC), Mne = (e) => qC(e, XC, Ene), UC = (e) => qC(e, tw, Tne), W = (e) => MC.test(e), WC = (e) => JC(e, QC), Nne = (e) => JC(e, $C), GC = (e) => JC(e, YC), Pne = (e) => JC(e, ZC), Fne = (e) => JC(e, XC), KC = (e) => JC(e, tw, !0), Ine = (e) => JC(e, ew, !0), qC = (e, t, n) => {
+ let r = jC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, LC = (e, t, n = !1) => {
- let r = xC.exec(e);
+}, JC = (e, t, n = !1) => {
+ let r = MC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, RC = (e) => e === "position" || e === "percentage", zC = (e) => e === "image" || e === "url", BC = (e) => e === "length" || e === "size" || e === "bg-size", VC = (e) => e === "length", wne = (e) => e === "number", HC = (e) => e === "family-name", UC = (e) => e === "number" || e === "weight", WC = (e) => e === "shadow", GC = () => {
- 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 = () => [
+}, YC = (e) => e === "position" || e === "percentage", XC = (e) => e === "image" || e === "url", ZC = (e) => e === "length" || e === "size" || e === "bg-size", QC = (e) => e === "length", Lne = (e) => e === "number", $C = (e) => e === "family-name", ew = (e) => e === "number" || e === "weight", tw = (e) => e === "shadow", nw = () => {
+ let e = AC("color"), t = AC("font"), n = AC("text"), r = AC("font-weight"), i = AC("tracking"), a = AC("leading"), o = AC("breakpoint"), s = AC("container"), c = AC("spacing"), l = AC("radius"), u = AC("shadow"), d = AC("inset-shadow"), f = AC("text-shadow"), p = AC("drop-shadow"), m = AC("blur"), h = AC("perspective"), g = AC("aspect"), _ = AC("ease"), v = AC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24449,12 +24815,12 @@ var yS = /* @__PURE__ */ F(((e) => {
U,
c
], T = () => [
- SC,
+ NC,
"full",
"auto",
...w()
], E = () => [
- wC,
+ FC,
"none",
"subgrid",
W,
@@ -24463,15 +24829,15 @@ var yS = /* @__PURE__ */ F(((e) => {
"auto",
{ span: [
"full",
- wC,
+ FC,
W,
U
] },
- wC,
+ FC,
W,
U
], O = () => [
- wC,
+ FC,
"auto",
W,
U
@@ -24501,7 +24867,7 @@ var yS = /* @__PURE__ */ F(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- SC,
+ NC,
"auto",
"full",
"dvw",
@@ -24516,7 +24882,7 @@ var yS = /* @__PURE__ */ F(((e) => {
...w()
], ee = () => [
s,
- SC,
+ NC,
"screen",
"full",
"dvw",
@@ -24527,7 +24893,7 @@ var yS = /* @__PURE__ */ F(((e) => {
"fit",
...w()
], te = () => [
- SC,
+ NC,
"screen",
"full",
"lh",
@@ -24544,8 +24910,8 @@ var yS = /* @__PURE__ */ F(((e) => {
U
], ne = () => [
...b(),
- PC,
- jC,
+ GC,
+ HC,
{ position: [W, U] }
], F = () => ["no-repeat", { repeat: [
"",
@@ -24557,13 +24923,13 @@ var yS = /* @__PURE__ */ F(((e) => {
"auto",
"cover",
"contain",
- xne,
- gne,
+ Pne,
+ kne,
{ size: [W, U] }
], ie = () => [
- TC,
- NC,
- kC
+ IC,
+ WC,
+ BC
], ae = () => [
"",
"none",
@@ -24573,9 +24939,9 @@ var yS = /* @__PURE__ */ F(((e) => {
U
], oe = () => [
"",
- CC,
- NC,
- kC
+ PC,
+ WC,
+ BC
], se = () => [
"solid",
"dashed",
@@ -24599,10 +24965,10 @@ var yS = /* @__PURE__ */ F(((e) => {
"color",
"luminosity"
], le = () => [
- CC,
- TC,
PC,
- jC
+ IC,
+ GC,
+ HC
], ue = () => [
"",
"none",
@@ -24611,20 +24977,20 @@ var yS = /* @__PURE__ */ F(((e) => {
U
], I = () => [
"none",
- CC,
+ PC,
W,
U
], L = () => [
"none",
- CC,
+ PC,
W,
U
], R = () => [
- CC,
+ PC,
W,
U
], z = () => [
- SC,
+ NC,
"full",
...w()
];
@@ -24638,17 +25004,17 @@ var yS = /* @__PURE__ */ F(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [EC],
- breakpoint: [EC],
- color: [DC],
- container: [EC],
- "drop-shadow": [EC],
+ blur: [LC],
+ breakpoint: [LC],
+ color: [RC],
+ container: [LC],
+ "drop-shadow": [LC],
ease: [
"in",
"out",
"in-out"
],
- font: [mne],
+ font: [Dne],
"font-weight": [
"thin",
"extralight",
@@ -24660,7 +25026,7 @@ var yS = /* @__PURE__ */ F(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [EC],
+ "inset-shadow": [LC],
leading: [
"none",
"tight",
@@ -24677,11 +25043,11 @@ var yS = /* @__PURE__ */ F(((e) => {
"distant",
"none"
],
- radius: [EC],
- shadow: [EC],
- spacing: ["px", CC],
- text: [EC],
- "text-shadow": [EC],
+ radius: [LC],
+ shadow: [LC],
+ spacing: ["px", PC],
+ text: [LC],
+ "text-shadow": [LC],
tracking: [
"tighter",
"tight",
@@ -24695,7 +25061,7 @@ var yS = /* @__PURE__ */ F(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- SC,
+ NC,
U,
W,
g
@@ -24708,9 +25074,9 @@ var yS = /* @__PURE__ */ F(((e) => {
W,
U
] }],
- "container-named": [hne],
+ "container-named": [One],
columns: [{ columns: [
- CC,
+ PC,
"auto",
U,
W,
@@ -24810,13 +25176,13 @@ var yS = /* @__PURE__ */ F(((e) => {
"collapse"
],
z: [{ z: [
- wC,
+ FC,
"auto",
W,
U
] }],
basis: [{ basis: [
- SC,
+ NC,
"full",
"auto",
s,
@@ -24834,8 +25200,8 @@ var yS = /* @__PURE__ */ F(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- CC,
- SC,
+ PC,
+ NC,
"auto",
"initial",
"none",
@@ -24843,18 +25209,18 @@ var yS = /* @__PURE__ */ F(((e) => {
] }],
grow: [{ grow: [
"",
- CC,
+ PC,
W,
U
] }],
shrink: [{ shrink: [
"",
- CC,
+ PC,
W,
U
] }],
order: [{ order: [
- wC,
+ FC,
"first",
"last",
"none",
@@ -24966,15 +25332,15 @@ var yS = /* @__PURE__ */ F(((e) => {
"font-size": [{ text: [
"base",
n,
- NC,
- kC
+ WC,
+ BC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Cne,
- _ne
+ Ine,
+ Ane
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24986,12 +25352,12 @@ var yS = /* @__PURE__ */ F(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- TC,
+ IC,
U
] }],
"font-family": [{ font: [
- bne,
- vne,
+ Nne,
+ jne,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -25007,10 +25373,10 @@ var yS = /* @__PURE__ */ F(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- CC,
+ PC,
"none",
W,
- AC
+ VC
] }],
leading: [{ leading: [
"none",
@@ -25048,15 +25414,15 @@ var yS = /* @__PURE__ */ F(((e) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- CC,
+ PC,
"from-font",
"auto",
W,
- kC
+ BC
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- CC,
+ PC,
"auto",
W,
U
@@ -25080,7 +25446,7 @@ var yS = /* @__PURE__ */ F(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- wC,
+ FC,
W,
U
] }],
@@ -25158,7 +25524,7 @@ var yS = /* @__PURE__ */ F(((e) => {
"l",
"tl"
] },
- wC,
+ FC,
W,
U
],
@@ -25169,13 +25535,13 @@ var yS = /* @__PURE__ */ F(((e) => {
],
conic: [
"",
- wC,
+ FC,
W,
U
]
},
- Sne,
- yne
+ Fne,
+ Mne
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -25242,15 +25608,15 @@ var yS = /* @__PURE__ */ F(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- CC,
+ PC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- CC,
- NC,
- kC
+ PC,
+ WC,
+ BC
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -25258,33 +25624,33 @@ var yS = /* @__PURE__ */ F(((e) => {
"inner",
"none",
u,
- FC,
- MC
+ KC,
+ UC
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- FC,
- MC
+ KC,
+ UC
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [CC, kC] }],
+ "ring-offset-w": [{ "ring-offset": [PC, BC] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- FC,
- MC
+ KC,
+ UC
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- CC,
+ PC,
W,
U
] }],
@@ -25308,7 +25674,7 @@ var yS = /* @__PURE__ */ F(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [CC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [PC] }],
"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() }],
@@ -25348,7 +25714,7 @@ var yS = /* @__PURE__ */ F(((e) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [CC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [PC] }],
"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() }],
@@ -25383,12 +25749,12 @@ var yS = /* @__PURE__ */ F(((e) => {
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- CC,
+ PC,
W,
U
] }],
contrast: [{ contrast: [
- CC,
+ PC,
W,
U
] }],
@@ -25396,35 +25762,35 @@ var yS = /* @__PURE__ */ F(((e) => {
"",
"none",
p,
- FC,
- MC
+ KC,
+ UC
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- CC,
+ PC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- CC,
+ PC,
W,
U
] }],
invert: [{ invert: [
"",
- CC,
+ PC,
W,
U
] }],
saturate: [{ saturate: [
- CC,
+ PC,
W,
U
] }],
sepia: [{ sepia: [
"",
- CC,
+ PC,
W,
U
] }],
@@ -25436,45 +25802,45 @@ var yS = /* @__PURE__ */ F(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- CC,
+ PC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- CC,
+ PC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- CC,
+ PC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- CC,
+ PC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- CC,
+ PC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- CC,
+ PC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- CC,
+ PC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- CC,
+ PC,
W,
U
] }],
@@ -25497,7 +25863,7 @@ var yS = /* @__PURE__ */ F(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- CC,
+ PC,
"initial",
W,
U
@@ -25510,7 +25876,7 @@ var yS = /* @__PURE__ */ F(((e) => {
U
] }],
delay: [{ delay: [
- CC,
+ PC,
W,
U
] }],
@@ -25555,7 +25921,7 @@ var yS = /* @__PURE__ */ F(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- wC,
+ FC,
W,
U
] }],
@@ -25699,10 +26065,10 @@ var yS = /* @__PURE__ */ F(((e) => {
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- CC,
- NC,
- kC,
- AC
+ PC,
+ WC,
+ BC,
+ VC
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -25960,16 +26326,16 @@ var yS = /* @__PURE__ */ F(((e) => {
"selection"
]
};
-}, Tne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (KC(e, "cacheSize", t), KC(e, "prefix", n), KC(e, "experimentalParseClassName", r), qC(e.theme, a.theme), qC(e.classGroups, a.classGroups), qC(e.conflictingClassGroups, a.conflictingClassGroups), qC(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), KC(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), KC(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), JC(e.theme, i.theme), JC(e.classGroups, i.classGroups), JC(e.conflictingClassGroups, i.conflictingClassGroups), JC(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), YC(e, i, "postfixLookupClassGroups"), YC(e, i, "orderSensitiveModifiers"), e), KC = (e, t, n) => {
+}, Rne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (rw(e, "cacheSize", t), rw(e, "prefix", n), rw(e, "experimentalParseClassName", r), iw(e.theme, a.theme), iw(e.classGroups, a.classGroups), iw(e.conflictingClassGroups, a.conflictingClassGroups), iw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), rw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), rw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), aw(e.theme, i.theme), aw(e.classGroups, i.classGroups), aw(e.conflictingClassGroups, i.conflictingClassGroups), aw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), ow(e, i, "postfixLookupClassGroups"), ow(e, i, "orderSensitiveModifiers"), e), rw = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, qC = (e, t) => {
- if (t) for (let n in t) KC(e, n, t[n]);
-}, JC = (e, t) => {
- if (t) for (let n in t) YC(e, t, n);
-}, YC = (e, t, n) => {
+}, iw = (e, t) => {
+ if (t) for (let n in t) rw(e, n, t[n]);
+}, aw = (e, t) => {
+ if (t) for (let n in t) ow(e, t, n);
+}, ow = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Ene = (e, ...t) => typeof e == "function" ? vC(GC, e, ...t) : vC(() => Tne(GC(), e), ...t), Dne = [
+}, zne = (e, ...t) => typeof e == "function" ? kC(nw, e, ...t) : kC(() => Rne(nw(), e), ...t), Bne = [
"large-title",
"display-1",
"display-2",
@@ -25983,18 +26349,18 @@ var yS = /* @__PURE__ */ F(((e) => {
"body-2",
"caption-1",
"caption-2"
-], One = [
+], Vne = [
"regular",
"medium",
"semibold",
"bold"
-], XC = Ene({ extend: { classGroups: { "font-size": [{ text: Dne.flatMap((e) => One.map((t) => `${e}-${t}`)) }] } } });
-function ZC(e) {
+], sw = zne({ extend: { classGroups: { "font-size": [{ text: Bne.flatMap((e) => Vne.map((t) => `${e}-${t}`)) }] } } });
+function cw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var QC = ZC({
+var lw = cw({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -26013,16 +26379,16 @@ var QC = ZC({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function $C({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function uw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
ref: r,
- className: XC(QC.base, QC.variant[e], QC.color[t], n),
+ className: sw(lw.base, lw.variant[e], lw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var ew = ZC({
+var dw = cw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -26081,40 +26447,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, L.jsxs)("button", {
ref: c,
type: s,
- className: XC(ew.base, ew.size[t], ew.variant[e], n && ew.iconOnlySize[t], o),
+ className: sw(dw.base, dw.size[t], dw.variant[e], n && dw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: ew.icon[t],
+ className: dw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: ew.label[t],
+ className: dw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: ew.icon[t],
+ className: dw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function tw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function fw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, L.jsxs)("a", {
ref: s,
- className: XC(ew.base, ew.size[t], ew.variant[e], n && ew.iconOnlySize[t], o),
+ className: sw(dw.base, dw.size[t], dw.variant[e], n && dw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: ew.icon[t],
+ className: dw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: ew.label[t],
+ className: dw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: ew.icon[t],
+ className: dw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -26122,13 +26488,13 @@ function tw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var nw = class extends Error {
+var pw = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(d(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, rw = (e) => {
+}, mw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -26141,7 +26507,7 @@ var nw = class extends Error {
}
return "";
}, K = (e) => d(e);
-async function iw(e, t) {
+async function hw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -26150,7 +26516,7 @@ async function iw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new nw(rw(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new pw(mw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -26167,52 +26533,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new nw(rw(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new pw(mw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var kne = "min-w-0", Ane = {
+var Hne = "min-w-0", Une = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, jne = {
+}, Wne = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Mne = {
+}, Gne = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Nne = {
+}, Kne = {
none: "",
default: "p-5"
-}, Pne = "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", Fne = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function aw(e = {}) {
+}, qne = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Jne = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function gw(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- kne,
- Ane[t],
- jne[s],
- Nne[n],
- a ? Mne[a] : "",
- r ? Pne : "",
- i ? Fne : "",
+ Hne,
+ Une[t],
+ Wne[s],
+ Kne[n],
+ a ? Gne[a] : "",
+ r ? qne : "",
+ i ? Jne : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Ine = {
+var Yne = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function ow({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function _w({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Ine[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Yne[i]}`,
children: [
a ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -26242,7 +26608,7 @@ function ow({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function sw({ label: e, inline: t = !1 }) {
+function vw({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26308,7 +26674,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function cw({ children: e }) {
+function yw({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26316,21 +26682,21 @@ function cw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var lw = 100, Lne = .4;
-function uw({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * lw;
+var bw = 100, Xne = .4;
+function xw({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * bw;
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${lw} 1`,
+ viewBox: `0 0 ${bw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, L.jsx)("rect", {
- width: lw,
+ width: bw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26341,7 +26707,7 @@ function uw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, L.jsx)("rect", {
x: a(e),
- width: Lne,
+ width: Xne,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26350,7 +26716,7 @@ function uw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function dw(e = "") {
+function Sw(e = "") {
let t = (0, I.useRef)(null), [n, r] = (0, I.useState)(""), [i, a] = (0, I.useState)(e);
(0, I.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -26388,11 +26754,11 @@ var X = new St({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), fw = "/api/tasks", pw = ["tasks"], Rne = (e, t) => iw(`${fw}?${new URLSearchParams({
+} } }), Cw = "/api/tasks", ww = ["tasks"], Zne = (e, t) => hw(`${Cw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function mw(...e) {
+function Tw(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -26400,26 +26766,26 @@ function mw(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var zne = 2e3, Bne = 1e4, Vne = (e) => e?.running.length ? zne : Bne, hw = (e) => iw(fw, e);
-async function Hne(e) {
+var Qne = 2e3, $ne = 1e4, ere = (e) => e?.running.length ? Qne : $ne, Ew = (e) => hw(Cw, e);
+async function tre(e) {
await X.fetchQuery({
- queryKey: pw,
- queryFn: () => hw(e)
+ queryKey: ww,
+ queryFn: () => Ew(e)
});
}
-var gw = {
+var Dw = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Une = {
+}, nre = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Wne = (e) => Une[e] || e, Gne = {
+}, rre = (e) => nre[e] || e, ire = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26449,7 +26815,7 @@ var gw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Kne(e) {
+function are(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26458,7 +26824,7 @@ function Kne(e) {
}
return t;
}
-function qne(e, t) {
+function ore(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26480,19 +26846,19 @@ function qne(e, t) {
}
return n;
}
-var Jne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), _w = (e) => e.status === "pending" || e.status === "running";
-function Yne(e) {
+var sre = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Ow = (e) => e.status === "pending" || e.status === "running";
+function cre(e) {
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 || bw(e.result_summary) || (_w(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || jw(e.result_summary) || (Ow(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function vw(e) {
+function kw(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 yw(e) {
+function Aw(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26502,7 +26868,7 @@ function yw(e) {
minute: "2-digit"
});
}
-var Xne = /* @__PURE__ */ new Set([
+var lre = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26511,28 +26877,28 @@ var Xne = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function bw(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Xne.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Gne[e] || e} ${t}`).join(" · ");
+function jw(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !lre.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${ire[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Zne = {
+var ure = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function xw({ status: e }) {
- return /* @__PURE__ */ (0, L.jsx)($C, {
- color: Zne[e] ?? "neutral",
- children: Wne(e)
+function Mw({ status: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(uw, {
+ color: ure[e] ?? "neutral",
+ children: rre(e)
});
}
-function Qne({ rows: e }) {
+function dre({ rows: e }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Yne(e);
+ let t = cre(e);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26542,7 +26908,7 @@ function Qne({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, L.jsx)(xw, { status: e.status }),
+ /* @__PURE__ */ (0, L.jsx)(Mw, { status: e.status }),
t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -26552,12 +26918,12 @@ function Qne({ rows: e }) {
})
});
}
-function Sw({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: aw({
+ className: gw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26571,7 +26937,7 @@ function Sw({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, L.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, L.jsx)(xw, { status: e.status })]
+ }), /* @__PURE__ */ (0, L.jsx)(Mw, { status: e.status })]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26580,7 +26946,7 @@ function Sw({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, L.jsx)(Qne, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, L.jsx)(dre, { rows: i }) : null,
r ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, L.jsx)("p", {
@@ -26591,15 +26957,15 @@ function Sw({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function $ne({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = vw(e.elapsed_seconds), o = [gw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(Sw, {
+function fre({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = kw(e.elapsed_seconds), o = [Dw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, L.jsx)(Nw, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: i,
value: r,
max: n
@@ -26614,20 +26980,20 @@ function $ne({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: i })
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: i })
});
}
-function Cw({ run: e, followups: t, runs: n }) {
- let r = bw(e.result_summary), i = vw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- gw[e.trigger] || e.trigger,
+function Pw({ run: e, followups: t, runs: n }) {
+ let r = jw(e.result_summary), i = kw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Dw[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${yw(a.finished_at)} – ${yw(e.finished_at)}`
+ `${Aw(a.finished_at)} – ${Aw(e.finished_at)}`
] : [
- gw[e.trigger] || e.trigger,
- yw(e.finished_at),
+ Dw[e.trigger] || e.trigger,
+ Aw(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(Sw, {
+ return /* @__PURE__ */ (0, L.jsx)(Nw, {
run: e,
meta: o,
footer: e.error,
@@ -26638,7 +27004,7 @@ function Cw({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function ww({ title: e, children: t }) {
+function Fw({ title: e, children: t }) {
let n = (0, I.useId)();
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-labelledby": n,
@@ -26650,41 +27016,41 @@ function ww({ title: e, children: t }) {
}), t]
});
}
-function Tw({ live: e = !1, children: t }) {
+function Iw({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function ere(e) {
+function pre(e) {
let t = Ft({
- queryKey: pw,
- queryFn: ({ signal: e }) => hw(e),
- refetchInterval: (e) => Vne(e.state.data)
+ queryKey: ww,
+ queryFn: ({ signal: e }) => Ew(e),
+ refetchInterval: (e) => ere(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, I.useState)([]), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(r);
- r !== c && (l(r), i.length && c && a(mw(i, c)));
+ r !== c && (l(r), i.length && c && a(Tw(i, c)));
let u = It({
- mutationFn: ({ oldest: e }) => Rne(e),
+ mutationFn: ({ oldest: e }) => Zne(e),
onSuccess: (e, { shown: t }) => {
- a((n) => mw(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Tw(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = mw(n.finished || [], i), p = [
+ let f = Tw(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = Kne(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = are(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(_w)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = qne(w, (e) => Jne(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, L.jsxs)(cw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(Ow)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = ore(w, (e) => sre(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
d ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d
@@ -26693,20 +27059,20 @@ function ere(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, L.jsx)(ow, {
+ E ? /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: HS,
+ icon: cC,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(ww, {
+ /* @__PURE__ */ (0, L.jsx)(Fw, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(Tw, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(Iw, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)($ne, {
+ children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(fre, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(Cw, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(Pw, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -26715,17 +27081,17 @@ function ere(e) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, L.jsx)(ww, {
+ C.length ? /* @__PURE__ */ (0, L.jsx)(Fw, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, L.jsx)(Tw, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(Cw, {
+ children: /* @__PURE__ */ (0, L.jsx)(Iw, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(Pw, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, L.jsxs)(ww, {
+ w.length || y ? /* @__PURE__ */ (0, L.jsxs)(Fw, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, L.jsx)(Tw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(Cw, {
+ w.length ? /* @__PURE__ */ (0, L.jsx)(Iw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(Pw, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -26737,7 +27103,7 @@ function ere(e) {
y ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: TS,
+ leadingIcon: GS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -26750,56 +27116,56 @@ function ere(e) {
}
//#endregion
//#region src/jav-artwork.ts
-function tre(e) {
+function mre(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Ew(e, t) {
- return e.is_jav && e.code && e.has_cover && (tre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function Lw(e, t) {
+ return e.is_jav && e.code && e.has_cover && (mre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-function Dw(e, t) {
+function Rw(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var nre = (e, t) => [
+var hre = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], rre = (e, t) => [
+], gre = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function ire(e, t, n, r, i) {
+async function _re(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
- let o = await iw(`/api/items?${a}`, i), s = {
+ let o = await hw(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await iw("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await hw("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var are = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, ore = (e, t) => {
+var vre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, yre = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function Ow(e) {
- let t = Dw(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function zw(e) {
+ let t = Rw(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: nre(t, e.revision || 0),
+ queryKey: hre(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await ire(t, i, n, r, a);
+ let o = await _re(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: are(n)
+ getNextPageParam: vre(n)
};
}
-function sre(e) {
+function bre(e) {
return {
- queryKey: rre(e.entityKey || "", e.revision || 0),
+ queryKey: gre(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -26814,12 +27180,12 @@ function sre(e) {
};
},
initialPageParam: 0,
- getNextPageParam: ore
+ getNextPageParam: yre
};
}
-async function cre(e, t) {
+async function xre(e, t) {
if (e.mode !== "catalog") return;
- let n = Ow(e);
+ let n = zw(e);
await X.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -26828,7 +27194,7 @@ async function cre(e, t) {
})
});
}
-function lre(e, t, n) {
+function Sre(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -26843,28 +27209,28 @@ function lre(e, t, n) {
return !0;
}) : [...e];
}
-var kw = (e, t) => !!e && !!Ew(e, t);
-function ure(e, t) {
+var Bw = (e, t) => !!e && !!Lw(e, t);
+function Cre(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
-function dre(e, t) {
- let n = (e) => kw(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => kw(e, t)) || e[e.length - 1];
+function wre(e, t) {
+ let n = (e) => Bw(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => Bw(e, t)) || e[e.length - 1];
}
-function fre(e, { collapse: t, mix: n, javImage: r }) {
+function Tre(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = lre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = Sre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = dre(e, r);
+ let t = wre(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -26877,16 +27243,16 @@ function fre(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function pre(e, t, n) {
+function Ere(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function mre(e, t) {
+function Dre(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function hre(e, t) {
+function Ore(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -26899,7 +27265,7 @@ function hre(e, t) {
strip: null
}), r;
}
-function gre(e, t) {
+function kre(e, t) {
X.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -26916,7 +27282,7 @@ function gre(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function Aw(e, t) {
+function Vw(e, t) {
let [n, r] = (0, I.useState)(e ? "skeleton" : "none"), [i] = (0, I.useState)(() => e ? t() : ""), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
a.current && y(a.current);
@@ -26942,7 +27308,7 @@ function Aw(e, t) {
fading: n === "fade"
};
}
-function jw({ message: e, onRetry: t }) {
+function Hw({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -26956,21 +27322,21 @@ function jw({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/catalog-grid/artwork.ts
-var Mw = {
+var Uw = {
kind: "",
html: ""
};
-function Nw(e, t, n, i, a) {
- let o = Ew(e, i);
- if (!o) return Mw;
+function Ww(e, t, n, i, a) {
+ let o = Lw(e, i);
+ if (!o) return Uw;
let s = e.has_cover && e.code ? `/cover?code=${encodeURIComponent(e.code)}&thumb=1` : "", c = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", l = a(e, t, n), u = (l.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), d = o === "cover" ? l : `<img class="poster" src="${c}" alt="" loading="${n ? "eager" : "lazy"}"${u}>`;
return {
kind: o === "cover" ? "cover" : "thumb",
html: d.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${r(s)}" data-jav-thumb="${r(c)}" data-jav-image-layout="${t}" `)
};
}
-function Pw(e, t, n, i, a) {
- if (e.is_jav) return Nw(e, t, n, i, a);
+function Gw(e, t, n, i, a) {
+ if (e.is_jav) return Ww(e, t, n, i, a);
let o = n ? "eager" : "lazy";
return e.follow_thumb_url ? {
kind: "thumb",
@@ -26978,11 +27344,11 @@ function Pw(e, t, n, i, a) {
} : e.has_thumb || e.has_local_poster ? {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${o}">`
- } : Mw;
+ } : Uw;
}
//#endregion
//#region src/react/components/art-slot.tsx
-function Fw({ artwork: e, identity: t = e.html, relayout: n }) {
+function Kw({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, I.useState)({
identity: t,
artwork: e
@@ -27002,25 +27368,25 @@ function Fw({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var Iw = .75, _re = 9 / 16;
-function Lw({ name: e }) {
+var qw = .75, Jw = 9 / 16;
+function Yw({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var vre = {
+var Xw = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, yre = (e) => e.is_jav ? "女优" : "艺人";
-function bre(e, t, n) {
- return t === "short" || n.portrait ? _re : n.active && e.is_jav && n.size === "big" ? Iw : 16 / 9;
+}, Zw = (e) => e.is_jav ? "女优" : "艺人";
+function Qw(e, t, n) {
+ return t === "short" || n.portrait ? Jw : n.active && e.is_jav && n.size === "big" ? qw : 16 / 9;
}
-function xre(e, t) {
- let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = yre(e);
+function $w(e, t) {
+ let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Zw(e);
return {
avatar: c ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-avatars": "",
@@ -27066,7 +27432,7 @@ function xre(e, t) {
})
};
}
-function Sre() {
+function eT() {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -27085,7 +27451,7 @@ function Sre() {
})]
});
}
-function Cre({ item: e, actions: t }) {
+function tT({ item: e, actions: t }) {
let [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-later": "",
@@ -27103,15 +27469,15 @@ function Cre({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function Rw(e, t) {
+function nT(e, t) {
let n = e?.querySelector("video.hv");
!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function rT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, I.useRef)(null), f = (0, I.useRef)({
item: e,
helpers: c
@@ -27123,7 +27489,7 @@ function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
let p = (0, I.useCallback)((e) => {
let { item: t, helpers: n } = f.current;
d.current && d.current !== e && n.releaseHover(d.current), d.current = e, e && (!t.medium || t.medium === "video") && n.wireHover(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Pw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Pw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = xre(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Gw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Gw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = $w(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27157,9 +27523,9 @@ function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
u(e, r);
}, A = /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(bre(e, t, n)) },
+ style: { "--card-ratio": String(Qw(e, t, n)) },
children: [
- v.html ? /* @__PURE__ */ (0, L.jsx)(Fw, {
+ v.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
artwork: v,
identity: y,
relayout: (e) => c.relayoutArt(e, _)
@@ -27173,11 +27539,11 @@ function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Lw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
m ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-group": "",
@@ -27204,8 +27570,8 @@ function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, L.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, L.jsx)(Sre, {}),
- /* @__PURE__ */ (0, L.jsx)(Cre, {
+ /* @__PURE__ */ (0, L.jsx)(eT, {}),
+ /* @__PURE__ */ (0, L.jsx)(tT, {
item: e,
actions: l
}),
@@ -27215,27 +27581,27 @@ function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), Rw(d.current, -s);
+ e.stopPropagation(), nT(d.current, -s);
},
title: `后退 ${s} 秒`,
"aria-label": `后退 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), Rw(d.current, s);
+ e.stopPropagation(), nT(d.current, s);
},
title: `前进 ${s} 秒`,
"aria-label": `前进 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: "expand" })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "expand" })
})
]
})
@@ -27311,8 +27677,8 @@ function wre({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
]
});
}
-function Tre({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : vre[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function iT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Xw[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, v = (t) => {
if (c.current) {
@@ -27338,7 +27704,7 @@ function Tre({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Lw, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
+ children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
}),
d ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -27350,11 +27716,11 @@ function Tre({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Lw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -27364,7 +27730,7 @@ function Tre({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
onClick: _,
"aria-busy": l || void 0,
"aria-disabled": l || void 0,
- children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: k(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Lw, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
+ children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: k(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Yw, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -27373,7 +27739,7 @@ function Tre({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, L.jsx)(Lw, { name: m })
+ children: /* @__PURE__ */ (0, L.jsx)(Yw, { name: m })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", {
@@ -27402,14 +27768,14 @@ function Tre({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
})]
});
}
-function Ere(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(Tre, { ...e }) : /* @__PURE__ */ (0, L.jsx)(wre, { ...e });
+function aT(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(iT, { ...e }) : /* @__PURE__ */ (0, L.jsx)(rT, { ...e });
}
-var zw = (0, I.memo)(Ere), Dre = { "text-aa": 1.435 }, Bw = /* @__PURE__ */ new Map();
-function Vw(e) {
- let t = Bw.get(e);
+var oT = (0, I.memo)(aT), sT = { "text-aa": 1.435 }, cT = /* @__PURE__ */ new Map();
+function lT(e) {
+ let t = cT.get(e);
if (t) return t;
- let n = Dre[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
+ let n = sT[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27423,18 +27789,18 @@ function Vw(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, Bw.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, cT.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var Ore = 1100, kre = 340, Hw = 5e3;
-function Uw(e, t, n) {
+var uT = 1100, dT = 340, fT = 5e3;
+function pT(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, Hw);
+ }, s = () => o(!1), c = setTimeout(s, fT);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -27444,7 +27810,7 @@ function Uw(e, t, n) {
}, i.src = e;
});
}
-function Ww({ load: e, canFlip: t, referrerPolicy: n }) {
+function mT({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, I.useState)([]), [a, o] = (0, I.useState)(0), [s, c] = (0, I.useState)(null), l = (0, I.useRef)({
live: !1,
generation: 0,
@@ -27486,11 +27852,11 @@ function Ww({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Uw(t, e, n)));
+ let s = await Promise.all(a.map((t) => pT(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, Ore);
+ p(), e.cycle = setInterval(p, uT);
}));
};
return (0, I.useEffect)(() => d, [d]), {
@@ -27499,7 +27865,7 @@ function Ww({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(kre, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(dT, () => {
e.armed = null, m();
});
},
@@ -27510,8 +27876,8 @@ function Ww({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var Gw = Vw("play");
-function Kw({ src: e }) {
+var hT = lT("play");
+function gT({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
"data-mix-poster": "",
@@ -27522,8 +27888,8 @@ function Kw({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var qw = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function Jw({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var _T = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function vT({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, L.jsx)("button", {
@@ -27531,18 +27897,18 @@ function Jw({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${qw} cursor-pointer outline-none`,
+ className: `${_T} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${qw} mt-0.5`,
+ className: `${_T} mt-0.5`,
children: t
});
}
-function Yw({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, artworkIdentity: m, relayoutArt: h, faceHtml: g, badge: _, glyph: v, wholeCard: y, ...b }) {
- let x = Ww({
+function yT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, artworkIdentity: m, relayoutArt: h, faceHtml: g, badge: _, glyph: v, wholeCard: y, ...b }) {
+ let x = mT({
load: i,
canFlip: a
}), S = (0, I.useRef)(x.onPointerLeave);
@@ -27569,11 +27935,11 @@ function Yw({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: f === void 0 ? void 0 : { "--card-ratio": String(f) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden rounded-surface",
children: [
- p?.html ? /* @__PURE__ */ (0, L.jsx)(Fw, {
+ p?.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
artwork: p,
identity: m,
relayout: h
- }) : r ? /* @__PURE__ */ (0, L.jsx)(Kw, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, L.jsx)(gT, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27603,7 +27969,7 @@ function Yw({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, L.jsx)(Gw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(hT, {
"aria-hidden": !0,
className: "size-3.75"
}), _ ?? `${n} 个视频`]
@@ -27616,8 +27982,8 @@ function Yw({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, L.jsx)(Gw, {})
- }) : /* @__PURE__ */ (0, L.jsx)(Jw, {
+ children: /* @__PURE__ */ (0, L.jsx)(hT, {})
+ }) : /* @__PURE__ */ (0, L.jsx)(vT, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -27642,21 +28008,21 @@ function Yw({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-var Xw = "";
-function Zw(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)($w, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Dw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, L.jsx)(eT, { ...e }, t);
+var bT = "";
+function xT(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(CT, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Rw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, L.jsx)(wT, { ...e }, t);
}
-function Qw({ name: e }) {
+function ST({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function $w(e) {
- let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(zw, {
+function CT(e) {
+ let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(oT, {
item: i,
variant: r,
layout: e.layout,
@@ -27676,8 +28042,8 @@ function $w(e) {
children: i
});
}
-function eT(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? sre(e) : Ow(e), s = i && e.initial ? {
+function wT(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? bre(e) : zw(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -27697,7 +28063,7 @@ function eT(e) {
(0, I.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: f } = (0, I.useMemo)(() => fre(c.data?.pages || [], {
+ let { tiles: u, pageStarts: f } = (0, I.useMemo)(() => Tre(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -27707,14 +28073,14 @@ function eT(e) {
e.mix,
a,
r.javImage
- ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Aw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = nT(e, c.data, u, f, g);
+ ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Vw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = ET(e, c.data, u, f, g);
(0, I.useLayoutEffect)(() => {
if (!c.data) return;
e.onCount?.(m, p);
let t = a ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${m.toLocaleString()} 个符合 · 显示 ${p}`;
- Xw && (t.dataset.popCount = Xw), Xw = n, T(t, n);
+ bT && (t.dataset.popCount = bT), bT = n, T(t, n);
}, [
c.data,
m,
@@ -27723,12 +28089,12 @@ function eT(e) {
let v = (0, I.useCallback)((e, t) => n.open(e, t), [n]), y = (0, I.useCallback)((e, t) => n.openResource(e, t), [n]), b = (0, I.useCallback)((e) => n.openShort(e), [n]), x = (0, I.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(aT, {
+ }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(kT, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(oT, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -27745,7 +28111,7 @@ function eT(e) {
"data-grid-reveal": h.fading ? "" : void 0,
children: [h.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, L.jsx)(jw, {
+ if (!c.data) return /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(c.error),
onRetry: () => void c.refetch()
});
@@ -27762,15 +28128,15 @@ function eT(e) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: hre(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ children: Ore(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, L.jsx)(rT, {
+ }), t.strip ? /* @__PURE__ */ (0, L.jsx)(DT, {
cut: t.strip,
props: e,
onOpen: b
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(tT, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(TT, {
entity: i,
load: x,
enabled: () => e.canLoadMore?.() !== !1
@@ -27778,7 +28144,7 @@ function eT(e) {
})()]
});
}
-function tT({ entity: e, load: t, enabled: n, children: r }) {
+function TT({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(!1), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)({
busy: !1,
error: ""
@@ -27839,12 +28205,12 @@ function tT({ entity: e, load: t, enabled: n, children: r }) {
...p,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: x("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, L.jsx)(jw, {
+ }), s.error ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function nT(e, t, n, r, i) {
+function ET(e, t, n, r, i) {
let [a, o] = (0, I.useState)([]), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(0), u = (0, I.useRef)(0), d = (0, I.useRef)([]);
return (0, I.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, I.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -27853,7 +28219,7 @@ function nT(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- iw(`/api/items?${mre(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ hw(`/api/items?${Dre(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -27869,7 +28235,7 @@ function nT(e, t, n, r, i) {
}, [t]), (0, I.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = pre(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Ere(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -27879,7 +28245,7 @@ function nT(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function rT({ cut: e, props: t, onOpen: n }) {
+function DT({ cut: e, props: t, onOpen: n }) {
let r = (0, I.useRef)(null), { wireDrag: i } = t;
return (0, I.useEffect)(() => {
r.current && i(r.current);
@@ -27895,12 +28261,12 @@ function rT({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, L.jsx)(Qw, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(ST, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, L.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(zw, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(oT, {
item: e,
variant: "short",
layout: t.layout,
@@ -27914,9 +28280,9 @@ function rT({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function iT(e, t, n, r) {
+function OT(e, t, n, r) {
let i = t.active && !!e.is_jav;
- return e.is_jav ? Nw(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
+ return e.is_jav ? Ww(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
html: ""
} : {
@@ -27924,18 +28290,18 @@ function iT(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function aT({ seed: e, layout: t, helpers: n, actions: r }) {
+function kT({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, I.useRef)(/* @__PURE__ */ new Map()), a = (0, I.useRef)(t);
a.current = t;
- let o = ure(e, n.tagLabel), s = (0, I.useCallback)(async () => {
- let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => kw(e, t.javImage)).slice(0, 9);
- return i.current = new Map(o.map((e) => [String(e.id), iT(e, t, !0, n).html])), o.map((e) => String(e.id));
+ let o = Cre(e, n.tagLabel), s = (0, I.useCallback)(async () => {
+ let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => Bw(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(o.map((e) => [String(e.id), OT(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
- ]), c = t.active && !!e.is_jav, l = c ? t.size : "small", u = iT(e, t, !1, n);
- return /* @__PURE__ */ (0, L.jsx)(Yw, {
+ ]), c = t.active && !!e.is_jav, l = c ? t.size : "small", u = OT(e, t, !1, n);
+ return /* @__PURE__ */ (0, L.jsx)(yT, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -27945,12 +28311,12 @@ function aT({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: u,
- artworkIdentity: l === "small" ? u.html : iT(e, {
+ artworkIdentity: l === "small" ? u.html : OT(e, {
...t,
size: "small"
}, !1, n).html,
relayoutArt: (e) => n.relayoutArt(e, l),
- ratio: c && t.size === "big" ? Iw : 16 / 9,
+ ratio: c && t.size === "big" ? qw : 16 / 9,
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -27963,32 +28329,32 @@ function aT({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var oT = "/api/sources", sT = ["media-sources"], cT = (e) => iw(oT, e);
-async function lT(e) {
+var AT = "/api/sources", jT = ["media-sources"], MT = (e) => hw(AT, e);
+async function NT(e) {
await X.fetchQuery({
- queryKey: sT,
- queryFn: () => cT(e)
+ queryKey: jT,
+ queryFn: () => MT(e)
});
}
-var uT = [
+var PT = [
"local",
"115",
"pikpak"
-], dT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), fT = "/api/duplicates?limit=120", pT = ["duplicates"], mT = "/api/batch", hT = (e) => iw(fT, e);
-async function gT(e) {
+], FT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), IT = "/api/duplicates?limit=120", LT = ["duplicates"], RT = "/api/batch", zT = (e) => hw(IT, e);
+async function BT(e) {
await Promise.all([X.fetchQuery({
- queryKey: pT,
- queryFn: () => hT(e)
- }), lT(e)]);
+ queryKey: LT,
+ queryFn: () => zT(e)
+ }), NT(e)]);
}
-var _T = {
+var VT = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, vT = (e, t) => t.filter((t) => e.some((e) => e.location === t)), yT = (e, t) => vT(e, t).filter((t) => e.some((e) => e.location !== t)), bT = (e, t) => t.filter((t) => e.some((e) => yT(e.files, [t]).length));
-function xT(e, t) {
+}, HT = (e, t) => t.filter((t) => e.some((e) => e.location === t)), UT = (e, t) => HT(e, t).filter((t) => e.some((e) => e.location !== t)), WT = (e, t) => t.filter((t) => e.some((e) => UT(e.files, [t]).length));
+function GT(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -28007,47 +28373,47 @@ function xT(e, t) {
}
return n;
}
-function ST(e, t) {
+function KT(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function CT(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(mT, {
+async function qT(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(RT, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var wT = "/api/library-processing", TT = ["library-processing"], ET = (e) => iw(wT, e);
-async function DT(e) {
+var JT = "/api/library-processing", YT = ["library-processing"], XT = (e) => hw(JT, e);
+async function ZT(e) {
await X.fetchQuery({
- queryKey: TT,
- queryFn: () => ET(e)
+ queryKey: YT,
+ queryFn: () => XT(e)
});
}
-var OT = 2e3, kT = 1e4, AT = "连接中断,正在重新读取处理进度";
-function jT(e, t) {
- return e?.status === "running" ? OT : t ? kT : !1;
+var QT = 2e3, $T = 1e4, eE = "连接中断,正在重新读取处理进度";
+function tE(e, t) {
+ return e?.status === "running" ? QT : t ? $T : !1;
}
-var MT = {
+var nE = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, NT = {
+}, rE = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function PT(e) {
- let t = Object.entries(e).filter(([e, t]) => NT[e] && t > 0).map(([e, t]) => `${NT[e]} ${t} 部`);
+function iE(e) {
+ let t = Object.entries(e).filter(([e, t]) => rE[e] && t > 0).map(([e, t]) => `${rE[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function FT(e) {
- let t = MT[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function aE(e) {
+ let t = nE[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 IT(e) {
+function oE(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -28061,21 +28427,21 @@ function IT(e) {
log: e.issues_log || ""
} : null;
}
-var LT = "peach.library-processing.announced", RT = 120;
-function zT(e, t, n) {
+var sE = "peach.library-processing.announced", cE = 120;
+function lE(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < RT;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < cE;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(LT) === e.job_id) return;
- e.job_id && localStorage.setItem(LT, e.job_id);
+ if (e.job_id && localStorage.getItem(sE) === e.job_id) return;
+ e.job_id && localStorage.setItem(sE, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var BT = "/api/media-repair", VT = ["media-repair"], HT = ["media-repair", "libraries"], UT = {
+var uE = "/api/media-repair", dE = ["media-repair"], fE = ["media-repair", "libraries"], pE = {
status: "idle",
library: "",
stage: "",
@@ -28087,33 +28453,33 @@ var BT = "/api/media-repair", VT = ["media-repair"], HT = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, WT = (e) => iw(BT, e), GT = async (e) => (await iw("/api/libraries", e)).libraries || [];
-async function KT(e) {
+}, mE = (e) => hw(uE, e), hE = async (e) => (await hw("/api/libraries", e)).libraries || [];
+async function gE(e) {
await Promise.all([X.fetchQuery({
- queryKey: VT,
- queryFn: () => WT(e)
+ queryKey: dE,
+ queryFn: () => mE(e)
}), X.fetchQuery({
- queryKey: HT,
- queryFn: () => GT(e)
+ queryKey: fE,
+ queryFn: () => hE(e)
})]);
}
-var qT = (e) => Number(e).toLocaleString();
-function JT(e) {
+var _E = (e) => Number(e).toLocaleString();
+function vE(e) {
if (e.status === "running") {
- let t = e.total ? `${qT(e.checked)} / ${qT(e.total)}` : "准备中";
+ let t = e.total ? `${_E(e.checked)} / ${_E(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${qT(e.repaired)} 部,${qT(e.failed)} 部修不了` : `修好 ${qT(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${_E(e.repaired)} 部,${_E(e.failed)} 部修不了` : `修好 ${_E(e.repaired)} 部` : "";
}
-var YT = (e) => `${qT(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, XT = "/api/quality-goals?limit=200", ZT = ["quality-goals"], QT = (e) => iw(XT, e);
-async function $T(e) {
+var yE = (e) => `${_E(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, bE = "/api/quality-goals?limit=200", xE = ["quality-goals"], SE = (e) => hw(bE, e);
+async function CE(e) {
await X.fetchQuery({
- queryKey: ZT,
- queryFn: () => QT(e)
+ queryKey: xE,
+ queryFn: () => SE(e)
});
}
-var eE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function tE(e, t, n = 1) {
+var wE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function TE(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;
@@ -28133,21 +28499,21 @@ function tE(e, t, n = 1) {
t
];
}
-function nE(e, t) {
+function EE(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function rE(e, t) {
+function DE(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function iE(e, t, n, r, i, a = i || !e.has(r)) {
+function OE(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function aE(e) {
+function kE(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);
@@ -28156,7 +28522,7 @@ function aE(e) {
}
//#endregion
//#region src/react/review/review.ts
-var oE = "/api/review", sE = "/api/review/decision", cE = "/api/review/genre", lE = ["review"], uE = {
+var AE = "/api/review", jE = "/api/review/decision", ME = "/api/review/genre", NE = ["review"], PE = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -28166,15 +28532,15 @@ var oE = "/api/review", sE = "/api/review/decision", cE = "/api/review/genre", l
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, dE = Object.keys(uE), fE = "metadata_fields", pE = (e) => typeof e == "string" && Object.hasOwn(uE, e), mE = {
+}, FE = Object.keys(PE), IE = "metadata_fields", LE = (e) => typeof e == "string" && Object.hasOwn(PE, e), RE = {
creator_tags: "creator",
western_identity: "creator"
};
-function hE(e, t) {
+function zE(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 gE(e, t) {
+function BE(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -28191,43 +28557,43 @@ function gE(e, t) {
}
return [...n.values()];
}
-function _E(e, t, n) {
- return n && gE(e, t).find((e) => e.key === n)?.rows || e;
+function VE(e, t, n) {
+ return n && BE(e, t).find((e) => e.key === n)?.rows || e;
}
-function vE(e, t) {
- let n = nE(e.length, 20), r = rE(t, n);
+function HE(e, t) {
+ let n = EE(e.length, 20), r = DE(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function yE(e) {
+function UE(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 bE(e, t, n, r, i, a) {
- return iE(e, t, n, r, i, a);
+function WE(e, t, n, r, i, a) {
+ return OE(e, t, n, r, i, a);
}
-function xE(e, t) {
+function GE(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function SE(e, t) {
+function KE(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var CE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function wE(e, t) {
- let n = SE(e, t), r = CE(e, t);
+var qE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function JE(e, t) {
+ let n = KE(e, t), r = qE(e, t);
return r ? `${n} · ${r}` : n;
}
-var TE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", EE = (e) => String(e.tags || "").split("|").filter(Boolean), DE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function OE(e) {
+var YE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", XE = (e) => String(e.tags || "").split("|").filter(Boolean), ZE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function QE(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function kE(e, t, n, r) {
+function $E(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -28243,19 +28609,19 @@ function kE(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var AE = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", jE = (e) => iw(oE, e), ME = (e) => q(sE, e), NE = (e, t) => q(cE, {
+var Are = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", eD = (e) => hw(AE, e), tD = (e) => q(jE, e), jre = (e, t) => q(ME, {
genre: e,
tag: t
});
-async function PE(e) {
+async function Mre(e) {
await X.fetchQuery({
- queryKey: lE,
- queryFn: () => jE(e)
+ queryKey: NE,
+ queryFn: () => eD(e)
});
}
-function FE(e, t) {
+function nD(e, t) {
let n = new Set(t);
- n.size && X.setQueryData(lE, (t) => {
+ n.size && X.setQueryData(NE, (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 : {
@@ -28271,161 +28637,161 @@ function FE(e, t) {
};
});
}
-var IE = () => X.invalidateQueries({
- queryKey: lE,
+var Nre = () => X.invalidateQueries({
+ queryKey: NE,
exact: !0
});
-function LE(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${aE(e.fetched_at)} 的缓存` : e?.error || t;
+function Pre(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${kE(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var RE = "/api/links", zE = "/api/links/check", BE = "/api/links/prune", VE = ["links"], HE = ["links", "check"], UE = ["links", "prune"], WE = {
+var Fre = "/api/links", rD = "/api/links/check", iD = "/api/links/prune", aD = ["links"], oD = ["links", "check"], sD = ["links", "prune"], cD = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function GE(e) {
+async function lD(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var KE = (e) => iw(RE, e), qE = (e) => q(zE, { status_only: !0 }, "POST", e), Are = ({ retry: e, checkId: t }) => GE(q(zE, e ? {
+var uD = (e) => hw(Fre, e), dD = (e) => q(rD, { status_only: !0 }, "POST", e), Ire = ({ retry: e, checkId: t }) => lD(q(rD, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), JE = (e) => iw(BE, e), jre = (e) => GE(q(BE, {
+} : { restart: !0 })), fD = (e) => hw(iD, e), Lre = (e) => lD(q(iD, {
confirm: !0,
check_id: e,
background: !0
-})), YE = (e) => Number(e || 0).toLocaleString(), Mre = (e) => `已删除 ${YE(e.removed)} 条;${e.marked ? `已隐退女优的 ${YE(e.marked)} 条留作不可点的记录;` : ""}保留 ${YE(e.recovered)} 条未确认失效的链接。`;
-function Nre(e) {
+})), pD = (e) => Number(e || 0).toLocaleString(), Rre = (e) => `已删除 ${pD(e.removed)} 条;${e.marked ? `已隐退女优的 ${pD(e.marked)} 条留作不可点的记录;` : ""}保留 ${pD(e.recovered)} 条未确认失效的链接。`;
+function zre(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${YE(e.checked)} / ${YE(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${pD(e.checked)} / ${pD(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Pre = "/api/organize", Fre = "/api/organize/preview", Ire = "/api/organize/apply", Lre = "/api/organize/rollback", Rre = "/api/settings", XE = ["organize"], ZE = (e) => iw(Pre, e);
-async function zre(e) {
+var Bre = "/api/organize", Vre = "/api/organize/preview", Hre = "/api/organize/apply", Ure = "/api/organize/rollback", Wre = "/api/settings", mD = ["organize"], hD = (e) => hw(Bre, e);
+async function Gre(e) {
await X.fetchQuery({
- queryKey: XE,
- queryFn: () => ZE(e)
+ queryKey: mD,
+ queryFn: () => hD(e)
});
}
-var Bre = (e) => q(Fre, e), Vre = (e) => e.kind === "apply" ? q(Ire, {
+var Kre = (e) => q(Vre, e), qre = (e) => e.kind === "apply" ? q(Hre, {
...e.request,
confirm: !0
-}) : q(Lre, { confirm: !0 });
-async function Hre(e) {
- X.setQueryData(XE, (t) => t && {
+}) : q(Ure, { confirm: !0 });
+async function Jre(e) {
+ X.setQueryData(mD, (t) => t && {
...t,
templates: e
});
try {
- await q(Rre, { organizeTemplates: e });
+ await q(Wre, { organizeTemplates: e });
} catch {}
}
-var Ure = (e, t) => e && {
+var Yre = (e, t) => e && {
...e,
...t
-}, Wre = /目录模板|分隔符|盘符|`\.`/;
-function QE(e) {
+}, Xre = /目录模板|分隔符|盘符|`\.`/;
+function gD(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var $E = (e) => Number(e || 0).toLocaleString();
-function Gre(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${$E(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${$E(e.counts.change)} 个文件会改名或移动,${$E(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var _D = (e) => Number(e || 0).toLocaleString();
+function Zre(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${_D(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${_D(e.counts.change)} 个文件会改名或移动,${_D(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function eD(e) {
+function vD(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${$E(r)} 个文件${n ? `,${$E(n)} 行未能退回` : ""}。` : `已整理 ${$E(r)} 个文件${n ? `,${$E(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${_D(r)} 个文件${n ? `,${_D(n)} 行未能退回` : ""}。` : `已整理 ${_D(r)} 个文件${n ? `,${_D(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var tD = "/api/resource-sync/scan", nD = "/api/resource-sync/apply", rD = ["resource-sync", "scan"], iD = ["resource-sync", "apply"], aD = (e) => q(tD, {
+var yD = "/api/resource-sync/scan", bD = "/api/resource-sync/apply", xD = ["resource-sync", "scan"], SD = ["resource-sync", "apply"], CD = (e) => q(yD, {
background: !0,
status_only: !0
-}, "POST", e), Kre = () => q(tD, {
+}, "POST", e), Qre = () => q(yD, {
background: !0,
restart: !0
-}), oD = (e) => iw(nD, e), qre = (e) => q(nD, {
+}), wD = (e) => hw(bD, e), $re = (e) => q(bD, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), sD = (e) => (e?.sources ?? []).some((e) => uT.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Jre(e) {
- sD(X.getQueryData(sT)) && await Promise.all([X.fetchQuery({
- queryKey: rD,
- queryFn: () => aD(e)
+}), TD = (e) => (e?.sources ?? []).some((e) => PT.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function eie(e) {
+ TD(X.getQueryData(jT)) && await Promise.all([X.fetchQuery({
+ queryKey: xD,
+ queryFn: () => CD(e)
}), X.fetchQuery({
- queryKey: iD,
- queryFn: () => oD(e)
+ queryKey: SD,
+ queryFn: () => wD(e)
})]);
}
-var Yre = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Xre = {
+var tie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), nie = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, cD = (e) => Number(e || 0).toLocaleString(), Zre = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Qre = (e) => `将永久删除文件已不在盘上的 ${cD(e.missing)} 条记录和 ${cD(e.empty)} 个空文件夹,并清理 ${cD(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, $re = (e) => `将永久删除文件已不在盘上的 ${cD(e.missing)} 条记录(含回收站里的)、${cD(e.empty)} 个空文件夹,并清理 ${cD(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, eie = (e) => e.online ? [
- `找不到文件 · 共 ${cD(e.total)} 项`,
- e.empty ? `空文件夹 ${cD(e.empty)} 个` : "",
- e.unreadable ? `${cD(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${cD(e.total)} 项`;
-function lD(e) {
+}, ED = (e) => Number(e || 0).toLocaleString(), rie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", iie = (e) => `将永久删除文件已不在盘上的 ${ED(e.missing)} 条记录和 ${ED(e.empty)} 个空文件夹,并清理 ${ED(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, aie = (e) => `将永久删除文件已不在盘上的 ${ED(e.missing)} 条记录(含回收站里的)、${ED(e.empty)} 个空文件夹,并清理 ${ED(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, oie = (e) => e.online ? [
+ `找不到文件 · 共 ${ED(e.total)} 项`,
+ e.empty ? `空文件夹 ${ED(e.empty)} 个` : "",
+ e.unreadable ? `${ED(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${ED(e.total)} 项`;
+function DD(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${cD(t.length)} 条记录没有删除(${o})` : "",
- n ? `${cD(n)} 个文件夹没有删除` : "",
- r.length ? `${cD(r.length)} 个缓存没有清理` : ""
+ t.length ? `${ED(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${ED(n)} 个文件夹没有删除` : "",
+ r.length ? `${ED(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var tie = (e, t) => {
- let { rest: n } = lD(e), r = `已永久删除 ${cD(e.purged)} 条失效记录和 ${cD(e.dirs_removed)} 个空文件夹,清理 ${cD(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+var sie = (e, t) => {
+ let { rest: n } = DD(e), r = `已永久删除 ${ED(e.purged)} 条失效记录和 ${ED(e.dirs_removed)} 个空文件夹,清理 ${ED(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, nie = "/api/review?counts=1", uD = ["review", "counts"], rie = "/api/ads?limit=1", dD = ["junk-summary"], fD = "/api/items?state=trash&limit=1", pD = ["trash-summary"], iie = [
+}, cie = "/api/review?counts=1", OD = ["review", "counts"], lie = "/api/ads?limit=1", kD = ["junk-summary"], AD = "/api/items?state=trash&limit=1", jD = ["trash-summary"], uie = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], mD = (e) => iw(nie, e), hD = (e) => iw(rie, e), gD = (e) => {
+], MD = (e) => hw(cie, e), ND = (e) => hw(lie, e), PD = (e) => {
let t = sessionStorage.getItem("peach.library");
- return iw(t ? `${fD}&library=${encodeURIComponent(t)}` : fD, e);
-}, _D = (e) => Number(e || 0).toLocaleString();
-function aie(e) {
- let t = uE, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return hw(t ? `${AD}&library=${encodeURIComponent(t)}` : AD, e);
+}, FD = (e) => Number(e || 0).toLocaleString();
+function die(e) {
+ let t = PE, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function oie(e) {
+function fie(e) {
if (!e) return "";
- let t = iie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${_D(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${_D(e.dismissed_total)}`), t.join(" · ");
-}
-var sie = [
- [uD, ({ signal: e }) => mD(e)],
- [ZT, ({ signal: e }) => QT(e)],
- [pD, ({ signal: e }) => gD(e)],
- [VE, ({ signal: e }) => KE(e)],
- [HE, ({ signal: e }) => qE(e)],
- [UE, ({ signal: e }) => JE(e)]
+ let t = uie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${FD(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${FD(e.dismissed_total)}`), t.join(" · ");
+}
+var pie = [
+ [OD, ({ signal: e }) => MD(e)],
+ [xE, ({ signal: e }) => SE(e)],
+ [jD, ({ signal: e }) => PD(e)],
+ [aD, ({ signal: e }) => uD(e)],
+ [oD, ({ signal: e }) => dD(e)],
+ [sD, ({ signal: e }) => fD(e)]
];
-async function cie(e) {
- let t = location.hash === "#resource-sync", n = sie.map(([n, r]) => {
+async function mie(e) {
+ let t = location.hash === "#resource-sync", n = pie.map(([n, r]) => {
if (t) return X.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -28438,49 +28804,49 @@ async function cie(e) {
await Promise.all([
...n,
X.fetchQuery({
- queryKey: dD,
- queryFn: () => hD(e)
+ queryKey: kD,
+ queryFn: () => ND(e)
}),
X.fetchQuery({
- queryKey: pT,
- queryFn: () => hT(e)
+ queryKey: LT,
+ queryFn: () => zT(e)
}),
- lT(e).then(() => Jre(e)),
- DT(e),
- KT(e),
- zre(e)
+ NT(e).then(() => eie(e)),
+ ZT(e),
+ gE(e),
+ Gre(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var lie = [
+var hie = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], uie = [
+], gie = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function vD(e = {}) {
- return `${aw({
+function ID(e = {}) {
+ return `${gw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var yD = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", die = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function bD({ interactive: e = !1 } = {}) {
- return aw({
+var LD = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", _ie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function RD({ interactive: e = !1 } = {}) {
+ return gw({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var fie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function xD({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var vie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function zD({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -28513,13 +28879,13 @@ function xD({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function SD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function BD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${lie[n % 4]} ${uie[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${hie[n % 4]} ${gie[n % 4]}`,
children: /* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -28541,12 +28907,12 @@ function SD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var CD = Symbol("default");
-function wD({ values: e, children: t }) {
+var VD = Symbol("default");
+function HD({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ I.createElement(n.Provider, { value: r }, t);
return t;
}
-function TD(e) {
+function UD(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, I.useMemo)(() => {
let e, l, u;
@@ -28580,11 +28946,11 @@ function TD(e) {
c
]);
}
-function ED(e, t) {
+function WD(e, t) {
let n = (0, I.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || CD;
+ let e = t || VD;
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}.`);
@@ -28593,8 +28959,8 @@ function ED(e, t) {
}
return n;
}
-function DD(e, t, n) {
- let { ref: r, ...i } = ED(n, e.slot) || {}, a = fh((0, I.useMemo)(() => qm(t, r), [t, r])), o = H(i, e);
+function GD(e, t, n) {
+ let { ref: r, ...i } = WD(n, e.slot) || {}, a = Ih((0, I.useMemo)(() => _h(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,
@@ -28612,42 +28978,42 @@ function DD(e, t, n) {
...e.style
}), [o, a];
}
-function OD(e = !0) {
+function KD(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return Sp(() => {
+ return Gp(() => {
r.current || n(!1);
}, []), [i, t];
}
-function kD(e) {
+function qD(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function pie(e, t, n) {
- let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => qm(n, a), [n, a]);
- Sp(() => {}, [e, r]);
+function yie(e, t, n) {
+ let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => _h(n, a), [n, a]);
+ Gp(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ I.createElement(e, s);
}
-var AD = {}, jD = new Proxy({}, { get(e, t) {
+var JD = {}, YD = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = AD[t];
- return n || (n = /*#__PURE__*/ (0, I.forwardRef)(pie.bind(null, t)), AD[t] = n), n;
-} }), MD = /*#__PURE__*/ (0, I.createContext)(null), ND = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.createContext)(null), FD = {
+ let n = JD[t];
+ return n || (n = /*#__PURE__*/ (0, I.forwardRef)(yie.bind(null, t)), JD[t] = n), n;
+} }), XD = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), $D = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return ID(e, null, t);
+ return eO(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return ID(e, t, n);
+ return eO(e, t, n);
}
};
-function ID(e, t, n) {
- return Gf({
+function eO(e, t, n) {
+ return mp({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -28657,11 +29023,11 @@ function ID(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, mie(e, t, n));
+ }), r, bie(e, t, n));
}
});
}
-function mie(e, t, n) {
+function bie(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);
@@ -28680,25 +29046,25 @@ function mie(e, t, n) {
}
return s;
}
-var LD = /*#__PURE__*/ (0, I.createContext)(FD);
-function RD(e) {
+var tO = /*#__PURE__*/ (0, I.createContext)($D);
+function nO(e) {
return (0, I.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var zD = /*#__PURE__*/ (0, I.createContext)({}), hie = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, zD);
- let { elementType: n = "label", ...r } = e, i = jD[n];
+var rO = /*#__PURE__*/ (0, I.createContext)({}), xie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, rO);
+ let { elementType: n = "label", ...r } = e, i = YD[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), gie = /*#__PURE__*/ (0, I.createContext)(null), BD = /*#__PURE__*/ (0, I.createContext)({}), VD = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, BD);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ug(e, t);
- i = vie(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = py(e), { hoverProps: l, isHovered: u } = _y({
+}), Sie = /*#__PURE__*/ (0, I.createContext)(null), iO = /*#__PURE__*/ (0, I.createContext)({}), aO = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, iO);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = See(e, t);
+ i = wie(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = wy(e), { hoverProps: l, isHovered: u } = jy({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -28708,24 +29074,24 @@ var zD = /*#__PURE__*/ (0, I.createContext)({}), hie = /*#__PURE__*/ yh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = TD({
+ }, f = UD({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Wm(i.id), m = Wm(), h = i["aria-labelledby"];
+ }), p = mh(i.id), m = mh(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, I.useRef)(r);
(0, I.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && m_(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && D_(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Sg(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ I.createElement(jD.button, {
+ let _ = zg(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ I.createElement(YD.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -28739,62 +29105,62 @@ var zD = /*#__PURE__*/ (0, I.createContext)({}), hie = /*#__PURE__*/ yh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ I.createElement(gie.Provider, { value: { id: m } }, f.children));
-}), _ie = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function vie(e, t) {
+ }, /*#__PURE__*/ I.createElement(Sie.Provider, { value: { id: m } }, f.children));
+}), Cie = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function wie(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !_ie.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Cie.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 HD = /*#__PURE__*/ (0, I.createContext)({}), UD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, HD);
- let { children: n, level: r = 3, className: i, ...a } = e, o = jD[`h${r}`];
+var oO = /*#__PURE__*/ (0, I.createContext)({}), sO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, oO);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = YD[`h${r}`];
return /*#__PURE__*/ I.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), WD = /*#__PURE__*/ (0, I.createContext)({}), yie = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, WD);
- let { elementType: n = "span", ...r } = e, i = jD[n];
+}), cO = /*#__PURE__*/ (0, I.createContext)({}), Tie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, cO);
+ let { elementType: n = "span", ...r } = e, i = YD[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), GD = /*#__PURE__*/ (0, I.createContext)(null), KD = /*#__PURE__*/ (0, I.createContext)(null), qD = /*#__PURE__*/ (0, I.createContext)(null), JD = /*#__PURE__*/ (0, I.createContext)(null), bie = /*#__PURE__*/ (0, I.createContext)(null), YD = /*#__PURE__*/ (0, I.createContext)(null);
-function xie(e, t) {
- let { validationBehavior: n } = ED(KD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(bie), a = fh((0, I.useMemo)(() => qm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...kD(e),
+}), lO = /*#__PURE__*/ (0, I.createContext)(null), uO = /*#__PURE__*/ (0, I.createContext)(null), dO = /*#__PURE__*/ (0, I.createContext)(null), fO = /*#__PURE__*/ (0, I.createContext)(null), Eie = /*#__PURE__*/ (0, I.createContext)(null), pO = /*#__PURE__*/ (0, I.createContext)(null);
+function Die(e, t) {
+ let { validationBehavior: n } = WD(uO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(Eie), a = Ih((0, I.useMemo)(() => _h(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...qD(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? H_(o, i, a) : F_(o, V_(e), a), a];
+ return [i ? Uee(o, i, a) : Y_(o, ev(e), a), a];
}
-var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var Oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = DD(r, t, qD);
- let [i, a] = xie(e, n);
- return /*#__PURE__*/ I.createElement(YD.Provider, { value: {
+ [e, t] = GD(r, t, dO);
+ let [i, a] = Die(e, n);
+ return /*#__PURE__*/ I.createElement(pO.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ I.createElement(Cie, {
+ } }, /*#__PURE__*/ I.createElement(kie, {
...e,
ref: t
}));
-}), Cie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, I.useContext)(YD), { isFocused: p, isFocusVisible: m, focusProps: h } = py(), g = a || o, { hoverProps: _, isHovered: v } = _y({
+}), kie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, I.useContext)(pO), { isFocused: p, isFocusVisible: m, focusProps: h } = wy(), g = a || o, { hoverProps: _, isHovered: v } = jy({
...e,
isDisabled: g
- }), y = TD({
+ }), y = UD({
...e,
defaultClassName: u,
values: {
@@ -28809,8 +29175,8 @@ var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = Sg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(jD.label, {
+ }), b = zg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(YD.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28824,20 +29190,20 @@ var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ I.createElement(K_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(iv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), XD = /*#__PURE__*/ (0, I.createContext)({}), wie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, XD);
+}), mO = /*#__PURE__*/ (0, I.createContext)({}), Aie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, mO);
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 } = _y({
+ let { hoverProps: l, isHovered: u } = jy({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = py({ within: !0 }), m = TD({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = wy({ within: !0 }), m = UD({
...e,
values: {
isHovered: u,
@@ -28848,7 +29214,7 @@ var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ I.createElement(jD.div, {
+ return /*#__PURE__*/ I.createElement(YD.div, {
...H(c, p, l),
...m,
ref: t,
@@ -28861,18 +29227,18 @@ var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), ZD = /*#__PURE__*/ (0, I.createContext)({}), Tie = (e) => {
+}), hO = /*#__PURE__*/ (0, I.createContext)({}), jie = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Eie = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, ZD);
- let { hoverProps: n, isHovered: r } = _y({
+}, Mie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, hO);
+ let { hoverProps: n, isHovered: r } = jy({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = py({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = wy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = TD({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = UD({
...e,
values: {
isHovered: r,
@@ -28883,8 +29249,8 @@ var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ I.createElement(jD.input, {
- ...H(Tie(e), o, n),
+ return /*#__PURE__*/ I.createElement(YD.input, {
+ ...H(jie(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -28893,8 +29259,8 @@ var Sie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), QD = {};
-QD = {
+}), gO = {};
+gO = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -28902,8 +29268,8 @@ QD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var $D = {};
-$D = {
+var _O = {};
+_O = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -28911,8 +29277,8 @@ $D = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var eO = {};
-eO = {
+var vO = {};
+vO = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -28920,8 +29286,8 @@ eO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var tO = {};
-tO = {
+var yO = {};
+yO = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -28929,8 +29295,8 @@ tO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var nO = {};
-nO = {
+var bO = {};
+bO = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -28938,8 +29304,8 @@ nO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var rO = {};
-rO = {
+var xO = {};
+xO = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -28947,8 +29313,8 @@ rO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var iO = {};
-iO = {
+var SO = {};
+SO = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -28956,8 +29322,8 @@ iO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var aO = {};
-aO = {
+var CO = {};
+CO = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -28965,8 +29331,8 @@ aO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var oO = {};
-oO = {
+var wO = {};
+wO = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -28974,8 +29340,8 @@ oO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var sO = {};
-sO = {
+var TO = {};
+TO = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -28983,8 +29349,8 @@ sO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var cO = {};
-cO = {
+var EO = {};
+EO = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -28992,8 +29358,8 @@ cO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var lO = {};
-lO = {
+var DO = {};
+DO = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -29001,8 +29367,8 @@ lO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var uO = {};
-uO = {
+var OO = {};
+OO = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -29010,8 +29376,8 @@ uO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var dO = {};
-dO = {
+var kO = {};
+kO = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -29019,8 +29385,8 @@ dO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var fO = {};
-fO = {
+var AO = {};
+AO = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -29028,8 +29394,8 @@ fO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var pO = {};
-pO = {
+var jO = {};
+jO = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -29037,8 +29403,8 @@ pO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var mO = {};
-mO = {
+var MO = {};
+MO = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -29046,8 +29412,8 @@ mO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var hO = {};
-hO = {
+var NO = {};
+NO = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -29055,8 +29421,8 @@ hO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var gO = {};
-gO = {
+var PO = {};
+PO = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -29064,8 +29430,8 @@ gO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var _O = {};
-_O = {
+var FO = {};
+FO = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -29073,8 +29439,8 @@ _O = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var vO = {};
-vO = {
+var IO = {};
+IO = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -29082,8 +29448,8 @@ vO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var yO = {};
-yO = {
+var LO = {};
+LO = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -29091,8 +29457,8 @@ yO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var bO = {};
-bO = {
+var RO = {};
+RO = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -29100,8 +29466,8 @@ bO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var xO = {};
-xO = {
+var zO = {};
+zO = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -29109,8 +29475,8 @@ xO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var SO = {};
-SO = {
+var BO = {};
+BO = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -29118,8 +29484,8 @@ SO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var CO = {};
-CO = {
+var VO = {};
+VO = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -29127,8 +29493,8 @@ CO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var wO = {};
-wO = {
+var HO = {};
+HO = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -29136,8 +29502,8 @@ wO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var TO = {};
-TO = {
+var UO = {};
+UO = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -29145,8 +29511,8 @@ TO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var EO = {};
-EO = {
+var WO = {};
+WO = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -29154,8 +29520,8 @@ EO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var DO = {};
-DO = {
+var GO = {};
+GO = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -29163,8 +29529,8 @@ DO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var OO = {};
-OO = {
+var KO = {};
+KO = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -29172,8 +29538,8 @@ OO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var kO = {};
-kO = {
+var qO = {};
+qO = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -29181,8 +29547,8 @@ kO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var AO = {};
-AO = {
+var JO = {};
+JO = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -29190,8 +29556,8 @@ AO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var jO = {};
-jO = {
+var YO = {};
+YO = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -29199,52 +29565,52 @@ jO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var MO = {};
-MO = {
- "ar-AE": QD,
- "bg-BG": $D,
- "cs-CZ": eO,
- "da-DK": tO,
- "de-DE": nO,
- "el-GR": rO,
- "en-US": iO,
- "es-ES": aO,
- "et-EE": oO,
- "fi-FI": sO,
- "fr-FR": cO,
- "he-IL": lO,
- "hr-HR": uO,
- "hu-HU": dO,
- "it-IT": fO,
- "ja-JP": pO,
- "ko-KR": mO,
- "lt-LT": hO,
- "lv-LV": gO,
- "nb-NO": _O,
- "nl-NL": vO,
- "pl-PL": yO,
- "pt-BR": bO,
- "pt-PT": xO,
- "ro-RO": SO,
- "ru-RU": CO,
- "sk-SK": wO,
- "sl-SI": TO,
- "sr-SP": EO,
- "sv-SE": DO,
- "tr-TR": OO,
- "uk-UA": kO,
- "zh-CN": AO,
- "zh-TW": jO
+var XO = {};
+XO = {
+ "ar-AE": gO,
+ "bg-BG": _O,
+ "cs-CZ": vO,
+ "da-DK": yO,
+ "de-DE": bO,
+ "el-GR": xO,
+ "en-US": SO,
+ "es-ES": CO,
+ "et-EE": wO,
+ "fi-FI": TO,
+ "fr-FR": EO,
+ "he-IL": DO,
+ "hr-HR": OO,
+ "hu-HU": kO,
+ "it-IT": AO,
+ "ja-JP": jO,
+ "ko-KR": MO,
+ "lt-LT": NO,
+ "lv-LV": PO,
+ "nb-NO": FO,
+ "nl-NL": IO,
+ "pl-PL": LO,
+ "pt-BR": RO,
+ "pt-PT": zO,
+ "ro-RO": BO,
+ "ru-RU": VO,
+ "sk-SK": HO,
+ "sl-SI": UO,
+ "sr-SP": WO,
+ "sv-SE": GO,
+ "tr-TR": KO,
+ "uk-UA": qO,
+ "zh-CN": JO,
+ "zh-TW": YO
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var NO = /*#__PURE__*/ (0, I.createContext)({}), PO = /*#__PURE__*/ (0, I.createContext)(null), Die = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { render: n } = (0, I.useContext)(PO);
+var ZO = /*#__PURE__*/ (0, I.createContext)({}), QO = /*#__PURE__*/ (0, I.createContext)(null), Nie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { render: n } = (0, I.useContext)(QO);
return /*#__PURE__*/ I.createElement(I.Fragment, null, n(e, t));
});
-function FO(e, t) {
+function $O(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, I.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(Die, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(Nie, { target: e });
}, [
t?.target,
r,
@@ -29252,7 +29618,7 @@ function FO(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function IO(e, t, n) {
+function ek(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;
@@ -29275,14 +29641,14 @@ function IO(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var LO = /*#__PURE__*/ (0, I.createContext)({}), Oie = /*#__PURE__*/ (0, I.createContext)(null);
-function RO(e) {
+var tk = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.createContext)(null);
+function nk(e) {
let t = (0, I.useRef)({});
- return /*#__PURE__*/ I.createElement(Oie.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ I.createElement(Pie.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var zO = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), BO = /*#__PURE__*/ (0, I.createContext)({}), kie = /*#__PURE__*/ Lh(class extends Ff {
+var rk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), ik = /*#__PURE__*/ (0, I.createContext)({}), Fie = /*#__PURE__*/ og(class extends ip {
static {
this.type = "separator";
}
@@ -29295,14 +29661,14 @@ var zO = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), BO = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = DD(e, t, BO);
+ [e, t] = GD(e, t, ik);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = jD[c], { separatorProps: u } = bte({
+ let l = YD[c], { separatorProps: u } = Fte({
...s,
elementType: n,
orientation: r
- }), d = Sg(e, { global: !0 });
+ }), d = zg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(l, {
render: e.render,
...H(d, u),
@@ -29314,13 +29680,13 @@ var zO = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), BO = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function VO(e) {
+function ak(e) {
let t = I.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 HO = class {
+var ok = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -29364,20 +29730,20 @@ var HO = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, UO = class e extends Set {
+}, sk = 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 Aie(e, t) {
+function Iie(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function WO(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = B_((0, I.useMemo)(() => GO(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => GO(e.defaultSelectedKeys, new UO()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
+function ck(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = $_((0, I.useMemo)(() => lk(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => lk(e.defaultSelectedKeys, new sk()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
@@ -29404,18 +29770,18 @@ function WO(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Aie(e, d)) && f(e);
+ (r || !Iie(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function GO(e, t) {
- return e ? e === "all" ? "all" : new UO(e) : t;
+function lk(e, t) {
+ return e ? e === "all" ? "all" : new sk(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var KO = class e {
+var uk = 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;
}
@@ -29471,7 +29837,7 @@ var KO = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && ty(this.collection, n, e) < 0) && (e = n);
+ (!e || n && dy(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -29479,7 +29845,7 @@ var KO = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && ty(this.collection, n, e) > 0) && (e = n);
+ (!e || n && dy(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -29498,10 +29864,10 @@ var KO = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new UO([t], t, t);
+ if (this.state.selectedKeys === "all") n = new sk([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new UO(e, r, t);
+ n = new sk(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);
}
@@ -29509,7 +29875,7 @@ var KO = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? ty(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? dy(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);
@@ -29535,19 +29901,19 @@ var KO = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new UO(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new sk(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 UO([t], t, t) : new UO();
+ let n = this.canSelectItem(t) ? new sk([t], t, t) : new sk();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new UO();
+ let t = new sk();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -29559,7 +29925,7 @@ var KO = class e {
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(Qv(Zv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(cy(sy(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -29570,7 +29936,7 @@ var KO = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new UO());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new sk());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -29611,9 +29977,9 @@ var KO = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, jie = class {
+}, Lie = class {
build(e, t) {
- return this.context = t, qO(() => this.iterateCollection(e));
+ return this.context = t, dk(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -29695,10 +30061,10 @@ var KO = class e {
...a,
key: l,
index: s,
- wrapper: Mie(e.wrapper, a.wrapper)
+ wrapper: Rie(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 <${JO(t.type)}> in <${JO(r?.type ?? "unknown parent type")}>. Only <${JO(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${fk(t.type)}> in <${fk(r?.type ?? "unknown parent type")}>. Only <${fk(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -29720,7 +30086,7 @@ var KO = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: qO(function* () {
+ childNodes: dk(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -29739,7 +30105,7 @@ var KO = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function qO(e) {
+function dk(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -29747,18 +30113,18 @@ function qO(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Mie(e, t) {
+function Rie(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function JO(e) {
+function fk(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function YO(e, t, n) {
- let r = (0, I.useMemo)(() => new jie(), []), { children: i, items: a, collection: o } = e;
+function pk(e, t, n) {
+ let r = (0, I.useMemo)(() => new Lie(), []), { children: i, items: a, collection: o } = e;
return (0, I.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -29773,27 +30139,27 @@ function YO(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function XO(e) {
- let { filter: t, layoutDelegate: n } = e, r = WO(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = YO(e, (0, I.useCallback)((e) => t ? new HO(t(e)) : new HO(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new KO(a, r, { layoutDelegate: n }), [
+function mk(e) {
+ let { filter: t, layoutDelegate: n } = e, r = ck(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = pk(e, (0, I.useCallback)((e) => t ? new ok(t(e)) : new ok(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new uk(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return ZO(a, o), {
+ return hk(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Nie(e, t) {
+function zie(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return ZO(n, r), {
+ return hk(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function ZO(e, t) {
+function hk(e, t) {
let n = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -29821,15 +30187,15 @@ function ZO(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function QO(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = $h((e) => {
+function gk(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = _g((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- Sp(() => {
+ Gp(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: __(t?.current),
+ root: j_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -29845,42 +30211,42 @@ function QO(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var $O = /*#__PURE__*/ (0, I.createContext)(null), ek = /*#__PURE__*/ (0, I.createContext)(null), Pie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, $O);
- let n = (0, I.useContext)(ek);
- return n ? /*#__PURE__*/ I.createElement(tk, {
+var _k = /*#__PURE__*/ (0, I.createContext)(null), vk = /*#__PURE__*/ (0, I.createContext)(null), Bie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, _k);
+ let n = (0, I.useContext)(vk);
+ return n ? /*#__PURE__*/ I.createElement(yk, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ I.createElement(kh, { content: /*#__PURE__*/ I.createElement(Vh, e) }, (n) => /*#__PURE__*/ I.createElement(Fie, {
+ }) : /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(Vie, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Fie({ props: e, listBoxRef: t, collection: n }) {
+function Vie({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, I.useContext)(LD), i = XO({
+ let { layoutDelegate: r } = (0, I.useContext)(tO), i = mk({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ I.createElement(tk, {
+ return /*#__PURE__*/ I.createElement(yk, {
state: i,
props: e,
listBoxRef: t
});
}
-function tk({ state: e, props: t, listBoxRef: n }) {
- [t, n] = DD(t, n, MD);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Nie(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ug(), { disabledBehavior: p, disabledKeys: m } = l, h = oy({
+function yk({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = GD(t, n, XD);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zie(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Eg(), { disabledBehavior: p, disabledKeys: m } = l, h = gy({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(LD), b = (0, I.useMemo)(() => t.keyboardDelegate || new iv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(tO), b = (0, I.useMemo)(() => t.keyboardDelegate || new vv({
collection: c,
collator: h,
ref: n,
@@ -29901,7 +30267,7 @@ function tk({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Qee({
+ ]), { listBoxProps: x } = ste({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -29933,7 +30299,7 @@ function tk({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = py(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = wy(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -29941,7 +30307,7 @@ function tk({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = TD({
+ }, N = UD({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -29951,8 +30317,8 @@ function tk({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = Sg(t, { global: !0 });
- return /*#__PURE__*/ I.createElement(Yg, null, /*#__PURE__*/ I.createElement(jD.div, {
+ let te = zg(t, { global: !0 });
+ return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(YD.div, {
...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -29963,60 +30329,60 @@ function tk({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [$O, t],
- [ek, s],
- [NO, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [_k, t],
+ [vk, s],
+ [ZO, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [BO, { elementType: "div" }],
- [PO, { render: Rie }],
- [PD, {
+ [ik, { elementType: "div" }],
+ [QO, { render: Wie }],
+ [QD, {
name: "ListBoxSection",
- render: Iie
+ render: Hie
}]
- ] }, /*#__PURE__*/ I.createElement(RO, null, /*#__PURE__*/ I.createElement(y, {
+ ] }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: IO(l, r, C),
- renderDropIndicator: FO(r, C)
+ persistedKeys: ek(l, r, C),
+ renderDropIndicator: $O(r, C)
}))), ee, E));
}
-function Iie(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(ek), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(NO), { CollectionBranch: s } = (0, I.useContext)(LD), [c, l] = OD(), { headingProps: u, groupProps: d } = $ee({
+function Hie(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, I.useContext)(vk), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(ZO), { CollectionBranch: s } = (0, I.useContext)(tO), [c, l] = KD(), { headingProps: u, groupProps: d } = cte({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = TD({
+ }), f = UD({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Sg(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ I.createElement(jD.section, {
+ }), p = zg(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ I.createElement(YD.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ I.createElement(LO.Provider, { value: {
+ }, /*#__PURE__*/ I.createElement(tk.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ I.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: FO(a, o)
+ renderDropIndicator: $O(a, o)
})));
}
-var Lie = /*#__PURE__*/ Lh(Rf, function(e, t, n) {
- let r = fh(t), i = (0, I.useContext)(ek), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(NO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = ete({
+var Uie = /*#__PURE__*/ og(sp, function(e, t, n) {
+ let r = Ih(t), i = (0, I.useContext)(vk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(ZO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = lte({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = _y({
+ }, i, r), { hoverProps: p, isHovered: m } = jy({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = dh(e), { focusProps: g } = Zm(e), _ = null;
+ }), { keyboardProps: h } = Fh(e), { focusProps: g } = xh(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -30027,7 +30393,7 @@ var Lie = /*#__PURE__*/ Lh(Rf, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = TD({
+ let y = o && o.isDragging(n.key), b = UD({
...e,
id: void 0,
children: e.children,
@@ -30045,7 +30411,7 @@ var Lie = /*#__PURE__*/ Lh(Rf, function(e, t, n) {
(0, I.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? jD.a : jD.div, S = Sg(e, { global: !0 });
+ let x = e.href ? YD.a : YD.div, S = zg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ I.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -30059,29 +30425,29 @@ var Lie = /*#__PURE__*/ Lh(Rf, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ I.createElement(wD, { values: [[WD, { slots: {
- [CD]: u,
+ }, /*#__PURE__*/ I.createElement(HD, { values: [[cO, { slots: {
+ [VD]: u,
label: u,
description: d
- } }], [zO, { isSelected: f.isSelected }]] }, b.children));
+ } }], [rk, { isSelected: f.isSelected }]] }, b.children));
});
-function Rie(e, t) {
- t = fh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(NO), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ I.createElement(Bie, {
+function Wie(e, t) {
+ t = Ih(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(ZO), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ I.createElement(Kie, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function zie(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = TD({
+function Gie(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = UD({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jD.div, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(YD.div, {
...n,
...a,
role: "option",
@@ -30089,10 +30455,10 @@ function zie(e, t) {
"data-drop-target": r || void 0
}));
}
-var Bie = /*#__PURE__*/ (0, I.forwardRef)(zie);
-Lh(Lf, function(e, t, n) {
- let r = (0, I.useContext)(ek), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- QO((0, I.useMemo)(() => ({
+var Kie = /*#__PURE__*/ (0, I.forwardRef)(Gie);
+og(op, function(e, t, n) {
+ let r = (0, I.useContext)(vk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ gk((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30102,7 +30468,7 @@ Lh(Lf, function(e, t, n) {
o,
r?.collection
]), c);
- let l = TD({
+ let l = UD({
...s,
id: void 0,
children: n.rendered,
@@ -30115,7 +30481,7 @@ Lh(Lf, function(e, t, n) {
width: 0,
height: 0
},
- inert: VO(!0)
+ inert: ak(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30124,8 +30490,8 @@ Lh(Lf, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jD.div, {
- ...H(Sg(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(YD.div, {
+ ...H(zg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -30133,11 +30499,11 @@ Lh(Lf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Vie = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
+var qie = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function nk(e) {
- let [t, n] = B_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
+function bk(e) {
+ let [t, n] = $_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -30156,13 +30522,13 @@ function nk(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function rk(e, t = !0) {
+function xk(e, t = !0) {
let [n, r] = (0, I.useState)(!0), i = n && t;
- return Sp(() => {
+ return Gp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), ak(e, i, (0, I.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), Ck(e, i, (0, I.useCallback)(() => r(!1), [])), i;
}
-function ik(e, t) {
+function Sk(e, t) {
let [n, r] = (0, I.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -30172,12 +30538,12 @@ function ik(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return ak(e, i, (0, I.useCallback)(() => {
+ return Ck(e, i, (0, I.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function ak(e, t, n) {
- Sp(() => {
+function Ck(e, t, n) {
+ Gp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
n();
@@ -30190,7 +30556,7 @@ function ak(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, Th.flushSync)(() => {
+ r || (0, Yh.flushSync)(() => {
n();
});
}), () => {
@@ -30205,9 +30571,9 @@ function ak(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var ok = /*#__PURE__*/ (0, I.createContext)(null), sk = /*#__PURE__*/ (0, I.createContext)(null), ck = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, ok);
- let n = (0, I.useContext)(vk), r = nk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ik(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = bh(), { direction: c } = ug();
+var wk = /*#__PURE__*/ (0, I.createContext)(null), Tk = /*#__PURE__*/ (0, I.createContext)(null), Ek = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, wk);
+ let n = (0, I.useContext)(Ik), r = bk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Sk(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Wh(), { direction: c } = Eg();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -30218,7 +30584,7 @@ var ok = /*#__PURE__*/ (0, I.createContext)(null), sk = /*#__PURE__*/ (0, I.crea
defaultChildren: null
})), /*#__PURE__*/ I.createElement(I.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Hie, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Jie, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -30227,13 +30593,13 @@ var ok = /*#__PURE__*/ (0, I.createContext)(null), sk = /*#__PURE__*/ (0, I.crea
dir: c
});
});
-function Hie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(sk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = mte({
+function Jie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(Tk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = kte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = rk(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = TD({
+ }, e), m = i.popoverRef, h = xk(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = UD({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -30243,10 +30609,10 @@ function Hie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, I.useState)(i.trigger === "PreviewTrigger");
- Sp(() => {
+ Gp(() => {
m.current && b(v && !m.current.querySelector("[role=dialog]"));
}, [m, v]), (0, I.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Em() !== "pointer") && m.current && !dp(m.current) && Lm(m.current);
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Ym() !== "pointer") && m.current && !Pp(m.current) && sh(m.current);
}, [
y,
m,
@@ -30259,7 +30625,7 @@ function Hie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, I.useState)(null), w = (0, I.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- Sp(w, [w]), sb({
+ Gp(w, [w]), Sb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -30268,8 +30634,8 @@ function Hie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, E = /*#__PURE__*/ I.createElement(jD.div, {
- ...H(Sg(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ I.createElement(YD.div, {
+ ...H(zg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -30284,17 +30650,17 @@ function Hie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ I.createElement(Wb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(Vie.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(qie.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ I.createElement(Wb, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ I.createElement(dy, {
+ } }, x), /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ I.createElement(xy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ I.createElement(dy, {
+ }, E) : /*#__PURE__*/ I.createElement(xy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -30309,15 +30675,15 @@ function Hie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ I.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ I.createElement(sk.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ I.createElement(Tk.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Uie = /*#__PURE__*/ (0, I.createContext)({});
+var Yie = /*#__PURE__*/ (0, I.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function lk(e) {
- let t = nk(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
+function Dk(e) {
+ let t = bk(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -30343,7 +30709,7 @@ function lk(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Wie = class {
+var Xie = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -30387,8 +30753,8 @@ var Wie = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Gie(e) {
- let { onExpandedChange: t } = e, [n, r] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = WO(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = YO(e, (0, I.useCallback)((e) => new Wie(e, { expandedKeys: n }), [n]), null);
+function Zie(e) {
+ let { onExpandedChange: t } = e, [n, r] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = ck(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = pk(e, (0, I.useCallback)((e) => new Xie(e, { expandedKeys: n }), [n]), null);
return (0, I.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -30396,32 +30762,32 @@ function Gie(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Kie(n, e));
+ r(Qie(n, e));
},
setExpandedKeys: r,
- selectionManager: new KO(o, i)
+ selectionManager: new uk(o, i)
};
}
-function Kie(e, t) {
+function Qie(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var uk = /*#__PURE__*/ (0, I.createContext)(null), dk = /*#__PURE__*/ (0, I.createContext)(null), fk = /*#__PURE__*/ (0, I.createContext)(null), pk = /*#__PURE__*/ (0, I.createContext)(null);
-function qie(e) {
- let t = lk(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = Kv({
+var Ok = /*#__PURE__*/ (0, I.createContext)(null), kk = /*#__PURE__*/ (0, I.createContext)(null), Ak = /*#__PURE__*/ (0, I.createContext)(null), jk = /*#__PURE__*/ (0, I.createContext)(null);
+function $ie(e) {
+ let t = Dk(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = ny({
...e,
type: "menu"
}, t, n), a = (0, I.useRef)(null);
- return bh() ? null : /*#__PURE__*/ I.createElement(wD, { values: [
- [uk, {
+ return Wh() ? null : /*#__PURE__*/ I.createElement(HD, { values: [
+ [Ok, {
...i,
ref: a
}],
- [vk, t],
- [fk, t],
- [ok, {
+ [Ik, t],
+ [Ak, t],
+ [wk, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -30429,14 +30795,14 @@ function qie(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ I.createElement(zee, {
+ ] }, /*#__PURE__*/ I.createElement($ee, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var Jie = /*#__PURE__*/ (0, I.createContext)(null);
-(class extends Ff {
+var eae = /*#__PURE__*/ (0, I.createContext)(null);
+(class extends ip {
static {
this.type = "submenutrigger";
}
@@ -30449,24 +30815,24 @@ var Jie = /*#__PURE__*/ (0, I.createContext)(null);
return null;
}
});
-var Yie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return [e, t] = DD(e, t, uk), /*#__PURE__*/ I.createElement(kh, { content: /*#__PURE__*/ I.createElement(Vh, e) }, (n) => /*#__PURE__*/ I.createElement(Xie, {
+var tae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return [e, t] = GD(e, t, Ok), /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(nae, {
props: e,
collection: n,
menuRef: t
}));
});
-function Xie({ props: e, collection: t, menuRef: n }) {
- [e, n] = DD(e, n, MD);
- let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Gie({
+function nae({ props: e, collection: t, menuRef: n }) {
+ [e, n] = GD(e, n, XD);
+ let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Zie({
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(fk), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(LD), { menuProps: u } = tte({
+ }), s = (0, I.useContext)(Ak), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(tO), { menuProps: u } = ute({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = TD({
+ }, o, n), d = UD({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -30476,36 +30842,36 @@ function Xie({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Yg, null, /*#__PURE__*/ I.createElement(jD.div, {
+ let p = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(YD.div, {
...H(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [dk, o],
- [BO, { elementType: "div" }],
- [PD, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [kk, o],
+ [ik, { elementType: "div" }],
+ [QD, {
name: "MenuSection",
- render: mk
+ render: Mk
}],
- [Jie, {
+ [eae, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [gk, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [MD, null],
- [ND, null],
- [pk, o.selectionManager],
- [fk, s ?? lk({})]
- ] }, /*#__PURE__*/ I.createElement(RO, null, /*#__PURE__*/ I.createElement(l, {
+ [Pk, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [XD, null],
+ [ZD, null],
+ [jk, o.selectionManager],
+ [Ak, s ?? Dk({})]
+ ] }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(l, {
collection: o.collection,
- persistedKeys: RD(o.selectionManager.focusedKey),
+ persistedKeys: nO(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var Zie = class extends KO {
+var rae = class extends uk {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -30525,11 +30891,11 @@ var Zie = class extends KO {
return this.parent.childFocusStrategy;
}
};
-function mk(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(dk), { CollectionBranch: a } = (0, I.useContext)(LD), [o, s] = OD(), { headingProps: c, groupProps: l } = rte({
+function Mk(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, I.useContext)(kk), { CollectionBranch: a } = (0, I.useContext)(tO), [o, s] = KD(), { headingProps: c, groupProps: l } = fte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = TD({
+ }), u = UD({
...e,
id: void 0,
children: void 0,
@@ -30537,31 +30903,31 @@ function mk(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, I.useContext)(pk), f = WO(e), p = e.selectionMode == null ? d : new Zie(d, f), m = ED(gk)?.shouldCloseOnSelect, h = Sg(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ I.createElement(jD.section, {
+ }), d = (0, I.useContext)(jk), f = ck(e), p = e.selectionMode == null ? d : new rae(d, f), m = WD(Pk)?.shouldCloseOnSelect, h = zg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ I.createElement(YD.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [LO, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [tk, {
...c,
ref: o
}],
- [pk, p],
- [gk, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [jk, p],
+ [Pk, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ I.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var hk = /*#__PURE__*/ Rh(zf, mk), gk = /*#__PURE__*/ (0, I.createContext)(null), _k = /*#__PURE__*/ Lh(Rf, function(e, t, n) {
- [e, t] = DD(e, t, gk);
- let r = ED(gk)?.id, i = (0, I.useContext)(dk), a = fh(t), o = (0, I.useContext)(pk), { isVirtualized: s } = (0, I.useContext)(LD), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = nte({
+var Nk = /*#__PURE__*/ sg(cp, Mk), Pk = /*#__PURE__*/ (0, I.createContext)(null), Fk = /*#__PURE__*/ og(sp, function(e, t, n) {
+ [e, t] = GD(e, t, Pk);
+ let r = WD(Pk)?.id, i = (0, I.useContext)(kk), a = Ih(t), o = (0, I.useContext)(jk), { isVirtualized: s } = (0, I.useContext)(tO), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = dte({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = _y({ isDisabled: f.isDisabled }), h = TD({
+ }, i, a), { hoverProps: p, isHovered: m } = jy({ isDisabled: f.isDisabled }), h = UD({
...e,
id: void 0,
children: n.rendered,
@@ -30575,7 +30941,7 @@ var hk = /*#__PURE__*/ Rh(zf, mk), gk = /*#__PURE__*/ (0, I.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? jD.a : jD.div, _ = Sg(e, { global: !0 });
+ }), g = e.href ? YD.a : YD.div, _ = zg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -30588,19 +30954,19 @@ var hk = /*#__PURE__*/ Rh(zf, mk), gk = /*#__PURE__*/ (0, I.createContext)(null)
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [WD, { slots: {
- [CD]: l,
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [cO, { slots: {
+ [VD]: l,
label: l,
description: u
} }],
- [Uie, d],
- [zO, { isSelected: f.isSelected }]
+ [Yie, d],
+ [rk, { isSelected: f.isSelected }]
] }, h.children));
});
-Lh(Lf, function(e, t, n) {
- let r = (0, I.useContext)(dk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- QO((0, I.useMemo)(() => ({
+og(op, function(e, t, n) {
+ let r = (0, I.useContext)(kk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ gk((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30610,7 +30976,7 @@ Lh(Lf, function(e, t, n) {
o,
r?.collection
]), c);
- let l = TD({
+ let l = UD({
...s,
id: void 0,
children: n.rendered,
@@ -30623,7 +30989,7 @@ Lh(Lf, function(e, t, n) {
width: 0,
height: 0
},
- inert: VO(!0)
+ inert: ak(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30632,8 +30998,8 @@ Lh(Lf, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jD.div, {
- ...H(Sg(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(YD.div, {
+ ...H(zg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -30641,83 +31007,83 @@ Lh(Lf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var Qie = /*#__PURE__*/ (0, I.createContext)(null), vk = /*#__PURE__*/ (0, I.createContext)(null), yk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var iae = /*#__PURE__*/ (0, I.createContext)(null), Ik = /*#__PURE__*/ (0, I.createContext)(null), Lk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = DD(e, t, Qie);
- let { dialogProps: r, titleProps: i, contentProps: a } = Vee({
+ [e, t] = GD(e, t, iae);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Cy({
...e,
"aria-labelledby": n
- }, t), o = (0, I.useContext)(vk);
+ }, t), o = (0, I.useContext)(Ik);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = TD({
+ let s = UD({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(jD.section, {
+ }), c = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(YD.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [HD, { slots: {
- [CD]: {},
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [oO, { slots: {
+ [VD]: {},
title: {
...i,
level: 2
}
} }],
- [WD, { slots: {
- [CD]: {},
+ [cO, { slots: {
+ [VD]: {},
description: a
} }],
- [BD, { slots: {
- [CD]: {},
+ [iO, { slots: {
+ [VD]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), bk = typeof document < "u" && window.visualViewport;
-function $ie() {
- let e = cm(), [t, n] = (0, I.useState)(() => e ? {
+}), Rk = typeof document < "u" && window.visualViewport;
+function aae() {
+ let e = jm(), [t, n] = (0, I.useState)(() => e ? {
width: 0,
height: 0
- } : xk());
+ } : zk());
return (0, I.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- bk && bk.scale > 1 || e(xk());
+ Rk && Rk.scale > 1 || e(zk());
}, r, i = (t) => {
- bk && bk.scale > 1 || Zh(V(t)) && (r = requestAnimationFrame(() => {
- let t = lp();
- (!t || !Zh(t)) && e({
+ Rk && Rk.scale > 1 || gg(V(t)) && (r = requestAnimationFrame(() => {
+ let t = Mp();
+ (!t || !gg(t)) && e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(xk()), Pp() && Ip() && window.addEventListener("blur", i, !0), bk ? bk.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), Pp() && Ip() && window.removeEventListener("blur", i, !0), bk ? bk.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(zk()), rm() && am() && window.addEventListener("blur", i, !0), Rk ? Rk.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), rm() && am() && window.removeEventListener("blur", i, !0), Rk ? Rk.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function xk() {
+function zk() {
return {
- width: bk ? Math.min(bk.width * bk.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: bk ? bk.height * bk.scale : document.documentElement.clientHeight
+ width: Rk ? Math.min(Rk.width * Rk.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Rk ? Rk.height * Rk.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var eae = /*#__PURE__*/ (0, I.createContext)(null), Sk = /*#__PURE__*/ (0, I.createContext)(null), tae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- if ((0, I.useContext)(Sk)) return /*#__PURE__*/ I.createElement(wk, {
+var oae = /*#__PURE__*/ (0, I.createContext)(null), Bk = /*#__PURE__*/ (0, I.createContext)(null), sae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ if ((0, I.useContext)(Bk)) return /*#__PURE__*/ I.createElement(Hk, {
...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__*/ I.createElement(Ck, {
+ return /*#__PURE__*/ I.createElement(Vk, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -30727,15 +31093,15 @@ var eae = /*#__PURE__*/ (0, I.createContext)(null), Sk = /*#__PURE__*/ (0, I.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ I.createElement(wk, {
+ }, /*#__PURE__*/ I.createElement(Hk, {
...f,
modalRef: t
}, s));
});
-function nae(e, t) {
- [e, t] = DD(e, t, eae);
- let n = (0, I.useContext)(vk), r = nk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = fh(t), o = (0, I.useRef)(null), s = ik(a, i.isOpen), c = ik(o, i.isOpen), l = s || c || e.isExiting || !1, u = cm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(rae, {
+function cae(e, t) {
+ [e, t] = GD(e, t, oae);
+ let n = (0, I.useContext)(Ik), r = bk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ih(t), o = (0, I.useRef)(null), s = Sk(a, i.isOpen), c = Sk(o, i.isOpen), l = s || c || e.isExiting || !1, u = jm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(lae, {
...e,
state: i,
isExiting: l,
@@ -30743,9 +31109,9 @@ function nae(e, t) {
modalRef: o
});
}
-var Ck = /*#__PURE__*/ (0, I.forwardRef)(nae);
-function rae({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = tx(t, r, n), o = rk(t.overlayRef) || t.isEntering || !1, s = TD({
+var Vk = /*#__PURE__*/ (0, I.forwardRef)(cae);
+function lae({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = _te(t, r, n), o = xk(t.overlayRef) || t.isEntering || !1, s = UD({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -30753,9 +31119,9 @@ function rae({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = $ie(), l, u;
+ }), c = aae(), 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;
+ let e = A_(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 = {
@@ -30765,25 +31131,25 @@ function rae({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ I.createElement(dy, {
+ return /*#__PURE__*/ I.createElement(xy, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ I.createElement(jD.div, {
- ...H(Sg(t, { global: !0 }), a),
+ }, /*#__PURE__*/ I.createElement(YD.div, {
+ ...H(zg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [[Sk, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [[Bk, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [vk, r]] }, s.children)));
+ }], [Ik, r]] }, s.children)));
}
-function wk(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(Sk), a = (0, I.useContext)(vk), o = fh((0, I.useMemo)(() => qm(e.modalRef, n), [e.modalRef, n])), s = rk(o), c = TD({
+function Hk(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(Bk), a = (0, I.useContext)(Ik), o = Ih((0, I.useMemo)(() => _h(e.modalRef, n), [e.modalRef, n])), s = xk(o), c = UD({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -30792,19 +31158,19 @@ function wk(e) {
state: a
}
});
- return /*#__PURE__*/ I.createElement(jD.div, {
- ...H(Sg(e, { global: !0 }), t),
+ return /*#__PURE__*/ I.createElement(YD.div, {
+ ...H(zg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ I.createElement(Wb, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ I.createElement(ix, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var iae = Math.round(Math.random() * 1e10), aae = 0;
-function oae(e) {
- let t = (0, I.useMemo)(() => e.name || `radio-group-${iae}-${++aae}`, [e.name]), [n, r] = B_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = A_({
+var uae = Math.round(Math.random() * 1e10), dae = 0;
+function fae(e) {
+ let t = (0, I.useMemo)(() => e.name || `radio-group-${uae}-${++dae}`, [e.name]), [n, r] = $_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = W_({
...e,
value: n
}), c = (t) => {
@@ -30827,16 +31193,16 @@ function oae(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var sae = /*#__PURE__*/ (0, I.createContext)(null), cae = /*#__PURE__*/ (0, I.createContext)(null), Tk = /*#__PURE__*/ (0, I.createContext)(null), Ek = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, sae);
- let { validationBehavior: n } = ED(KD) || {}, r = e.validationBehavior ?? n ?? "native", i = oae({
+var pae = /*#__PURE__*/ (0, I.createContext)(null), mae = /*#__PURE__*/ (0, I.createContext)(null), Uk = /*#__PURE__*/ (0, I.createContext)(null), Wk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, pae);
+ let { validationBehavior: n } = WD(uO) || {}, r = e.validationBehavior ?? n ?? "native", i = fae({
...e,
validationBehavior: r
- }), [a, o] = OD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = gte({
+ }), [a, o] = KD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jte({
...e,
label: o,
validationBehavior: r
- }, i), f = TD({
+ }, i), f = UD({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -30847,8 +31213,8 @@ var sae = /*#__PURE__*/ (0, I.createContext)(null), cae = /*#__PURE__*/ (0, I.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(jD.div, {
+ }), p = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(YD.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -30857,39 +31223,39 @@ var sae = /*#__PURE__*/ (0, I.createContext)(null), cae = /*#__PURE__*/ (0, I.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [Tk, i],
- [zD, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [Uk, i],
+ [rO, {
...c,
ref: a,
elementType: "span"
}],
- [WD, { slots: {
+ [cO, { slots: {
description: l,
errorMessage: u
} }],
- [GD, d]
- ] }, /*#__PURE__*/ I.createElement(RO, null, f.children)));
-}), Dk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [lO, d]
+ ] }, /*#__PURE__*/ I.createElement(nk, null, f.children)));
+}), Gk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = DD(r, t, cae);
- let i = I.useContext(Tk), a = fh((0, I.useMemo)(() => qm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = hte({
- ...kD(e),
+ [e, t] = GD(r, t, mae);
+ let i = I.useContext(Uk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Ate({
+ ...qD(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ I.createElement(Ok.Provider, { value: {
+ return /*#__PURE__*/ I.createElement(Kk.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ I.createElement(lae, {
+ } }, /*#__PURE__*/ I.createElement(hae, {
...e,
ref: t
}));
-}), Ok = /*#__PURE__*/ (0, I.createContext)(null), lae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(Ok), l = I.useContext(Tk), { isFocused: u, isFocusVisible: d, focusProps: f } = py(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = _y({
+}), Kk = /*#__PURE__*/ (0, I.createContext)(null), hae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(Kk), l = I.useContext(Uk), { isFocused: u, isFocusVisible: d, focusProps: f } = wy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jy({
...e,
isDisabled: p
- }), g = TD({
+ }), g = UD({
...e,
defaultClassName: s,
values: {
@@ -30903,8 +31269,8 @@ var sae = /*#__PURE__*/ (0, I.createContext)(null), cae = /*#__PURE__*/ (0, I.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Sg(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(jD.label, {
+ }), _ = zg(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(YD.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -30916,19 +31282,19 @@ var sae = /*#__PURE__*/ (0, I.createContext)(null), cae = /*#__PURE__*/ (0, I.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(K_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(iv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function uae(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = nk(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function gae(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = bk(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = B_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = $_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -30940,12 +31306,12 @@ function uae(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = XO({
+ }, d = mk({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, I.useMemo)(() => dae(l), [l]),
+ selectedKeys: (0, I.useMemo)(() => _ae(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -30955,7 +31321,7 @@ function uae(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = A_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = W_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, I.useState)(!1), [_] = (0, I.useState)(l);
@@ -30982,16 +31348,16 @@ function uae(e) {
setFocused: g
};
}
-function dae(e) {
+function _ae(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 fae(e) {
+function vae(e) {
return e && e.__esModule ? e.default : e;
}
-var kk = /*#__PURE__*/ (0, I.createContext)(null), Ak = /*#__PURE__*/ (0, I.createContext)(null), pae = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, kk);
+var qk = /*#__PURE__*/ (0, I.createContext)(null), Jk = /*#__PURE__*/ (0, I.createContext)(null), yae = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, qk);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, I.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -31006,24 +31372,24 @@ var kk = /*#__PURE__*/ (0, I.createContext)(null), Ak = /*#__PURE__*/ (0, I.crea
i,
a
]);
- return /*#__PURE__*/ I.createElement(kh, { content: o }, (n) => /*#__PURE__*/ I.createElement(hae, {
+ return /*#__PURE__*/ I.createElement($h, { content: o }, (n) => /*#__PURE__*/ I.createElement(xae, {
props: e,
collection: n,
selectRef: t
}));
-}), mae = [
- zD,
- BD,
- WD
+}), bae = [
+ rO,
+ iO,
+ cO
];
-function hae({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = ED(KD) || {}, i = e.validationBehavior ?? r ?? "native", a = uae({
+function xae({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = WD(uO) || {}, i = e.validationBehavior ?? r ?? "native", a = gae({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = py({ within: !0 }), c = (0, I.useRef)(null), [l, u] = OD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = _te({
- ...kD(e),
+ }), { isFocusVisible: o, focusProps: s } = wy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = KD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Mte({
+ ...qD(e),
label: u,
validationBehavior: i
}, a, c), y = (0, I.useMemo)(() => ({
@@ -31040,48 +31406,48 @@ function hae({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = TD({
+ ]), b = UD({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = Sg(e, { global: !0 });
+ }), x = zg(e, { global: !0 });
delete x.id;
let S = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(wD, { values: [
- [kk, e],
- [Ak, a],
- [jk, p],
- [zD, {
+ return /*#__PURE__*/ I.createElement(HD, { values: [
+ [qk, e],
+ [Jk, a],
+ [Yk, p],
+ [rO, {
...d,
ref: l,
elementType: "span"
}],
- [BD, {
+ [iO, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [vk, a],
- [ok, {
+ [Ik, a],
+ [wk, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: mae
+ clearContexts: bae
}],
- [$O, {
+ [_k, {
...m,
ref: S
}],
- [ek, a],
- [WD, { slots: {
+ [vk, a],
+ [cO, { slots: {
description: h,
errorMessage: g
} }],
- [GD, v]
- ] }, /*#__PURE__*/ I.createElement(jD.div, {
+ [lO, v]
+ ] }, /*#__PURE__*/ I.createElement(YD.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -31091,14 +31457,14 @@ function hae({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ I.createElement(yte, {
+ }, b.children, /*#__PURE__*/ I.createElement(Pte, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, jk);
- let n = (0, I.useContext)(Ak), { placeholder: r } = ED(kk), i = n.selectedItems.map((e) => {
+for (var Yk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, Yk);
+ let n = (0, I.useContext)(Jk), { placeholder: r } = WD(qk), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -31110,7 +31476,7 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Hee(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Ty(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -31125,7 +31491,7 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
a,
o,
i
- ]), u = bg(fae(MO), "react-aria-components"), d = TD({
+ ]), u = Lg(vae(XO), "react-aria-components"), d = UD({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -31136,33 +31502,33 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(jD.span, {
+ }), f = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(YD.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ I.createElement(WD.Provider, { value: void 0 }, d.children));
-}), _ae = /*#__PURE__*/ (0, I.createContext)(null), Mk = /*#__PURE__*/ (0, I.createContext)(null), vae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ I.createElement(cO.Provider, { value: void 0 }, d.children));
+}), Cae = /*#__PURE__*/ (0, I.createContext)(null), Xk = /*#__PURE__*/ (0, I.createContext)(null), wae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = DD(r, t, _ae);
- let i = fh((0, I.useMemo)(() => qm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = V_(e), o = xte({
- ...kD(e),
+ [e, t] = GD(r, t, Cae);
+ let i = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ev(e), o = Ite({
+ ...qD(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ I.createElement(wD, { values: [[Mk, a], [Nk, {
+ return /*#__PURE__*/ I.createElement(HD, { values: [[Xk, a], [Zk, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ I.createElement(yae, {
+ }]] }, /*#__PURE__*/ I.createElement(Tae, {
...e,
ref: t
}));
-}), Nk = /*#__PURE__*/ (0, I.createContext)(null), yae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, I.useContext)(Nk), { isFocused: f, isFocusVisible: p, focusProps: m } = py(), h = a || o, g = (0, I.useContext)(Mk), { hoverProps: _, isHovered: v } = _y({
+}), Zk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, I.useContext)(Zk), { isFocused: f, isFocusVisible: p, focusProps: m } = wy(), h = a || o, g = (0, I.useContext)(Xk), { hoverProps: _, isHovered: v } = jy({
...e,
isDisabled: h
- }), y = TD({
+ }), y = UD({
...e,
defaultClassName: u,
values: {
@@ -31177,8 +31543,8 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
isRequired: d || !1,
state: g
}
- }), b = Sg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(jD.label, {
+ }), b = zg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(YD.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -31191,11 +31557,11 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ I.createElement(K_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(iv, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), Pk = 10, Fk = 5, bae = class {
+}), Qk = 10, $k = 5, Eae = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -31205,7 +31571,7 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > Fk && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Pk && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > $k && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Qk && (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);
@@ -31284,11 +31650,11 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > Fk && i) {
+ if (Math.abs(r - c.lastSwitchY) > $k && 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 > Pk && a) {
+ if (l > Qk && 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;
}
@@ -31303,7 +31669,7 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
boundaryContext: null
};
}
-}, xae = class {
+}, Dae = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -31373,8 +31739,8 @@ for (var jk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ yh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, Ik = "row-header-column-" + Math.random().toString(36).slice(2), Lk = "row-header-column-" + Math.random().toString(36).slice(2); Ik === Lk;) Lk = "row-header-column-" + Math.random().toString(36).slice(2);
-function Rk(e, t) {
+}, eA = "row-header-column-" + Math.random().toString(36).slice(2), tA = "row-header-column-" + Math.random().toString(36).slice(2); eA === tA;) tA = "row-header-column-" + Math.random().toString(36).slice(2);
+function nA(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -31458,13 +31824,13 @@ function Rk(e, t) {
textValue: ""
}));
}
-var Sae = class extends xae {
+var Oae = class extends Dae {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: Ik,
+ key: eA,
value: null,
textValue: "",
level: 0,
@@ -31479,7 +31845,7 @@ var Sae = class extends xae {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: Lk,
+ key: tA,
value: null,
textValue: "",
level: 0,
@@ -31506,7 +31872,7 @@ var Sae = class extends xae {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = Rk(s, a);
+ let l = nA(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -31532,10 +31898,10 @@ var Sae = class extends xae {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Qv(this.body.childNodes)?.key ?? null;
+ return cy(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return ey(this.body.childNodes)?.key ?? null;
+ return uy(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -31567,19 +31933,19 @@ var Sae = class extends xae {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Cae(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || WO(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function kae(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || ck(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = Zv(n, t);
- e = r === "last" ? ey(i)?.key ?? null : Qv(i)?.key ?? null;
+ let i = sy(n, t);
+ e = r === "last" ? uy(i)?.key ?? null : cy(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, I.useMemo)(() => new KO(t, r), [t, r]), s = (0, I.useRef)(null);
+ let o = (0, I.useMemo)(() => new uk(t, r), [t, r]), s = (0, I.useRef)(null);
return (0, I.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;
@@ -31599,7 +31965,7 @@ function Cae(e) {
}
}
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;
+ let i = u.hasChildNodes ? [...sy(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);
}
@@ -31618,11 +31984,11 @@ function Cae(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var wae = {
+var Aae = {
ascending: "descending",
descending: "ascending"
};
-function Tae(e) {
+function jae(e) {
let [t, n] = (0, I.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, I.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -31633,11 +31999,11 @@ function Tae(e) {
i,
r,
a
- ]), c = YO(e, (0, I.useCallback)((e) => new Sae(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Cae({
+ ]), c = pk(e, (0, I.useCallback)((e) => new Oae(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = kae({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -31649,7 +32015,7 @@ function Tae(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? wae[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Aae[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -31662,7 +32028,7 @@ function Tae(e) {
treeColumn: o
};
}
-function Eae(e, t) {
+function Mae(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -31672,7 +32038,7 @@ function Eae(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Dae = class extends Bf {
+var Nae = class extends lp {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -31687,7 +32053,7 @@ var Dae = class extends Bf {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new Gk(-2);
+ return new lA(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -31713,7 +32079,7 @@ var Dae = class extends Bf {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = Rk(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = nA(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;
@@ -31794,11 +32160,11 @@ var Dae = class extends Bf {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Hk(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new oA(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Oae = /*#__PURE__*/ (0, I.createContext)(null), kae = /*#__PURE__*/ (0, I.createContext)(null), zk = /*#__PURE__*/ (0, I.createContext)(null), Bk = /*#__PURE__*/ (0, I.createContext)(null), Aae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, kae);
- let n = WO(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
+}, Pae = /*#__PURE__*/ (0, I.createContext)(null), Fae = /*#__PURE__*/ (0, I.createContext)(null), rA = /*#__PURE__*/ (0, I.createContext)(null), iA = /*#__PURE__*/ (0, I.createContext)(null), Iae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, Fae);
+ let n = ck(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -31808,26 +32174,26 @@ var Dae = class extends Bf {
i,
a,
o
- ]), c = /*#__PURE__*/ I.createElement(Nae.Provider, { value: s }, /*#__PURE__*/ I.createElement(Vh, e));
- return /*#__PURE__*/ I.createElement(kh, {
+ ]), c = /*#__PURE__*/ I.createElement(zae.Provider, { value: s }, /*#__PURE__*/ I.createElement(ug, e));
+ return /*#__PURE__*/ I.createElement($h, {
content: c,
- createCollection: () => new Dae()
- }, (r) => /*#__PURE__*/ I.createElement(Mae, {
+ createCollection: () => new Nae()
+ }, (r) => /*#__PURE__*/ I.createElement(Rae, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), jae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}), Lae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.table, {
+ }) : /*#__PURE__*/ I.createElement(YD.table, {
...e,
ref: t
});
-}), Vk = {
+}), aA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -31837,26 +32203,26 @@ var Dae = class extends Bf {
rtl: "ArrowRight"
}
};
-function Mae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = DD(e, t, MD);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(Oae);
- t = fh((0, I.useMemo)(() => qm(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function Rae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = GD(e, t, XD);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(Pae);
+ t = Ih((0, I.useMemo)(() => _h(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, I.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Tae({
+ let d = jae({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Eae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(LD), { dragAndDropHooks: _ } = e, { gridProps: v } = Dte({
+ }), f = Mae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(tO), { dragAndDropHooks: _ } = e, { gridProps: v } = Hte({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, I.useRef)(b), (0, I.useRef)(x), (0, I.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ug(), [k] = (0, I.useState)(() => new bae());
+ let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = Eg(), [k] = (0, I.useState)(() => new Eae());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -31871,7 +32237,7 @@ function Mae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new iv({
+ let e = new vv({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -31891,12 +32257,12 @@ function Mae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === Vk.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === Vk.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === aA.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === aA.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = py(), N = TD({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = wy(), N = UD({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31912,19 +32278,19 @@ function Mae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(wD, { values: [
- [zk, f],
- [Bk, P],
- [NO, {
+ let ne = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(HD, { values: [
+ [rA, f],
+ [iA, P],
+ [ZO, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [PO, { render: Uae }],
- [MD, null],
- [ND, null]
- ] }, /*#__PURE__*/ I.createElement(Yg, null, /*#__PURE__*/ I.createElement(jae, {
+ [QO, { render: Yae }],
+ [XD, null],
+ [ZD, null]
+ ] }, /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(Lae, {
...H(ne, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -31934,55 +32300,55 @@ function Mae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ I.createElement(RO, null, /*#__PURE__*/ I.createElement(g, {
+ }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: IO(y, _, C)
+ persistedKeys: ek(y, _, C)
})))), E);
}
-var Nae = /*#__PURE__*/ (0, I.createContext)(null), Hk = class extends Ff {
+var zae = /*#__PURE__*/ (0, I.createContext)(null), oA = class extends ip {
static {
this.type = "tableheader";
}
-}, Pae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}, Bae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.thead, {
+ }) : /*#__PURE__*/ I.createElement(YD.thead, {
...e,
ref: t
});
-}), Uk = /*#__PURE__*/ Rh(Hk, (e, t) => {
- let n = (0, I.useContext)(zk).collection, r = Gf({
+}), sA = /*#__PURE__*/ sg(oA, (e, t) => {
+ let n = (0, I.useContext)(rA).collection, r = mp({
items: n.headerRows,
children: (0, I.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ I.createElement(Iae, { item: e });
+ case "headerrow": return /*#__PURE__*/ I.createElement(Hae, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = fS(), { hoverProps: a, isHovered: o } = _y({
+ }), { rowGroupProps: i } = kS(), { hoverProps: a, isHovered: o } = jy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = TD({
+ }), s = UD({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ I.createElement(Pae, {
- ...H(Sg(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ I.createElement(Bae, {
+ ...H(zg(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ I.createElement(Vh, {
+}, (e) => /*#__PURE__*/ I.createElement(ug, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Fae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
+}, e.children)), Vae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
return n ? /*#__PURE__*/ I.createElement("div", {
...e,
ref: t
@@ -31991,41 +32357,41 @@ var Nae = /*#__PURE__*/ (0, I.createContext)(null), Hk = class extends Ff {
ref: t
});
});
-function Iae({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(zk), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(LD), { rowProps: a } = jte({
+function Hae({ item: e }) {
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(rA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(tO), { rowProps: a } = SS({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Rte(n);
- return /*#__PURE__*/ I.createElement(Fae, {
+ }, n, t), { checkboxProps: o } = MS(n);
+ return /*#__PURE__*/ I.createElement(Vae, {
...a,
ref: t
- }, /*#__PURE__*/ I.createElement(wD, { values: [[qD, { slots: { selection: o } }], [JD, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [[dO, { slots: { selection: o } }], [fO, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Lae = class extends Ff {
+var Uae = class extends ip {
static {
this.type = "column";
}
-}, Rae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}, Wae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.th, {
+ }) : /*#__PURE__*/ I.createElement(YD.th, {
...e,
ref: t
});
-}), Wk = /*#__PURE__*/ Lh(Lae, (e, t, n) => {
- let r = fh(t), i = (0, I.useContext)(zk), { isVirtualized: a } = (0, I.useContext)(LD), { columnHeaderProps: o, isPressed: s } = Ate({
+}), cA = /*#__PURE__*/ og(Uae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(rA), { isVirtualized: a } = (0, I.useContext)(tO), { columnHeaderProps: o, isPressed: s } = xS({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = py(), d = (0, I.useContext)(Bk), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wy(), d = (0, I.useContext)(iA), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = _y({ isDisabled: !e.allowsSorting }), h = TD({
+ let { hoverProps: p, isHovered: m } = jy({ isDisabled: !e.allowsSorting }), h = UD({
...e,
id: void 0,
children: n.rendered,
@@ -32051,8 +32417,8 @@ var Lae = class extends Ff {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Sg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ I.createElement(Rae, {
+ let _ = zg(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ I.createElement(Wae, {
...H(_, o, u, p),
...h,
style: g,
@@ -32064,28 +32430,28 @@ var Lae = class extends Ff {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [[zae, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [[Gae, {
column: n,
triggerRef: r
- }], [LD, FD]] }, h.children));
-}), zae = /*#__PURE__*/ (0, I.createContext)(null), Gk = class extends If {
+ }], [tO, $D]] }, h.children));
+}), Gae = /*#__PURE__*/ (0, I.createContext)(null), lA = class extends ap {
static {
this.type = "tablebody";
}
-}, Bae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}, Kae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.tbody, {
+ }) : /*#__PURE__*/ I.createElement(YD.tbody, {
...e,
ref: t
});
-}), Kk = /*#__PURE__*/ Rh(Gk, (e, t, n) => {
- let r = (0, I.useContext)(zk), { isVirtualized: i } = (0, I.useContext)(LD), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(LD), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(NO), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), uA = /*#__PURE__*/ sg(lA, (e, t, n) => {
+ let r = (0, I.useContext)(rA), { isVirtualized: i } = (0, I.useContext)(tO), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(tO), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(ZO), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = TD({
+ }, p = UD({
...e,
id: void 0,
children: void 0,
@@ -32094,33 +32460,33 @@ var Lae = class extends Ff {
}), 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__*/ I.createElement(Jk, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ I.createElement(fA, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ I.createElement(Xk, {
+ }, /*#__PURE__*/ I.createElement(mA, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = fS(), _ = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Bae, {
+ let { rowGroupProps: g } = kS(), _ = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(Kae, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ I.createElement(Jae, null), /*#__PURE__*/ I.createElement(o, {
+ }, l && /*#__PURE__*/ I.createElement(eoe, null), /*#__PURE__*/ I.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: FO(s, c)
+ renderDropIndicator: $O(s, c)
}), m);
});
-(class extends If {
+(class extends ap {
static {
this.type = "tablefooter";
}
});
-var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Vae = class extends Ff {
+var dA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), qae = class extends ip {
static {
this.type = "item";
}
@@ -32132,31 +32498,31 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
}
return null;
}
-}, Jk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}, fA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.tr, {
+ }) : /*#__PURE__*/ I.createElement(YD.tr, {
...e,
ref: t
});
-}), Yk = /*#__PURE__*/ Rh(Vae, (e, t, n) => {
- let r = fh(t), i = (0, I.useContext)(zk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(NO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(LD), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Pte({
+}), pA = /*#__PURE__*/ sg(qae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(rA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(ZO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(tO), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ES({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = py(), { isFocusVisible: _, focusProps: v } = py({ within: !0 }), { hoverProps: y, isHovered: b } = _y({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = wy(), { isFocusVisible: _, focusProps: v } = wy({ within: !0 }), { hoverProps: y, isHovered: b } = jy({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Lte({ key: n.key }, i), S;
+ }), { checkboxProps: x } = jS({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = G_();
+ let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = rv();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -32166,7 +32532,7 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
(0, I.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = TD({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = UD({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -32187,11 +32553,11 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
isExpanded: j,
level: n.level + 1
}
- }), N = Sg(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(Jk, {
+ }), N = zg(e, { global: !0 });
+ return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(fA, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(Xk, {
+ }, /*#__PURE__*/ I.createElement(mA, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -32200,7 +32566,7 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ I.createElement(Jk, {
+ }))), /*#__PURE__*/ I.createElement(fA, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -32216,17 +32582,17 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [qD, { slots: {
- [CD]: {},
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [dO, { slots: {
+ [VD]: {},
selection: x
} }],
- [JD, { slots: {
- [CD]: {},
+ [fO, { slots: {
+ [VD]: {},
selection: x
} }],
- [BD, { slots: {
- [CD]: {},
+ [iO, { slots: {
+ [VD]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -32234,8 +32600,8 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
style: { pointerEvents: "none" }
}
} }],
- [zO, { isSelected: p.isSelected }],
- [qk, { isFocusVisibleWithinRow: _ }]
+ [rk, { isSelected: p.isSelected }],
+ [dA, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ I.createElement(l, {
collection: i.collection,
parent: n
@@ -32243,34 +32609,34 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ I.createElement(Vh, {
+ return /*#__PURE__*/ I.createElement(ug, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), Hae = class extends Ff {
+}), Jae = class extends ip {
static {
this.type = "cell";
}
-}, Xk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}, mA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.td, {
+ }) : /*#__PURE__*/ I.createElement(YD.td, {
...e,
ref: t
});
-}), Zk = /*#__PURE__*/ Lh(Hae, (e, t, n) => {
- let r = fh(t), i = (0, I.useContext)(zk), { dragState: a } = (0, I.useContext)(NO), { isVirtualized: o } = (0, I.useContext)(LD);
+}), hA = /*#__PURE__*/ og(Jae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(rA), { dragState: a } = (0, I.useContext)(ZO), { isVirtualized: o } = (0, I.useContext)(tO);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Ote({
+ let { gridCellProps: s, isPressed: c } = yS({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = py(), { hoverProps: f, isHovered: p } = _y({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(qk), 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 = TD({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wy(), { hoverProps: f, isHovered: p } = jy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(dA), 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 = UD({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -32289,8 +32655,8 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = Sg(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ I.createElement(Xk, {
+ }), S = zg(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ I.createElement(mA, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -32304,14 +32670,14 @@ var qk = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Va
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ I.createElement(LD.Provider, { value: FD }, x.children));
+ }, /*#__PURE__*/ I.createElement(tO.Provider, { value: $D }, x.children));
});
-function Uae(e, t) {
- t = fh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(NO), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function Yae(e, t) {
+ t = Ih(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(ZO), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ I.createElement(qae, {
+ return /*#__PURE__*/ I.createElement($ae, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -32320,40 +32686,40 @@ function Uae(e, t) {
ref: t
});
}
-var Wae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+var Xae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.tr, {
+ }) : /*#__PURE__*/ I.createElement(YD.tr, {
...e,
ref: t
});
-}), Gae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(LD);
- return n ? /*#__PURE__*/ I.createElement(jD.div, {
+}), Zae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(tO);
+ return n ? /*#__PURE__*/ I.createElement(YD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(jD.td, {
+ }) : /*#__PURE__*/ I.createElement(YD.td, {
...e,
ref: t
});
});
-function Kae(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(zk), { visuallyHiddenProps: c } = G_(), l = TD({
+function Qae(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(rA), { visuallyHiddenProps: c } = rv(), l = UD({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(Wae, {
- ...Sg(e, { global: !0 }),
+ return /*#__PURE__*/ I.createElement(Xae, {
+ ...zg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ I.createElement(Gae, {
+ }, /*#__PURE__*/ I.createElement(Zae, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -32364,14 +32730,14 @@ function Kae(e, t) {
ref: i
}), l.children));
}
-var qae = /*#__PURE__*/ (0, I.forwardRef)(Kae);
-function Jae() {
- let e = (0, I.useContext)(zk), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(NO), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = G_();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(Jk, {
+var $ae = /*#__PURE__*/ (0, I.forwardRef)(Qae);
+function eoe() {
+ let e = (0, I.useContext)(rA), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(ZO), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = rv();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(fA, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(Xk, {
+ }, /*#__PURE__*/ I.createElement(mA, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -32382,9 +32748,9 @@ function Jae() {
ref: r
})));
}
-Lh(Lf, function(e, t, n) {
- let r = (0, I.useContext)(zk), { isVirtualized: i } = (0, I.useContext)(LD), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
- QO((0, I.useMemo)(() => ({
+og(op, function(e, t, n) {
+ let r = (0, I.useContext)(rA), { isVirtualized: i } = (0, I.useContext)(tO), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
+ gk((0, I.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -32394,7 +32760,7 @@ Lh(Lf, function(e, t, n) {
s,
r?.collection
]), u);
- let d = TD({
+ let d = UD({
...c,
id: void 0,
children: n.rendered,
@@ -32402,10 +32768,10 @@ Lh(Lf, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(Jk, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(fA, {
style: { height: 0 },
- inert: VO(!0)
- }, /*#__PURE__*/ I.createElement(Xk, { style: {
+ inert: ak(!0)
+ }, /*#__PURE__*/ I.createElement(mA, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ I.createElement("div", {
@@ -32416,14 +32782,14 @@ Lh(Lf, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ I.createElement(Jk, {
- ...H(Sg(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ I.createElement(fA, {
+ ...H(zg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(Xk, {
+ }, /*#__PURE__*/ I.createElement(mA, {
role: "rowheader",
...p,
style: m
@@ -32431,8 +32797,8 @@ Lh(Lf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Yae(e) {
- let [t, n] = B_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = XO({
+function toe(e) {
+ let [t, n] = $_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = mk({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -32455,24 +32821,24 @@ function Yae(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Xae(e) {
- let t = Yae({
+function noe(e) {
+ let t = toe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? Qk(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? gA(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = Qk(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = gA(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 Qk(e, t) {
+function gA(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);
@@ -32482,24 +32848,24 @@ function Qk(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var $k = /*#__PURE__*/ (0, I.createContext)(null), eA = /*#__PURE__*/ (0, I.createContext)(null), tA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = DD(e, t, $k);
+var _A = /*#__PURE__*/ (0, I.createContext)(null), vA = /*#__PURE__*/ (0, I.createContext)(null), yA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = GD(e, t, _A);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, I.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ I.createElement(kh, { content: n }, (n) => /*#__PURE__*/ I.createElement(Zae, {
+ }) : n, [n, r]), /*#__PURE__*/ I.createElement($h, { content: n }, (n) => /*#__PURE__*/ I.createElement(roe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Zae({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Xae({
+function roe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = noe({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = py({ within: !0 }), c = (0, I.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = wy({ within: !0 }), c = (0, I.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -32507,12 +32873,12 @@ function Zae({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = TD({
+ ]), l = UD({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Sg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(jD.div, {
+ }), u = zg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(YD.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -32520,20 +32886,20 @@ function Zae({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [[$k, e], [eA, i]] }, l.children));
+ }, /*#__PURE__*/ I.createElement(HD, { values: [[_A, e], [vA, i]] }, l.children));
}
-var nA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return (0, I.useContext)(eA) ? /*#__PURE__*/ I.createElement(Qae, {
+var bA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return (0, I.useContext)(vA) ? /*#__PURE__*/ I.createElement(ioe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ I.createElement(Vh, e);
+ }) : /*#__PURE__*/ I.createElement(ug, e);
});
-function Qae({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(eA), { CollectionRoot: r } = (0, I.useContext)(LD), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = ED($k), o = fh(t), { tabListProps: s } = _S({
+function ioe({ props: e, forwardedRef: t }) {
+ let n = (0, I.useContext)(vA), { CollectionRoot: r } = (0, I.useContext)(tO), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = WD(_A), o = Ih(t), { tabListProps: s } = LS({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = TD({
+ }, n, o), c = UD({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -32541,30 +32907,30 @@ function Qae({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Sg(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ I.createElement(jD.div, {
+ }), l = zg(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ I.createElement(YD.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ I.createElement(RO, null, /*#__PURE__*/ I.createElement(r, {
+ }, /*#__PURE__*/ I.createElement(nk, null, /*#__PURE__*/ I.createElement(r, {
collection: n.collection,
- persistedKeys: RD(n.selectionManager.focusedKey)
+ persistedKeys: nO(n.selectionManager.focusedKey)
})));
}
-var rA = /*#__PURE__*/ Lh(class extends Ff {
+var xA = /*#__PURE__*/ og(class extends ip {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(eA), i = fh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = hS({
+ let r = (0, I.useContext)(vA), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = FS({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = py(), { hoverProps: f, isHovered: p } = _y({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wy(), { hoverProps: f, isHovered: p } = jy({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = TD({
+ }), m = UD({
...e,
id: void 0,
children: n.rendered,
@@ -32577,7 +32943,7 @@ var rA = /*#__PURE__*/ Lh(class extends Ff {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? jD.a : jD.div, g = Sg(e, { global: !0 });
+ }), h = n.props.href ? YD.a : YD.div, g = zg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ I.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -32587,58 +32953,58 @@ var rA = /*#__PURE__*/ Lh(class extends Ff {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ I.createElement(zO.Provider, { value: { isSelected: o } }, m.children));
-}), iA = /*#__PURE__*/ yh(function(e, t) {
- let n = (0, I.useContext)(eA), r = fh(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ I.createElement(rk.Provider, { value: { isSelected: o } }, m.children));
+}), SA = /*#__PURE__*/ Uh(function(e, t) {
+ let n = (0, I.useContext)(vA), r = Ih(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = ik(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement($ae, {
+ let s = Sk(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(aoe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function $ae(e) {
- let t = (0, I.useContext)(eA), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = vS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = py(), d = t.selectedKey === e.id, f = rk(r) && !i, p = TD({
+function aoe(e) {
+ let t = (0, I.useContext)(vA), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = RS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wy(), d = t.selectedKey === e.id, f = xk(r) && !i, p = UD({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: VO(!d),
+ isInert: ak(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Sg(o, { global: !0 });
+ }), m = zg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ I.createElement(jD.div, {
+ return /*#__PURE__*/ I.createElement(YD.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: VO(!d || e.inert),
+ inert: ak(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [[$k, null], [eA, null]] }, /*#__PURE__*/ I.createElement(LD.Provider, { value: FD }, p.children)));
+ }, /*#__PURE__*/ I.createElement(HD, { values: [[_A, null], [vA, null]] }, /*#__PURE__*/ I.createElement(tO.Provider, { value: $D }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var eoe = /*#__PURE__*/ (0, I.createContext)({}), toe = /*#__PURE__*/ (0, I.createContext)(null), noe = /*#__PURE__*/ yh(function(e, t) {
- [e, t] = DD(e, t, toe);
- let { validationBehavior: n } = ED(KD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
- [e, i] = DD(e, i, ND);
- let [a, o] = OD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = q_({
- ...kD(e),
+var ooe = /*#__PURE__*/ (0, I.createContext)({}), soe = /*#__PURE__*/ (0, I.createContext)(null), coe = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = GD(e, t, soe);
+ let { validationBehavior: n } = WD(uO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
+ [e, i] = GD(e, i, ZD);
+ let [a, o] = KD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Wee({
+ ...qD(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, I.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = TD({
+ }, [i]), h = UD({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -32647,8 +33013,8 @@ var eoe = /*#__PURE__*/ (0, I.createContext)({}), toe = /*#__PURE__*/ (0, I.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Sg(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ I.createElement(jD.div, {
+ }), g = zg(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ I.createElement(YD.div, {
...g,
...h,
ref: t,
@@ -32657,31 +33023,110 @@ var eoe = /*#__PURE__*/ (0, I.createContext)({}), toe = /*#__PURE__*/ (0, I.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(wD, { values: [
- [zD, {
+ }, /*#__PURE__*/ I.createElement(HD, { values: [
+ [rO, {
...l,
ref: a
}],
- [ZD, {
+ [hO, {
...u,
ref: m
}],
- [eoe, {
+ [ooe, {
...u,
ref: m
}],
- [XD, {
+ [mO, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [WD, { slots: {
+ [cO, { slots: {
description: d,
errorMessage: f
} }],
- [GD, p]
+ [lO, p]
] }, h.children));
-}), aA = ZC({
+}), loe = {
+ selection: {
+ type: oi,
+ duration: .16,
+ bounce: 0
+ },
+ hover: {
+ type: oi,
+ duration: .08,
+ bounce: 0
+ }
+};
+function CA(e) {
+ let [t, n] = (0, I.useState)(null);
+ return (0, I.useLayoutEffect)(() => {
+ if (!t) return;
+ let n = document.createElement("span");
+ n.setAttribute("aria-hidden", "true"), n.dataset.movingSurface = e, n.hidden = !0, t.prepend(n), t.dataset.surfaceHost = e;
+ let r = matchMedia("(prefers-reduced-motion: reduce)"), i = matchMedia("(hover: hover) and (pointer: fine)"), a = !1, o = null, s = null, c = "", l, u = e === "selection" ? "[role=\"tab\"],label[data-rac]" : "[role=\"option\"],button", d = () => [...t.querySelectorAll(u)].filter((e) => e.getBoundingClientRect().width > 0), f = () => {
+ l?.cancel(), n.hidden = !0, s = null, c = "", delete t.dataset.surfaceReady;
+ }, p = (u = !1) => {
+ let p = d(), m = p.find((e) => e.hasAttribute("data-selected") || e.getAttribute("aria-selected") === "true"), h = e === "selection" ? m : o;
+ if (!h || !t.contains(h) || !p.includes(h) || e === "hover" && (!i.matches || !a || p.length > 8 || h.matches(":disabled,[aria-disabled=\"true\"],[data-disabled]"))) {
+ f();
+ return;
+ }
+ let g = h.getBoundingClientRect(), _ = t.getBoundingClientRect(), v = _.width / t.offsetWidth || 1, y = _.height / t.offsetHeight || 1, b = (g.left - _.left) / v + t.scrollLeft - t.clientLeft, x = (g.top - _.top) / y + t.scrollTop - t.clientTop, S = g.width / v, C = g.height / y, w = `${b},${x},${S},${C}`;
+ if (a && i.matches && !r.matches && s === h && c === w) return;
+ let T = n.hidden ? null : n.getBoundingClientRect();
+ l?.cancel(), n.hidden = !1, n.style.width = `${S}px`, n.style.height = `${C}px`;
+ let E = `translate(${b}px, ${x}px) scale(1, 1)`;
+ if (u && a && !r.matches && T && s !== h) {
+ let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
+ l = np(n, { transform: [r, E] }, loe[e]);
+ } else n.style.transform = E;
+ s = h, c = w, t.dataset.surfaceReady = "";
+ }, m = (t) => {
+ if (a = t.pointerType === "mouse" && i.matches, e === "hover") {
+ let e = t.target instanceof Element ? t.target.closest(u) : null;
+ if (e === o && a) return;
+ o = e, p(!0);
+ }
+ }, h = () => {
+ a = !1, e === "hover" ? f() : p();
+ }, g = () => {
+ o = null, e === "hover" && f();
+ }, _ = () => p(), v = new MutationObserver(() => p(!0)), y = new ResizeObserver(_), b = () => {
+ y.disconnect(), y.observe(t), d().forEach((e) => y.observe(e));
+ }, x = new MutationObserver(() => {
+ b(), p();
+ });
+ return v.observe(t, {
+ subtree: !0,
+ attributes: !0,
+ attributeFilter: [
+ "data-selected",
+ "aria-selected",
+ "data-disabled",
+ "aria-disabled"
+ ]
+ }), x.observe(t, {
+ childList: !0,
+ subtree: !0
+ }), b(), p(), t.addEventListener("pointerdown", m, !0), t.addEventListener("pointermove", m), t.addEventListener("pointerleave", g), t.addEventListener("keydown", h, !0), t.addEventListener("scroll", _, !0), r.addEventListener("change", _), i.addEventListener("change", _), () => {
+ l?.cancel(), v.disconnect(), x.disconnect(), y.disconnect(), t.removeEventListener("pointerdown", m, !0), t.removeEventListener("pointermove", m), t.removeEventListener("pointerleave", g), t.removeEventListener("keydown", h, !0), t.removeEventListener("scroll", _, !0), r.removeEventListener("change", _), i.removeEventListener("change", _), n.remove(), delete t.dataset.surfaceHost, delete t.dataset.surfaceReady;
+ };
+ }, [t, e]), n;
+}
+//#endregion
+//#region src/react/components/menu-dialog.tsx
+function wA(e) {
+ let t = CA("hover");
+ return /* @__PURE__ */ (0, L.jsx)(Lk, {
+ ...e,
+ ref: t
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/buttons/link-button.tsx
+var TA = cw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -32705,15 +33150,15 @@ var eoe = /*#__PURE__*/ (0, I.createContext)({}), toe = /*#__PURE__*/ (0, I.crea
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function oA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = XC(aA.base, aA.size[t], aA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+function EA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = sw(TA.base, TA.size[t], TA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: aA.icon[t],
+ className: TA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, L.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: aA.icon[t],
+ className: TA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -32740,7 +33185,7 @@ function oA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var sA = [
+var DA = [
"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",
@@ -32748,74 +33193,74 @@ var sA = [
"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(" "), roe = "w-[266px]", ioe = "flex w-full flex-col gap-1 outline-none", cA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), lA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), uoe = "w-[266px]", doe = "flex w-full flex-col gap-1 outline-none", OA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), kA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var aoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", ooe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", soe = aw({
+var foe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", poe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", moe = gw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), coe = {
+}), hoe = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, loe = {
+}, goe = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, uoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", doe = {
+}, AA = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", jA = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, foe = aw({
+}, MA = gw({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), uA = "border-t border-border-button-default p-4 first:border-t-0";
-function dA({ tone: e = "neutral", status: t, children: n }) {
+}), NA = "border-t border-border-button-default p-4 first:border-t-0";
+function PA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${uoe} ${doe[e]}`,
+ className: `${AA} ${jA[e]}`,
children: [t ? /* @__PURE__ */ (0, L.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function fA({ id: e, children: t }) {
+function FA({ id: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function pA({ id: e, gap: t = "none", children: n }) {
+function IA({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function mA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function LA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${soe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${moe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: coe[e],
+ className: hoe[e],
children: a
}), i ? /* @__PURE__ */ (0, L.jsx)("footer", {
- className: loe[e],
+ className: goe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function hA() {
+function RA() {
let e = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
h(e.current);
@@ -32823,7 +33268,7 @@ function hA() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var gA = ZC({
+var zA = cw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -32844,21 +33289,21 @@ var gA = ZC({
small: "size-4 shrink-0"
}
});
-function _A({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function BA({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: XC(gA.base, gA.size[t], n),
+ className: sw(zA.base, zA.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
- className: gA.icon[t],
+ className: zA.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function poe({ className: e }) {
+function VA({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32871,8 +33316,8 @@ function poe({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-open" })
});
}
-var moe = "打开文件管理器失败,请重试";
-function vA({ path: e, prefix: t, className: n, onRevealed: r }) {
+var HA = "打开文件管理器失败,请重试";
+function UA({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(""), c = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
c.current = !1;
@@ -32883,7 +33328,7 @@ function vA({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof nw ? e.message : moe);
+ c.current && s(e instanceof pw ? e.message : HA);
} finally {
c.current && a(!1);
}
@@ -32894,10 +33339,10 @@ function vA({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("p", {
- className: XC("min-w-0 break-all", n),
+ className: sw("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, L.jsx)(_A, {
- icon: poe,
+ }), /* @__PURE__ */ (0, L.jsx)(BA, {
+ icon: VA,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -32912,21 +33357,21 @@ function vA({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function yA({ className: e, children: t }) {
+function WA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: XC("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: sw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function bA({ className: e, children: t }) {
+function GA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
- className: XC("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: sw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function xA({ label: e, description: t, children: n }) {
+function KA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: XC("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: sw("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
@@ -32941,14 +33386,14 @@ function xA({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function SA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function qA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(bA, { children: e })
+ children: /* @__PURE__ */ (0, L.jsx)(GA, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, L.jsx)(bA, { children: e }), /* @__PURE__ */ (0, L.jsx)(yA, { children: i })] });
+ }) : /* @__PURE__ */ (0, L.jsx)(GA, { children: e }), /* @__PURE__ */ (0, L.jsx)(WA, { children: i })] });
return r ? /* @__PURE__ */ (0, L.jsx)("form", {
id: t,
"aria-label": e,
@@ -32963,13 +33408,13 @@ function SA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function CA({ children: e }) {
+function JA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function wA({ divided: e = !1, children: t }) {
+function YA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -32978,7 +33423,7 @@ function wA({ divided: e = !1, children: t }) {
children: t
});
}
-function TA({ status: e, children: t }) {
+function XA({ status: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -32987,43 +33432,43 @@ function TA({ status: e, children: t }) {
}) : null, t]
});
}
-function EA({ role: e, children: t }) {
+function ZA({ role: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function DA({ children: e }) {
+function QA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function OA({ children: e }) {
+function $A({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function kA({ href: e, children: t }) {
- return /* @__PURE__ */ (0, L.jsx)(oA, {
+function ej({ href: e, children: t }) {
+ return /* @__PURE__ */ (0, L.jsx)(EA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: LS,
+ trailingIcon: rC,
children: t
});
}
-function AA({ children: e }) {
+function tj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function jA({ term: e, children: t }) {
+function nj({ term: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
@@ -33035,7 +33480,7 @@ function jA({ term: e, children: t }) {
})]
});
}
-function MA({ summary: e, defaultOpen: t = !1, children: n }) {
+function rj({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, I.useId)(), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(t);
return /* @__PURE__ */ (0, L.jsxs)("details", {
ref: (e) => {
@@ -33048,7 +33493,7 @@ function MA({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (O(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, L.jsx)(DS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(qS, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33063,7 +33508,7 @@ function MA({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function NA({ name: e }) {
+function ij({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33072,29 +33517,29 @@ function NA({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function PA({ mark: e }) {
+function aj({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, L.jsx)(NA, { name: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(ij, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function FA({ toast: e, mode: t, monitor: n }) {
+function oj({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ft({
- queryKey: TT,
- queryFn: ({ signal: e }) => ET(e),
- refetchInterval: (e) => jT(e.state.data, r)
+ queryKey: YT,
+ queryFn: ({ signal: e }) => XT(e),
+ refetchInterval: (e) => tE(e.state.data, r)
}), [a, o] = (0, I.useState)(null), s = (0, I.useRef)(void 0), c = i.data;
return (0, I.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && zT(c, e, r);
+ r && o(c), (r || t === "notice") && lE(c, e, r);
}, [
c,
t,
@@ -33107,29 +33552,29 @@ function FA({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var IA = [
+var sj = [
{
label: "扫描并补全资料",
- icon: PS,
+ icon: eC,
command: {}
},
{
label: "只扫描",
- icon: VS,
+ icon: sC,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: BS,
+ icon: oC,
command: { stage: "collect" }
}
-], LA = XC(cA, lA, "text-body-2-medium"), RA = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", zA = (e) => {
+], cj = sw(OA, kA, "text-body-2-medium"), lj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", uj = (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(",")}。`;
-}, BA = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + zA(e);
-function VA({ busy: e, onRun: t }) {
+}, dj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + uj(e);
+function fj({ busy: e, onRun: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -33138,14 +33583,14 @@ function VA({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: PS,
+ leadingIcon: eC,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: TS,
+ leadingIcon: GS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33154,19 +33599,19 @@ function VA({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: sA,
- children: /* @__PURE__ */ (0, L.jsx)(yk, {
+ className: DA,
+ children: /* @__PURE__ */ (0, L.jsx)(wA, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: IA.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
+ children: sj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: LA,
+ className: cj,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
@@ -33176,8 +33621,8 @@ function VA({ busy: e, onRun: t }) {
})
})] });
}
-function HA({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = IT(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = PT(e.notes || {}), c = hA();
+function pj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = oE(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = iE(e.notes || {}), c = RA();
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33185,7 +33630,7 @@ function HA({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: RA
+ children: lj
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33197,7 +33642,7 @@ function HA({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, L.jsxs)(MA, {
+ children: /* @__PURE__ */ (0, L.jsxs)(rj, {
summary: a.label,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -33228,7 +33673,7 @@ function HA({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(vA, {
+ children: /* @__PURE__ */ (0, L.jsx)(UA, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33242,13 +33687,13 @@ function HA({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "处理完成",
- children: BA(n)
+ children: dj(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(vA, {
+ children: /* @__PURE__ */ (0, L.jsx)(UA, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33260,38 +33705,38 @@ function HA({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function UA(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = FA(e), o = It({
- mutationFn: (e) => q(wT, e),
+function mj(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = oj(e), o = It({
+ mutationFn: (e) => q(JT, e),
onSuccess: (e) => {
- a(), X.setQueryData(TT, e), X.invalidateQueries({ queryKey: TT });
+ a(), X.setQueryData(YT, e), X.invalidateQueries({ queryKey: YT });
}
});
(0, I.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? AT : K(r.error) : "", l = o.isPending || s.status === "running", u = FT(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? eE : K(r.error) : "", l = o.isPending || s.status === "running", u = aE(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(mA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(LA, {
layout: "split",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(oA, {
+ /* @__PURE__ */ (0, L.jsx)(EA, {
href: "/scraping",
size: "small",
- trailingIcon: ES,
+ trailingIcon: KS,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, L.jsx)(oA, {
+ s.candidates ? /* @__PURE__ */ (0, L.jsx)(EA, {
href: "/review",
size: "small",
- trailingIcon: ES,
+ trailingIcon: KS,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(fj, {
busy: l,
onRun: d
})
@@ -33299,14 +33744,14 @@ function UA(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(pA, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, L.jsx)(IA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: aoe
+ children: foe
}),
s.status === "running" ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-1.5",
- children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: u,
value: s.checked || 0,
max: s.total
@@ -33320,11 +33765,11 @@ function UA(e) {
s.total,
" 个视频"
]
- })] }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: u })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: u })
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(HA, {
+ }), /* @__PURE__ */ (0, L.jsx)(pj, {
state: s,
problem: c,
settled: i,
@@ -33340,7 +33785,7 @@ function UA(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function WA(e) {
+function hj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33354,7 +33799,7 @@ function WA(e) {
})
});
}
-function GA(e) {
+function gj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -33368,7 +33813,7 @@ function GA(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function KA(e, t, n) {
+function _j(e, t, n) {
(0, I.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -33382,7 +33827,7 @@ function KA(e, t, n) {
n
]);
}
-function qA(e, t) {
+function vj(e, t) {
let n = (0, I.useRef)(!1);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -33396,33 +33841,33 @@ function qA(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var JA = (0, I.createContext)("md");
-function YA({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var yj = (0, I.createContext)("md");
+function bj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, I.useRef)(null), u = (0, I.useRef)(null), [d, f] = (0, I.useState)(!1);
- KA(d, () => f(!1), [l, u]);
- let p = qA(d, l);
- return /* @__PURE__ */ (0, L.jsx)(pae, {
+ _j(d, () => f(!1), [l, u]);
+ let p = vj(d, l);
+ return /* @__PURE__ */ (0, L.jsx)(yae, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: XC("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(VD, {
+ className: sw("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(aO, {
ref: l,
- className: XC("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, L.jsx)(gae, {
- className: XC("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: sw("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, L.jsx)(Sae, {
+ className: sw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(WA, { className: XC("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(hj, { className: sw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
ref: u,
isNonModal: !0,
offset: 4,
- className: XC(roe, sA, "p-2", n),
- children: /* @__PURE__ */ (0, L.jsx)(Pie, {
+ className: sw(uoe, DA, "p-2", n),
+ children: /* @__PURE__ */ (0, L.jsx)(Bie, {
items: a,
- className: XC(ioe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, L.jsx)(JA.Provider, {
+ className: sw(doe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, L.jsx)(yj.Provider, {
value: r,
children: i
})
@@ -33430,19 +33875,19 @@ function YA({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function XA({ className: e, children: t, ...n }) {
- let r = (0, I.useContext)(JA);
- return /* @__PURE__ */ (0, L.jsx)(Lie, {
+function xj({ className: e, children: t, ...n }) {
+ let r = (0, I.useContext)(yj);
+ return /* @__PURE__ */ (0, L.jsx)(Uie, {
...n,
- className: (t) => XC(cA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => sw(OA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var ZA = 2e3, QA = (e) => e, $A = (e, t) => t;
-function ej(e) {
- let { queryKey: t, jobOf: n = QA, withJob: r = $A, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
+var Sj = 2e3, Cj = (e) => e, wj = (e, t) => t;
+function Tj(e) {
+ let { queryKey: t, jobOf: n = Cj, withJob: r = wj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
(0, I.useEffect)(() => {
l.current = e;
});
@@ -33451,7 +33896,7 @@ function ej(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? ZA : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? Sj : i ?? !1;
}
}), d = It({
mutationFn: (e) => l.current.start(e),
@@ -33482,32 +33927,32 @@ function ej(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var tj = (e) => m[e] || e, nj = (e) => X.setQueryData(VT, e);
-function rj() {
+var Ej = (e) => m[e] || e, Dj = (e) => X.setQueryData(dE, e);
+function Oj() {
let e = Ft({
- queryKey: VT,
- queryFn: ({ signal: e }) => WT(e),
- refetchInterval: (e) => e.state.data?.status === "running" && ZA
+ queryKey: dE,
+ queryFn: ({ signal: e }) => mE(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && Sj
}), t = Ft({
- queryKey: HT,
- queryFn: ({ signal: e }) => GT(e)
- }), [n, r] = (0, I.useState)(""), i = dw(), a = e.data ?? UT, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryKey: fE,
+ queryFn: ({ signal: e }) => hE(e)
+ }), [n, r] = (0, I.useState)(""), i = Sw(), a = e.data ?? pE, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && g({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => nj(await q(BT, {
+ onConfirm: async () => Dj(await q(uE, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => q(BT, { stop: !0 }, "POST", e), nj), d = JT(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => q(uE, { stop: !0 }, "POST", e), Dj), d = vE(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(mA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(LA, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(YA, {
+ footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -33515,10 +33960,10 @@ function rj() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(XA, {
+ children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(xj, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(PA, { mark: tj(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: Ej(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: u,
@@ -33532,12 +33977,12 @@ function rj() {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(pA, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, L.jsx)(IA, { children: "媒体修复" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ooe
+ children: poe
}),
- s && a.total ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ s && a.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -33561,7 +34006,7 @@ function rj() {
f && a.missing_tool ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: YT(a)
+ children: yE(a)
}) : null,
p ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33573,7 +34018,7 @@ function rj() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var ij = {
+var kj = {
md: {
box: "size-4",
glyph: "size-4",
@@ -33587,11 +34032,11 @@ var ij = {
gap: "gap-1.5"
}
};
-function aj({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = ij[t], c = n || r, l = o && !a;
+function Aj({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = kj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: XC("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? XC("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : XC("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: sw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? sw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : sw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33615,36 +34060,36 @@ function aj({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function oj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = ij[n];
- return /* @__PURE__ */ (0, L.jsx)(Sie, {
+function jj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = kj[n];
+ return /* @__PURE__ */ (0, L.jsx)(Oie, {
ref: r,
...i,
- className: (t) => XC("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(aj, {
+ className: (t) => sw("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Aj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: XC(a.label, "text-text-primary"),
+ className: sw(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function sj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function Mj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: XC("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, L.jsx)(Aae, {
+ className: sw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, L.jsx)(Iae, {
ref: r,
...i,
- className: XC("bui-table", e === "sm" && "bui-table-sm", t)
+ className: sw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var cj = [
+var Nj = [
"a",
"button",
"input",
@@ -33657,15 +34102,15 @@ var cj = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function lj(e, t) {
+function Pj(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(cj);
+ let r = n.closest(Nj);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function uj({ children: e, follow: t = !1, onRowClick: n }) {
+function Fj({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -33673,15 +34118,15 @@ function uj({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && lj(e, r) && n(r.dataset.key);
+ r && Pj(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var dj = Vw("unlink"), fj = Vw("rotate-cw"), pj = "站点返回 404 或 410,确认这个地址不存在。", mj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", hj = "删除前会逐条重验一次;此操作不可撤销。", gj = "暂时无法读取进度,正在重新连接…", _j = (e) => Number(e || 0).toLocaleString();
-function vj({ label: e, value: t, note: n }) {
+var Ij = lT("unlink"), Lj = lT("rotate-cw"), Rj = "站点返回 404 或 410,确认这个地址不存在。", zj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Bj = "删除前会逐条重验一次;此操作不可撤销。", Vj = "暂时无法读取进度,正在重新连接…", Hj = (e) => Number(e || 0).toLocaleString();
+function Uj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -33700,11 +34145,11 @@ function vj({ label: e, value: t, note: n }) {
]
});
}
-function yj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function Wj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: uA,
+ className: NA,
children: [
/* @__PURE__ */ (0, L.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -33717,13 +34162,13 @@ function yj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, L.jsx)(uj, { children: /* @__PURE__ */ (0, L.jsxs)(sj, {
+ /* @__PURE__ */ (0, L.jsx)(Fj, { children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(Uk, { children: [
- i ? /* @__PURE__ */ (0, L.jsx)(Wk, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(sA, { children: [
+ i ? /* @__PURE__ */ (0, L.jsx)(cA, {
id: "pick",
- children: /* @__PURE__ */ (0, L.jsx)(oj, {
+ children: /* @__PURE__ */ (0, L.jsx)(jj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -33731,44 +34176,44 @@ function yj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(Kk, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(Yk, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(uA, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(pA, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)(oj, {
+ i ? /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(jj, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: e.entity }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: WE[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: e.label || "" }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: e.entity }),
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: cD[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: e.label || "" }),
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -33778,7 +34223,7 @@ function yj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, L.jsx)(LS, {
+ }), /* @__PURE__ */ (0, L.jsx)(rC, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -33790,40 +34235,40 @@ function yj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function bj({ line: e, value: t, total: n }) {
+function Gj({ line: e, value: t, total: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: `${uA} flex flex-col gap-1.5`,
- children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ className: `${NA} flex flex-col gap-1.5`,
+ children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: e,
value: t || 0,
max: n
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: e })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: e })
});
}
-function xj() {
+function Kj() {
let e = Ft({
- queryKey: VE,
- queryFn: ({ signal: e }) => KE(e)
- }), [t, n] = (0, I.useState)([]), r = ej({
- queryKey: UE,
- queryFn: ({ signal: e }) => JE(e),
- start: jre,
+ queryKey: aD,
+ queryFn: ({ signal: e }) => uD(e)
+ }), [t, n] = (0, I.useState)([]), r = Tj({
+ queryKey: sD,
+ queryFn: ({ signal: e }) => fD(e),
+ start: Lre,
onFinish: () => {
X.invalidateQueries({
- queryKey: VE,
+ queryKey: aD,
exact: !0
}), X.invalidateQueries({
- queryKey: HE,
+ queryKey: oD,
exact: !0
});
}
- }), i = ej({
- queryKey: HE,
- queryFn: ({ signal: e }) => qE(e),
- start: Are,
+ }), i = Tj({
+ queryKey: oD,
+ queryFn: ({ signal: e }) => dD(e),
+ start: Ire,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -33853,7 +34298,7 @@ function xj() {
else if (v) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "完成",
- children: Mre(v)
+ children: Rre(v)
});
else if (y) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33863,7 +34308,7 @@ function xj() {
else if (i.query.isError && a) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: gj
+ children: Vj
});
else if (a?.status === "failed") b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33873,48 +34318,48 @@ function xj() {
else if (a && a.status !== "idle") {
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
b = /* @__PURE__ */ (0, L.jsxs)("div", {
- className: foe,
+ className: MA,
children: [
- a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(bj, {
- line: Nre(a),
+ a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(Gj, {
+ line: zre(a),
value: a.checked,
total: a.total
}) : null,
- c ? /* @__PURE__ */ (0, L.jsx)(bj, {
+ c ? /* @__PURE__ */ (0, L.jsx)(Gj, {
line: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
total: r.job?.total
}) : null,
- /* @__PURE__ */ (0, L.jsx)(yj, {
+ /* @__PURE__ */ (0, L.jsx)(Wj, {
title: "地址已失效",
items: u,
- hint: pj
+ hint: Rj
}),
- /* @__PURE__ */ (0, L.jsx)(yj, {
+ /* @__PURE__ */ (0, L.jsx)(Wj, {
title: "本次未访问成功",
items: d,
- hint: mj,
+ hint: zj,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, L.jsxs)(dA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: fj,
+ children: /* @__PURE__ */ (0, L.jsxs)(PA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ leadingIcon: Lj,
disabled: !t.length,
...Y(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: fj,
+ leadingIcon: Lj,
...Y(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, L.jsx)(dA, {
+ l && u.length ? /* @__PURE__ */ (0, L.jsx)(PA, {
tone: "error",
- status: hj,
+ status: Bj,
children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "danger",
...Y(c),
@@ -33923,7 +34368,7 @@ function xj() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, L.jsx)("p", {
- className: `${uA} text-body-regular text-notification-success-foreground`,
+ className: `${NA} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -33934,20 +34379,20 @@ function xj() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(fA, {
+ /* @__PURE__ */ (0, L.jsx)(FA, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, L.jsxs)(mA, {
+ /* @__PURE__ */ (0, L.jsxs)(LA, {
layout: "split",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: dj,
+ leadingIcon: Ij,
...Y(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
- children: [/* @__PURE__ */ (0, L.jsx)(pA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(IA, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -33957,13 +34402,13 @@ function xj() {
children: K(e.error)
}) : p ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, L.jsx)(vj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Uj, {
label: "链接总数",
- value: _j(p.total),
- note: `分布在 ${_j(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vj, {
- label: WE[e] || e,
- value: _j(t)
+ value: Hj(p.total),
+ note: `分布在 ${Hj(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Uj, {
+ label: cD[e] || e,
+ value: Hj(t)
}, e))]
}), m ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -33986,11 +34431,11 @@ function xj() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Sj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsxs)(hie, {
+function qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsxs)(xie, {
"data-label": "true",
...a,
- className: XC("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: sw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -33998,7 +34443,7 @@ function Sj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, L.jsx)(WS, {
+ n && /* @__PURE__ */ (0, L.jsx)(uC, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34007,33 +34452,33 @@ function Sj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Cj({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, L.jsx)(yie, {
+function Jj({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, L.jsx)(Tie, {
slot: e ? "errorMessage" : "description",
...n,
- className: XC("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: sw("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 wj = (0, I.createContext)({});
-function Tj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(wj.Provider, {
+var Yj = (0, I.createContext)({});
+function Xj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Yj.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, L.jsx)(noe, {
+ children: /* @__PURE__ */ (0, L.jsx)(coe, {
...a,
"data-input-size": e,
- className: XC("group flex h-max w-full flex-col items-start gap-1", r),
+ className: sw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-Tj.displayName = "TextField";
-var Ej = ZC({
+Xj.displayName = "TextField";
+var Zj = cw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34062,44 +34507,44 @@ var Ej = ZC({
].join(" "),
icon: "size-5 shrink-0"
});
-function Dj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, I.useContext)(wj), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, L.jsx)(wie, {
+function Qj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, I.useContext)(Yj), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, L.jsx)(Aie, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => XC(Ej.field, d ? Ej.fieldWithAddonSize[u] : Ej.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => sw(Zj.field, d ? Zj.fieldWithAddonSize[u] : Zj.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Ej.content,
+ className: Zj.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Ej.leftSection,
+ className: Zj.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, L.jsx)(t, {
- className: Ej.icon,
+ className: Zj.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, L.jsx)(Eie, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(Mie, {
ref: o,
...c,
- className: XC(Ej.input, l.inputClassName, a)
+ className: sw(Zj.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: Ej.icon,
+ className: Zj.icon,
"aria-hidden": !0
}) : null]
})
});
}
-Dj.displayName = "InputBase";
-function Oj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, L.jsx)(Tj, {
+Qj.displayName = "InputBase";
+function $j({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, L.jsx)(Xj, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- e && /* @__PURE__ */ (0, L.jsx)(Sj, {
+ e && /* @__PURE__ */ (0, L.jsx)(qj, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(Dj, {
+ /* @__PURE__ */ (0, L.jsx)(Qj, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34108,28 +34553,28 @@ function Oj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, L.jsx)(Cj, {
+ t && /* @__PURE__ */ (0, L.jsx)(Jj, {
isInvalid: d,
children: t
})
] })
});
}
-Oj.displayName = "Input";
+$j.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var kj = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Aj = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", jj = 8;
-function Mj({ plan: e }) {
+var eM = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, tM = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", nM = 8;
+function rM({ plan: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, jj).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: e.rows.slice(0, nM).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: QE(e.current_path)
+ children: gD(e.current_path)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -34139,7 +34584,7 @@ function Mj({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: QE(e.target_path)
+ children: gD(e.target_path)
})
]
}, e.current_path))
@@ -34148,10 +34593,10 @@ function Mj({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Nj({ toast: t, failure: n }) {
+function iM({ toast: t, failure: n }) {
let r = Ft({
- queryKey: XE,
- queryFn: ({ signal: e }) => ZE(e)
+ queryKey: mD,
+ queryFn: ({ signal: e }) => hD(e)
}), i = r.data, a = i?.locations ?? [], [o, s] = (0, I.useState)(""), c = a.some((e) => e.location === o) ? o : a[0]?.location ?? "", l = i?.templates?.[c], [u, d] = (0, I.useState)(null), f = u?.location === c ? u : {
location: c,
file: l?.file ?? "",
@@ -34164,8 +34609,8 @@ function Nj({ toast: t, failure: n }) {
file_template: f.file.trim(),
dir_template: f.dir.trim()
}), x = It({
- mutationFn: Bre,
- onSuccess: (e, t) => void Hre({
+ mutationFn: Kre,
+ onSuccess: (e, t) => void Jre({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34173,29 +34618,29 @@ function Nj({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = Wre.test(K(e)) ? "dir" : "file";
+ let t = Xre.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
- }), S = ej({
- queryKey: XE,
- queryFn: ({ signal: e }) => ZE(e),
- start: Vre,
+ }), S = Tj({
+ queryKey: mD,
+ queryFn: ({ signal: e }) => hD(e),
+ start: qre,
jobOf: (e) => e,
- withJob: Ure,
+ withJob: Yre,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: XE,
+ queryKey: mD,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = eD(e);
+ let { text: r, failed: i } = vD(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), C = S.running || S.start.isPending, w = x.data, T = Number(w?.counts?.change || 0), E = e[c] || c, D = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), O = () => {
x.isPending || !c || (_(null), x.mutate(b()));
}, k = () => void g({
title: "按模板整理文件",
- body: kj(E),
+ body: eM(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -34203,7 +34648,7 @@ function Nj({ toast: t, failure: n }) {
})
}), A = () => void g({
title: "回滚上一批整理",
- body: Aj,
+ body: tM,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
@@ -34211,7 +34656,7 @@ function Nj({ toast: t, failure: n }) {
let e = M.message || M.stage || "正在整理文件…";
j = M.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: e,
value: M.checked || 0,
max: M.total
@@ -34219,14 +34664,14 @@ function Nj({ toast: t, failure: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e
})]
- }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: e });
} else if (N?.status === "failed") j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "文件整理未完成",
children: N.error || "请查看任务记录,核对已处理的文件。"
});
else if (N) {
- let { text: e, failed: t } = eD(N);
+ let { text: e, failed: t } = vD(N);
j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -34236,16 +34681,16 @@ function Nj({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(sw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "模板不可用",
children: K(x.error)
}) : w && (j = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: Gre(w)
- }), T ? /* @__PURE__ */ (0, L.jsx)(Mj, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, L.jsxs)(mA, {
+ children: Zre(w)
+ }), T ? /* @__PURE__ */ (0, L.jsx)(rM, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, L.jsxs)(LA, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -34269,7 +34714,7 @@ function Nj({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, L.jsx)(pA, {
+ /* @__PURE__ */ (0, L.jsx)(IA, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -34289,20 +34734,20 @@ function Nj({ toast: t, failure: n }) {
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ a.length ? /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), _(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(XA, {
+ children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(xj, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, L.jsx)(PA, { mark: m[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: m[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -34313,7 +34758,7 @@ function Nj({ toast: t, failure: n }) {
p({ file: e }), _(null);
}
}),
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -34353,91 +34798,91 @@ function Nj({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var Pj = Vw("git-compare"), Fj = Vw("rotate-cw"), Ij = "暂时无法读取进度,正在重新连接…", Lj = "清理失效条目", Rj = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", zj = (e) => Number(e || 0).toLocaleString();
-function Bj({ scan: e }) {
+var aM = lT("git-compare"), oM = lT("rotate-cw"), sM = "暂时无法读取进度,正在重新连接…", cM = "清理失效条目", lM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", uM = (e) => Number(e || 0).toLocaleString();
+function dM({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: Rj,
+ className: lM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, L.jsx)("article", {
- className: bD(),
- children: /* @__PURE__ */ (0, L.jsx)(xD, {
- label: Xre[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, L.jsx)(PA, { mark: m[e.location] ?? "database" }),
+ className: RD(),
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ label: nie[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, L.jsx)(aj, { mark: m[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, L.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${zj(e.missing)} 项` : "—",
- meta: eie(e),
+ figure: e.online ? `${uM(e.missing)} 项` : "—",
+ meta: oie(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Rj,
+ className: lM,
children: [
/* @__PURE__ */ (0, L.jsx)("article", {
- className: bD(),
- children: /* @__PURE__ */ (0, L.jsx)(xD, {
+ className: RD(),
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
label: "待永久删除",
- figure: `${zj(e.missing)} 项`,
+ figure: `${uM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: bD(),
- children: /* @__PURE__ */ (0, L.jsx)(xD, {
+ className: RD(),
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
label: "空文件夹",
- figure: `${zj(e.empty)} 个`,
+ figure: `${uM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: bD(),
- children: /* @__PURE__ */ (0, L.jsx)(xD, {
+ className: RD(),
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
label: "可清理的缓存",
- figure: `${zj(t.files)} 个`,
+ figure: `${uM(t.files)} 个`,
meta: t.files ? a(t.bytes) : ""
})
})
]
})] });
}
-function Vj({ toast: e }) {
- let t = ej({
- queryKey: iD,
- queryFn: ({ signal: e }) => oD(e),
- start: qre,
+function fM({ toast: e }) {
+ let t = Tj({
+ queryKey: SD,
+ queryFn: ({ signal: e }) => wD(e),
+ start: $re,
onFinish: (t) => {
if (X.invalidateQueries({
- queryKey: pD,
+ queryKey: jD,
exact: !0
}), X.invalidateQueries({
- queryKey: rD,
+ queryKey: xD,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = lD(t);
- r ? e(`已完成 ${zj(n)} 项,${zj(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = DD(t);
+ r ? e(`已完成 ${uM(n)} 项,${uM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = ej({
- queryKey: rD,
- queryFn: ({ signal: e }) => aD(e),
- start: Kre,
+ }), n = Tj({
+ queryKey: xD,
+ queryFn: ({ signal: e }) => CD(e),
+ start: Qre,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, o = t.running || t.start.isPending, s = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : s ? "重新扫描" : "检查文件", l = (e) => void g({
- title: Lj,
- body: $re(e),
- confirmLabel: Lj,
+ title: cM,
+ body: aie(e),
+ confirmLabel: cM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = lD(e).left > 0;
+ let t = DD(e).left > 0;
return /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: tie(e, a)
+ children: sie(e, a)
});
}, f = null;
if (u?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
@@ -34446,7 +34891,7 @@ function Vj({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) f = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(sw, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(vw, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34455,20 +34900,20 @@ function Vj({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: Ij
+ children: sM
});
else if (r?.status === "running") {
- let e = Zre(r);
+ let e = rie(r);
f = /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
- children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: e,
value: r.completed_sources || 0,
max: r.total_sources
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: "正在检查本地磁盘和网盘…" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在检查本地磁盘和网盘…" })
});
} else if (r?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34481,13 +34926,13 @@ function Vj({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Yre(r);
+ let e = tie(r);
f = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(Bj, { scan: r }),
+ /* @__PURE__ */ (0, L.jsx)(dM, { scan: r }),
e ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: Qre(r)
+ children: iie(r)
}) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -34495,7 +34940,7 @@ function Vj({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => l(r),
- children: o ? "正在复核并清理…" : Lj
+ children: o ? "正在复核并清理…" : cM
}) : /* @__PURE__ */ (0, L.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -34512,23 +34957,23 @@ function Vj({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(fA, {
+ /* @__PURE__ */ (0, L.jsx)(FA, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, L.jsxs)(mA, {
+ /* @__PURE__ */ (0, L.jsxs)(LA, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !i ? Fj : Pj,
+ leadingIcon: s && !i ? oM : aM,
...Y(i),
onClick: () => {
i || n.start.mutate();
},
children: c
}),
- children: [/* @__PURE__ */ (0, L.jsx)(pA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(IA, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -34547,16 +34992,16 @@ function Vj({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function Hj(e, t) {
+function pM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function Uj({ section: e, label: t, icon: n, value: r, open: i }) {
+function mM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: bD({ interactive: !0 }),
+ className: RD({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, L.jsx)(xD, {
+ children: /* @__PURE__ */ (0, L.jsx)(zD, {
label: t,
icon: n,
figure: r.figure,
@@ -34564,80 +35009,80 @@ function Uj({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var Wj = Vw("square-check-big"), Gj = Vw("sparkles"), Kj = Vw("file-stack"), qj = Vw("file-archive"), Jj = Vw("trash"), Yj = [
- uD,
- ZT,
- pT
-], Xj = () => {
- for (let e of Yj) X.invalidateQueries({
+var hM = lT("square-check-big"), gM = lT("sparkles"), _M = lT("file-stack"), vM = lT("file-archive"), yM = lT("trash"), bM = [
+ OD,
+ xE,
+ LT
+], xM = () => {
+ for (let e of bM) X.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function Zj({ toast: e, failure: t, open: n }) {
+function SM({ toast: e, failure: t, open: n }) {
let r = Ft({
- queryKey: uD,
- queryFn: ({ signal: e }) => mD(e)
+ queryKey: OD,
+ queryFn: ({ signal: e }) => MD(e)
}), i = Ft({
- queryKey: ZT,
- queryFn: ({ signal: e }) => QT(e)
+ queryKey: xE,
+ queryFn: ({ signal: e }) => SE(e)
}), o = Ft({
- queryKey: pT,
- queryFn: ({ signal: e }) => hT(e)
+ queryKey: LT,
+ queryFn: ({ signal: e }) => zT(e)
}), s = Ft({
- queryKey: dD,
- queryFn: ({ signal: e }) => hD(e)
+ queryKey: kD,
+ queryFn: ({ signal: e }) => ND(e)
}), c = Ft({
- queryKey: pD,
- queryFn: ({ signal: e }) => gD(e)
+ queryKey: jD,
+ queryFn: ({ signal: e }) => PD(e)
}), l = Ft({
- queryKey: sT,
- queryFn: ({ signal: e }) => cT(e)
+ queryKey: jT,
+ queryFn: ({ signal: e }) => MT(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, L.jsxs)(cw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: fie,
+ className: vie,
children: [
- /* @__PURE__ */ (0, L.jsx)(Uj, {
+ /* @__PURE__ */ (0, L.jsx)(mM, {
section: "review",
label: "人工复核",
- icon: Wj,
+ icon: hM,
open: n,
- value: Hj(r, aie)
+ value: pM(r, die)
}),
- /* @__PURE__ */ (0, L.jsx)(Uj, {
+ /* @__PURE__ */ (0, L.jsx)(mM, {
section: "quality",
label: "高清版",
- icon: Gj,
+ icon: gM,
open: n,
- value: Hj(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: pM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, L.jsx)(Uj, {
+ /* @__PURE__ */ (0, L.jsx)(mM, {
section: "duplicates",
label: "重复文件",
- icon: Kj,
+ icon: _M,
open: n,
- value: Hj(o, (e) => Number(e.total || 0) ? {
+ value: pM(o, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${a(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, L.jsx)(Uj, {
+ /* @__PURE__ */ (0, L.jsx)(mM, {
section: "ads",
label: "垃圾文件",
- icon: qj,
+ icon: vM,
open: n,
- value: Hj(s, (e) => ({
+ value: pM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: oie(e)
+ meta: fie(e)
}))
}),
- /* @__PURE__ */ (0, L.jsx)(Uj, {
+ /* @__PURE__ */ (0, L.jsx)(mM, {
section: "trash",
label: "回收站",
- icon: Jj,
+ icon: yM,
open: n,
- value: Hj(c, (e) => ({
+ value: pM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${a(e.bytes || 0)}` : ""
}))
@@ -34650,29 +35095,29 @@ function Zj({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, L.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, L.jsx)(UA, {
+ children: /* @__PURE__ */ (0, L.jsx)(mj, {
toast: u,
monitor: !0,
- onComplete: Xj
+ onComplete: xM
})
}),
/* @__PURE__ */ (0, L.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, L.jsx)(rj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {})
}),
- /* @__PURE__ */ (0, L.jsx)(Nj, {
+ /* @__PURE__ */ (0, L.jsx)(iM, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {}),
- sD(l.data) ? /* @__PURE__ */ (0, L.jsx)(Vj, { toast: e }) : null
+ /* @__PURE__ */ (0, L.jsx)(Kj, {}),
+ TD(l.data) ? /* @__PURE__ */ (0, L.jsx)(fM, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function Qj({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function CM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -34699,7 +35144,7 @@ function Qj({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function $j(e) {
+function wM(e) {
(0, I.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -34717,9 +35162,9 @@ function $j(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function eM({ title: e, children: t }) {
+function TM({ title: e, children: t }) {
let n = (0, I.useRef)(null);
- return $j(n), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return wM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -34732,51 +35177,51 @@ function eM({ title: e, children: t }) {
}), t]
});
}
-function tM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function EM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, I.useRef)(null);
- return $j(d), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return wM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: XC("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: sw("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: XC("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: sw("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, L.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: XC("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: sw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var nM = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function rM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var DM = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function OM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: XC(nM, r),
+ className: sw(DM, r),
onClick: n,
children: e
});
}
-var iM = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function aM({ children: e, onPress: t, busy: n = !1 }) {
+var kM = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function AM({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: iM,
+ className: kM,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -34787,29 +35232,29 @@ function aM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var oM = Vw("play"), sM = Vw("file-stack"), cM = aw({
+var jM = lT("play"), MM = lT("file-stack"), NM = gw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), lM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", uM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", dM = "font-mono text-caption-1-regular leading-5 text-text-secondary", fM = () => {
+}), PM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", FM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", IM = "font-mono text-caption-1-regular leading-5 text-text-secondary", LM = () => {
X.invalidateQueries({
- queryKey: pT,
+ queryKey: LT,
exact: !0
}), X.invalidateQueries({
- queryKey: pD,
+ queryKey: jD,
exact: !0
});
};
-function pM(e) {
+function RM(e) {
return e.identical ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${uM} text-(--keep)`,
+ className: `${FM} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${uM} text-text-secondary`,
+ className: `${FM} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function mM({ file: t, openItem: n }) {
+function zM({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -34819,7 +35264,7 @@ function mM({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)(oM, {
+ children: [/* @__PURE__ */ (0, L.jsx)(jM, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, L.jsx)("img", {
@@ -34843,55 +35288,55 @@ function mM({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${lM} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${PM} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${lM} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${PM} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
- className: `${dM} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, L.jsx)(PA, { mark: m[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ className: `${IM} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: m[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: dM,
+ className: IM,
children: a(t.size || 0)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: dM,
+ className: IM,
children: i(t.duration)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${dM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${IM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function hM({ openItem: t, toast: n, failure: r }) {
+function BM({ openItem: t, toast: n, failure: r }) {
let i = Ft({
- queryKey: pT,
- queryFn: ({ signal: e }) => hT(e)
+ queryKey: LT,
+ queryFn: ({ signal: e }) => zT(e)
}), o = Ft({
- queryKey: sT,
- queryFn: ({ signal: e }) => cT(e)
+ queryKey: jT,
+ queryFn: ({ signal: e }) => MT(e)
}), [s, c] = (0, I.useState)(""), l = It({
- mutationFn: (e) => CT(e, "dispose"),
+ mutationFn: (e) => qT(e, "dispose"),
onSuccess: (e, t) => {
- fM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ LM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await CT(t, "restore");
+ await qT(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- fM();
+ LM();
}
} });
},
@@ -34905,12 +35350,12 @@ function hM({ openItem: t, toast: n, failure: r }) {
children: i.error ? K(i.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let d = u.groups ?? [], f = dT(o.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = FT(o.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = xT(e, t);
+ let r = GT(e, t);
r.length && g({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${_T[t] ?? _T.largest}。文件共 ${a(ST(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${VT[t] ?? VT.largest}。文件共 ${a(KT(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -34918,15 +35363,15 @@ function hM({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(Qj, {
+ /* @__PURE__ */ (0, L.jsx)(CM, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${a(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, L.jsxs)(eM, {
+ d.length ? /* @__PURE__ */ (0, L.jsxs)(TM, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, L.jsx)(aM, {
+ /* @__PURE__ */ (0, L.jsx)(AM, {
busy: s === "all:largest",
onPress: () => p({
groups: d,
@@ -34935,7 +35380,7 @@ function hM({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, L.jsx)(aM, {
+ /* @__PURE__ */ (0, L.jsx)(AM, {
busy: s === "all:longest",
onPress: () => p({
groups: d,
@@ -34944,7 +35389,7 @@ function hM({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- bT(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(aM, {
+ WT(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(AM, {
busy: s === `all:${t}`,
onPress: () => p({
groups: d,
@@ -34967,7 +35412,7 @@ function hM({ openItem: t, toast: n, failure: r }) {
let i = [n], o = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": n.code,
- className: cM,
+ className: NM,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -34979,9 +35424,9 @@ function hM({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${a(n.reclaimable)}`
}),
- pM(n),
+ RM(n),
n.cross_drive ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${uM} text-text-secondary`,
+ className: `${FM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -35009,7 +35454,7 @@ function hM({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- yT(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
+ UT(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
...m(o(t)),
@@ -35034,13 +35479,13 @@ function hM({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(mM, {
+ }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(zM, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: sM,
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: MM,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -35049,43 +35494,43 @@ function hM({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var gM = "/api/follow/authors", _M = "/api/follow/tags", vM = (e) => [
+var VM = "/api/follow/authors", HM = "/api/follow/tags", UM = (e) => [
"follow",
"authors",
e
-], yM = (e, t) => [
+], WM = (e, t) => [
"follow",
"tags",
e,
t
];
-function bM(e, t, n) {
+function GM(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${gM}?${r}`;
+ return e && r.set("q", e), `${VM}?${r}`;
}
-function xM(e, t, n, r) {
+function KM(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${_M}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${HM}?${i}`;
}
-var SM = (e, t, n, r) => iw(bM(e, t, n), r), CM = (e, t, n, r, i) => iw(xM(e, t, n, r), i), wM = "/api/index", TM = {
+var qM = (e, t, n, r) => hw(GM(e, t, n), r), JM = (e, t, n, r, i) => hw(KM(e, t, n, r), i), YM = "/api/index", XM = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, EM = {
+}, ZM = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, DM = [
+}, QM = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -35095,26 +35540,26 @@ var SM = (e, t, n, r) => iw(bM(e, t, n), r), CM = (e, t, n, r, i) => iw(xM(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], OM = [
+], $M = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], kM = {
+], eN = {
people: 120,
tags: 180
-}, AM = (e) => e !== "tags", jM = (e) => e === "studios" || e === "agencies";
-function MM(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? OM : DM).some(([t]) => t === e.category);
+}, tN = (e) => e !== "tags", nN = (e) => e === "studios" || e === "agencies";
+function rN(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? $M : QM).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function NM(e) {
+function iN(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -35133,50 +35578,50 @@ function NM(e) {
q: n
};
}
-var PM = (e, t, n = "all") => [
+var aN = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function FM(e, t, n, r, i) {
+function oN(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${wM}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${YM}?${a}`;
}
-function IM(e) {
- let t = e.what === "people" || e.what === "online-authors" ? kM.people : kM.tags, n = {
+function sN(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? eN.people : eN.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: PM(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => iw(FM(e.kind, e.q, "all", t, n), r)
+ queryKey: aN(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => hw(oN(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: PM("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => iw(FM("tags", e.q, e.category, t, n), r)
+ queryKey: aN("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => hw(oN("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: vM(e.q),
- queryFn: ({ pageParam: n, signal: r }) => SM(e.q, t, n, r)
+ queryKey: UM(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => qM(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: yM(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => CM(e.q, e.category, t, n, r)
+ queryKey: WM(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => JM(e.q, e.category, t, n, r)
};
}
}
-async function LM(e, t) {
- let n = IM(NM(MM(e)));
+async function cN(e, t) {
+ let n = sN(iN(rN(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -35190,13 +35635,13 @@ async function LM(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var RM = (e) => e ? e.pages.flatMap((e) => e.items) : [], zM = (e, t) => `${e}${t ? "+" : ""} 项`, BM = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", VM = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), HM = {
+var lN = (e) => e ? e.pages.flatMap((e) => e.items) : [], uN = (e, t) => `${e}${t ? "+" : ""} 项`, dN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", fN = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), pN = {
numeric: !0,
sensitivity: "base"
};
-function UM(e, t) {
+function mN(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", HM))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", pN))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -35204,7 +35649,7 @@ function UM(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function WM({ html: e, face: t, company: n, big: r }) {
+function hN({ html: e, face: t, company: n, big: r }) {
let i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -35216,18 +35661,18 @@ function WM({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var GM = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function KM({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var gN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function _N({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: aw({
+ className: gw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${GM} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${gN} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -35244,8 +35689,8 @@ function KM({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function qM({ kind: e, items: t, layout: n, props: r }) {
- let i = EM[e], a = jM(e), o = n === "big";
+function vN({ kind: e, items: t, layout: n, props: r }) {
+ let i = ZM[e], a = nN(e), o = n === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -35253,14 +35698,14 @@ function qM({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, L.jsx)(KM, {
+ return /* @__PURE__ */ (0, L.jsx)(_N, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: VM(e, t),
+ readout: fN(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, L.jsx)(WM, {
+ children: /* @__PURE__ */ (0, L.jsx)(hN, {
html: n.html,
face: n.face,
company: a,
@@ -35270,21 +35715,21 @@ function qM({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function JM({ items: e, layout: t, props: n }) {
+function yN({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(KM, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(_N, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, L.jsx)(WM, {
+ children: /* @__PURE__ */ (0, L.jsx)(hN, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -35294,7 +35739,7 @@ function JM({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function YM(e) {
+function bN(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
let a = e.closest(".dual-range");
@@ -35306,8 +35751,8 @@ function YM(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var XM = "/vendor/swiper/14.2.0/", ZM = null, QM = () => ZM ??= Promise.all([new Promise((e, t) => {
- let n = `${XM}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var xN = "/vendor/swiper/14.2.0/", SN = null, CN = () => SN ??= Promise.all([new Promise((e, t) => {
+ let n = `${xN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -35321,11 +35766,11 @@ var XM = "/vendor/swiper/14.2.0/", ZM = null, QM = () => ZM ??= Promise.all([new
return;
}
let r = document.createElement("script");
- r.src = `${XM}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${xN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw ZM = null, e;
+ throw SN = null, e;
});
-function $M(e, t, n) {
+function wN(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -35346,48 +35791,48 @@ function $M(e, t, n) {
}
};
}
-var eN = (e) => {
+var TN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : a(t)).replace(" ", "\xA0") : "大小未知";
-}, tN = (e) => e.asset?.name || e.name || "未命名图片";
-function nN(t, n) {
+}, EN = (e) => e.asset?.name || e.name || "未命名图片";
+function DN(t, n) {
let r = t.asset;
- if (r) return [e[r.location ?? ""] || r.location || "来源未知", eN(r.size)].join(" · ");
+ if (r) return [e[r.location ?? ""] || r.location || "来源未知", TN(r.size)].join(" · ");
let i = (t.total ?? 0) > 1 ? `第 ${t.position} / ${t.total} 张` : "", a = n?.[0] && n[1] ? `${n[0]} × ${n[1]}` : "";
return [
t.source || "在线图片",
i,
a,
- t.size ? eN(t.size) : ""
+ t.size ? TN(t.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var rN = null, iN = null, aN = 0;
-function oN() {
- return (!iN || !rN?.isConnected) && (iN?.unmount(), rN = document.createElement("div"), rN.className = "peach-react", rN.dataset.photoLightboxHost = "", document.body.append(rN), iN = (0, SS.createRoot)(rN)), iN;
+var ON = null, kN = null, AN = 0;
+function jN() {
+ return (!kN || !ON?.isConnected) && (kN?.unmount(), ON = document.createElement("div"), ON.className = "peach-react", ON.dataset.photoLightboxHost = "", document.body.append(ON), kN = (0, HS.createRoot)(ON)), kN;
}
-async function sN(e, t, n) {
+async function MN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await QM();
+ r = await CN();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = oN();
- (0, Th.flushSync)(() => i.render(/* @__PURE__ */ (0, L.jsx)(lN, {
+ let i = jN();
+ (0, Yh.flushSync)(() => i.render(/* @__PURE__ */ (0, L.jsx)(PN, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++aN)));
+ }, ++AN)));
}
-function cN() {
- iN && (0, Th.flushSync)(() => iN.render(null));
+function NN() {
+ kN && (0, Yh.flushSync)(() => kN.render(null));
}
-function lN({ slides: e, index: t, Swiper: n, host: r }) {
+function PN({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, I.useId)(), o = (0, I.useRef)(null), c = (0, I.useRef)(null), l = (0, I.useRef)(null), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = (0, I.useRef)(null), [v, y] = (0, I.useState)(t), [b, x] = (0, I.useState)(100), [S, C] = (0, I.useState)({}), [w, T] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [E, O] = (0, I.useState)(!1), [j, M] = (0, I.useState)({
at: t,
text: ""
@@ -35430,7 +35875,7 @@ function lN({ slides: e, index: t, Swiper: n, host: r }) {
y(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), g.current = $M(e, a, x);
+ i(t, 0), g.current = wN(e, a, x);
let s = A(e, p.current, m.current), h = (e = !1) => {
s.hide(), p.current?.setAttribute("aria-expanded", "false"), e && p.current && document.contains(p.current) && p.current.focus();
};
@@ -35447,13 +35892,13 @@ function lN({ slides: e, index: t, Swiper: n, host: r }) {
});
v.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : cN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : NN());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), h(), v.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), g.current = null, _.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, I.useLayoutEffect)(() => {
- h.current && YM(h.current);
+ h.current && bN(h.current);
}, [b]);
let N = e[v], ee = N.asset ?? null, te = async (e) => {
if (!ee || !r || e.getAttribute("aria-busy") === "true") return;
@@ -35484,18 +35929,18 @@ function lN({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), cN();
+ e.preventDefault(), NN();
},
onClick: (e) => {
let t = e.target;
- _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && cN();
+ _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && NN();
},
children: [
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: cN,
+ onClick: NN,
dangerouslySetInnerHTML: { __html: s("x") }
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -35628,10 +36073,10 @@ function lN({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: tN(N)
+ children: EN(N)
}, v), /* @__PURE__ */ (0, L.jsx)("span", {
"data-photo-detail-meta": "",
- children: nN(N, S[v])
+ children: DN(N, S[v])
})]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -35670,33 +36115,33 @@ function lN({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function uN(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, L.jsx)(dN, {
+function FN(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, L.jsx)(IN, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, L.jsx)(fN, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, L.jsx)(vN, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, L.jsx)(LN, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, L.jsx)(UN, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function dN({ roster: e, props: t }) {
+function IN({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, I.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, L.jsx)(qM, {
+ return /* @__PURE__ */ (0, L.jsx)(vN, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function fN(e) {
- let t = Aw(!e.items, e.skeletonHtml);
+function LN(e) {
+ let t = Vw(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, L.jsx)(Zw, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, L.jsx)(xT, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -35716,16 +36161,16 @@ function fN(e) {
}) : null]
});
}
-var pN = (e) => Array.from({ length: e.n }, (t, n) => ({
+var RN = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), mN = (e) => e.sample === !0, hN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, gN = (e) => mN(e) ? `/sample-thumb?${hN(e)}` : `/photo-thumb?id=${e.id}`, _N = (e) => mN(e) ? {
- src: `/sample-image?${hN(e)}`,
- thumb: gN(e),
+})), zN = (e) => e.sample === !0, BN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, VN = (e) => zN(e) ? `/sample-thumb?${BN(e)}` : `/photo-thumb?id=${e.id}`, HN = (e) => zN(e) ? {
+ src: `/sample-image?${BN(e)}`,
+ thumb: VN(e),
name: e.name,
asset: null,
source: e.source,
@@ -35733,18 +36178,18 @@ var pN = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: gN(e),
+ thumb: VN(e),
name: e.name || "",
asset: e
};
-function vN({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, I.useMemo)(() => [...e.codeSets.flatMap(pN), ...e.items], [e]), [s, c] = (0, I.useState)(() => /* @__PURE__ */ new Set()), l = (0, I.useCallback)((e) => c((t) => {
+function UN({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, I.useMemo)(() => [...e.codeSets.flatMap(RN), ...e.items], [e]), [s, c] = (0, I.useState)(() => /* @__PURE__ */ new Set()), l = (0, I.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, I.useCallback)((e) => {
- sN(e, o.map(_N), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, L.jsx)(bN, {
+ MN(e, o.map(HN), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, L.jsx)(GN, {
item: e,
index: t,
lost: s.has(t),
@@ -35762,7 +36207,7 @@ function vN({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(yN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(WN, {
label: e.code,
title: e.name,
meta: [
@@ -35774,7 +36219,7 @@ function vN({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, L.jsx)(yN, {
+ m.length && e.total ? /* @__PURE__ */ (0, L.jsx)(WN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -35783,14 +36228,14 @@ function vN({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, L.jsx)(tT, {
+ e.hasMore ? /* @__PURE__ */ (0, L.jsx)(TT, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function yN({ label: e, title: t, meta: n }) {
+function WN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -35807,7 +36252,7 @@ function yN({ label: e, title: t, meta: n }) {
]
});
}
-function bN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function GN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -35816,7 +36261,7 @@ function bN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, L.jsx)("img", {
- src: gN(e),
+ src: VN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -35827,10 +36272,24 @@ function bN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-var xN = "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", SN = "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", CN = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", wN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", TN = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+function KN(e) {
+ let t = CA("selection");
+ return /* @__PURE__ */ (0, L.jsx)(bA, {
+ ...e,
+ ref: t
+ });
+}
+function qN(e) {
+ let t = CA("selection");
+ return /* @__PURE__ */ (0, L.jsx)(Wk, {
+ ...e,
+ ref: t
+ });
+}
+var JN = "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", YN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", XN = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", ZN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", QN = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
//#endregion
//#region src/react/components/use-view-glide.ts
-function EN(e, t) {
+function $N(e, t) {
if (!t.contains(e)) return null;
let n = 0, r = 0;
for (let i = e; i && i !== t; i = i.offsetParent) n += i.offsetLeft, r += i.offsetTop;
@@ -35846,11 +36305,11 @@ function EN(e, t) {
h: e.offsetHeight
};
}
-function DN(e, t, n, r) {
+function eP(e, t, n, r) {
let i = (0, I.useRef)(null), a = (0, I.useCallback)((r, a) => {
let o = e.current, s = t.current, c = o?.parentElement;
if (!o) return;
- let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? EN(l, c) : null;
+ let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? $N(l, c) : null;
if (!u || !u.w) {
o.hidden = !0;
return;
@@ -35888,19 +36347,19 @@ function DN(e, t, n, r) {
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var ON = (e) => e === "videos", kN = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var tP = (e) => e === "videos", nP = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function AN(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = ON(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = DN(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = DN(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function rP(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = tP(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = eP(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = eP(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, I.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(MN, {
+ }, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(aP, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, L.jsx)(tM, {
+ }), /* @__PURE__ */ (0, L.jsx)(EM, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -35920,13 +36379,13 @@ function AN(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(jN, {
+ top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(iP, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, L.jsx)(kN, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, L.jsx)(nP, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -35946,11 +36405,11 @@ function AN(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(kN, {})]
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(nP, {})]
}), /* @__PURE__ */ (0, L.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(rM, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(OM, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -35962,10 +36421,10 @@ function AN(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, L.jsx)(NN, { ...e })
+ bottom: /* @__PURE__ */ (0, L.jsx)(oP, { ...e })
})] });
}
-function jN({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function iP({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -36007,7 +36466,7 @@ function jN({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function MN({ items: e, hidden: t, actions: n }) {
+function aP({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -36027,7 +36486,7 @@ function MN({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function NN(e) {
+function oP(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: c } = e;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, L.jsxs)("button", {
@@ -36039,22 +36498,22 @@ function NN(e) {
dangerouslySetInnerHTML: { __html: s("chevron-left") }
}), /* @__PURE__ */ (0, L.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(PN, {
+ /* @__PURE__ */ (0, L.jsx)(sP, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(LN, {
+ t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(uP, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(RN, {
+ t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(dP, {
head: a,
actions: o,
helpers: c
}) : null
] });
}
-function PN({ text: e, busy: t }) {
+function sP({ text: e, busy: t }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, L.jsx)("span", {
@@ -36064,21 +36523,21 @@ function PN({ text: e, busy: t }) {
}) : e
});
}
-function FN({ label: e, value: t, options: n, onChange: r }) {
- return /* @__PURE__ */ (0, L.jsx)(Ek, {
+function cP({ label: e, value: t, options: n, onChange: r }) {
+ return /* @__PURE__ */ (0, L.jsx)(Wk, {
"aria-label": e,
orientation: "horizontal",
value: t,
onChange: r,
"data-entity-layout": "",
- className: wN,
+ className: ZN,
children: n.map(([e, t, n]) => {
- let r = Vw(n);
- return /* @__PURE__ */ (0, L.jsx)(Dk, {
+ let r = lT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Gk, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: TN,
+ className: QN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -36088,7 +36547,7 @@ function FN({ label: e, value: t, options: n, onChange: r }) {
})
});
}
-function IN({ onPress: e, busy: t = !1 }) {
+function lP({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -36102,19 +36561,19 @@ function IN({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? k("正在换一批") : s("shuffle") }
});
}
-function LN({ head: e, actions: t }) {
+function uP({ head: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(IN, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, L.jsx)(FN, {
+ /* @__PURE__ */ (0, L.jsx)(lP, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, L.jsx)(cP, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
e.sorts.map((e) => {
- let n = Vw(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = lT(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -36128,20 +36587,20 @@ function LN({ head: e, actions: t }) {
]
});
}
-function RN({ head: e, actions: t, helpers: n }) {
+function dP({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!1), a = (0, I.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, I.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, L.jsx)(IN, {
+ e.shuffle ? /* @__PURE__ */ (0, L.jsx)(lP, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(FN, {
+ /* @__PURE__ */ (0, L.jsx)(cP, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -36155,7 +36614,7 @@ function RN({ head: e, actions: t, helpers: n }) {
]
});
}
-function zN(e) {
+function fP(e) {
return {
x0: 0,
y0: 0,
@@ -36163,7 +36622,7 @@ function zN(e) {
y1: e.height
};
}
-function BN(e) {
+function pP(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -36171,40 +36630,40 @@ function BN(e) {
y1: Math.round(e.y1)
};
}
-function VN(e) {
+function mP(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function HN(e, t) {
- if (!VN(e)) return {
+function hP(e, t) {
+ if (!mP(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return zN(e);
+ if (t == null || !(t > 0)) return fP(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 BN({
+ return pP({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function UN(e, t) {
- if (!VN(e) || !(t > 0)) return zN(e);
+function gP(e, t) {
+ if (!mP(e) || !(t > 0)) return fP(e);
let n = Math.min(e.width, e.height * t);
- return BN({
+ return pP({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function WN(e, t, n) {
- if (!VN(t) || !(n > 0)) return zN(t);
- let r = GN(e, t), i = HN({
+function _P(e, t, n) {
+ if (!mP(t) || !(n > 0)) return fP(t);
+ let r = vP(e, t), i = hP({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -36215,8 +36674,8 @@ function WN(e, t, n) {
y1: r.y0 + i.y1
};
}
-function GN(e, t, n = null, r = "width") {
- if (!VN(t)) return {
+function vP(e, t, n = null, r = "width") {
+ if (!mP(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -36225,43 +36684,43 @@ function GN(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return BN({
+ return pP({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function KN(e, t, n, r) {
+function yP(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 BN({
+ return pP({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function qN(e, t, n, r = null) {
- if (!VN(n) || !(t > 0)) return e;
+function bP(e, t, n, r = null) {
+ if (!mP(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 GN({
+ return vP({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function JN(e, t, n, r, i = null) {
+function xP(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 GN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return vP(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function YN(e, t) {
- return VN(t) ? {
+function SP(e, t) {
+ return mP(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -36273,8 +36732,8 @@ function YN(e, t) {
height: 0
};
}
-function XN(e, t) {
- if (!VN(t)) return {
+function CP(e, t) {
+ if (!mP(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -36284,7 +36743,7 @@ function XN(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function ZN(e, t) {
+function wP(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}%`,
@@ -36293,25 +36752,29 @@ function ZN(e, t) {
height: `${t.height / r * 100}%`
};
}
-function QN(e, t, n) {
+function TP(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var $N = {
+var EP = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function eP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- return /* @__PURE__ */ (0, L.jsx)(Ck, {
+function DP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = eh();
+ return /* @__PURE__ */ (0, L.jsx)(Vk, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
+ "data-modal-motion": "",
+ "data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, L.jsx)(tae, {
- className: `flex max-h-full w-full ${$N[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, L.jsx)(yk, {
+ children: /* @__PURE__ */ (0, L.jsx)(sae, {
+ "data-modal-surface": "",
+ className: `flex max-h-full w-full ${EP[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, L.jsx)(Lk, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -36319,7 +36782,7 @@ function eP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function tP({ children: e }) {
+function OP({ children: e }) {
return /* @__PURE__ */ (0, L.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",
@@ -36328,8 +36791,8 @@ function tP({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var nP = .02, rP = 1.08;
-function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var kP = .02, AP = 1.08;
+function jP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, I.useRef)(null), c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
u(!1);
@@ -36340,8 +36803,8 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: QN(e, n.clientWidth, r.width),
- dy: QN(t, n.clientHeight, r.height)
+ dx: TP(e, n.clientWidth, r.width),
+ dy: TP(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -36359,29 +36822,29 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(KN(n.box, o.dx, o.dy, r));
+ i(yP(n.box, o.dx, o.dy, r));
return;
}
- i(JN(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(xP(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) * nP), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * kP), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(KN(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(yP(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(qN(n, e.key === "-" ? 1 / rP : rP, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(bP(n, e.key === "-" ? 1 / AP : AP, r, t)));
}
- let g = n && r ? YN(GN(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? SP(vP(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -36400,7 +36863,7 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- VN({
+ mP({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -36439,7 +36902,7 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(qN(n, e.deltaY > 0 ? rP : 1 / rP, r, t));
+ !n || !r || i(bP(n, e.deltaY > 0 ? AP : 1 / AP, 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, L.jsx)("span", {
@@ -36461,61 +36924,61 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var aP = "/api/avatar-choices", oP = "/api/avatar-pick", sP = "/api/avatar-code-cover", cP = "/avatar-choice", lP = (e, t) => [
+var MP = "/api/avatar-choices", NP = "/api/avatar-pick", PP = "/api/avatar-code-cover", FP = "/avatar-choice", IP = (e, t) => [
"avatar-choices",
e,
t
-], uP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, dP = (e, t, n) => `${cP}${uP(e, t)}&ref=${encodeURIComponent(n)}`, fP = (e, t, n) => iw(aP + uP(e, t), n), pP = (e) => q(sP, { code: e });
-function mP(e, t, n) {
+], LP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, RP = (e, t, n) => `${FP}${LP(e, t)}&ref=${encodeURIComponent(n)}`, zP = (e, t, n) => hw(MP + LP(e, t), n), BP = (e) => q(PP, { code: e });
+function VP(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? WN(e.focus, t, n) : HN(t, n);
+ return e.focus && r ? _P(e.focus, t, n) : hP(t, n);
}
-var hP = (e) => e.crop && VN({
+var HP = (e) => e.crop && mP({
width: e.width,
height: e.height
});
-async function gP(e, t, n) {
+async function _oe(e, t, n) {
if (!("file" in n)) {
- await q(oP, {
+ await q(NP, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${oP}${uP(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${NP}${LP(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 nw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new pw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function _P(e, t) {
+function voe(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 vP = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function yP(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${vP(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var yoe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function boe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${yoe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var bP = (e) => e.cast > 1, xP = (e) => bP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, SP = {
+var UP = (e) => e.cast > 1, xoe = (e) => UP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Soe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function CP(e) {
+function Coe(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 wP = (e) => `${SP[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (bP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), TP = 8, EP = 3 / 4;
-function DP({ kind: e, entityId: t, name: n, onPicked: r }) {
+var woe = (e) => `${Soe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (UP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Toe = 8, Eoe = 3 / 4;
+function Doe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -36525,17 +36988,17 @@ function DP({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, L.jsx)(CS, {
+ children: /* @__PURE__ */ (0, L.jsx)(US, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, L.jsx)(eP, {
+ }), /* @__PURE__ */ (0, L.jsx)(DP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, L.jsx)(OP, {
+ children: /* @__PURE__ */ (0, L.jsx)(Ooe, {
kind: e,
entityId: t,
name: n,
@@ -36544,50 +37007,50 @@ function DP({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, I.useRef)(null), o = hA(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = lP(e, t), g = (0, I.useRef)(!1), _ = Ft({
+function Ooe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, I.useRef)(null), o = RA(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = IP(e, t), g = (0, I.useRef)(!1), _ = Ft({
queryKey: h,
- queryFn: ({ signal: n }) => fP(e, t, n),
+ queryFn: ({ signal: n }) => zP(e, t, n),
retryOnMount: !0
});
(0, I.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: lP(e, t) });
+ g.current && X.removeQueries({ queryKey: IP(e, t) });
}, [e, t]);
let v = It({
- mutationFn: (n) => gP(e, t, n),
+ mutationFn: (n) => _oe(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = It({
- mutationFn: (e) => pP(e),
+ mutationFn: (e) => BP(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 ? "" : yP(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : boe(x);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(tP, { children: /* @__PURE__ */ (0, L.jsx)(rC, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(OP, { children: /* @__PURE__ */ (0, L.jsx)(vC, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(UD, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sO, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)($C, {
+ }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(uw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? xP(p) : _P(n, x)
+ children: p ? xoe(p) : voe(n, x)
}),
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
@@ -36599,14 +37062,14 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(_A, {
- icon: MS,
+ /* @__PURE__ */ (0, L.jsx)(BA, {
+ icon: QS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, L.jsx)(AP, {
+ }), p ? /* @__PURE__ */ (0, L.jsx)(Aoe, {
kind: e,
entityId: t,
choice: p,
@@ -36629,7 +37092,7 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: TP }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Toe }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -36642,15 +37105,15 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: wP(n),
+ title: woe(n),
...Y(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, L.jsx)(kP, {
- src: dP(e, t, n.ref),
+ /* @__PURE__ */ (0, L.jsx)(koe, {
+ src: RP(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -36659,15 +37122,15 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, L.jsx)($C, {
+ children: /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- bP(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ UP(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsxs)($C, {
+ children: /* @__PURE__ */ (0, L.jsxs)(uw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -36686,7 +37149,7 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)($j, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -36721,7 +37184,7 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)($j, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -36741,7 +37204,7 @@ function OP({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function kP({ src: e, choice: t }) {
+function koe({ src: e, choice: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -36749,7 +37212,7 @@ function kP({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = hP(t) ? ZN(mP(t, a, EP), a) : null, s = r ? !0 : void 0;
+ }, o = HP(t) ? wP(VP(t, a, Eoe), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, L.jsx)("img", {
@@ -36774,23 +37237,23 @@ function kP({ src: e, choice: t }) {
})]
});
}
-function AP({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = dP(e, t, s), m = hA();
+function Aoe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = RP(e, t, s), m = RA();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? XN(d, l) : null;
+ let g = d && l ? CP(d, l) : null;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, L.jsx)(iP, {
+ children: [/* @__PURE__ */ (0, L.jsx)(jP, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), VN(e) && f(s === n.ref ? mP(n, e, 1) : HN(e, 1));
+ u(e), mP(e) && f(s === n.ref ? VP(n, e, 1) : hP(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -36804,7 +37267,7 @@ function AP({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
"data-crop-base": !0,
onClick: () => h(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: CP(e)
+ children: Coe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36838,12 +37301,12 @@ function AP({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var jP = {
+var joe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function MP({ name: e }) {
- let t = jP[e];
+function WP({ name: e }) {
+ let t = joe[e];
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -36853,19 +37316,19 @@ function MP({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function NP(e, t) {
+function GP(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var PP = (e) => !!e?.isConnected && e.matches(":popover-open");
-function FP(e, t, n, r) {
+var KP = (e) => !!e?.isConnected && e.matches(":popover-open");
+function qP(e, t, n, r) {
let i = (0, I.useRef)(r);
i.current = r, (0, I.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && PP(n.current) ? NP(t.current, n.current) : i.current();
+ t.current && KP(n.current) ? GP(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -36879,17 +37342,17 @@ function FP(e, t, n, r) {
n
]);
}
-function IP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function JP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, I.useRef)(null), s = (0, I.useRef)(null), [c, l] = (0, I.useState)(!1), u = (0, I.useRef)(!1), d = (0, I.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, PP(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, KP(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || PP(s.current)) && (s.current.showPopover(), NP(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || KP(s.current)) && (s.current.showPopover(), GP(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return FP(c, o, s, f), (0, I.useEffect)(() => {
+ return qP(c, o, s, f), (0, I.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -36915,7 +37378,7 @@ function IP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && PP(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && KP(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36933,16 +37396,16 @@ function IP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function LP({ following: e, busy: t, onToggle: n, tip: r }) {
+function Moe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(null), [s, c] = (0, I.useState)(!1), l = (0, I.useRef)(!1), u = () => {
- PP(o.current) && o.current.hidePopover(), c(!1);
+ KP(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || PP(o.current) || (o.current.showPopover(), NP(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || KP(o.current) || (o.current.showPopover(), GP(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return FP(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
- i.current && PP(o.current) && NP(i.current, o.current);
+ return qP(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
+ i.current && KP(o.current) && GP(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, L.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -36951,7 +37414,7 @@ function LP({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, L.jsx)(MP, { name: "rss" }),
+ /* @__PURE__ */ (0, L.jsx)(WP, { name: "rss" }),
/* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
type: "checkbox",
@@ -36986,29 +37449,29 @@ function LP({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function RP({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Noe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, L.jsxs)(qie, {
+ }, []), /* @__PURE__ */ (0, L.jsxs)($ie, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, L.jsx)(VD, {
+ children: [/* @__PURE__ */ (0, L.jsx)(aO, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, L.jsx)(MP, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ children: /* @__PURE__ */ (0, L.jsx)(WP, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: sA,
+ className: DA,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, L.jsxs)(Yie, {
+ children: /* @__PURE__ */ (0, L.jsxs)(tae, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(hk, {
+ /* @__PURE__ */ (0, L.jsx)(Nk, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -37016,31 +37479,31 @@ function RP({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(_k, {
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(Fk, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, L.jsx)(MP, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, L.jsx)(WP, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(kie, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, L.jsx)(hk, { children: /* @__PURE__ */ (0, L.jsxs)(_k, {
+ /* @__PURE__ */ (0, L.jsx)(Fie, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, L.jsx)(Nk, { children: /* @__PURE__ */ (0, L.jsxs)(Fk, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, L.jsx)(MP, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(WP, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var zP = (e) => e === "studio" || e === "agency", BP = (e) => e === "performer" || e === "creator", VP = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function hoe(e) {
+var Poe = (e) => e === "studio" || e === "agency", Foe = (e) => e === "performer" || e === "creator", Ioe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function Loe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function HP(e) {
+function YP(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -37051,13 +37514,13 @@ function HP(e) {
linked: !1
} : null;
}
-function UP(e, t) {
+function XP(e, t) {
let n = u(e, "performer"), r = o(t);
return r && [e.label, n].map(o).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var WP = (e) => ({ site: c(e) });
-function goe(e, n) {
- let r = HP(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var ZP = (e) => ({ site: c(e) });
+function Roe(e, n) {
+ let r = YP(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -37067,7 +37530,7 @@ function goe(e, n) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${UP(e, r)} · ${t}`
+ title: `${XP(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -37078,8 +37541,8 @@ function goe(e, n) {
if (n === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: UP(e, r),
- mark: WP(e)
+ title: XP(e, r),
+ mark: ZP(e)
};
if (e.link_kind === "social") {
let n = t(i);
@@ -37087,7 +37550,7 @@ function goe(e, n) {
type: "icon",
url: i,
title: e.label || "",
- mark: n ? { brand: n } : WP(e)
+ mark: n ? { brand: n } : ZP(e)
};
}
return {
@@ -37095,13 +37558,13 @@ function goe(e, n) {
url: i,
title: e.label || "",
text: u(e, n, a),
- mark: WP(e)
+ mark: ZP(e)
};
});
return [...i, ...o];
}
-var GP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function _oe(e) {
+var QP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function zoe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -37158,14 +37621,14 @@ function _oe(e) {
tags: e.tags
}), t;
}
-function voe(e) {
+function Boe(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function yoe(e) {
+function Voe(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -37176,8 +37639,8 @@ function yoe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
- let c = BP(e), l = zP(e), u = e === "performer" ? _oe(n.profile) : [], d = goe(n, e), f = GP(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
+function Hoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
+ let c = Foe(e), l = Poe(e), u = e === "performer" ? zoe(n.profile) : [], d = Roe(n, e), f = QP(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, I.useEffect)(() => {
@@ -37190,7 +37653,7 @@ function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, L.jsx)(xoe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Uoe, {
kind: e,
name: t,
helpers: s,
@@ -37198,7 +37661,7 @@ function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, L.jsx)(DP, {
+ children: /* @__PURE__ */ (0, L.jsx)(Doe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -37211,14 +37674,14 @@ function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(RP, {
+ children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Noe, {
current: n.canonical_name,
- choices: hoe(n),
+ choices: Loe(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Soe, {
+ /* @__PURE__ */ (0, L.jsx)(Woe, {
kind: e,
entity: n,
actions: o
@@ -37226,9 +37689,9 @@ function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Eoe, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Joe, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Doe, {
+ f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Yoe, {
entity: n,
actions: o,
helpers: s
@@ -37237,11 +37700,11 @@ function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, L.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(woe, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(Koe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, L.jsx)(Toe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, L.jsx)(qoe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -37268,14 +37731,14 @@ function boe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, Th.createPortal)(/* @__PURE__ */ (0, L.jsx)(Ooe, {
+ }), a ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Xoe, {
feedNew: i,
host: a,
actions: o,
helpers: s
}), a) : null] });
}
-function xoe({ kind: e, name: t, helpers: n, people: i, company: a }) {
+function Uoe({ kind: e, name: t, helpers: n, people: i, company: a }) {
let [o] = (0, I.useState)(() => `${n.portraitImg()}<span>${r(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-portrait": i ? "round" : "square",
@@ -37284,8 +37747,8 @@ function xoe({ kind: e, name: t, helpers: n, people: i, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function Soe({ kind: e, entity: t, actions: r }) {
- let i = HP(t), a = (e, t) => (n) => {
+function Woe({ kind: e, entity: t, actions: r }) {
+ let i = YP(t), a = (e, t) => (n) => {
n.preventDefault(), r.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, L.jsx)("a", {
href: n("agency", i.name),
@@ -37294,36 +37757,36 @@ function Soe({ kind: e, entity: t, actions: r }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = yoe(t.name_groups);
+ let e = Voe(t.name_groups);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, L.jsx)(MP, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, L.jsx)(WP, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, L.jsx)(MP, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, L.jsx)(WP, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, L.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, L.jsx)(MP, { name: "id-card" }),
+ /* @__PURE__ */ (0, L.jsx)(WP, { name: "id-card" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, L.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(IP, {
+ e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(JP, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(Coe, {
+ children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(Goe, {
label: e.label,
names: e.names
}, t)) })
@@ -37358,25 +37821,25 @@ function Soe({ kind: e, entity: t, actions: r }) {
]
});
}
-function Coe({ label: e, names: t }) {
+function Goe({ label: e, names: t }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [e ? /* @__PURE__ */ (0, L.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, L.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, L.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function woe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(MP, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
+function Koe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(WP, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Toe({ tags: e }) {
- let { shown: t, rest: n } = voe(e);
+function qoe({ tags: e }) {
+ let { shown: t, rest: n } = Boe(e);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, L.jsx)(IP, {
+ }, e)), n ? /* @__PURE__ */ (0, L.jsx)(JP, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -37391,10 +37854,10 @@ function Toe({ tags: e }) {
})
}) : null] });
}
-function KP({ mark: e }) {
+function $P({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, L.jsx)(MP, { name: e.brand })
+ children: /* @__PURE__ */ (0, L.jsx)(WP, { name: e.brand })
});
let t = s("globe") + ("site" in e ? `<img src="${r(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, L.jsx)("span", {
@@ -37402,7 +37865,7 @@ function KP({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Eoe({ link: e }) {
+function Joe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, L.jsx)("a", {
"data-link": "icon",
@@ -37411,19 +37874,19 @@ function Eoe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(KP, { mark: e.mark })
+ children: /* @__PURE__ */ (0, L.jsx)($P, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(KP, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, L.jsx)($P, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, L.jsx)(KP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)($P, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -37434,14 +37897,14 @@ function Eoe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, L.jsx)(KP, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)($P, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Doe({ entity: e, actions: t, helpers: n }) {
+function Yoe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!!e.feed?.following), [a, o] = (0, I.useState)(!1), s = (0, I.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -37459,31 +37922,31 @@ function Doe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entry-marks": "",
- children: [GP(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ children: [QP(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(MP, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(WP, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(LP, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Moe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: VP(r)
+ tip: Ioe(r)
}) : null]
});
}
-function Ooe({ feedNew: e, host: t, actions: n, helpers: r }) {
+function Xoe({ feedNew: e, host: t, actions: n, helpers: r }) {
let i = (0, I.useRef)(null), a = e?.items.length ? e.html : "";
(0, I.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !a;
@@ -37507,7 +37970,7 @@ function Ooe({ feedNew: e, host: t, actions: n, helpers: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var qP = [
+var eF = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -37515,7 +37978,7 @@ var qP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], koe = "checked", JP = {
+], Zoe = "checked", tF = {
checked: "desc",
added: "desc",
name: "asc",
@@ -37523,32 +37986,32 @@ var qP = [
source: "asc",
provider: "asc",
status: "asc"
-}, Aoe = (e) => qP.some(([t]) => t === e);
-function YP(e, t) {
- let n = Aoe(e) ? e : koe;
+}, Qoe = (e) => eF.some(([t]) => t === e);
+function nF(e, t) {
+ let n = Qoe(e) ? e : Zoe;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : JP[n]
+ dir: t === "asc" || t === "desc" ? t : tF[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var XP = "/api/follow", ZP = "/api/follow/credentials", QP = "/api/follow/check", $P = "/api/follow/source", eF = "/api/follow/resolve", joe = "/api/follow/suggest", tF = "/api/follow/author-alias", Moe = "/api/follow/credential", nF = "/api/follow/status", Noe = "/api/feeds", rF = "/api/feeds/source", Poe = "/api/feeds/check", Foe = "/api/feeds/lookup", iF = ["follow-manage"], aF = ["follow-manage", "credentials"], Ioe = ["follow-manage", "check"], Loe = ["follow-manage", "resolve"], oF = ["follow-manage", "feeds"], Roe = (e) => [
+var rF = "/api/follow", iF = "/api/follow/credentials", aF = "/api/follow/check", oF = "/api/follow/source", sF = "/api/follow/resolve", $oe = "/api/follow/suggest", cF = "/api/follow/author-alias", ese = "/api/follow/credential", lF = "/api/follow/status", tse = "/api/feeds", uF = "/api/feeds/source", nse = "/api/feeds/check", rse = "/api/feeds/lookup", dF = ["follow-manage"], fF = ["follow-manage", "credentials"], ise = ["follow-manage", "check"], ase = ["follow-manage", "resolve"], pF = ["follow-manage", "feeds"], ose = (e) => [
"follow-manage",
"suggest",
e
-], sF = [["default", "默认视图"], ["table", "表格视图"]], cF = [
+], mF = [["default", "默认视图"], ["table", "表格视图"]], hF = [
10,
20,
50,
100
-], zoe = Object.fromEntries(qP), lF = {
+], sse = Object.fromEntries(eF), gF = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Boe = (e) => sF.some(([t]) => t === e), Voe = (e) => cF.includes(Number(e)) ? Number(e) : 20, Hoe = {
+}, cse = (e) => mF.some(([t]) => t === e), lse = (e) => hF.includes(Number(e)) ? Number(e) : 20, use = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -37556,25 +38019,25 @@ var XP = "/api/follow", ZP = "/api/follow/credentials", QP = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, Uoe = (e, t) => `按${zoe[e]}${Hoe[e][t === "asc" ? 0 : 1]}排序`;
-function uF(e) {
+}, dse = (e, t) => `按${sse[e]}${use[e][t === "asc" ? 0 : 1]}排序`;
+function _F(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function Woe(e) {
+function fse(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var dF = (e) => e.last_status === "error" || e.last_status === "unauthorized", fF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), pF = {
- source: fF,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || fF(e, t),
- status: (e, t) => uF(e) - uF(t) || fF(e, t)
-}, mF = (e) => Date.parse(e || "") || 0, hF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function gF(e, t = []) {
+var vF = (e) => e.last_status === "error" || e.last_status === "unauthorized", yF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), bF = {
+ source: yF,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || yF(e, t),
+ status: (e, t) => _F(e) - _F(t) || yF(e, t)
+}, xF = (e) => Date.parse(e || "") || 0, SF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function CF(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || hF(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || SF(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 hF(i.canonical_name);
+ if (i) return SF(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);
@@ -37582,18 +38045,18 @@ function gF(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function Goe(e) {
+function pse(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function Koe(e) {
+function mse(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 _F(e) {
+function wF(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -37601,32 +38064,32 @@ function _F(e) {
}
return t.map((e) => n.get(e));
}
-function qoe(e, t, n, r = []) {
- let i = _F(e), a = n === JP[t] ? 1 : -1, o = (e) => gF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = pF[t];
+function hse(e, t, n, r = []) {
+ let i = wF(e), a = n === tF[t] ? 1 : -1, o = (e) => CF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = bF[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => mF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => mF(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => xF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => xF(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 Joe(e, t, n, r = []) {
+function gse(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = gF(e, r);
+ let t = CF(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = pF[t];
+ }), a = bF[t];
if (a) {
- let e = n === JP[t] ? 1 : -1;
+ let e = n === tF[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function Yoe(e, t, n) {
- let r = nE(e, t), i = rE(n, r), a = (i - 1) * t;
+function _se(e, t, n) {
+ let r = EE(e, t), i = DE(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -37635,91 +38098,91 @@ function Yoe(e, t, n) {
end: Math.min(a + t, e)
};
}
-function Xoe(e, t) {
+function vse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function vF(e, t) {
+function TF(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 yF(e, t, n) {
+function EF(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var bF = (e) => iw(`${XP}?summary=1`, e), xF = (e) => iw(ZP, e), Zoe = (e) => iw(QP, e), Qoe = (e) => iw(eF, e), $oe = (e, t) => iw(`${joe}?q=${encodeURIComponent(e)}`, t), SF = (e) => q(QP, {
+var DF = (e) => hw(`${rF}?summary=1`, e), OF = (e) => hw(iF, e), yse = (e) => hw(aF, e), bse = (e) => hw(sF, e), xse = (e, t) => hw(`${$oe}?q=${encodeURIComponent(e)}`, t), kF = (e) => q(aF, {
...e?.length ? { sources: e } : {},
background: !0
-}), ese = (e) => q(eF, {
+}), Sse = (e) => q(sF, {
lines: e,
background: !0
-}), CF = (e, t) => q($P, {
+}), AF = (e, t) => q(oF, {
action: "enabled",
id: e,
enabled: t
-}), wF = (e) => q($P, {
+}), jF = (e) => q(oF, {
action: "remove",
id: e
-}), tse = (e) => q($P, {
+}), Cse = (e) => q(oF, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), TF = (e, t) => q(tF, {
+}), MF = (e, t) => q(cF, {
action: "add",
canonical: e,
alias: t
-}), nse = (e) => q(tF, {
+}), wse = (e) => q(cF, {
action: "remove",
alias: e
-}), rse = (e, t) => q(Moe, {
+}), Tse = (e, t) => q(ese, {
provider: e,
values: t
-}), ise = (e, t) => q(nF, {
+}), Ese = (e, t) => q(lF, {
item: e,
to: t
-}), ase = () => iw(`${XP}?status=new&limit=1000`);
-async function EF(e) {
- let t = await iw(Noe, e);
+}), Dse = () => hw(`${rF}?status=new&limit=1000`);
+async function NF(e) {
+ let t = await hw(tse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var DF = (e, t, n) => q(rF, {
+var PF = (e, t, n) => q(uF, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), OF = (e, t) => q(rF, {
+}, "POST", n), FF = (e, t) => q(uF, {
action: "remove",
id: e
-}, "POST", t), kF = (e, t) => q(Poe, t?.length ? { sources: t } : { all: !0 }, "POST", e), ose = (e, t) => iw(`${Foe}?q=${encodeURIComponent(e)}`, t), sse = (e, t, n) => q(rF, {
+}, "POST", t), IF = (e, t) => q(nse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ose = (e, t) => hw(`${rse}?q=${encodeURIComponent(e)}`, t), kse = (e, t, n) => q(uF, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function cse(e, t = "") {
+async function Ase(e, t = "") {
await Promise.all([
X.fetchQuery({
- queryKey: iF,
- queryFn: () => bF(e)
+ queryKey: dF,
+ queryFn: () => DF(e)
}),
X.fetchQuery({
- queryKey: aF,
- queryFn: () => xF(e)
+ queryKey: fF,
+ queryFn: () => OF(e)
}),
t === "feeds" ? X.fetchQuery({
- queryKey: oF,
- queryFn: () => EF(e)
+ queryKey: pF,
+ queryFn: () => NF(e)
}) : null
]);
}
-function AF(e, t) {
- X.setQueryData(iF, (n) => n && {
+function LF(e, t) {
+ X.setQueryData(dF, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -37727,24 +38190,24 @@ function AF(e, t) {
} : n)
});
}
-function jF(e) {
+function RF(e) {
let t = new Set(e);
- X.setQueryData(iF, (e) => e && {
+ X.setQueryData(dF, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var MF = () => X.invalidateQueries({
- queryKey: iF,
+var zF = () => X.invalidateQueries({
+ queryKey: dF,
exact: !0
});
-function lse(e) {
+function jse(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 use = (e) => (e?.results || []).filter((e) => !e.ok), dse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", NF = (e) => e.last_checked_at ? aE(e.last_checked_at) : "未检查", fse = /* @__PURE__ */ new Set([
+var Mse = (e) => (e?.results || []).filter((e) => !e.ok), Nse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", BF = (e) => e.last_checked_at ? kE(e.last_checked_at) : "未检查", Pse = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -37757,50 +38220,50 @@ var use = (e) => (e?.results || []).filter((e) => !e.ok), dse = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), pse = (e) => fse.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", mse = {
+]), Fse = (e) => Pse.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Ise = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, PF = (e) => !!e.present && !e.missing.length, hse = [
+}, VF = (e) => !!e.present && !e.missing.length, Lse = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], gse = [
+], Rse = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], FF = {
+], HF = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function IF(e, t) {
+function UF(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function LF(e, t) {
+function WF(e, t) {
return {
queryKey: [
"follow-feed",
- IF(e, 0),
+ UF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => iw(IF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => hw(UF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: Pe
};
}
-var RF = ["follow-feed", "credentials"], zF = (e) => iw(ZP, e).catch(() => ({ providers: [] }));
-async function _se(e, t) {
- let n = LF(e.view, e.revision);
+var GF = ["follow-feed", "credentials"], KF = (e) => hw(iF, e).catch(() => ({ providers: [] }));
+async function zse(e, t) {
+ let n = WF(e.view, e.revision);
X.removeQueries({
queryKey: n.queryKey,
exact: !0
}), X.removeQueries({
- queryKey: RF,
+ queryKey: GF,
exact: !0
}), await Promise.all([X.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -37811,11 +38274,11 @@ async function _se(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), X.fetchQuery({
- queryKey: RF,
- queryFn: () => zF(t)
+ queryKey: GF,
+ queryFn: () => KF(t)
})]);
}
-function BF(e) {
+function qF(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -37824,10 +38287,10 @@ function BF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function VF(e, t, n) {
+function JF(e, t, n) {
return [...e].sort((e, r) => f(n, t(e)) - f(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function HF(e) {
+function YF(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -37835,12 +38298,12 @@ function HF(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function vse(e) {
+function Bse(e) {
for (let [, t] of X.getQueriesData({ queryKey: ["follow-feed"] })) {
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let n = t.pages[t.pages.length - 1];
for (let r of t.pages) for (let t of r.groups || []) {
- let r = HF(t).find((t) => t.id === e);
+ let r = YF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -37851,7 +38314,7 @@ function vse(e) {
}
return null;
}
-function yse(e) {
+function Vse(e) {
X.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -37861,7 +38324,7 @@ function yse(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return HF(t).some((t) => t.id === e.id) ? {
+ return YF(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -37871,39 +38334,39 @@ function yse(e) {
}))
});
}
-function bse(e, t) {
+function Hse(e, t) {
X.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && XF(n, null, e, t));
+ }, (n) => n && rI(n, null, e, t));
}
-function UF(e) {
- return HF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function XF(e) {
+ return YF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function WF(e) {
+function ZF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function GF(e) {
+function QF(e) {
let t = /* @__PURE__ */ new Set();
- return HF(e).forEach((e) => WF(e).forEach((e) => t.add(e))), t;
+ return YF(e).forEach((e) => ZF(e).forEach((e) => t.add(e))), t;
}
-function KF(e, t) {
+function $F(e, t) {
let n = t === "images" ? "image" : "video";
- return UF(e).find((e) => WF(e).has(n)) || e.primary;
+ return XF(e).find((e) => ZF(e).has(n)) || e.primary;
}
-function qF(e) {
- return UF(e).filter((e) => e.playable && e.media_kind === "video");
+function eI(e) {
+ return XF(e).filter((e) => e.playable && e.media_kind === "video");
}
-var JF = {
+var tI = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function xse({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${JF[s] || JF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function Use({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${tI[s] || tI.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -37912,14 +38375,14 @@ function xse({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function Sse(e) {
+function Wse(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function YF(e, t, n) {
- return e === t ? FF[e] ? {
+function nI(e, t, n) {
+ return e === t ? HF[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -37927,13 +38390,13 @@ function YF(e, t, n) {
dir: "desc"
};
}
-function Cse(e, t, n, r) {
- let i = YF(e, n, r);
+function Gse(e, t, n, r) {
+ let i = nI(e, n, r);
if (!i) return "";
- let a = FF[i.sort];
+ let a = HF[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function XF(e, t, n, r) {
+function rI(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -37963,7 +38426,7 @@ function XF(e, t, n, r) {
})
};
}
-function wse(e, t) {
+function Kse(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -37983,7 +38446,7 @@ function wse(e, t) {
label: e
})), n;
}
-function Tse(e, t) {
+function qse(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -37998,7 +38461,7 @@ function Tse(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function Ese(e, t) {
+function Jse(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -38007,11 +38470,11 @@ function Ese(e, t) {
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var ZF = (e) => ["follow-item", e], Dse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Ose = "/api/follow/save", kse = "/api/follow/media/hide";
-async function QF(e, t) {
- let n = await iw(Dse(e), t);
+var iI = (e) => ["follow-item", e], Yse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Xse = "/api/follow/save", Zse = "/api/follow/media/hide";
+async function aI(e, t) {
+ let n = await hw(Yse(e), t);
for (let t of n.groups || []) {
- let r = HF(t).find((t) => t.id === e);
+ let r = YF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -38021,21 +38484,21 @@ async function QF(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function Ase(e, t) {
- let n = ZF(e.id), r = vse(e.id), i = X.getQueryData(RF) ? null : X.fetchQuery({
- queryKey: RF,
- queryFn: () => zF(t)
+async function Qse(e, t) {
+ let n = iI(e.id), r = Bse(e.id), i = X.getQueryData(GF) ? null : X.fetchQuery({
+ queryKey: GF,
+ queryFn: () => KF(t)
});
r ? X.setQueryData(n, {
...r,
item: r.item
}) : await X.fetchQuery({
queryKey: n,
- queryFn: () => QF(e.id, t)
+ queryFn: () => aI(e.id, t)
}), await i;
}
-function jse(e, t, n, r) {
- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && qF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function $se(e, t, n, r) {
+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && eI(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -38049,32 +38512,32 @@ function jse(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var Mse = (e) => HF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Nse = {
+var ece = (e) => YF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), tce = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, Pse = {
+}, nce = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function Fse(e) {
+function rce(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return Nse[t] || t;
+ return tce[t] || t;
} catch {
return "外部文件页";
}
}
-function $F(e, t) {
- return Pse[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function oI(e, t) {
+ return nce[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function Ise(e, t, n = "") {
+function ice(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -38083,56 +38546,56 @@ function Ise(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var Lse = (e) => String(e.name || "").trim(), eI = (e, t) => e.tag_types?.[t] || "unknown", Rse = /* @__PURE__ */ new Set([
+var ace = (e) => String(e.name || "").trim(), sI = (e, t) => e.tag_types?.[t] || "unknown", oce = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function zse(e, t) {
- let n = eI(e, t);
- return `r34-${Rse.has(n) ? n : "general"}`;
+function sce(e, t) {
+ let n = sI(e, t);
+ return `r34-${oce.has(n) ? n : "general"}`;
}
-var tI = [
+var cI = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function Bse(e, t) {
+function cce(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = tI.indexOf(eI(e, t));
- return n < 0 ? tI.length : n;
+ let n = cI.indexOf(sI(e, t));
+ return n < 0 ? cI.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function Vse(e, t) {
+function lce(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var Hse = (e, t) => ({
+var uce = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), nI = (e) => e?.size ? { size: e.size } : {};
-function Use(e, t) {
+}), lI = (e) => e?.size ? { size: e.size } : {};
+function dce(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: $F(t, e),
- ...nI(t),
+ source: oI(t, e),
+ ...lI(t),
position: r + 1,
total: n.length
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: $F(a, e),
- ...nI(a),
+ source: oI(a, e),
+ ...lI(a),
position: 1,
total: 1
}] : e.thumb_url ? [{
@@ -38144,10 +38607,10 @@ function Use(e, t) {
total: 1
}] : [];
}
-var Wse = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var fce = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
-function rI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...c }) {
+function uI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...c }) {
return /* @__PURE__ */ (0, L.jsxs)("aside", {
className: "mixqueue",
"data-queue-kind": e,
@@ -38175,7 +38638,7 @@ function rI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function iI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function dI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, L.jsx)("span", {
className: "mixitemtext",
children: a
@@ -38198,29 +38661,29 @@ function iI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var Gse = ({ label: e, count: t }) => /* @__PURE__ */ (0, L.jsxs)("h3", {
+var pce = ({ label: e, count: t }) => /* @__PURE__ */ (0, L.jsxs)("h3", {
className: "mixgrouplabel",
children: [
e,
" ",
/* @__PURE__ */ (0, L.jsx)("span", { children: t })
]
-}), aI = (e) => Number(e) > 0, Kse = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+}), fI = (e) => Number(e) > 0, mce = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(e) }
-}), oI = s("external-link", "externalmark");
-function qse(e) {
+}), pI = s("external-link", "externalmark");
+function hce(e) {
let { id: t, actions: n } = e, r = Ft({
- queryKey: ZF(t),
- queryFn: ({ signal: e }) => QF(t, e)
+ queryKey: iI(t),
+ queryFn: ({ signal: e }) => aI(t, e)
}), i = Ft({
- queryKey: RF,
- queryFn: ({ signal: e }) => zF(e)
+ queryKey: GF,
+ queryFn: ({ signal: e }) => KF(e)
}), a = (0, I.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, I.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, L.jsx)(Jse, {
+ return r.data ? /* @__PURE__ */ (0, L.jsx)(gce, {
...e,
data: r.data,
- context: Hse(r.data, a),
+ context: uce(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, L.jsx)("div", {
@@ -38229,9 +38692,9 @@ function qse(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "vwrap",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, L.jsx)(sI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(mI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, L.jsx)(jw, {
+ children: r.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -38239,7 +38702,7 @@ function qse(e) {
})
});
}
-var sI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
+var mI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "closestage",
id: "closeStage",
@@ -38248,8 +38711,8 @@ var sI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: s("x") }
});
-function Jse({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = jse(s, c, n, i), u = Qse(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, I.useState)({
+function gce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = $se(s, c, n, i), u = bce(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, I.useState)({
key: "",
kind: ""
}), m = {
@@ -38269,20 +38732,20 @@ function Jse({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? Mse(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, L.jsx)(dI, {
+ let h = !l.embedded.length && l.collection ? ece(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, L.jsx)(vI, {
item: s,
current: l.selected.index,
helpers: a,
actions: o,
onMedia: r
- }) : l.collection ? h ? /* @__PURE__ */ (0, L.jsx)(dI, {
+ }) : l.collection ? h ? /* @__PURE__ */ (0, L.jsx)(vI, {
item: h,
current: null,
helpers: a,
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, L.jsx)(Xse, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vce, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -38292,7 +38755,7 @@ function Jse({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
className: g ? "sgrid mixgrid" : "sgrid",
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(Yse, {
+ /* @__PURE__ */ (0, L.jsx)(_ce, {
item: s,
media: l,
helpers: a,
@@ -38301,7 +38764,7 @@ function Jse({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, L.jsx)(Zse, {
+ /* @__PURE__ */ (0, L.jsx)(yce, {
item: s,
data: e,
context: t,
@@ -38314,8 +38777,8 @@ function Jse({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function Yse({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
- let { kind: o, selected: c, src: l, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, I.useRef)(null), [h, g] = (0, I.useState)(null), _ = Use(e, t), v = c?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? l : e.thumb_url || "", x = e.playable && o === "image" && v && v !== l ? v : "", [S, C] = (0, I.useState)(b), w = (0, I.useRef)(null), T = (0, I.useRef)({
+function _ce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
+ let { kind: o, selected: c, src: l, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, I.useRef)(null), [h, g] = (0, I.useState)(null), _ = dce(e, t), v = c?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? l : e.thumb_url || "", x = e.playable && o === "image" && v && v !== l ? v : "", [S, C] = (0, I.useState)(b), w = (0, I.useRef)(null), T = (0, I.useRef)({
item: e,
selected: c
});
@@ -38345,7 +38808,7 @@ function Yse({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
"--follow-image-arrow-inset": h === null ? void 0 : `${h}px`
},
children: [
- /* @__PURE__ */ (0, L.jsx)(sI, { onClose: r.close }),
+ /* @__PURE__ */ (0, L.jsx)(mI, { onClose: r.close }),
y ? /* @__PURE__ */ (0, L.jsx)("video", {
ref: w,
className: "video-js vjs-big-play-centered",
@@ -38360,7 +38823,7 @@ function Yse({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: _.length ? () => void sN(Math.max(0, d), _) : void 0,
+ onClick: _.length ? () => void MN(Math.max(0, d), _) : void 0,
onError: () => {
if (x && S !== x) {
C(x), a.thumbFallback();
@@ -38411,11 +38874,11 @@ function Yse({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
]
});
}
-var cI = ({ kind: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+var hI = ({ kind: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: s(e === "image" ? "image-off" : "play") }
});
-function lI({ src: e }) {
+function gI({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
@@ -38425,14 +38888,14 @@ function lI({ src: e }) {
onError: () => n(!0)
});
}
-function uI(e) {
+function _I(e) {
return (0, I.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function Xse({ group: e, itemId: t, helpers: n, actions: r }) {
- let a = qF(e), o = uI(n);
- return /* @__PURE__ */ (0, L.jsx)(rI, {
+function vce({ group: e, itemId: t, helpers: n, actions: r }) {
+ let a = eI(e), o = _I(n);
+ return /* @__PURE__ */ (0, L.jsx)(uI, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
@@ -38440,12 +38903,12 @@ function Xse({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: o,
summary: `${e.primary.title || "未命名合集"} · ${a.length} 个视频`,
children: a.map((a) => {
- let o = e.duplicates.includes(a), s = Ise(e, a, o ? a.provider_label : ""), c = o ? n.sourceIcon(a.provider, a.provider_label) : "";
- return /* @__PURE__ */ (0, L.jsxs)(iI, {
+ let o = e.duplicates.includes(a), s = ice(e, a, o ? a.provider_label : ""), c = o ? n.sourceIcon(a.provider, a.provider_label) : "";
+ return /* @__PURE__ */ (0, L.jsxs)(dI, {
current: a.id === t,
"data-follow-queue-item": a.id,
onClick: () => r.openItem(a.id),
- pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.thumb_url ? /* @__PURE__ */ (0, L.jsx)(lI, { src: a.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(cI, { kind: "video" }), aI(a.duration) ? /* @__PURE__ */ (0, L.jsx)("i", {
+ pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: a.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hI, { kind: "video" }), fI(a.duration) ? /* @__PURE__ */ (0, L.jsx)("i", {
className: "dur mono",
children: i(a.duration)
}) : null] }),
@@ -38469,8 +38932,8 @@ function Xse({ group: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function dI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = uI(r), c = [];
+function vI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = _I(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -38480,26 +38943,26 @@ function dI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, L.jsx)(rI, {
+ return /* @__PURE__ */ (0, L.jsx)(uI, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, L.jsx)(Gse, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, L.jsx)(pce, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, L.jsxs)(iI, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, L.jsxs)(dI, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, L.jsx)(lI, { src: n.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(cI, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: n.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hI, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, L.jsx)("b", {
"data-middle-truncate": "",
- children: Lse(n)
+ children: ace(n)
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -38507,13 +38970,13 @@ function dI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpers: u, actions: d }) {
+function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpers: u, actions: d }) {
let { kind: f, selected: p, src: m } = a, h = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, g = u.badges(h, e), _ = u.identity(e, Vse(e, t.sources), n), v = _.credited ? "" : e.author && o(e.author) !== o(_.author) ? e.author : "", y = u.mediaIssue(e, n), b = Bse(e, u.tagLabel), x = e.status === "saved", { busy: S } = c, C = (e) => S.has(e) ? {
+ }, g = u.badges(h, e), _ = u.identity(e, lce(e, t.sources), n), v = _.credited ? "" : e.author && o(e.author) !== o(_.author) ? e.author : "", y = u.mediaIssue(e, n), b = cce(e, u.tagLabel), x = e.status === "saved", { busy: S } = c, C = (e) => S.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -38538,7 +39001,7 @@ function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: oI }
+ dangerouslySetInnerHTML: { __html: pI }
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -38558,7 +39021,7 @@ function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
"data-reveal-line": "",
children: [
/* @__PURE__ */ (0, L.jsx)("span", { children: u.when(e) }),
- aI(e.duration) ? /* @__PURE__ */ (0, L.jsx)("span", { children: i(e.duration) }) : null,
+ fI(e.duration) ? /* @__PURE__ */ (0, L.jsx)("span", { children: i(e.duration) }) : null,
g ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: g }
@@ -38592,9 +39055,9 @@ function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [Fse(e), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [rce(e), /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: oI }
+ dangerouslySetInnerHTML: { __html: pI }
})]
}, e))
}) : null,
@@ -38682,7 +39145,7 @@ function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...C(`restore:${e.index}`),
onClick: () => c.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, L.jsx)(lI, { src: e.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(Kse, { name: "image-off" }), /* @__PURE__ */ (0, L.jsx)("i", { dangerouslySetInnerHTML: { __html: s("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: e.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(mce, { name: "image-off" }), /* @__PURE__ */ (0, L.jsx)("i", { dangerouslySetInnerHTML: { __html: s("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -38697,7 +39160,7 @@ function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
children: b.map((t) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "tg",
- "data-tag-cat": zse(e, t),
+ "data-tag-cat": sce(e, t),
"data-follow-tag": t,
onClick: () => d.openTag(t),
children: u.tagLabel(t)
@@ -38707,8 +39170,8 @@ function Zse({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
})
});
}
-function Qse(e, t, n) {
- let r = e.id, i = ZF(r), [a, o] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), l = (e, t) => o((n) => {
+function bce(e, t, n) {
+ let r = e.id, i = iI(r), [a, o] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -38718,17 +39181,17 @@ function Qse(e, t, n) {
...t.item,
status: e
}
- }), bse(r, e);
+ }), Hse(r, e);
}, f = (e) => {
c(d(e) || "操作失败"), t.failure("更新关注状态", e);
}, p = It({
- mutationFn: ({ to: e }) => q(nF, {
+ mutationFn: ({ to: e }) => q(lF, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), t.toast(Wse(n), { undo: i === "saved" ? void 0 : async () => {
- await q(nF, {
+ u(n), c(""), t.toast(fce(n), { undo: i === "saved" ? void 0 : async () => {
+ await q(lF, {
item: r,
to: i
}), u(i);
@@ -38737,7 +39200,7 @@ function Qse(e, t, n) {
onError: f,
onSettled: (e, t, { to: n }) => l(n, !1)
}), m = It({
- mutationFn: () => q(Ose, { item: r }),
+ mutationFn: () => q(Xse, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -38745,7 +39208,7 @@ function Qse(e, t, n) {
onSettled: () => l("save", !1)
}), h = It({
mutationFn: async ({ index: e, hidden: t }) => {
- await q(kse, {
+ await q(Zse, {
item: r,
media: e,
hidden: t
@@ -38756,7 +39219,7 @@ function Qse(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = X.getQueryData(i);
- o && yse(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && Vse(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: f,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
@@ -38792,18 +39255,18 @@ function Qse(e, t, n) {
}
//#endregion
//#region src/sidebar.ts
-function $se(e) {
+function xce(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var ece = (e) => Number(e) > 0;
-function tce(e) {
+var Sce = (e) => Number(e) > 0;
+function Cce(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function nce({ src: e, width: t, height: n, onLearn: r }) {
+function wce({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, I.useState)(!1);
return i ? null : /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
@@ -38819,8 +39282,8 @@ function nce({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function rce(e) {
- let { group: t, authorSources: n, media: a, context: o, selected: c, selectMode: l, busy: u, failure: d, helpers: f, actions: p } = e, m = KF(t, a), h = a === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = a === "videos" ? qF(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = xse({
+function Tce(e) {
+ let { group: t, authorSources: n, media: a, context: o, selected: c, selectMode: l, busy: u, failure: d, helpers: f, actions: p } = e, m = $F(t, a), h = a === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = a === "videos" ? eI(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = Use({
cover: _,
coverFace: (g?.thumb_url ? g : m).face,
stack: t.stack,
@@ -38828,7 +39291,7 @@ function rce(e) {
limit: 9
}), T = (0, I.useRef)(w.faces);
T.current = w.faces;
- let E = Ww({
+ let E = mT({
load: async () => T.current,
canFlip: () => T.current.length > 1 && p.canFlip(),
referrerPolicy: "no-referrer"
@@ -38870,7 +39333,7 @@ function rce(e) {
"data-follow-open": "",
"aria-label": `打开 ${m.title} 详情`
}),
- _ ? /* @__PURE__ */ (0, L.jsx)(nce, {
+ _ ? /* @__PURE__ */ (0, L.jsx)(wce, {
src: _,
width: b?.width,
height: b?.height,
@@ -38905,7 +39368,7 @@ function rce(e) {
},
dangerouslySetInnerHTML: { __html: s("check") }
}),
- ece(m.duration) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ Sce(m.duration) ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-duration": "",
children: i(m.duration)
}) : null,
@@ -38998,7 +39461,7 @@ function rce(e) {
}), /* @__PURE__ */ (0, L.jsx)("time", {
dateTime: m.published_at || "",
title: A,
- children: tce(A)
+ children: Cce(A)
})]
}),
k.credited ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -39034,10 +39497,10 @@ function rce(e) {
]
});
}
-var ice = (0, I.memo)(rce), fI = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var Ece = (0, I.memo)(Tce), yI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), ace = Vw("settings"), oce = Vw("chevron-down"), sce = Vw("history"), cce = [[
+}), Dce = lT("settings"), Oce = lT("chevron-down"), kce = lT("history"), Ace = [[
"fixed",
"固定比例",
"layout-grid"
@@ -39046,19 +39509,19 @@ var ice = (0, I.memo)(rce), fI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function lce(e, t, n) {
+function jce(e, t, n) {
return (0, I.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = VF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = VF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = JF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = JF(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = VF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = JF([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -39066,7 +39529,7 @@ function lce(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => GF(e).forEach((e) => {
+ r.forEach((e) => QF(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -39081,7 +39544,7 @@ function lce(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => GF(e).has(_)),
+ visible: r.filter((e) => QF(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -39094,15 +39557,15 @@ function lce(e, t, n) {
n
]);
}
-function uce(e) {
- let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = LF(t, r), s = Lt(o), c = Ft({
- queryKey: RF,
- queryFn: ({ signal: e }) => zF(e)
- }), l = (0, I.useMemo)(() => BF(s.data), [s.data]), u = (0, I.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), f = (0, I.useMemo)(() => ({
+function Mce(e) {
+ let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = WF(t, r), s = Lt(o), c = Ft({
+ queryKey: GF,
+ queryFn: ({ signal: e }) => KF(e)
+ }), l = (0, I.useMemo)(() => qF(s.data), [s.data]), u = (0, I.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), f = (0, I.useMemo)(() => ({
sources: l?.sources || [],
aliases: l?.author_aliases || [],
credentials: u
- }), [l, u]), p = lce(l, t, n), m = s.isPending || s.isPlaceholderData, h = !m && !!l, g = (0, I.useMemo)(() => $se(p.visible.flatMap(HF).map((e) => ({ tags: e.tags || [] }))), [p.visible]);
+ }), [l, u]), p = jce(l, t, n), m = s.isPending || s.isPlaceholderData, h = !m && !!l, g = (0, I.useMemo)(() => xce(p.visible.flatMap(YF).map((e) => ({ tags: e.tags || [] }))), [p.visible]);
(0, I.useEffect)(() => {
h && a.loaded(g);
}, [
@@ -39110,15 +39573,15 @@ function uce(e) {
g,
a
]);
- let _ = dce(e, !!l);
- if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(jw, {
+ let _ = Nce(e, !!l);
+ if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(s.error),
onRetry: () => void s.refetch()
}) : null;
let v = (e) => a.route({
...t,
...e
- }), y = wse({
+ }), y = Kse({
...t,
author: p.author,
provider: p.provider
@@ -39143,7 +39606,7 @@ function uce(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
- leadingIcon: ace,
+ leadingIcon: Dce,
"data-follow-manage": "",
onClick: a.openManage,
children: "管理关注"
@@ -39160,20 +39623,20 @@ function uce(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(fce, {
+ /* @__PURE__ */ (0, L.jsx)(Pce, {
facets: p,
pressed: p.author,
context: f,
props: e,
onPick: (e) => v({ author: p.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, L.jsx)(pce, {
+ /* @__PURE__ */ (0, L.jsx)(Fce, {
rows: p.workRows,
pressed: t.work,
props: e,
onPick: (e) => v({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, L.jsx)(mce, {
+ /* @__PURE__ */ (0, L.jsx)(Ice, {
facets: p,
view: t,
total: b,
@@ -39181,9 +39644,9 @@ function uce(e) {
props: e,
route: v
}),
- /* @__PURE__ */ (0, L.jsx)(hce, {
+ /* @__PURE__ */ (0, L.jsx)(Lce, {
conditions: y,
- onDrop: (e) => a.route(Tse(t, e)),
+ onDrop: (e) => a.route(qse(t, e)),
onClear: () => v({
author: "",
provider: "",
@@ -39191,11 +39654,11 @@ function uce(e) {
tags: []
})
}),
- p.broken.length ? /* @__PURE__ */ (0, L.jsx)(gce, {
+ p.broken.length ? /* @__PURE__ */ (0, L.jsx)(Rce, {
count: p.broken.length,
onManage: a.openManage
}) : null,
- /* @__PURE__ */ (0, L.jsx)(_ce, {
+ /* @__PURE__ */ (0, L.jsx)(zce, {
pending: m,
facets: p,
data: l,
@@ -39206,19 +39669,19 @@ function uce(e) {
"data-follow-pagination": "",
children: [l.has_more ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, L.jsxs)(tT, {
+ children: /* @__PURE__ */ (0, L.jsxs)(TT, {
entity: !0,
enabled: () => !_.busyRef.current,
load: async () => {
await s.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, L.jsx)(oce, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, L.jsx)(Oce, { className: "size-3.5" }), "加载更多"]
}, s.data?.pages.length)
}) : null, x ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
- leadingIcon: _.olderBusy ? void 0 : sce,
+ leadingIcon: _.olderBusy ? void 0 : kce,
"data-follow-older": "",
"aria-busy": _.busy || void 0,
onClick: () => void _.start(!0),
@@ -39228,14 +39691,14 @@ function uce(e) {
}), /* @__PURE__ */ (0, L.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-backfill": "",
- children: Sse(p.sources)
+ children: Wse(p.sources)
})]
}) : null]
}) : null
]
})] });
}
-function dce(e, t) {
+function Nce(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, I.useState)(0), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(""), [u, f] = (0, I.useState)(!1), p = (0, I.useRef)(!1), m = (0, I.useRef)(null), h = (0, I.useRef)({
helpers: n,
actions: r
@@ -39250,7 +39713,7 @@ function dce(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => iw(QP, e),
+ read: (e) => hw(aF, e),
busy: (e) => {
t && (p.current = e, s(e));
},
@@ -39275,7 +39738,7 @@ function dce(e, t) {
p.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await q(QP, e ? {
+ let n = await q(aF, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -39293,7 +39756,7 @@ function dce(e, t) {
olderBusy: c === "older" || u && o
};
}
-function fce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Pce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -39319,7 +39782,7 @@ function fce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function pce({ rows: e, pressed: t, props: n, onPick: r }) {
+function Fce({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -39340,13 +39803,13 @@ function pce({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: c } = i, l = (0, I.useRef)(null), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = DN(l, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = DN(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
+function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: c } = i, l = (0, I.useRef)(null), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = eP(l, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = eP(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
(0, I.useEffect)(() => {
o.wireDrag(p.current), o.wireDrag(m.current), o.wireScroller(m.current);
}, [o]);
let v = [...e.providers], y = v.length + e.tagRows.length > 0, b = t.media === "images";
- return /* @__PURE__ */ (0, L.jsx)(tM, {
+ return /* @__PURE__ */ (0, L.jsx)(EM, {
label: "筛选与排序",
topLabel: h ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -39398,7 +39861,7 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: s(i) }
}, e);
})
- }), /* @__PURE__ */ (0, L.jsx)(fI, {})] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), /* @__PURE__ */ (0, L.jsx)(yI, {})] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: p,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -39407,7 +39870,7 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: g.leave,
- children: [hse.map(([e, n]) => /* @__PURE__ */ (0, L.jsx)("button", {
+ children: [Lse.map(([e, n]) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -39418,7 +39881,7 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), y ? /* @__PURE__ */ (0, L.jsx)(fI, {}) : null]
+ }, e)), y ? /* @__PURE__ */ (0, L.jsx)(yI, {}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-tags": "",
@@ -39433,11 +39896,11 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
onClick: () => a({ provider: e.provider === t ? "" : t }),
dangerouslySetInnerHTML: { __html: o.sourceIcon(t) }
}, t)),
- v.length && e.tagRows.length ? /* @__PURE__ */ (0, L.jsx)(fI, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, L.jsxs)(rM, {
+ v.length && e.tagRows.length ? /* @__PURE__ */ (0, L.jsx)(yI, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, L.jsxs)(OM, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${Ese(e.groups, n)}`,
+ "data-tag-cat": `r34-${Jse(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [o.tagLabel(n), r ? /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39455,11 +39918,11 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(IN, { onPress: c.shuffle }),
- b ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(FN, {
+ /* @__PURE__ */ (0, L.jsx)(lP, { onPress: c.shuffle }),
+ b ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(cP, {
label: "图片布局",
value: i.photoLayout,
- options: cce,
+ options: Ace,
onChange: (e) => c.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
@@ -39476,17 +39939,17 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: s("captions-off") }
})]
})] }) : null,
- gse.map(([e, n]) => {
- let r = t.sort === e, i = Vw(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ Rse.map(([e, n]) => {
+ let r = t.sort === e, i = lT(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e,
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": Cse(e, n, t.sort, t.dir) || void 0,
+ "aria-label": Gse(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = YF(e, t.sort, t.dir);
+ let n = nI(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, L.jsx)(i, { className: "size-3.5" }) : null]
@@ -39496,7 +39959,7 @@ function mce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function hce({ conditions: e, onDrop: t, onClear: n }) {
+function Lce({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -39521,7 +39984,7 @@ function hce({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function gce({ count: e, onManage: t }) {
+function Rce({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -39530,12 +39993,12 @@ function gce({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${s("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function _ce({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = Aw(e, () => o.listSkeletonHtml(a.media));
+function zce({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = Vw(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, L.jsx)(vce, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, L.jsx)(Bce, {
facets: t,
data: n,
context: r,
@@ -39544,39 +40007,39 @@ function _ce({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function vce({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, helpers: o, actions: s } = r, c = xce(r), l = i ? {
+function Bce({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, helpers: o, actions: s } = r, c = Uce(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, u;
return u = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, L.jsx)(ice, {
+ return /* @__PURE__ */ (0, L.jsx)(Ece, {
group: t,
authorSources: l,
media: a.media,
context: n,
- selected: r.selected.has(pI(t, a)),
+ selected: r.selected.has(bI(t, a)),
selectMode: r.selectMode,
- busy: c.busy.get(pI(t, a)) || "",
- failure: c.failures.get(pI(t, a)) || "",
+ busy: c.busy.get(bI(t, a)) || "",
+ failure: c.failures.get(bI(t, a)) || "",
helpers: o,
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${a.media}`);
- }) : /* @__PURE__ */ (0, L.jsx)(yce, { data: t }), /* @__PURE__ */ (0, L.jsx)("div", {
+ }) : /* @__PURE__ */ (0, L.jsx)(Vce, { data: t }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...l,
children: u
});
}
-function pI(e, t) {
- return KF(e, t.media).id;
+function bI(e, t) {
+ return $F(e, t.media).id;
}
-function yce({ data: e }) {
+function Vce({ data: e }) {
let t = (e.groups || []).length ? v("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? v("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : v("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-empty": "",
@@ -39584,22 +40047,22 @@ function yce({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var bce = {
+var Hce = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function xce(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, I.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Map()), c = LF(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Uce(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, I.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Map()), c = WF(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- X.setQueryData(c, (r) => r && XF(r, t, e, n));
+ X.setQueryData(c, (r) => r && rI(r, t, e, n));
}, f = () => void X.invalidateQueries({
queryKey: c,
exact: !0
}), p = (e) => {
- let t = BF(X.getQueryData(c));
+ let t = qF(X.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
@@ -39607,13 +40070,13 @@ function xce(e) {
]) if (t.id === e) return t.status;
return "new";
}, m = It({
- mutationFn: ({ id: e, to: t }) => q(nF, {
+ mutationFn: ({ id: e, to: t }) => q(lF, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), f(), r.toast(bce[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await q(nF, {
+ u(t, n), f(), r.toast(Hce[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await q(lF, {
item: t,
to: i
}), u(t, i), f();
@@ -39658,8 +40121,8 @@ function xce(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function mI({ provider: e, label: t }) {
- let n = pse(e), [r, i] = (0, I.useState)(!1);
+function xI({ provider: e, label: t }) {
+ let n = Fse(e), [r, i] = (0, I.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : null : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("img", {
src: n,
alt: "",
@@ -39668,10 +40131,10 @@ function mI({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, L.jsx)(K_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : null] });
}
-function hI({ group: e, name: t }) {
- let { src: n, fallback: r } = Koe(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
+function SI({ group: e, name: t }) {
+ let { src: n, fallback: r } = mse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, L.jsx)("img", {
src: o,
alt: "",
@@ -39684,18 +40147,18 @@ function hI({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: Goe(t)
+ children: pse(t)
});
}
-function gI({ source: e }) {
- let t = dF(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)($C, {
+function CI({ source: e }) {
+ let t = vF(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: t,
- children: Woe(e)
+ children: fse(e)
});
}
-function _I({ source: e }) {
+function wI({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("a", {
href: e.url,
target: "_blank",
@@ -39707,11 +40170,11 @@ function _I({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var vI = XC(cA, lA, "text-body-2-medium"), Sce = "粘贴来源链接,或输入创作者名、id…", Cce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", wce = "识别中…", Tce = "站内没有查到来源", yI = (e, t) => `${e}:${t.url}`;
-function Ece({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var TI = sw(OA, kA, "text-body-2-medium"), Wce = "粘贴来源链接,或输入创作者名、id…", Gce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Kce = "识别中…", qce = "站内没有查到来源", EI = (e, t) => `${e}:${t.url}`;
+function Jce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, I.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(ck, {
+ }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(Ek, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -39723,17 +40186,17 @@ function Ece({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: XC(sA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: sw(DA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, L.jsx)(sw, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? XC(vI, "bg-background-secondary-default") : vI,
+ className: t === r ? sw(TI, "bg-background-secondary-default") : TI,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -39753,7 +40216,7 @@ function Ece({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function Dce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Yce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -39761,20 +40224,20 @@ function Dce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: zS,
+ leadingIcon: aC,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: sA,
- children: /* @__PURE__ */ (0, L.jsxs)(yk, {
+ className: DA,
+ children: /* @__PURE__ */ (0, L.jsxs)(Lk, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -39790,16 +40253,16 @@ function Dce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, L.jsx)(EA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(oj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(mI, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
@@ -39815,7 +40278,7 @@ function Dce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function Oce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Xce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: e.line,
@@ -39823,7 +40286,7 @@ function Oce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -39834,15 +40297,15 @@ function Oce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = yI(t, e);
- return /* @__PURE__ */ (0, L.jsx)(oj, {
+ let n = EI(t, e);
+ return /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(mI, { provider: e.provider }),
+ /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -39858,22 +40321,22 @@ function Oce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, L.jsx)(EA, { children: Tce }),
+ }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: qce }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, L.jsx)(kA, {
+ }), /* @__PURE__ */ (0, L.jsx)(ej, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, L.jsx)(EA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, I.useState)(""), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(!1), [p, m] = (0, I.useState)(null), [h, g] = (0, I.useState)(-1), _ = (0, I.useRef)(null), v = (0, I.useRef)(null), [y, b] = (0, I.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, I.useState)(""), [T, E] = (0, I.useState)(0);
(0, I.useEffect)(() => {
let e = a.trim();
@@ -39885,18 +40348,18 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
return () => clearTimeout(t);
}, [a]);
let D = Ft({
- queryKey: Roe(l),
- queryFn: ({ signal: e }) => $oe(l, e),
+ queryKey: ose(l),
+ queryFn: ({ signal: e }) => xse(l, e),
enabled: l.length > 0 && d
}), O = (0, I.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = ej({
- queryKey: Loe,
- queryFn: ({ signal: e }) => Qoe(e),
- start: (e) => ese([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Tj({
+ queryKey: ase,
+ queryFn: ({ signal: e }) => bse(e),
+ start: (e) => Sse([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(K(e)),
onFinish: (e) => {
@@ -39930,14 +40393,14 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: yI(t, e)
+ key: EI(t, e)
})).filter((e) => !x.has(e.key))), ae = It({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await tse(r.candidate);
+ let e = await Cse(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${K(e)}`);
@@ -39945,7 +40408,7 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await SF(n);
+ await kF(n);
} catch (e) {
t.push(K(e));
}
@@ -39955,7 +40418,7 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (MF(), e.failures.length) {
+ if (zF(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -39964,7 +40427,7 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -39984,15 +40447,15 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: [/* @__PURE__ */ (0, L.jsx)($j, {
"aria-label": "来源链接、名字或 id",
- placeholder: Sce,
+ placeholder: Wce,
value: a,
- leadingIcon: QS,
+ leadingIcon: gC,
isDisabled: n,
onChange: o,
onKeyDown: F
- }), P ? /* @__PURE__ */ (0, L.jsx)(Ece, {
+ }), P ? /* @__PURE__ */ (0, L.jsx)(Jce, {
field: _,
menu: v,
options: O,
@@ -40002,7 +40465,7 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, L.jsx)(Dce, {
+ /* @__PURE__ */ (0, L.jsx)(Yce, {
credentials: t,
hidden: y,
onHidden: b,
@@ -40020,11 +40483,11 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
label: k.message || `查找中:${k.checked || 0}/${k.total}`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: se ? Cce : wce }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: se ? Gce : Kce }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -40033,8 +40496,8 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Oce, {
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Xce, {
row: e,
at: t,
hidden: y,
@@ -40089,16 +40552,16 @@ function kce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Ace = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, bI = (e) => e.alias;
-function jce(e, t, n) {
+var Qce = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, DI = (e) => e.alias;
+function $ce(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 xI({ sources: e, name: t, canonicalKey: n }) {
+function OI({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(hI, {
- group: jce(e, t, n),
+ children: [/* @__PURE__ */ (0, L.jsx)(SI, {
+ group: $ce(e, t, n),
name: t
}), /* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
@@ -40106,15 +40569,15 @@ function xI({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = It({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await TF(n.canonical, n.alias);
+ await MF(n.canonical, n.alias);
} catch (n) {
- throw t && MF(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && zF(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -40124,19 +40587,19 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), MF(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), zF(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
}), m = It({
- mutationFn: (e) => TF(e.canonical, e.alias),
+ mutationFn: (e) => MF(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), MF(), i("已保存创作者别名");
+ c(""), u(""), f(""), zF(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
}), h = It({
- mutationFn: (e) => nse(e),
+ mutationFn: (e) => wse(e),
onSuccess: () => {
- c(""), MF(), i("已移除创作者别名");
+ c(""), zF(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -40146,9 +40609,9 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(bI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
+ }, v = t.filter((e) => a.has(DI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40159,10 +40622,10 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(OA, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -40170,7 +40633,7 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -40191,13 +40654,13 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(DA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, L.jsx)(QA, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "待合并" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "待合并" }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -40219,44 +40682,44 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, L.jsx)(uj, { children: /* @__PURE__ */ (0, L.jsxs)(sj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Fj, { children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(Uk, { children: [
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(sA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "select",
- children: /* @__PURE__ */ (0, L.jsx)(oj, {
+ children: /* @__PURE__ */ (0, L.jsx)(jj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(bI)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(DI)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, L.jsx)(Wk, {
+ /* @__PURE__ */ (0, L.jsx)(cA, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(Kk, { children: t.map((e) => {
- let t = bI(e);
- return /* @__PURE__ */ (0, L.jsxs)(Yk, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(uA, { children: t.map((e) => {
+ let t = DI(e);
+ return /* @__PURE__ */ (0, L.jsxs)(pA, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)(oj, {
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(jj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -40265,16 +40728,16 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)(xI, {
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(OI, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: e.alias }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: e.alias }),
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -40291,27 +40754,27 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(OA, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, L.jsx)(uj, { children: /* @__PURE__ */ (0, L.jsxs)(sj, {
+ }), e.length ? /* @__PURE__ */ (0, L.jsx)(Fj, { children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(Uk, { children: [/* @__PURE__ */ (0, L.jsx)(Wk, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(sA, { children: [/* @__PURE__ */ (0, L.jsx)(cA, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, L.jsx)(Wk, {
+ }), /* @__PURE__ */ (0, L.jsx)(cA, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, L.jsx)(Kk, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(Yk, {
+ })] }), /* @__PURE__ */ (0, L.jsx)(uA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(pA, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)(xI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)(OI, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, L.jsx)(Zk, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, L.jsx)(hA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, L.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",
@@ -40319,13 +40782,13 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: MS,
+ leadingIcon: QS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(h.isPending),
onClick: () => void g({
title: "移除创作者别名",
- body: Ace(e.name),
+ body: Qce(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -40333,9 +40796,9 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: rC,
+ icon: vC,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -40345,33 +40808,33 @@ function Mce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Nce = "这些账号信息存在哪里", Pce = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", Fce = "将清除这个来源在本机和共享副本中的登录凭据。", Ice = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function Lce(e, t) {
+var tle = "这些账号信息存在哪里", nle = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", rle = "将清除这个来源在本机和共享副本中的登录凭据。", ile = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function ale(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Rce({ row: e }) {
- if (PF(e)) return /* @__PURE__ */ (0, L.jsx)($C, {
+function ole({ row: e }) {
+ if (VF(e)) return /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)($C, {
+ return /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: t,
- children: mse[e.requirement] || ""
+ children: Ise[e.requirement] || ""
});
}
-function zce({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = PF(e), c = It({
- mutationFn: (t) => rse(e.provider, t),
+function sle({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = VF(e), c = It({
+ mutationFn: (t) => Tse(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: aF,
+ queryKey: fF,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -40387,17 +40850,17 @@ function zce({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsxs)(EA, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(kA, {
+ /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(ej, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, L.jsx)(EA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.howto }) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-end gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)($j, {
type: "password",
label: n,
- placeholder: Lce(e, n),
+ placeholder: ale(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -40425,7 +40888,7 @@ function zce({ row: e, readOnly: t, toast: n }) {
...Y(c.isPending),
onClick: () => void g({
title: "清除来源凭据",
- body: Fce,
+ body: rle,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -40433,9 +40896,9 @@ function zce({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, L.jsx)(DA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(EA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, L.jsx)(vA, {
+ a ? /* @__PURE__ */ (0, L.jsx)(QA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, L.jsx)(UA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -40443,25 +40906,25 @@ function zce({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: Ice
+ children: ile
}) : null
]
});
}
-function Bce({ row: e, readOnly: t, toast: n }) {
+function cle({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, L.jsx)(mI, { provider: e.provider })
+ children: /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider })
}),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, L.jsx)(Rce, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, L.jsx)($C, {
+ /* @__PURE__ */ (0, L.jsx)(ole, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -40470,13 +40933,13 @@ function Bce({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(EA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, L.jsx)(MA, {
- summary: PF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !PF(e),
- children: /* @__PURE__ */ (0, L.jsx)(zce, {
+ children: [r, /* @__PURE__ */ (0, L.jsx)(rj, {
+ summary: VF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !VF(e),
+ children: /* @__PURE__ */ (0, L.jsx)(sle, {
row: e,
readOnly: t,
toast: n
@@ -40484,10 +40947,10 @@ function Bce({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function Vce({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !PF(e));
+function lle({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !VF(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40504,7 +40967,7 @@ function Vce({ data: e, readOnly: t, toast: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col overflow-hidden",
- children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(Bce, {
+ children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(cle, {
row: e,
readOnly: t,
toast: n
@@ -40515,13 +40978,13 @@ function Vce({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: Nce
+ children: tle
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: Pce
+ children: nle
}),
- /* @__PURE__ */ (0, L.jsx)(vA, {
+ /* @__PURE__ */ (0, L.jsx)(UA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -40530,16 +40993,16 @@ function Vce({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: KS,
+ icon: fC,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function SI() {
+function kI() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -40552,24 +41015,24 @@ function SI() {
group: (e) => e
};
}
-function CI(e, t) {
+function AI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function wI(e, t) {
+function jI(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: CI(n, t[e])
+ [e]: AI(n, t[e])
}));
};
}
-function TI(e) {
+function MI(e) {
return e instanceof Function;
}
-function Hce(e) {
+function ule(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function Uce(e, t) {
+function dle(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -40579,7 +41042,7 @@ function Uce(e, t) {
};
return r(e), n;
}
-function EI(e, t, n) {
+function NI(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -40601,21 +41064,21 @@ function EI(e, t, n) {
return i;
};
}
-function DI(e, t, n, r) {
+function PI(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function Wce(e, t, n, r) {
+function fle(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: EI(() => [
+ getContext: NI(() => [
e,
n,
t,
@@ -40627,13 +41090,13 @@ function Wce(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), DI(e.options, "debugCells", "cell.getContext"))
+ }), PI(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function Gce(e, t, n, r) {
+function ple(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -40650,17 +41113,17 @@ function Gce(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: EI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], DI(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: EI(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: NI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], PI(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: NI(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, DI(e.options, "debugColumns", "column.getLeafColumns"))
+ }, PI(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var OI = "debugHeaders";
-function kI(e, t, n) {
+var FI = "debugHeaders";
+function II(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -40688,42 +41151,42 @@ function kI(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var Kce = { createTable: (e) => {
- e.getHeaderGroups = EI(() => [
+var mle = { createTable: (e) => {
+ e.getHeaderGroups = NI(() => [
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 AI(t, [
+ return LI(t, [
...a,
...s,
...o
], e);
- }, DI(e.options, OI, "getHeaderGroups")), e.getCenterHeaderGroups = EI(() => [
+ }, PI(e.options, FI, "getHeaderGroups")), e.getCenterHeaderGroups = NI(() => [
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))), AI(t, n, e, "center")), DI(e.options, OI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = EI(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), LI(t, n, e, "center")), PI(e.options, FI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = NI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => AI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), DI(e.options, OI, "getLeftHeaderGroups")), e.getRightHeaderGroups = EI(() => [
+ ], (t, n, r) => LI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), PI(e.options, FI, "getLeftHeaderGroups")), e.getRightHeaderGroups = NI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => AI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), DI(e.options, OI, "getRightHeaderGroups")), e.getFooterGroups = EI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), DI(e.options, OI, "getFooterGroups")), e.getLeftFooterGroups = EI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), DI(e.options, OI, "getLeftFooterGroups")), e.getCenterFooterGroups = EI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), DI(e.options, OI, "getCenterFooterGroups")), e.getRightFooterGroups = EI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), DI(e.options, OI, "getRightFooterGroups")), e.getFlatHeaders = EI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), DI(e.options, OI, "getFlatHeaders")), e.getLeftFlatHeaders = EI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), DI(e.options, OI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = EI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), DI(e.options, OI, "getCenterFlatHeaders")), e.getRightFlatHeaders = EI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), DI(e.options, OI, "getRightFlatHeaders")), e.getCenterLeafHeaders = EI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => LI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), PI(e.options, FI, "getRightHeaderGroups")), e.getFooterGroups = NI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getFooterGroups")), e.getLeftFooterGroups = NI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getLeftFooterGroups")), e.getCenterFooterGroups = NI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getCenterFooterGroups")), e.getRightFooterGroups = NI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getRightFooterGroups")), e.getFlatHeaders = NI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getFlatHeaders")), e.getLeftFlatHeaders = NI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = NI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getCenterFlatHeaders")), e.getRightFlatHeaders = NI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getRightFlatHeaders")), e.getCenterLeafHeaders = NI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), DI(e.options, OI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = EI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), PI(e.options, FI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = NI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), DI(e.options, OI, "getLeftLeafHeaders")), e.getRightLeafHeaders = EI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), PI(e.options, FI, "getLeftLeafHeaders")), e.getRightLeafHeaders = NI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), DI(e.options, OI, "getRightLeafHeaders")), e.getLeafHeaders = EI(() => [
+ }), PI(e.options, FI, "getRightLeafHeaders")), e.getLeafHeaders = NI(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -40731,9 +41194,9 @@ var Kce = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), DI(e.options, OI, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), PI(e.options, FI, "getLeafHeaders"));
} };
-function AI(e, t, n, r) {
+function LI(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;
@@ -40751,7 +41214,7 @@ function AI(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = kI(n, c, {
+ let i = II(n, c, {
id: [
r,
t,
@@ -40768,7 +41231,7 @@ function AI(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => kI(n, e, {
+ s(t.map((e, t) => II(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -40786,7 +41249,7 @@ function AI(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var qce = (e, t, n, r, i, a, o) => {
+var hle = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -40807,7 +41270,7 @@ var qce = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => Uce(s.subRows, (e) => e.subRows),
+ getLeafRows: () => dle(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -40818,95 +41281,95 @@ var qce = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: EI(() => [e.getAllLeafColumns()], (t) => t.map((t) => Wce(e, s, t, t.id)), DI(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: EI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), DI(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: NI(() => [e.getAllLeafColumns()], (t) => t.map((t) => fle(e, s, t, t.id)), PI(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: NI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), PI(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, Jce = { createColumn: (e, t) => {
+}, gle = { 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();
};
-} }, jI = (e, t, n) => {
+} }, RI = (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));
};
-jI.autoRemove = (e) => VI(e);
-var MI = (e, t, n) => {
+RI.autoRemove = (e) => JI(e);
+var zI = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-MI.autoRemove = (e) => VI(e);
-var NI = (e, t, n) => {
+zI.autoRemove = (e) => JI(e);
+var BI = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-NI.autoRemove = (e) => VI(e);
-var PI = (e, t, n) => e.getValue(t)?.includes(n);
-PI.autoRemove = (e) => VI(e);
-var FI = (e, t, n) => !n.some((n) => {
+BI.autoRemove = (e) => JI(e);
+var VI = (e, t, n) => e.getValue(t)?.includes(n);
+VI.autoRemove = (e) => JI(e);
+var HI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-FI.autoRemove = (e) => VI(e) || !(e != null && e.length);
-var II = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-II.autoRemove = (e) => VI(e) || !(e != null && e.length);
-var LI = (e, t, n) => e.getValue(t) === n;
-LI.autoRemove = (e) => VI(e);
-var RI = (e, t, n) => e.getValue(t) == n;
-RI.autoRemove = (e) => VI(e);
-var zI = (e, t, n) => {
+HI.autoRemove = (e) => JI(e) || !(e != null && e.length);
+var UI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+UI.autoRemove = (e) => JI(e) || !(e != null && e.length);
+var WI = (e, t, n) => e.getValue(t) === n;
+WI.autoRemove = (e) => JI(e);
+var GI = (e, t, n) => e.getValue(t) == n;
+GI.autoRemove = (e) => JI(e);
+var KI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-zI.resolveFilterValue = (e) => {
+KI.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, zI.autoRemove = (e) => VI(e) || VI(e[0]) && VI(e[1]);
-var BI = {
- includesString: jI,
- includesStringSensitive: MI,
- equalsString: NI,
- arrIncludes: PI,
- arrIncludesAll: FI,
- arrIncludesSome: II,
- equals: LI,
- weakEquals: RI,
- inNumberRange: zI
+}, KI.autoRemove = (e) => JI(e) || JI(e[0]) && JI(e[1]);
+var qI = {
+ includesString: RI,
+ includesStringSensitive: zI,
+ equalsString: BI,
+ arrIncludes: VI,
+ arrIncludesAll: HI,
+ arrIncludesSome: UI,
+ equals: WI,
+ weakEquals: GI,
+ inNumberRange: KI
};
-function VI(e) {
+function JI(e) {
return e == null || e === "";
}
-var Yce = {
+var _le = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: wI("columnFilters", e),
+ onColumnFiltersChange: jI("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? BI.includesString : typeof n == "number" ? BI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? BI.equals : Array.isArray(n) ? BI.arrIncludes : BI.weakEquals;
- }, e.getFilterFn = () => TI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? BI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? qI.includesString : typeof n == "number" ? qI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? qI.equals : Array.isArray(n) ? qI.arrIncludes : qI.weakEquals;
+ }, e.getFilterFn = () => MI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? qI[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 = CI(n, i ? i.value : void 0);
- if (HI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = AI(n, i ? i.value : void 0);
+ if (YI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -40921,19 +41384,19 @@ var Yce = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => CI(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => AI(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && HI(t.getFilterFn(), e.value, t));
+ return !(t && YI(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 HI(e, t, n) {
+function YI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var UI = {
+var XI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -40969,7 +41432,7 @@ var UI = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!Hce(n)) return;
+ if (!ule(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];
@@ -40977,7 +41440,7 @@ var UI = {
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
-}, Xce = {
+}, vle = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -40990,7 +41453,7 @@ var UI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: wI("grouping", e),
+ onGroupingChange: jI("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -41003,11 +41466,11 @@ var UI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return UI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return UI.extent;
+ if (typeof n == "number") return XI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return XI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return TI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? UI[e.columnDef.aggregationFn];
+ return MI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? XI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -41029,27 +41492,27 @@ var UI = {
};
}
};
-function Zce(e, t, n) {
+function yle(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 Qce = {
+var ble = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: wI("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: jI("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = EI((e) => [YI(t, e)], (t) => t.findIndex((t) => t.id === e.id), DI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => YI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = YI(t, n);
+ e.getIndex = NI((e) => [nL(t, e)], (t) => t.findIndex((t) => t.id === e.id), PI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => nL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = nL(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 = EI(() => [
+ }, e._getOrderColumnsFn = NI(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -41064,18 +41527,18 @@ var Qce = {
}
i = [...i, ...n];
}
- return Zce(i, t, n);
- }, DI(e.options, "debugTable", "_getOrderColumnsFn"));
+ return yle(i, t, n);
+ }, PI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, WI = () => ({
+}, ZI = () => ({
left: [],
right: []
-}), $ce = {
+}), xle = {
getInitialState: (e) => ({
- columnPinning: WI(),
+ columnPinning: ZI(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: wI("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: jI("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -41099,75 +41562,75 @@ var Qce = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = EI(() => [
+ e.getCenterVisibleCells = NI(() => [
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));
- }, DI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = EI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, PI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = NI(() => [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"
- })), DI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = EI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), PI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = NI(() => [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"
- })), DI(t.options, "debugRows", "getRightVisibleCells"));
+ })), PI(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 ? WI() : e.initialState?.columnPinning ?? WI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? ZI() : e.initialState?.columnPinning ?? ZI()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = EI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), DI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = EI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), DI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = EI(() => [
+ }, e.getLeftLeafColumns = NI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), PI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = NI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), PI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = NI(() => [
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));
- }, DI(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, PI(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function ele(e) {
+function Sle(e) {
return e || (typeof document < "u" ? document : null);
}
-var GI = {
+var QI = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, KI = () => ({
+}, $I = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), tle = {
- getDefaultColumnDef: () => GI,
+}), Cle = {
+ getDefaultColumnDef: () => QI,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: KI(),
+ columnSizingInfo: $I(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: wI("columnSizing", e),
- onColumnSizingInfoChange: wI("columnSizingInfo", e)
+ onColumnSizingChange: jI("columnSizing", e),
+ onColumnSizingInfoChange: jI("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? GI.minSize, n ?? e.columnDef.size ?? GI.size), e.columnDef.maxSize ?? GI.maxSize);
- }, e.getStart = EI((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? QI.minSize, n ?? e.columnDef.size ?? QI.size), e.columnDef.maxSize ?? QI.maxSize);
+ }, e.getStart = NI((e) => [
e,
- YI(t, e),
+ nL(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), DI(t.options, "debugColumns", "getStart")), e.getAfter = EI((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), PI(t.options, "debugColumns", "getStart")), e.getAfter = NI((e) => [
e,
- YI(t, e),
+ nL(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), DI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), PI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -41189,8 +41652,8 @@ var GI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), JI(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 = JI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), tL(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 = tL(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) => {
@@ -41215,7 +41678,7 @@ var GI = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = ele(n), m = {
+ }, p = Sle(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -41225,8 +41688,8 @@ var GI = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = nle() ? { passive: !1 } : !1;
- JI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = wle() ? { passive: !1 } : !1;
+ tL(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,
@@ -41242,12 +41705,12 @@ var GI = {
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 ? KI() : e.initialState.columnSizingInfo ?? KI());
+ e.setColumnSizingInfo(t ? $I() : e.initialState.columnSizingInfo ?? $I());
}, 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;
}
-}, qI = null;
-function nle() {
- if (typeof qI == "boolean") return qI;
+}, eL = null;
+function wle() {
+ if (typeof eL == "boolean") return eL;
let e = !1;
try {
let t = { get passive() {
@@ -41257,17 +41720,17 @@ function nle() {
} catch {
e = !1;
}
- return qI = e, qI;
+ return eL = e, eL;
}
-function JI(e) {
+function tL(e) {
return e.type === "touchstart";
}
-var rle = {
+var Tle = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: wI("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: jI("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -41282,7 +41745,7 @@ var rle = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = EI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), DI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = EI(() => [
+ e._getAllVisibleCells = NI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), PI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = NI(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -41290,10 +41753,10 @@ var rle = {
...e,
...t,
...n
- ], DI(t.options, "debugRows", "getVisibleCells"));
+ ], PI(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => EI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), DI(e.options, "debugColumns", t));
+ let t = (t, n) => NI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), PI(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) => {
@@ -41306,20 +41769,20 @@ var rle = {
};
}
};
-function YI(e, t) {
+function nL(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var ile = { createTable: (e) => {
+var Ele = { 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();
};
-} }, ale = {
+} }, Dle = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: wI("globalFilter", e),
+ onGlobalFilterChange: jI("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -41331,22 +41794,22 @@ var ile = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => BI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => qI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return TI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? BI[t];
+ return MI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? qI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, ole = {
+}, Ole = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: wI("expanded", e),
+ onExpandedChange: jI("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -41417,18 +41880,18 @@ var ile = { createTable: (e) => {
};
};
}
-}, XI = 0, ZI = 10, QI = () => ({
- pageIndex: XI,
- pageSize: ZI
-}), sle = {
+}, rL = 0, iL = 10, aL = () => ({
+ pageIndex: rL,
+ pageSize: iL
+}), kle = {
getInitialState: (e) => ({
...e,
pagination: {
- ...QI(),
+ ...aL(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: wI("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: jI("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -41444,11 +41907,11 @@ var ile = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => CI(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? QI() : e.initialState.pagination ?? QI());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => AI(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? aL() : e.initialState.pagination ?? aL());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = CI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = AI(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
@@ -41456,13 +41919,13 @@ var ile = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? XI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? XI);
+ e.setPageIndex(t ? rL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? rL);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? ZI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? ZI);
+ e.setPageSize(t ? iL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? iL);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, CI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, AI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -41470,28 +41933,28 @@ var ile = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = CI(t, e.options.pageCount ?? -1);
+ let r = AI(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = EI(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = NI(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, DI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, PI(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;
}
-}, $I = () => ({
+}, oL = () => ({
top: [],
bottom: []
-}), cle = {
+}), Ale = {
getInitialState: (e) => ({
- rowPinning: $I(),
+ rowPinning: oL(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: wI("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: jI("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -41530,7 +41993,7 @@ var ile = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? $I() : e.initialState?.rowPinning ?? $I()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? oL() : e.initialState?.rowPinning ?? oL()), 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) => {
@@ -41539,22 +42002,22 @@ var ile = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = EI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), DI(e.options, "debugRows", "getTopRows")), e.getBottomRows = EI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), DI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = EI(() => [
+ })), e.getTopRows = NI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), PI(e.options, "debugRows", "getTopRows")), e.getBottomRows = NI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), PI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = NI(() => [
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));
- }, DI(e.options, "debugRows", "getCenterRows"));
+ }, PI(e.options, "debugRows", "getCenterRows"));
}
-}, lle = {
+}, jle = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: wI("rowSelection", e),
+ onRowSelectionChange: jI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -41573,21 +42036,21 @@ var ile = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- eL(i, t.id, r, !0, e);
+ sL(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = EI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? tL(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = NI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, DI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = EI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? tL(e, n) : {
+ }, PI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = NI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, DI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = EI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? tL(e, n) : {
+ }, PI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = NI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, DI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, PI(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 = () => {
@@ -41611,17 +42074,17 @@ var ile = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return eL(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return sL(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return nL(e, n);
+ return lL(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return rL(e, n) === "some";
+ return uL(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return rL(e, n) === "all";
+ return uL(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) => {
@@ -41629,16 +42092,16 @@ var ile = { createTable: (e) => {
};
};
}
-}, eL = (e, t, n, r, i) => {
+}, sL = (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) => eL(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => sL(e, t.id, n, r, i));
};
-function tL(e, t) {
+function cL(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = nL(e, n);
+ let o = lL(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -41651,32 +42114,32 @@ function tL(e, t) {
rowsById: i
};
}
-function nL(e, t) {
+function lL(e, t) {
return t[e.id] ?? !1;
}
-function rL(e, t, n) {
+function uL(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() && (nL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = rL(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (lL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = uL(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var iL = /([0-9]+)/gm, ule = (e, t, n) => sL(oL(e.getValue(n)).toLowerCase(), oL(t.getValue(n)).toLowerCase()), dle = (e, t, n) => sL(oL(e.getValue(n)), oL(t.getValue(n))), fle = (e, t, n) => aL(oL(e.getValue(n)).toLowerCase(), oL(t.getValue(n)).toLowerCase()), ple = (e, t, n) => aL(oL(e.getValue(n)), oL(t.getValue(n))), mle = (e, t, n) => {
+var dL = /([0-9]+)/gm, Mle = (e, t, n) => mL(pL(e.getValue(n)).toLowerCase(), pL(t.getValue(n)).toLowerCase()), Nle = (e, t, n) => mL(pL(e.getValue(n)), pL(t.getValue(n))), Ple = (e, t, n) => fL(pL(e.getValue(n)).toLowerCase(), pL(t.getValue(n)).toLowerCase()), Fle = (e, t, n) => fL(pL(e.getValue(n)), pL(t.getValue(n))), Ile = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, hle = (e, t, n) => aL(e.getValue(n), t.getValue(n));
-function aL(e, t) {
+}, Lle = (e, t, n) => fL(e.getValue(n), t.getValue(n));
+function fL(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function oL(e) {
+function pL(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function sL(e, t) {
- let n = e.split(iL).filter(Boolean), r = t.split(iL).filter(Boolean);
+function mL(e, t) {
+ let n = e.split(dL).filter(Boolean), r = t.split(dL).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])) {
@@ -41690,22 +42153,22 @@ function sL(e, t) {
}
return n.length - r.length;
}
-var cL = {
- alphanumeric: ule,
- alphanumericCaseSensitive: dle,
- text: fle,
- textCaseSensitive: ple,
- datetime: mle,
- basic: hle
-}, gle = [
- Kce,
- rle,
- Qce,
- $ce,
- Jce,
- Yce,
- ile,
- ale,
+var hL = {
+ alphanumeric: Mle,
+ alphanumericCaseSensitive: Nle,
+ text: Ple,
+ textCaseSensitive: Fle,
+ datetime: Ile,
+ basic: Lle
+}, Rle = [
+ mle,
+ Tle,
+ ble,
+ xle,
+ gle,
+ _le,
+ Ele,
+ Dle,
{
getInitialState: (e) => ({
sorting: [],
@@ -41716,7 +42179,7 @@ var cL = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: wI("sorting", e),
+ onSortingChange: jI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -41724,13 +42187,13 @@ var cL = {
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 cL.datetime;
- if (typeof n == "string" && (r = !0, n.split(iL).length > 1)) return cL.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return hL.datetime;
+ if (typeof n == "string" && (r = !0, n.split(dL).length > 1)) return hL.alphanumeric;
}
- return r ? cL.text : cL.basic;
+ return r ? hL.text : hL.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return TI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? cL[e.columnDef.sortingFn];
+ return MI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? hL[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -41767,15 +42230,15 @@ var cL = {
}, 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());
}
},
- Xce,
- ole,
- sle,
- cle,
- lle,
- tle
+ vle,
+ Ole,
+ kle,
+ Ale,
+ jle,
+ Cle
];
-function _le(e) {
- let t = [...gle, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function zle(e) {
+ let t = [...Rle, ...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 ?? {} };
@@ -41801,7 +42264,7 @@ function _le(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = CI(e, n.options);
+ let t = AI(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -41816,7 +42279,7 @@ function _le(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: EI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: NI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -41827,20 +42290,20 @@ function _le(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), DI(e, "debugColumns", "_getDefaultColumnDef")),
+ }), PI(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: EI(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: NI(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = Gce(n, e, i, r), o = e;
+ let a = ple(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, DI(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: EI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), DI(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: EI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), DI(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: EI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), DI(e, "debugColumns", "getAllLeafColumns")),
+ }, PI(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: NI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), PI(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: NI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), PI(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: NI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), PI(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -41850,8 +42313,8 @@ function _le(e) {
}
return n;
}
-function lL() {
- return (e) => EI(() => [e.options.data], (t) => {
+function gL() {
+ return (e) => NI(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -41860,7 +42323,7 @@ function lL() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = qce(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = hle(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));
@@ -41869,9 +42332,9 @@ function lL() {
return o;
};
return n.rows = r(t), n;
- }, DI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, PI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function vle(e) {
+function Ble(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -41882,8 +42345,8 @@ function vle(e) {
rowsById: e.rowsById
};
}
-function yle(e) {
- return (e) => EI(() => [
+function Vle(e) {
+ return (e) => NI(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -41896,7 +42359,7 @@ function yle(e) {
rows: a,
flatRows: o,
rowsById: s
- } : vle({
+ } : Ble({
rows: a,
flatRows: o,
rowsById: s
@@ -41905,32 +42368,32 @@ function yle(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, DI(e.options, "debugTable", "getPaginationRowModel"));
+ }, PI(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function uL(e, t) {
- return e ? ble(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
+function _L(e, t) {
+ return e ? Hle(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
}
-function ble(e) {
- return xle(e) || typeof e == "function" || Sle(e);
+function Hle(e) {
+ return Ule(e) || typeof e == "function" || Wle(e);
}
-function xle(e) {
+function Ule(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Sle(e) {
+function Wle(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function dL(e) {
+function vL(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = I.useState(() => ({ current: _le(t) })), [r, i] = I.useState(() => n.current.initialState);
+ }, [n] = I.useState(() => ({ current: zle(t) })), [r, i] = I.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -41945,7 +42408,7 @@ function dL(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Cle = ZC({
+var Gle = cw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -42007,23 +42470,23 @@ var Cle = ZC({
}
}
});
-function wle({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Cle[t];
+function Kle({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Gle[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: XC("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? XC("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: sw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? sw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, L.jsx)("span", {
- className: XC("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, L.jsx)("span", { className: XC("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: sw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, L.jsx)("span", { className: sw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function fL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(vae, {
+function yL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(wae, {
ref: i,
...a,
- className: (t) => XC("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(wle, {
+ className: (t) => sw("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Kle, {
state: e,
size: n,
shape: r
@@ -42035,15 +42498,40 @@ function fL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var pL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover";
-//#endregion
-//#region src/react/components/selection-dock.tsx
-function mL({ children: e, count: t, label: n }) {
- return /* @__PURE__ */ (0, L.jsxs)("div", {
+var bL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", xL = "(prefers-reduced-motion: reduce)", qle = () => matchMedia(xL).matches, Jle = (e) => {
+ let t = matchMedia(xL);
+ return t.addEventListener("change", e), () => t.removeEventListener("change", e);
+};
+function Yle({ children: e, count: t, label: n }) {
+ let r = Hu(), i = (0, I.useSyncExternalStore)(Jle, qle, () => !1), { isFocusVisible: a } = eh(), o = i || a, s = {
+ opacity: 0,
+ transform: "translate(-50%, 8px)"
+ };
+ return /* @__PURE__ */ (0, L.jsxs)(rp.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
"data-glass-pane": "",
+ inert: !r,
+ "aria-hidden": !r || void 0,
+ initial: !o && s,
+ animate: {
+ opacity: 1,
+ transform: "translate(-50%, 0px)"
+ },
+ exit: {
+ ...s,
+ transition: { duration: o ? 0 : .12 }
+ },
+ transition: {
+ duration: o ? 0 : .16,
+ ease: [
+ .23,
+ 1,
+ .32,
+ 1
+ ]
+ },
children: [/* @__PURE__ */ (0, L.jsx)("span", {
role: "status",
className: "px-2 text-body-2-regular whitespace-nowrap text-text-primary",
@@ -42051,10 +42539,13 @@ function mL({ children: e, count: t, label: n }) {
}), e]
});
}
+function SL({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, L.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, L.jsx)(Yle, { ...t }, "selection") : null });
+}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var Tle = "输入女优名,到 JavDB 找她的演员页";
-function Ele(e, t) {
+var Xle = "输入女优名,到 JavDB 找她的演员页";
+function Zle(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -42073,10 +42564,10 @@ function Ele(e, t) {
blocked: !1
};
}
-function Dle({ card: e, picked: t, onPick: n }) {
+function Qle({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(oj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -42086,7 +42577,7 @@ function Dle({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, L.jsx)($C, {
+ e.record ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "neutral",
children: e.record
@@ -42097,16 +42588,16 @@ function Dle({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(kA, {
+ }), /* @__PURE__ */ (0, L.jsx)(ej, {
href: e.url,
children: e.id
})]
});
}
-function Ole({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = dw(), u = () => {
+function $le({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Sw(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => ose(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => Ose(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -42114,12 +42605,12 @@ function Ole({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => sse(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => kse(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? Ele(a, s) : null;
+ }, m = a ? Zle(a, s) : null;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42132,11 +42623,11 @@ function Ole({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)($j, {
"aria-label": "女优名",
- placeholder: Tle,
+ placeholder: Xle,
value: r,
- leadingIcon: QS,
+ leadingIcon: gC,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -42157,16 +42648,16 @@ function Ole({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(Dle, {
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(Qle, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, L.jsx)(EA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(EA, {
+ }, e.id)) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(ZA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -42193,7 +42684,7 @@ function Ole({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var kle = {
+var eue = {
select: "选择",
name: "名称",
kind: "类型",
@@ -42203,33 +42694,33 @@ var kle = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, Ale = /* @__PURE__ */ new Set(["select", "actions"]), hL = () => X.invalidateQueries({
- queryKey: oF,
+}, tue = /* @__PURE__ */ new Set(["select", "actions"]), CL = () => X.invalidateQueries({
+ queryKey: pF,
exact: !0
-}), gL = (e) => e.name || e.url, jle = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function Mle(e) {
+}), wL = (e) => e.name || e.url, nue = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function rue(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function Nle({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, L.jsx)($C, {
+function iue({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)($C, {
+ }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, L.jsx)($C, {
+ }) : /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function Ple({ source: e, avatarInner: t }) {
+function aue({ source: e, avatarInner: t }) {
let n = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -42237,31 +42728,31 @@ function Ple({ source: e, avatarInner: t }) {
} : null;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${pL}`,
- dangerouslySetInnerHTML: { __html: t(gL(e), n, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${bL}`,
+ dangerouslySetInnerHTML: { __html: t(wL(e), n, null, "performer") }
});
}
-var Fle = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function Ile(e) {
+var oue = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function sue(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function _L(e, t) {
+function TL(e, t) {
let n = e.length === 1 ? e[0] : null;
return g({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${gL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${wL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function Lle({ readOnly: e, toast: t, avatarInner: n }) {
+function cue({ readOnly: e, toast: t, avatarInner: n }) {
let r = Ft({
- queryKey: oF,
- queryFn: ({ signal: e }) => EF(e)
- }), i = dw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set());
+ queryKey: pF,
+ queryFn: ({ signal: e }) => NF(e)
+ }), i = Sw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set());
(0, I.useEffect)(() => {
c((e) => {
let t = new Set(o.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
@@ -42271,7 +42762,7 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
let u = It({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await OF(t) : await DF(t, e.action === "enabled");
+ e.action === "remove" ? await FF(t) : await PF(t, e.action === "enabled");
});
return {
...e,
@@ -42280,13 +42771,13 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (c(/* @__PURE__ */ new Set()), hL(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ if (c(/* @__PURE__ */ new Set()), CL(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
let e = n[0];
i.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
}
},
onError: (e) => i.setError(K(e))
- }), d = (0, I.useMemo)(() => Ile(o), [o]), f = (0, I.useRef)({
+ }), d = (0, I.useMemo)(() => sue(o), [o]), f = (0, I.useRef)({
readOnly: e,
avatarInner: n,
shared: d,
@@ -42300,34 +42791,34 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
avatarInner: n,
shared: d,
busy: i.busy,
- toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => DF(e.id, t, n), () => void hL()),
- fetch: (e) => void i.run(`check-${e.id}`, (t) => kF(t, [e.id]), () => void hL()),
- remove: (e) => void _L([e], async () => {
- await OF(e.id), t(`已移除订阅源「${gL(e)}」`), hL();
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => PF(e.id, t, n), () => void CL()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => IF(t, [e.id]), () => void CL()),
+ remove: (e) => void TL([e], async () => {
+ await FF(e.id), t(`已移除订阅源「${wL(e)}」`), CL();
})
};
let p = (0, I.useMemo)(() => {
- let e = SI(), t = (e) => () => kle[e] || e;
+ let e = kI(), t = (e) => () => eue[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(oj, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(jj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${gL(e.row.original)}`
+ "aria-label": `选择 ${wL(e.row.original)}`
})
}),
- e.accessor(gL, {
+ e.accessor(wL, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Fle(e.row.original, f.current.shared);
+ let t = oue(e.row.original, f.current.shared);
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, L.jsx)(Ple, {
+ /* @__PURE__ */ (0, L.jsx)(aue, {
source: e.row.original,
avatarInner: f.current.avatarInner
}),
@@ -42358,15 +42849,15 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: Mle(e.getValue())
+ children: rue(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(Nle, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(iue, { source: e.row.original })
}),
- e.accessor((e) => jle(e.interval_minutes), {
+ e.accessor((e) => nue(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -42374,7 +42865,7 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? aE(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? kE(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -42396,8 +42887,8 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(fL, {
- "aria-label": `启用 ${gL(e.row.original)}`,
+ /* @__PURE__ */ (0, L.jsx)(yL, {
+ "aria-label": `启用 ${wL(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: f.current.readOnly,
onChange: (t) => f.current.toggle(e.row.original, t)
@@ -42406,8 +42897,8 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: XS,
- "aria-label": `拉取 ${gL(e.row.original)}`,
+ leadingIcon: mC,
+ "aria-label": `拉取 ${wL(e.row.original)}`,
disabled: f.current.readOnly,
...Y(f.current.busy === `check-${e.row.original.id}`),
onClick: () => f.current.fetch(e.row.original)
@@ -42416,8 +42907,8 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: FS,
- "aria-label": `移除 ${gL(e.row.original)}`,
+ leadingIcon: tC,
+ "aria-label": `移除 ${wL(e.row.original)}`,
disabled: f.current.readOnly,
onClick: () => f.current.remove(e.row.original)
})
@@ -42425,7 +42916,7 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
})
})
];
- }, []), m = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), h = dL({
+ }, []), m = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), h = vL({
data: o,
columns: p,
getRowId: (e) => String(e.id),
@@ -42435,28 +42926,28 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
let t = typeof e == "function" ? e(m) : e;
c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: lL()
+ getCoreRowModel: gL()
});
if (!a) return r.error ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "打不开订阅源",
children: K(r.error)
- }) : /* @__PURE__ */ (0, L.jsx)(EA, { children: "正在读订阅源。" });
- let g = () => void i.run("check", (e) => kF(e), () => void hL()), _ = (e) => c((t) => {
+ }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: "正在读订阅源。" });
+ let g = () => void i.run("check", (e) => IF(e), () => void CL()), _ = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), v = o.filter((e) => s.has(e.id)), y = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(Ole, {
+ /* @__PURE__ */ (0, L.jsx)($le, {
readOnly: e,
toast: t,
- onAdded: () => void hL()
+ onAdded: () => void CL()
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, L.jsx)(EA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(ZA, {
role: "status",
children: a.unread ? `有 ${a.unread} 条新作还没看` : "新作都看过了"
}), /* @__PURE__ */ (0, L.jsx)(G, {
@@ -42470,11 +42961,12 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
className: "flex flex-col gap-3",
children: [y.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
- title: `${gL(e)} 拉取失败`,
+ title: `${wL(e)} 拉取失败`,
children: e.last_error
- }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: i.error }) : null]
+ }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: i.error }) : null]
}) : null,
- v.length ? /* @__PURE__ */ (0, L.jsxs)(mL, {
+ /* @__PURE__ */ (0, L.jsxs)(SL, {
+ visible: v.length > 0,
label: "订阅源批量操作",
count: `已选 ${v.length} 条订阅源`,
children: [
@@ -42505,7 +42997,7 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
size: "small",
disabled: e,
...Y(u.isPending),
- onClick: () => void _L(v, () => u.mutateAsync({
+ onClick: () => void TL(v, () => u.mutateAsync({
ids: v.map((e) => e.id),
action: "remove"
})),
@@ -42518,27 +43010,27 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
children: "取消选择"
})
]
- }) : null,
- o.length ? /* @__PURE__ */ (0, L.jsx)(uj, {
+ }),
+ o.length ? /* @__PURE__ */ (0, L.jsx)(Fj, {
onRowClick: (e) => _(Number(e)),
- children: /* @__PURE__ */ (0, L.jsxs)(sj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsx)(Uk, { children: h.getHeaderGroups()[0].headers.map((e) => {
- let t = uL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(Wk, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sA, { children: h.getHeaderGroups()[0].headers.map((e) => {
+ let t = _L(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(cA, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: Ale.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(K_, { children: t }) : t
+ children: tue.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(Kk, { children: h.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(Yk, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(uA, { children: h.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(pA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(Zk, { children: uL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(hA, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: ZS,
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: hC,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -42548,19 +43040,19 @@ function Lle({ readOnly: e, toast: t, avatarInner: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Rle = Object.fromEntries(Object.entries(lF).map(([e, t]) => [t, e])), vL = 740;
-function zle() {
+var lue = Object.fromEntries(Object.entries(gF).map(([e, t]) => [t, e])), EL = 740;
+function uue() {
let [e, t] = (0, I.useState)(!1), n = (0, I.useRef)(null), r = (0, I.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < vL));
- r.observe(e), n.current = r, t(e.clientWidth < vL);
+ let r = new ResizeObserver(() => t(e.clientWidth < EL));
+ r.observe(e), n.current = r, t(e.clientWidth < EL);
}, []);
return (0, I.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var Ble = {
+var due = {
select: "选择",
author: "创作者",
source: "来源",
@@ -42569,7 +43061,7 @@ var Ble = {
checked: "上次检查",
actions: "操作"
};
-function Vle({ page: e, pages: t, onPage: n }) {
+function fue({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
@@ -42583,7 +43075,7 @@ function Vle({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: tE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: TE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -42606,22 +43098,22 @@ function Vle({ page: e, pages: t, onPage: n }) {
]
});
}
-function Hle({ source: e, selected: t, onToggle: n, handlers: r }) {
+function pue({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- lj(e, e.currentTarget) && n(!t);
+ Pj(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, L.jsx)(oj, {
+ /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(_I, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(wI, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -42629,17 +43121,17 @@ function Hle({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, L.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, L.jsx)(mI, {
+ children: /* @__PURE__ */ (0, L.jsx)(xI, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, L.jsx)(gI, { source: e }),
+ /* @__PURE__ */ (0, L.jsx)(CI, { source: e }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: NF(e)
+ children: BF(e)
}),
- /* @__PURE__ */ (0, L.jsx)(fL, {
+ /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -42651,7 +43143,7 @@ function Hle({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: XS,
+ leadingIcon: mC,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -42660,7 +43152,7 @@ function Hle({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: FS,
+ leadingIcon: tC,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -42669,11 +43161,11 @@ function Hle({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function Ule({ 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(dF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = vF(r, c);
+function mue({ 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(vF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = TF(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: aw({
+ className: gw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -42683,7 +43175,7 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(hI, {
+ /* @__PURE__ */ (0, L.jsx)(SI, {
group: e,
name: t
}),
@@ -42695,7 +43187,7 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: XS,
+ leadingIcon: mC,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -42704,7 +43196,7 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(mI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(K_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(iv, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -42713,7 +43205,7 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: AS,
+ leadingIcon: XS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -42724,7 +43216,7 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? kS : TS,
+ leadingIcon: n ? YS : GS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -42734,7 +43226,7 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(Hle, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(pue, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -42743,37 +43235,37 @@ function Ule({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function Wle(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = zle(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => qoe(v, n, r, y), [
+function hue(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = uue(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => hse(v, n, r, y), [
v,
n,
r,
y
- ]), O = (0, I.useMemo)(() => Joe(D, n, r, y), [
+ ]), O = (0, I.useMemo)(() => gse(D, n, r, y), [
D,
n,
r,
y
- ]), { job: k, running: A, outcome: j, start: M } = ej({
- queryKey: Ioe,
- queryFn: ({ signal: e }) => Zoe(e),
- start: (e) => SF(e),
+ ]), { job: k, running: A, outcome: j, start: M } = Tj({
+ queryKey: ise,
+ queryFn: ({ signal: e }) => yse(e),
+ start: (e) => kF(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- MF(), h(e.status === "failed" ? e.error || "检查失败" : lse(e));
+ zF(), h(e.status === "failed" ? e.error || "检查失败" : jse(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, ee = (e, t) => m(yF(s, [e], t)), te = (e, t) => m(yF(s, e, t)), P = It({
- mutationFn: (e) => wF(e),
+ }, ee = (e, t) => m(EF(s, [e], t)), te = (e, t) => m(EF(s, e, t)), P = It({
+ mutationFn: (e) => jF(e),
onSuccess: (e, t) => {
- jF([t]), m(yF(s, [t], !1)), h("已取消关注来源");
+ RF([t]), m(EF(s, [t], !1)), h("已取消关注来源");
},
onError: (e) => E(K(e))
}), ne = It({
- mutationFn: (e) => CF(e.id, e.enabled),
+ mutationFn: (e) => AF(e.id, e.enabled),
onSuccess: (e, t) => {
- AF(t.id, { enabled: t.enabled }), E("");
+ LF(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(K(e))
}), F = (e) => void g({
@@ -42785,7 +43277,7 @@ function Wle(e) {
}), re = It({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await wF(t) : await CF(t, e.action === "enabled");
+ e.action === "remove" ? await jF(t) : await AF(t, e.action === "enabled");
});
return {
...e,
@@ -42794,9 +43286,9 @@ function Wle(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") jF(e.done);
- else for (let t of e.done) AF(t, { enabled: e.action === "enabled" });
- m(yF(s, e.done, !1));
+ if (e.action === "remove") RF(e.done);
+ else for (let t of e.done) LF(t, { enabled: e.action === "enabled" });
+ m(EF(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -42809,18 +43301,18 @@ function Wle(e) {
onError: (e) => E(K(e))
}), ie = It({
mutationFn: async (e) => {
- let t = ((await ase()).groups || []).flatMap((e) => [
+ let t = ((await Dse()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await l(t, 6, (t) => ise(t, e))).filter((e) => !e.ok)
+ failed: (await l(t, 6, (t) => Ese(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (MF(), e.failed.length) {
+ if (zF(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -42845,12 +43337,12 @@ function Wle(e) {
readOnly: c
};
let se = oe.current, ce = (0, I.useMemo)(() => {
- let e = SI(), t = (e) => () => Ble[e] || e;
+ let e = kI(), t = (e) => () => due[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(oj, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(jj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -42862,7 +43354,7 @@ function Wle(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(hI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(SI, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, L.jsx)("span", {
@@ -42876,7 +43368,7 @@ function Wle(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(_I, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(wI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -42887,18 +43379,18 @@ function Wle(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(mI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(xI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(gI, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(CI, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => NF(e.row.original.source)
+ cell: (e) => BF(e.row.original.source)
}),
e.display({
id: "actions",
@@ -42906,7 +43398,7 @@ function Wle(e) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(fL, {
+ /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -42916,7 +43408,7 @@ function Wle(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: XS,
+ leadingIcon: mC,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...Y(se.busy),
@@ -42926,7 +43418,7 @@ function Wle(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: FS,
+ leadingIcon: tC,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -42936,12 +43428,12 @@ function Wle(e) {
})
];
}, [se]), le = (0, I.useMemo)(() => {
- let e = Rle[n];
+ let e = lue[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = Yoe(R ? O.length : D.length, o, i), de = dL({
+ }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = _se(R ? O.length : D.length, o, i), de = vL({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -42958,7 +43450,7 @@ function Wle(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = lF[t.id];
+ let n = gF[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -42972,11 +43464,11 @@ function Wle(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: lL(),
- getPaginationRowModel: yle()
- }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = vF(s, pe), he = [...s], ge = use(j), _e = dse(j), ve = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: gL(),
+ getPaginationRowModel: Vle()
+ }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = TF(s, pe), he = [...s], ge = Mse(j), _e = Nse(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42995,7 +43487,7 @@ function Wle(e) {
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
- leadingIcon: XS,
+ leadingIcon: mC,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -43010,28 +43502,28 @@ function Wle(e) {
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: qS,
- "aria-label": sF[0][1],
+ leadingIcon: Ute,
+ "aria-label": mF[0][1],
"aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: $S,
- "aria-label": sF[1][1],
+ leadingIcon: Gte,
+ "aria-label": mF[1][1],
"aria-pressed": R,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, JP[t]);
+ u(t, tF[t]);
},
- children: qP.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: eF.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: t
}, e))
@@ -43039,14 +43531,14 @@ function Wle(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? OS : wS,
- "aria-label": Uoe(n, r),
+ leadingIcon: r === "asc" ? JS : WS,
+ "aria-label": dse(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ve ? TS : kS,
+ leadingIcon: ve ? GS : YS,
"aria-label": ve ? "全部展开" : "全部收起",
onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ve ? "全部展开" : "全部收起"
@@ -43057,11 +43549,11 @@ function Wle(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: k?.message || "正在准备检查任务" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: k?.message || "正在准备检查任务" }) : null,
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "操作未完成",
@@ -43082,8 +43574,9 @@ function Wle(e) {
}) : null
]
}),
- he.length ? /* @__PURE__ */ (0, L.jsxs)(mL, {
+ /* @__PURE__ */ (0, L.jsxs)(SL, {
label: "关注来源批量操作",
+ visible: he.length > 0,
count: `已选 ${he.length} 个来源`,
children: [
/* @__PURE__ */ (0, L.jsx)(G, {
@@ -43140,11 +43633,11 @@ function Wle(e) {
children: "取消选择"
})
]
- }) : null,
- R ? /* @__PURE__ */ (0, L.jsx)(uj, {
+ }),
+ R ? /* @__PURE__ */ (0, L.jsx)(Fj, {
follow: !0,
onRowClick: (e) => ee(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, L.jsxs)(sj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Mj, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -43155,9 +43648,9 @@ function Wle(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, L.jsx)(Uk, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in lF, n = uL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(Wk, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sA, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in gF, n = _L(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(cA, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -43166,20 +43659,20 @@ function Wle(e) {
children: [n, /* @__PURE__ */ (0, L.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(GA, {})
+ children: /* @__PURE__ */ (0, L.jsx)(gj, {})
})]
- }) : /* @__PURE__ */ (0, L.jsx)(K_, { children: n })
+ }) : /* @__PURE__ */ (0, L.jsx)(iv, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(Kk, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(uA, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(Yk, {
+ children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(pA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(Zk, { children: uL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(hA, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(oj, {
+ }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => te(pe, e),
@@ -43189,9 +43682,9 @@ function Wle(e) {
className: "flex flex-col gap-3",
children: D.slice(z.start, z.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, L.jsx)(Ule, {
+ return /* @__PURE__ */ (0, L.jsx)(mue, {
group: e,
- name: gF(e, y),
+ name: CF(e, y),
handlers: se,
selected: s,
open: !x.has(t),
@@ -43211,19 +43704,19 @@ function Wle(e) {
className: "text-body-2-regular text-text-secondary",
children: `${z.start + 1}–${z.end} / ${z.total} ${R ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: cF.map((e) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: hF.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: String(e),
children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(Vle, {
+ /* @__PURE__ */ (0, L.jsx)(fue, {
page: z.page,
pages: z.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -43272,11 +43765,11 @@ function Wle(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: ZS,
+ icon: hC,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, L.jsx)(tw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -43287,15 +43780,15 @@ function Wle(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var yL = [
+var DL = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["source", "来源和凭证"]
-], bL = (e) => yL.some(([t]) => t === e);
-function xL({ term: e, figure: t, unit: n }) {
+], OL = (e) => DL.some(([t]) => t === e);
+function kL({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -43311,23 +43804,23 @@ function xL({ term: e, figure: t, unit: n }) {
})]
});
}
-function Gle(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(bL(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => YP(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => YP(e.sort, e.dir).dir), [g, _] = (0, I.useState)(Boe(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(Voe(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ft({
- queryKey: iF,
- queryFn: ({ signal: e }) => bF(e)
+function gue(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(OL(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => nF(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => nF(e.sort, e.dir).dir), [g, _] = (0, I.useState)(cse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(lse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ft({
+ queryKey: dF,
+ queryFn: ({ signal: e }) => DF(e)
}), C = Ft({
- queryKey: aF,
- queryFn: ({ signal: e }) => xF(e)
+ queryKey: fF,
+ queryFn: ({ signal: e }) => OF(e)
}), w = Ft({
- queryKey: oF,
- queryFn: ({ signal: e }) => EF(e)
+ queryKey: pF,
+ queryFn: ({ signal: e }) => NF(e)
}), T = S.data || { sources: [] }, E = C.data || {
root: "",
providers: []
}, D = T.sources;
(0, I.useEffect)(() => {
x((e) => {
- let t = Xoe(e, D);
+ let t = vse(e, D);
return t.size === e.size ? e : t;
});
}, [D]);
@@ -43337,10 +43830,10 @@ function Gle(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === JP[n] ? "" : r
+ dir: r === tF[n] ? "" : r
});
- }, k = _F(D), A = D.filter(dF).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !PF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, L.jsxs)(cw, { children: [
+ }, k = wF(D), A = D.filter(vF).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !VF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -43355,64 +43848,64 @@ function Gle(e) {
children: o
}) : null,
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: die,
+ className: _ie,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, L.jsx)(xL, {
+ /* @__PURE__ */ (0, L.jsx)(kL, {
term: "关注创作者",
figure: k.length,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(xL, {
+ /* @__PURE__ */ (0, L.jsx)(kL, {
term: "启用来源",
figure: j,
unit: `/ ${D.length}`
}),
- /* @__PURE__ */ (0, L.jsx)(xL, {
+ /* @__PURE__ */ (0, L.jsx)(kL, {
term: "检查失败",
figure: A,
unit: "个来源"
}),
- /* @__PURE__ */ (0, L.jsx)(xL, {
+ /* @__PURE__ */ (0, L.jsx)(kL, {
term: "未看更新",
figure: T.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, L.jsx)(xL, {
+ /* @__PURE__ */ (0, L.jsx)(kL, {
term: "JAV 订阅",
figure: N,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(xL, {
+ /* @__PURE__ */ (0, L.jsx)(kL, {
term: "未看新作",
figure: w.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(tA, {
+ /* @__PURE__ */ (0, L.jsxs)(yA, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- bL(t) && (l(t), O({ tab: t }));
+ OL(t) && (l(t), O({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, L.jsx)(nA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: yL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(rA, {
+ children: DL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xA, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && M ? `${t}(${M})` : t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(Wle, {
+ children: /* @__PURE__ */ (0, L.jsx)(hue, {
data: T,
sort: f,
dir: m,
@@ -43442,10 +43935,10 @@ function Gle(e) {
}
})
}),
- /* @__PURE__ */ (0, L.jsxs)(iA, {
+ /* @__PURE__ */ (0, L.jsxs)(SA, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, L.jsx)(kce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Zce, {
data: T,
credentials: E,
readOnly: a,
@@ -43453,7 +43946,7 @@ function Gle(e) {
openCredentials: () => {
l("source"), O({ tab: "source" });
}
- }), /* @__PURE__ */ (0, L.jsx)(Mce, {
+ }), /* @__PURE__ */ (0, L.jsx)(ele, {
groups: T.author_aliases || [],
readOnly: a,
toast: r,
@@ -43461,19 +43954,19 @@ function Gle(e) {
sources: T.sources
})]
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(Lle, {
+ children: /* @__PURE__ */ (0, L.jsx)(cue, {
readOnly: a,
toast: r,
avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(Vce, {
+ children: /* @__PURE__ */ (0, L.jsx)(lle, {
data: E,
readOnly: a,
toast: r
@@ -43485,32 +43978,32 @@ function Gle(e) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var SL = (e) => ["item", e], CL = (e) => [
+var AL = (e) => ["item", e], jL = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Kle = (e, t) => [
+], _ue = (e, t) => [
"item-related",
e,
t
-], qle = (e) => `/api/item?id=${e}`, Jle = (e, t) => `/api/related?id=${e}&limit=${t}`, wL = "/api/playlist", Yle = "/api/feedback", TL = "/api/item-tag", EL = "/api/watch-later", DL = "/api/quality-goal", OL = "/api/preference", kL = class extends Error {};
-async function AL(e, t) {
- let n = await iw(qle(e), t);
- if (n.error) throw new kL(n.error);
+], vue = (e) => `/api/item?id=${e}`, yue = (e, t) => `/api/related?id=${e}&limit=${t}`, ML = "/api/playlist", bue = "/api/feedback", NL = "/api/item-tag", PL = "/api/watch-later", FL = "/api/quality-goal", IL = "/api/preference", LL = class extends Error {};
+async function RL(e, t) {
+ let n = await hw(vue(e), t);
+ if (n.error) throw new LL(n.error);
return n;
}
-async function jL(e, t, n) {
+async function zL(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([AL(r, n), t.mixRelated(r)]);
- return X.setQueryData(SL(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([RL(r, n), t.mixRelated(r)]);
+ return X.setQueryData(AL(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${t.mixLabel(i)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return ML(await iw(`${wL}?id=${e.playlistId}`, n));
- let r = await iw(`/api/${e.kind}?id=${e.seedId}`, n);
+ if (e.kind === "playlist") return BL(await hw(`${ML}?id=${e.playlistId}`, n));
+ let r = await hw(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
kind: e.kind,
@@ -43519,17 +44012,17 @@ async function jL(e, t, n) {
items: r.items
};
}
-var ML = (e) => ({
+var BL = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
});
-function NL(e, t) {
+function VL(e, t) {
return e.kind === "mix" ? t : e.items.length ? t != null && e.items.some((e) => e.id === t) ? t : e.kind === "playlist" && e.currentAssetId || e.items[0].id : null;
}
-function Xle(e, t) {
+function xue(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -43537,14 +44030,14 @@ function Xle(e, t) {
part_label: n
};
}
-async function Zle(e, t) {
+async function Sue(e, t) {
let { queue: n, actions: r } = e, i = null;
if (n) {
- let a = CL(n);
+ let a = jL(n);
try {
i = (n.fresh ? void 0 : X.getQueryData(a)) || await X.fetchQuery({
queryKey: a,
- queryFn: () => jL(n, e.helpers, t),
+ queryFn: () => zL(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -43557,19 +44050,19 @@ async function Zle(e, t) {
}
e.grid.cache(i.items);
}
- let a = i ? NL(i, e.id) : e.id;
+ let a = i ? VL(i, e.id) : e.id;
if (a == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
let o;
try {
- o = X.getQueryData(SL(a)) || await X.fetchQuery({
- queryKey: SL(a),
- queryFn: () => AL(a, t)
+ o = X.getQueryData(AL(a)) || await X.fetchQuery({
+ queryKey: AL(a),
+ queryFn: () => RL(a, t)
});
} catch (e) {
- if (e instanceof kL) {
+ if (e instanceof LL) {
r.redirect({ kind: "gone" });
return;
}
@@ -43580,7 +44073,7 @@ async function Zle(e, t) {
id: Number(o.follow_item_id)
});
}
-function Qle(e) {
+function Cue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = o(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -43601,42 +44094,42 @@ function Qle(e) {
unowned: !i.length && !l.length && !String(e.creator || "").trim()
};
}
-var PL = (e) => Math.min(Math.max(e || 0, 0), 100), FL = (e) => Math.round(PL(e) / 20), $le = (e) => {
- let t = FL(e);
+var HL = (e) => Math.min(Math.max(e || 0, 0), 100), UL = (e) => Math.round(HL(e) / 20), wue = (e) => {
+ let t = UL(e);
return t ? `${t} 星` : "未评分";
-}, eue = (e, t) => {
+}, Tue = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function tue(e, t) {
+function Eue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = o(t.tagLabel(e.k)), i = n.get(r);
(!i || o(e.k) === r && o(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var IL = (e, t) => (e.tags || []).some((e) => o(e.k) === o(t)), LL = (e, t) => ({
+var WL = (e, t) => (e.tags || []).some((e) => o(e.k) === o(t)), GL = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => o(e.k) !== o(t))
-}), RL = (e, t) => IL(e, t.k) ? e : {
+}), KL = (e, t) => WL(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, zL = "peach.recentTags";
-function BL() {
+}, qL = "peach.recentTags";
+function JL() {
try {
- let e = JSON.parse(localStorage.getItem(zL) || "[]");
+ let e = JSON.parse(localStorage.getItem(qL) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function nue(e) {
+function Due(e) {
try {
- let t = BL().filter((t) => o(t) !== o(e));
- localStorage.setItem(zL, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = JL().filter((t) => o(t) !== o(e));
+ localStorage.setItem(qL, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function rue(e, t, n) {
+function Oue(e, t, n) {
let r = o(e), i = new Map(t.map((e) => [o(e.k), e])), a = t.filter((e) => !r || o(e.k).includes(r)).slice(0, 120), s = r ? [] : n.map((e) => i.get(o(e)) || {
k: e,
n: 0
@@ -43647,59 +44140,59 @@ function rue(e, t, n) {
create: r && !c ? e.trim() : ""
};
}
-var iue = {
+var kue = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, aue = {
+}, Aue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function oue(e) {
+function jue(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: aue[e.kind],
+ title: Aue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var VL = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, sue = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${r(VL(e.part_label))}</small>` : "";
-function cue(e, t, n, r) {
+var YL = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Mue = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${r(YL(e.part_label))}</small>` : "";
+function Nue(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var lue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function uue(e, t) {
+var Pue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Fue(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function due(e) {
+function Iue(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function fue(e, t) {
+function Lue(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/components/overlay-host.ts
-function pue(e) {
+function Rue(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 mue(e) {
+function zue(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return pue(n ?? t.body);
+ return Rue(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var hue = "/api/cover-crop", gue = (e, t) => q(hue, {
+var Bue = "/api/cover-crop", Vue = (e, t) => q(Bue, {
code: e,
box: t
-}), HL = .704;
-function UL({ className: e }) {
+}), XL = .704;
+function ZL({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -43712,7 +44205,7 @@ function UL({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-crop" })
});
}
-function _ue({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Hue({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("button", {
ref: o,
@@ -43723,15 +44216,15 @@ function _ue({ code: e, coverUrl: t, box: n, onSaved: r }) {
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, L.jsx)(UL, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, L.jsx)(cy, {
- getContainer: () => mue(o.current),
- children: /* @__PURE__ */ (0, L.jsx)(eP, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZL, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, L.jsx)(vy, {
+ getContainer: () => zue(o.current),
+ children: /* @__PURE__ */ (0, L.jsx)(DP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, L.jsx)(vue, {
+ children: /* @__PURE__ */ (0, L.jsx)(Uue, {
code: e,
coverUrl: t,
box: n,
@@ -43741,9 +44234,9 @@ function _ue({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = hA(), f = It({
- mutationFn: (t) => gue(e, t),
+function Uue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = RA(), f = It({
+ mutationFn: (t) => Vue(e, t),
onSuccess: () => {
i(), r();
}
@@ -43755,19 +44248,19 @@ function vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : UN(e, HL);
- c(GN(t, e, null));
+ } : gP(e, XL);
+ c(vP(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(tP, { children: /* @__PURE__ */ (0, L.jsx)(UL, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(OP, { children: /* @__PURE__ */ (0, L.jsx)(ZL, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(UD, {
+ /* @__PURE__ */ (0, L.jsx)(sO, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -43782,8 +44275,8 @@ function vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(_A, {
- icon: MS,
+ /* @__PURE__ */ (0, L.jsx)(BA, {
+ icon: QS,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -43793,24 +44286,24 @@ function vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, L.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, L.jsx)(iP, {
+ children: /* @__PURE__ */ (0, L.jsx)(jP, {
src: t,
- aspect: l ? HL : null,
+ aspect: l ? XL : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- VN(e) && p(e);
+ mP(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, L.jsx)(fL, {
+ children: [/* @__PURE__ */ (0, L.jsx)(yL, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(GN(s, a, HL));
+ u(e), e && s && a && c(vP(s, a, XL));
},
children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -43839,21 +44332,21 @@ function vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var WL = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+var QL = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(e) }
-}), GL = ({ html: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+}), $L = ({ html: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function yue(e) {
+function Wue(e) {
let { queue: t, actions: n } = e, r = Ft({
- queryKey: t ? CL(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => jL(t, e.helpers, n),
+ queryKey: t ? jL(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => zL(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? NL(i, e.id) : t ? null : e.id, o = Ft({
- queryKey: SL(a ?? 0),
- queryFn: ({ signal: e }) => AL(a, e),
+ }), i = t && r.data || null, a = i ? VL(i, e.id) : t ? null : e.id, o = Ft({
+ queryKey: AL(a ?? 0),
+ queryFn: ({ signal: e }) => RL(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -43864,9 +44357,9 @@ function yue(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "vwrap",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, L.jsx)(KL, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, L.jsx)(jw, {
+ children: e ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -43876,13 +44369,13 @@ function yue(e) {
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(bue, {
+ return /* @__PURE__ */ (0, L.jsx)(Gue, {
...e,
- item: Xle(o.data, i),
+ item: xue(o.data, i),
queue: i
}, o.data.id);
}
-var KL = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
+var eR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "closestage",
id: "closeStage",
@@ -43891,35 +44384,35 @@ var KL = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: s("x") }
});
-function bue(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = Iue(t, r, e.grid.cache, i.tagLabel), o = (0, I.useRef)(t);
+function Gue(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = sde(t, r, e.grid.cache, i.tagLabel), o = (0, I.useRef)(t);
(0, I.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, I.useEffect)(() => {
- n?.kind === "playlist" && q(wL, {
+ n?.kind === "playlist" && q(ML, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = uue(t, i.sourceOffline(t.location || ""));
+ let s = Fue(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: n ? "sgrid mixgrid" : "sgrid",
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(xue, {
+ /* @__PURE__ */ (0, L.jsx)(Kue, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, L.jsx)(Cue, {
+ n ? /* @__PURE__ */ (0, L.jsx)(Jue, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Eue, {
+ /* @__PURE__ */ (0, L.jsx)(Zue, {
item: t,
queue: n,
write: a,
@@ -43927,9 +44420,9 @@ function bue(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, L.jsx)(Fue, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, L.jsx)(ode, { ...e }) : null] });
}
-function xue({ item: e, gate: t, helpers: n, actions: r }) {
+function Kue({ item: e, gate: t, helpers: n, actions: r }) {
let [i, o] = (0, I.useState)(t ? "" : "auto"), s = (0, I.useRef)(null), c = (0, I.useRef)(e);
(0, I.useLayoutEffect)(() => {
let e = s.current;
@@ -43940,8 +44433,8 @@ function xue({ item: e, gate: t, helpers: n, actions: r }) {
className: "vwrap",
"data-item-media": t || "video",
children: [
- /* @__PURE__ */ (0, L.jsx)(KL, { onClose: r.close }),
- t === "offline" ? /* @__PURE__ */ (0, L.jsx)(Sue, {
+ /* @__PURE__ */ (0, L.jsx)(eR, { onClose: r.close }),
+ t === "offline" ? /* @__PURE__ */ (0, L.jsx)(que, {
item: e,
badge: l,
helpers: n,
@@ -43951,7 +44444,7 @@ function xue({ item: e, gate: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, L.jsx)(GL, { html: l }),
+ /* @__PURE__ */ (0, L.jsx)($L, { html: l }),
/* @__PURE__ */ (0, L.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -43966,7 +44459,7 @@ function xue({ item: e, gate: t, helpers: n, actions: r }) {
id: "gate",
"data-item-gate": "metered",
onClick: () => o("clicked"),
- children: [/* @__PURE__ */ (0, L.jsx)(GL, { html: l }), /* @__PURE__ */ (0, L.jsxs)("span", { children: ["点此开始拉流 · ", a(e.size || 0)] })]
+ children: [/* @__PURE__ */ (0, L.jsx)($L, { html: l }), /* @__PURE__ */ (0, L.jsxs)("span", { children: ["点此开始拉流 · ", a(e.size || 0)] })]
}) : null,
/* @__PURE__ */ (0, L.jsx)("video", {
ref: s,
@@ -43980,7 +44473,7 @@ function xue({ item: e, gate: t, helpers: n, actions: r }) {
]
});
}
-function Sue({ item: e, badge: t, helpers: n, actions: r }) {
+function que({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -43991,7 +44484,7 @@ function Sue({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, L.jsx)(GL, { html: t }),
+ /* @__PURE__ */ (0, L.jsx)($L, { html: t }),
/* @__PURE__ */ (0, L.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -44005,8 +44498,8 @@ function Sue({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function Cue({ queue: e, itemId: t, helpers: n, actions: r }) {
- let a = oue(e), o = (0, I.useRef)(null), c = Tue(e, t, r), l = (0, I.useRef)(c);
+function Jue({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let a = jue(e), o = (0, I.useRef)(null), c = Xue(e, t, r), l = (0, I.useRef)(c);
l.current = c;
let u = (0, I.useCallback)((t) => {
o.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -44014,7 +44507,7 @@ function Cue({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => l.current.move(+e, +t, n)
}));
- }, [n, e.kind]), d = wue(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)("button", {
+ }, [n, e.kind]), d = Yue(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -44033,7 +44526,7 @@ function Cue({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, L.jsx)(rI, {
+ return /* @__PURE__ */ (0, L.jsx)(uI, {
kind: e.kind,
title: a.title,
summary: a.summary,
@@ -44042,33 +44535,33 @@ function Cue({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: u,
children: e.items.map((a) => {
let o = e.kind === "editions" && a.edition_label ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `javedition ${iue[a.edition_label] || "censored"}`,
+ className: `javedition ${kue[a.edition_label] || "censored"}`,
"data-queue-edition": "",
children: a.edition_label
}) : null;
- return /* @__PURE__ */ (0, L.jsxs)(iI, {
+ return /* @__PURE__ */ (0, L.jsxs)(dI, {
current: a.id === t,
"data-queue-item": a.id,
row: { "data-queue-row": a.id },
onClick: () => r.openQueueItem(p, a.id),
- pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(GL, { html: n.queueThumbHtml(a) }), /* @__PURE__ */ (0, L.jsx)("i", {
+ pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($L, { html: n.queueThumbHtml(a) }), /* @__PURE__ */ (0, L.jsx)("i", {
className: "dur mono",
children: i(a.duration)
})] }),
- lead: /* @__PURE__ */ (0, L.jsx)(GL, { html: n.queueAvatarHtml(a) }),
+ lead: /* @__PURE__ */ (0, L.jsx)($L, { html: n.queueAvatarHtml(a) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-queue-remove": a.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => c.remove(a.id),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "x" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -44079,14 +44572,14 @@ function Cue({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-truncate-end": "",
- children: e.kind === "parts" ? VL(a.part_label) : n.mixLabel(a)
+ children: e.kind === "parts" ? YL(a.part_label) : n.mixLabel(a)
})]
}, a.id);
})
});
}
-function wue(e, t) {
- let n = It({ mutationFn: (t) => q(wL, {
+function Yue(e, t) {
+ let n = It({ mutationFn: (t) => q(ML, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -44099,11 +44592,11 @@ function wue(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function Tue(e, t, n) {
- let r = CL({
+function Xue(e, t, n) {
+ let r = jL({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (X.setQueryData(r, ML(e)), e), a = (t) => q(wL, {
+ }), i = (e) => (X.setQueryData(r, BL(e)), e), a = (t) => q(ML, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = It({
@@ -44119,8 +44612,8 @@ function Tue(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = cue(s, t, r, c);
- if (lue(l, s)) return;
+ let l = Nue(s, t, r, c);
+ if (Pue(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -44166,7 +44659,7 @@ function Tue(e, t, n) {
}
};
}
-function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function Zue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let o = e.location === "online", s = n.busyAttrs, [c, l] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "side",
@@ -44174,7 +44667,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "sidecontent",
children: [
- /* @__PURE__ */ (0, L.jsx)(Due, {
+ /* @__PURE__ */ (0, L.jsx)(Que, {
item: e,
queue: t,
helpers: r,
@@ -44186,7 +44679,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, L.jsx)(kue, {
+ /* @__PURE__ */ (0, L.jsx)(ede, {
item: e,
write: n
}),
@@ -44196,7 +44689,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "monitor" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "monitor" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [
e.width || "?",
"×",
e.height || "?"
@@ -44204,11 +44697,11 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "hard-drive" }), /* @__PURE__ */ (0, L.jsx)("span", { children: a(e.size || 0) })]
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "hard-drive" }), /* @__PURE__ */ (0, L.jsx)("span", { children: a(e.size || 0) })]
}),
e.release_date ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "calendar" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "calendar" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
@@ -44216,22 +44709,22 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "globe" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "globe" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(Aue, {
+ /* @__PURE__ */ (0, L.jsx)(tde, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, L.jsx)(jue, {
+ /* @__PURE__ */ (0, L.jsx)(nde, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, L.jsx)(Nue, { item: e }),
+ /* @__PURE__ */ (0, L.jsx)(ide, { item: e }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "fb",
"data-item-feedback": "",
@@ -44245,7 +44738,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...s("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44257,7 +44750,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => l((e) => !e),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44268,7 +44761,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...s("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44279,7 +44772,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...s("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "eye" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "eye" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44290,7 +44783,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...s("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44299,7 +44792,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "playlist" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "playlist" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44310,7 +44803,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...s("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "sparkles" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44321,11 +44814,11 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...s("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "trash" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(Pue, {
+ /* @__PURE__ */ (0, L.jsx)(ade, {
item: e,
open: c,
write: n
@@ -44336,7 +44829,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...s("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, L.jsx)(WL, { name: "sperm" }),
+ /* @__PURE__ */ (0, L.jsx)(QL, { name: "sperm" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "mono",
@@ -44349,7 +44842,7 @@ function Eue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function Due({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function Que({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, I.useRef)(null), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(!1);
(0, I.useLayoutEffect)(() => {
let e = a.current;
@@ -44359,7 +44852,7 @@ function Due({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + sue(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Mue(e, t);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -44386,18 +44879,18 @@ function Due({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: u,
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: o ? "chevron-up" : "chevron-down" })
}),
- e.has_cover && e.code ? /* @__PURE__ */ (0, L.jsx)(_ue, {
+ e.has_cover && e.code ? /* @__PURE__ */ (0, L.jsx)(Hue, {
code: e.code,
coverUrl: `/cover?code=${encodeURIComponent(e.code)}`,
box: e.poster_box || null,
onSaved: () => void X.invalidateQueries({
- queryKey: SL(e.id),
+ queryKey: AL(e.id),
exact: !0
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, L.jsx)(Oue, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, L.jsx)($ue, {
id: e.id,
actions: r,
onStatus: i
@@ -44407,7 +44900,7 @@ function Due({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function Oue({ id: e, actions: t, onStatus: n }) {
+function $ue({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, I.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -44437,17 +44930,17 @@ function Oue({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "folder-sync" })
})] });
}
-function kue({ item: e, write: t }) {
- let n = FL(e.rating);
+function ede({ item: e, write: t }) {
+ let n = UL(e.rating);
return /* @__PURE__ */ (0, L.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": PL(e.rating),
+ "data-value": HL(e.rating),
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -44464,18 +44957,18 @@ function kue({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "star" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: $le(e.rating)
+ children: wue(e.rating)
})]
});
}
-function Aue({ item: e, helpers: t, actions: n }) {
- let r = (0, I.useMemo)(() => Qle(e), [e]), [i, a] = (0, I.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
- let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, L.jsx)(GL, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, L.jsx)("img", {
+function tde({ item: e, helpers: t, actions: n }) {
+ let r = (0, I.useMemo)(() => Cue(e), [e]), [i, a] = (0, I.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
+ let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, L.jsx)($L, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, L.jsx)("img", {
src: `/logo?studio=${encodeURIComponent(r.name)}&variant=icon`,
alt: "",
loading: "lazy",
@@ -44529,7 +45022,7 @@ function Aue({ item: e, helpers: t, actions: n }) {
onClick: n.openUnowned,
children: [/* @__PURE__ */ (0, L.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "user-round" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "user-round" })
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -44572,19 +45065,19 @@ function Aue({ item: e, helpers: t, actions: n }) {
"data-entity-name": e.name,
title: e.name,
onClick: () => n.openEntity("series", e.name),
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
}, e.name) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-series-link": "",
title: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
}, e.name))
})]
}) : null
]
});
}
-function jue({ item: e, write: t, helpers: n, actions: r }) {
- let i = tue(e, n);
+function nde({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Eue(e, n);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "stags",
id: "detailTags",
@@ -44603,16 +45096,16 @@ function jue({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "x" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(Mue, {
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(rde, {
item: e,
write: t,
helpers: n
})]
});
}
-function Mue({ item: e, write: t, helpers: n }) {
+function rde({ item: e, write: t, helpers: n }) {
let r = (0, I.useRef)(null), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(!1), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(-1), h = (0, I.useCallback)(() => {
i.current && _(i.current), c(!1);
}, []);
@@ -44626,7 +45119,7 @@ function Mue({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? rue(d, n.tagCandidates(), BL()) : {
+ let g = s ? Oue(d, n.tagCandidates(), JL()) : {
recent: [],
results: [],
create: ""
@@ -44654,12 +45147,12 @@ function Mue({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? v[p] : null;
- r ? y(r, r.n !== -1 && IL(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? y(r, r.n !== -1 && WL(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, x = -1, S = (t) => {
x += 1;
- let r = x, i = IL(e, t.k);
+ let r = x, i = WL(e, t.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -44667,7 +45160,7 @@ function Mue({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => y(t, i),
children: [
- /* @__PURE__ */ (0, L.jsx)(WL, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, L.jsx)(QL, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -44690,7 +45183,7 @@ function Mue({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (E(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, L.jsx)(WL, { name: "plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(QL, { name: "plus" })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -44700,7 +45193,7 @@ function Mue({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, L.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "search" }), /* @__PURE__ */ (0, L.jsx)("input", {
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "search" }), /* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -44741,7 +45234,7 @@ function Mue({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, L.jsx)(WL, { name: "plus" }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(QL, { name: "plus" }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -44756,8 +45249,8 @@ function Mue({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function Nue({ item: e }) {
- let t = due(e);
+function ide({ item: e }) {
+ let t = Iue(e);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -44791,7 +45284,7 @@ function Nue({ item: e }) {
})]
});
}
-function Pue({ item: e, open: t, write: n }) {
+function ade({ item: e, open: t, write: n }) {
let [r, i] = (0, I.useState)(e.like_reason || ""), a = (0, I.useRef)(null);
(0, I.useEffect)(() => {
t && a.current?.focus();
@@ -44830,11 +45323,11 @@ function Pue({ item: e, open: t, write: n }) {
})]
});
}
-function Fue(e) {
+function ode(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({
- queryKey: Kle(t.id, n),
+ queryKey: _ue(t.id, n),
queryFn: async ({ signal: e }) => {
- let r = await iw(Jle(t.id, n), e);
+ let r = await hw(yue(t.id, n), e);
return i.cache(r.items || []), r.items || [];
}
}), [o] = (0, I.useState)(() => r.relatedSkeletonHtml()), s = (0, I.useCallback)((e) => {
@@ -44849,7 +45342,7 @@ function Fue(e) {
ref: s,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, L.jsx)(Zw, {
+ children: a.data ? /* @__PURE__ */ (0, L.jsx)(xT, {
mode: "items",
variant: "next",
items: a.data,
@@ -44863,12 +45356,12 @@ function Fue(e) {
cache: i.cache,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : a.isError ? null : /* @__PURE__ */ (0, L.jsx)(GL, { html: o })
+ }) : a.isError ? null : /* @__PURE__ */ (0, L.jsx)($L, { html: o })
})]
});
}
-function Iue(e, t, n, r) {
- let i = e.id, a = SL(i), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(""), f = (e, t) => s((n) => {
+function sde(e, t, n, r) {
+ let i = e.id, a = AL(i), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(""), f = (e, t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), p = () => X.getQueryData(a) || e, m = (e) => {
@@ -44884,7 +45377,7 @@ function Iue(e, t, n, r) {
rating: t.rating,
o_count: t.o_count
};
- return gre(i, r), n([t]), t;
+ return kre(i, r), n([t]), t;
}, h = (e, t) => q(e, {
id: i,
...t
@@ -44899,7 +45392,7 @@ function Iue(e, t, n, r) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(Yle, t === void 0 ? { kind: e } : {
+ let n = await h(bue, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -44919,21 +45412,21 @@ function Iue(e, t, n, r) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = p().rating || 0, r = eue(n, e);
- await v("rate", r), t.toast(r ? `已评 ${FL(r)} 星` : "已取消评分", { undo: async () => {
+ let n = p().rating || 0, r = Tue(n, e);
+ await v("rate", r), t.toast(r ? `已评 ${UL(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: p().feedback || null }, r = await v(e);
- t.toast(fue(e, r), { undo: async () => {
+ t.toast(Lue(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(p().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => _("later", "更新稍后看", async () => {
- let e = await h(EL, {});
+ let e = await h(PL, {});
m({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- m({ watch_later: (await h(EL, {})).watch_later });
+ m({ watch_later: (await h(PL, {})).watch_later });
} });
}),
quality: () => _("quality", "更新版本需求", async () => {
@@ -44943,9 +45436,9 @@ function Iue(e, t, n, r) {
}, n = (e) => m({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await h(DL, { wanted: !e.wanted });
+ }), r = await h(FL, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await h(DL, e));
+ n(await h(FL, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -44959,7 +45452,7 @@ function Iue(e, t, n, r) {
});
d("保存中…");
try {
- o(await h(OL, {
+ o(await h(IL, {
liked: a,
reason: i
}));
@@ -44969,7 +45462,7 @@ function Iue(e, t, n, r) {
d("已保存"), setTimeout(() => d((e) => e === "已保存" ? "" : e), 1400);
let s = p();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await h(OL, r));
+ o(await h(IL, r));
} });
});
},
@@ -44978,11 +45471,11 @@ function Iue(e, t, n, r) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- m((t) => LL(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
- await h(TL, {
+ m((t) => GL(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
+ await h(NL, {
operation: "add",
tag: e.k
- }), m((t) => RL(t, e));
+ }), m((t) => KL(t, e));
} });
}),
addTag: (e) => {
@@ -44991,14 +45484,14 @@ function Iue(e, t, n, r) {
(await h("/api/item-tag", {
operation: "add",
tag: n
- })).ok && (m((e) => RL(e, {
+ })).ok && (m((e) => KL(e, {
k: n,
cat: "general"
- })), nue(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
- await h(TL, {
+ })), Due(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
+ await h(NL, {
operation: "remove",
tag: n
- }), m((e) => LL(e, n));
+ }), m((e) => GL(e, n));
} }));
});
}
@@ -45006,15 +45499,15 @@ function Iue(e, t, n, r) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function Lue({ value: e }) {
+function cde({ value: e }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var Rue = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function qL({ tabs: e, value: t, label: n, onChange: r }) {
+var lde = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function tR({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
let e = i.current;
@@ -45042,14 +45535,14 @@ function qL({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? Vw(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? lT(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: Rue,
+ className: lde,
onClick: () => {
i || r(e.value);
},
@@ -45065,23 +45558,23 @@ function qL({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var JL = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var nR = () => /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function zue({ tag: e, actions: t }) {
+function ude({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": BM(t.online, e.cat),
+ "data-tag-cat": dN(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, L.jsx)(JL, {}),
+ /* @__PURE__ */ (0, L.jsx)(nR, {}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -45093,23 +45586,23 @@ function zue({ tag: e, actions: t }) {
]
});
}
-function Bue({ groups: e, actions: t }) {
+function dde({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, L.jsxs)("section", {
"data-alpha-group": r,
- className: aw({
+ className: gw({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, L.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, L.jsx)(Lue, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, L.jsx)(cde, { value: n.length })]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(zue, {
+ children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(ude, {
tag: e,
actions: t
}, e.k))
@@ -45117,8 +45610,8 @@ function Bue({ groups: e, actions: t }) {
}, e))
});
}
-var Vue = "\xA0";
-function Hue({ tags: e, actions: t }) {
+var fde = "\xA0";
+function pde({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -45126,11 +45619,11 @@ function Hue({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": BM(t.online, e.cat),
+ "data-tag-cat": dN(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + Vue, /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [e.label + fde, /* @__PURE__ */ (0, L.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -45138,7 +45631,7 @@ function Hue({ tags: e, actions: t }) {
}, e.k))
});
}
-var Uue = [[
+var mde = [[
"cloud",
"标签云",
"tags"
@@ -45147,16 +45640,16 @@ var Uue = [[
"字母表",
"text-aa"
]];
-function Wue({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, L.jsx)(tM, {
+function hde({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, L.jsx)(EM, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(rM, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(OM, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : BM(n, e),
+ "data-tag-cat": e === "all" ? "all" : dN(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, L.jsx)(JL, {}), r]
+ children: [/* @__PURE__ */ (0, L.jsx)(nR, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -45175,19 +45668,19 @@ function Wue({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Ek, {
+ /* @__PURE__ */ (0, L.jsx)(Wk, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${wN}`,
- children: Uue.map(([e, t, n]) => {
- let r = Vw(n);
- return /* @__PURE__ */ (0, L.jsx)(Dk, {
+ className: `ml-auto ${ZN}`,
+ children: mde.map(([e, t, n]) => {
+ let r = lT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Gk, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: TN,
+ className: QN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -45199,12 +45692,13 @@ function Wue({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function Gue({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, L.jsxs)(mL, {
+function gde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, L.jsxs)(SL, {
+ visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, L.jsx)(oj, {
+ /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -45236,7 +45730,7 @@ function Gue({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var Kue = [{
+var _de = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -45244,7 +45738,7 @@ var Kue = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], YL = [{
+}], rR = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -45252,7 +45746,7 @@ var Kue = [{
value: "online",
label: "在线",
symbol: "rss"
-}], que = {
+}], vde = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -45272,20 +45766,20 @@ var Kue = [{
"layout-grid"
]]
};
-function Jue({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, L.jsx)(Ek, {
- "aria-label": `${TM[e]}索引版式`,
+function yde({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, L.jsx)(qN, {
+ "aria-label": `${XM[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${xN}`,
- children: que[jM(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = Vw(n);
- return /* @__PURE__ */ (0, L.jsx)(Dk, {
+ className: `flex-none max-board-narrow:order-3 ${JN}`,
+ children: vde[nN(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = lT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Gk, {
value: e,
"aria-label": t,
- className: CN,
+ className: XN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -45295,8 +45789,8 @@ function Jue({ kind: e, layout: t, onChange: n }) {
})
});
}
-var Yue = Vw("search");
-function Xue({ label: e, value: t, onQuery: n }) {
+var bde = lT("search");
+function xde({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, I.useState)(t), a = (0, I.useRef)(!1), o = (0, I.useRef)(void 0);
(0, I.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -45311,15 +45805,15 @@ function Xue({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, L.jsx)(Tj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, L.jsx)(Dj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Qj, {
type: "search",
- leadingIcon: Yue,
+ leadingIcon: bde,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -45329,14 +45823,14 @@ function Xue({ label: e, value: t, onQuery: n }) {
})
});
}
-function Zue(e) {
- let [t, n] = (0, I.useState)(() => MM({
+function Sde(e) {
+ let [t, n] = (0, I.useState)(() => rN({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = TM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
+ })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = XM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
(0, I.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -45346,7 +45840,7 @@ function Zue(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = IM(NM(t)), w = Lt({
+ }, C = sN(iN(t)), w = Lt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -45355,21 +45849,21 @@ function Zue(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: y ? Pe : void 0
- }), T = RM(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = zM(T.length, !!w.hasNextPage);
+ }), T = lN(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = uN(T.length, !!w.hasNextPage);
(0, I.useEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let O = (0, I.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? UM(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? mN(O, (t) => e.tagLabel(t)) : [], [
O,
m,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(qL, {
- tabs: YL,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(tR, {
+ tabs: rR,
value: p,
label: "词表",
onChange: (e) => {
@@ -45379,15 +45873,15 @@ function Zue(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(qL, {
- tabs: YL,
+ }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(tR, {
+ tabs: rR,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : jM(u) ? /* @__PURE__ */ (0, L.jsx)(qL, {
- tabs: Kue,
+ }) : nN(u) ? /* @__PURE__ */ (0, L.jsx)(tR, {
+ tabs: _de,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -45404,7 +45898,7 @@ function Zue(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (_ ? OM : DM).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (_ ? $M : QM).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -45419,12 +45913,12 @@ function Zue(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- AM(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ tN(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : D
}) : null,
- AM(u) ? /* @__PURE__ */ (0, L.jsx)(Jue, {
+ tN(u) ? /* @__PURE__ */ (0, L.jsx)(yde, {
kind: u,
layout: r,
onChange: A
@@ -45433,7 +45927,7 @@ function Zue(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, L.jsx)(Xue, {
+ /* @__PURE__ */ (0, L.jsx)(xde, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -45443,7 +45937,7 @@ function Zue(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, L.jsx)(Wue, {
+ u === "tags" ? /* @__PURE__ */ (0, L.jsx)(hde, {
categories: N,
category: h,
online: _,
@@ -45468,8 +45962,8 @@ function Zue(e) {
mode: m
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: Vw("search"),
+ if (w.isError) return /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: lT("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
@@ -45478,18 +45972,18 @@ function Zue(e) {
}),
children: d(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, L.jsx)($ue, {
+ if (!T.length) return /* @__PURE__ */ (0, L.jsx)(wde, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, L.jsx)(JM, {
+ if (v) return /* @__PURE__ */ (0, L.jsx)(yN, {
items: T,
layout: r,
props: e
});
- if (AM(u)) return /* @__PURE__ */ (0, L.jsx)(qM, {
+ if (tN(u)) return /* @__PURE__ */ (0, L.jsx)(vN, {
kind: u,
items: T,
layout: r,
@@ -45500,10 +45994,10 @@ function Zue(e) {
picked: a,
press: M
};
- return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(Bue, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(dde, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, L.jsx)(Hue, {
+ }) : /* @__PURE__ */ (0, L.jsx)(pde, {
tags: O,
actions: t
});
@@ -45518,13 +46012,13 @@ function Zue(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(sw, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(vw, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(Gue, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, L.jsx)(gde, {
count: a.size,
match: s,
onMatch: c,
@@ -45537,31 +46031,31 @@ function Zue(e) {
]
});
}
-var Que = {
+var Cde = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function $ue({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: Vw("search"),
+function wde({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: lT("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, L.jsx)(tw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Que[e], a = /* @__PURE__ */ (0, L.jsx)(tw, {
+ let i = n && e === "performers" ? "创作者" : Cde[e], a = /* @__PURE__ */ (0, L.jsx)(fw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: Vw(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: lT(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [r ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
@@ -45571,15 +46065,15 @@ function $ue({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var XL = {
+var iR = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, ede = (e) => XL[e.junk_kind || "other"] || XL.other;
-function tde(e) {
+}, Tde = (e) => iR[e.junk_kind || "other"] || iR.other;
+function Ede(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -45590,21 +46084,21 @@ function tde(e) {
glyph: "check"
};
}
-var nde = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), rde = (e, t) => [
+var Dde = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Ode = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function ide({ kind: e, view: t }) {
+function kde({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function ade(e, t) {
- let n = await iw(`/api/ads?${ide(e)}`, t);
+async function Ade(e, t) {
+ let n = await hw(`/api/ads?${kde(e)}`, t);
return {
...n,
items: n.items || []
@@ -45612,19 +46106,19 @@ async function ade(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function ZL({ name: e }) {
+function aR({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var QL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = ede(e), g = String(e.name || ""), _ = tde(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
- t.target.closest("[data-junk-actions]") || QL(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var oR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function jde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = Tde(e), g = String(e.name || ""), _ = Ede(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ t.target.closest("[data-junk-actions]") || oR(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), QL(i, t)) {
+ if (t.stopPropagation(), oR(i, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -45666,7 +46160,7 @@ function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(ZL, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, L.jsx)(aR, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -45678,7 +46172,7 @@ function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(ZL, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(aR, { name: "check" })
})
]
}),
@@ -45715,7 +46209,7 @@ function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [l === "reveal" ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: k("正在定位") }
- }) : /* @__PURE__ */ (0, L.jsx)(ZL, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : /* @__PURE__ */ (0, L.jsx)(aR, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -45727,7 +46221,7 @@ function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": _.label,
...w(_.operation),
onClick: C(_.operation),
- children: [/* @__PURE__ */ (0, L.jsx)(ZL, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(aR, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -45739,7 +46233,7 @@ function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, L.jsx)(ZL, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(aR, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -45754,7 +46248,7 @@ function ode({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
]
});
}
-var sde = (0, I.memo)(ode), cde = [
+var Mde = (0, I.memo)(jde), Nde = [
[
"",
"全部",
@@ -45791,53 +46285,53 @@ var sde = (0, I.memo)(ode), cde = [
"hard-drive"
]
];
-function $L(e = "", t = "pending") {
+function sR(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function lde(e) {
+function Pde(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: $L("", "pending")
+ href: sR("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: $L("", "dismissed")
+ href: sR("", "dismissed")
};
}
-var ude = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Fde = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function eR({ name: e }) {
+function cR({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function tR({ scope: e, count: t }) {
+function lR({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function dde({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = hA(), { kind: a, view: o } = e, s = lde(o), c = (e) => {
+function Ide({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = RA(), { kind: a, view: o } = e, s = Pde(o), c = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || $L()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || sR()));
}, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, L.jsx)(Qj, {
- label: ude(o),
+ children: /* @__PURE__ */ (0, L.jsx)(CM, {
+ label: Fde(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -45850,16 +46344,16 @@ function dde({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- cde.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
- href: $L(e, o),
+ Nde.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ href: sR(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(eR, { name: r }),
+ /* @__PURE__ */ (0, L.jsx)(cR, { name: r }),
n,
- /* @__PURE__ */ (0, L.jsx)(tR, {
+ /* @__PURE__ */ (0, L.jsx)(lR, {
scope: e,
- count: t ? nde(t, e) : 0
+ count: t ? Dde(t, e) : 0
})
]
}, e || "all")),
@@ -45872,9 +46366,9 @@ function dde({ route: e, page: t, failed: n, onNavigate: r }) {
"data-junk-view-link": s.view,
"aria-current": o === "dismissed" ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(eR, { name: s.glyph }),
+ /* @__PURE__ */ (0, L.jsx)(cR, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, L.jsx)(tR, {
+ /* @__PURE__ */ (0, L.jsx)(lR, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -45887,38 +46381,38 @@ function dde({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var fde = Vw("check"), pde = (e, t) => e[1] === t.view && e[2] === t.kind;
-function mde(e) {
+var Lde = lT("check"), Rde = (e, t) => e[1] === t.view && e[2] === t.kind;
+function zde(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, I.useRef)(e.cache);
n.current = e.cache;
let r = Ft({
- queryKey: rde(t, e.revision),
+ queryKey: Ode(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await ade(t, e);
+ let r = await Ade(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && pde(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && Rde(n.queryKey, t) ? e : void 0
});
(0, I.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = hde(e.countRow), a = r.isPending;
+ let i = Bde(e.countRow), a = r.isPending;
(0, I.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, I.useLayoutEffect)(() => {
i && r.data && w(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, Th.createPortal)(/* @__PURE__ */ (0, L.jsx)(dde, {
+ let { navigate: o } = e.actions, s = i ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Ide, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(gde, {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Vde, {
props: e,
data: r.data,
pending: a,
@@ -45926,7 +46420,7 @@ function mde(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function hde(e) {
+function Bde(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!e) return;
@@ -45936,8 +46430,8 @@ function hde(e) {
};
}, [e]), t;
}
-function gde({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Aw(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
+function Vde({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Vw(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
f?.() !== !1 && c((e) => e + 1);
}, [f]);
return /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -45945,14 +46439,14 @@ function gde({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, L.jsx)(jw, {
+ if (!t) return /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: fde,
+ return /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: Lde,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -45961,7 +46455,7 @@ function gde({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(sde, {
+ children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(Mde, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -45969,11 +46463,11 @@ function gde({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(_de, { onMore: p }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Hde, { onMore: p }, s) : null] });
})()]
});
}
-function _de({ onMore: e }) {
+function Hde({ onMore: e }) {
let t = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
let n = t.current;
@@ -45991,12 +46485,12 @@ function _de({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var nR = "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", vde = {
- gray: `${nR} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${nR} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${nR} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var uR = "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", Ude = {
+ gray: `${uR} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${uR} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${uR} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function yde({ value: e, max: t }) {
+function Wde({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
@@ -46024,16 +46518,16 @@ function yde({ value: e, max: t }) {
})]
});
}
-function bde(e) {
- let { job: t } = FA(e), n = t.data, r = t.isError ? n ? AT : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Gde(e) {
+ let { job: t } = oj(e), n = t.data, r = t.isError ? n ? eE : 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 ? "扫描与资料采集未完成" : FT(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? GS : IS;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : aE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? dC : nC;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
- className: vde[s],
+ className: Ude[s],
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, L.jsx)(yde, {
+ children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Wde, {
value: c,
max: l
}) : /* @__PURE__ */ (0, L.jsx)(d, {
@@ -46043,42 +46537,42 @@ function bde(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, L.jsx)(oA, {
+ }), /* @__PURE__ */ (0, L.jsx)(EA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: ES,
+ trailingIcon: KS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var xde = "/api/playlists", rR = "/api/playlist", iR = ["playlists"], aR = (e) => iw(xde, e);
-async function Sde(e) {
+var Kde = "/api/playlists", dR = "/api/playlist", fR = ["playlists"], pR = (e) => hw(Kde, e);
+async function qde(e) {
await X.fetchQuery({
- queryKey: iR,
- queryFn: () => aR(e),
+ queryKey: fR,
+ queryFn: () => pR(e),
staleTime: 0
});
}
-var oR = () => X.invalidateQueries({
- queryKey: iR,
+var mR = () => X.invalidateQueries({
+ queryKey: fR,
exact: !0
-}), Cde = (e) => e.current_asset_id || e.preview_asset_id || null, sR = (e) => `/poster?id=${e}&c=4`, wde = (e) => q(rR, {
+}), Jde = (e) => e.current_asset_id || e.preview_asset_id || null, hR = (e) => `/poster?id=${e}&c=4`, Yde = (e) => q(dR, {
action: "create",
name: e,
asset_ids: []
-}), cR = (e, t) => q(rR, {
+}), gR = (e, t) => q(dR, {
action: "rename",
id: e,
name: t
-}), lR = (e) => q(rR, {
+}), _R = (e) => q(dR, {
action: "delete",
id: e
-}), Tde = (e) => iw(`${rR}?id=${e}`).catch(() => null);
-function Ede(e) {
+}), Xde = (e) => hw(`${dR}?id=${e}`).catch(() => null);
+function Zde(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(rR, {
+ return q(dR, {
action: "create",
name: e.name,
asset_ids: t,
@@ -46088,18 +46582,18 @@ function Ede(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Dde = Vw("ellipsis"), Ode = Vw("pencil"), kde = Vw("trash"), Ade = Vw("playlist"), uR = XC(cA, lA, "text-body-2-medium"), dR = "播放列表名称不能为空", fR = (e) => async () => {
+var Qde = lT("ellipsis"), $de = lT("pencil"), efe = lT("trash"), tfe = lT("playlist"), vR = sw(OA, kA, "text-body-2-medium"), yR = "播放列表名称不能为空", bR = (e) => async () => {
try {
await e();
} finally {
- oR();
+ mR();
}
};
-function jde({ toast: e }) {
+function nfe({ toast: e }) {
let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = It({
- mutationFn: (e) => wde(e),
+ mutationFn: (e) => Yde(e),
onSuccess: (t) => {
- n(""), i(""), oR(), e("已新建播放列表", { undo: fR(() => lR(t.playlist.id)) });
+ n(""), i(""), mR(), e("已新建播放列表", { undo: bR(() => _R(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -46109,7 +46603,7 @@ function jde({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(dR);
+ i(yR);
return;
}
a.mutate(t);
@@ -46118,7 +46612,7 @@ function jde({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)($j, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -46137,7 +46631,7 @@ function jde({ toast: e }) {
})]
});
}
-function Mde({ target: e, close: t, toast: n }) {
+function rfe({ target: e, close: t, toast: n }) {
let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(""), s = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (!e) return;
@@ -46148,13 +46642,13 @@ function Mde({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = It({
- mutationFn: ({ row: e, value: t }) => cR(e.id, t),
+ mutationFn: ({ row: e, value: t }) => gR(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), oR(), n("已重命名播放列表", { undo: fR(() => cR(r.id, r.name)) });
+ t(), mR(), n("已重命名播放列表", { undo: bR(() => gR(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
- return /* @__PURE__ */ (0, L.jsx)(eP, {
+ return /* @__PURE__ */ (0, L.jsx)(DP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -46166,7 +46660,7 @@ function Mde({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(dR);
+ o(yR);
return;
}
c.mutate({
@@ -46177,11 +46671,11 @@ function Mde({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, L.jsx)(UD, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sO, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, L.jsx)(Oj, {
+ }), /* @__PURE__ */ (0, L.jsx)($j, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -46209,7 +46703,7 @@ function Mde({ target: e, close: t, toast: n }) {
})
});
}
-function Nde({ name: e, onRename: t, onDelete: n }) {
+function ife({ name: e, onRename: t, onDelete: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -46223,33 +46717,33 @@ function Nde({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, L.jsx)(Dde, {
+ children: /* @__PURE__ */ (0, L.jsx)(Qde, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: sA,
- children: /* @__PURE__ */ (0, L.jsxs)(yk, {
+ className: DA,
+ children: /* @__PURE__ */ (0, L.jsxs)(wA, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: uR,
+ className: vR,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(Ode, {
+ children: [/* @__PURE__ */ (0, L.jsx)($de, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: uR,
+ className: vR,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(kde, {
+ children: [/* @__PURE__ */ (0, L.jsx)(efe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -46257,13 +46751,13 @@ function Nde({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function Pde({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function afe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = Ft({
- queryKey: iR,
- queryFn: ({ signal: e }) => aR(e)
+ queryKey: fR,
+ queryFn: ({ signal: e }) => pR(e)
}), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(a);
(0, I.useEffect)(() => {
- l.current !== a && (l.current = a, oR());
+ l.current !== a && (l.current = a, mR());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, L.jsx)("div", {
@@ -46281,8 +46775,8 @@ function Pde({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Tde(e.id);
- await lR(e.id), oR(), i("已删除播放列表", t ? { undo: fR(() => Ede(t)) } : void 0);
+ let t = await Xde(e.id);
+ await _R(e.id), mR(), i("已删除播放列表", t ? { undo: bR(() => Zde(t)) } : void 0);
}
});
};
@@ -46297,39 +46791,39 @@ function Pde({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, L.jsx)(jde, { toast: i })]
+ })] }), /* @__PURE__ */ (0, L.jsx)(nfe, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((i) => {
- let a = Cde(i);
- return /* @__PURE__ */ (0, L.jsx)(Yw, {
+ let a = Jde(i);
+ return /* @__PURE__ */ (0, L.jsx)(yT, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? sR(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(sR),
+ poster: i.preview_asset_id ? hR(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(hR),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, L.jsx)(Nde, {
+ menu: /* @__PURE__ */ (0, L.jsx)(ife, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: Ade,
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: tfe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, L.jsx)(Mde, {
+ /* @__PURE__ */ (0, L.jsx)(rfe, {
target: s,
close: () => c(null),
toast: i
@@ -46339,11 +46833,11 @@ function Pde({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Fde({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
+function ofe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-goal-id": t.id,
- className: aw({
+ className: gw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -46359,7 +46853,7 @@ function Fde({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, L.jsx)("img", {
- src: eE(t),
+ src: wE(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -46407,19 +46901,19 @@ function Fde({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
})]
});
}
-function Ide(e) {
+function sfe(e) {
let t = Ft({
- queryKey: ZT,
- queryFn: ({ signal: e }) => QT(e)
+ queryKey: xE,
+ queryFn: ({ signal: e }) => SE(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "高清版目标读取失败",
children: t.error ? K(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, L.jsxs)(cw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: aw({
+ return r.length ? /* @__PURE__ */ (0, L.jsxs)(yw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ className: gw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -46432,21 +46926,21 @@ function Ide(e) {
})]
}), /* @__PURE__ */ (0, L.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(Fde, {
+ children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(ofe, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsx)(ow, {
+ })] }) : /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: aC,
+ icon: Yte,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Lde(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 = yE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function cfe(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 = UE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -46454,29 +46948,29 @@ function Lde(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(YA, {
+ i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(bj, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xj, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -46484,7 +46978,7 @@ function Lde(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: AS,
+ leadingIcon: XS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -46495,11 +46989,12 @@ function Lde(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, L.jsxs)(mL, {
+ }), /* @__PURE__ */ (0, L.jsxs)(SL, {
label: "复核所选项目",
+ visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, L.jsxs)(YA, {
+ b ? /* @__PURE__ */ (0, L.jsxs)(bj, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -46507,10 +47002,10 @@ function Lde(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xj, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: e
}, e))]
@@ -46542,11 +47037,11 @@ function Lde(e) {
children: m
}) : null
]
- }) : null] });
+ })] });
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Rde = {
+var lfe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -46556,14 +47051,14 @@ var Rde = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, pR = "reviewgenretags";
-function zde({ tags: e }) {
+}, xR = "reviewgenretags";
+function ufe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("datalist", {
- id: pR,
+ id: xR,
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)("option", { value: e }, e))
}) : null;
}
-function mR({ candidate: e, selectable: t = !1 }) {
+function SR({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -46600,7 +47095,7 @@ function mR({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Rde[e] || e
+ children: lfe[e] || e
}),
/* @__PURE__ */ (0, L.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -46615,36 +47110,36 @@ function mR({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Bde({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function dfe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, L.jsx)(mR, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, L.jsx)(Ek, {
+ children: /* @__PURE__ */ (0, L.jsx)(SR, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, L.jsx)(Wk, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(Dk, {
+ children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(Gk, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, L.jsx)(mR, {
+ children: /* @__PURE__ */ (0, L.jsx)(SR, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Vde({ genre: e, tags: t, locked: n, toast: r }) {
+function ffe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = It({
- mutationFn: (t) => NE(e, t),
+ mutationFn: (t) => jre(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await IE();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Nre();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -46663,16 +47158,16 @@ function Vde({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(Tj, {
+ /* @__PURE__ */ (0, L.jsx)(Xj, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(Dj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Qj, {
size: "small",
- list: t.length ? pR : void 0,
+ list: t.length ? xR : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -46704,8 +47199,8 @@ function Vde({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function Hde({ row: e, tags: t, locked: n, toast: r }) {
- let i = DE(e);
+function pfe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = ZE(e);
return i.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -46713,7 +47208,7 @@ function Hde({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, L.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(Vde, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(ffe, {
genre: e,
tags: t,
locked: n,
@@ -46723,9 +47218,9 @@ function Hde({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var hR = (e = "") => /^https?:\/\//i.test(e) ? e : "", Ude = (e = "") => hR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function gR({ url: e }) {
- let t = Ude(e || ""), [n, r] = (0, I.useState)(!1);
+var CR = (e = "") => /^https?:\/\//i.test(e) ? e : "", mfe = (e = "") => CR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function wR({ url: e }) {
+ let t = mfe(e || ""), [n, r] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, L.jsx)("img", {
@@ -46740,7 +47235,7 @@ function gR({ url: e }) {
})
});
}
-function _R({ asset: e, openItem: t }) {
+function TR({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -46756,7 +47251,7 @@ function _R({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, L.jsx)(K_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, L.jsx)(iv, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, L.jsx)("b", {
@@ -46766,21 +47261,21 @@ function _R({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: JS,
+ leadingIcon: Wte,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function Wde({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function hfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${pL}`,
+ 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 ${bL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -46796,8 +47291,8 @@ function Wde({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function Gde({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = hR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function gfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = CR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -46807,10 +47302,10 @@ function Gde({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, L.jsx)(tw, {
+ children: [o ? /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "secondary",
size: "small",
- trailingIcon: LS,
+ trailingIcon: rC,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -46822,7 +47317,7 @@ function Gde({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, L.jsx)(gR, { url: e.preview_url }),
+ /* @__PURE__ */ (0, L.jsx)(wR, { url: e.preview_url }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -46865,7 +47360,7 @@ function Gde({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function Kde({ assets: e, picked: t, onPicked: n, locked: r }) {
+function _fe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, I.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -46921,7 +47416,7 @@ function Kde({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsx)(aj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Aj, {
size: "sm",
state: {
isSelected: n,
@@ -46932,7 +47427,7 @@ function Kde({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, L.jsx)(K_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, L.jsx)(iv, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -46941,19 +47436,19 @@ function Kde({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var qde = aw({
+var vfe = gw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), vR = "flex min-h-6 min-w-0 items-center", Jde = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Yde(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, I.useRef)(!1), m = hA(), h = hA(), g = t === "metadata_fields", _ = mE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = wE(t, n), x = CE(t, n), S = SE(t, n), C = TE(n), w = EE(n), T = xE(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
+}), ER = "flex min-h-6 min-w-0 items-center", yfe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function bfe(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, I.useRef)(!1), m = RA(), h = RA(), g = t === "metadata_fields", _ = RE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = JE(t, n), x = qE(t, n), S = KE(t, n), C = YE(n), w = XE(n), T = GE(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(_R, {
+ children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(TR, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, L.jsx)(Wde, {
+ }) : y ? /* @__PURE__ */ (0, L.jsx)(hfe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -46963,14 +47458,14 @@ function Yde(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(_R, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(TR, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(Bde, {
+ }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(dfe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -46979,7 +47474,7 @@ function Yde(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(Kde, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(_fe, {
assets: D,
picked: r.assets,
locked: s,
@@ -46987,21 +47482,21 @@ function Yde(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "inset",
- icon: US,
+ icon: lC,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(Gde, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(gfe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, L.jsx)(gR, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
- className: `${vR} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, L.jsx)($C, {
+ }) : /* @__PURE__ */ (0, L.jsx)(wR, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
+ className: `${ER} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "blue",
children: x
@@ -47011,7 +47506,7 @@ function Yde(e) {
children: S
})]
}) : /* @__PURE__ */ (0, L.jsx)("h4", {
- className: vR,
+ className: ER,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -47021,20 +47516,20 @@ function Yde(e) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${qde} ${Jde(t)} overflow-hidden`,
+ className: `${vfe} ${yfe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${vR} shrink-0`,
+ className: `${ER} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, L.jsx)(oj, {
+ children: /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -47044,7 +47539,7 @@ function Yde(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, L.jsx)($C, {
+ O ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -47068,7 +47563,7 @@ function Yde(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)($C, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "soft",
children: e
@@ -47078,7 +47573,7 @@ function Yde(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, L.jsx)(Hde, {
+ /* @__PURE__ */ (0, L.jsx)(pfe, {
row: n,
tags: u,
locked: s,
@@ -47092,7 +47587,7 @@ function Yde(e) {
})
}),
g && C ? /* @__PURE__ */ (0, L.jsx)("div", {
- className: "relative -mx-5 shrink-0",
+ className: "relative -mx-5 -mb-4 shrink-0",
children: /* @__PURE__ */ (0, L.jsx)("p", {
ref: h,
role: "region",
@@ -47140,8 +47635,8 @@ function Yde(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Xde = "flex cursor-pointer items-center justify-between gap-2";
-function Zde({ page: e, pages: t, onPage: n }) {
+var xfe = "flex cursor-pointer items-center justify-between gap-2";
+function Sfe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -47155,7 +47650,7 @@ function Zde({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: tE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: TE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -47178,38 +47673,38 @@ function Zde({ page: e, pages: t, onPage: n }) {
]
});
}
-function Qde(e) {
+function Cfe(e) {
let [t, n] = (0, I.useState)(() => matchMedia("(max-width:900px)").matches);
(0, I.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, I.useState)(pE(e.category) ? e.category : fE), [m, h] = (0, I.useState)("candidates"), [g, _] = (0, I.useState)(""), [v, y] = (0, I.useState)(1), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, I.useState)(""), O = (0, I.useRef)(null), [k, A] = (0, I.useState)(0), [j, M] = (0, I.useState)(""), N = (0, I.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, I.useState)(LE(e.category) ? e.category : IE), [m, h] = (0, I.useState)("candidates"), [g, _] = (0, I.useState)(""), [v, y] = (0, I.useState)(1), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, I.useState)(""), O = (0, I.useRef)(null), [k, A] = (0, I.useState)(0), [j, M] = (0, I.useState)(""), N = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
N.current = !1;
}, []);
let ee = Ft({
- queryKey: lE,
- queryFn: ({ signal: e }) => jE(e)
+ queryKey: NE,
+ queryFn: ({ signal: e }) => eD(e)
}).data || {
sections: {},
counts: {}
- }, te = ee.sections[f] || [], P = f === "metadata_fields", ne = l, F = hE(te, P), re = F.some(([e]) => e === m) ? m : "candidates", ie = gE(te, re), ae = ie.some((e) => e.key === g) ? g : "", oe = vE(_E(te, re, ae), v), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, te = ee.sections[f] || [], P = f === "metadata_fields", ne = l, F = zE(te, P), re = F.some(([e]) => e === m) ? m : "candidates", ie = BE(te, re), ae = ie.some((e) => e.key === g) ? g : "", oe = HE(VE(te, re, ae), v), 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) => S.get(e.item_key) || OE(e), R = te.filter((e) => b.has(e.item_key)), z = (e) => {
+ })).filter((e) => e.rows.length), ue = (e) => S.get(e.item_key) || QE(e), R = te.filter((e) => b.has(e.item_key)), z = (e) => {
let t = new Set(e);
x((e) => new Set([...e].filter((e) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, de = (e, t) => T((n) => new Map(n).set(e, t)), fe = (e) => {
p(e), h("candidates"), _(""), y(1), x(/* @__PURE__ */ new Set()), C(/* @__PURE__ */ new Map()), T(/* @__PURE__ */ new Map()), D(""), O.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, pe = It({
- mutationFn: ({ row: e, status: t }) => ME(kE(f, e, t, ue(e))),
+ mutationFn: ({ row: e, status: t }) => tD($E(f, e, t, ue(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
de(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- FE(f, [t.item_key]), z([t.item_key]), c(AE(n));
+ nD(f, [t.item_key]), z([t.item_key]), c(Are(n));
},
onError: (e, { row: t }) => de(t.item_key, K(e))
}), me = It({
@@ -47219,7 +47714,7 @@ function Qde(e) {
if (!N.current) break;
D(`正在处理 ${i} / ${t.length}`);
try {
- let t = await ME(kE(f, a, e, ue(a)));
+ let t = await tD($E(f, a, e, ue(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -47233,7 +47728,7 @@ function Qde(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- FE(f, t), z(t), n.forEach(([e, t]) => de(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ nD(f, t), z(t), n.forEach(([e, t]) => de(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
D(K(e));
@@ -47263,7 +47758,7 @@ function Qde(e) {
A(e), M("");
let t = await o(e);
N.current && (A(0), M(t));
- }, ve = LE(ee.mirror, u), ye = ee.genre_tags || [], be = {
+ }, ve = Pre(ee.mirror, u), ye = ee.genre_tags || [], be = {
openItem: i,
openEntity: a,
onReveal: _e,
@@ -47272,7 +47767,7 @@ function Qde(e) {
avatarInner: s,
toast: c
};
- return /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
+ return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, L.jsx)(J, {
@@ -47288,13 +47783,13 @@ function Qde(e) {
}) : void 0,
children: ve
}) : null,
- /* @__PURE__ */ (0, L.jsx)(zde, { tags: ye }),
- /* @__PURE__ */ (0, L.jsxs)(tA, {
+ /* @__PURE__ */ (0, L.jsx)(ufe, { tags: ye }),
+ /* @__PURE__ */ (0, L.jsxs)(yA, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
let t = String(e);
- pE(t) && fe(t);
+ LE(t) && fe(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -47303,27 +47798,27 @@ function Qde(e) {
children: [/* @__PURE__ */ (0, L.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, L.jsx)(nA, {
+ }), /* @__PURE__ */ (0, L.jsx)(bA, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: dE.map((e) => {
+ children: FE.map((e) => {
let t = Number(ee.counts[e] || 0);
- return /* @__PURE__ */ (0, L.jsxs)(rA, {
+ return /* @__PURE__ */ (0, L.jsxs)(xA, {
id: e,
- className: Xde,
- children: [uE[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ className: xfe,
+ children: [PE[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, L.jsxs)(iA, {
+ }), /* @__PURE__ */ (0, L.jsxs)(SA, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !ne ? /* @__PURE__ */ (0, L.jsx)(Lde, {
+ te.length && !ne ? /* @__PURE__ */ (0, L.jsx)(cfe, {
groupOptions: F,
groupBy: re,
onGroupBy: (e) => {
@@ -47339,7 +47834,7 @@ function Qde(e) {
onSelected: x,
selectedRows: R,
metadata: P,
- approvable: R.every((e) => xE(f, e)),
+ approvable: R.every((e) => GE(f, e)),
busy: me.isPending,
feedback: E,
onUnifySource: ge,
@@ -47364,7 +47859,7 @@ function Qde(e) {
})]
}) : null, /* @__PURE__ */ (0, L.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(Yde, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(bfe, {
category: f,
row: e,
choice: ue(e),
@@ -47372,7 +47867,7 @@ function Qde(e) {
selected: b.has(e.item_key),
onSelect: (t, n) => x((r) => {
let i = new Set(r);
- return O.current = bE(i, se, O.current, e.item_key, t, n), i;
+ return O.current = WE(i, se, O.current, e.item_key, t, n), i;
}),
locked: ne,
busy: pe.isPending && pe.variables?.row.item_key === e.item_key,
@@ -47387,12 +47882,12 @@ function Qde(e) {
handlers: be
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, L.jsx)(ow, {
- icon: jS,
+ }, e.key)) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ icon: ZS,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, L.jsx)(Zde, {
+ /* @__PURE__ */ (0, L.jsx)(Sfe, {
page: oe.page,
pages: oe.pages,
onPage: y
@@ -47405,30 +47900,30 @@ function Qde(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var $de = "/api/scraping", efe = "/api/scraping/settings", tfe = "/api/scraping/check", yR = "/api/scraping/cover", nfe = "/api/scraping/amane-bridge", rfe = "/api/scraping/amane-bridge/check", ife = "/api/scraping/amane-bridge/rebuild", bR = ["scraping"], xR = ["scraping", "cover"], SR = ["scraping", "amane-bridge"], CR = (e) => iw($de, e), wR = (e) => iw(yR, e), TR = (e) => iw(nfe, e);
-async function afe(e) {
+var wfe = "/api/scraping", Tfe = "/api/scraping/settings", Efe = "/api/scraping/check", DR = "/api/scraping/cover", Dfe = "/api/scraping/amane-bridge", Ofe = "/api/scraping/amane-bridge/check", kfe = "/api/scraping/amane-bridge/rebuild", OR = ["scraping"], kR = ["scraping", "cover"], AR = ["scraping", "amane-bridge"], jR = (e) => hw(wfe, e), MR = (e) => hw(DR, e), NR = (e) => hw(Dfe, e);
+async function Afe(e) {
await Promise.all([
X.fetchQuery({
- queryKey: bR,
- queryFn: () => CR(e)
+ queryKey: OR,
+ queryFn: () => jR(e)
}),
X.fetchQuery({
- queryKey: xR,
- queryFn: () => wR(e)
+ queryKey: kR,
+ queryFn: () => MR(e)
}),
X.fetchQuery({
- queryKey: SR,
- queryFn: () => TR(e)
+ queryKey: AR,
+ queryFn: () => NR(e)
})
]);
}
-function ofe(e, t) {
+function jfe(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 sfe = [["peach", "Peach 代理"], ["direct", "直接连接"]], ER = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function cfe({ source: e }) {
+var Mfe = [["peach", "Peach 代理"], ["direct", "直接连接"]], PR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function Nfe({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("img", {
src: p({ source: e }),
alt: "",
@@ -47439,13 +47934,13 @@ function cfe({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function lfe({ source: e, toast: t }) {
- let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(ER[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
+function Pfe({ source: e, toast: t }) {
+ let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(PR[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = It({
- mutationFn: (t) => q(efe, {
+ mutationFn: (t) => q(Tfe, {
source: e.source,
network: n,
cookie: i,
@@ -47453,12 +47948,12 @@ function lfe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(bR, (t) => t && {
+ X.setQueryData(OR, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = It({ mutationFn: () => q(tfe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = It({ mutationFn: () => q(Efe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -47483,40 +47978,40 @@ function lfe({ source: e, toast: t }) {
}
}
let C = f || (g.error ? K(g.error) : "") || (_.error ? K(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, L.jsx)(cfe, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(kA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Nfe, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(ej, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(CA, { children: /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: /* @__PURE__ */ (0, L.jsx)(KA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: sfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: Mfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, L.jsxs)(wA, {
+ T ? /* @__PURE__ */ (0, L.jsxs)(YA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, L.jsx)(oA, {
+ children: /* @__PURE__ */ (0, L.jsx)(EA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: ES,
+ trailingIcon: KS,
children: "配置 Peach 代理"
})
}) : null,
@@ -47529,20 +48024,20 @@ function lfe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, L.jsx)(Ek, {
+ /* @__PURE__ */ (0, L.jsx)(qN, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: xN,
- children: ER.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Dk, {
+ className: JN,
+ children: PR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gk, {
value: e,
- className: SN,
+ className: YN,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, L.jsx)(Oj, {
+ c === "paste" ? /* @__PURE__ */ (0, L.jsx)($j, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -47551,7 +48046,7 @@ function lfe({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
@@ -47577,14 +48072,14 @@ function lfe({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, L.jsx)(DA, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, L.jsx)(QA, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: ofe(t, e.label)
+ children: jfe(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(TA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: b,
@@ -47606,26 +48101,26 @@ function lfe({ source: e, toast: t }) {
]
});
}
-function ufe({ toast: e }) {
- let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = ej({
- queryKey: xR,
- queryFn: ({ signal: e }) => wR(e),
- start: () => q(yR, { code: t }),
+function Ffe({ toast: e }) {
+ let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Tj({
+ queryKey: kR,
+ queryFn: ({ signal: e }) => MR(e),
+ start: () => q(DR, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? K(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, L.jsx)(SA, {
+ return /* @__PURE__ */ (0, L.jsx)(qA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, L.jsxs)(wA, { children: [
+ children: /* @__PURE__ */ (0, L.jsxs)(YA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: /* @__PURE__ */ (0, L.jsx)($j, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -47640,7 +48135,7 @@ function ufe({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, L.jsx)(sw, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: s
@@ -47652,11 +48147,11 @@ function ufe({ toast: e }) {
] })
});
}
-function dfe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = ej({
- queryKey: SR,
- queryFn: ({ signal: e }) => TR(e),
- start: () => q(ife, {}),
+function Ife({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = Tj({
+ queryKey: AR,
+ queryFn: ({ signal: e }) => NR(e),
+ start: () => q(kfe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -47665,49 +48160,49 @@ function dfe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = It({ mutationFn: () => q(rfe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(SA, {
+ }), a = It({ mutationFn: () => q(Ofe, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(qA, {
title: "amane 桥",
- children: /* @__PURE__ */ (0, L.jsx)(wA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(YA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: K(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? K(i.error) : a.error ? K(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "amane 桥",
- aside: /* @__PURE__ */ (0, L.jsx)(kA, {
+ aside: /* @__PURE__ */ (0, L.jsx)(ej, {
href: o.repository,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, L.jsxs)(AA, { children: [
- /* @__PURE__ */ (0, L.jsxs)(jA, {
+ /* @__PURE__ */ (0, L.jsxs)(tj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(nj, {
term: "钉住的版本",
children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "开放的站",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(wA, {
+ /* @__PURE__ */ (0, L.jsxs)(YA, {
divided: !0,
children: [
- /* @__PURE__ */ (0, L.jsxs)(EA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
"这几站由 amane(",
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, L.jsx)(sw, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: c
@@ -47718,7 +48213,7 @@ function dfe({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(TA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -47735,23 +48230,23 @@ function dfe({ toast: e }) {
]
});
}
-function ffe({ toast: e }) {
+function Lfe({ toast: e }) {
let t = Ft({
- queryKey: bR,
- queryFn: ({ signal: e }) => CR(e)
+ queryKey: OR,
+ queryFn: ({ signal: e }) => jR(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, L.jsxs)(cw, { children: [
+ return n ? /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, L.jsx)(ufe, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(lfe, {
+ /* @__PURE__ */ (0, L.jsx)(Ffe, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(Pfe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, L.jsx)(dfe, { toast: e })
- ] }) : /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ /* @__PURE__ */ (0, L.jsx)(Ife, { toast: e })
+ ] }) : /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -47759,24 +48254,24 @@ function ffe({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var DR = "/api/configuration", pfe = "/api/pick-folder", OR = ["configuration"], kR = (e) => iw(DR, e);
-async function AR(e) {
+var FR = "/api/configuration", Rfe = "/api/pick-folder", IR = ["configuration"], LR = (e) => hw(FR, e);
+async function RR(e) {
await X.fetchQuery({
- queryKey: OR,
- queryFn: () => kR(e)
+ queryKey: IR,
+ queryFn: () => LR(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var mfe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", hfe = "仅填域名;留空使用默认地址";
+var zfe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Bfe = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function gfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.sites), i = dw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Vfe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.sites), i = Sw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -47785,9 +48280,9 @@ function gfe({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, L.jsxs)(wA, { children: [
- /* @__PURE__ */ (0, L.jsx)(EA, { children: mfe }),
- n.map((e) => /* @__PURE__ */ (0, L.jsx)(Oj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: zfe }),
+ n.map((e) => /* @__PURE__ */ (0, L.jsx)($j, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -47796,10 +48291,10 @@ function gfe({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: hfe
+ hint: Bfe
}, e.key)),
- i.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(TA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -47808,21 +48303,21 @@ function gfe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function _fe({ data: e, receipt: t }) {
+function Hfe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(vfe, {
+ children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Ufe, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(gfe, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Vfe, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function vfe({ startup: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = dw(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+function Ufe({ startup: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Sw(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -47832,30 +48327,30 @@ function vfe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(CA, { children: [
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -47863,11 +48358,11 @@ function vfe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(wA, {
+ e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(YA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, L.jsx)(EA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(TA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -47878,23 +48373,23 @@ function vfe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var jR = /* @__PURE__ */ new Set([
+var zR = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), yfe = [
+]), Wfe = [
65,
67,
90
-], MR = 120;
-function bfe({ initial: e, initialJob: t }) {
+], BR = 120;
+function Gfe({ initial: e, initialJob: t }) {
let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, I.useState)(""), c = dw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = jR.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = Sw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = zR.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -47911,9 +48406,9 @@ function bfe({ initial: e, initialJob: t }) {
(0, I.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, I.useEffect)(() => {
- let e = new AbortController(), t = jR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = zR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await iw("/api/configuration/update-status", e.signal);
+ let t = await hw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -47921,12 +48416,12 @@ function bfe({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await iw("/api/configuration/automatic-updates", e.signal);
+ let n = await hw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= MR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= BR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < MR && (n = setTimeout(c, t));
+ !e.signal.aborted && o < BR && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -47934,63 +48429,63 @@ function bfe({ initial: e, initialJob: t }) {
}, [i.state]);
let m = () => {
d || (l.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, h = () => void c.run("check", (e) => iw("/api/configuration/updates", e), r, (t) => {
+ }, h = () => void c.run("check", (e) => hw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
}), c.setError(K(t));
}), _ = c.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, L.jsxs)(AA, { children: [
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsxs)(tj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(wA, {
+ /* @__PURE__ */ (0, L.jsxs)(YA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(EA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(ZA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(DA, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(EA, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(QA, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(ZA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(DA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(QA, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(uw, {
+ /* @__PURE__ */ (0, L.jsx)(xw, {
label: "更新准备进度",
value: i.progress,
- stops: yfe
+ stops: Wfe
}),
- /* @__PURE__ */ (0, L.jsxs)(EA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, L.jsx)(EA, { children: v })
+ /* @__PURE__ */ (0, L.jsxs)(ZA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(TA, {
- status: /* @__PURE__ */ (0, L.jsx)(kA, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, {
+ status: /* @__PURE__ */ (0, L.jsx)(ej, {
href: n.release_url,
children: "查看发布页"
}),
@@ -48017,98 +48512,98 @@ function bfe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var xfe = [
+var Kfe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Sfe({ data: e, receipt: t, reopenTutorial: n }) {
+function qfe({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(wfe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(Yfe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, L.jsx)(bfe, {
+ e.updates ? /* @__PURE__ */ (0, L.jsx)(Gfe, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Tfe, { facts: e.facts }),
- /* @__PURE__ */ (0, L.jsx)(Cfe, {
+ /* @__PURE__ */ (0, L.jsx)(Xfe, { facts: e.facts }),
+ /* @__PURE__ */ (0, L.jsx)(Jfe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Efe, {
+ e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Zfe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Cfe({ receipt: e, reopenTutorial: t }) {
- let n = dw();
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+function Jfe({ receipt: e, reopenTutorial: t }) {
+ let n = Sw();
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, L.jsxs)(wA, { children: [/* @__PURE__ */ (0, L.jsx)(EA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(TA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [/* @__PURE__ */ (0, L.jsx)(ZA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...Y(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function wfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = dw(e.error), s = (r) => {
+function Yfe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Sw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, L.jsxs)(CA, { children: [
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: xfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: Kfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, L.jsx)(wA, {
+ o.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(DA, { children: o.error })
+ children: /* @__PURE__ */ (0, L.jsx)(QA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(TA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -48117,19 +48612,19 @@ function wfe({ initial: e, receipt: t }) {
]
});
}
-function Tfe({ facts: e }) {
- return /* @__PURE__ */ (0, L.jsx)(SA, {
+function Xfe({ facts: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(qA, {
title: "运行信息",
- children: /* @__PURE__ */ (0, L.jsx)(AA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(jA, {
+ children: /* @__PURE__ */ (0, L.jsx)(tj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(nj, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(kA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(ej, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function Efe({ uninstall: e, receipt: t }) {
+function Zfe({ uninstall: e, receipt: t }) {
let [n, r] = (0, I.useState)(!1), [i, a] = (0, I.useState)(""), o = () => void g({
title: "卸载 Peach",
danger: !0,
@@ -48143,26 +48638,26 @@ function Efe({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, L.jsxs)(wA, { children: [
- e.available ? /* @__PURE__ */ (0, L.jsx)(EA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, L.jsx)(oj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
+ e.available ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, L.jsx)(MA, {
+ /* @__PURE__ */ (0, L.jsx)(rj, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(vA, {
+ children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(UA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, L.jsx)(TA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(XA, {
status: s ? /* @__PURE__ */ (0, L.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -48178,7 +48673,7 @@ function Efe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var Dfe = [
+var Qfe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -48197,32 +48692,32 @@ var Dfe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Ofe = [
+], $fe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function kfe() {
+function epe() {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(EA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(kA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(ZA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(ej, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, L.jsxs)(MA, {
+ })] }), /* @__PURE__ */ (0, L.jsxs)(rj, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, L.jsx)(EA, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, L.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Dfe.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: Qfe.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Ofe.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: $fe.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -48243,9 +48738,9 @@ function kfe() {
/* @__PURE__ */ (0, L.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, L.jsxs)(EA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, L.jsx)(kA, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -48257,7 +48752,7 @@ function kfe() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var NR = [
+var VR = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -48301,13 +48796,13 @@ var NR = [
["star", "收藏"],
["tags", "主题"]
];
-function Afe(e) {
+function tpe(e) {
let t = e === "local" ? "" : m[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var PR = "auto";
-function jfe({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = Afe(n);
+var HR = "auto";
+function npe({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = tpe(n);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
@@ -48321,35 +48816,35 @@ function jfe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, L.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(PA, { mark: e || l }), ((e) => e && NR.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: e || l }), ((e) => e && VR.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: sA,
- children: /* @__PURE__ */ (0, L.jsxs)(yk, {
+ className: DA,
+ children: /* @__PURE__ */ (0, L.jsxs)(Lk, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, L.jsx)(UD, {
+ /* @__PURE__ */ (0, L.jsx)(sO, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, L.jsx)(Ek, {
+ /* @__PURE__ */ (0, L.jsx)(Wk, {
"aria-label": "候选图标",
- value: s || PR,
- onChange: (e) => c(e === PR ? "" : e),
+ value: s || HR,
+ onChange: (e) => c(e === HR ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: NR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Dk, {
- value: e || PR,
+ children: VR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gk, {
+ value: e || HR,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
- children: /* @__PURE__ */ (0, L.jsx)(PA, { mark: e || l })
- }, e || PR))
+ children: /* @__PURE__ */ (0, L.jsx)(aj, { mark: e || l })
+ }, e || HR))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -48371,15 +48866,15 @@ function jfe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Mfe = "/api/configuration/push-discovery", Nfe = "/api/configuration/push-discovery/secret";
-function Pfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = dw(), l = hA(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+var rpe = "/api/configuration/push-discovery", ipe = "/api/configuration/push-discovery/secret";
+function ape({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Sw(), l = RA(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -48389,14 +48884,14 @@ function Pfe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(Mfe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(rpe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(CA, { children: [
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsxs)(JA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -48406,10 +48901,10 @@ function Pfe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -48419,10 +48914,10 @@ function Pfe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(yL, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -48433,30 +48928,30 @@ function Pfe({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, L.jsx)(wA, {
+ d.enabled ? /* @__PURE__ */ (0, L.jsx)(YA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsxs)(AA, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(jA, {
+ children: /* @__PURE__ */ (0, L.jsxs)(tj, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(nj, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, L.jsx)(jA, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(nj, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(wA, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(YA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, L.jsx)(EA, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(MA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(rj, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -48467,17 +48962,17 @@ function Pfe({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, L.jsx)(EA, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(ZA, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(wA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(YA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, L.jsx)(EA, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -48485,7 +48980,7 @@ function Pfe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -48494,19 +48989,19 @@ function Pfe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(_A, {
- icon: MS,
+ /* @__PURE__ */ (0, L.jsx)(BA, {
+ icon: QS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -48524,15 +49019,15 @@ function Pfe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, L.jsx)(wA, {
+ o || c.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(DA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, L.jsx)(QA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(TA, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(Nfe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(ipe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -48549,8 +49044,8 @@ function Pfe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Ffe = 8e3;
-function Ife({ className: e }) {
+var ope = 8e3;
+function spe({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -48563,33 +49058,33 @@ function Ife({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-search" })
});
}
-var FR = [
+var UR = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Lfe = (e) => FR.find(([t]) => t === e)?.[1] ?? e, IR = (e) => m[e] || "database", LR = (e = "") => ({
+], cpe = (e) => UR.find(([t]) => t === e)?.[1] ?? e, WR = (e) => m[e] || "database", GR = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function Rfe(e) {
- let t = e.media_sources?.filter((e) => FR.some(([t]) => t === e.location));
+function lpe(e) {
+ let t = e.media_sources?.filter((e) => UR.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) => LR(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => GR(e));
}
-var zfe = (e) => !(e instanceof nw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Bfe({ data: e, receipt: t }) {
+var upe = (e) => !(e instanceof pw) || e.status !== 400 ? null : e.body?.errors ?? null;
+function dpe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, L.jsx)(Vfe, {
+ e.editable ? /* @__PURE__ */ (0, L.jsx)(fpe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, L.jsx)(J, {
@@ -48597,21 +49092,21 @@ function Bfe({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, L.jsx)(Ufe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(Pfe, {
+ /* @__PURE__ */ (0, L.jsx)(mpe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(ape, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function Vfe({ data: e, receipt: t }) {
- let [n, r] = (0, I.useState)(() => Rfe(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = dw();
+function fpe({ data: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(() => lpe(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = Sw();
(0, I.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, I.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Ffe);
+ let e = setTimeout(() => location.assign(m.url), ope);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -48622,14 +49117,14 @@ function Vfe({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, LR()]);
+ _(n.length), r((e) => [...e, GR()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(pfe, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Rfe, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -48638,7 +49133,7 @@ function Vfe({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(DR, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(FR, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -48647,18 +49142,18 @@ function Vfe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = zfe(e);
+ let t = upe(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, L.jsx)(SA, {
+ if (m) return /* @__PURE__ */ (0, L.jsx)(qA, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, L.jsx)(wA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(YA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, L.jsx)(oA, {
+ /* @__PURE__ */ (0, L.jsx)(EA, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -48668,14 +49163,14 @@ function Vfe({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, L.jsxs)(wA, { children: [
+ children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(OA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, L.jsx)($A, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -48686,7 +49181,7 @@ function Vfe({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -48699,14 +49194,14 @@ function Vfe({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, L.jsx)(_A, {
- icon: Ife,
+ /* @__PURE__ */ (0, L.jsx)(BA, {
+ icon: spe,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(_A, {
- icon: MS,
+ n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(BA, {
+ icon: QS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -48714,7 +49209,7 @@ function Vfe({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -48723,7 +49218,7 @@ function Vfe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(OA, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(jfe, {
+ children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(npe, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -48732,20 +49227,20 @@ function Vfe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(OA, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: [/* @__PURE__ */ (0, L.jsx)($A, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: FR.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(XA, {
+ children: UR.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(xj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, L.jsx)(PA, { mark: IR(e) }), t]
+ children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: WR(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(Oj, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)($j, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -48762,18 +49257,18 @@ function Vfe({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, L.jsx)(kfe, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, L.jsxs)(EA, { children: [
+ A ? /* @__PURE__ */ (0, L.jsx)(epe, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, L.jsxs)(kA, {
+ /* @__PURE__ */ (0, L.jsxs)(ej, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(EA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(Oj, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)($j, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -48783,7 +49278,7 @@ function Vfe({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, L.jsx)(oj, {
+ /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -48793,7 +49288,7 @@ function Vfe({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(TA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(XA, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -48803,7 +49298,7 @@ function Vfe({ data: e, receipt: t }) {
})]
});
}
-function Hfe({ online: e }) {
+function ppe({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -48827,21 +49322,21 @@ function Hfe({ online: e }) {
}), "未检测"]
});
}
-function Ufe({ data: e }) {
- let t = e.media_sources, n = dw();
- return t ? /* @__PURE__ */ (0, L.jsxs)(SA, {
+function mpe({ data: e }) {
+ let t = e.media_sources, n = Sw();
+ return t ? /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, L.jsx)(AA, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(jA, {
- term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(PA, { mark: IR(e.location) }), Lfe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(Hfe, { online: e.online })]
+ /* @__PURE__ */ (0, L.jsx)(tj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(nj, {
+ term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(aj, { mark: WR(e.location) }), cpe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(ppe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, L.jsx)(wA, {
+ n.error ? /* @__PURE__ */ (0, L.jsx)(YA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(DA, { children: n.error })
+ children: /* @__PURE__ */ (0, L.jsx)(QA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(TA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => kR(e), (e) => X.setQueryData(OR, e)),
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: () => void n.run("refresh", (e) => LR(e), (e) => X.setQueryData(IR, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -48850,13 +49345,13 @@ function Ufe({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Wfe = {
+var hpe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Gfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = dw(), g = (e) => {
+function gpe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = Sw(), g = (e) => {
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) {
@@ -48873,28 +49368,28 @@ function Gfe({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof nw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof pw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = Wfe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ }, _ = hpe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, L.jsxs)(wA, { children: [
- _ ? /* @__PURE__ */ (0, L.jsx)(EA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, L.jsxs)(YA, { children: [
+ _ ? /* @__PURE__ */ (0, L.jsx)(ZA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(oj, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(jj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(Oj, {
+ n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)($j, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -48907,7 +49402,7 @@ function Gfe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
+ v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($j, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -48920,7 +49415,7 @@ function Gfe({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, L.jsx)(Oj, {
+ }), /* @__PURE__ */ (0, L.jsx)($j, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -48939,9 +49434,9 @@ function Gfe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, L.jsx)(TA, {
+ }), v ? /* @__PURE__ */ (0, L.jsx)(XA, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -48953,19 +49448,19 @@ function Gfe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var Kfe = 2e3, qfe = [["quick", "临时链接"], ["named", "命名隧道"]], Jfe = {
+var _pe = 2e3, vpe = [["quick", "临时链接"], ["named", "命名隧道"]], ype = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function Yfe({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = dw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function bpe({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = Sw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, I.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- kR(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(OR, t), i(t.tunnel), o(t.revision));
+ LR(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(IR, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, Kfe);
+ }, _pe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -48980,30 +49475,30 @@ function Yfe({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof nw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof pw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, L.jsxs)(wA, { children: [
- r.named_available ? /* @__PURE__ */ (0, L.jsx)(Ek, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(YA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, L.jsx)(qN, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: xN,
- children: qfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Dk, {
+ className: JN,
+ children: vpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Gk, {
value: e,
- className: SN,
+ className: YN,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(EA, { children: Jfe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: ype[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($j, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -49014,7 +49509,7 @@ function Yfe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, L.jsx)(Oj, {
+ }), /* @__PURE__ */ (0, L.jsx)($j, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -49034,7 +49529,7 @@ function Yfe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, L.jsx)(kA, {
+ children: /* @__PURE__ */ (0, L.jsx)(ej, {
href: r.url,
children: r.url
})
@@ -49044,9 +49539,9 @@ function Yfe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsxs)(TA, {
+ r.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsxs)(XA, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -49062,24 +49557,24 @@ function Yfe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Xfe = [
+var xpe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Zfe({ data: e, receipt: t }) {
+function Spe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(Qfe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(Cpe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, L.jsx)(Gfe, {
+ e.access ? /* @__PURE__ */ (0, L.jsx)(gpe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, L.jsx)(Yfe, {
+ e.tunnel ? /* @__PURE__ */ (0, L.jsx)(bpe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -49087,9 +49582,9 @@ function Zfe({ data: e, receipt: t }) {
]
});
}
-function Qfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = dw();
- return /* @__PURE__ */ (0, L.jsxs)(SA, {
+function Cpe({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Sw();
+ return /* @__PURE__ */ (0, L.jsxs)(qA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -49101,25 +49596,25 @@ function Qfe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, L.jsx)(CA, { children: /* @__PURE__ */ (0, L.jsx)(xA, {
+ /* @__PURE__ */ (0, L.jsx)(JA, { children: /* @__PURE__ */ (0, L.jsx)(KA, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Xfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: xpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(wA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(YA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(Oj, {
+ i === "proxy" ? /* @__PURE__ */ (0, L.jsx)($j, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -49133,10 +49628,10 @@ function Qfe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, L.jsx)(DA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, L.jsx)(QA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(TA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(XA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -49146,10 +49641,10 @@ function Qfe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function $fe({ receipt: e, reopenTutorial: t }) {
+function wpe({ receipt: e, reopenTutorial: t }) {
let n = Ft({
- queryKey: OR,
- queryFn: ({ signal: e }) => kR(e)
+ queryKey: IR,
+ queryFn: ({ signal: e }) => LR(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, L.jsx)("div", {
className: "configpage",
@@ -49170,22 +49665,22 @@ function $fe({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, L.jsx)(_fe, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, L.jsx)(Hfe, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, L.jsx)(Bfe, { ...i }),
+ /* @__PURE__ */ (0, L.jsx)(dpe, { ...i }),
o ? /* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, L.jsx)(Zfe, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, L.jsx)(Spe, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, L.jsx)(Sfe, {
+ /* @__PURE__ */ (0, L.jsx)(qfe, {
...i,
reopenTutorial: t
})
@@ -49194,35 +49689,35 @@ function $fe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var epe = (e) => {
+var Tpe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function tpe({ openConfiguration: e }) {
+function Epe({ openConfiguration: e }) {
let t = Ft({
- queryKey: OR,
- queryFn: ({ signal: e }) => kR(e)
+ queryKey: IR,
+ queryFn: ({ signal: e }) => LR(e)
}), n = t.data;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, L.jsxs)(AA, { children: [
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ children: [n ? /* @__PURE__ */ (0, L.jsxs)(tj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, L.jsx)(jA, {
+ /* @__PURE__ */ (0, L.jsx)(nj, {
term: "更新",
- children: epe(n)
+ children: Tpe(n)
})
- ] }) : /* @__PURE__ */ (0, L.jsx)(wA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, L.jsx)(YA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "配置读取失败",
children: t.error ? K(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, L.jsx)(TA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(XA, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: e,
@@ -49233,14 +49728,14 @@ function tpe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var npe = "/api/stats", RR = ["stats"], zR = (e) => iw(npe, e);
-async function rpe(e) {
+var Dpe = "/api/stats", KR = ["stats"], qR = (e) => hw(Dpe, e);
+async function Ope(e) {
await X.fetchQuery({
- queryKey: RR,
- queryFn: () => zR(e)
+ queryKey: KR,
+ queryFn: () => qR(e)
});
}
-var BR = (e, t) => t ? Math.round(e / t * 100) : 0, ipe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, VR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, HR = (e) => (e.max_reached || 0) * 100, ape = (e) => e.kind === "online" ? "在线直接观看" : VR(e) < HR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ope = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, spe = (e) => Math.max(1, ...e) * 1.1, cpe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), lpe = {
+var JR = (e, t) => t ? Math.round(e / t * 100) : 0, kpe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, YR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, XR = (e) => (e.max_reached || 0) * 100, Ape = (e) => e.kind === "online" ? "在线直接观看" : YR(e) < XR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", jpe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Mpe = (e) => Math.max(1, ...e) * 1.1, Npe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Ppe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -49248,18 +49743,18 @@ var BR = (e, t) => t ? Math.round(e / t * 100) : 0, ipe = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, upe = (e) => e.map((e) => ({
- name: lpe[e.k] ?? e.k,
+}, Fpe = (e) => e.map((e) => ({
+ name: Ppe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), dpe = {
+})).sort((e, t) => t.value - e.value), Ipe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, UR = (e, t = {}) => e.map((e) => ({
+}, ZR = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), fpe = (e) => UR(e, dpe), ppe = [
+})), Lpe = (e) => ZR(e, Ipe), Rpe = [
[
1,
1,
@@ -49295,49 +49790,49 @@ var BR = (e, t) => t ? Math.round(e / t * 100) : 0, ipe = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], mpe = (e) => ppe.map(([t, n, r]) => ({
+], zpe = (e) => Rpe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), hpe = /* @__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 WR(e) {
- return typeof e == "string" && hpe.includes(e);
+})), Bpe = /* @__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 QR(e) {
+ return typeof e == "string" && Bpe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var gpe = /* @__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 GR(e) {
- return typeof e == "string" && gpe.has(e);
+var Vpe = /* @__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 $R(e) {
+ return typeof e == "string" && Vpe.has(e);
}
-function KR(e) {
+function ez(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function qR(e) {
+function tz(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (GR(n) || KR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($R(n) || ez(n)) && (t[n] = e[n]);
return t;
}
-function JR(e) {
+function nz(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return qR(t);
+ return tz(t);
}
- return typeof e == "object" && !Array.isArray(e) ? qR(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? tz(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function YR(e) {
+function rz(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (GR(n) || KR(n) || WR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($R(n) || ez(n) || QR(n)) && (t[n] = e[n]);
return t;
}
-function _pe(e) {
- return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? YR(e.props) : typeof e == "object" && !Array.isArray(e) ? YR(e) : null;
+function Hpe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? rz(e.props) : typeof e == "object" && !Array.isArray(e) ? rz(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var vpe = [
+var Upe = [
"children",
"width",
"height",
@@ -49347,25 +49842,25 @@ var vpe = [
"title",
"desc"
];
-function XR() {
- return XR = Object.assign ? Object.assign.bind() : function(e) {
+function iz() {
+ return iz = 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;
- }, XR.apply(null, arguments);
+ }, iz.apply(null, arguments);
}
-function ype(e, t) {
+function Wpe(e, t) {
if (e == null) return {};
- var n, r, i = bpe(e, t);
+ var n, r, i = Gpe(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 bpe(e, t) {
+function Gpe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49374,14 +49869,14 @@ function bpe(e, t) {
}
return n;
}
-var ZR = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = ype(e, vpe), d = a || {
+var az = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Wpe(e, Upe), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = Xm("recharts-surface", o);
- return /*#__PURE__*/ I.createElement("svg", XR({}, YR(u), {
+ }, f = bh("recharts-surface", o);
+ return /*#__PURE__*/ I.createElement("svg", iz({}, rz(u), {
className: f,
width: r,
height: i,
@@ -49389,26 +49884,26 @@ var ZR = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ I.createElement("title", null, c), /*#__PURE__*/ I.createElement("desc", null, l), n);
-}), xpe = ["children", "className"];
-function QR() {
- return QR = Object.assign ? Object.assign.bind() : function(e) {
+}), Kpe = ["children", "className"];
+function oz() {
+ return oz = 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;
- }, QR.apply(null, arguments);
+ }, oz.apply(null, arguments);
}
-function Spe(e, t) {
+function qpe(e, t) {
if (e == null) return {};
- var n, r, i = Cpe(e, t);
+ var n, r, i = Jpe(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 Cpe(e, t) {
+function Jpe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49417,39 +49912,39 @@ function Cpe(e, t) {
}
return n;
}
-var $R = /*#__PURE__*/ I.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Spe(e, xpe), a = Xm("recharts-layer", r);
- return /*#__PURE__*/ I.createElement("g", QR({ className: a }, YR(i), { ref: t }), n);
-}), ez = /*#__PURE__*/ (0, I.createContext)(null), wpe = () => (0, I.useContext)(ez);
+var sz = /*#__PURE__*/ I.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = qpe(e, Kpe), a = bh("recharts-layer", r);
+ return /*#__PURE__*/ I.createElement("g", oz({ className: a }, rz(i), { ref: t }), n);
+}), cz = /*#__PURE__*/ (0, I.createContext)(null), Ype = () => (0, I.useContext)(cz);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function tz(e) {
+function lz(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var nz = Math.cos, rz = Math.sin, iz = Math.sqrt, az = Math.PI;
-az / 2;
-var oz = 2 * az, sz = Math.PI, cz = 2 * sz, lz = 1e-6, Tpe = cz - lz;
-function uz(e) {
+var uz = Math.cos, dz = Math.sin, fz = Math.sqrt, pz = Math.PI;
+pz / 2;
+var mz = 2 * pz, hz = Math.PI, gz = 2 * hz, _z = 1e-6, Xpe = gz - _z;
+function vz(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Epe(e) {
+function Zpe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return uz;
+ if (t > 15) return vz;
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 dz = class {
+var yz = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? uz : Epe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? vz : Zpe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -49470,18 +49965,18 @@ var dz = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > lz) {
- if (!(Math.abs(u * s - c * l) > lz) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > _z) {
+ if (!(Math.abs(u * s - c * l) > _z) || !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((sz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > lz && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((hz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > _z && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > lz || Math.abs(this._y1 - l) > lz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % cz + cz), d > Tpe ? 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 > lz && this._append`A${n},${n},0,${+(d >= sz)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > _z || Math.abs(this._y1 - l) > _z) && this._append`L${c},${l}`, n && (d < 0 && (d = d % gz + gz), d > Xpe ? 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 > _z && this._append`A${n},${n},0,${+(d >= hz)},${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`;
@@ -49490,10 +49985,10 @@ var dz = class {
return this._;
}
};
-dz.prototype;
+yz.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function fz(e) {
+function bz(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -49504,18 +49999,18 @@ function fz(e) {
t = e;
}
return e;
- }, () => new dz(t);
+ }, () => new yz(t);
}
Array.prototype.slice;
-function pz(e) {
+function xz(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function mz(e) {
+function Sz(e) {
this._context = e;
}
-mz.prototype = {
+Sz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49538,33 +50033,33 @@ mz.prototype = {
}
}
};
-function hz(e) {
- return new mz(e);
+function Cz(e) {
+ return new Sz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function gz(e) {
+function wz(e) {
return e[0];
}
-function _z(e) {
+function Tz(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function vz(e, t) {
- var n = tz(!0), r = null, i = hz, a = null, o = fz(s);
- e = typeof e == "function" ? e : e === void 0 ? gz : tz(e), t = typeof t == "function" ? t : t === void 0 ? _z : tz(t);
+function Ez(e, t) {
+ var n = lz(!0), r = null, i = Cz, a = null, o = bz(s);
+ e = typeof e == "function" ? e : e === void 0 ? wz : lz(e), t = typeof t == "function" ? t : t === void 0 ? Tz : lz(t);
function s(s) {
- var c, l = (s = pz(s)).length, u, d = !1, f;
+ var c, l = (s = xz(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 : tz(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lz(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : tz(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lz(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : tz(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : lz(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -49573,11 +50068,11 @@ function vz(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function yz(e, t, n) {
- var r = null, i = tz(!0), a = null, o = hz, s = null, c = fz(l);
- e = typeof e == "function" ? e : e === void 0 ? gz : tz(+e), t = typeof t == "function" ? t : tz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? _z : tz(+n);
+function Dz(e, t, n) {
+ var r = null, i = lz(!0), a = null, o = Cz, s = null, c = bz(l);
+ e = typeof e == "function" ? e : e === void 0 ? wz : lz(+e), t = typeof t == "function" ? t : lz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Tz : lz(+n);
function l(l) {
- var u, d, f, p = (l = pz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = xz(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();
@@ -49591,20 +50086,20 @@ function yz(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return vz().defined(i).curve(o).context(a);
+ return Ez().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : tz(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lz(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : tz(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lz(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : tz(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : lz(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : tz(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lz(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : tz(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lz(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : tz(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : lz(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -49612,7 +50107,7 @@ function yz(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : tz(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : lz(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -49621,7 +50116,7 @@ function yz(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var bz = class {
+var Oz = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -49648,70 +50143,70 @@ var bz = class {
this._x0 = e, this._y0 = t;
}
};
-function Dpe(e) {
- return new bz(e, !0);
+function Qpe(e) {
+ return new Oz(e, !0);
}
-function Ope(e) {
- return new bz(e, !1);
+function $pe(e) {
+ return new Oz(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var xz = { draw(e, t) {
- let n = iz(t / az);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, oz);
-} }, kpe = { draw(e, t) {
- let n = iz(t / 5) / 2;
+var kz = { draw(e, t) {
+ let n = fz(t / pz);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, mz);
+} }, eme = { draw(e, t) {
+ let n = fz(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();
-} }, Sz = iz(1 / 3), Ape = Sz * 2, jpe = { draw(e, t) {
- let n = iz(t / Ape), r = n * Sz;
+} }, Az = fz(1 / 3), tme = Az * 2, nme = { draw(e, t) {
+ let n = fz(t / tme), r = n * Az;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Mpe = { draw(e, t) {
- let n = iz(t), r = -n / 2;
+} }, rme = { draw(e, t) {
+ let n = fz(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Npe = .8908130915292852, Cz = rz(az / 10) / rz(7 * az / 10), Ppe = rz(oz / 10) * Cz, Fpe = -nz(oz / 10) * Cz, Ipe = { draw(e, t) {
- let n = iz(t * Npe), r = Ppe * n, i = Fpe * n;
+} }, ime = .8908130915292852, jz = dz(pz / 10) / dz(7 * pz / 10), ame = dz(mz / 10) * jz, ome = -uz(mz / 10) * jz, sme = { draw(e, t) {
+ let n = fz(t * ime), r = ame * n, i = ome * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = oz * t / 5, o = nz(a), s = rz(a);
+ let a = mz * t / 5, o = uz(a), s = dz(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, wz = iz(3), Lpe = { draw(e, t) {
- let n = -iz(t / (wz * 3));
- e.moveTo(0, n * 2), e.lineTo(-wz * n, -n), e.lineTo(wz * n, -n), e.closePath();
-} }, Tz = -.5, Ez = iz(3) / 2, Dz = 1 / iz(12), Rpe = (Dz / 2 + 1) * 3, zpe = { draw(e, t) {
- let n = iz(t / Rpe), r = n / 2, i = n * Dz, a = r, o = n * Dz + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Tz * r - Ez * i, Ez * r + Tz * i), e.lineTo(Tz * a - Ez * o, Ez * a + Tz * o), e.lineTo(Tz * s - Ez * c, Ez * s + Tz * c), e.lineTo(Tz * r + Ez * i, Tz * i - Ez * r), e.lineTo(Tz * a + Ez * o, Tz * o - Ez * a), e.lineTo(Tz * s + Ez * c, Tz * c - Ez * s), e.closePath();
+} }, Mz = fz(3), cme = { draw(e, t) {
+ let n = -fz(t / (Mz * 3));
+ e.moveTo(0, n * 2), e.lineTo(-Mz * n, -n), e.lineTo(Mz * n, -n), e.closePath();
+} }, Nz = -.5, Pz = fz(3) / 2, Fz = 1 / fz(12), lme = (Fz / 2 + 1) * 3, ume = { draw(e, t) {
+ let n = fz(t / lme), r = n / 2, i = n * Fz, a = r, o = n * Fz + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Nz * r - Pz * i, Pz * r + Nz * i), e.lineTo(Nz * a - Pz * o, Pz * a + Nz * o), e.lineTo(Nz * s - Pz * c, Pz * s + Nz * c), e.lineTo(Nz * r + Pz * i, Nz * i - Pz * r), e.lineTo(Nz * a + Pz * o, Nz * o - Pz * a), e.lineTo(Nz * s + Pz * c, Nz * c - Pz * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Bpe(e, t) {
- let n = null, r = fz(i);
- e = typeof e == "function" ? e : tz(e || xz), t = typeof t == "function" ? t : tz(t === void 0 ? 64 : +t);
+function dme(e, t) {
+ let n = null, r = bz(i);
+ e = typeof e == "function" ? e : lz(e || kz), t = typeof t == "function" ? t : lz(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 : tz(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lz(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : tz(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lz(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function Oz() {}
+function Iz() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function kz(e, t, n) {
+function Lz(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function Az(e) {
+function Rz(e) {
this._context = e;
}
-Az.prototype = {
+Rz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49723,7 +50218,7 @@ Az.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: kz(this, this._x1, this._y1);
+ case 3: Lz(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;
@@ -49737,22 +50232,22 @@ Az.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: kz(this, e, t);
+ default: Lz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Vpe(e) {
- return new Az(e);
+function fme(e) {
+ return new Rz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function jz(e) {
+function zz(e) {
this._context = e;
}
-jz.prototype = {
- areaStart: Oz,
- areaEnd: Oz,
+zz.prototype = {
+ areaStart: Iz,
+ areaEnd: Iz,
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;
},
@@ -49778,20 +50273,20 @@ jz.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: kz(this, e, t);
+ default: Lz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Hpe(e) {
- return new jz(e);
+function pme(e) {
+ return new zz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function Mz(e) {
+function Bz(e) {
this._context = e;
}
-Mz.prototype = {
+Bz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49818,22 +50313,22 @@ Mz.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: kz(this, e, t);
+ default: Lz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Upe(e) {
- return new Mz(e);
+function mme(e) {
+ return new Bz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function Nz(e) {
+function Vz(e) {
this._context = e;
}
-Nz.prototype = {
- areaStart: Oz,
- areaEnd: Oz,
+Vz.prototype = {
+ areaStart: Iz,
+ areaEnd: Iz,
lineStart: function() {
this._point = 0;
},
@@ -49844,30 +50339,30 @@ Nz.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Wpe(e) {
- return new Nz(e);
+function hme(e) {
+ return new Vz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function Pz(e) {
+function Hz(e) {
return e < 0 ? -1 : 1;
}
-function Fz(e, t, n) {
+function Uz(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 (Pz(a) + Pz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (Hz(a) + Hz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function Iz(e, t) {
+function Wz(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function Lz(e, t, n) {
+function Gz(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 Rz(e) {
+function Kz(e) {
this._context = e;
}
-Rz.prototype = {
+Kz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49882,7 +50377,7 @@ Rz.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: Lz(this, this._t0, Iz(this, this._t0));
+ case 3: Gz(this, this._t0, Wz(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -49897,24 +50392,24 @@ Rz.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, Lz(this, Iz(this, n = Fz(this, e, t)), n);
+ this._point = 3, Gz(this, Wz(this, n = Uz(this, e, t)), n);
break;
- default: Lz(this, this._t0, n = Fz(this, e, t));
+ default: Gz(this, this._t0, n = Uz(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function zz(e) {
- this._context = new Bz(e);
+function qz(e) {
+ this._context = new Jz(e);
}
-(zz.prototype = Object.create(Rz.prototype)).point = function(e, t) {
- Rz.prototype.point.call(this, t, e);
+(qz.prototype = Object.create(Kz.prototype)).point = function(e, t) {
+ Kz.prototype.point.call(this, t, e);
};
-function Bz(e) {
+function Jz(e) {
this._context = e;
}
-Bz.prototype = {
+Jz.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -49928,18 +50423,18 @@ Bz.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function Gpe(e) {
- return new Rz(e);
+function gme(e) {
+ return new Kz(e);
}
-function Kpe(e) {
- return new zz(e);
+function _me(e) {
+ return new qz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function Vz(e) {
+function Yz(e) {
this._context = e;
}
-Vz.prototype = {
+Yz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49953,7 +50448,7 @@ Vz.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = Hz(e), i = Hz(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = Xz(e), i = Xz(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -49961,7 +50456,7 @@ Vz.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function Hz(e) {
+function Xz(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];
@@ -49969,15 +50464,15 @@ function Hz(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function qpe(e) {
- return new Vz(e);
+function vme(e) {
+ return new Yz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function Uz(e, t) {
+function Zz(e, t) {
this._context = e, this._t = t;
}
-Uz.prototype = {
+Zz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50005,78 +50500,78 @@ Uz.prototype = {
this._x = e, this._y = t;
}
};
-function Jpe(e) {
- return new Uz(e, .5);
+function yme(e) {
+ return new Zz(e, .5);
}
-function Ype(e) {
- return new Uz(e, 0);
+function bme(e) {
+ return new Zz(e, 0);
}
-function Xpe(e) {
- return new Uz(e, 1);
+function xme(e) {
+ return new Zz(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function Wz(e, t) {
+function Qz(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 Gz(e) {
+function $z(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 Zpe(e, t) {
+function Sme(e, t) {
return e[t];
}
-function Qpe(e) {
+function Cme(e) {
let t = [];
return t.key = e, t;
}
-function $pe() {
- var e = tz([]), t = Gz, n = Wz, r = Zpe;
+function wme() {
+ var e = lz([]), t = $z, n = Qz, r = Sme;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Qpe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), Cme), 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 = pz(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = xz(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 : tz(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lz(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : tz(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : lz(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? Gz : typeof e == "function" ? e : tz(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? $z : typeof e == "function" ? e : lz(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? Wz, i) : n;
+ return arguments.length ? (n = e ?? Qz, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function eme(e, t) {
+function Tme(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;
}
- Wz(e, t);
+ Qz(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function tme(e, t) {
+function Eme(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;
}
- Wz(e, t);
+ Qz(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function nme(e, t) {
+function Dme(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) {
@@ -50088,53 +50583,53 @@ function nme(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, Wz(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, Qz(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function Kz(e) {
+function eB(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var rme = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function qz(e) {
+var Ome = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function tB(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : rme.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Ome.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function Jz(e) {
+function nB(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 Yz(e) {
+function rB(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function ime(e) {
- return e == null ? "" : Xz(e);
+function kme(e) {
+ return e == null ? "" : iB(e);
}
-function Xz(e) {
+function iB(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(Xz).join(",");
- if (Yz(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(iB).join(",");
+ if (rB(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 Zz(e) {
- if (Array.isArray(e)) return e.map(Jz);
+function aB(e) {
+ if (Array.isArray(e)) return e.map(nB);
if (typeof e == "symbol") return [e];
- e = ime(e);
+ e = kme(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -50162,100 +50657,100 @@ function Zz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function Qz(e, t, n) {
+function oB(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (Kz(t)) return n;
+ if (eB(t)) return n;
let r = e[t];
- return r === void 0 ? qz(t) && !Object.hasOwn(e, t) ? Qz(e, Zz(t), n) : n : r;
+ return r === void 0 ? tB(t) && !Object.hasOwn(e, t) ? oB(e, aB(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = Jz(t));
+ typeof t == "number" && (t = nB(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return ame(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Kz(t)) return n;
+ if (Array.isArray(t)) return Ame(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), eB(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function ame(e, t, n) {
+function Ame(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || Kz(t[e])) return n;
+ if (r == null || eB(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var ome = 4;
-function $z(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ome), n = Math.round(e * t) / t;
+var jme = 4;
+function sB(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : jme), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function eB(e) {
+function cB(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 + $z(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + sB(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var tB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, nB = (e) => typeof e == "number" && e != +e, rB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !nB(e), iB = (e) => Z(e) || typeof e == "string", sme = 0, aB = (e) => {
- var t = ++sme;
+var lB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, uB = (e) => typeof e == "number" && e != +e, dB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !uB(e), fB = (e) => Z(e) || typeof e == "string", Mme = 0, pB = (e) => {
+ var t = ++Mme;
return `${e || ""}${t}`;
-}, oB = function(e, t) {
+}, mB = 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 (rB(e)) {
+ if (dB(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return nB(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, sB = (e) => {
+ return uB(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, hB = (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 cB(e, t, n) {
- return Z(e) && Z(t) ? $z(e + n * (t - e)) : t;
+function gB(e, t, n) {
+ return Z(e) && Z(t) ? sB(e + n * (t - e)) : t;
}
-function lB(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : Qz(e, t)) === n);
+function _B(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : oB(e, t)) === n);
}
-var uB = (e) => e == null, dB = (e) => uB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function fB(e) {
+var vB = (e) => e == null, yB = (e) => vB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function bB(e) {
return e != null;
}
-function pB() {}
+function xB() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var cme = [
+var Nme = [
"type",
"size",
"sizeType"
];
-function mB() {
- return mB = Object.assign ? Object.assign.bind() : function(e) {
+function SB() {
+ return SB = 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;
- }, mB.apply(null, arguments);
+ }, SB.apply(null, arguments);
}
-function hB(e, t) {
+function CB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50265,30 +50760,30 @@ function hB(e, t) {
}
return n;
}
-function gB(e) {
+function wB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? hB(Object(n), !0).forEach(function(t) {
- lme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hB(Object(n)).forEach(function(t) {
+ t % 2 ? CB(Object(n), !0).forEach(function(t) {
+ Pme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lme(e, t, n) {
- return (t = ume(t)) in e ? Object.defineProperty(e, t, {
+function Pme(e, t, n) {
+ return (t = Fme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ume(e) {
- var t = dme(e, "string");
+function Fme(e) {
+ var t = Ime(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dme(e, t) {
+function Ime(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50298,16 +50793,16 @@ function dme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fme(e, t) {
+function Lme(e, t) {
if (e == null) return {};
- var n, r, i = pme(e, t);
+ var n, r, i = Rme(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 pme(e, t) {
+function Rme(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50316,68 +50811,68 @@ function pme(e, t) {
}
return n;
}
-var _B = {
- symbolCircle: xz,
- symbolCross: kpe,
- symbolDiamond: jpe,
- symbolSquare: Mpe,
- symbolStar: Ipe,
- symbolTriangle: Lpe,
- symbolWye: zpe
-}, mme = Math.PI / 180, hme = (e) => _B[`symbol${dB(e)}`] || xz, gme = (e, t, n) => {
+var TB = {
+ symbolCircle: kz,
+ symbolCross: eme,
+ symbolDiamond: nme,
+ symbolSquare: rme,
+ symbolStar: sme,
+ symbolTriangle: cme,
+ symbolWye: ume
+}, zme = Math.PI / 180, Bme = (e) => TB[`symbol${yB(e)}`] || kz, Vme = (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 * mme;
+ var r = 18 * zme;
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;
}
-}, _me = (e, t) => {
- _B[`symbol${dB(e)}`] = t;
-}, vB = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = gB(gB({}, fme(e, cme)), {}, {
+}, Hme = (e, t) => {
+ TB[`symbol${yB(e)}`] = t;
+}, EB = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = wB(wB({}, Lme(e, Nme)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = hme(a), t = Bpe().type(e).size(gme(n, r, a))();
+ var e = Bme(a), t = dme().type(e).size(Vme(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = YR(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", mB({}, u, {
- className: Xm("recharts-symbols", s),
+ }, { className: s, cx: c, cy: l } = i, u = rz(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", SB({}, u, {
+ className: bh("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-vB.registerSymbol = _me;
+EB.registerSymbol = Hme;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var yB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, bB = (e, t) => {
+var DB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, OB = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- WR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ QR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, vme = (e, t, n) => (r) => (e(t, n, r), null), xB = (e, t, n) => {
+}, Ume = (e, t, n) => (r) => (e(t, n, r), null), kB = (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];
- WR(i) && typeof a == "function" && (r ||= {}, r[i] = vme(a, t, n));
+ QR(i) && typeof a == "function" && (r ||= {}, r[i] = Ume(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function SB(e, t) {
+function AB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50387,30 +50882,30 @@ function SB(e, t) {
}
return n;
}
-function yme(e) {
+function Wme(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SB(Object(n), !0).forEach(function(t) {
- bme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SB(Object(n)).forEach(function(t) {
+ t % 2 ? AB(Object(n), !0).forEach(function(t) {
+ Gme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bme(e, t, n) {
- return (t = xme(t)) in e ? Object.defineProperty(e, t, {
+function Gme(e, t, n) {
+ return (t = Kme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xme(e) {
- var t = Sme(e, "string");
+function Kme(e) {
+ var t = qme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sme(e, t) {
+function qme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50420,22 +50915,22 @@ function Sme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function CB(e, t) {
- var n = yme({}, e), r = t;
+function jB(e, t) {
+ var n = Wme({}, 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 wB() {
- return wB = Object.assign ? Object.assign.bind() : function(e) {
+function MB() {
+ return MB = 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;
- }, wB.apply(null, arguments);
+ }, MB.apply(null, arguments);
}
-function TB(e, t) {
+function NB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50445,30 +50940,30 @@ function TB(e, t) {
}
return n;
}
-function EB(e) {
+function PB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TB(Object(n), !0).forEach(function(t) {
- Cme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TB(Object(n)).forEach(function(t) {
+ t % 2 ? NB(Object(n), !0).forEach(function(t) {
+ Jme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cme(e, t, n) {
- return (t = wme(t)) in e ? Object.defineProperty(e, t, {
+function Jme(e, t, n) {
+ return (t = Yme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wme(e) {
- var t = Tme(e, "string");
+function Yme(e) {
+ var t = Xme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tme(e, t) {
+function Xme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50478,7 +50973,7 @@ function Tme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var DB = 32, Eme = {
+var FB = 32, Zme = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -50486,20 +50981,20 @@ var DB = 32, Eme = {
verticalAlign: "middle",
labelStyle: {}
};
-function Dme(e) {
+function Qme(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Ome(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = DB / 2, a = DB / 6, o = DB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function $me(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = FB / 2, a = FB / 6, o = FB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ I.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Dme(t.payload),
+ strokeDasharray: Qme(t.payload),
x1: 0,
y1: i,
- x2: DB,
+ x2: FB,
y2: i,
className: "recharts-legend-icon"
});
@@ -50509,35 +51004,35 @@ function Ome(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${DB}M${2 * o},${i}
+ H${FB}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ I.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${DB / 8}h${DB}v${DB * 3 / 4}h${-DB}z`,
+ d: `M0,${FB / 8}h${FB}v${FB * 3 / 4}h${-FB}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ I.isValidElement(t.legendIcon)) {
- var l = EB({}, t);
+ var l = PB({}, t);
return delete l.legendIcon, /*#__PURE__*/ I.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ I.createElement(vB, {
+ return /*#__PURE__*/ I.createElement(EB, {
fill: s,
cx: i,
cy: i,
- size: DB,
+ size: FB,
sizeType: "diameter",
type: c
});
}
-function kme(e) {
+function ehe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: DB,
- height: DB
+ width: FB,
+ height: FB
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -50547,26 +51042,26 @@ function kme(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = Xm({
+ var d = t.formatter || i, f = bh({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? EB({}, s) : {};
+ var p = typeof s == "object" ? PB({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ I.createElement("li", wB({
+ return /*#__PURE__*/ I.createElement("li", MB({
className: f,
style: l,
key: `legend-item-${r}`
- }, xB(e, t, r)), /*#__PURE__*/ I.createElement(ZR, {
+ }, kB(e, t, r)), /*#__PURE__*/ I.createElement(az, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ I.createElement(Ome, {
+ }, /*#__PURE__*/ I.createElement($me, {
data: t,
iconType: o,
inactiveColor: a
@@ -50576,8 +51071,8 @@ function kme(e) {
}, m));
});
}
-var Ame = (e) => {
- var t = CB(e, Eme), { payload: n, layout: r, align: i } = t;
+var the = (e) => {
+ var t = jB(e, Zme), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -50587,11 +51082,11 @@ var Ame = (e) => {
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ I.createElement(kme, wB({}, t, { payload: n })));
+ }, /*#__PURE__*/ I.createElement(ehe, MB({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function jme(e, t) {
+function nhe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -50601,77 +51096,77 @@ function jme(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Mme(e, t) {
+function rhe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function OB(e) {
+function IB(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Nme(e) {
+function ihe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function kB(e) {
- return e != null && typeof e != "function" && Nme(e.length);
+function LB(e) {
+ return e != null && typeof e != "function" && ihe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Pme(e) {
+function ahe(e) {
return function(t) {
- return Qz(t, e);
+ return oB(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function AB(e) {
+function RB(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Fme(e) {
+function ohe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Ime(e) {
+function she(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 jB(e) {
+function zB(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 Lme = "[object RegExp]", MB = "[object String]", NB = "[object Number]", PB = "[object Boolean]", FB = "[object Arguments]", Rme = "[object Symbol]", zme = "[object Date]", Bme = "[object Map]", Vme = "[object Set]", Hme = "[object Array]", Ume = "[object ArrayBuffer]", Wme = "[object Object]", Gme = "[object DataView]", Kme = "[object Uint8Array]", qme = "[object Uint8ClampedArray]", Jme = "[object Uint16Array]", Yme = "[object Uint32Array]", Xme = "[object Int8Array]", Zme = "[object Int16Array]", Qme = "[object Int32Array]", $me = "[object Float32Array]", ehe = "[object Float64Array]", IB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var che = "[object RegExp]", BB = "[object String]", VB = "[object Number]", HB = "[object Boolean]", UB = "[object Arguments]", lhe = "[object Symbol]", uhe = "[object Date]", dhe = "[object Map]", fhe = "[object Set]", phe = "[object Array]", mhe = "[object ArrayBuffer]", hhe = "[object Object]", ghe = "[object DataView]", _he = "[object Uint8Array]", vhe = "[object Uint8ClampedArray]", yhe = "[object Uint16Array]", bhe = "[object Uint32Array]", xhe = "[object Int8Array]", She = "[object Int16Array]", Che = "[object Int32Array]", whe = "[object Float32Array]", The = "[object Float64Array]", WB = 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 the(e) {
- return IB.Buffer !== void 0 && IB.Buffer.isBuffer(e);
+function Ehe(e) {
+ return WB.Buffer !== void 0 && WB.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function nhe(e, t) {
- return LB(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function Dhe(e, t) {
+ return GB(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function LB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function GB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (AB(e)) return e;
+ if (RB(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] = LB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = GB(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());
@@ -50682,132 +51177,132 @@ function LB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, LB(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, GB(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(LB(a, void 0, n, r, i));
+ for (let a of e) t.add(GB(a, void 0, n, r, i));
return t;
}
- if (the(e)) return e.subarray();
- if (Fme(e)) {
+ if (Ehe(e)) return e.subarray();
+ if (ohe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = LB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = GB(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), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(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), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(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), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(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, RB(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, KB(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(t, e, n, r, i), t;
}
- if (typeof e == "object" && rhe(e)) {
+ if (typeof e == "object" && Ohe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), RB(t, e, n, r, i), t;
+ return r.set(e, t), KB(t, e, n, r, i), t;
}
return e;
}
-function RB(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Ime(t)];
+function KB(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...she(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = LB(t[s], s, n, r, i));
- }
-}
-function rhe(e) {
- switch (jB(e)) {
- case FB:
- case Hme:
- case Ume:
- case Gme:
- case PB:
- case zme:
- case $me:
- case ehe:
- case Xme:
- case Zme:
- case Qme:
- case Bme:
- case NB:
- case Wme:
- case Lme:
- case Vme:
- case MB:
- case Rme:
- case Kme:
- case qme:
- case Jme:
- case Yme: return !0;
+ (c == null || c.writable) && (e[s] = GB(t[s], s, n, r, i));
+ }
+}
+function Ohe(e) {
+ switch (zB(e)) {
+ case UB:
+ case phe:
+ case mhe:
+ case ghe:
+ case HB:
+ case uhe:
+ case whe:
+ case The:
+ case xhe:
+ case She:
+ case Che:
+ case dhe:
+ case VB:
+ case hhe:
+ case che:
+ case fhe:
+ case BB:
+ case lhe:
+ case _he:
+ case vhe:
+ case yhe:
+ case bhe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function ihe(e) {
- return LB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function khe(e) {
+ return GB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function zB(e, t) {
+function qB(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function BB(e) {
+function JB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function VB(e, t, n) {
- return typeof n == "function" ? HB(e, t, function e(t, r, i, a, o, s) {
+function YB(e, t, n) {
+ return typeof n == "function" ? XB(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? HB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : VB(e, t, () => void 0);
+ return c === void 0 ? XB(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : YB(e, t, () => void 0);
}
-function HB(e, t, n, r, i = !1) {
+function XB(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return ahe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? HB(e, { ...t }, n, r, i) : zB(e, t);
- default: return BB(e) && i ? typeof t != "string" || t === "" : zB(e, t);
+ case "object": return Ahe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? XB(e, { ...t }, n, r, i) : qB(e, t);
+ default: return JB(e) && i ? typeof t != "string" || t === "" : qB(e, t);
}
}
-function ahe(e, t, n, r, i = !1) {
+function Ahe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return UB(e, t, n, r);
- if (t instanceof Map) return ohe(e, t, n, r);
- if (t instanceof Set) return she(e, t, n, r);
+ if (Array.isArray(t)) return ZB(e, t, n, r);
+ if (t instanceof Map) return jhe(e, t, n, r);
+ if (t instanceof Set) return Mhe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) AB(e) && (e = Object(e));
+ if (i) RB(e) && (e = Object(e));
else {
- let t = jB(e);
+ let t = zB(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -50823,13 +51318,13 @@ function ahe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function ohe(e, t, n, r) {
+function jhe(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 UB(e, t, n, r) {
+function ZB(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -50847,40 +51342,40 @@ function UB(e, t, n, r) {
}
return !0;
}
-function she(e, t, n, r) {
- return t.size === 0 || e instanceof Set && UB([...e], [...t], n, r);
+function Mhe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && ZB([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function WB(e, t) {
- return VB(e, t, () => void 0);
+function QB(e, t) {
+ return YB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function che(e) {
- return e = ihe(e), (t) => WB(t, e);
+function Nhe(e) {
+ return e = khe(e), (t) => QB(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function lhe(e, t) {
- return nhe(e, (n, r, i, a) => {
+function Phe(e, t) {
+ return Dhe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (jB(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (zB(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), RB(t, e, i, a), t;
+ return a.set(e, t), KB(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case NB:
- case MB:
- case PB: {
+ case VB:
+ case BB:
+ case HB: {
let t = new e.constructor(e?.valueOf());
- return RB(t, e), t;
+ return KB(t, e), t;
}
- case FB: {
+ case UB: {
let t = {};
- return RB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return KB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -50889,80 +51384,80 @@ function lhe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function uhe(e) {
- return lhe(e);
+function Fhe(e) {
+ return Phe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var dhe = /^(?:0|[1-9]\d*)$/;
-function GB(e, t = 2 ** 53 - 1) {
+var Ihe = /^(?:0|[1-9]\d*)$/;
+function $B(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 dhe.test(e);
+ case "string": return Ihe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function fhe(e) {
- return typeof e == "object" && !!e && jB(e) === "[object Arguments]";
+function Lhe(e) {
+ return typeof e == "object" && !!e && zB(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function phe(e, t) {
+function Rhe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && qz(t) && !(t in Object(e)) ? Zz(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && tB(t) && !(t in Object(e)) ? aB(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = Jz(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || fhe(r)) && GB(t) && Number(t) < r.length)) return !1;
+ let t = nB(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Lhe(r)) && $B(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function mhe(e, t) {
+function zhe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = Jz(e);
+ case "number": e = nB(e);
}
- return t = uhe(t), function(n) {
- let r = Qz(n, e);
- return r === void 0 ? phe(n, e) : t === void 0 ? r === void 0 : WB(r, t);
+ return t = Fhe(t), function(n) {
+ let r = oB(n, e);
+ return r === void 0 ? Rhe(n, e) : t === void 0 ? r === void 0 : QB(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function KB(e) {
- if (e == null) return OB;
+function eV(e) {
+ if (e == null) return IB;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? mhe(e[0], e[1]) : che(e);
- default: return Pme(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? zhe(e[0], e[1]) : Nhe(e);
+ default: return ahe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function hhe(e) {
+function Bhe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function qB(e, t = OB) {
- return kB(e) ? jme(Array.from(e), Mme(KB(t), 1)).map(hhe) : [];
+function tV(e, t = IB) {
+ return LB(e) ? nhe(Array.from(e), rhe(eV(t), 1)).map(Bhe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function JB(e, t, n) {
- return t === !0 ? qB(e, n) : typeof t == "function" ? qB(e, t) : e;
+function nV(e, t, n) {
+ return t === !0 ? tV(e, n) : typeof t == "function" ? tV(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var ghe = /* @__PURE__ */ F(((e) => {
- var t = ce(), n = wh();
+var Vhe = /* @__PURE__ */ F(((e) => {
+ var t = ce(), n = Jh();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -51006,60 +51501,60 @@ var ghe = /* @__PURE__ */ F(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), _he = /* @__PURE__ */ F(((e, t) => {
- t.exports = ghe();
-})), YB = /*#__PURE__*/ (0, I.createContext)(null), vhe = _he(), yhe = (e) => e, XB = () => {
- var e = (0, I.useContext)(YB);
- return e ? e.store.dispatch : yhe;
-}, ZB = () => {}, bhe = () => ZB, xhe = (e, t) => e === t;
+})), Hhe = /* @__PURE__ */ F(((e, t) => {
+ t.exports = Vhe();
+})), rV = /*#__PURE__*/ (0, I.createContext)(null), Uhe = Hhe(), Whe = (e) => e, iV = () => {
+ var e = (0, I.useContext)(rV);
+ return e ? e.store.dispatch : Whe;
+}, aV = () => {}, oV = () => aV, sV = (e, t) => e === t;
function Q(e) {
- var t = (0, I.useContext)(YB), n = (0, I.useMemo)(() => t ? (t) => {
+ var t = (0, I.useContext)(rV), n = (0, I.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : ZB, [t, e]);
- return (0, vhe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : bhe, t ? t.store.getState : ZB, t ? t.store.getState : ZB, n, xhe);
+ } : aV, [t, e]);
+ return (0, Uhe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : oV, t ? t.store.getState : aV, t ? t.store.getState : aV, n, sV);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function She(e, t = `expected a function, instead received ${typeof e}`) {
+function cV(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Che(e, t = `expected an object, instead received ${typeof e}`) {
+function lV(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function whe(e, t = "expected all items to be functions, instead received the following types: ") {
+function uV(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 QB = (e) => Array.isArray(e) ? e : [e];
-function The(e) {
+var dV = (e) => Array.isArray(e) ? e : [e];
+function fV(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return whe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return uV(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Ehe(e, t) {
+function pV(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var Dhe = class {
+var mV = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, Ohe = typeof WeakRef < "u" ? WeakRef : Dhe, khe = 0, $B = 1;
-function eV() {
+}, hV = typeof WeakRef < "u" ? WeakRef : mV, gV = 0, _V = 1;
+function vV() {
return {
- s: khe,
+ s: gV,
v: void 0,
o: null,
p: null
};
}
-function tV(e, t = {}) {
- let n = eV(), { resultEqualityCheck: r } = t, i, a = 0;
+function yV(e, t = {}) {
+ let n = vV(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -51068,43 +51563,43 @@ function tV(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = eV(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = vV(), 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 = eV(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = vV(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === $B) c = t.v;
+ if (t.s === _V) 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 Ohe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new hV(c) : c;
}
- return s.s = $B, s.v = c, c;
+ return s.s = _V, s.v = c, c;
}
return o.clearCache = () => {
- n = eV(), o.resetResultsCount();
+ n = vV(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function nV(e, ...t) {
+function bV(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()), She(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = tV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), cV(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = yV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = QB(c), p = QB(u), m = The(e), h = s(function() {
+ }, f = dV(c), p = dV(u), m = fV(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = Ehe(m, arguments);
+ let e = pV(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -51126,14 +51621,14 @@ function nV(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ nV(tV), rV = Object.assign((e, t = $) => {
- Che(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ bV(yV), xV = Object.assign((e, t = $) => {
+ lV(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: () => rV });
+}, { withTypes: () => xV });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function iV(e, t = 1) {
+function SV(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -51144,17 +51639,17 @@ function iV(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function aV(e, t, n) {
- return BB(n) && (typeof t == "number" && kB(n) && GB(t) && t < n.length || typeof t == "string" && t in n) ? zB(n[t], e) : !1;
+function CV(e, t, n) {
+ return JB(n) && (typeof t == "number" && LB(n) && $B(t) && t < n.length || typeof t == "string" && t in n) ? qB(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function oV(e) {
+function wV(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var sV = (e, t, n) => {
+var TV = (e, t, n) => {
if (e !== t) {
- let r = oV(e), i = oV(t);
+ let r = wV(e), i = wV(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -51162,15 +51657,15 @@ var sV = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, cV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, lV = /^\w*$/;
-function uV(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Yz(e) ? !0 : typeof e == "string" && (lV.test(e) || !cV.test(e)) || t != null && Object.hasOwn(t, e);
+}, EV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, DV = /^\w*$/;
+function OV(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || rB(e) ? !0 : typeof e == "string" && (DV.test(e) || !EV.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function dV(e, t, n, r) {
+function kV(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = kB(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = LB(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]];
@@ -51178,16 +51673,16 @@ function dV(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || uV(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || OV(e) ? e : {
key: e,
- path: Zz(e)
+ path: aB(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 = sV(e.criteria[r], t.criteria[r], n[r]);
+ let i = TV(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -51195,25 +51690,25 @@ function dV(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function fV(e, ...t) {
+function AV(e, ...t) {
let n = t.length;
- return n > 1 && aV(e, t[0], t[1]) ? t = [] : n > 2 && aV(t[0], t[1], t[2]) && (t = [t[0]]), dV(e, iV(t), ["asc"]);
+ return n > 1 && CV(e, t[0], t[1]) ? t = [] : n > 2 && CV(t[0], t[1], t[2]) && (t = [t[0]]), kV(e, SV(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var pV = (e) => e.legend.settings, mV = (e) => e.legend.size, hV = $([(e) => e.legend.payload, pV], (e, t) => {
+var jV = (e) => e.legend.settings, MV = (e) => e.legend.size, NV = $([(e) => e.legend.payload, jV], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? fV(r, n) : r;
+ return n ? AV(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function gV() {
- return Q(hV);
+function PV() {
+ return Q(NV);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var _V = 1;
-function vV() {
+var FV = 1;
+function IV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, I.useState)({
height: 0,
left: 0,
@@ -51228,7 +51723,7 @@ function vV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > _V || Math.abs(i.left - t.left) > _V || Math.abs(i.top - t.top) > _V || Math.abs(i.width - t.width) > _V) && n({
+ (Math.abs(i.height - t.height) > FV || Math.abs(i.left - t.left) > FV || Math.abs(i.top - t.top) > FV || Math.abs(i.width - t.width) > FV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -51245,26 +51740,26 @@ function vV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function yV(e) {
+function LV(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var bV = typeof Symbol == "function" && Symbol.observable || "@@observable", xV = () => Math.random().toString(36).substring(7).split("").join("."), SV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ xV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ xV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${xV()}`
+var RV = typeof Symbol == "function" && Symbol.observable || "@@observable", zV = () => Math.random().toString(36).substring(7).split("").join("."), BV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ zV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ zV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${zV()}`
};
-function CV(e) {
+function VV(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 wV(e, t, n) {
- if (typeof e != "function") throw Error(yV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(yV(0));
+function HV(e, t, n) {
+ if (typeof e != "function") throw Error(LV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(LV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(yV(1));
- return n(wV)(e, t);
+ if (typeof n != "function") throw Error(LV(1));
+ return n(HV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -51273,27 +51768,27 @@ function wV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(yV(3));
+ if (c) throw Error(LV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(yV(4));
- if (c) throw Error(yV(5));
+ if (typeof e != "function") throw Error(LV(4));
+ if (c) throw Error(LV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(yV(6));
+ if (c) throw Error(LV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!CV(e)) throw Error(yV(7));
- if (e.type === void 0) throw Error(yV(8));
- if (typeof e.type != "string") throw Error(yV(17));
- if (c) throw Error(yV(9));
+ if (!VV(e)) throw Error(LV(7));
+ if (e.type === void 0) throw Error(LV(8));
+ if (typeof e.type != "string") throw Error(LV(17));
+ if (c) throw Error(LV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -51304,41 +51799,41 @@ function wV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(yV(10));
- r = e, f({ type: SV.REPLACE });
+ if (typeof e != "function") throw Error(LV(10));
+ r = e, f({ type: BV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(yV(11));
+ if (typeof t != "object" || !t) throw Error(LV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [bV]() {
+ [RV]() {
return this;
}
};
}
- return f({ type: SV.INIT }), {
+ return f({ type: BV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [bV]: m
+ [RV]: m
};
}
-function TV(e) {
+function UV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: SV.INIT }) === void 0) throw Error(yV(12));
- if (n(void 0, { type: SV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(yV(13));
+ if (n(void 0, { type: BV.INIT }) === void 0) throw Error(LV(12));
+ if (n(void 0, { type: BV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(LV(13));
});
}
-function EV(e) {
+function WV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -51346,7 +51841,7 @@ function EV(e) {
}
let r = Object.keys(n), i;
try {
- TV(n);
+ UV(n);
} catch (e) {
i = e;
}
@@ -51355,124 +51850,124 @@ function EV(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(yV(14));
+ if (u === void 0) throw t && t.type, Error(LV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function DV(...e) {
+function GV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function OV(...e) {
+function KV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(yV(15));
+ throw Error(LV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = DV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = GV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function kV(e) {
- return CV(e) && "type" in e && typeof e.type == "string";
+function qV(e) {
+ return VV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var AV = Symbol.for("immer-nothing"), jV = Symbol.for("immer-draftable"), MV = Symbol.for("immer-state");
-function NV(e, ...t) {
+var JV = Symbol.for("immer-nothing"), YV = Symbol.for("immer-draftable"), XV = Symbol.for("immer-state");
+function ZV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var PV = Object, FV = PV.getPrototypeOf, IV = "constructor", LV = "prototype", RV = "configurable", zV = "enumerable", BV = "writable", VV = "value", HV = (e) => !!e && !!e[MV];
-function UV(e) {
- return e ? KV(e) || $V(e) || !!e[jV] || !!e[IV]?.[jV] || eH(e) || tH(e) : !1;
-}
-var WV = PV[LV][IV].toString(), GV = /* @__PURE__ */ new WeakMap();
-function KV(e) {
- if (!e || !nH(e)) return !1;
- let t = FV(e);
- if (t === null || t === PV[LV]) return !0;
- let n = PV.hasOwnProperty.call(t, IV) && t[IV];
+var QV = Object, $V = QV.getPrototypeOf, eH = "constructor", tH = "prototype", nH = "configurable", rH = "enumerable", iH = "writable", aH = "value", oH = (e) => !!e && !!e[XV];
+function sH(e) {
+ return e ? uH(e) || _H(e) || !!e[YV] || !!e[eH]?.[YV] || vH(e) || yH(e) : !1;
+}
+var cH = QV[tH][eH].toString(), lH = /* @__PURE__ */ new WeakMap();
+function uH(e) {
+ if (!e || !bH(e)) return !1;
+ let t = $V(e);
+ if (t === null || t === QV[tH]) return !0;
+ let n = QV.hasOwnProperty.call(t, eH) && t[eH];
if (n === Object) return !0;
- if (!rH(n)) return !1;
- let r = GV.get(n);
- return r === void 0 && (r = Function.toString.call(n), GV.set(n, r)), r === WV;
+ if (!xH(n)) return !1;
+ let r = lH.get(n);
+ return r === void 0 && (r = Function.toString.call(n), lH.set(n, r)), r === cH;
}
-function qV(e, t, n = !0) {
- JV(e) === 0 ? (n ? Reflect.ownKeys(e) : PV.keys(e)).forEach((n) => {
+function dH(e, t, n = !0) {
+ fH(e) === 0 ? (n ? Reflect.ownKeys(e) : QV.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function JV(e) {
- let t = e[MV];
- return t ? t.type_ : $V(e) ? 1 : eH(e) ? 2 : tH(e) ? 3 : 0;
+function fH(e) {
+ let t = e[XV];
+ return t ? t.type_ : _H(e) ? 1 : vH(e) ? 2 : yH(e) ? 3 : 0;
}
-var YV = (e, t, n = JV(e)) => n === 2 ? e.has(t) : PV[LV].hasOwnProperty.call(e, t), XV = (e, t, n = JV(e)) => n === 2 ? e.get(t) : e[t], ZV = (e, t, n, r = JV(e)) => {
+var pH = (e, t, n = fH(e)) => n === 2 ? e.has(t) : QV[tH].hasOwnProperty.call(e, t), mH = (e, t, n = fH(e)) => n === 2 ? e.get(t) : e[t], hH = (e, t, n, r = fH(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function QV(e, t) {
+function gH(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var $V = Array.isArray, eH = (e) => e instanceof Map, tH = (e) => e instanceof Set, nH = (e) => typeof e == "object", rH = (e) => typeof e == "function", iH = (e) => typeof e == "boolean";
-function aH(e) {
+var _H = Array.isArray, vH = (e) => e instanceof Map, yH = (e) => e instanceof Set, bH = (e) => typeof e == "object", xH = (e) => typeof e == "function", SH = (e) => typeof e == "boolean";
+function CH(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var oH = (e) => e.copy_ || e.base_, sH = (e) => e.modified_ ? e.copy_ : e.base_;
-function cH(e, t) {
- if (eH(e)) return new Map(e);
- if (tH(e)) return new Set(e);
- if ($V(e)) return Array[LV].slice.call(e);
- let n = KV(e);
+var wH = (e) => e.copy_ || e.base_, TH = (e) => e.modified_ ? e.copy_ : e.base_;
+function EH(e, t) {
+ if (vH(e)) return new Map(e);
+ if (yH(e)) return new Set(e);
+ if (_H(e)) return Array[tH].slice.call(e);
+ let n = uH(e);
if (t === !0 || t === "class_only" && !n) {
- let t = PV.getOwnPropertyDescriptors(e);
- delete t[MV];
+ let t = QV.getOwnPropertyDescriptors(e);
+ delete t[XV];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[BV] === !1 && (a[BV] = !0, a[RV] = !0), (a.get || a.set) && (t[i] = {
- [RV]: !0,
- [BV]: !0,
- [zV]: a[zV],
- [VV]: e[i]
+ a[iH] === !1 && (a[iH] = !0, a[nH] = !0), (a.get || a.set) && (t[i] = {
+ [nH]: !0,
+ [iH]: !0,
+ [rH]: a[rH],
+ [aH]: e[i]
});
}
- return PV.create(FV(e), t);
+ return QV.create($V(e), t);
}
{
- let t = FV(e);
+ let t = $V(e);
if (t !== null && n) return { ...e };
- let r = PV.create(t);
- return PV.assign(r, e);
- }
-}
-function lH(e, t = !1) {
- return fH(e) || HV(e) || !UV(e) ? e : (JV(e) > 1 && PV.defineProperties(e, {
- set: dH,
- add: dH,
- clear: dH,
- delete: dH
- }), PV.freeze(e), t && qV(e, (e, t) => {
- lH(t, !0);
+ let r = QV.create(t);
+ return QV.assign(r, e);
+ }
+}
+function DH(e, t = !1) {
+ return AH(e) || oH(e) || !sH(e) ? e : (fH(e) > 1 && QV.defineProperties(e, {
+ set: kH,
+ add: kH,
+ clear: kH,
+ delete: kH
+ }), QV.freeze(e), t && dH(e, (e, t) => {
+ DH(t, !0);
}, !1), e);
}
-function uH() {
- NV(2);
+function OH() {
+ ZV(2);
}
-var dH = { [VV]: uH };
-function fH(e) {
- return e === null || !nH(e) || PV.isFrozen(e);
+var kH = { [aH]: OH };
+function AH(e) {
+ return e === null || !bH(e) || QV.isFrozen(e);
}
-var pH = "MapSet", mH = "Patches", hH = "ArrayMethods", gH = {};
-function _H(e) {
- let t = gH[e];
- return t || NV(0, e), t;
+var jH = "MapSet", MH = "Patches", NH = "ArrayMethods", PH = {};
+function FH(e) {
+ let t = PH[e];
+ return t || ZV(0, e), t;
}
-var vH = (e) => !!gH[e], yH, bH = () => yH, xH = (e, t) => ({
+var IH = (e) => !!PH[e], LH, RH = () => LH, zH = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -51480,114 +51975,114 @@ var vH = (e) => !!gH[e], yH, bH = () => yH, xH = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: vH(pH) ? _H(pH) : void 0,
- arrayMethodsPlugin_: vH(hH) ? _H(hH) : void 0
+ mapSetPlugin_: IH(jH) ? FH(jH) : void 0,
+ arrayMethodsPlugin_: IH(NH) ? FH(NH) : void 0
});
-function SH(e, t) {
- t && (e.patchPlugin_ = _H(mH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function BH(e, t) {
+ t && (e.patchPlugin_ = FH(MH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function CH(e) {
- wH(e), e.drafts_.forEach(EH), e.drafts_ = null;
+function VH(e) {
+ HH(e), e.drafts_.forEach(WH), e.drafts_ = null;
}
-function wH(e) {
- e === yH && (yH = e.parent_);
+function HH(e) {
+ e === LH && (LH = e.parent_);
}
-var TH = (e) => yH = xH(yH, e);
-function EH(e) {
- let t = e[MV];
+var UH = (e) => LH = zH(LH, e);
+function WH(e) {
+ let t = e[XV];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function DH(e, t) {
+function GH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[MV].modified_ && (CH(t), NV(4)), UV(e) && (e = OH(t, e));
+ n[XV].modified_ && (VH(t), ZV(4)), sH(e) && (e = KH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[MV].base_, e, t);
- } else e = OH(t, n);
- return kH(t, e, !0), CH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === AV ? void 0 : e;
-}
-function OH(e, t) {
- if (fH(t)) return t;
- let n = t[MV];
- if (!n) return LH(t, e.handledSet_, e);
- if (!jH(n, e)) return t;
+ r && r.generateReplacementPatches_(n[XV].base_, e, t);
+ } else e = KH(t, n);
+ return qH(t, e, !0), VH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === JV ? void 0 : e;
+}
+function KH(e, t) {
+ if (AH(t)) return t;
+ let n = t[XV];
+ if (!n) return tU(t, e.handledSet_, e);
+ if (!YH(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);
- FH(n, e);
+ $H(n, e);
}
return n.copy_;
}
-function kH(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && lH(t, n);
+function qH(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && DH(t, n);
}
-function AH(e) {
+function JH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var jH = (e, t) => e.scope_ === t, MH = [];
-function NH(e, t, n, r) {
- let i = oH(e), a = e.type_;
- if (r !== void 0 && XV(i, r, a) === t) {
- ZV(i, r, n, a);
+var YH = (e, t) => e.scope_ === t, XH = [];
+function ZH(e, t, n, r) {
+ let i = wH(e), a = e.type_;
+ if (r !== void 0 && mH(i, r, a) === t) {
+ hH(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- qV(i, (e, n) => {
- if (HV(n)) {
+ dH(i, (e, n) => {
+ if (oH(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? MH;
- for (let e of o) ZV(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? XH;
+ for (let e of o) hH(i, e, n, a);
}
-function PH(e, t, n) {
+function QH(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !jH(i, r)) return;
+ if (!i || !YH(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = sH(i);
- NH(e, i.draft_ ?? i, a, n), FH(i, r);
+ let a = TH(i);
+ ZH(e, i.draft_ ?? i, a, n), $H(i, r);
});
}
-function FH(e, t) {
+function $H(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);
}
- AH(e);
+ JH(e);
}
}
-function IH(e, t, n) {
+function eU(e, t, n) {
let { scope_: r } = e;
- if (HV(n)) {
- let i = n[MV];
- jH(i, r) && i.callbacks_.push(function() {
- KH(e), NH(e, n, sH(i), t);
+ if (oH(n)) {
+ let i = n[XV];
+ YH(i, r) && i.callbacks_.push(function() {
+ uU(e), ZH(e, n, TH(i), t);
});
- } else UV(n) && e.callbacks_.push(function() {
- let i = oH(e);
- e.type_ === 3 ? i.has(n) && LH(n, r.handledSet_, r) : XV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && LH(XV(e.copy_, t, e.type_), r.handledSet_, r);
+ } else sH(n) && e.callbacks_.push(function() {
+ let i = wH(e);
+ e.type_ === 3 ? i.has(n) && tU(n, r.handledSet_, r) : mH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && tU(mH(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function LH(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || HV(e) || t.has(e) || !UV(e) || fH(e) ? e : (t.add(e), qV(e, (r, i) => {
- if (HV(i)) {
- let t = i[MV];
- jH(t, n) && (ZV(e, r, sH(t), e.type_), AH(t));
- } else UV(i) && LH(i, t, n);
+function tU(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || oH(e) || t.has(e) || !sH(e) || AH(e) ? e : (t.add(e), dH(e, (r, i) => {
+ if (oH(i)) {
+ let t = i[XV];
+ YH(t, n) && (hH(e, r, TH(t), e.type_), JH(t));
+ } else sH(i) && tU(i, t, n);
}), e);
}
-function RH(e, t) {
- let n = $V(e), r = {
+function nU(e, t) {
+ let n = _H(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : bH(),
+ scope_: t ? t.scope_ : RH(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -51598,108 +52093,108 @@ function RH(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = zH;
- n && (i = [r], a = BH);
+ }, i = r, a = rU;
+ n && (i = [r], a = iU);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var zH = {
+var rU = {
get(e, t) {
- if (t === MV) return e;
+ if (t === XV) 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 = oH(e);
- if (!YV(i, t, e.type_)) return UH(e, i, t);
+ let i = wH(e);
+ if (!pH(i, t, e.type_)) return sU(e, i, t);
let a = i[t];
- if (e.finalized_ || !UV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && aH(t)) return a;
- if (a === VH(e.base_, t) || HH(e, t, a)) {
- KH(e);
- let n = e.type_ === 1 ? +t : t, r = JH(e.scope_, a, e, n);
+ if (e.finalized_ || !sH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && CH(t)) return a;
+ if (a === aU(e.base_, t) || oU(e, t, a)) {
+ uU(e);
+ let n = e.type_ === 1 ? +t : t, r = fU(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in oH(e);
+ return t in wH(e);
},
ownKeys(e) {
- return Reflect.ownKeys(oH(e));
+ return Reflect.ownKeys(wH(e));
},
set(e, t, n) {
- let r = WH(oH(e), t);
+ let r = cU(wH(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = VH(oH(e), t), i = r?.[MV];
+ let r = aU(wH(e), t), i = r?.[XV];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (QV(n, r) && (n !== void 0 || YV(e.base_, t, e.type_))) return !0;
- KH(e), GH(e);
+ if (gH(n, r) && (n !== void 0 || pH(e.base_, t, e.type_))) return !0;
+ uU(e), lU(e);
}
- return e.copy_[t] === n && (n !== void 0 || YV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), IH(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || pH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), eU(e, t, n), !0);
},
deleteProperty(e, t) {
- return KH(e), VH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), GH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return uU(e), aU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), lU(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = oH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = wH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [BV]: !0,
- [RV]: e.type_ !== 1 || t !== "length",
- [zV]: r[zV],
- [VV]: n[t]
+ [iH]: !0,
+ [nH]: e.type_ !== 1 || t !== "length",
+ [rH]: r[rH],
+ [aH]: n[t]
};
},
defineProperty() {
- NV(11);
+ ZV(11);
},
getPrototypeOf(e) {
- return FV(e.base_);
+ return $V(e.base_);
},
setPrototypeOf() {
- NV(12);
+ ZV(12);
}
-}, BH = {};
-for (let e in zH) {
- let t = zH[e];
- BH[e] = function() {
+}, iU = {};
+for (let e in rU) {
+ let t = rU[e];
+ iU[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-BH.deleteProperty = function(e, t) {
- return BH.set.call(this, e, t, void 0);
-}, BH.set = function(e, t, n) {
- return zH.set.call(this, e[0], t, n, e[0]);
+iU.deleteProperty = function(e, t) {
+ return iU.set.call(this, e, t, void 0);
+}, iU.set = function(e, t, n) {
+ return rU.set.call(this, e[0], t, n, e[0]);
};
-function VH(e, t) {
- let n = e[MV];
- return (n ? oH(n) : e)[t];
+function aU(e, t) {
+ let n = e[XV];
+ return (n ? wH(n) : e)[t];
}
-function HH(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !UV(n) || n[MV] ? !1 : e.baseRefs_.has(n);
+function oU(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !sH(n) || n[XV] ? !1 : e.baseRefs_.has(n);
}
-function UH(e, t, n) {
- let r = WH(t, n);
- return r ? VV in r ? r[VV] : r.get?.call(e.draft_) : void 0;
+function sU(e, t, n) {
+ let r = cU(t, n);
+ return r ? aH in r ? r[aH] : r.get?.call(e.draft_) : void 0;
}
-function WH(e, t) {
+function cU(e, t) {
if (!(t in e)) return;
- let n = FV(e);
+ let n = $V(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = FV(n);
+ n = $V(n);
}
}
-function GH(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && GH(e.parent_));
+function lU(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && lU(e.parent_));
}
-function KH(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), cH(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function uU(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), EH(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var qH = class {
+var dU = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (rH(e) && !rH(t)) {
+ if (xH(e) && !xH(t)) {
let n = t;
t = e;
let r = this;
@@ -51707,30 +52202,30 @@ var qH = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- rH(t) || NV(6), n !== void 0 && !rH(n) && NV(7);
+ xH(t) || ZV(6), n !== void 0 && !xH(n) && ZV(7);
let r;
- if (UV(e)) {
- let i = TH(this), a = JH(i, e, void 0), o = !0;
+ if (sH(e)) {
+ let i = UH(this), a = fU(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? CH(i) : wH(i);
+ o ? VH(i) : HH(i);
}
- return SH(i, n), DH(r, i);
+ return BH(i, n), GH(r, i);
}
- if (!e || !nH(e)) {
- if (r = t(e), r === void 0 && (r = e), r === AV && (r = void 0), this.autoFreeze_ && lH(r, !0), n) {
+ if (!e || !bH(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === JV && (r = void 0), this.autoFreeze_ && DH(r, !0), n) {
let t = [], i = [];
- _H(mH).generateReplacementPatches_(e, r, {
+ FH(MH).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- NV(1, e);
+ ZV(1, e);
}, this.produceWithPatches = (e, t) => {
- if (rH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (xH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -51739,18 +52234,18 @@ var qH = class {
n,
r
];
- }, iH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), iH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), iH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, SH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), SH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), SH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- UV(e) || NV(8), HV(e) && (e = YH(e));
- let t = TH(this), n = JH(t, e, void 0);
- return n[MV].isManual_ = !0, wH(t), n;
+ sH(e) || ZV(8), oH(e) && (e = pU(e));
+ let t = UH(this), n = fU(t, e, void 0);
+ return n[XV].isManual_ = !0, HH(t), n;
}
finishDraft(e, t) {
- let n = e && e[MV];
- (!n || !n.isManual_) && NV(9);
+ let n = e && e[XV];
+ (!n || !n.isManual_) && ZV(9);
let { scope_: r } = n;
- return SH(r, t), DH(void 0, r);
+ return BH(r, t), GH(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -51774,48 +52269,48 @@ var qH = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = _H(mH).applyPatches_;
- return HV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = FH(MH).applyPatches_;
+ return oH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function JH(e, t, n, r) {
- let [i, a] = eH(t) ? _H(pH).proxyMap_(t, n) : tH(t) ? _H(pH).proxySet_(t, n) : RH(t, n);
- return (n?.scope_ ?? bH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? PH(n, a, r) : a.callbacks_.push(function(e) {
+function fU(e, t, n, r) {
+ let [i, a] = vH(t) ? FH(jH).proxyMap_(t, n) : yH(t) ? FH(jH).proxySet_(t, n) : nU(t, n);
+ return (n?.scope_ ?? RH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? QH(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 YH(e) {
- return HV(e) || NV(10, e), XH(e);
+function pU(e) {
+ return oH(e) || ZV(10, e), mU(e);
}
-function XH(e) {
- if (!UV(e) || fH(e)) return e;
- let t = e[MV], n, r = !0;
+function mU(e) {
+ if (!sH(e) || AH(e)) return e;
+ let t = e[XV], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = cH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = cH(e, !0);
- return qV(n, (e, t) => {
- ZV(n, e, XH(t));
+ t.finalized_ = !0, n = EH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = EH(e, !0);
+ return dH(n, (e, t) => {
+ hH(n, e, mU(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var ZH = new qH().produce;
+var hU = new dU().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function QH(e) {
+function gU(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var $H = QH(), eU = QH, tU = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? DV : DV.apply(null, arguments);
+var _U = gU(), vU = gU, yU = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? GV : GV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function nU(e, t) {
+function bU(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(dW(0));
+ if (!r) throw Error(kW(0));
return {
type: e,
payload: r.payload,
@@ -51828,9 +52323,9 @@ function nU(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => kV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => qV(t) && t.type === e, n;
}
-var rU = class e extends Array {
+var xU = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -51844,29 +52339,29 @@ var rU = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function iU(e) {
- return UV(e) ? ZH(e, () => {}) : e;
+function SU(e) {
+ return sH(e) ? hU(e, () => {}) : e;
}
-function aU(e, t, n) {
+function CU(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function oU(e) {
+function wU(e) {
return typeof e == "boolean";
}
-var sU = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new rU();
- return t && (oU(t) ? a.push($H) : a.push(eU(t.extraArgument))), a;
-}, cU = "RTK_autoBatch", lU = () => (e) => ({
+var TU = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new xU();
+ return t && (wU(t) ? a.push(_U) : a.push(vU(t.extraArgument))), a;
+}, EU = "RTK_autoBatch", DU = () => (e) => ({
payload: e,
- meta: { [cU]: !0 }
-}), uU = (e) => (t) => {
+ meta: { [EU]: !0 }
+}), OU = (e) => (t) => {
setTimeout(t, e);
-}, dU = (e, t) => (n) => {
+}, kU = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, fU = (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 ? dU(window.requestAnimationFrame, 100) : uU(10) : e.type === "callback" ? e.queueNotification : uU(e.timeout), l = () => {
+}, AU = (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 ? kU(window.requestAnimationFrame, 100) : OU(10) : e.type === "callback" ? e.queueNotification : OU(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -51878,37 +52373,37 @@ var sU = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[cU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[EU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, pU = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new rU(e);
- return n && r.push(fU(typeof n == "object" ? n : void 0)), r;
+}, jU = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new xU(e);
+ return n && r.push(AU(typeof n == "object" ? n : void 0)), r;
};
-function mU(e) {
- let t = sU(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function MU(e) {
+ let t = TU(), { 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 (CV(n)) c = EV(n);
- else throw Error(dW(1));
+ else if (VV(n)) c = WV(n);
+ else throw Error(kW(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = DV;
- i && (u = tU({
+ let u = GV;
+ i && (u = yU({
trace: !1,
...typeof i == "object" && i
}));
- let d = pU(OV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return wV(c, o, p);
+ let d = jU(KV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return HV(c, o, p);
}
-function hU(e) {
+function NU(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(dW(28));
- if (r in t) throw Error(dW(29));
+ if (!r) throw Error(kW(28));
+ if (r in t) throw Error(kW(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -51933,25 +52428,25 @@ function hU(e) {
r
];
}
-function gU(e) {
+function PU(e) {
return typeof e == "function";
}
-function _U(e, t) {
- let [n, r, i] = hU(t), a;
- if (gU(e)) a = () => iU(e());
+function FU(e, t) {
+ let [n, r, i] = NU(t), a;
+ if (PU(e)) a = () => SU(e());
else {
- let t = iU(e);
+ let t = SU(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 (HV(e)) {
+ if (oH(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (UV(e)) return ZH(e, (e) => n(e, t));
+ if (sH(e)) return hU(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -51966,20 +52461,20 @@ function _U(e, t) {
}
return o.getInitialState = a, o;
}
-var vU = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", yU = (e = 21) => {
+var IU = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", LU = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += vU[Math.random() * 64 | 0];
+ for (; n--;) t += IU[Math.random() * 64 | 0];
return t;
-}, bU = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function xU(e, t) {
+}, RU = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function zU(e, t) {
return `${e}/${t}`;
}
-function SU({ creators: e } = {}) {
- let t = e?.asyncThunk?.[bU];
+function BU({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[RU];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(dW(11));
- let i = (typeof e.reducers == "function" ? e.reducers(TU()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(kW(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(UU()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -51987,8 +52482,8 @@ function SU({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(dW(12));
- if (n in o.sliceCaseReducersByType) throw Error(dW(13));
+ if (!n) throw Error(kW(12));
+ if (n in o.sliceCaseReducersByType) throw Error(kW(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -52007,17 +52502,17 @@ function SU({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: xU(n, r),
+ type: zU(n, r),
createNotation: typeof e.reducers == "function"
};
- DU(a) ? kU(o, a, s, t) : EU(o, a, s);
+ GU(a) ? qU(o, a, s, t) : WU(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? hU(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NU(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return _U(e.initialState, (e) => {
+ return FU(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);
@@ -52034,12 +52529,12 @@ function SU({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = aU(d, r, m)), i;
+ return i === void 0 && n && (i = CU(d, r, m)), i;
}
function i(t = l) {
- return aU(aU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return CU(CU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = CU(a, t, () => aU(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = VU(a, t, () => CU(d, t, m), n);
return r;
});
}
@@ -52073,15 +52568,15 @@ function SU({ creators: e } = {}) {
return g;
};
}
-function CU(e, t, n, r) {
+function VU(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var wU = /* @__PURE__ */ SU();
-function TU() {
+var HU = /* @__PURE__ */ BU();
+function UU() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -52105,57 +52600,57 @@ function TU() {
asyncThunk: e
};
}
-function EU({ type: e, reducerName: t, createNotation: n }, r, i) {
+function WU({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !OU(r)) throw Error(dW(17));
+ if (n && !KU(r)) throw Error(kW(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? nU(e, o) : nU(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? bU(e, o) : bU(e));
}
-function DU(e) {
+function GU(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function OU(e) {
+function KU(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function kU({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(dW(18));
+function qU({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(kW(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 || AU,
- pending: s || AU,
- rejected: c || AU,
- settled: l || AU
+ fulfilled: o || JU,
+ pending: s || JU,
+ rejected: c || JU,
+ settled: l || JU
});
}
-function AU() {}
-var jU = "task", MU = "listener", NU = "completed", PU = "cancelled", FU = `task-${PU}`, IU = `task-${NU}`, LU = `${MU}-${PU}`, RU = `${MU}-${NU}`, zU = class {
+function JU() {}
+var YU = "task", XU = "listener", ZU = "completed", QU = "cancelled", $U = `task-${QU}`, eW = `task-${ZU}`, tW = `${XU}-${QU}`, nW = `${XU}-${ZU}`, rW = class {
constructor(e) {
- this.code = e, this.message = `${jU} ${PU} (reason: ${e})`;
+ this.code = e, this.message = `${YU} ${QU} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, BU = (e, t) => {
- if (typeof e != "function") throw TypeError(dW(32));
-}, VU = () => {}, HU = (e, t = VU) => (e.catch(t), e), UU = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WU = (e) => {
- if (e.aborted) throw new zU(e.reason);
+}, iW = (e, t) => {
+ if (typeof e != "function") throw TypeError(kW(32));
+}, aW = () => {}, oW = (e, t = aW) => (e.catch(t), e), sW = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), cW = (e) => {
+ if (e.aborted) throw new rW(e.reason);
};
-function GU(e, t) {
- let n = VU;
+function lW(e, t) {
+ let n = aW;
return new Promise((r, i) => {
- let a = () => i(new zU(e.reason));
+ let a = () => i(new rW(e.reason));
if (e.aborted) {
a();
return;
}
- n = UU(e, a), t.finally(() => n()).then(r, i);
+ n = sW(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = VU;
+ n = aW;
});
}
-var KU = async (e, t) => {
+var uW = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -52163,40 +52658,40 @@ var KU = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof zU ? "cancelled" : "rejected",
+ status: e instanceof rW ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, qU = (e) => (t) => HU(GU(e, t).then((t) => (WU(e), t))), JU = (e) => {
- let t = qU(e);
+}, dW = (e) => (t) => oW(lW(e, t).then((t) => (cW(e), t))), fW = (e) => {
+ let t = dW(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: YU } = Object, XU = {}, ZU = "listenerMiddleware", QU = (e, t) => {
- let n = (t) => UU(e, () => t.abort(e.reason));
+}, { assign: pW } = Object, mW = {}, hW = "listenerMiddleware", gW = (e, t) => {
+ let n = (t) => sW(e, () => t.abort(e.reason));
return (r, i) => {
- BU(r, "taskExecutor");
+ iW(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = KU(async () => {
- WU(e), WU(a.signal);
+ let o = uW(async () => {
+ cW(e), cW(a.signal);
let t = await r({
- pause: qU(a.signal),
- delay: JU(a.signal),
+ pause: dW(a.signal),
+ delay: fW(a.signal),
signal: a.signal
});
- return WU(a.signal), t;
- }, () => a.abort(IU));
- return i?.autoJoin && t.push(o.catch(VU)), {
- result: qU(e)(o),
+ return cW(a.signal), t;
+ }, () => a.abort(eW));
+ return i?.autoJoin && t.push(o.catch(aW)), {
+ result: dW(e)(o),
cancel() {
- a.abort(FU);
+ a.abort($U);
}
};
};
-}, $U = (e, t) => {
+}, _W = (e, t) => {
let n = async (n, r) => {
- WU(t);
+ cW(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -52214,47 +52709,47 @@ var KU = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await GU(t, Promise.race(a));
- return WU(t), e;
+ let e = await lW(t, Promise.race(a));
+ return cW(t), e;
} finally {
i();
}
};
- return ((e, t) => HU(n(e, t)));
-}, eW = (e) => {
+ return ((e, t) => oW(n(e, t)));
+}, vW = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = nU(t).match;
+ if (t) i = bU(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(dW(21));
- return BU(a, "options.listener"), {
+ else if (!i) throw Error(kW(21));
+ return iW(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, tW = /* @__PURE__ */ YU((e) => {
- let { type: t, predicate: n, effect: r } = eW(e);
+}, yW = /* @__PURE__ */ pW((e) => {
+ let { type: t, predicate: n, effect: r } = vW(e);
return {
- id: yU(),
+ id: LU(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(dW(22));
+ throw Error(kW(22));
}
};
-}, { withTypes: () => tW }), nW = (e, t) => {
- let { type: n, effect: r, predicate: i } = eW(t);
+}, { withTypes: () => yW }), bW = (e, t) => {
+ let { type: n, effect: r, predicate: i } = vW(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, rW = (e) => {
+}, xW = (e) => {
e.pending.forEach((e) => {
- e.abort(LU);
+ e.abort(tW);
});
-}, iW = (e, t) => () => {
- for (let e of t.keys()) rW(e);
+}, SW = (e, t) => () => {
+ for (let e of t.keys()) xW(e);
e.clear();
-}, aW = (e, t, n) => {
+}, CW = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -52262,74 +52757,74 @@ var KU = async (e, t) => {
throw e;
}, 0);
}
-}, oW = /* @__PURE__ */ YU(/* @__PURE__ */ nU(`${ZU}/add`), { withTypes: () => oW }), sW = /* @__PURE__ */ nU(`${ZU}/removeAll`), cW = /* @__PURE__ */ YU(/* @__PURE__ */ nU(`${ZU}/remove`), { withTypes: () => cW }), lW = (...e) => {
- console.error(`${ZU}/error`, ...e);
-}, uW = (e = {}) => {
+}, wW = /* @__PURE__ */ pW(/* @__PURE__ */ bU(`${hW}/add`), { withTypes: () => wW }), TW = /* @__PURE__ */ bU(`${hW}/removeAll`), EW = /* @__PURE__ */ pW(/* @__PURE__ */ bU(`${hW}/remove`), { withTypes: () => EW }), DW = (...e) => {
+ console.error(`${hW}/error`, ...e);
+}, OW = (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 = lW } = e;
- BU(o, "onError");
+ }, { extra: a, onError: o = DW } = e;
+ iW(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && rW(e);
+ e.unsubscribe(), t?.cancelActive && xW(e);
}), c = ((e) => {
- let n = nW(t, e) ?? tW(e);
+ let n = bW(t, e) ?? yW(e);
return s(n);
});
- YU(c, { withTypes: () => c });
+ pW(c, { withTypes: () => c });
let l = (e) => {
- let n = nW(t, e);
- return n && (n.unsubscribe(), e.cancelActive && rW(n)), !!n;
+ let n = bW(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && xW(n)), !!n;
};
- YU(l, { withTypes: () => l });
+ pW(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = $U(c, u.signal), f = [];
+ let u = new AbortController(), d = _W(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, YU({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, pW({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: JU(u.signal),
- pause: qU(u.signal),
+ delay: fW(u.signal),
+ pause: dW(u.signal),
extra: a,
signal: u.signal,
- fork: QU(u.signal, f),
+ fork: gW(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(LU), n.delete(e));
+ e !== u && (e.abort(tW), n.delete(e));
});
},
cancel: () => {
- u.abort(LU), e.pending.delete(u);
+ u.abort(tW), e.pending.delete(u);
},
throwIfCancelled: () => {
- WU(u.signal);
+ cW(u.signal);
}
})));
} catch (e) {
- e instanceof zU || aW(o, e, { raisedBy: "effect" });
+ e instanceof rW || CW(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(RU), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(nW), i(e), e.pending.delete(u);
}
- }, d = iW(t, n);
+ }, d = SW(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!kV(r)) return n(r);
- if (oW.match(r)) return c(r.payload);
- if (sW.match(r)) {
+ if (!qV(r)) return n(r);
+ if (wW.match(r)) return c(r.payload);
+ if (TW.match(r)) {
d();
return;
}
- if (cW.match(r)) return l(r.payload);
+ if (EW.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === XU) throw Error(dW(23));
+ if (i === mW) throw Error(kW(23));
return i;
}, s;
try {
@@ -52340,13 +52835,13 @@ var KU = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, aW(o, e, { raisedBy: "predicate" });
+ s = !1, CW(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = XU;
+ i = mW;
}
return s;
},
@@ -52355,12 +52850,12 @@ var KU = async (e, t) => {
clearListeners: d
};
};
-function dW(e) {
+function kW(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var fW = wU({
+var AW = HU({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -52388,23 +52883,23 @@ var fW = wU({
e.scale = t.payload;
}
}
-}), { setMargin: pW, setLayout: mW, setChartSize: hW, setScale: gW } = fW.actions, _W = fW.reducer;
+}), { setMargin: jW, setLayout: MW, setChartSize: NW, setScale: PW } = AW.actions, FW = AW.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function vW(e, t, n) {
+function IW(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function yW(e) {
+function LW(e) {
return Number.isFinite(e);
}
-function bW(e) {
+function RW(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function xW(e, t) {
+function zW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52414,30 +52909,30 @@ function xW(e, t) {
}
return n;
}
-function SW(e) {
+function BW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xW(Object(n), !0).forEach(function(t) {
- CW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xW(Object(n)).forEach(function(t) {
+ t % 2 ? zW(Object(n), !0).forEach(function(t) {
+ VW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CW(e, t, n) {
- return (t = wW(t)) in e ? Object.defineProperty(e, t, {
+function VW(e, t, n) {
+ return (t = HW(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wW(e) {
- var t = TW(e, "string");
+function HW(e) {
+ var t = UW(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TW(e, t) {
+function UW(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52447,63 +52942,63 @@ function TW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function EW(e, t, n) {
- return uB(e) || uB(t) ? n : iB(t) ? Qz(e, t, n) : typeof t == "function" ? t(e) : n;
+function WW(e, t, n) {
+ return vB(e) || vB(t) ? n : fB(t) ? oB(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var DW = (e, t, n) => {
+var GW = (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 SW(SW({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return SW(SW({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return BW(BW({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return BW(BW({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, OW = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", kW = (e, t, n, r) => {
+}, KW = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qW = (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;
-}, AW = (e, t, n) => {
+}, JW = (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 ? tB(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? lB(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 yW(i) ? {
+ return LW(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(fB) : c && l ? l.map((e, t) => {
+ }).filter(bB) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(fB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(bB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(fB) : o.domain().map((e, t) => {
+ }).filter(bB) : o.domain().map((e, t) => {
var n = o.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(fB);
-}, jW = (e, t) => {
+ }).filter(bB);
+}, YW = (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;
-}, MW = {
+}, XW = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -52511,16 +53006,16 @@ var DW = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = nB(c) ? l : c;
+ var c = s[1], l = s[0], u = uB(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: eme,
- none: Wz,
- silhouette: tme,
- wiggle: nme,
+ expand: Tme,
+ none: Qz,
+ silhouette: Eme,
+ wiggle: Dme,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -52528,70 +53023,70 @@ var DW = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = nB(o[1]) ? o[0] : o[1];
+ var s = uB(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, NW = (e, t, n) => {
- var r = MW[n] ?? Wz, i = $pe().keys(t).value((e, t) => Number(EW(e, t, 0))).order(Gz).offset(r)(e);
+}, ZW = (e, t, n) => {
+ var r = XW[n] ?? Qz, i = wme().keys(t).value((e, t) => Number(WW(e, t, 0))).order($z).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = EW(e[i], t[r], 0);
+ var a = WW(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 PW(e) {
+function QW(e) {
return e == null ? void 0 : String(e);
}
-function FW(e) {
+function $W(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !uB(i[t.dataKey])) {
- var s = lB(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !vB(i[t.dataKey])) {
+ var s = _B(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 = EW(i, uB(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = WW(i, vB(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var IW = (e) => {
+var eG = (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 = EW(a, t.dataKey, t.scale.domain()[o]);
- if (uB(s)) return null;
+ var s = WW(a, t.dataKey, t.scale.domain()[o]);
+ if (vB(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, LW = (e) => {
+}, tG = (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];
-}, RW = (e) => {
+}, nG = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, zW = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], BW = (e, t, n) => {
- if (e != null) return zW(Object.keys(e).reduce((r, i) => {
+}, rG = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], iG = (e, t, n) => {
+ if (e != null) return rG(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 = RW(vW(r, t, n));
- return !yW(i[0]) || !yW(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = nG(IW(r, t, n));
+ return !LW(i[0]) || !LW(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]));
-}, VW = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, HW = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, UW = (e, t, n) => {
+}, aG = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oG = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sG = (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 = fV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = AV(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);
}
@@ -52599,26 +53094,26 @@ var IW = (e) => {
}
return n ? void 0 : 0;
};
-function WW(e) {
+function cG(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return SW(SW({}, t), {}, {
+ return BW(BW({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function GW(e, t) {
+function lG(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var KW = (e, t) => {
+var uG = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, qW = (e, t) => t === "centric" ? e.angle : e.radius, JW = (e) => e.layout.width, YW = (e) => e.layout.height, XW = (e) => e.layout.scale, ZW = (e) => e.layout.margin, QW = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), $W = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), eG = "data-recharts-item-index";
+}, dG = (e, t) => t === "centric" ? e.angle : e.radius, fG = (e) => e.layout.width, pG = (e) => e.layout.height, mG = (e) => e.layout.scale, hG = (e) => e.layout.margin, gG = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _G = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vG = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function tG(e, t) {
+function yG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52628,30 +53123,30 @@ function tG(e, t) {
}
return n;
}
-function nG(e) {
+function bG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? tG(Object(n), !0).forEach(function(t) {
- rG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tG(Object(n)).forEach(function(t) {
+ t % 2 ? yG(Object(n), !0).forEach(function(t) {
+ xG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rG(e, t, n) {
- return (t = iG(t)) in e ? Object.defineProperty(e, t, {
+function xG(e, t, n) {
+ return (t = SG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iG(e) {
- var t = aG(e, "string");
+function SG(e) {
+ var t = CG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aG(e, t) {
+function CG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52661,58 +53156,58 @@ function aG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var oG = (e) => e.brush.height;
-function sG(e) {
- return $W(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+var wG = (e) => e.brush.height;
+function TG(e) {
+ return _G(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function cG(e) {
- return $W(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function lG(e) {
- return QW(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
-}
-function uG(e) {
- return QW(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
-}
-var dG = $([
- JW,
- YW,
- ZW,
- oG,
- sG,
- cG,
- lG,
- uG,
- pV,
- mV
+function EG(e) {
+ return _G(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function DG(e) {
+ return gG(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+function OG(e) {
+ return gG(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+var kG = $([
+ fG,
+ pG,
+ hG,
+ wG,
+ TG,
+ EG,
+ DG,
+ OG,
+ jV,
+ MV
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = nG(nG({}, {
+ }, d = bG(bG({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = DW(d, c, l);
+ d.bottom += r, d = GW(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return nG(nG({ brushBottom: f }, d), {}, {
+ return bG(bG({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), fG = $(dG, (e) => ({
+}), AG = $(kG, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), pG = $(JW, YW, (e, t) => ({
+})), jG = $(fG, pG, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), mG = /*#__PURE__*/ (0, I.createContext)(null), hG = () => (0, I.useContext)(mG) != null, gG = (e) => e.brush, _G = $([
- gG,
- dG,
- ZW
+})), MG = /*#__PURE__*/ (0, I.createContext)(null), NG = () => (0, I.useContext)(MG) != null, PG = (e) => e.brush, FG = $([
+ PG,
+ kG,
+ hG
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -52721,7 +53216,7 @@ var dG = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function vG(e, t, { signal: n, edges: r } = {}) {
+function IG(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 = () => {
@@ -52746,11 +53241,11 @@ function vG(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function yG(e, t = 0, n = {}) {
+function LG(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 = vG(function(...t) {
+ let s, c = null, l = IG(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);
@@ -52759,9 +53254,9 @@ function yG(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function bG(e, t = 0, n = {}) {
+function RG(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return yG(e, t, {
+ return LG(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -52769,7 +53264,7 @@ function bG(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var xG = function(e, t) {
+var zG = 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.");
@@ -52778,7 +53273,7 @@ var xG = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, SG = {
+}, BG = {
width: "100%",
height: "100%",
debounce: 0,
@@ -52787,45 +53282,45 @@ var xG = function(e, t) {
width: -1,
height: -1
}
-}, CG = (e, t, n) => {
- var { width: r = SG.width, height: i = SG.height, aspect: a, maxHeight: o } = n, s = rB(r) ? e : Number(r), c = rB(i) ? t : Number(i);
+}, VG = (e, t, n) => {
+ var { width: r = BG.width, height: i = BG.height, aspect: a, maxHeight: o } = n, s = dB(r) ? e : Number(r), c = dB(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
};
-}, wG = {
+}, HG = {
width: 0,
height: 0,
overflow: "visible"
-}, TG = {
+}, UG = {
width: 0,
overflowX: "visible"
-}, EG = {
+}, WG = {
height: 0,
overflowY: "visible"
-}, DG = {}, OG = (e) => {
- var { width: t, height: n } = e, r = rB(t), i = rB(n);
- return r && i ? wG : r ? TG : i ? EG : DG;
+}, GG = {}, KG = (e) => {
+ var { width: t, height: n } = e, r = dB(t), i = dB(n);
+ return r && i ? HG : r ? UG : i ? WG : GG;
};
-function kG(e) {
+function qG(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = SG.width, a = SG.height) : i === void 0 ? i = r && r > 0 ? void 0 : SG.width : a === void 0 && (a = r && r > 0 ? void 0 : SG.height), {
+ return i === void 0 && a === void 0 ? (i = BG.width, a = BG.height) : i === void 0 ? i = r && r > 0 ? void 0 : BG.width : a === void 0 && (a = r && r > 0 ? void 0 : BG.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function AG() {
- return AG = Object.assign ? Object.assign.bind() : function(e) {
+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;
- }, AG.apply(null, arguments);
+ }, JG.apply(null, arguments);
}
-function jG(e, t) {
+function YG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52835,30 +53330,30 @@ function jG(e, t) {
}
return n;
}
-function MG(e) {
+function XG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jG(Object(n), !0).forEach(function(t) {
- NG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jG(Object(n)).forEach(function(t) {
+ t % 2 ? YG(Object(n), !0).forEach(function(t) {
+ ZG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NG(e, t, n) {
- return (t = PG(t)) in e ? Object.defineProperty(e, t, {
+function ZG(e, t, n) {
+ return (t = QG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PG(e) {
- var t = FG(e, "string");
+function QG(e) {
+ var t = $G(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FG(e, t) {
+function $G(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52868,19 +53363,19 @@ function FG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var IG = /*#__PURE__*/ (0, I.createContext)(SG.initialDimension);
-function LG(e) {
- return bW(e.width) && bW(e.height);
+var eK = /*#__PURE__*/ (0, I.createContext)(BG.initialDimension);
+function tK(e) {
+ return RW(e.width) && RW(e.height);
}
-function RG(e) {
+function nK(e) {
var { children: t, width: n, height: r } = e, i = (0, I.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return LG(i) ? /*#__PURE__*/ I.createElement(IG.Provider, { value: i }, t) : null;
+ return tK(i) ? /*#__PURE__*/ I.createElement(eK.Provider, { value: i }, t) : null;
}
-var zG = () => (0, I.useContext)(IG), BG = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = SG.initialDimension, width: i, height: a, minWidth: o = SG.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = SG.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
+var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = BG.initialDimension, width: i, height: a, minWidth: o = BG.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BG.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
g.current = p, (0, I.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, I.useState)({
containerWidth: r.width,
@@ -52895,7 +53390,7 @@ var zG = () => (0, I.useContext)(IG), BG = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
}, []);
(0, I.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return pB;
+ if (h.current == null || typeof ResizeObserver > "u") return xB;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -52903,7 +53398,7 @@ var zG = () => (0, I.useContext)(IG), BG = /*#__PURE__*/ (0, I.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = bG(e, u, {
+ u > 0 && (e = RG(e, u, {
trailing: !0,
leading: !1
}));
@@ -52913,17 +53408,17 @@ var zG = () => (0, I.useContext)(IG), BG = /*#__PURE__*/ (0, I.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- xG(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = CG(b, x, {
+ zG(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = VG(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return xG(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
+ return zG(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
id: d ? `${d}` : void 0,
- className: Xm("recharts-responsive-container", f),
- style: MG(MG({}, m), {}, {
+ className: bh("recharts-responsive-container", f),
+ style: XG(XG({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -52931,30 +53426,30 @@ var zG = () => (0, I.useContext)(IG), BG = /*#__PURE__*/ (0, I.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ I.createElement("div", { style: OG({
+ }, /*#__PURE__*/ I.createElement("div", { style: KG({
width: i,
height: a
- }) }, /*#__PURE__*/ I.createElement(RG, {
+ }) }, /*#__PURE__*/ I.createElement(nK, {
width: S,
height: C
}, l)));
-}), VG = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = zG();
- if (bW(n.width) && bW(n.height)) return e.children;
- var { width: r, height: i } = kG({
+}), aK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = rK();
+ if (RW(n.width) && RW(n.height)) return e.children;
+ var { width: r, height: i } = qG({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = CG(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = VG(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(RG, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(nK, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ I.createElement(BG, AG({}, e, {
+ }, e.children) : /*#__PURE__*/ I.createElement(iK, JG({}, e, {
width: r,
height: i,
ref: t
@@ -52962,7 +53457,7 @@ var zG = () => (0, I.useContext)(IG), BG = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function HG(e) {
+function oK(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -52972,15 +53467,15 @@ function HG(e) {
height: e.height
};
}
-var UG = () => {
- var e = hG(), t = Q(fG), n = Q(_G), r = Q(gG)?.padding;
+var sK = () => {
+ var e = NG(), t = Q(AG), n = Q(FG), r = Q(PG)?.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
};
-}, WG = {
+}, cK = {
top: 0,
bottom: 0,
left: 0,
@@ -52988,16 +53483,16 @@ var UG = () => {
width: 0,
height: 0,
brushBottom: 0
-}, GG = () => Q(dG) ?? WG, KG = () => Q(JW), qG = () => Q(YW), JG = () => Q((e) => e.layout.margin), YG = (e) => e.layout.layoutType, XG = () => Q(YG), ZG = () => {
- var e = XG();
+}, lK = () => Q(kG) ?? cK, uK = () => Q(fG), dK = () => Q(pG), fK = () => Q((e) => e.layout.margin), pK = (e) => e.layout.layoutType, mK = () => Q(pK), hK = () => {
+ var e = mK();
if (e === "horizontal" || e === "vertical") return e;
-}, QG = (e) => {
+}, gK = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, $G = () => Q(QG), eK = () => XG() !== void 0, tK = (e) => {
- var t = XB(), n = hG(), { width: r, height: i } = e, a = zG(), o = r, s = i;
+}, _K = () => Q(gK), vK = () => mK() !== void 0, yK = (e) => {
+ var t = iV(), n = NG(), { width: r, height: i } = e, a = rK(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, I.useEffect)(() => {
- !n && bW(o) && bW(s) && t(hW({
+ !n && RW(o) && RW(s) && t(NW({
width: o,
height: s
}));
@@ -53007,64 +53502,64 @@ var UG = () => {
o,
s
]), null;
-}, nK = Symbol.for("immer-nothing"), rK = Symbol.for("immer-draftable"), iK = Symbol.for("immer-state");
-function aK(e, ...t) {
+}, bK = Symbol.for("immer-nothing"), xK = Symbol.for("immer-draftable"), SK = Symbol.for("immer-state");
+function CK(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var oK = Object.getPrototypeOf;
-function sK(e) {
- return !!e && !!e[iK];
+var wK = Object.getPrototypeOf;
+function TK(e) {
+ return !!e && !!e[SK];
}
-function cK(e) {
- return e ? dK(e) || Array.isArray(e) || !!e[rK] || !!e.constructor?.[rK] || _K(e) || vK(e) : !1;
+function EK(e) {
+ return e ? kK(e) || Array.isArray(e) || !!e[xK] || !!e.constructor?.[xK] || FK(e) || IK(e) : !1;
}
-var lK = Object.prototype.constructor.toString(), uK = /* @__PURE__ */ new WeakMap();
-function dK(e) {
+var DK = Object.prototype.constructor.toString(), OK = /* @__PURE__ */ new WeakMap();
+function kK(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 = uK.get(n);
- return r === void 0 && (r = Function.toString.call(n), uK.set(n, r)), r === lK;
+ let r = OK.get(n);
+ return r === void 0 && (r = Function.toString.call(n), OK.set(n, r)), r === DK;
}
-function fK(e, t, n = !0) {
- pK(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function AK(e, t, n = !0) {
+ jK(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 pK(e) {
- let t = e[iK];
- return t ? t.type_ : Array.isArray(e) ? 1 : _K(e) ? 2 : vK(e) ? 3 : 0;
+function jK(e) {
+ let t = e[SK];
+ return t ? t.type_ : Array.isArray(e) ? 1 : FK(e) ? 2 : IK(e) ? 3 : 0;
}
-function mK(e, t) {
- return pK(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function MK(e, t) {
+ return jK(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function hK(e, t, n) {
- let r = pK(e);
+function NK(e, t, n) {
+ let r = jK(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function gK(e, t) {
+function PK(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function _K(e) {
+function FK(e) {
return e instanceof Map;
}
-function vK(e) {
+function IK(e) {
return e instanceof Set;
}
-function yK(e) {
+function LK(e) {
return e.copy_ || e.base_;
}
-function bK(e, t) {
- if (_K(e)) return new Map(e);
- if (vK(e)) return new Set(e);
+function RK(e, t) {
+ if (FK(e)) return new Map(e);
+ if (IK(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = dK(e);
+ let n = kK(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[iK];
+ delete t[SK];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -53075,40 +53570,40 @@ function bK(e, t) {
value: e[i]
});
}
- return Object.create(oK(e), t);
+ return Object.create(wK(e), t);
}
{
- let t = oK(e);
+ let t = wK(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function xK(e, t = !1) {
- return wK(e) || sK(e) || !cK(e) ? e : (pK(e) > 1 && Object.defineProperties(e, {
- set: CK,
- add: CK,
- clear: CK,
- delete: CK
- }), Object.freeze(e), t && Object.values(e).forEach((e) => xK(e, !0)), e);
+function zK(e, t = !1) {
+ return HK(e) || TK(e) || !EK(e) ? e : (jK(e) > 1 && Object.defineProperties(e, {
+ set: VK,
+ add: VK,
+ clear: VK,
+ delete: VK
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => zK(e, !0)), e);
}
-function SK() {
- aK(2);
+function BK() {
+ CK(2);
}
-var CK = { value: SK };
-function wK(e) {
+var VK = { value: BK };
+function HK(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var TK = {};
-function EK(e) {
- let t = TK[e];
- return t || aK(0, e), t;
+var UK = {};
+function WK(e) {
+ let t = UK[e];
+ return t || CK(0, e), t;
}
-var DK;
-function OK() {
- return DK;
+var GK;
+function KK() {
+ return GK;
}
-function kK(e, t) {
+function qK(e, t) {
return {
drafts_: [],
parent_: e,
@@ -53117,62 +53612,62 @@ function kK(e, t) {
unfinalizedDrafts_: 0
};
}
-function AK(e, t) {
- t && (EK("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function JK(e, t) {
+ t && (WK("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function jK(e) {
- MK(e), e.drafts_.forEach(PK), e.drafts_ = null;
+function YK(e) {
+ XK(e), e.drafts_.forEach(QK), e.drafts_ = null;
}
-function MK(e) {
- e === DK && (DK = e.parent_);
+function XK(e) {
+ e === GK && (GK = e.parent_);
}
-function NK(e) {
- return DK = kK(DK, e);
+function ZK(e) {
+ return GK = qK(GK, e);
}
-function PK(e) {
- let t = e[iK];
+function QK(e) {
+ let t = e[SK];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function FK(e, t) {
+function $K(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[iK].modified_ && (jK(t), aK(4)), cK(e) && (e = IK(t, e), t.parent_ || RK(t, e)), t.patches_ && EK("Patches").generateReplacementPatches_(n[iK].base_, e, t.patches_, t.inversePatches_)) : e = IK(t, n, []), jK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === nK ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[SK].modified_ && (YK(t), CK(4)), EK(e) && (e = eq(t, e), t.parent_ || nq(t, e)), t.patches_ && WK("Patches").generateReplacementPatches_(n[SK].base_, e, t.patches_, t.inversePatches_)) : e = eq(t, n, []), YK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === bK ? void 0 : e;
}
-function IK(e, t, n) {
- if (wK(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[iK];
- if (!i) return fK(t, (r, a) => LK(e, i, t, r, a, n), r), t;
+function eq(e, t, n) {
+ if (HK(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[SK];
+ if (!i) return AK(t, (r, a) => tq(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return RK(e, i.base_, !0), i.base_;
+ if (!i.modified_) return nq(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), fK(a, (r, a) => LK(e, i, t, r, a, n, o), r), RK(e, t, !1), n && e.patches_ && EK("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), AK(a, (r, a) => tq(e, i, t, r, a, n, o), r), nq(e, t, !1), n && e.patches_ && WK("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function LK(e, t, n, r, i, a, o) {
+function tq(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = wK(i);
+ let s = HK(i);
if (!(s && !o)) {
- if (sK(i)) {
- let o = IK(e, i, a && t && t.type_ !== 3 && !mK(t.assigned_, r) ? a.concat(r) : void 0);
- if (hK(n, r, o), sK(o)) e.canAutoFreeze_ = !1;
+ if (TK(i)) {
+ let o = eq(e, i, a && t && t.type_ !== 3 && !MK(t.assigned_, r) ? a.concat(r) : void 0);
+ if (NK(n, r, o), TK(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (cK(i) && !s) {
+ if (EK(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- IK(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (_K(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && RK(e, i);
+ eq(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (FK(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && nq(e, i);
}
}
}
-function RK(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && xK(t, n);
+function nq(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && zK(t, n);
}
-function zK(e, t) {
+function rq(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : OK(),
+ scope_: t ? t.scope_ : KK(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -53182,41 +53677,41 @@ function zK(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = BK;
- n && (i = [r], a = VK);
+ }, i = r, a = iq;
+ n && (i = [r], a = aq);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var BK = {
+var iq = {
get(e, t) {
- if (t === iK) return e;
- let n = yK(e);
- if (!mK(n, t)) return UK(e, n, t);
+ if (t === SK) return e;
+ let n = LK(e);
+ if (!MK(n, t)) return sq(e, n, t);
let r = n[t];
- return e.finalized_ || !cK(r) ? r : r === HK(e.base_, t) ? (KK(e), e.copy_[t] = JK(r, e)) : r;
+ return e.finalized_ || !EK(r) ? r : r === oq(e.base_, t) ? (uq(e), e.copy_[t] = fq(r, e)) : r;
},
has(e, t) {
- return t in yK(e);
+ return t in LK(e);
},
ownKeys(e) {
- return Reflect.ownKeys(yK(e));
+ return Reflect.ownKeys(LK(e));
},
set(e, t, n) {
- let r = WK(yK(e), t);
+ let r = cq(LK(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = HK(yK(e), t), i = r?.[iK];
+ let r = oq(LK(e), t), i = r?.[SK];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (gK(n, r) && (n !== void 0 || mK(e.base_, t))) return !0;
- KK(e), GK(e);
+ if (PK(n, r) && (n !== void 0 || MK(e.base_, t))) return !0;
+ uq(e), lq(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 HK(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, KK(e), GK(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return oq(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, uq(e), lq(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = yK(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = LK(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -53225,48 +53720,48 @@ var BK = {
};
},
defineProperty() {
- aK(11);
+ CK(11);
},
getPrototypeOf(e) {
- return oK(e.base_);
+ return wK(e.base_);
},
setPrototypeOf() {
- aK(12);
+ CK(12);
}
-}, VK = {};
-fK(BK, (e, t) => {
- VK[e] = function() {
+}, aq = {};
+AK(iq, (e, t) => {
+ aq[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), VK.deleteProperty = function(e, t) {
- return VK.set.call(this, e, t, void 0);
-}, VK.set = function(e, t, n) {
- return BK.set.call(this, e[0], t, n, e[0]);
+}), aq.deleteProperty = function(e, t) {
+ return aq.set.call(this, e, t, void 0);
+}, aq.set = function(e, t, n) {
+ return iq.set.call(this, e[0], t, n, e[0]);
};
-function HK(e, t) {
- let n = e[iK];
- return (n ? yK(n) : e)[t];
+function oq(e, t) {
+ let n = e[SK];
+ return (n ? LK(n) : e)[t];
}
-function UK(e, t, n) {
- let r = WK(t, n);
+function sq(e, t, n) {
+ let r = cq(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function WK(e, t) {
+function cq(e, t) {
if (!(t in e)) return;
- let n = oK(e);
+ let n = wK(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = oK(n);
+ n = wK(n);
}
}
-function GK(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && GK(e.parent_));
+function lq(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && lq(e.parent_));
}
-function KK(e) {
- e.copy_ ||= bK(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function uq(e) {
+ e.copy_ ||= RK(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var qK = class {
+var dq = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -53277,25 +53772,25 @@ var qK = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && aK(6), n !== void 0 && typeof n != "function" && aK(7);
+ typeof t != "function" && CK(6), n !== void 0 && typeof n != "function" && CK(7);
let r;
- if (cK(e)) {
- let i = NK(this), a = JK(e, void 0), o = !0;
+ if (EK(e)) {
+ let i = ZK(this), a = fq(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? jK(i) : MK(i);
+ o ? YK(i) : XK(i);
}
- return AK(i, n), FK(r, i);
+ return JK(i, n), $K(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === nK && (r = void 0), this.autoFreeze_ && xK(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === bK && (r = void 0), this.autoFreeze_ && zK(r, !0), n) {
let t = [], i = [];
- EK("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ WK("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- aK(1, e);
+ CK(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -53309,15 +53804,15 @@ var qK = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- cK(e) || aK(8), sK(e) && (e = YK(e));
- let t = NK(this), n = JK(e, void 0);
- return n[iK].isManual_ = !0, MK(t), n;
+ EK(e) || CK(8), TK(e) && (e = pq(e));
+ let t = ZK(this), n = fq(e, void 0);
+ return n[SK].isManual_ = !0, XK(t), n;
}
finishDraft(e, t) {
- let n = e && e[iK];
- (!n || !n.isManual_) && aK(9);
+ let n = e && e[SK];
+ (!n || !n.isManual_) && CK(9);
let { scope_: r } = n;
- return AK(r, t), FK(void 0, r);
+ return JK(r, t), $K(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -53341,35 +53836,35 @@ var qK = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = EK("Patches").applyPatches_;
- return sK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = WK("Patches").applyPatches_;
+ return TK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function JK(e, t) {
- let n = _K(e) ? EK("MapSet").proxyMap_(e, t) : vK(e) ? EK("MapSet").proxySet_(e, t) : zK(e, t);
- return (t ? t.scope_ : OK()).drafts_.push(n), n;
+function fq(e, t) {
+ let n = FK(e) ? WK("MapSet").proxyMap_(e, t) : IK(e) ? WK("MapSet").proxySet_(e, t) : rq(e, t);
+ return (t ? t.scope_ : KK()).drafts_.push(n), n;
}
-function YK(e) {
- return sK(e) || aK(10, e), XK(e);
+function pq(e) {
+ return TK(e) || CK(10, e), mq(e);
}
-function XK(e) {
- if (!cK(e) || wK(e)) return e;
- let t = e[iK], n, r = !0;
+function mq(e) {
+ if (!EK(e) || HK(e)) return e;
+ let t = e[SK], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = bK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = bK(e, !0);
- return fK(n, (e, t) => {
- hK(n, e, XK(t));
+ t.finalized_ = !0, n = RK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = RK(e, !0);
+ return AK(n, (e, t) => {
+ NK(n, e, mq(t));
}, r), t && (t.finalized_ = !1), n;
}
-new qK().produce;
-function ZK(e) {
+new dq().produce;
+function hq(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var QK = wU({
+var gq = HU({
name: "legend",
initialState: {
settings: {
@@ -53393,43 +53888,43 @@ var QK = wU({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(ZK(t.payload));
+ e.payload.push(hq(t.payload));
},
- prepare: lU()
+ prepare: DU()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = YH(e).payload.indexOf(ZK(n));
- i > -1 && (e.payload[i] = ZK(r));
+ var { prev: n, next: r } = t.payload, i = pU(e).payload.indexOf(hq(n));
+ i > -1 && (e.payload[i] = hq(r));
},
- prepare: lU()
+ prepare: DU()
},
removeLegendPayload: {
reducer(e, t) {
- var n = YH(e).payload.indexOf(ZK(t.payload));
+ var n = pU(e).payload.indexOf(hq(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: lU()
+ prepare: DU()
}
}
-}), { setLegendSize: $K, setLegendSettings: eq, addLegendPayload: tq, replaceLegendPayload: nq, removeLegendPayload: rq } = QK.actions, iq = QK.reducer, aq = /* @__PURE__ */ F(((e) => {
+}), { setLegendSize: _q, setLegendSettings: vq, addLegendPayload: yq, replaceLegendPayload: bq, removeLegendPayload: xq } = gq.actions, Sq = gq.reducer, Cq = /* @__PURE__ */ F(((e) => {
var t = ce();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ F(((e, t) => {
- t.exports = aq();
+ t.exports = Cq();
})))();
-function oq(e) {
+function wq(e) {
e();
}
-function sq() {
+function Tq() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- oq(() => {
+ wq(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -53451,12 +53946,12 @@ function sq() {
}
};
}
-var cq = {
+var Eq = {
notify() {},
get: () => []
};
-function lq(e, t) {
- let n, r = cq, i = 0, a = !1;
+function Dq(e, t) {
+ let n, r = Eq, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -53474,10 +53969,10 @@ function lq(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = sq());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Tq());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = cq);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = Eq);
}
function f() {
a || (a = !0, u());
@@ -53496,44 +53991,44 @@ function lq(e, t) {
};
return m;
}
-var uq = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, dq = typeof navigator < "u" && navigator.product === "ReactNative", fq = uq || dq ? I.useLayoutEffect : I.useEffect;
-function pq(e, t) {
+var Oq = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kq = typeof navigator < "u" && navigator.product === "ReactNative", Aq = Oq || kq ? I.useLayoutEffect : I.useEffect;
+function jq(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function mq(e, t) {
- if (pq(e, t)) return !0;
+function Mq(e, t) {
+ if (jq(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]) || !pq(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !jq(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var hq = /* @__PURE__ */ Symbol.for("react-redux-context"), gq = typeof globalThis < "u" ? globalThis : {};
-function _q() {
+var Nq = /* @__PURE__ */ Symbol.for("react-redux-context"), Pq = typeof globalThis < "u" ? globalThis : {};
+function Fq() {
if (!I.createContext) return {};
- let e = gq[hq] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
+ let e = Pq[Nq] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
return t || (t = I.createContext(null), e.set(I.createContext, t)), t;
}
-var vq = /* @__PURE__ */ _q();
-function yq(e) {
+var Iq = /* @__PURE__ */ Fq();
+function Lq(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = I.useMemo(() => {
- let e = lq(i);
+ let e = Dq(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = I.useMemo(() => i.getState(), [i]);
- fq(() => {
+ Aq(() => {
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 || vq;
+ let s = n || Iq;
return /* @__PURE__ */ I.createElement(s.Provider, { value: a }, t);
}
-var bq = yq, xq = /* @__PURE__ */ new Set([
+var Rq = Lq, zq = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -53556,29 +54051,29 @@ var bq = yq, xq = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function Sq(e, t) {
+function Bq(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function Cq(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (xq.has(n)) {
+function Vq(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (zq.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!mq(e[n], t[n])) return !1;
- } else if (!Sq(e[n], t[n])) return !1;
+ if (!Mq(e[n], t[n])) return !1;
+ } else if (!Bq(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var wq = ["contextPayload"];
-function Tq() {
- return Tq = Object.assign ? Object.assign.bind() : function(e) {
+var Hq = ["contextPayload"];
+function Uq() {
+ return Uq = 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;
- }, Tq.apply(null, arguments);
+ }, Uq.apply(null, arguments);
}
-function Eq(e, t) {
+function Wq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53588,30 +54083,30 @@ function Eq(e, t) {
}
return n;
}
-function Dq(e) {
+function Gq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Eq(Object(n), !0).forEach(function(t) {
- Oq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Eq(Object(n)).forEach(function(t) {
+ t % 2 ? Wq(Object(n), !0).forEach(function(t) {
+ Kq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Oq(e, t, n) {
- return (t = kq(t)) in e ? Object.defineProperty(e, t, {
+function Kq(e, t, n) {
+ return (t = qq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kq(e) {
- var t = Aq(e, "string");
+function qq(e) {
+ var t = Jq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Aq(e, t) {
+function Jq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53621,16 +54116,16 @@ function Aq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jq(e, t) {
+function Yq(e, t) {
if (e == null) return {};
- var n, r, i = Mq(e, t);
+ var n, r, i = Xq(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 Mq(e, t) {
+function Xq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -53639,36 +54134,36 @@ function Mq(e, t) {
}
return n;
}
-function Nq(e) {
+function Zq(e) {
return e.value;
}
-function Pq(e) {
- var { contextPayload: t } = e, n = jq(e, wq), r = JB(t, e.payloadUniqBy, Nq), i = Dq(Dq({}, n), {}, { payload: r });
- return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(Ame, i);
+function Qq(e) {
+ var { contextPayload: t } = e, n = Yq(e, Hq), r = nV(t, e.payloadUniqBy, Zq), i = Gq(Gq({}, n), {}, { payload: r });
+ return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(the, i);
}
-function Fq(e, t, n, r, i, a) {
+function $q(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 }), Dq(Dq({}, 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 }), Gq(Gq({}, l), u);
}
-function Iq(e) {
- var t = XB();
+function eJ(e) {
+ var t = iV();
return (0, I.useEffect)(() => {
- t(eq(e));
+ t(vq(e));
}, [t, e]), null;
}
-function Lq(e) {
- var t = XB();
- return (0, I.useEffect)(() => (t($K(e)), () => {
- t($K({
+function tJ(e) {
+ var t = iV();
+ return (0, I.useEffect)(() => (t(_q(e)), () => {
+ t(_q({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function Rq(e, t, n, r) {
+function nJ(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var zq = {
+var rJ = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -53676,49 +54171,49 @@ var zq = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function Bq(e) {
- var t = CB(e, zq), n = gV(), r = wpe(), i = JG(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = vV([n]), d = KG(), f = qG();
+function iJ(e) {
+ var t = jB(e, rJ), n = PV(), r = Ype(), i = fK(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = IV([n]), d = uK(), f = dK();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = Rq(t.layout, o, a, p), h = c ? s : Dq(Dq({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = nJ(t.layout, o, a, p), h = c ? s : Gq(Gq({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, Fq(s, t, i, d, f, l)), s), g = c ?? r;
+ }, $q(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ I.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ I.createElement(Iq, {
+ }, /*#__PURE__*/ I.createElement(eJ, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ I.createElement(Lq, {
+ }), !c && /*#__PURE__*/ I.createElement(tJ, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ I.createElement(Pq, Tq({}, t, m, {
+ }), /*#__PURE__*/ I.createElement(Qq, Uq({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
contextPayload: n
})));
- return /*#__PURE__*/ (0, Th.createPortal)(_, g);
+ return /*#__PURE__*/ (0, Yh.createPortal)(_, g);
}
-var Vq = /*#__PURE__*/ I.memo(Bq, Cq);
-Vq.displayName = "Legend";
+var aJ = /*#__PURE__*/ I.memo(iJ, Vq);
+aJ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function Hq() {
- return Hq = Object.assign ? Object.assign.bind() : function(e) {
+function oJ() {
+ return oJ = 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;
- }, Hq.apply(null, arguments);
+ }, oJ.apply(null, arguments);
}
-function Uq(e, t) {
+function sJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53728,30 +54223,30 @@ function Uq(e, t) {
}
return n;
}
-function Wq(e) {
+function cJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Uq(Object(n), !0).forEach(function(t) {
- Gq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Uq(Object(n)).forEach(function(t) {
+ t % 2 ? sJ(Object(n), !0).forEach(function(t) {
+ lJ(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gq(e, t, n) {
- return (t = Kq(t)) in e ? Object.defineProperty(e, t, {
+function lJ(e, t, n) {
+ return (t = Ghe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kq(e) {
- var t = qq(e, "string");
+function Ghe(e) {
+ var t = Khe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qq(e, t) {
+function Khe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53761,10 +54256,10 @@ function qq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Jq(e) {
- return Array.isArray(e) && iB(e[0]) && iB(e[1]) ? e.join(" ~ ") : e;
+function qhe(e) {
+ return Array.isArray(e) && fB(e[0]) && fB(e[1]) ? e.join(" ~ ") : e;
}
-var Yq = {
+var uJ = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -53782,30 +54277,30 @@ var Yq = {
labelStyle: {},
accessibilityLayer: !1
};
-function Xq(e, t) {
- return t == null ? e : fV(e, t);
+function Jhe(e, t) {
+ return t == null ? e : AV(e, t);
}
-var Zq = (e) => {
- var { separator: t = Yq.separator, contentStyle: n, itemStyle: r, labelStyle: i = Yq.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = Yq.accessibilityLayer } = e, p = () => {
+var Yhe = (e) => {
+ var { separator: t = uJ.separator, contentStyle: n, itemStyle: r, labelStyle: i = uJ.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = uJ.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = Xq(a, s).map((e, n) => {
+ }, n = Jhe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || Jq, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || qhe, { 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 = Wq(Wq({}, Yq.itemStyle), {}, { color: e.color || Yq.itemStyle.color }, r);
+ var f = cJ(cJ({}, uJ.itemStyle), {}, { color: e.color || uJ.itemStyle.color }, r);
return /*#__PURE__*/ I.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, iB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, iB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, fB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, fB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -53813,30 +54308,30 @@ var Zq = (e) => {
}, n);
}
return null;
- }, m = Wq(Wq({}, Yq.contentStyle), n), h = Wq({ margin: 0 }, i), g = !uB(u), _ = g ? u : "", v = Xm("recharts-default-tooltip", c), y = Xm("recharts-tooltip-label", l);
+ }, m = cJ(cJ({}, uJ.contentStyle), n), h = cJ({ margin: 0 }, i), g = !vB(u), _ = g ? u : "", v = bh("recharts-default-tooltip", c), y = bh("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ I.createElement("div", Hq({
+ return /*#__PURE__*/ I.createElement("div", oJ({
className: v,
style: m
}, b), /*#__PURE__*/ I.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ I.isValidElement(_) ? _ : `${_}`), p());
-}, Qq = "recharts-tooltip-wrapper", $q = { visibility: "hidden" };
-function eJ(e) {
+}, dJ = "recharts-tooltip-wrapper", Xhe = { visibility: "hidden" };
+function Zhe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Xm(Qq, {
- [`${Qq}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${Qq}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${Qq}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${Qq}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return bh(dJ, {
+ [`${dJ}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${dJ}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${dJ}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${dJ}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function tJ(e) {
+function fJ(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;
@@ -53844,13 +54339,13 @@ function tJ(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function nJ(e) {
+function Qhe(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function rJ(e) {
+function $he(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 = tJ({
+ return s.height > 0 && s.width > 0 && n ? (d = fJ({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -53860,7 +54355,7 @@ function rJ(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = tJ({
+ }), f = fJ({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -53870,27 +54365,27 @@ function rJ(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = nJ({
+ }), u = Qhe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = $q, {
+ })) : u = Xhe, {
cssProperties: u,
- cssClasses: eJ({
+ cssClasses: Zhe({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var iJ = {
+var pJ = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function aJ() {
- var [e, t] = (0, I.useState)(() => iJ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function mJ() {
+ var [e, t] = (0, I.useState)(() => pJ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, I.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -53904,7 +54399,7 @@ function aJ() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function oJ(e, t) {
+function hJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53914,30 +54409,30 @@ function oJ(e, t) {
}
return n;
}
-function sJ(e) {
+function gJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? oJ(Object(n), !0).forEach(function(t) {
- cJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oJ(Object(n)).forEach(function(t) {
+ t % 2 ? hJ(Object(n), !0).forEach(function(t) {
+ ege(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cJ(e, t, n) {
- return (t = lJ(t)) in e ? Object.defineProperty(e, t, {
+function ege(e, t, n) {
+ return (t = tge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lJ(e) {
- var t = uJ(e, "string");
+function tge(e) {
+ var t = nge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uJ(e, t) {
+function nge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53947,11 +54442,11 @@ function uJ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function dJ(e) {
+function rge(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function fJ(e) {
- var t = aJ(), [n, r] = I.useState(() => ({
+function ige(e) {
+ var t = mJ(), [n, r] = I.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -53971,8 +54466,8 @@ function fJ(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(sJ(sJ({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = rJ({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(gJ(gJ({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = $he({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -53985,7 +54480,7 @@ function fJ(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = sJ(sJ({}, e.hasPortalFromProps ? {} : sJ(sJ({ transition: dJ({
+ }), o = gJ(gJ({}, e.hasPortalFromProps ? {} : gJ(gJ({ transition: rge({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -54005,19 +54500,19 @@ function fJ(e) {
ref: e.innerRef
}, e.children);
}
-var pJ = /*#__PURE__*/ I.memo(fJ), mJ = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var age = /*#__PURE__*/ I.memo(ige), _J = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function hJ() {
- return hJ = Object.assign ? Object.assign.bind() : function(e) {
+function vJ() {
+ return vJ = 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;
- }, hJ.apply(null, arguments);
+ }, vJ.apply(null, arguments);
}
-function gJ(e, t) {
+function yJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54027,30 +54522,30 @@ function gJ(e, t) {
}
return n;
}
-function _J(e) {
+function bJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? gJ(Object(n), !0).forEach(function(t) {
- vJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gJ(Object(n)).forEach(function(t) {
+ t % 2 ? yJ(Object(n), !0).forEach(function(t) {
+ oge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vJ(e, t, n) {
- return (t = yJ(t)) in e ? Object.defineProperty(e, t, {
+function oge(e, t, n) {
+ return (t = sge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yJ(e) {
- var t = bJ(e, "string");
+function sge(e) {
+ var t = cge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bJ(e, t) {
+function cge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54061,39 +54556,39 @@ function bJ(e, t) {
return (t === "string" ? String : Number)(e);
}
var xJ = {
- curveBasisClosed: Hpe,
- curveBasisOpen: Upe,
- curveBasis: Vpe,
- curveBumpX: Dpe,
- curveBumpY: Ope,
- curveLinearClosed: Wpe,
- curveLinear: hz,
- curveMonotoneX: Gpe,
- curveMonotoneY: Kpe,
- curveNatural: qpe,
- curveStep: Jpe,
- curveStepAfter: Xpe,
- curveStepBefore: Ype
-}, SJ = (e) => yW(e.x) && yW(e.y), CJ = (e) => e.base != null && SJ(e.base) && SJ(e), wJ = (e) => e.x, TJ = (e) => e.y, Ahe = (e, t) => {
+ curveBasisClosed: pme,
+ curveBasisOpen: mme,
+ curveBasis: fme,
+ curveBumpX: Qpe,
+ curveBumpY: $pe,
+ curveLinearClosed: hme,
+ curveLinear: Cz,
+ curveMonotoneX: gme,
+ curveMonotoneY: _me,
+ curveNatural: vme,
+ curveStep: yme,
+ curveStepAfter: xme,
+ curveStepBefore: bme
+}, SJ = (e) => LW(e.x) && LW(e.y), CJ = (e) => e.base != null && SJ(e.base) && SJ(e), wJ = (e) => e.x, TJ = (e) => e.y, lge = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${dB(e)}`;
+ var n = `curve${yB(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = xJ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return xJ[n] || hz;
+ return xJ[n] || Cz;
}, EJ = {
connectNulls: !1,
type: "linear"
-}, jhe = (e) => {
- var { type: t = EJ.type, points: n = [], baseLine: r, layout: i, connectNulls: a = EJ.connectNulls } = e, o = Ahe(t, i), s = a ? n.filter(SJ) : n;
+}, uge = (e) => {
+ var { type: t = EJ.type, points: n = [], baseLine: r, layout: i, connectNulls: a = EJ.connectNulls } = e, o = lge(t, i), s = a ? n.filter(SJ) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => _J(_J({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? yz().y(TJ).x1(wJ).x0((e) => e.base.x) : yz().x(wJ).y1(TJ).y0((e) => e.base.y), c.defined(CJ).curve(o)(a ? l.filter(CJ) : l);
+ var c, l = n.map((e, t) => bJ(bJ({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? Dz().y(TJ).x1(wJ).x0((e) => e.base.x) : Dz().x(wJ).y1(TJ).y0((e) => e.base.y), c.defined(CJ).curve(o)(a ? l.filter(CJ) : l);
}
- return (i === "vertical" && Z(r) ? yz().y(TJ).x1(wJ).x0(r) : Z(r) ? yz().x(wJ).y1(TJ).y0(r) : vz().x(wJ).y(TJ)).defined(SJ).curve(o)(s);
+ return (i === "vertical" && Z(r) ? Dz().y(TJ).x1(wJ).x0(r) : Z(r) ? Dz().x(wJ).y1(TJ).y0(r) : Ez().x(wJ).y(TJ)).defined(SJ).curve(o)(s);
}, DJ = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = XG();
+ var { className: t, points: n, path: r, pathRef: i } = e, a = mK();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -54101,13 +54596,13 @@ var xJ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? jhe(o) : r;
- return /*#__PURE__*/ I.createElement("path", hJ({}, qR(e), bB(e), {
- className: Xm("recharts-curve", t),
+ }, s = n && n.length ? uge(o) : r;
+ return /*#__PURE__*/ I.createElement("path", vJ({}, tz(e), OB(e), {
+ className: bh("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, Mhe = [
+}, dge = [
"x",
"y",
"top",
@@ -54135,30 +54630,30 @@ function kJ(e, t) {
}
return n;
}
-function Nhe(e) {
+function fge(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? kJ(Object(n), !0).forEach(function(t) {
- Phe(e, t, n[t]);
+ pge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Phe(e, t, n) {
- return (t = Fhe(t)) in e ? Object.defineProperty(e, t, {
+function pge(e, t, n) {
+ return (t = mge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fhe(e) {
- var t = Ihe(e, "string");
+function mge(e) {
+ var t = hge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ihe(e, t) {
+function hge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54168,16 +54663,16 @@ function Ihe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Lhe(e, t) {
+function gge(e, t) {
if (e == null) return {};
- var n, r, i = Rhe(e, t);
+ var n, r, i = _ge(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 Rhe(e, t) {
+function _ge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54186,8 +54681,8 @@ function Rhe(e, t) {
}
return n;
}
-var zhe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, Bhe = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = Lhe(e, Mhe), l = Nhe({
+var vge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yge = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = gge(e, dge), l = fge({
x: t,
y: n,
top: r,
@@ -54195,14 +54690,14 @@ var zhe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, Bhe = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", OJ({}, YR(l), {
- className: Xm("recharts-cross", s),
- d: zhe(t, n, a, o, r, i)
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", OJ({}, rz(l), {
+ className: bh("recharts-cross", s),
+ d: vge(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function Vhe(e, t, n, r) {
+function bge(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -54229,26 +54724,26 @@ function jJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? AJ(Object(n), !0).forEach(function(t) {
- Hhe(e, t, n[t]);
+ xge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Hhe(e, t, n) {
- return (t = Uhe(t)) in e ? Object.defineProperty(e, t, {
+function xge(e, t, n) {
+ return (t = Sge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Uhe(e) {
- var t = Whe(e, "string");
+function Sge(e) {
+ var t = Cge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Whe(e, t) {
+function Cge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54258,7 +54753,7 @@ function Whe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Ghe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), MJ = (e, t, n) => e.map((e) => `${Ghe(e)} ${t}ms ${n}`).join(","), Khe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), NJ = (e, t) => Object.keys(t).reduce((n, r) => jJ(jJ({}, n), {}, { [r]: e(r, t[r]) }), {});
+var wge = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), MJ = (e, t, n) => e.map((e) => `${wge(e)} ${t}ms ${n}`).join(","), Tge = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), NJ = (e, t) => Object.keys(t).reduce((n, r) => jJ(jJ({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
function PJ(e, t) {
@@ -54275,26 +54770,26 @@ function FJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? PJ(Object(n), !0).forEach(function(t) {
- qhe(e, t, n[t]);
+ Ege(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qhe(e, t, n) {
- return (t = Jhe(t)) in e ? Object.defineProperty(e, t, {
+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 Jhe(e) {
- var t = Yhe(e, "string");
+function Dge(e) {
+ var t = Oge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yhe(e, t) {
+function Oge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54323,7 +54818,7 @@ var IJ = (e, t, n) => e + (t - e) * n, LJ = (e) => {
from: IJ(t.from, r[e].from, n)
}) : t, t) : RJ(e, r, n - 1);
};
-function Xhe(e, t, n, r, i, a) {
+function kge(e, t, n, r, i, a) {
var o, s = r.reduce((n, r) => FJ(FJ({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
@@ -54338,7 +54833,7 @@ function Xhe(e, t, n, r, i, a) {
(e = u) == null || e();
});
}
-function Zhe(e, t, n, r, i, a, o) {
+function Age(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 : FJ(FJ({}, n), {}, { [r]: [i, a] });
@@ -54356,15 +54851,15 @@ function Zhe(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var Qhe = (e, t, n, r, i, a) => {
- var o = Khe(e, t);
- return n == null ? () => (i(FJ(FJ({}, e), t)), () => {}) : n.isStepper === !0 ? Xhe(e, t, n, o, i, a) : Zhe(e, t, n, r, o, i, a);
+var jge = (e, t, n, r, i, a) => {
+ var o = Tge(e, t);
+ return n == null ? () => (i(FJ(FJ({}, e), t)), () => {}) : n.isStepper === !0 ? kge(e, t, n, o, i, a) : Age(e, t, n, r, o, i, a);
}, zJ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], BJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), VJ = (e, t) => (n) => BJ(zJ(e, t), n), $he = (e, t) => (n) => BJ([...zJ(e, t).map((e, t) => e * t).slice(1), 0], n), ege = (e) => {
+], BJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), VJ = (e, t) => (n) => BJ(zJ(e, t), n), Mge = (e, t) => (n) => BJ([...zJ(e, t).map((e, t) => e * t).slice(1), 0], n), Nge = (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(",");
@@ -54376,7 +54871,7 @@ var Qhe = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, tge = function() {
+}, Pge = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -54410,7 +54905,7 @@ var Qhe = (e, t, n, r, i, a) => {
1
];
default:
- var t = ege(e[0]);
+ var t = Nge(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -54419,8 +54914,8 @@ var Qhe = (e, t, n, r, i, a) => {
1,
1
];
-}, nge = (e, t, n, r) => {
- var i = VJ(e, n), a = VJ(t, r), o = $he(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, Fge = (e, t, n, r) => {
+ var i = VJ(e, n), a = VJ(t, r), o = Mge(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);
@@ -54430,28 +54925,28 @@ var Qhe = (e, t, n, r, i, a) => {
};
return c.isStepper = !1, c;
}, HJ = function() {
- return nge(...tge(...arguments));
-}, rge = function() {
+ return Fge(...Pge(...arguments));
+}, Ige = 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;
-}, ige = (e) => {
+}, Lge = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return HJ(e);
- case "spring": return rge();
+ case "spring": return Ige();
default: if (e.split("(")[0] === "cubic-bezier") return HJ(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function age(e) {
+function Rge(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -54482,7 +54977,7 @@ function age(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var oge = class {
+var zge = 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));
@@ -54494,14 +54989,14 @@ var oge = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function sge() {
- return age(new oge());
+function Bge() {
+ return Rge(new zge());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var cge = /*#__PURE__*/ (0, I.createContext)(sge);
-function lge(e, t) {
- var n = (0, I.useContext)(cge);
+var Vge = /*#__PURE__*/ (0, I.createContext)(Bge);
+function Hge(e, t) {
+ var n = (0, I.useContext)(Vge);
return (0, I.useMemo)(() => t ?? n(e), [
e,
t,
@@ -54510,7 +55005,7 @@ function lge(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var uge = {
+var Uge = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -54520,12 +55015,12 @@ var uge = {
onAnimationStart: () => {}
}, UJ = { t: 0 }, WJ = { t: 1 };
function GJ(e) {
- var t = CB(e, uge), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = aJ(), d = n === "auto" ? !iJ.isSsr && !u : n, f = lge(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? UJ : WJ), h = (0, I.useRef)(null);
+ var t = jB(e, Uge), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = mJ(), d = n === "auto" ? !pJ.isSsr && !u : n, f = Hge(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? UJ : WJ), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
d || m(WJ);
}, [d]), (0, I.useEffect)(() => {
- if (!d || !r) return pB;
- var e = Qhe(UJ, WJ, ige(a), i, m, f.getTimeoutController());
+ if (!d || !r) return xB;
+ var e = jge(UJ, WJ, Lge(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -54551,12 +55046,12 @@ function GJ(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function KJ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(aB(t)), r = (0, I.useRef)(e);
- return r.current !== e && (n.current = aB(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(pB(t)), r = (0, I.useRef)(e);
+ return r.current !== e && (n.current = pB(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var dge = ["radius"], fge = ["radius"], pge, mge, hge, gge, _ge, vge, yge, bge, xge, Sge;
+var Wge = ["radius"], Gge = ["radius"], Kge, qge, Jge, Yge, Xge, Zge, Qge, $ge, e_e, t_e;
function qJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -54571,26 +55066,26 @@ function JJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? qJ(Object(n), !0).forEach(function(t) {
- Cge(e, t, n[t]);
+ n_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cge(e, t, n) {
- return (t = wge(t)) in e ? Object.defineProperty(e, t, {
+function n_e(e, t, n) {
+ return (t = r_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wge(e) {
- var t = Tge(e, "string");
+function r_e(e) {
+ var t = i_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tge(e, t) {
+function i_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54611,14 +55106,14 @@ function YJ() {
}
function XJ(e, t) {
if (e == null) return {};
- var n, r, i = Ege(e, t);
+ var n, r, i = a_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 Ege(e, t) {
+function a_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54631,7 +55126,7 @@ function ZJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var QJ = (e, t, n, r, i) => {
- var a = $z(n), o = $z(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = sB(n), o = sB(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,
@@ -54642,44 +55137,44 @@ var QJ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = eB(pge ||= ZJ([
+ d = cB(Kge ||= ZJ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += eB(mge ||= ZJ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += cB(qge ||= ZJ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += eB(hge ||= ZJ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += cB(Jge ||= ZJ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += eB(gge ||= ZJ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += cB(Yge ||= ZJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += eB(_ge ||= ZJ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += cB(Xge ||= ZJ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += eB(vge ||= ZJ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += cB(Zge ||= ZJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += eB(yge ||= ZJ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += cB(Qge ||= ZJ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += eB(bge ||= ZJ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += cB($ge ||= ZJ([
"A ",
",",
",0,0,",
@@ -54689,8 +55184,8 @@ var QJ = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = eB(xge ||= ZJ(/* @__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 = eB(Sge ||= ZJ([
+ d = cB(e_e ||= ZJ(/* @__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 = cB(t_e ||= ZJ([
"M ",
",",
" h ",
@@ -54711,7 +55206,7 @@ var QJ = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, eY = (e) => {
- var t = CB(e, $J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
+ var t = jB(e, $J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
(0, I.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
@@ -54732,14 +55227,14 @@ var QJ = (e, t, n, r, i) => {
l
]), "rectangle-");
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
- var x = Xm("recharts-rectangle", u);
+ var x = bh("recharts-rectangle", u);
if (!h) {
- var S = YR(t), { radius: C } = S, w = XJ(S, dge);
+ var S = rz(t), { radius: C } = S, w = XJ(S, Wge);
return /*#__PURE__*/ I.createElement("path", YJ({}, w, {
- x: $z(a),
- y: $z(o),
- width: $z(s),
- height: $z(c),
+ x: sB(a),
+ y: sB(o),
+ width: sB(s),
+ height: sB(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: QJ(a, o, s, c, l)
@@ -54755,12 +55250,12 @@ var QJ = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = cB(T, s, e), i = cB(E, c, e), u = cB(D, a, e), d = cB(O, o, e);
+ var r = gB(T, s, e), i = gB(E, c, e), u = gB(D, a, e), d = gB(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = YR(t), { radius: h } = p, b = XJ(p, fge);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = rz(t), { radius: h } = p, b = XJ(p, Gge);
return /*#__PURE__*/ I.createElement("path", YJ({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -54786,26 +55281,26 @@ function nY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? tY(Object(n), !0).forEach(function(t) {
- Dge(e, t, n[t]);
+ o_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Dge(e, t, n) {
- return (t = Oge(t)) in e ? Object.defineProperty(e, t, {
+function o_e(e, t, n) {
+ return (t = s_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Oge(e) {
- var t = kge(e, "string");
+function s_e(e) {
+ var t = c_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kge(e, t) {
+function c_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54815,10 +55310,10 @@ function kge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, Age = (e) => e * 180 / Math.PI, aY = (e, t, n, r) => ({
+var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Math.PI, aY = (e, t, n, r) => ({
x: e + Math.cos(-rY * r) * n,
y: t + Math.sin(-rY * r) * n
-}), jge = function(e, t) {
+}), u_e = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -54829,11 +55324,11 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, Age = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, Mge = (e, t) => {
+}, d_e = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, Nge = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = Mge({
+}, f_e = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = d_e({
x: n,
y: r
}, {
@@ -54847,25 +55342,25 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, Age = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: Age(c),
+ angle: l_e(c),
angleInRadian: c
};
-}, Pge = (e) => {
+}, p_e = (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
};
-}, Fge = (e, t) => {
+}, m_e = (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;
-}, Ige = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = Nge({
+}, h_e = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = f_e({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = Pge(t), u = a, d;
+ var { startAngle: c, endAngle: l } = p_e(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -54877,7 +55372,7 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, Age = (e) => e * 180 / Ma
}
return d ? nY(nY({}, t), {}, {
radius: i,
- angle: Fge(u, t)
+ angle: m_e(u, t)
}) : null;
};
//#endregion
@@ -54895,7 +55390,7 @@ function oY(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var Lge, Rge, zge, Bge, Vge, Hge, Uge;
+var g_e, __e, v_e, y_e, b_e, x_e, S_e;
function sY() {
return sY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -54908,7 +55403,7 @@ function sY() {
function cY(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) => {
+var C_e = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (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) / rY, d = c ? i : i + a * u, f = aY(t, n, l, d), p = aY(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -54917,7 +55412,7 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
theta: u
};
}, uY = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = Wge(a, o), c = a + s, l = aY(t, n, i, a), u = aY(t, n, i, c), d = eB(Lge ||= cY([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = C_e(a, o), c = a + s, l = aY(t, n, i, a), u = aY(t, n, i, c), d = cB(g_e ||= cY([
"M ",
",",
"\n A ",
@@ -54930,7 +55425,7 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = aY(t, n, r, a), p = aY(t, n, r, c);
- d += eB(Rge ||= cY([
+ d += cB(__e ||= cY([
"L ",
",",
"\n A ",
@@ -54941,14 +55436,14 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += eB(zge ||= cY([
+ } else d += cB(v_e ||= cY([
"L ",
",",
" Z"
]), t, n);
return d;
-}, Gge = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = tB(l - c), { circleTangency: d, lineTangency: f, theta: p } = lY({
+}, w_e = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = lB(l - c), { circleTangency: d, lineTangency: f, theta: p } = lY({
cx: t,
cy: n,
radius: i,
@@ -54965,7 +55460,7 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? eB(Bge ||= cY([
+ if (_ < 0) return o ? cB(y_e ||= cY([
"M ",
",",
"\n a",
@@ -54983,7 +55478,7 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
startAngle: c,
endAngle: l
});
- var v = eB(Vge ||= cY([
+ var v = cB(b_e ||= cY([
"M ",
",",
"\n A",
@@ -55025,7 +55520,7 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += eB(Hge ||= cY([
+ v += cB(x_e ||= cY([
"L",
",",
"\n A",
@@ -55046,13 +55541,13 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += eB(Uge ||= cY([
+ } else v += cB(S_e ||= cY([
"L",
",",
"Z"
]), t, n);
return v;
-}, Kge = {
+}, T_e = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -55063,9 +55558,9 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, dY = (e) => {
- var t = CB(e, Kge), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = jB(e, T_e), { 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 = Xm("recharts-sector", d), p = a - i, m = oB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? Gge({
+ var f = bh("recharts-sector", d), p = a - i, m = mB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? w_e({
cx: n,
cy: r,
innerRadius: i,
@@ -55083,14 +55578,14 @@ var Wge = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ I.createElement("path", sY({}, YR(t), {
+ return /*#__PURE__*/ I.createElement("path", sY({}, rz(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function qge(e, t, n) {
+function E_e(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -55105,7 +55600,7 @@ function qge(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (yB(t)) {
+ if (DB(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = aY(r, i, a, s), l = aY(r, i, o, s);
return [{
@@ -55121,18 +55616,18 @@ function qge(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function Jge(e) {
- return Yz(e) ? NaN : Number(e);
+function D_e(e) {
+ return rB(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function fY(e) {
- return e ? (e = Jge(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = D_e(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 pY(e, t, n) {
- n && typeof n != "number" && aV(e, t, n) && (t = n = void 0), e = fY(e), t === void 0 ? (t = e, e = 0) : t = fY(t), n = n === void 0 ? e < t ? 1 : -1 : fY(n);
+ n && typeof n != "number" && CV(e, t, n) && (t = n = void 0), e = fY(e), t === void 0 ? (t = e, e = 0) : t = fY(t), n = n === void 0 ? e < t ? 1 : -1 : fY(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;
@@ -55153,7 +55648,7 @@ var mY = (e) => e.chartData, hY = $([mY], (e) => {
function vY(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (yW(t) && yW(n)) return !0;
+ if (LW(t) && LW(n)) return !0;
}
return !1;
}
@@ -55163,15 +55658,15 @@ function yY(e, t, n) {
function bY(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (yW(n)) i = n;
+ if (LW(n)) i = n;
else if (typeof n == "function") return;
- if (yW(r)) a = r;
+ if (LW(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
if (vY(o)) return o;
}
}
-function Yge(e, t, n) {
+function O_e(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -55184,8 +55679,8 @@ function Yge(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && VW.test(i)) {
- var c = VW.exec(i);
+ else if (typeof i == "string" && aG.test(i)) {
+ var c = aG.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -55197,8 +55692,8 @@ function Yge(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && HW.test(a)) {
- var u = HW.exec(a);
+ else if (typeof a == "string" && oG.test(a)) {
+ var u = oG.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -55618,7 +56113,7 @@ var wY = (e) => {
}
var u = r[c] ?? 1, d = new xY.default(u).mul(o);
return t ? d : new xY.default(Math.ceil(d.toNumber()));
-}, Xge = (e, t, n) => {
+}, k_e = (e, t, n) => {
var r = new xY.default(1), i = new xY.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -55647,7 +56142,7 @@ var wY = (e) => {
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 Xge(s, r, i);
+ if (s === c) return k_e(s, r, i);
var { step: u, tickMin: d, tickMax: f } = DY(s, c, o, i, 0, a === "snap125" ? EY : TY), p = CY(d, f.add(new xY.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
}, kY = function(e, t) {
@@ -55656,7 +56151,7 @@ var wY = (e) => {
if (o === s) return [o];
var c = a === "snap125" ? EY : TY, l = Math.max(t, 2), u = c(new xY.default(s).sub(o).div(l - 1), i, 0), d = [...CY(new xY.default(o), new xY.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, AY = (e) => e.rootProps.maxBarSize, jY = (e) => e.rootProps.barGap, MY = (e) => e.rootProps.barCategoryGap, NY = (e) => e.rootProps.barSize, PY = (e) => e.rootProps.stackOffset, FY = (e) => e.rootProps.reverseStackOrder, IY = (e) => e.options.chartName, LY = (e) => e.rootProps.syncId, RY = (e) => e.rootProps.syncMethod, zY = (e) => e.options.eventEmitter, Zge = (e) => e.rootProps.baseValue, BY = {
+}, AY = (e) => e.rootProps.maxBarSize, jY = (e) => e.rootProps.barGap, MY = (e) => e.rootProps.barCategoryGap, NY = (e) => e.rootProps.barSize, PY = (e) => e.rootProps.stackOffset, FY = (e) => e.rootProps.reverseStackOrder, IY = (e) => e.options.chartName, LY = (e) => e.rootProps.syncId, RY = (e) => e.rootProps.syncMethod, zY = (e) => e.options.eventEmitter, A_e = (e) => e.rootProps.baseValue, BY = {
grid: -100,
barBackground: -50,
area: 100,
@@ -55718,7 +56213,7 @@ var wY = (e) => {
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
function WY(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return OW(e, t) ? "category" : "number";
+ if (e != null) return KW(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
@@ -55736,26 +56231,26 @@ function KY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? GY(Object(n), !0).forEach(function(t) {
- Qge(e, t, n[t]);
+ j_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qge(e, t, n) {
- return (t = $ge(t)) in e ? Object.defineProperty(e, t, {
+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 $ge(e) {
- var t = e_e(e, "string");
+function M_e(e) {
+ var t = N_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function e_e(e, t) {
+function N_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55801,45 +56296,45 @@ var qY = {
niceTicks: "auto"
}, YY = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, QG], (e, t) => {
+}, gK], (e, t) => {
if (e != null) return e;
var n = WY(t, "angleAxis", qY.type) ?? "category";
return KY(KY({}, qY), {}, { type: n });
-}), XY = $([(e, t) => e.polarAxis.radiusAxis[t], QG], (e, t) => {
+}), XY = $([(e, t) => e.polarAxis.radiusAxis[t], gK], (e, t) => {
if (e != null) return e;
var n = WY(t, "radiusAxis", JY.type) ?? "category";
return KY(KY({}, JY), {}, { type: n });
}), ZY = (e) => e.polarOptions, QY = $([
- JW,
- YW,
- dG
-], jge), $Y = $([ZY, QY], (e, t) => {
- if (e != null) return oB(e.innerRadius, t, 0);
+ fG,
+ pG,
+ kG
+], u_e), $Y = $([ZY, QY], (e, t) => {
+ if (e != null) return mB(e.innerRadius, t, 0);
}), eX = $([ZY, QY], (e, t) => {
- if (e != null) return oB(e.outerRadius, t, t * .8);
+ if (e != null) return mB(e.outerRadius, t, t * .8);
}), tX = $([ZY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), t_e = $([YY, tX], UY), nX = $([
+}), P_e = $([YY, tX], UY), nX = $([
QY,
$Y,
eX
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), n_e = $([XY, nX], UY), rX = $([
- YG,
+}), F_e = $([XY, nX], UY), rX = $([
+ pK,
ZY,
$Y,
eX,
- JW,
- YW
+ fG,
+ pG
], (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: oB(o, i, i / 2),
- cy: oB(s, a, a / 2),
+ cx: mB(o, i, i / 2),
+ cy: mB(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -55862,7 +56357,7 @@ function sX(e, t, n) {
if (t != null && t.length !== 0) {
var n = oX(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(EW(t, a, null)), c = EW(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(WW(t, a, null)), c = WW(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -55881,7 +56376,7 @@ var lX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function uX(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function r_e(e, t) {
+function I_e(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -55891,7 +56386,7 @@ function r_e(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
var dX = (e) => {
- var t = YG(e);
+ var t = pK(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
}, fX = (e) => e.tooltip.settings.axisId;
//#endregion
@@ -55943,7 +56438,7 @@ var mX = (e, t) => {
if (!vY(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- yW(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ LW(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;
}
@@ -55960,7 +56455,7 @@ function hX(e, t) {
//#region node_modules/d3-array/src/bisector.js
function gX(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = i_e(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = L_e(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -55986,7 +56481,7 @@ function gX(e) {
right: i
};
}
-function i_e(e) {
+function L_e(e) {
return (t, n) => hX(e(t), n);
}
//#endregion
@@ -55994,7 +56489,7 @@ function i_e(e) {
function _X(e) {
return e === null ? NaN : +e;
}
-function* a_e(e, t) {
+function* R_e(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -56008,7 +56503,7 @@ vX.left, gX(_X).center;
//#endregion
//#region node_modules/internmap/src/index.js
var bX = class extends Map {
- constructor(e, t = c_e) {
+ constructor(e, t = V_e) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -56021,25 +56516,25 @@ var bX = class extends Map {
return super.has(xX(this, e));
}
set(e, t) {
- return super.set(o_e(this, e), t);
+ return super.set(z_e(this, e), t);
}
delete(e) {
- return super.delete(s_e(this, e));
+ return super.delete(B_e(this, e));
}
};
function xX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function o_e({ _intern: e, _key: t }, n) {
+function z_e({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function s_e({ _intern: e, _key: t }, n) {
+function B_e({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function c_e(e) {
+function V_e(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -56112,15 +56607,15 @@ function jX(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function l_e(e, t, n) {
- if (e = Float64Array.from(a_e(e, n)), r = e.length) {
+function H_e(e, t, n) {
+ if (e = Float64Array.from(R_e(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return kX(e);
if (t >= 1) return OX(e);
var r, i = (r - 1) * t, a = Math.floor(i), o = OX(AX(e, a).subarray(0, a + 1));
return o + (kX(e.subarray(a + 1)) - o) * (i - a);
}
}
-function u_e(e, t, n = _X) {
+function U_e(e, t, n = _X) {
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);
@@ -56130,7 +56625,7 @@ function u_e(e, t, n = _X) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function d_e(e, t, n) {
+function W_e(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;
@@ -56202,7 +56697,7 @@ function LX() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = d_e(e).map(function(e) {
+ var m = W_e(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -56237,7 +56732,7 @@ function RX(e) {
return RX(t());
}, e;
}
-function f_e() {
+function G_e() {
return RX(LX.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -56253,7 +56748,7 @@ function BX(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function VX() {}
-var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", p_e = /^#([0-9a-f]{3,8})$/, m_e = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), h_e = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), g_e = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), __e = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), v_e = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), y_e = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
+var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", K_e = /^#([0-9a-f]{3,8})$/, q_e = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), J_e = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Y_e = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), X_e = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Z_e = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Q_e = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -56412,18 +56907,18 @@ zX(VX, XX, {
},
hex: JX,
formatHex: JX,
- formatHex8: b_e,
- formatHsl: x_e,
+ formatHex8: $_e,
+ formatHsl: eve,
formatRgb: YX,
toString: YX
});
function JX() {
return this.rgb().formatHex();
}
-function b_e() {
+function $_e() {
return this.rgb().formatHex8();
}
-function x_e() {
+function eve() {
return sZ(this).formatHsl();
}
function YX() {
@@ -56431,7 +56926,7 @@ function YX() {
}
function XX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = p_e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = m_e.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = h_e.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = g_e.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = __e.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = v_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = y_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = K_e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = q_e.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = J_e.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Y_e.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = X_e.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Z_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Q_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
}
function ZX(e) {
return new eZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -56439,11 +56934,11 @@ function ZX(e) {
function QX(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new eZ(e, t, n, r);
}
-function S_e(e) {
+function tve(e) {
return e instanceof VX || (e = XX(e)), e ? (e = e.rgb(), new eZ(e.r, e.g, e.b, e.opacity)) : new eZ();
}
function $X(e, t, n, r) {
- return arguments.length === 1 ? S_e(e) : new eZ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? tve(e) : new eZ(e, t, n, r ?? 1);
}
function eZ(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -56466,14 +56961,14 @@ zX(eZ, $X, BX(VX, {
},
hex: tZ,
formatHex: tZ,
- formatHex8: C_e,
+ formatHex8: nve,
formatRgb: nZ,
toString: nZ
}));
function tZ() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}`;
}
-function C_e() {
+function nve() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}${aZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function nZ() {
@@ -56500,13 +56995,13 @@ function sZ(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new cZ(o, s, c, e.opacity);
}
-function w_e(e, t, n, r) {
+function rve(e, t, n, r) {
return arguments.length === 1 ? sZ(e) : new cZ(e, t, n, r ?? 1);
}
function cZ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-zX(cZ, w_e, BX(VX, {
+zX(cZ, rve, BX(VX, {
brighter(e) {
return e = e == null ? UX : UX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
@@ -56542,29 +57037,29 @@ function dZ(e, t, n) {
var fZ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function T_e(e, t) {
+function ive(e, t) {
return function(n) {
return e + n * t;
};
}
-function E_e(e, t, n) {
+function ave(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function D_e(e) {
+function ove(e) {
return (e = +e) == 1 ? pZ : function(t, n) {
- return n - t ? E_e(t, n, e) : fZ(isNaN(t) ? n : t);
+ return n - t ? ave(t, n, e) : fZ(isNaN(t) ? n : t);
};
}
function pZ(e, t) {
var n = t - e;
- return n ? T_e(e, n) : fZ(isNaN(e) ? t : e);
+ return n ? ive(e, n) : fZ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var mZ = (function e(t) {
- var n = D_e(t);
+ var n = ove(t);
function r(e, t) {
var r = n((e = $X(e)).r, (t = $X(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = pZ(e.opacity, t.opacity);
return function(t) {
@@ -56575,7 +57070,7 @@ var mZ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function O_e(e, t) {
+function sve(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -56583,12 +57078,12 @@ function O_e(e, t) {
return r;
};
}
-function k_e(e) {
+function cve(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function A_e(e, t) {
+function lve(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = vZ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -56599,7 +57094,7 @@ function A_e(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function j_e(e, t) {
+function uve(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -56614,7 +57109,7 @@ function hZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function M_e(e, t) {
+function dve(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = vZ(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -56625,23 +57120,23 @@ function M_e(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var gZ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, _Z = new RegExp(gZ.source, "g");
-function N_e(e) {
+function fve(e) {
return function() {
return e;
};
}
-function P_e(e) {
+function pve(e) {
return function(t) {
return e(t) + "";
};
}
-function F_e(e, t) {
+function mve(e, t) {
var n = gZ.lastIndex = _Z.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = gZ.exec(e)) && (i = _Z.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: hZ(r, i)
})), n = _Z.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? P_e(c[0].x) : N_e(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? pve(c[0].x) : fve(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("");
});
@@ -56650,7 +57145,7 @@ function F_e(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function vZ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : F_e : t instanceof XX ? mZ : t instanceof Date ? j_e : k_e(t) ? O_e : Array.isArray(t) ? A_e : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? M_e : hZ)(e, t);
+ return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : mve : t instanceof XX ? mZ : t instanceof Date ? uve : cve(t) ? sve : Array.isArray(t) ? lve : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? dve : hZ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -56661,7 +57156,7 @@ function yZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function I_e(e, t) {
+function hve(e, t) {
t === void 0 && (t = e, e = vZ);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -56671,7 +57166,7 @@ function I_e(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function L_e(e) {
+function gve(e) {
return function() {
return e;
};
@@ -56690,21 +57185,21 @@ function SZ(e) {
function CZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : L_e(isNaN(t) ? NaN : .5);
+ } : gve(isNaN(t) ? NaN : .5);
}
-function R_e(e, t) {
+function _ve(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function z_e(e, t, n) {
+function vve(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = CZ(i, r), a = n(o, a)) : (r = CZ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function B_e(e, t, n) {
+function yve(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = CZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -56719,7 +57214,7 @@ function TZ() {
var e = xZ, t = xZ, n = vZ, r, i, a, o = SZ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== SZ && (o = R_e(e[0], e[n - 1])), s = n > 2 ? B_e : z_e, c = l = null, d;
+ return o !== SZ && (o = _ve(e[0], e[n - 1])), s = n > 2 ? yve : vve, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -56747,7 +57242,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function V_e(e) {
+function bve(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -56762,7 +57257,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function H_e(e, t) {
+function xve(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);
@@ -56770,7 +57265,7 @@ function H_e(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function U_e(e) {
+function Sve(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -56779,9 +57274,9 @@ function U_e(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var W_e = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var Cve = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = W_e.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = Cve.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -56805,7 +57300,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function G_e(e) {
+function wve(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -56822,7 +57317,7 @@ function G_e(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function K_e(e, t) {
+function Tve(e, t) {
var n = DZ(e, t);
if (!n) return jZ = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (jZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -56842,14 +57337,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: V_e,
+ d: bve,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
p: (e, t) => MZ(e * 100, t),
r: MZ,
- s: K_e,
+ s: Tve,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -56879,8 +57374,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function q_e(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : H_e(FZ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? PZ : U_e(FZ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function Eve(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : xve(FZ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? PZ : Sve(FZ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
e = kZ(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
@@ -56893,7 +57388,7 @@ function q_e(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = G_e(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = wve(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -56934,27 +57429,27 @@ function q_e(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-J_e({
+Dve({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function J_e(e) {
- return LZ = q_e(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function Dve(e) {
+ return LZ = Eve(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function Y_e(e) {
+function Ove(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function X_e(e, t) {
+function kve(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(OZ(t) / 3))) * 3 - OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function Z_e(e, t) {
+function Ave(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
@@ -56964,16 +57459,16 @@ function BZ(e, t, n, r) {
switch (r = kZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = X_e(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = kve(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = Z_e(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = Ave(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = Y_e(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = Ove(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -57036,19 +57531,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function Q_e(e) {
+function jve(e) {
return -Math.log(-e);
}
-function $_e(e) {
+function Mve(e) {
return -Math.exp(-e);
}
-function eve(e) {
+function Nve(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function tve(e) {
- return e === 10 ? eve : e === Math.E ? Math.exp : (t) => e ** +t;
+function Pve(e) {
+ return e === 10 ? Nve : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function nve(e) {
+function Fve(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
function qZ(e) {
@@ -57057,7 +57552,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = nve(r), a = tve(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(Q_e, $_e)) : e(GZ, KZ), t;
+ return i = Fve(r), a = Pve(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(jve, Mve)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -57127,16 +57622,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function rve(e) {
+function Ive(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function ive(e) {
+function Lve(e) {
return e < 0 ? -e * e : e * e;
}
function tQ(e) {
var t = e(SZ, SZ), n = 1;
function r() {
- return n === 1 ? e(SZ, SZ) : n === .5 ? e(rve, ive) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(Ive, Lve) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -57148,7 +57643,7 @@ function nQ() {
return wZ(e, nQ()).exponent(e.exponent());
}, NX.apply(e, arguments), e;
}
-function ave() {
+function Rve() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -57156,13 +57651,13 @@ function ave() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function ove(e) {
+function zve(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function iQ() {
var e = EZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = ove(e(t));
+ var i = zve(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -57189,7 +57684,7 @@ function aQ() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = u_e(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = U_e(e, r / i);
return a;
}
function a(e) {
@@ -57358,8 +57853,8 @@ function DQ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * pQ) / gQ);
}
-var OQ = DQ(0), kQ = DQ(1), sve = DQ(2), cve = DQ(3), AQ = DQ(4), lve = DQ(5), uve = DQ(6);
-OQ.range, kQ.range, sve.range, cve.range, AQ.range, lve.range, uve.range;
+var OQ = DQ(0), kQ = DQ(1), Bve = DQ(2), Vve = DQ(3), AQ = DQ(4), Hve = DQ(5), Uve = DQ(6);
+OQ.range, kQ.range, Bve.range, Vve.range, AQ.range, Hve.range, Uve.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -57367,8 +57862,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), dve = jQ(2), fve = jQ(3), PQ = jQ(4), pve = jQ(5), mve = jQ(6);
-MQ.range, NQ.range, dve.range, fve.range, PQ.range, pve.range, mve.range;
+var MQ = jQ(0), NQ = jQ(1), Wve = jQ(2), Gve = jQ(3), PQ = jQ(4), Kve = jQ(5), qve = jQ(6);
+MQ.range, NQ.range, Wve.range, Gve.range, PQ.range, Kve.range, qve.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -57515,7 +58010,7 @@ function zQ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [hve, gve] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [_ve, vve] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Jve, Yve] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Xve, Zve] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -57543,7 +58038,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function yve(e) {
+function Qve(e) {
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = KQ(i), u = qQ(i), d = KQ(a), f = qQ(a), p = KQ(o), m = qQ(o), h = KQ(s), g = qQ(s), _ = KQ(c), v = qQ(c), y = {
a: N,
A: ee,
@@ -57552,30 +58047,30 @@ function yve(e) {
c: null,
d: QQ,
e: QQ,
- f: Hve,
- g: Qve,
- G: eye,
- H: zve,
- I: Bve,
- j: Vve,
+ f: xye,
+ g: jye,
+ G: Nye,
+ H: vye,
+ I: yye,
+ j: bye,
L: $Q,
- m: Uve,
- M: Wve,
+ m: Sye,
+ M: Cye,
p: ne,
q: F,
Q: a$,
s: o$,
- S: Gve,
- u: Kve,
- U: qve,
- V: Jve,
- w: Yve,
- W: Xve,
+ S: wye,
+ u: Tye,
+ U: Eye,
+ V: Dye,
+ w: Oye,
+ W: kye,
x: null,
X: null,
- y: Zve,
- Y: $ve,
- Z: tye,
+ y: Aye,
+ Y: Mye,
+ Z: Pye,
"%": i$
}, b = {
a: re,
@@ -57585,30 +58080,30 @@ function yve(e) {
c: null,
d: t$,
e: t$,
- f: aye,
- g: hye,
- G: _ye,
- H: nye,
- I: rye,
- j: iye,
+ f: Rye,
+ g: Jye,
+ G: Xye,
+ H: Fye,
+ I: Iye,
+ j: Lye,
L: n$,
- m: oye,
- M: sye,
+ m: zye,
+ M: Bye,
p: se,
q: ce,
Q: a$,
s: o$,
- S: cye,
- u: lye,
- U: uye,
- V: dye,
- w: fye,
- W: pye,
+ S: Vye,
+ u: Hye,
+ U: Uye,
+ V: Wye,
+ w: Gye,
+ W: Kye,
x: null,
X: null,
- y: mye,
- Y: gye,
- Z: vye,
+ y: qye,
+ Y: Yye,
+ Z: Zye,
"%": i$
}, x = {
a: E,
@@ -57618,31 +58113,31 @@ function yve(e) {
c: A,
d: XQ,
e: XQ,
- f: Fve,
+ f: mye,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: jve,
- L: Pve,
- m: Ave,
- M: Mve,
+ j: uye,
+ L: pye,
+ m: lye,
+ M: dye,
p: T,
- q: kve,
- Q: Lve,
- s: Rve,
- S: Nve,
- u: wve,
- U: Tve,
- V: Eve,
- w: Cve,
- W: Dve,
+ q: cye,
+ Q: gye,
+ s: _ye,
+ S: fye,
+ u: rye,
+ U: iye,
+ V: aye,
+ w: nye,
+ W: oye,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: Ove,
- "%": Ive
+ Z: sye,
+ "%": hye
};
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) {
@@ -57770,37 +58265,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, bve = /^%/, xve = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, $ve = /^%/, eye = /[\\^$*+?|[\]().{}]/g;
function GQ(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function Sve(e) {
- return e.replace(xve, "\\$&");
+function tye(e) {
+ return e.replace(eye, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(Sve).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(tye).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function Cve(e, t, n) {
+function nye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function wve(e, t, n) {
+function rye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function Tve(e, t, n) {
+function iye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function Eve(e, t, n) {
+function aye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Dve(e, t, n) {
+function oye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -57812,15 +58307,15 @@ function YQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function Ove(e, t, n) {
+function sye(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 kve(e, t, n) {
+function cye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function Ave(e, t, n) {
+function lye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -57828,7 +58323,7 @@ function XQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function jve(e, t, n) {
+function uye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -57836,159 +58331,159 @@ function ZQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function Mve(e, t, n) {
+function dye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function Nve(e, t, n) {
+function fye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function Pve(e, t, n) {
+function pye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function Fve(e, t, n) {
+function mye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function Ive(e, t, n) {
- var r = bve.exec(t.slice(n, n + 1));
+function hye(e, t, n) {
+ var r = $ve.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function Lve(e, t, n) {
+function gye(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function Rve(e, t, n) {
+function _ye(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function QQ(e, t) {
return GQ(e.getDate(), t, 2);
}
-function zve(e, t) {
+function vye(e, t) {
return GQ(e.getHours(), t, 2);
}
-function Bve(e, t) {
+function yye(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function Vve(e, t) {
+function bye(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function Hve(e, t) {
+function xye(e, t) {
return $Q(e, t) + "000";
}
-function Uve(e, t) {
+function Sye(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Wve(e, t) {
+function Cye(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function Gve(e, t) {
+function wye(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function Kve(e) {
+function Tye(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function qve(e, t) {
+function Eye(e, t) {
return GQ(OQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? AQ(e) : AQ.ceil(e);
}
-function Jve(e, t) {
+function Dye(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function Yve(e) {
+function Oye(e) {
return e.getDay();
}
-function Xve(e, t) {
+function kye(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function Zve(e, t) {
+function Aye(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function Qve(e, t) {
+function jye(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function $ve(e, t) {
+function Mye(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function eye(e, t) {
+function Nye(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function tye(e) {
+function Pye(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
function t$(e, t) {
return GQ(e.getUTCDate(), t, 2);
}
-function nye(e, t) {
+function Fye(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function rye(e, t) {
+function Iye(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function iye(e, t) {
+function Lye(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function aye(e, t) {
+function Rye(e, t) {
return n$(e, t) + "000";
}
-function oye(e, t) {
+function zye(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function sye(e, t) {
+function Bye(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function cye(e, t) {
+function Vye(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function lye(e) {
+function Hye(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function uye(e, t) {
+function Uye(e, t) {
return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
function r$(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function dye(e, t) {
+function Wye(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function fye(e) {
+function Gye(e) {
return e.getUTCDay();
}
-function pye(e, t) {
+function Kye(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function mye(e, t) {
+function qye(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function hye(e, t) {
+function Jye(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function gye(e, t) {
+function Yye(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function _ye(e, t) {
+function Xye(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function vye() {
+function Zye() {
return "+0000";
}
function i$() {
@@ -58003,7 +58498,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-yye({
+Qye({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -58055,15 +58550,15 @@ yye({
"Dec"
]
});
-function yye(e) {
- return s$ = yve(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function Qye(e) {
+ return s$ = Qve(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function bye(e) {
+function $ye(e) {
return new Date(e);
}
-function xye(e) {
+function ebe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -58074,7 +58569,7 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, xye)) : f().map(bye);
+ return arguments.length ? f(Array.from(e, ebe)) : f().map($ye);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -58087,13 +58582,13 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return wZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function Sye() {
- return NX.apply(u$(_ve, vve, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function tbe() {
+ return NX.apply(u$(Xve, Zve, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function Cye() {
- return NX.apply(u$(hve, gve, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function nbe() {
+ return NX.apply(u$(Jve, Yve, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -58148,7 +58643,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function wye() {
+function rbe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58168,7 +58663,7 @@ function _$() {
}, 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) => l_e(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => H_e(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
}, PX.apply(n, arguments);
@@ -58194,7 +58689,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = I_e(e, [
+ return arguments.length ? ([n, r, i] = t, l = hve(e, [
n,
r,
i
@@ -58239,7 +58734,7 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function Tye() {
+function ibe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58249,14 +58744,14 @@ var C$ = /* @__PURE__ */ re({
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => Tye,
+ scaleDivergingSqrt: () => ibe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
scaleImplicit: () => FX,
scaleLinear: () => HZ,
scaleLog: () => YZ,
scaleOrdinal: () => IX,
- scalePoint: () => f_e,
+ scalePoint: () => G_e,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -58265,26 +58760,26 @@ var C$ = /* @__PURE__ */ re({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => wye,
+ scaleSequentialSqrt: () => rbe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => ave,
+ scaleSqrt: () => Rve,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => Sye,
- scaleUtc: () => Cye,
+ scaleTime: () => tbe,
+ scaleUtc: () => nbe,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function Eye(e) {
+function abe(e) {
if (e in C$) return C$[e]();
- var t = `scale${dB(e)}`;
+ var t = `scale${yB(e)}`;
if (t in C$) return C$[t]();
}
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = Eye(e);
+ var r = abe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -58293,22 +58788,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Dye(e) {
- return `scale${dB(e)}`;
+function obe(e) {
+ return `scale${yB(e)}`;
}
-function Oye(e) {
- return Dye(e) in C$;
+function sbe(e) {
+ return obe(e) in C$;
}
var E$ = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return Oye(r) ? r : "point";
+ if (typeof r == "string") return sbe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function kye(e, t) {
+function cbe(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;
@@ -58319,7 +58814,7 @@ function D$(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = kye(r, e);
+ var t = cbe(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;
@@ -58329,7 +58824,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Aye(e) {
+function lbe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -58348,26 +58843,26 @@ function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? O$(Object(n), !0).forEach(function(t) {
- jye(e, t, n[t]);
+ ube(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jye(e, t, n) {
- return (t = Mye(t)) in e ? Object.defineProperty(e, t, {
+function ube(e, t, n) {
+ return (t = dbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Mye(e) {
- var t = Nye(e, "string");
+function dbe(e) {
+ var t = fbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Nye(e, t) {
+function fbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58435,7 +58930,7 @@ var A$ = [0, "auto"], j$ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Pye = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, pbe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -58448,7 +58943,7 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Pye, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? pbe, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -58457,7 +58952,7 @@ var A$ = [0, "auto"], j$ = {
case "radiusAxis": return XY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Fye = (e, t, n) => {
+}, mbe = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -58484,22 +58979,22 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, Iye = $([iX, aX], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, hbe = $([iX, aX], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- Iye
-], U$, { memoizeOptions: { resultEqualityCheck: uX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(cX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Lye = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Rye = $([W$], q$, { memoizeOptions: { resultEqualityCheck: uX } }), J$ = (e, t) => {
+ hbe
+], U$, { memoizeOptions: { resultEqualityCheck: uX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(cX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), gbe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), _be = $([W$], q$, { memoizeOptions: { resultEqualityCheck: uX } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([Rye, gY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: EW(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: EW(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([_be, gY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: WW(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: WW(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (iB(e) || e instanceof Date) {
+ if (fB(e) || e instanceof Date) {
var t = Number(e);
- if (yW(t)) return t;
+ if (LW(t)) return t;
}
}
function $$(e) {
@@ -58511,13 +59006,13 @@ function $$(e) {
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(fB);
+ return e.map(Q$).filter(bB);
}
-function zye(e, t) {
+function vbe(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Bye = $([Z$], (e) => e?.map((e) => e.value).sort(zye));
+var ybe = $([Z$], (e) => e?.map((e) => e.value).sort(vbe));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -58525,13 +59020,13 @@ function t1(e, t) {
default: return !1;
}
}
-function Vye(e, t, n) {
- return !n || typeof t != "number" || nB(t) || !n.length ? [] : e1(n.flatMap((n) => {
- var r = EW(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!yW(i) || !yW(a))) return [t - i, t + a];
+function bbe(e, t, n) {
+ return !n || typeof t != "number" || uB(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = WW(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!LW(i) || !LW(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Hye = $([
+var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
G$,
gY,
n1
@@ -58544,22 +59039,22 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Hye = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: NW(e, o.map(oX), n),
+ stackedData: ZW(e, o.map(oX), n),
graphicalItems: o
}];
}));
}, a1 = $([
- Hye,
+ xbe,
G$,
PY,
FY
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = BW(e, i, a);
+ var o = iG(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Uye = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, Sbe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
if (e == null || !("domain" in e)) return A$;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -58570,12 +59065,12 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Hye = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Uye], bY), Wye = $([
+}, c1 = $([R$], s1), l1 = $([c1, Sbe], bY), Cbe = $([
a1,
mY,
iX,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: lX } }), u1 = (e) => e.errorBars, Gye = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: lX } }), u1 = (e) => e.errorBars, wbe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -58585,7 +59080,7 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Hye = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = EW(e, t.dataKey ?? n.dataKey), l = Vye(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = WW(e, t.dataKey ?? n.dataKey), l = bbe(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);
@@ -58594,32 +59089,32 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Hye = $([
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 = $$(EW(e, t.dataKey));
+ var n = $$(WW(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]));
- }), yW(a) && yW(o)) return [a, o];
-}, Kye = $([
+ }), LW(a) && LW(o)) return [a, o];
+}, Tbe = $([
Y$,
R$,
- Lye,
+ gbe,
u1,
iX
], f1, { memoizeOptions: { resultEqualityCheck: lX } });
-function qye(e) {
+function Ebe(e) {
var { value: t } = e;
- if (iB(t) || t instanceof Date) return t;
+ if (fB(t) || t instanceof Date) return t;
}
-var Jye = (e, t, n) => {
- var r = e.map(qye).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && sB(r)) ? pY(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Yye = $([
+var Dbe = (e, t, n) => {
+ var r = e.map(Ebe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && hB(r)) ? pY(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Obe = $([
p1,
iX,
aX
-], m1), h1 = (e) => e.referenceElements.areas, Xye = $([
+], m1), h1 = (e) => e.referenceElements.areas, kbe = $([
h1,
iX,
aX
-], m1), g1 = (e) => e.referenceElements.lines, Zye = $([
+], m1), g1 = (e) => e.referenceElements.lines, Abe = $([
g1,
iX,
aX
@@ -58628,49 +59123,49 @@ var Jye = (e, t, n) => {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Qye = $(Yye, iX, _1), v1 = (e, t) => {
+}, jbe = $(Obe, iX, _1), v1 = (e, t) => {
if (e != null) {
var n = e1(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, $ye = $([Xye, iX], v1);
-function ebe(e) {
+}, Mbe = $([kbe, iX], v1);
+function Nbe(e) {
if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : e1(t);
}
-function tbe(e) {
+function Pbe(e) {
if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : e1(t);
}
var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? ebe(e) : tbe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Nbe(e) : Pbe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, nbe = $(Qye, $([Zye, iX], y1), $ye, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? Yge(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), rbe = $([
+}, Fbe = $(jbe, $([Abe, iX], y1), Mbe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? O_e(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Ibe = $([
R$,
c1,
l1,
- Wye,
- Kye,
- nbe,
- YG,
+ Cbe,
+ Tbe,
+ Fbe,
+ pK,
iX
-], b1, { memoizeOptions: { resultEqualityCheck: lX } }), ibe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+], b1, { memoizeOptions: { resultEqualityCheck: lX } }), Lbe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = OW(t, a);
- return l && s == null ? pY(0, n?.length ?? 0) : c === "category" ? Jye(r, e, l) : i === "expand" ? ibe : o;
+ var { dataKey: s, type: c } = e, l = KW(t, a);
+ return l && s == null ? pY(0, n?.length ?? 0) : c === "category" ? Dbe(r, e, l) : i === "expand" ? Lbe : o;
}
}, S1 = $([
R$,
- YG,
+ pK,
Y$,
Z$,
PY,
iX,
- rbe
+ Ibe
], x1), C1 = $([
R$,
B$,
@@ -58698,7 +59193,7 @@ var y1 = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, abe = $([
+}, Rbe = $([
R$,
S1,
T1,
@@ -58718,22 +59213,22 @@ var y1 = (e, t) => {
}
return n / o;
}
-}), YG, MY, dG, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!yW(e)) return 0;
+}), pK, MY, kG, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!LW(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = oB(n, e * a), s = e * a / 2;
+ var o = mB(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), obe = (e, t, n) => {
+}), zbe = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, sbe = (e, t, n) => {
+}, Bbe = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, cbe = $(N$, obe, (e, t) => {
+}, Vbe = $(N$, zbe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -58746,7 +59241,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), lbe = $(I$, sbe, (e, t) => {
+}), Hbe = $(I$, Bbe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -58759,29 +59254,29 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), ube = $([
- dG,
- cbe,
- _G,
- gG,
+}), Ube = $([
+ kG,
+ Vbe,
+ FG,
+ PG,
(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];
-}), dbe = $([
- dG,
- YG,
- lbe,
- _G,
- gG,
+}), Wbe = $([
+ kG,
+ pK,
+ Hbe,
+ FG,
+ PG,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return ube(e, n, r);
- case "yAxis": return dbe(e, n, r);
+ case "xAxis": return Ube(e, n, r);
+ case "yAxis": return Wbe(e, n, r);
case "zAxis": return L$(e, n)?.range;
case "angleAxis": return tX(e);
case "radiusAxis": return nX(e, n);
@@ -58790,67 +59285,67 @@ var y1 = (e, t) => {
}, k1 = $([R$, O1], UY), A1 = $([
R$,
C1,
- $([C1, abe], mX),
+ $([C1, Rbe], mX),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (OW(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (KW(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, M1 = $([
- YG,
+ pK,
Z$,
z$,
iX
], j1), N1 = $([A1], pX);
-$([A1], Aye), $([A1, Bye], D$), $([
+$([A1], lbe), $([A1, ybe], D$), $([
W$,
u1,
iX
-], Gye);
+], wbe);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), pbe = $($W, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), Kbe = $(_G, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), mbe = (e, t) => ({
+}), qbe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(dG, N$, L1), hbe = (e, t, n) => {
+}), R1 = $(kG, N$, L1), Jbe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, gbe = (e, t, n) => {
+}, Ybe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, _be = $(YW, dG, fbe, F1, I1, (e, t, n, r, i) => {
+}, Xbe = $(pG, kG, Gbe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= hbe(t, r, e);
+ o ??= Jbe(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;
-}), vbe = $(JW, dG, pbe, F1, I1, (e, t, n, r, i) => {
+}), Zbe = $(fG, kG, Kbe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = mbe(t, n);
- o ??= gbe(t, r, e);
+ var s = qbe(t, n);
+ o ??= Ybe(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;
-}), ybe = $([
- dG,
+}), Qbe = $([
+ kG,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return _be(e, n.orientation, n.mirror);
+ if (n != null) return Xbe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -58864,12 +59359,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), bbe = $([
- dG,
+}), $be = $([
+ kG,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return vbe(e, n.orientation, n.mirror);
+ if (n != null) return Zbe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -58883,7 +59378,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.fi
y: e.top
};
}
-}), z1 = $(dG, I$, (e, t) => ({
+}), z1 = $(kG, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), B1 = (e, t, n) => {
@@ -58894,17 +59389,17 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.fi
}
}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = OW(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && sB(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = KW(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && hB(c)) return c;
}
}, H1 = $([
- YG,
+ pK,
Z$,
R$,
iX
], V1), U1 = $([
- YG,
- Fye,
+ pK,
+ mbe,
C1,
N1,
H1,
@@ -58914,7 +59409,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.fi
iX
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = OW(e, c);
+ var l = KW(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -58938,45 +59433,45 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.fi
}
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = OW(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 ? tB(a[0] - a[1]) * 2 * m : m;
+ var l = KW(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 ? lB(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 yW(i) ? {
+ return LW(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(fB) : l && s ? s.map((e, t) => {
+ }).filter(bB) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(fB) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(bB) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(fB) : r.domain().map((e, t) => {
+ }).filter(bB) : r.domain().map((e, t) => {
var n = r.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(fB);
+ }).filter(bB);
}
}, G1 = $([
- YG,
+ pK,
z$,
C1,
N1,
@@ -58987,35 +59482,35 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, fbe = $(QW, F1, I1, (e, t, n) => e.fi
iX
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = OW(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? tB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = KW(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? lB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return yW(r) ? {
+ return LW(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(fB) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(bB) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return yW(r) ? {
+ return LW(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(fB) : n.domain().map((e, t) => {
+ }).filter(bB) : n.domain().map((e, t) => {
var r = n.map(e);
- return yW(r) ? {
+ return LW(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(fB);
+ }).filter(bB);
}
}, q1 = $([
- YG,
+ pK,
z$,
N1,
O1,
@@ -59033,10 +59528,10 @@ $((e, t, n) => L$(e, n), $([$([
], T$)], pX), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var xbe = $([
- YG,
- QW,
- $W
+var exe = $([
+ pK,
+ gG,
+ _G
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -59067,21 +59562,21 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function Sbe(e) {
+function txe(e) {
return Q((t) => Q1(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var $1 = (e, t) => {
var n, r = Number(t);
- if (!(nB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Cbe = (e) => e.tooltip.settings, e0 = {
+ if (!(uB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, nxe = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, t0 = wU({
+}, t0 = HU({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -59114,23 +59609,23 @@ var $1 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(ZK(t.payload));
+ e.tooltipItemPayloads.push(hq(t.payload));
},
- prepare: lU()
+ prepare: DU()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = YH(e).tooltipItemPayloads.indexOf(ZK(n));
- i > -1 && (e.tooltipItemPayloads[i] = ZK(r));
+ var { prev: n, next: r } = t.payload, i = pU(e).tooltipItemPayloads.indexOf(hq(n));
+ i > -1 && (e.tooltipItemPayloads[i] = hq(r));
},
- prepare: lU()
+ prepare: DU()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = YH(e).tooltipItemPayloads.indexOf(ZK(t.payload));
+ var n = pU(e).tooltipItemPayloads.indexOf(hq(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: lU()
+ prepare: DU()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -59160,7 +59655,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: wbe, replaceTooltipEntrySettings: Tbe, removeTooltipEntrySettings: Ebe, setTooltipSettingsState: Dbe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: Obe, mouseLeaveChart: r0, setActiveClickItemIndex: kbe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Abe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, jbe = t0.reducer;
+}), { addTooltipEntrySettings: rxe, replaceTooltipEntrySettings: ixe, removeTooltipEntrySettings: axe, setTooltipSettingsState: oxe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: sxe, mouseLeaveChart: r0, setActiveClickItemIndex: cxe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: lxe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, uxe = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -59177,26 +59672,26 @@ function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s0(Object(n), !0).forEach(function(t) {
- Mbe(e, t, n[t]);
+ dxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Mbe(e, t, n) {
- return (t = Nbe(t)) in e ? Object.defineProperty(e, t, {
+function dxe(e, t, n) {
+ return (t = fxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nbe(e) {
- var t = Pbe(e, "string");
+function fxe(e) {
+ var t = pxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pbe(e, t) {
+function pxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59206,21 +59701,21 @@ function Pbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Fbe(e, t, n) {
+function mxe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Ibe(e) {
+function hxe(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = Fbe(e, t, n);
+ var i = mxe(e, t, n);
if (i == null) return e0;
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 (Ibe(i)) {
+ if (hxe(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -59233,7 +59728,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function Lbe(e) {
+function gxe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -59242,24 +59737,24 @@ function Lbe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Rbe(e, t) {
- var n = Lbe(e), r = t[0], i = t[1];
+function _xe(e, t) {
+ var n = gxe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function zbe(e, t, n) {
+function vxe(e, t, n) {
if (n == null || t == null) return !0;
- var r = EW(e, t);
- return r == null || !vY(n) || Rbe(r, n);
+ var r = WW(e, t);
+ return r == null || !vY(n) || _xe(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!yW(a)) return i;
+ if (!LW(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 || zbe(l, n, r) ? String(c) : null;
+ return l == null || vxe(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -59303,26 +59798,26 @@ function g0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h0(Object(n), !0).forEach(function(t) {
- Bbe(e, t, n[t]);
+ yxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Bbe(e, t, n) {
- return (t = Vbe(t)) in e ? Object.defineProperty(e, t, {
+function yxe(e, t, n) {
+ return (t = bxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Vbe(e) {
- var t = Hbe(e, "string");
+function bxe(e) {
+ var t = xxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Hbe(e, t) {
+function xxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59332,57 +59827,57 @@ function Hbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ube(e) {
+function Sxe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Wbe(e) {
+function Cxe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function Gbe(e) {
+function wxe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function _0(e) {
if (typeof e == "string") return e;
}
-function Kbe(e) {
+function Txe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Ube(e.name) : void 0,
- unit: "unit" in e ? Wbe(e.unit) : void 0,
- dataKey: "dataKey" in e ? Gbe(e.dataKey) : void 0,
+ name: "name" in e ? Sxe(e.name) : void 0,
+ unit: "unit" in e ? Cxe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? wxe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? _0(e.color) : void 0,
fill: "fill" in e ? _0(e.fill) : void 0
};
}
-function qbe(e, t) {
+function Exe(e, t) {
return e ?? t;
}
var v0 = (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 = qbe(d, s), m = Array.isArray(p) ? vW(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? lB(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = Exe(d, s), m = Array.isArray(p) ? IW(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? _B(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = Kbe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = Txe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(WW({
+ e.push(cG({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: EW(a, i),
+ value: WW(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(WW({
+ }) : e.push(cG({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: EW(_, h),
- name: EW(_, g) ?? f?.name
+ value: WW(_, h),
+ name: WW(_, g) ?? f?.name
})), e;
}, []);
}
@@ -59394,17 +59889,17 @@ var v0 = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
$([dX, fX], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: uX } }), Jbe = $([b0], (e) => e.filter(cX)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: uX } }), mY], J$), Ybe = $([
- Jbe,
+], U$, { memoizeOptions: { resultEqualityCheck: uX } }), Dxe = $([b0], (e) => e.filter(cX)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: uX } }), mY], J$), Oxe = $([
+ Dxe,
mY,
n1
], sX), S0 = $([
x0,
n1,
b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], bY), Xbe = $([
+], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], bY), kxe = $([
$([
- Ybe,
+ Oxe,
$([b0], (e) => e.filter(cX)),
PY,
FY
@@ -59412,23 +59907,23 @@ var v0 = (e, t, n, r, i, a, o) => {
mY,
dX,
w0
-], o1), Zbe = $([
+], o1), Axe = $([
x0,
n1,
$([b0], K$),
u1,
dX
-], f1, { memoizeOptions: { resultEqualityCheck: lX } }), Qbe = $([$([
+], f1, { memoizeOptions: { resultEqualityCheck: lX } }), jxe = $([$([
p1,
dX,
fX
-], m1), dX], _1), $be = $([$([
+], m1), dX], _1), Mxe = $([$([
h1,
dX,
fX
], m1), dX], v1), T0 = $([
n1,
- YG,
+ pK,
x0,
S0,
PY,
@@ -59437,21 +59932,21 @@ var v0 = (e, t, n, r, i, a, o) => {
n1,
C0,
w0,
- Xbe,
- Zbe,
+ kxe,
+ Axe,
$([
- Qbe,
+ jxe,
$([$([
g1,
dX,
fX
], m1), dX], y1),
- $be
+ Mxe
], d1),
- YG,
+ pK,
dX
], b1)
-], x1), exe = $([
+], x1), Nxe = $([
n1,
T0,
$([
@@ -59463,22 +59958,22 @@ var v0 = (e, t, n, r, i, a, o) => {
], E1), E0 = (e) => O1(e, dX(e), fX(e), !1), D0 = $([n1, E0], UY), O0 = $([$([
n1,
y0,
- exe,
+ Nxe,
D0
], T$)], pX), k0 = $([
- YG,
+ pK,
n1,
y0,
O0,
E0,
$([
- YG,
+ pK,
S0,
n1,
dX
], V1),
$([
- YG,
+ pK,
S0,
n1,
dX
@@ -59486,32 +59981,32 @@ var v0 = (e, t, n, r, i, a, o) => {
dX
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = OW(e, s);
+ var { type: c } = t, l = KW(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 ? tB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? lB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(fB) : r.domain().map((e, t) => {
+ }).filter(bB) : r.domain().map((e, t) => {
var n = r.map(e);
- return yW(n) ? {
+ return LW(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(fB);
+ }).filter(bB);
}
}
}), A0 = $([
Y1,
X1,
- Cbe
+ nxe
], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
m0,
A0,
@@ -59524,22 +60019,22 @@ var v0 = (e, t, n, r, i, a, o) => {
T0
], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
if (e) return e.dataKey;
-}), txe = $([N0], (e) => {
+}), Pxe = $([N0], (e) => {
if (e) return e.graphicalItemId;
}), L0 = $([
m0,
A0,
j0,
M0
-], f0), nxe = $([N0, $([
- JW,
- YW,
- YG,
- dG,
+], f0), Fxe = $([N0, $([
+ fG,
+ pG,
+ pK,
+ kG,
k0,
M0,
L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), rxe = $([N0], (e) => e?.active ?? !1), ixe = $([$([
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Ixe = $([N0], (e) => e?.active ?? !1), Lxe = $([$([
L0,
P0,
mY,
@@ -59569,26 +60064,26 @@ function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R0(Object(n), !0).forEach(function(t) {
- axe(e, t, n[t]);
+ Rxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function axe(e, t, n) {
- return (t = oxe(t)) in e ? Object.defineProperty(e, t, {
+function Rxe(e, t, n) {
+ return (t = zxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oxe(e) {
- var t = sxe(e, "string");
+function zxe(e) {
+ var t = Bxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sxe(e, t) {
+function Bxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59598,9 +60093,9 @@ function sxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cxe = () => Q(n1), lxe = () => {
- var e = cxe(), t = Q(k0), n = Q(O0);
- return UW(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+var Vxe = () => Q(n1), Hxe = () => {
+ var e = Vxe(), t = Q(k0), n = Q(O0);
+ return sG(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -59618,26 +60113,26 @@ function V0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B0(Object(n), !0).forEach(function(t) {
- uxe(e, t, n[t]);
+ Uxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uxe(e, t, n) {
- return (t = dxe(t)) in e ? Object.defineProperty(e, t, {
+function Uxe(e, t, n) {
+ return (t = Wxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dxe(e) {
- var t = fxe(e, "string");
+function Wxe(e) {
+ var t = Gxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fxe(e, t) {
+function Gxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59647,7 +60142,7 @@ function fxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var pxe = (e, t, n, r) => {
+var Kxe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -59663,7 +60158,7 @@ var pxe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, mxe = (e, t, n, r) => {
+}, qxe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -59693,7 +60188,7 @@ var pxe = (e, t, n, r) => {
y: 0
};
};
-function hxe(e, t) {
+function Jxe(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;
}
@@ -59703,9 +60198,9 @@ var H0 = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (tB(c - s) !== tB(l - c)) {
+ if (lB(c - s) !== lB(l - c)) {
var d = [];
- if (tB(l - c) === tB(i[1] - i[0])) {
+ if (lB(l - c) === lB(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);
@@ -59730,7 +60225,7 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(IY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, gxe = $(k0, (e) => fV(e, (e) => e.coordinate)), q0 = $([
+}, U0 = () => Q(IY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Yxe = $(k0, (e) => AV(e, (e) => e.coordinate)), q0 = $([
m0,
W0,
G0,
@@ -59740,7 +60235,7 @@ var H0 = (e, t, n, r, i) => {
x0,
r1,
T0
-], u0), _xe = (e, t, n) => {
+], u0), Xxe = (e, t, n) => {
if (t != null) {
var r = m0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -59751,14 +60246,14 @@ var H0 = (e, t, n, r, i) => {
G0,
K0
], f0), X0 = $([
- JW,
- YW,
- YG,
- dG,
+ fG,
+ pG,
+ pK,
+ kG,
k0,
K0,
Y0
-], d0), vxe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), yxe = $([
+], d0), Zxe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), Qxe = $([
Y0,
J0,
mY,
@@ -59766,39 +60261,39 @@ var H0 = (e, t, n, r, i) => {
Z0,
p0,
W0
-], v0), bxe = $([q0, J0], (e, t) => ({
+], v0), $xe = $([q0, J0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), xxe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && hxe(e, o)) {
- var s = H0(KW(e, t), a, i, n, r), c = pxe(t, i, s, e);
+})), eSe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && Jxe(e, o)) {
+ var s = H0(uG(e, t), a, i, n, r), c = Kxe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, Sxe = (e, t, n, r, i, a, o) => {
+}, tSe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = Ige(e, n);
+ var s = h_e(e, n);
if (s) {
- var c = H0(qW(s, t), o, a, r, i), l = mxe(t, a, c, s);
+ var c = H0(dG(s, t), o, a, r, i), l = qxe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, Cxe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? xxe(e, t, r, i, a, o, s) : Sxe(e, t, n, r, i, a, o);
-}, wxe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, nSe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? eSe(e, t, r, i, a, o, s) : tSe(e, t, n, r, i, a, o);
+}, rSe = $((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;
}
-}), Txe = $((e) => e.zIndex.zIndexMap, (e) => {
+}), iSe = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(BY));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: r_e } });
+}, { memoizeOptions: { resultEqualityCheck: I_e } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function Q0(e, t) {
@@ -59815,26 +60310,26 @@ function $0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q0(Object(n), !0).forEach(function(t) {
- Exe(e, t, n[t]);
+ aSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Exe(e, t, n) {
- return (t = Dxe(t)) in e ? Object.defineProperty(e, t, {
+function aSe(e, t, n) {
+ return (t = oSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dxe(e) {
- var t = Oxe(e, "string");
+function oSe(e) {
+ var t = sSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oxe(e, t) {
+function sSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59844,17 +60339,17 @@ function Oxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kxe = { zIndexMap: Object.values(BY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var cSe = { zIndexMap: Object.values(BY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Axe = new Set(Object.values(BY));
-function jxe(e) {
- return Axe.has(e);
+} }), {}) }, lSe = new Set(Object.values(BY));
+function uSe(e) {
+ return lSe.has(e);
}
-var e2 = wU({
+var e2 = HU({
name: "zIndex",
- initialState: kxe,
+ initialState: cSe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -59865,48 +60360,48 @@ var e2 = wU({
panoramaElement: void 0
};
},
- prepare: lU()
+ prepare: DU()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !jxe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !uSe(n) && delete e.zIndexMap[n]);
},
- prepare: lU()
+ prepare: DU()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = ZK(r) : e.zIndexMap[n].element = ZK(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = hq(r) : e.zIndexMap[n].element = hq(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : ZK(r),
- panoramaElement: i ? ZK(r) : void 0
+ element: i ? void 0 : hq(r),
+ panoramaElement: i ? hq(r) : void 0
};
},
- prepare: lU()
+ prepare: DU()
},
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: lU()
+ prepare: DU()
}
}
-}), { registerZIndexPortal: Mxe, unregisterZIndexPortal: Nxe, registerZIndexPortalElement: Pxe, unregisterZIndexPortalElement: Fxe } = e2.actions, Ixe = e2.reducer;
+}), { registerZIndexPortal: dSe, unregisterZIndexPortal: fSe, registerZIndexPortalElement: pSe, unregisterZIndexPortalElement: mSe } = e2.actions, hSe = e2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function t2(e) {
- var { zIndex: t, children: n } = e, r = eK() && t !== void 0 && t !== 0, i = hG(), a = XB();
- (0, I.useLayoutEffect)(() => r ? (a(Mxe({ zIndex: t })), () => {
- a(Nxe({ zIndex: t }));
- }) : pB, [
+ var { zIndex: t, children: n } = e, r = vK() && t !== void 0 && t !== 0, i = NG(), a = iV();
+ (0, I.useLayoutEffect)(() => r ? (a(dSe({ zIndex: t })), () => {
+ a(fSe({ zIndex: t }));
+ }) : xB, [
a,
t,
r
]);
- var o = Q((e) => wxe(e, t, i));
- return r ? o ? /*#__PURE__*/ (0, Th.createPortal)(n, o) : null : n;
+ var o = Q((e) => rSe(e, t, i));
+ return r ? o ? /*#__PURE__*/ (0, Yh.createPortal)(n, o) : null : n;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
@@ -59933,26 +60428,26 @@ function i2(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) {
- Lxe(e, t, n[t]);
+ gSe(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 Lxe(e, t, n) {
- return (t = Rxe(t)) in e ? Object.defineProperty(e, t, {
+function gSe(e, t, n) {
+ return (t = _Se(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Rxe(e) {
- var t = zxe(e, "string");
+function _Se(e) {
+ var t = vSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zxe(e, t) {
+function vSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59962,17 +60457,17 @@ function zxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Bxe(e) {
+function ySe(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, I.isValidElement)(t) ? /*#__PURE__*/ (0, I.cloneElement)(t, r) : /*#__PURE__*/ (0, I.createElement)(n, r);
}
-function Vxe(e) {
+function bSe(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 = Bhe, h = BY.cursorLine;
- else if (l === "BarChart") p = Vhe(o, u, i, a), m = eY, h = BY.cursorRectangle;
- else if (o === "radial" && yB(u)) {
+ if (l === "ScatterChart") p = u, m = yge, h = BY.cursorLine;
+ else if (l === "BarChart") p = bge(o, u, i, a), m = eY, h = BY.cursorRectangle;
+ else if (o === "radial" && DB(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = oY(u);
p = {
cx: g,
@@ -59982,24 +60477,24 @@ function Vxe(e) {
innerRadius: v,
outerRadius: v
}, m = dY, h = BY.cursorLine;
- } else p = { points: qge(o, u, i) }, m = DJ, h = BY.cursorLine;
+ } else p = { points: E_e(o, u, i) }, m = DJ, h = BY.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), JR(s)), {}, {
+ }, i), p), nz(s)), {}, {
payload: d,
payloadIndex: f,
- className: Xm("recharts-tooltip-cursor", x)
+ className: bh("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(Bxe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(ySe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function Hxe(e) {
- var t = lxe(), n = GG(), r = XG(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(Vxe, n2({}, e, {
+function xSe(e) {
+ var t = Hxe(), n = lK(), r = mK(), i = U0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(bSe, n2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -60008,7 +60503,7 @@ function Hxe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, I.createContext)(null), Uxe = () => (0, I.useContext)(a2), Wxe = (/* @__PURE__ */ ae((/* @__PURE__ */ F(((e, t) => {
+var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (0, I.useContext)(a2), CSe = (/* @__PURE__ */ ae((/* @__PURE__ */ F(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -60095,12 +60590,12 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), Uxe = () => (0, I.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, o2 = new Wxe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, o2 = new CSe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!nB(n)) return e[n];
+ if (!uB(n)) return e[n];
}
-}, u2 = wU({
+}, u2 = HU({
name: "options",
initialState: {
chartName: "",
@@ -60111,13 +60606,13 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), Uxe = () => (0, I.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Gxe = u2.reducer, { createEventEmitter: Kxe } = u2.actions;
+}), wSe = u2.reducer, { createEventEmitter: TSe } = u2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function qxe(e) {
+function ESe(e) {
return e.tooltip.syncInteraction;
}
-var d2 = wU({
+var d2 = HU({
name: "chartData",
initialState: {
chartData: void 0,
@@ -60127,7 +60622,7 @@ var d2 = wU({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = ZK(t.payload), t.payload == null) {
+ if (e.chartData = hq(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -60141,7 +60636,7 @@ var d2 = wU({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: Jxe, setComputedData: Yxe } = d2.actions, Xxe = d2.reducer, Zxe = ["x", "y"];
+}), { setChartData: f2, setDataStartEndIndexes: DSe, setComputedData: OSe } = d2.actions, kSe = d2.reducer, ASe = ["x", "y"];
function p2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60156,26 +60651,26 @@ function m2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p2(Object(n), !0).forEach(function(t) {
- Qxe(e, t, n[t]);
+ jSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qxe(e, t, n) {
- return (t = $xe(t)) in e ? Object.defineProperty(e, t, {
+function jSe(e, t, n) {
+ return (t = MSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $xe(e) {
- var t = eSe(e, "string");
+function MSe(e) {
+ var t = NSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eSe(e, t) {
+function NSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60185,16 +60680,16 @@ function eSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function tSe(e, t) {
+function PSe(e, t) {
if (e == null) return {};
- var n, r, i = nSe(e, t);
+ var n, r, i = FSe(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 nSe(e, t) {
+function FSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60203,16 +60698,16 @@ function nSe(e, t) {
}
return n;
}
-function rSe() {
- var e = Q(LY), t = Q(zY), n = XB(), r = Q(RY), i = Q(k0), a = XG(), o = UG(), s = Q((e) => e.rootProps.className);
+function ISe() {
+ var e = Q(LY), t = Q(zY), n = iV(), r = Q(RY), i = Q(k0), a = mK(), o = sK(), s = Q((e) => e.rootProps.className);
(0, I.useEffect)(() => {
- if (e == null) return pB;
+ if (e == null) return xB;
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 = tSe(d, Zxe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = PSe(d, ASe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -60273,12 +60768,12 @@ function rSe() {
o
]);
}
-function iSe() {
- var e = Q(LY), t = Q(zY), n = XB();
+function LSe() {
+ var e = Q(LY), t = Q(zY), n = iV();
(0, I.useEffect)(() => {
- if (e == null) return pB;
+ if (e == null) return xB;
var r = (r, i, a) => {
- t !== a && e === r && n(Jxe(i));
+ t !== a && e === r && n(DSe(i));
};
return o2.on(c2, r), () => {
o2.off(c2, r);
@@ -60289,14 +60784,14 @@ function iSe() {
e
]);
}
-function aSe() {
- var e = XB();
+function RSe() {
+ var e = iV();
(0, I.useEffect)(() => {
- e(Kxe());
- }, [e]), rSe(), iSe();
+ e(TSe());
+ }, [e]), ISe(), LSe();
}
-function oSe(e, t, n, r, i, a) {
- var o = Q((n) => _xe(n, e, t)), s = Q(txe), c = Q(zY), l = Q(LY), u = Q(RY), d = Q(qxe)?.active, f = UG();
+function zSe(e, t, n, r, i, a) {
+ var o = Q((n) => Xxe(n, e, t)), s = Q(Pxe), c = Q(zY), l = Q(LY), u = Q(RY), d = Q(ESe)?.active, f = sK();
(0, I.useEffect)(() => {
if (!d && l != null && c != null) {
var e = a0({
@@ -60340,26 +60835,26 @@ 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) {
- sSe(e, t, n[t]);
+ BSe(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 sSe(e, t, n) {
- return (t = cSe(t)) in e ? Object.defineProperty(e, t, {
+function BSe(e, t, n) {
+ return (t = VSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cSe(e) {
- var t = lSe(e, "string");
+function VSe(e) {
+ var t = HSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lSe(e, t) {
+function HSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60369,13 +60864,13 @@ function lSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uSe(e) {
+function USe(e) {
return e.dataKey;
}
-function dSe(e, t) {
- return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(Zq, t);
+function WSe(e, t) {
+ return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(Yhe, t);
}
-var _2 = [], fSe = {
+var _2 = [], GSe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -60401,10 +60896,10 @@ var _2 = [], fSe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function pSe(e) {
- var t = CB(e, fSe), { 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 = XB(), S = typeof v == "number" ? String(v) : v;
+function KSe(e) {
+ var t = jB(e, GSe), { 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 = iV(), S = typeof v == "number" ? String(v) : v;
(0, I.useEffect)(() => {
- x(Dbe({
+ x(oxe({
shared: g,
trigger: _,
axisId: b,
@@ -60419,12 +60914,12 @@ function pSe(e) {
n,
S
]);
- var C = UG(), w = mJ(), T = Sbe(g), { activeIndex: E, isActive: D } = Q((e) => bxe(e, T, _, S)) ?? {}, O = Q((e) => yxe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => vxe(e, T, _, S)), j = O, M = Uxe(), N = n ?? D ?? !1, [ee, te] = vV([j, N]), P = T === "axis" ? k : void 0;
- oSe(T, _, A, P, E, N);
+ var C = sK(), w = _J(), T = txe(g), { activeIndex: E, isActive: D } = Q((e) => $xe(e, T, _, S)) ?? {}, O = Q((e) => Qxe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => Zxe(e, T, _, S)), j = O, M = SSe(), N = n ?? D ?? !1, [ee, te] = IV([j, N]), P = T === "axis" ? k : void 0;
+ zSe(T, _, A, P, E, N);
var ne = y ?? M;
if (ne == null || C == null || T == null) return null;
var F = j ?? _2;
- N || (F = _2), s && F.length && (F = JB(F.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, uSe));
+ N || (F = _2), s && F.length && (F = nV(F.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, USe));
var re = F.length > 0, ie = g2(g2({}, t), {}, {
payload: F,
label: P,
@@ -60432,7 +60927,7 @@ function pSe(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ae = /*#__PURE__*/ I.createElement(pJ, {
+ }), ae = /*#__PURE__*/ I.createElement(age, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -60449,8 +60944,8 @@ function pSe(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, dSe(o, ie));
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, Th.createPortal)(ae, ne), N && /*#__PURE__*/ I.createElement(Hxe, {
+ }, WSe(o, ie));
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, Yh.createPortal)(ae, ne), N && /*#__PURE__*/ I.createElement(xSe, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -60464,19 +60959,19 @@ var v2 = (e) => null;
v2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function mSe(e, t, n) {
- return (t = hSe(t)) in e ? Object.defineProperty(e, t, {
+function qSe(e, t, n) {
+ return (t = JSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hSe(e) {
- var t = gSe(e, "string");
+function JSe(e) {
+ var t = YSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gSe(e, t) {
+function YSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60486,9 +60981,9 @@ function gSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _Se = class {
+var XSe = class {
constructor(e) {
- mSe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ qSe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -60521,30 +61016,30 @@ function y2(e, t) {
}
return n;
}
-function vSe(e) {
+function ZSe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y2(Object(n), !0).forEach(function(t) {
- ySe(e, t, n[t]);
+ QSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ySe(e, t, n) {
- return (t = bSe(t)) in e ? Object.defineProperty(e, t, {
+function QSe(e, t, n) {
+ return (t = $Se(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");
+function $Se(e) {
+ var t = eCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xSe(e, t) {
+function eCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60554,10 +61049,10 @@ function xSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = vSe({}, {
+var b2 = ZSe({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new _Se(b2.cacheSize), SSe = {
+}), x2 = new XSe(b2.cacheSize), tCe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -60566,13 +61061,13 @@ var b2 = vSe({}, {
border: "none",
whiteSpace: "pre"
}, S2 = "recharts_measurement_span";
-function CSe(e, t) {
+function nCe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var C2 = (e, t) => {
try {
var n = document.getElementById(S2);
- n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, SSe, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, tCe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -60586,29 +61081,29 @@ var C2 = (e, t) => {
}
}, w2 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || iJ.isSsr) return {
+ if (e == null || pJ.isSsr) return {
width: 0,
height: 0
};
if (!b2.enableCache) return C2(e, t);
- var n = CSe(e, t), r = x2.get(n);
+ var n = nCe(e, t), r = x2.get(n);
if (r) return r;
var i = C2(e, t);
return x2.set(n, i), i;
}, T2;
-function wSe(e, t, n) {
- return (t = TSe(t)) in e ? Object.defineProperty(e, t, {
+function rCe(e, t, n) {
+ return (t = iCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TSe(e) {
- var t = ESe(e, "string");
+function iCe(e) {
+ var t = aCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ESe(e, t) {
+function aCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60618,7 +61113,7 @@ function ESe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, DSe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, OSe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, kSe = {
+var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, oCe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, sCe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, cCe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -60626,7 +61121,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, ASe = [
+}, lCe = [
"cm",
"mm",
"pt",
@@ -60635,20 +61130,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function jSe(e) {
- return ASe.includes(e);
+function uCe(e) {
+ return lCe.includes(e);
}
var O2 = "NaN";
-function MSe(e, t) {
- return e * kSe[t];
+function dCe(e, t) {
+ return e * cCe[t];
}
var k2 = class e {
static parse(t) {
- var [, n, r] = OSe.exec(t) ?? [];
+ var [, n, r] = sCe.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, nB(e) && (this.unit = ""), t !== "" && !DSe.test(t) && (this.num = NaN, this.unit = ""), jSe(t) && (this.num = MSe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, uB(e) && (this.unit = ""), t !== "" && !oCe.test(t) && (this.num = NaN, this.unit = ""), uCe(t) && (this.num = dCe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -60666,10 +61161,10 @@ var k2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return nB(this.num);
+ return uB(this.num);
}
};
-T2 = k2, wSe(k2, "NaN", new T2(NaN, ""));
+T2 = k2, rCe(k2, "NaN", new T2(NaN, ""));
function A2(e) {
if (e == null || e.includes(O2)) return O2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -60685,31 +61180,31 @@ function A2(e) {
return t;
}
var j2 = /\(([^()]*)\)/;
-function NSe(e) {
+function fCe(e) {
for (var t = e, n; (n = j2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(j2, A2(r));
}
return t;
}
-function PSe(e) {
+function pCe(e) {
var t = e.replace(/\s+/g, "");
- return t = NSe(t), t = A2(t), t;
+ return t = fCe(t), t = A2(t), t;
}
-function FSe(e) {
+function mCe(e) {
try {
- return PSe(e);
+ return pCe(e);
} catch {
return O2;
}
}
function M2(e) {
- var t = FSe(e.slice(5, -1));
+ var t = mCe(e.slice(5, -1));
return t === O2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var ISe = [
+var hCe = [
"x",
"y",
"lineHeight",
@@ -60718,7 +61213,7 @@ var ISe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], LSe = [
+], gCe = [
"dx",
"dy",
"angle",
@@ -60736,14 +61231,14 @@ function N2() {
}
function P2(e, t) {
if (e == null) return {};
- var n, r, i = RSe(e, t);
+ var n, r, i = _Ce(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 RSe(e, t) {
+function _Ce(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60756,7 +61251,7 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return uB(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return vB(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: w2(e, r).width
@@ -60770,8 +61265,8 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
function L2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function zSe(e) {
- return uB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function vCe(e) {
+ return vB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -60784,16 +61279,16 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), BSe = "…", B2 = (e, t, n, r, i, a, o, s) => {
+}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), yCe = "…", B2 = (e, t, n, r, i, a, o, s) => {
var c = I2({
breakAll: n,
style: r,
- children: e.slice(0, t) + BSe
+ children: e.slice(0, t) + yCe
});
if (!c) return [!1, []];
var l = R2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || z2(l).width > Number(a), l];
-}, VSe = (e, t, n, r, i) => {
+}, bCe = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -60806,11 +61301,11 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, V2 = (e) => [{
- words: uB(e) ? [] : e.toString().split(F2),
+ words: vB(e) ? [] : e.toString().split(F2),
width: void 0
-}], HSe = (e) => {
+}], xCe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !iJ.isSsr) {
+ if ((t || n) && !pJ.isSsr) {
var s, c, l = I2({
breakAll: a,
children: r,
@@ -60820,7 +61315,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return V2(r);
- return VSe({
+ return bCe({
breakAll: a,
children: r,
maxLines: o,
@@ -60828,7 +61323,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return V2(r);
-}, H2 = "#808080", USe = {
+}, H2 = "#808080", SCe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -60840,7 +61335,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, U2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = CB(e, USe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, ISe), f = (0, I.useMemo)(() => HSe({
+ var n = jB(e, SCe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, hCe), f = (0, I.useMemo)(() => xCe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -60854,10 +61349,10 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, LSe);
- if (!iB(r) || !iB(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, gCe);
+ if (!fB(r) || !fB(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!yW(y) || !yW(b)) return null;
+ if (!LW(y) || !LW(b)) return null;
var x;
switch (u) {
case "start":
@@ -60873,11 +61368,11 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, YR(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, rz(v), {
ref: t,
x: y,
y: b,
- className: Xm("recharts-text", g),
+ className: bh("recharts-text", g),
textAnchor: l,
fill: s.includes("url") ? H2 : s
}), f.map((e, t) => {
@@ -60906,26 +61401,26 @@ function G2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? W2(Object(n), !0).forEach(function(t) {
- WSe(e, t, n[t]);
+ CCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WSe(e, t, n) {
- return (t = GSe(t)) in e ? Object.defineProperty(e, t, {
+function CCe(e, t, n) {
+ return (t = wCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GSe(e) {
- var t = KSe(e, "string");
+function wCe(e) {
+ var t = TCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KSe(e, t) {
+function TCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60935,8 +61430,8 @@ function KSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qSe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = HG(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var ECe = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = oK(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,
@@ -61017,9 +61512,9 @@ var qSe = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || rB(n.x)) && (Z(n.y) || rB(n.y)) ? G2({
- x: o + oB(n.x, m),
- y: s + oB(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || dB(n.x)) && (Z(n.y) || dB(n.y)) ? G2({
+ x: o + mB(n.x, m),
+ y: s + mB(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : G2({
@@ -61028,17 +61523,17 @@ var qSe = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, JSe = ["labelRef"], YSe = ["content"];
+}, DCe = ["labelRef"], OCe = ["content"];
function K2(e, t) {
if (e == null) return {};
- var n, r, i = XSe(e, t);
+ var n, r, i = kCe(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 XSe(e, t) {
+function kCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61061,26 +61556,26 @@ function J2(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) {
- ZSe(e, t, n[t]);
+ ACe(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 ZSe(e, t, n) {
- return (t = QSe(t)) in e ? Object.defineProperty(e, t, {
+function ACe(e, t, n) {
+ return (t = jCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QSe(e) {
- var t = $Se(e, "string");
+function jCe(e) {
+ var t = MCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Se(e, t) {
+function MCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61117,9 +61612,9 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
]);
return /*#__PURE__*/ I.createElement(X2.Provider, { value: c }, s);
}, Q2 = () => {
- var e = (0, I.useContext)(X2), t = UG();
- return e || (t ? HG(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, I.createContext)(null), eCe = (e) => {
+ var e = (0, I.useContext)(X2), t = sK();
+ return e || (t ? oK(t) : void 0);
+}, $2 = /*#__PURE__*/ (0, I.createContext)(null), NCe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, I.useMemo)(() => ({
cx: t,
cy: n,
@@ -61141,11 +61636,11 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
}, e4 = () => {
var e = (0, I.useContext)($2), t = Q(rX);
return e || t;
-}, tCe = (e) => {
- var { value: t, formatter: n } = e, r = uB(e.children) ? t : e.children;
+}, PCe = (e) => {
+ var { value: t, formatter: n } = e, r = vB(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", nCe = (e, t) => tB(t - e) * Math.min(Math.abs(t - e), 360), rCe = (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 = nCe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, t4 = (e) => e != null && typeof e == "function", FCe = (e, t) => lB(t - e) * Math.min(Math.abs(t - e), 360), ICe = (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 = FCe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -61161,15 +61656,15 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
v = h <= 0 ? v : !v;
var y = aY(s, c, m, _), b = aY(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = uB(e.id) ? aB("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = vB(e.id) ? pB("recharts-radial-line-") : e.id;
return /*#__PURE__*/ I.createElement("text", Y2({}, r, {
dominantBaseline: "central",
- className: Xm("recharts-radial-bar-label", o)
+ className: bh("recharts-radial-bar-label", o)
}), /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("path", {
id: S,
d: x
})), /*#__PURE__*/ I.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, iCe = (e, t, n) => {
+}, LCe = (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 } = aY(r, i, o + t, l);
@@ -61205,14 +61700,14 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), aCe = {
+}, n4 = (e) => e != null && "cx" in e && Z(e.cx), RCe = {
angle: 0,
offset: 5,
zIndex: BY.label,
position: "middle",
textBreakAll: !1
};
-function oCe(e) {
+function zCe(e) {
if (!n4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -61225,24 +61720,24 @@ function oCe(e) {
};
}
function r4(e) {
- var t = CB(e, aCe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : HG(n), m, h, g = oCe(p);
- if (!p || uB(a) && uB(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
+ var t = jB(e, RCe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : oK(n), m, h, g = zCe(p);
+ if (!p || vB(a) && vB(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
var _ = J2(J2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, I.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, JSe);
+ var { labelRef: v } = _, y = K2(_, DCe);
return /*#__PURE__*/ (0, I.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, YSe);
+ var { content: b } = _, x = K2(_, OCe);
if (m = /*#__PURE__*/ (0, I.createElement)(s, x), /*#__PURE__*/ (0, I.isValidElement)(m)) return m;
- } else m = tCe(t);
- var S = YR(t);
+ } else m = PCe(t);
+ var S = rz(t);
if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return rCe(t, i, m, S, p);
- h = iCe(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return ICe(t, i, m, S, p);
+ h = LCe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = qSe({
+ var C = ECe({
viewBox: g,
position: i,
offset: t.offset,
@@ -61258,7 +61753,7 @@ function r4(e) {
}
return /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(U2, Y2({
ref: u,
- className: Xm("recharts-label", c)
+ className: bh("recharts-label", c)
}, S, h, {
textAnchor: L2(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
@@ -61271,7 +61766,7 @@ var i4 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : iB(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : fB(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, I.isValidElement)(e) ? e.type === r4 ? /*#__PURE__*/ (0, I.cloneElement)(e, J2({ key: "label-implicit" }, r)) : /*#__PURE__*/ I.createElement(r4, Y2({
@@ -61286,13 +61781,13 @@ function a4(e) {
var { label: t, labelRef: n } = e;
return i4(t, Q2(), n) || null;
}
-function sCe(e) {
+function BCe(e) {
var { label: t } = e;
return i4(t, e4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var cCe = ["valueAccessor"], lCe = [
+var VCe = ["valueAccessor"], HCe = [
"dataKey",
"clockWise",
"id",
@@ -61310,14 +61805,14 @@ function o4() {
}
function s4(e, t) {
if (e == null) return {};
- var n, r, i = uCe(e, t);
+ var n, r, i = UCe(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 uCe(e, t) {
+function UCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61326,21 +61821,21 @@ function uCe(e, t) {
}
return n;
}
-var dCe = (e) => {
+var WCe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (zSe(t)) return t;
-}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), fCe = u4.Provider;
-function pCe() {
+ if (vCe(t)) return t;
+}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), GCe = u4.Provider;
+function KCe() {
return (0, I.useContext)(c4);
}
-function mCe() {
+function qCe() {
return (0, I.useContext)(u4);
}
function d4(e) {
- var { valueAccessor: t = dCe } = e, n = s4(e, cCe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, lCe), l = pCe(), u = mCe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? BY.label }, /*#__PURE__*/ I.createElement($R, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = uB(r) ? t(e, i) : EW(e.payload, r), l = uB(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, YR(e), c, l, {
+ var { valueAccessor: t = WCe } = e, n = s4(e, VCe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, HCe), l = KCe(), u = qCe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? BY.label }, /*#__PURE__*/ I.createElement(sz, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = vB(r) ? t(e, i) : WW(e.payload, r), l = vB(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, rz(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -61361,12 +61856,12 @@ function f4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var hCe = [
+var JCe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], gCe;
+], YCe;
function p4() {
return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61376,16 +61871,16 @@ function p4() {
return e;
}, p4.apply(null, arguments);
}
-function _Ce(e, t) {
+function XCe(e, t) {
if (e == null) return {};
- var n, r, i = vCe(e, t);
+ var n, r, i = ZCe(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 vCe(e, t) {
+function ZCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61394,10 +61889,10 @@ function vCe(e, t) {
}
return n;
}
-function yCe(e, t) {
+function QCe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, bCe = function() {
+var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -61408,9 +61903,9 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, bCe = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, h4 = (e, t) => {
- var n = bCe(e);
+ var n = $Ce(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => eB(gCe ||= yCe([
+ var r = n.map((e) => e.reduce((e, t, n) => cB(YCe ||= QCe([
"",
"",
"",
@@ -61418,29 +61913,29 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, bCe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, xCe = (e, t, n) => {
+}, ewe = (e, t, n) => {
var r = h4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = _Ce(e, hCe);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = XCe(e, JCe);
if (!t || !t.length) return null;
- var o = Xm("recharts-polygon", n);
+ var o = bh("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = xCe(t, r, i);
- return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, YR(a), {
+ var s = a.stroke && a.stroke !== "none", c = ewe(t, r, i);
+ return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ I.createElement("path", p4({}, YR(a), {
+ })), s ? /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
fill: "none",
d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, YR(a), {
+ })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
fill: "none",
d: h4(r, i)
})) : null);
}
var l = h4(t, i);
- return /*#__PURE__*/ I.createElement("path", p4({}, YR(a), {
+ return /*#__PURE__*/ I.createElement("path", p4({}, rz(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -61458,8 +61953,8 @@ function _4() {
}, _4.apply(null, arguments);
}
var v4 = (e) => {
- var { cx: t, cy: n, r, className: i } = e, a = Xm("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, qR(e), bB(e), {
+ var { cx: t, cy: n, r, className: i } = e, a = bh("recharts-dot", i);
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, tz(e), OB(e), {
className: a,
cx: t,
cy: n,
@@ -61479,18 +61974,18 @@ $([
R$,
b4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: EW(e, t.dataKey ?? n.dataKey),
+ value: WW(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: EW(e, t.dataKey),
+ value: WW(e, t.dataKey),
errorDomain: []
})));
var C4 = () => void 0, w4 = $([
R$,
- YG,
+ pK,
x4,
S4,
PY,
@@ -61508,14 +62003,14 @@ var C4 = () => void 0, w4 = $([
iX
], f1),
C4,
- YG,
+ pK,
iX
], b1)
], x1), T4 = $([
w4,
z$,
C1
-], w1), SCe = $([C1, $([
+], w1), twe = $([C1, $([
R$,
w4,
T4,
@@ -61528,22 +62023,22 @@ var C4 = () => void 0, w4 = $([
}
}, D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return t_e(e, n);
- case "radiusAxis": return n_e(e, n);
+ case "angleAxis": return P_e(e, n);
+ case "radiusAxis": return F_e(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, O4 = $([$([
E4,
C1,
- SCe,
+ twe,
D4
], T$)], pX), k4 = $([
- YG,
+ pK,
S4,
z$,
iX
], j1), A4 = $([
- YG,
+ pK,
E4,
C1,
O4,
@@ -61552,7 +62047,7 @@ var C4 = () => void 0, w4 = $([
H1,
k4,
iX
-], W1), CCe = $([A4], (e) => {
+], W1), nwe = $([A4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -61560,19 +62055,19 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), wCe = $([
- YG,
+}), rwe = $([
+ pK,
E4,
O4,
D4,
H1,
k4,
iX
-], K1), TCe = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+], K1), iwe = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), ECe = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), awe = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), DCe = [
+}), owe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -61585,16 +62080,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function OCe(e, t) {
+function swe(e, t) {
if (e == null) return {};
- var n, r, i = kCe(e, t);
+ var n, r, i = cwe(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 kCe(e, t) {
+function cwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61626,26 +62121,26 @@ function N4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M4(Object(n), !0).forEach(function(t) {
- ACe(e, t, n[t]);
+ lwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ACe(e, t, n) {
- return (t = jCe(t)) in e ? Object.defineProperty(e, t, {
+function lwe(e, t, n) {
+ return (t = uwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jCe(e) {
- var t = MCe(e, "string");
+function uwe(e) {
+ var t = dwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MCe(e, t) {
+function dwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61655,16 +62150,16 @@ function MCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var NCe = (e, t, n, r) => {
+var fwe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = aY(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, PCe = (e) => {
+}, pwe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = N4({ stroke: "#ccc" }, qR(e));
+ var s = N4({ stroke: "#ccc" }, tz(e));
return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = aY(t, n, r, e), o = aY(t, n, i, e);
return /*#__PURE__*/ I.createElement("line", j4({ key: `line-${e}` }, s, {
@@ -61678,9 +62173,9 @@ var NCe = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = N4({
stroke: "#ccc",
fill: "none"
- }, qR(e));
+ }, tz(e));
return /*#__PURE__*/ I.createElement("circle", j4({}, i, {
- className: Xm("recharts-polar-grid-concentric-circle", e.className),
+ className: bh("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
@@ -61689,12 +62184,12 @@ var NCe = (e, t, n, r) => {
var { radius: t } = e, n = N4({
stroke: "#ccc",
fill: "none"
- }, qR(e));
+ }, tz(e));
return /*#__PURE__*/ I.createElement("path", j4({}, n, {
- className: Xm("recharts-polar-grid-concentric-polygon", e.className),
- d: NCe(t, e.cx, e.cy, e.polarAngles)
+ className: bh("recharts-polar-grid-concentric-polygon", e.className),
+ d: fwe(t, e.cx, e.cy, e.polarAngles)
}));
-}, FCe = (e) => {
+}, mwe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -61708,14 +62203,14 @@ var NCe = (e, t, n, r) => {
radius: t
}));
}));
-}, ICe = {
+}, hwe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: BY.grid
}, I4 = (e) => {
- var t = CB(e, ICe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = OCe(t, DCe), m = Q(rX), h = Q((e) => TCe(e, i)), g = Q((e) => ECe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = jB(e, hwe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = swe(t, owe), m = Q(rX), h = Q((e) => iwe(e, i)), g = Q((e) => awe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = N4({
cx: m?.cx ?? o ?? 0,
@@ -61726,13 +62221,13 @@ var NCe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(FCe, j4({
+ return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(mwe, j4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ I.createElement(PCe, j4({
+ })), /*#__PURE__*/ I.createElement(pwe, j4({
gridType: n,
radialLines: r
}, y, {
@@ -61748,11 +62243,11 @@ function L4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function LCe(e, t = OB) {
+function gwe(e, t = IB) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = KB(t), i, a;
+ let r = eV(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -61761,11 +62256,11 @@ function LCe(e, t = OB) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function RCe(e, t = OB) {
+function _we(e, t = IB) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = KB(t), i, a;
+ let r = eV(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -61774,7 +62269,7 @@ function RCe(e, t = OB) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = wU({
+var R4 = HU({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -61782,19 +62277,19 @@ var R4 = wU({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = ZK(t.payload);
+ e.radiusAxis[t.payload.id] = hq(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = ZK(t.payload);
+ e.angleAxis[t.payload.id] = hq(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: zCe, removeRadiusAxis: BCe, addAngleAxis: VCe, removeAngleAxis: HCe } = R4.actions, UCe = R4.reducer;
+}), { addRadiusAxis: vwe, removeRadiusAxis: ywe, addAngleAxis: bwe, removeAngleAxis: xwe } = R4.actions, Swe = R4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function z4(e) {
@@ -61802,12 +62297,12 @@ function z4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var WCe = ["type"], GCe = [
+var Cwe = ["type"], wwe = [
"cx",
"cy",
"angle",
"axisLine"
-], KCe = [
+], Twe = [
"angle",
"tickFormatter",
"stroke",
@@ -61836,26 +62331,26 @@ function H4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V4(Object(n), !0).forEach(function(t) {
- qCe(e, t, n[t]);
+ Ewe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qCe(e, t, n) {
- return (t = JCe(t)) in e ? Object.defineProperty(e, t, {
+function Ewe(e, t, n) {
+ return (t = Dwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JCe(e) {
- var t = YCe(e, "string");
+function Dwe(e) {
+ var t = Owe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YCe(e, t) {
+function Owe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61867,14 +62362,14 @@ function YCe(e, t) {
}
function U4(e, t) {
if (e == null) return {};
- var n, r, i = XCe(e, t);
+ var n, r, i = kwe(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 XCe(e, t) {
+function kwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61883,20 +62378,20 @@ function XCe(e, t) {
}
return n;
}
-var ZCe = "radiusAxis";
-function QCe(e) {
- var t = XB(), n = $G(), r = (0, I.useMemo)(() => {
- var { type: t } = e, r = U4(e, WCe), i = WY(n, "radiusAxis", t);
+var Awe = "radiusAxis";
+function jwe(e) {
+ var t = iV(), n = _K(), r = (0, I.useMemo)(() => {
+ var { type: t } = e, r = U4(e, Cwe), i = WY(n, "radiusAxis", t);
if (i != null) return H4(H4({}, r), {}, { type: i });
}, [e, n]);
- return (0, I.useEffect)(() => r == null ? pB : (t(zCe(r)), () => {
- t(BCe(r));
+ return (0, I.useEffect)(() => r == null ? xB : (t(vwe(r)), () => {
+ t(ywe(r));
}), [t, r]), null;
}
-var $Ce = (e, t, n, r) => {
+var Mwe = (e, t, n, r) => {
var { coordinate: i } = e;
return aY(n, r, i, t);
-}, ewe = (e) => {
+}, Nwe = (e) => {
var t;
switch (e) {
case "left":
@@ -61908,49 +62403,49 @@ var $Ce = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, twe = (e, t, n, r) => {
- var i = LCe(r, (e) => e.coordinate || 0);
+}, Pwe = (e, t, n, r) => {
+ var i = gwe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: RCe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: _we(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, nwe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, GCe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aY(n, r, s[0], i), l = aY(n, r, s[1], i), u = H4(H4(H4({}, qR(o)), {}, { fill: "none" }, qR(a)), {}, {
+}, Fwe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, wwe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aY(n, r, s[0], i), l = aY(n, r, s[1], i), u = H4(H4(H4({}, tz(o)), {}, { fill: "none" }, tz(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ I.createElement("line", B4({ className: "recharts-polar-radius-axis-line" }, u));
-}, rwe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), iwe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, KCe), s = ewe(e.orientation), c = qR(o), l = JR(a), u = t.map((t, o) => {
- var u = $Ce(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
+}, Iwe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Lwe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Twe), s = Nwe(e.orientation), c = tz(o), l = nz(a), u = t.map((t, o) => {
+ var u = Mwe(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ I.createElement($R, B4({
- className: Xm("recharts-polar-radius-axis-tick", z4(a)),
+ return /*#__PURE__*/ I.createElement(sz, B4({
+ className: bh("recharts-polar-radius-axis-tick", z4(a)),
key: `tick-${t.coordinate}`
- }, xB(e, t, o)), rwe(a, d, r ? r(t.value, o) : t.value));
+ }, kB(e, t, o)), Iwe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ I.createElement($R, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, awe = (e) => {
+ return /*#__PURE__*/ I.createElement(sz, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, Rwe = (e) => {
var { radiusAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = H4(H4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement($R, { className: Xm("recharts-polar-radius-axis", ZCe, a.className) }, s && nwe(a, i), o && iwe(a, i), /*#__PURE__*/ I.createElement(eCe, twe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(sCe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-polar-radius-axis", Awe, a.className) }, s && Fwe(a, i), o && Lwe(a, i), /*#__PURE__*/ I.createElement(NCe, Pwe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(BCe, { label: a.label }), a.children)));
};
function W4(e) {
- var t = CB(e, HY);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(QCe, {
+ var t = jB(e, HY);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jwe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -61967,12 +62462,12 @@ function W4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ I.createElement(awe, t));
+ }), /*#__PURE__*/ I.createElement(Rwe, t));
}
W4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var owe = ["children", "type"], swe = ["ref"];
+var zwe = ["children", "type"], Bwe = ["ref"];
function G4() {
return G4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61996,26 +62491,26 @@ function q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K4(Object(n), !0).forEach(function(t) {
- cwe(e, t, n[t]);
+ Vwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cwe(e, t, n) {
- return (t = lwe(t)) in e ? Object.defineProperty(e, t, {
+function Vwe(e, t, n) {
+ return (t = Hwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lwe(e) {
- var t = uwe(e, "string");
+function Hwe(e) {
+ var t = Uwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uwe(e, t) {
+function Uwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62027,14 +62522,14 @@ function uwe(e, t) {
}
function J4(e, t) {
if (e == null) return {};
- var n, r, i = dwe(e, t);
+ var n, r, i = Wwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function dwe(e, t) {
+function Wwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62043,17 +62538,17 @@ function dwe(e, t) {
}
return n;
}
-var Y4 = 1e-5, fwe = Math.cos(iY(45)), pwe = "angleAxis";
-function mwe(e) {
- var t = XB(), n = $G(), r = (0, I.useMemo)(() => {
- var { children: t, type: r } = e, i = J4(e, owe), a = WY(n, "angleAxis", r);
+var Y4 = 1e-5, Gwe = Math.cos(iY(45)), Kwe = "angleAxis";
+function qwe(e) {
+ var t = iV(), n = _K(), r = (0, I.useMemo)(() => {
+ var { children: t, type: r } = e, i = J4(e, zwe), a = WY(n, "angleAxis", r);
if (a != null) return q4(q4({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => YY(e, r?.id));
- return (0, I.useEffect)(() => r == null ? pB : (t(VCe(r)), () => {
- t(HCe(r));
+ return (0, I.useEffect)(() => r == null ? xB : (t(bwe(r)), () => {
+ t(xwe(r));
}), [t, r]), i ? e.children : null;
}
-var hwe = (e, t) => {
+var Jwe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = aY(n, r, i, e.coordinate), l = aY(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -62061,16 +62556,16 @@ var hwe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, gwe = (e, t) => {
+}, Ywe = (e, t) => {
var n = Math.cos(iY(-e.coordinate));
return n > Y4 ? t === "outer" ? "start" : "end" : n < -Y4 ? t === "outer" ? "end" : "start" : "middle";
-}, _we = (e) => {
+}, Xwe = (e) => {
var t = Math.cos(iY(-e.coordinate)), n = Math.sin(iY(-e.coordinate));
- return Math.abs(t) <= fwe ? n > 0 ? "start" : "end" : "middle";
-}, vwe = (e) => {
+ return Math.abs(t) <= Gwe ? n > 0 ? "start" : "end" : "middle";
+}, Zwe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = q4(q4({}, qR(e)), {}, { fill: "none" }, qR(a));
+ var s = q4(q4({}, tz(e)), {}, { fill: "none" }, tz(a));
if (i === "circle") return /*#__PURE__*/ I.createElement(v4, G4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -62078,12 +62573,12 @@ var hwe = (e, t) => {
}));
var c = o.map((e) => aY(t, n, r, e.coordinate));
return /*#__PURE__*/ I.createElement(g4, G4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, ywe = (e) => {
+}, Qwe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ I.isValidElement(t) ? /*#__PURE__*/ I.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ I.createElement(U2, G4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, bwe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = qR(e), { ref: s } = o, c = J4(o, swe), l = JR(t), u = q4(q4({}, c), {}, { fill: "none" }, qR(n)), d = a.map((a, o) => {
- var s = hwe(a, e), d = gwe(a, e.orientation), f = _we(a), p = q4(q4(q4({}, c), {}, {
+}, $we = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = tz(e), { ref: s } = o, c = J4(o, Bwe), l = nz(t), u = q4(q4({}, c), {}, { fill: "none" }, tz(n)), d = a.map((a, o) => {
+ var s = Jwe(a, e), d = Ywe(a, e.orientation), f = Xwe(a), p = q4(q4(q4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -62094,28 +62589,28 @@ var hwe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ I.createElement($R, G4({
- className: Xm("recharts-polar-angle-axis-tick", z4(t)),
+ return /*#__PURE__*/ I.createElement(sz, G4({
+ className: bh("recharts-polar-angle-axis-tick", z4(t)),
key: `tick-${a.coordinate}`
- }, xB(e, a, o)), n && /*#__PURE__*/ I.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(ywe, {
+ }, kB(e, a, o)), n && /*#__PURE__*/ I.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(Qwe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ I.createElement($R, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, xwe = (e) => {
- var { angleAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "angleAxis", t)), i = hG(), a = Q((e) => CCe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ I.createElement(sz, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, eTe = (e) => {
+ var { angleAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "angleAxis", t)), i = NG(), a = Q((e) => nwe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = q4(q4(q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement($R, { className: Xm("recharts-polar-angle-axis", pwe, o.className) }, /*#__PURE__*/ I.createElement(vwe, o), /*#__PURE__*/ I.createElement(bwe, o)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-polar-angle-axis", Kwe, o.className) }, /*#__PURE__*/ I.createElement(Zwe, o), /*#__PURE__*/ I.createElement($we, o)));
};
function X4(e) {
- var t = CB(e, VY);
- return /*#__PURE__*/ I.createElement(mwe, {
+ var t = jB(e, VY);
+ return /*#__PURE__*/ I.createElement(qwe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -62132,12 +62627,12 @@ function X4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ I.createElement(xwe, t));
+ }, /*#__PURE__*/ I.createElement(eTe, t));
}
X4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var Swe = /* @__PURE__ */ F(((e) => {
+var tTe = /* @__PURE__ */ F(((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) {
@@ -62166,26 +62661,26 @@ var Swe = /* @__PURE__ */ F(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), Cwe = (/* @__PURE__ */ F(((e, t) => {
- t.exports = Swe();
+})), nTe = (/* @__PURE__ */ F(((e, t) => {
+ t.exports = tTe();
})))(), Z4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Q4 = null, $4 = null, e3 = (e) => {
if (e === Q4 && Array.isArray($4)) return $4;
var t = [];
return I.Children.forEach(e, (e) => {
- uB(e) || ((0, Cwe.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
+ vB(e) || ((0, nTe.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
}), $4 = t, Q4 = e, t;
};
function t3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Z4(e)) : [Z4(t)], e3(e).forEach((e) => {
- var t = Qz(e, "type.displayName") || Qz(e, "type.name");
+ var t = oB(e, "type.displayName") || oB(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var n3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function wwe(e) {
+function rTe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -62198,7 +62693,7 @@ function wwe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var Twe, Ewe, Dwe, Owe, kwe;
+var iTe, aTe, oTe, sTe, cTe;
function r3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62213,26 +62708,26 @@ function i3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r3(Object(n), !0).forEach(function(t) {
- Awe(e, t, n[t]);
+ lTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Awe(e, t, n) {
- return (t = jwe(t)) in e ? Object.defineProperty(e, t, {
+function lTe(e, t, n) {
+ return (t = uTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jwe(e) {
- var t = Mwe(e, "string");
+function uTe(e) {
+ var t = dTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Mwe(e, t) {
+function dTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62255,29 +62750,29 @@ function o3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var s3 = (e, t, n, r, i) => {
- var a = n - r, o = eB(Twe ||= o3([
+ var a = n - r, o = cB(iTe ||= o3([
"M ",
",",
""
]), e, t);
- return o += eB(Ewe ||= o3([
+ return o += cB(aTe ||= o3([
"L ",
",",
""
- ]), e + n, t), o += eB(Dwe ||= o3([
+ ]), e + n, t), o += cB(oTe ||= o3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += eB(Owe ||= o3([
+ ]), e + n - a / 2, t + i), o += cB(sTe ||= o3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += eB(kwe ||= o3([
+ ]), e + n - a / 2 - r, t + i), o += cB(cTe ||= o3([
"L ",
",",
" Z"
]), e, t), o;
-}, Nwe = {
+}, fTe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -62287,16 +62782,16 @@ var s3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, Pwe = (e) => {
- var t = CB(e, Nwe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = KJ(e, "trapezoid-");
+}, pTe = (e) => {
+ var t = jB(e, fTe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = KJ(e, "trapezoid-");
if ((0, I.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
e && m(e);
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
- var x = Xm("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", a3({}, YR(t), {
+ var x = bh("recharts-trapezoid", s);
+ if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", a3({}, rz(t), {
className: x,
d: s3(n, r, i, a, o)
})));
@@ -62310,35 +62805,35 @@ var s3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = cB(S, i, e), c = cB(C, a, e), l = cB(w, o, e), u = cB(T, n, e), d = cB(E, r, e);
+ var s = gB(S, i, e), c = gB(C, a, e), l = gB(w, o, e), u = gB(T, n, e), d = gB(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ I.createElement("path", a3({}, YR(t), {
+ return /*#__PURE__*/ I.createElement("path", a3({}, rz(t), {
className: x,
d: s3(u, d, s, c, l),
ref: f,
style: i3(i3({}, p), t.style)
}));
});
-}, Fwe = [
+}, mTe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function Iwe(e, t) {
+function hTe(e, t) {
if (e == null) return {};
- var n, r, i = Lwe(e, t);
+ var n, r, i = gTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Lwe(e, t) {
+function gTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62361,26 +62856,26 @@ function l3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? c3(Object(n), !0).forEach(function(t) {
- Rwe(e, t, n[t]);
+ _Te(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rwe(e, t, n) {
- return (t = zwe(t)) in e ? Object.defineProperty(e, t, {
+function _Te(e, t, n) {
+ return (t = vTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zwe(e) {
- var t = Bwe(e, "string");
+function vTe(e) {
+ var t = yTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bwe(e, t) {
+function yTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62390,34 +62885,34 @@ function Bwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Vwe(e, t) {
+function bTe(e, t) {
return l3(l3({}, t), e);
}
-function Hwe(e, t) {
+function xTe(e, t) {
return e === "symbols";
}
function u3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ I.createElement(eY, n);
- case "trapezoid": return /*#__PURE__*/ I.createElement(Pwe, n);
+ case "trapezoid": return /*#__PURE__*/ I.createElement(pTe, n);
case "sector": return /*#__PURE__*/ I.createElement(dY, n);
case "symbols":
- if (Hwe(t, n)) return /*#__PURE__*/ I.createElement(vB, n);
+ if (xTe(t, n)) return /*#__PURE__*/ I.createElement(EB, n);
break;
case "curve": return /*#__PURE__*/ I.createElement(DJ, n);
default: return null;
}
}
-function Uwe(e) {
+function STe(e) {
return /*#__PURE__*/ (0, I.isValidElement)(e) ? e.props : e;
}
function d3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Iwe(e, Fwe), o;
- if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, l3(l3({}, a), Uwe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = hTe(e, mTe), o;
+ if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, l3(l3({}, a), STe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (wwe(t) && typeof t != "boolean") {
- var s = Vwe(t, a);
+ else if (rTe(t) && typeof t != "boolean") {
+ var s = bTe(t, a);
o = /*#__PURE__*/ I.createElement(u3, {
shapeType: n,
elementProps: s
@@ -62429,12 +62924,12 @@ function d3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ I.createElement($R, { className: r }, o) : /*#__PURE__*/ I.createElement($R, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ I.createElement(sz, { className: r }, o) : /*#__PURE__*/ I.createElement(sz, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var f3 = (e, t, n) => {
- var r = XB();
+ var r = iV();
return (i, a) => (o) => {
e?.(i, a, o), r(n0({
activeIndex: String(a),
@@ -62444,14 +62939,14 @@ var f3 = (e, t, n) => {
}));
};
}, p3 = (e) => {
- var t = XB();
+ var t = iV();
return (n, r) => (i) => {
- e?.(n, r, i), t(Obe());
+ e?.(n, r, i), t(sxe());
};
}, m3 = (e, t, n) => {
- var r = XB();
+ var r = iV();
return (i, a) => (o) => {
- e?.(i, a, o), r(kbe({
+ e?.(i, a, o), r(cxe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -62462,9 +62957,9 @@ var f3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function h3(e) {
- var { tooltipEntrySettings: t } = e, n = XB(), r = hG(), i = (0, I.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = iV(), r = NG(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(wbe(t)) : i.current !== t && n(Tbe({
+ r || (i.current === null ? n(rxe(t)) : i.current !== t && n(ixe({
prev: i.current,
next: t
})), i.current = t);
@@ -62473,15 +62968,15 @@ function h3(e) {
n,
r
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(Ebe(i.current)), null);
+ i.current &&= (n(axe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function g3(e) {
- var { legendPayload: t } = e, n = XB(), r = hG(), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = iV(), r = NG(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(tq(t)) : i.current !== t && n(nq({
+ r || (i.current === null ? n(yq(t)) : i.current !== t && n(bq({
prev: i.current,
next: t
})), i.current = t);
@@ -62490,13 +62985,13 @@ function g3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(rq(i.current)), null);
+ i.current &&= (n(xq(i.current)), null);
}, [n]), null;
}
function _3(e) {
- var { legendPayload: t } = e, n = XB(), r = Q(YG), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = iV(), r = Q(pK), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(tq(t)) : i.current !== t && n(nq({
+ (r === "centric" || r === "radial") && (i.current === null ? n(yq(t)) : i.current !== t && n(bq({
prev: i.current,
next: t
})), i.current = t);
@@ -62505,27 +63000,27 @@ function _3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(rq(i.current)), null);
+ i.current &&= (n(xq(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var Wwe = I.useId ?? (() => {
- var [e] = I.useState(() => aB("uid-"));
+var CTe = I.useId ?? (() => {
+ var [e] = I.useState(() => pB("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function Gwe(e, t) {
- var n = Wwe();
+function wTe(e, t) {
+ var n = CTe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var Kwe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
- var { id: t, type: n, children: r } = e, i = Gwe(`recharts-${n}`, t);
- return /*#__PURE__*/ I.createElement(Kwe.Provider, { value: i }, r(i));
-}, y3 = wU({
+var TTe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = wTe(`recharts-${n}`, t);
+ return /*#__PURE__*/ I.createElement(TTe.Provider, { value: i }, r(i));
+}, y3 = HU({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -62534,79 +63029,79 @@ var Kwe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(ZK(t.payload));
+ e.cartesianItems.push(hq(t.payload));
},
- prepare: lU()
+ prepare: DU()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = YH(e).cartesianItems.indexOf(ZK(n));
- i > -1 && (e.cartesianItems[i] = ZK(r));
+ var { prev: n, next: r } = t.payload, i = pU(e).cartesianItems.indexOf(hq(n));
+ i > -1 && (e.cartesianItems[i] = hq(r));
},
- prepare: lU()
+ prepare: DU()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = YH(e).cartesianItems.indexOf(ZK(t.payload));
+ var n = pU(e).cartesianItems.indexOf(hq(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: lU()
+ prepare: DU()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(ZK(t.payload));
+ e.polarItems.push(hq(t.payload));
},
- prepare: lU()
+ prepare: DU()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = YH(e).polarItems.indexOf(ZK(t.payload));
+ var n = pU(e).polarItems.indexOf(hq(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: lU()
+ prepare: DU()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = YH(e).polarItems.indexOf(ZK(n));
- i > -1 && (e.polarItems[i] = ZK(r));
+ var { prev: n, next: r } = t.payload, i = pU(e).polarItems.indexOf(hq(n));
+ i > -1 && (e.polarItems[i] = hq(r));
},
- prepare: lU()
+ prepare: DU()
}
}
-}), { addCartesianGraphicalItem: qwe, replaceCartesianGraphicalItem: Jwe, removeCartesianGraphicalItem: Ywe, addPolarGraphicalItem: Xwe, removePolarGraphicalItem: Zwe, replacePolarGraphicalItem: Qwe } = y3.actions, $we = y3.reducer, b3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = XB(), n = (0, I.useRef)(null);
+}), { addCartesianGraphicalItem: ETe, replaceCartesianGraphicalItem: DTe, removeCartesianGraphicalItem: OTe, addPolarGraphicalItem: kTe, removePolarGraphicalItem: ATe, replacePolarGraphicalItem: jTe } = y3.actions, MTe = y3.reducer, b3 = /*#__PURE__*/ (0, I.memo)((e) => {
+ var t = iV(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(qwe(e)) : n.current !== e && t(Jwe({
+ n.current === null ? t(ETe(e)) : n.current !== e && t(DTe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(Ywe(n.current)), null);
+ n.current &&= (t(OTe(n.current)), null);
}, [t]), null;
}), x3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = XB(), n = (0, I.useRef)(null);
+ var t = iV(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(Xwe(e)) : n.current !== e && t(Qwe({
+ n.current === null ? t(kTe(e)) : n.current !== e && t(jTe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(Zwe(n.current)), null);
+ n.current &&= (t(ATe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function eTe(e) {
+function NTe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function tTe(e) {
- if (!(!kB(e) || e.length === 0)) return eTe(L4(e));
+function PTe(e) {
+ if (!(!LB(e) || e.length === 0)) return NTe(L4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var nTe = ["points"];
+var FTe = ["points"];
function S3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62621,26 +63116,26 @@ function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S3(Object(n), !0).forEach(function(t) {
- rTe(e, t, n[t]);
+ ITe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rTe(e, t, n) {
- return (t = iTe(t)) in e ? Object.defineProperty(e, t, {
+function ITe(e, t, n) {
+ return (t = LTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iTe(e) {
- var t = aTe(e, "string");
+function LTe(e) {
+ var t = RTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aTe(e, t) {
+function RTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62659,16 +63154,16 @@ function w3() {
return e;
}, w3.apply(null, arguments);
}
-function oTe(e, t) {
+function zTe(e, t) {
if (e == null) return {};
- var n, r, i = sTe(e, t);
+ var n, r, i = BTe(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 sTe(e, t) {
+function BTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62677,20 +63172,20 @@ function sTe(e, t) {
}
return n;
}
-function cTe(e) {
+function VTe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, I.isValidElement)(t)) return /*#__PURE__*/ (0, I.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Xm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = oTe(a, nTe);
+ var i = bh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = zTe(a, FTe);
return /*#__PURE__*/ I.createElement(v4, w3({}, s, { className: i }));
}
-function lTe(e, t) {
+function HTe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function T3(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = BY.scatter } = e;
- if (!lTe(t, n)) return null;
- var u = n3(n), d = _pe(n), f = t.map((e, r) => {
+ if (!HTe(t, n)) return null;
+ var u = n3(n), d = Hpe(n), f = t.map((e, r) => {
var s = C3(C3(C3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -62700,14 +63195,14 @@ function T3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ I.createElement(cTe, {
+ return /*#__PURE__*/ I.createElement(VTe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement($R, w3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(sz, w3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -62725,26 +63220,26 @@ function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E3(Object(n), !0).forEach(function(t) {
- uTe(e, t, n[t]);
+ UTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uTe(e, t, n) {
- return (t = dTe(t)) in e ? Object.defineProperty(e, t, {
+function UTe(e, t, n) {
+ return (t = WTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dTe(e) {
- var t = fTe(e, "string");
+function WTe(e) {
+ var t = GTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fTe(e, t) {
+function GTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62754,7 +63249,7 @@ function fTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var O3 = wU({
+var O3 = HU({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -62764,60 +63259,60 @@ var O3 = wU({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = ZK(t.payload);
+ e.xAxis[t.payload.id] = hq(t.payload);
},
- prepare: lU()
+ prepare: DU()
},
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] = ZK(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = hq(r));
},
- prepare: lU()
+ prepare: DU()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: lU()
+ prepare: DU()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = ZK(t.payload);
+ e.yAxis[t.payload.id] = hq(t.payload);
},
- prepare: lU()
+ prepare: DU()
},
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] = ZK(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = hq(r));
},
- prepare: lU()
+ prepare: DU()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: lU()
+ prepare: DU()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = ZK(t.payload);
+ e.zAxis[t.payload.id] = hq(t.payload);
},
- prepare: lU()
+ prepare: DU()
},
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] = ZK(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = hq(r));
},
- prepare: lU()
+ prepare: DU()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: lU()
+ prepare: DU()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -62832,15 +63327,15 @@ var O3 = wU({
}
}
}
-}), { addXAxis: pTe, replaceXAxis: mTe, removeXAxis: hTe, addYAxis: gTe, replaceYAxis: _Te, removeYAxis: vTe, addZAxis: yTe, replaceZAxis: bTe, removeZAxis: xTe, updateYAxisWidth: STe } = O3.actions, CTe = O3.reducer, wTe = $([
- $([dG], (e) => ({
+}), { addXAxis: KTe, replaceXAxis: qTe, removeXAxis: JTe, addYAxis: YTe, replaceYAxis: XTe, removeYAxis: ZTe, addZAxis: QTe, replaceZAxis: $Te, removeZAxis: eEe, updateYAxisWidth: tEe } = O3.actions, nEe = O3.reducer, rEe = $([
+ $([kG], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- JW,
- YW
+ fG,
+ pG
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -62848,7 +63343,7 @@ var O3 = wU({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), k3 = () => Q(wTe), TTe = () => Q(ixe);
+}), k3 = () => Q(rEe), iEe = () => Q(Lxe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function A3(e, t) {
@@ -62865,26 +63360,26 @@ 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) {
- ETe(e, t, n[t]);
+ aEe(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 ETe(e, t, n) {
- return (t = DTe(t)) in e ? Object.defineProperty(e, t, {
+function aEe(e, t, n) {
+ return (t = oEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DTe(e) {
- var t = OTe(e, "string");
+function oEe(e) {
+ var t = sEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OTe(e, t) {
+function sEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62894,7 +63389,7 @@ function OTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kTe = (e) => {
+var cEe = (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 = j3(j3(j3({}, {
@@ -62908,17 +63403,17 @@ var kTe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), JR(i)), bB(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
- return /*#__PURE__*/ I.createElement($R, {
+ }), nz(i)), OB(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
+ return /*#__PURE__*/ I.createElement(sz, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function M3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BY.activeDot } = e, s = Q(P0), c = TTe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BY.activeDot } = e, s = Q(P0), c = iEe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return uB(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(kTe, {
+ return vB(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(cEe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -62943,26 +63438,26 @@ function P3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N3(Object(n), !0).forEach(function(t) {
- ATe(e, t, n[t]);
+ lEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ATe(e, t, n) {
- return (t = jTe(t)) in e ? Object.defineProperty(e, t, {
+function lEe(e, t, n) {
+ return (t = uEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jTe(e) {
- var t = MTe(e, "string");
+function uEe(e) {
+ var t = dEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MTe(e, t) {
+function dEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62972,13 +63467,13 @@ function MTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F3 = (e, t) => O4(e, "radiusAxis", t), NTe = $([F3], (e) => {
+var F3 = (e, t) => O4(e, "radiusAxis", t), fEe = $([F3], (e) => {
if (e != null) return { scale: e };
-}), PTe = $([XY, F3], (e, t) => {
+}), pEe = $([XY, F3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), FTe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => YY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), ITe = $([I3, L3], (e, t) => {
+}), mEe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => YY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), hEe = $([I3, L3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), LTe = (e, t, n, r) => A4(e, "angleAxis", n, r), RTe = $([
+}), gEe = (e, t, n, r) => A4(e, "angleAxis", n, r), _Ee = $([
I3,
L3,
rX
@@ -62990,30 +63485,30 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), NTe = $([F3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), zTe = (e, t, n, r, i) => i, BTe = $([
- YG,
- PTe,
- FTe,
- ITe,
- LTe
-], (e, t, n, r, i) => OW(e, "radiusAxis") ? UW(t, n, !1) : UW(r, i, !1)), VTe = $([
- NTe,
- RTe,
+}), vEe = (e, t, n, r, i) => i, yEe = $([
+ pK,
+ pEe,
+ mEe,
+ hEe,
+ gEe
+], (e, t, n, r, i) => KW(e, "radiusAxis") ? sG(t, n, !1) : sG(r, i, !1)), bEe = $([
+ fEe,
+ _Ee,
hY,
- $([y4, zTe], (e, t) => {
+ $([y4, vEe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- BTe
+ yEe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return ZTe({
+ if (e != null && t != null && a != null && i != null && r != null) return AEe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), HTe = ["id"];
+}), xEe = ["id"];
function R3() {
return R3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63037,26 +63532,26 @@ function B3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z3(Object(n), !0).forEach(function(t) {
- UTe(e, t, n[t]);
+ SEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UTe(e, t, n) {
- return (t = WTe(t)) in e ? Object.defineProperty(e, t, {
+function SEe(e, t, n) {
+ return (t = CEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WTe(e) {
- var t = GTe(e, "string");
+function CEe(e) {
+ var t = wEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GTe(e, t) {
+function wEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63066,16 +63561,16 @@ function GTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function KTe(e, t) {
+function TEe(e, t) {
if (e == null) return {};
- var n, r, i = qTe(e, t);
+ var n, r, i = EEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function qTe(e, t) {
+function EEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63087,27 +63582,27 @@ function qTe(e, t) {
function V3(e, t) {
return e && e !== "none" ? e : t;
}
-var JTe = (e) => {
+var DEe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: V3(r, i),
- value: GW(n, t),
+ value: lG(n, t),
payload: e
}];
-}, YTe = /*#__PURE__*/ I.memo((e) => {
+}, OEe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: pB,
+ getPosition: xB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: GW(a, t),
+ name: lG(a, t),
hide: o,
type: s,
color: V3(n, i),
@@ -63117,8 +63612,8 @@ var JTe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: l });
});
-function XTe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = qR(KTe(n, HTe));
+function kEe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = tz(TEe(n, xEe));
return /*#__PURE__*/ I.createElement(T3, {
points: t,
dot: r,
@@ -63128,10 +63623,10 @@ function XTe(e) {
baseProps: o
});
}
-function ZTe(e) {
+function AEe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = EW(e, n.dataKey, r), d = EW(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? tTe(d) : d, m = uB(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = WW(e, n.dataKey, r), d = WW(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? PTe(d) : d, m = vB(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, aY(o, s, m, f)), {}, {
name: a,
value: d,
@@ -63145,7 +63640,7 @@ function ZTe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = uB(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = vB(n) ? 0 : t.scale.map(n) ?? 0;
d.push(B3(B3({}, e), {}, { radius: r }, aY(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -63154,7 +63649,7 @@ function ZTe(e) {
baseLinePoints: d
};
}
-function QTe(e) {
+function jEe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -63174,10 +63669,10 @@ function QTe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, r);
}
-function $Te(e) {
+function MEe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, R3({}, YR(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, R3({}, rz(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -63190,7 +63685,7 @@ function $Te(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ I.createElement($R, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(XTe, {
+ return /*#__PURE__*/ I.createElement(sz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(kEe, {
props: r,
points: t
}));
@@ -63198,20 +63693,20 @@ function $Te(e) {
var H3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? B3(B3({}, r), {}, {
- x: cB(a.x, r.x, n),
- y: cB(a.y, r.y, n)
+ x: gB(a.x, r.x, n),
+ y: gB(a.y, r.y, n)
}) : B3(B3({}, r), {}, {
- x: cB(r.cx, r.x, n),
- y: cB(r.cy, r.y, n)
+ x: gB(r.cx, r.x, n),
+ y: gB(r.cy, r.y, n)
});
};
-function eEe(e) {
+function NEe(e) {
var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = KJ(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, I.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ I.createElement(QTe, {
+ return /*#__PURE__*/ I.createElement(jEe, {
showLabels: y,
points: i
}, /*#__PURE__*/ I.createElement(GJ, {
@@ -63225,22 +63720,22 @@ function eEe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(H3(f, m, e)), s = e === 1 ? a : a?.map(H3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement($Te, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(MEe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function tEe(e) {
+function PEe(e) {
var t = (0, I.useRef)(void 0), n = (0, I.useRef)(void 0);
- return /*#__PURE__*/ I.createElement(eEe, {
+ return /*#__PURE__*/ I.createElement(NEe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var nEe = {
+var FEe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -63254,27 +63749,27 @@ var nEe = {
radiusAxisId: 0,
zIndex: BY.area
};
-function rEe(e) {
+function IEe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
- var i = Xm("recharts-radar", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement($R, { className: i }, /*#__PURE__*/ I.createElement(tEe, e)), /*#__PURE__*/ I.createElement(M3, {
+ var i = bh("recharts-radar", n);
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: i }, /*#__PURE__*/ I.createElement(PEe, e)), /*#__PURE__*/ I.createElement(M3, {
points: r,
mainColor: V3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function iEe(e) {
- var t = hG(), n = Q((n) => VTe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ I.createElement(rEe, R3({}, e, {
+function LEe(e) {
+ var t = NG(), n = Q((n) => bEe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ I.createElement(IEe, R3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function U3(e) {
- var t = CB(e, nEe);
+ var t = jB(e, FEe);
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "radar"
@@ -63286,7 +63781,7 @@ function U3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ I.createElement(_3, { legendPayload: JTe(t) }), /*#__PURE__*/ I.createElement(YTe, {
+ }), /*#__PURE__*/ I.createElement(_3, { legendPayload: DEe(t) }), /*#__PURE__*/ I.createElement(OEe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -63295,7 +63790,7 @@ function U3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ I.createElement(iEe, R3({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(LEe, R3({}, t, { id: e }))));
}
U3.displayName = "Radar";
//#endregion
@@ -63319,7 +63814,7 @@ function K3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var q3 = (e, t, n) => {
var r = n ?? e;
- if (!uB(r)) return oB(r, t, 0);
+ if (!vB(r)) return mB(r, t, 0);
}, J3 = (e, t, n) => {
var r = {}, i = e.filter(cX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -63354,26 +63849,26 @@ function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y3(Object(n), !0).forEach(function(t) {
- aEe(e, t, n[t]);
+ REe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aEe(e, t, n) {
- return (t = oEe(t)) in e ? Object.defineProperty(e, t, {
+function REe(e, t, n) {
+ return (t = zEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oEe(e) {
- var t = sEe(e, "string");
+function zEe(e) {
+ var t = BEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sEe(e, t) {
+function BEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63383,11 +63878,11 @@ function sEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cEe(e, t, n, r, i) {
+function VEe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = oB(e, n, 0, !0), s, c = [];
- if (yW(r[0]?.barSize)) {
+ var o = mB(e, n, 0, !0), s, c = [];
+ if (LW(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 = {
@@ -63406,11 +63901,11 @@ function cEe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = oB(t, n, 0, !0);
+ var p = mB(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 = yW(i) ? Math.min(m, i) : m;
+ var h = LW(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -63424,7 +63919,7 @@ function cEe(e, t, n, r, i) {
}
}
var Z3 = (e, t, n, r, i, a, o) => {
- var s = uB(o) ? t : o, c = cEe(n, r, i === a ? a : i, e, s);
+ var s = vB(o) ? t : o, c = VEe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => X3(X3({}, e), {}, { position: X3(X3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Q3 = (e, t) => {
var n = oX(t);
@@ -63460,26 +63955,26 @@ function t6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? e6(Object(n), !0).forEach(function(t) {
- lEe(e, t, n[t]);
+ HEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lEe(e, t, n) {
- return (t = uEe(t)) in e ? Object.defineProperty(e, t, {
+function HEe(e, t, n) {
+ return (t = UEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uEe(e) {
- var t = dEe(e, "string");
+function UEe(e) {
+ var t = WEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dEe(e, t) {
+function WEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63491,30 +63986,30 @@ function dEe(e, t) {
}
var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
-}), r6 = (e, t) => wCe(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => YY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), r6 = (e, t) => rwe(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => YY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
}), a6 = (e, t, n) => A4(e, "angleAxis", n, !1), o6 = $([y4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), s6 = $([
- YG,
+ pK,
n6,
r6,
i6,
a6
-], (e, t, n, r, i) => OW(e, "radiusAxis") ? UW(t, n, !1) : UW(r, i, !1)), fEe = $([
+], (e, t, n, r, i) => KW(e, "radiusAxis") ? sG(t, n, !1) : sG(r, i, !1)), GEe = $([
i6,
n6,
- YG
+ pK
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return LW({ numericAxis: r });
-}), pEe = (e, t, n, r, i) => i, mEe = (e, t, n, r, i) => n, hEe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", gEe = $([$([
+ if (r != null && r.scale != null) return tG({ numericAxis: r });
+}), KEe = (e, t, n, r, i) => i, qEe = (e, t, n, r, i) => n, JEe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", YEe = $([$([
$([
$([
- YG,
+ pK,
y4,
- mEe,
- hEe
+ qEe,
+ JEe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(l6)),
NY,
() => void 0
@@ -63523,7 +64018,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
jY,
MY,
$([
- YG,
+ pK,
AY,
i6,
a6,
@@ -63531,8 +64026,8 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
r6,
c6
], (e, t, n, r, i, a, o) => {
- var s = uB(o) ? t : o;
- return e === "centric" ? UW(n, r, !0) ?? s ?? 0 : UW(i, a, !0) ?? s ?? 0;
+ var s = vB(o) ? t : o;
+ return e === "centric" ? sG(n, r, !0) ?? s ?? 0 : sG(i, a, !0) ?? s ?? 0;
}),
s6,
c6
@@ -63545,7 +64040,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
u6,
PY,
FY
-], i1), _Ee = $([
+], i1), XEe = $([
i6,
a6,
n6,
@@ -63553,17 +64048,17 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
mY,
o6,
s6,
- YG,
- fEe,
+ pK,
+ GEe,
rX,
- pEe,
- gEe,
- $([(e, t, n) => YG(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
+ KEe,
+ YEe,
+ $([(e, t, n) => pK(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
], (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 PEe({
+ return pDe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -63584,7 +64079,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), vEe = $([hY, (e, t) => t], (e, t) => {
+}), ZEe = $([hY, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -63598,20 +64093,20 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function f6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && yW(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && LW(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var yEe = [
+var QEe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], bEe = [
+], $Ee = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], xEe = ["value", "background"];
+], eDe = ["value", "background"];
function p6() {
return p6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63635,26 +64130,26 @@ function h6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m6(Object(n), !0).forEach(function(t) {
- SEe(e, t, n[t]);
+ tDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SEe(e, t, n) {
- return (t = CEe(t)) in e ? Object.defineProperty(e, t, {
+function tDe(e, t, n) {
+ return (t = nDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CEe(e) {
- var t = wEe(e, "string");
+function nDe(e) {
+ var t = rDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wEe(e, t) {
+function rDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63666,14 +64161,14 @@ function wEe(e, t) {
}
function g6(e, t) {
if (e == null) return {};
- var n, r, i = TEe(e, t);
+ var n, r, i = iDe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function TEe(e, t) {
+function iDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63683,7 +64178,7 @@ function TEe(e, t) {
return n;
}
var _6 = [];
-function EEe(e) {
+function aDe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -63700,15 +64195,15 @@ function EEe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ I.createElement(fCe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(GCe, { value: t ? i : void 0 }, r);
}
-function DEe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, yEe), l = qR(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, bEe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ I.createElement(EEe, {
+function oDe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, QEe), l = tz(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, $Ee), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ I.createElement(aDe, {
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 = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), xB(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), kB(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -63725,7 +64220,7 @@ function DEe(e) {
}, /*#__PURE__*/ I.createElement(K3, f)) : /*#__PURE__*/ I.createElement(K3, p6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }), n.children);
}
-function OEe(e) {
+function sDe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = KJ(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, I.useCallback)(() => {
@@ -63744,34 +64239,34 @@ function OEe(e) {
var i = e === 1 ? r : (r ?? _6).map((t, n) => {
var r = d && d[n];
if (r) return h6(h6({}, t), {}, {
- startAngle: cB(r.startAngle, t.startAngle, e),
- endAngle: cB(r.endAngle, t.endAngle, e)
+ startAngle: gB(r.startAngle, t.startAngle, e),
+ endAngle: gB(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return h6(h6({}, t), {}, { endAngle: cB(a, i, e) });
+ return h6(h6({}, t), {}, { endAngle: gB(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(DEe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(oDe, {
sectors: i ?? _6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function kEe(e) {
+function cDe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(OEe, {
+ return /*#__PURE__*/ I.createElement(sDe, {
props: e,
previousSectorsRef: t
});
}
-function AEe(e) {
- var t = Q((t) => vEe(t, e.legendType));
+function lDe(e) {
+ var t = Q((t) => ZEe(t, e.legendType));
return /*#__PURE__*/ I.createElement(_3, { legendPayload: t ?? [] });
}
-var jEe = /*#__PURE__*/ I.memo((e) => {
+var uDe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: pB,
+ getPosition: xB,
settings: {
graphicalItemId: l,
stroke: r,
@@ -63779,7 +64274,7 @@ var jEe = /*#__PURE__*/ I.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: GW(a, t),
+ name: lG(a, t),
hide: o,
type: c,
color: s,
@@ -63787,16 +64282,16 @@ var jEe = /*#__PURE__*/ I.memo((e) => {
}
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: u });
-}), MEe = class extends I.PureComponent {
+}), dDe = class extends I.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = JR(this.props.background);
+ var { cornerRadius: t } = this.props, n = nz(this.props.background);
return /*#__PURE__*/ I.createElement(t2, { zIndex: f6(this.props.background, BY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = g6(e, xEe);
+ var { value: i, background: a } = e, o = g6(e, eDe);
if (!a) return null;
- var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), xB(this.props, e, r)), {}, {
+ var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), kB(this.props, e, r)), {}, {
index: r,
- className: Xm("recharts-radial-bar-background-sector", String(n?.className)),
+ className: bh("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
@@ -63806,18 +64301,18 @@ var jEe = /*#__PURE__*/ I.memo((e) => {
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
- var i = Xm("recharts-area", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement($R, { className: i }, r && /*#__PURE__*/ I.createElement($R, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement($R, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(kEe, this.props))));
+ var i = bh("recharts-area", n);
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: i }, r && /*#__PURE__*/ I.createElement(sz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(sz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(cDe, this.props))));
}
};
-function NEe(e) {
+function fDe(e) {
var t = I.useMemo(() => t3(e.children, v2), [e.children]), n = I.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: PW(e.stackId),
+ stackId: QW(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -63832,8 +64327,8 @@ function NEe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => _Ee(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jEe, {
+ ]), r = Q((r) => XEe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(uDe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -63843,7 +64338,7 @@ function NEe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ I.createElement(MEe, p6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ I.createElement(dDe, p6({}, e, { sectors: r })));
}
var v6 = {
angleAxisId: 0,
@@ -63862,12 +64357,12 @@ var v6 = {
radiusAxisId: 0,
zIndex: BY.bar
};
-function PEe(e) {
+function pDe(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 ? _6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = jW(n[r + t], i) : (b = EW(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 = IW({
+ if (n ? b = YW(n[r + t], i) : (b = WW(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 = eG({
axis: c,
ticks: l,
bandSize: u,
@@ -63878,7 +64373,7 @@ function PEe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = tB(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = lB(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -63890,7 +64385,7 @@ function PEe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = IW({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = eG({
axis: f,
ticks: g,
bandSize: u,
@@ -63901,7 +64396,7 @@ function PEe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = tB(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = lB(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -63918,7 +64413,7 @@ function PEe(e) {
});
}
function y6(e) {
- var t = CB(e, v6);
+ var t = jB(e, v6);
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "radialBar"
@@ -63930,17 +64425,17 @@ function y6(e) {
hide: t.hide ?? v6.hide,
angleAxisId: t.angleAxisId ?? v6.angleAxisId,
radiusAxisId: t.radiusAxisId ?? v6.radiusAxisId,
- stackId: PW(t.stackId),
+ stackId: QW(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ I.createElement(AEe, t), /*#__PURE__*/ I.createElement(NEe, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(lDe, t), /*#__PURE__*/ I.createElement(fDe, p6({}, t, { id: e }))));
}
y6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var b6 = (e) => {
- var { chartData: t } = e, n = XB(), r = hG();
+ var { chartData: t } = e, n = iV(), r = NG();
return (0, I.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
n(f2(void 0));
}), [
@@ -63959,13 +64454,13 @@ var b6 = (e) => {
bottom: 0,
left: 0
}
-}, S6 = wU({
+}, S6 = HU({
name: "brush",
initialState: x6,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? x6 : t.payload;
} }
-}), { setBrushSettings: FEe } = S6.actions, IEe = S6.reducer, LEe = (e, t) => {
+}), { setBrushSettings: mDe } = S6.actions, hDe = S6.reducer, gDe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -63973,9 +64468,9 @@ var b6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, REe = (e) => {
+}, _De = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return LEe({
+ return gDe({
x: t,
y: n
}, {
@@ -63983,13 +64478,13 @@ var b6 = (e) => {
y: i
});
};
-function zEe(e) {
+function vDe(e) {
return (e % 180 + 180) % 180;
}
-var BEe = function(e) {
- var { width: t, height: n } = e, r = zEe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var yDe = function(e) {
+ var { width: t, height: n } = e, r = vDe(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);
-}, C6 = wU({
+}, C6 = HU({
name: "referenceElements",
initialState: {
dots: [],
@@ -64001,26 +64496,26 @@ var BEe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = YH(e).dots.findIndex((e) => e === t.payload);
+ var n = pU(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 = YH(e).areas.findIndex((e) => e === t.payload);
+ var n = pU(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(ZK(t.payload));
+ e.lines.push(hq(t.payload));
},
removeLine: (e, t) => {
- var n = YH(e).lines.findIndex((e) => e === t.payload);
+ var n = pU(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: VEe, removeDot: HEe, addArea: UEe, removeArea: WEe, addLine: GEe, removeLine: KEe } = C6.actions, qEe = C6.reducer, w6 = /*#__PURE__*/ (0, I.createContext)(void 0), JEe = (e) => {
- var { children: t } = e, [n] = (0, I.useState)(`${aB("recharts")}-clip`), r = k3();
+}), { addDot: bDe, removeDot: xDe, addArea: SDe, removeArea: CDe, addLine: wDe, removeLine: TDe } = C6.actions, EDe = C6.reducer, w6 = /*#__PURE__*/ (0, I.createContext)(void 0), DDe = (e) => {
+ var { children: t } = e, [n] = (0, I.useState)(`${pB("recharts")}-clip`), r = k3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ I.createElement(w6.Provider, { value: n }, /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: n }, /*#__PURE__*/ I.createElement("rect", {
@@ -64029,7 +64524,7 @@ var BEe = function(e) {
height: s,
width: o
}))), t);
-}, YEe = () => (0, I.useContext)(w6), XEe = class {
+}, ODe = () => (0, I.useContext)(w6), kDe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -64069,26 +64564,26 @@ 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) {
- ZEe(e, t, n[t]);
+ ADe(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 ZEe(e, t, n) {
- return (t = QEe(t)) in e ? Object.defineProperty(e, t, {
+function ADe(e, t, n) {
+ return (t = jDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QEe(e) {
- var t = $Ee(e, "string");
+function jDe(e) {
+ var t = MDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Ee(e, t) {
+function MDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64107,18 +64602,18 @@ function D6() {
return e;
}, D6.apply(null, arguments);
}
-var eDe = (e, t) => {
+var NDe = (e, t) => {
var n;
if (/*#__PURE__*/ I.isValidElement(e)) n = /*#__PURE__*/ I.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!yW(t.x1) || !yW(t.y1) || !yW(t.x2) || !yW(t.y2)) return null;
+ if (!LW(t.x1) || !LW(t.y1) || !LW(t.x2) || !LW(t.y2)) return null;
n = /*#__PURE__*/ I.createElement("line", D6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, tDe = (e, t, n, r, i, a) => {
+}, PDe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!yW(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!LW(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -64127,9 +64622,9 @@ var eDe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, nDe = (e, t, n, r, i, a) => {
+}, FDe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!yW(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!LW(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -64138,7 +64633,7 @@ var eDe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, rDe = (e, t, n, r) => {
+}, IDe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -64147,43 +64642,43 @@ var eDe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, iDe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = iB(s);
- return iB(c) ? tDe(c, u, r, a, t, n) : d ? nDe(s, u, r, i, e, n) : l != null && l.length === 2 ? rDe(l, u, r, new XEe({
+}, LDe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = fB(s);
+ return fB(c) ? PDe(c, u, r, a, t, n) : d ? FDe(s, u, r, i, e, n) : l != null && l.length === 2 ? IDe(l, u, r, new kDe({
x: e,
y: t
})) : null;
};
-function aDe(e) {
- var t = XB();
- return (0, I.useEffect)(() => (t(GEe(e)), () => {
- t(KEe(e));
+function RDe(e) {
+ var t = iV();
+ return (0, I.useEffect)(() => (t(wDe(e)), () => {
+ t(TDe(e));
})), null;
}
-function oDe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = hG(), s = YEe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = UG();
+function zDe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = NG(), s = ODe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = sK();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = iDe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = LDe(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 = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, YR(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, rz(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = REe({
+ }), x = _De({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement($R, { className: Xm("recharts-reference-line", i) }, eDe(r, b), /*#__PURE__*/ I.createElement(Z2, D6({}, x, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-reference-line", i) }, NDe(r, b), /*#__PURE__*/ I.createElement(Z2, D6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ I.createElement(a4, { label: e.label }), e.children)));
}
-var sDe = {
+var BDe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -64196,15 +64691,15 @@ var sDe = {
zIndex: BY.line
};
function O6(e) {
- var t = CB(e, sDe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(aDe, {
+ var t = jB(e, BDe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(RDe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ I.createElement(oDe, t));
+ }), /*#__PURE__*/ I.createElement(zDe, t));
}
O6.displayName = "ReferenceLine";
//#endregion
@@ -64220,13 +64715,13 @@ function k6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function cDe(e, t, n) {
- return BEe({
+function VDe(e, t, n) {
+ return yDe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function lDe(e, t, n) {
+function HDe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -64241,12 +64736,12 @@ function A6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function uDe(e, t) {
+function UDe(e, t) {
return k6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function dDe(e, t, n, r, i) {
+function WDe(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: k6(r, l) };
@@ -64255,7 +64750,7 @@ function dDe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function fDe(e, t, n, r, i) {
+function GDe(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++) {
@@ -64292,26 +64787,26 @@ function M6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j6(Object(n), !0).forEach(function(t) {
- pDe(e, t, n[t]);
+ KDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pDe(e, t, n) {
- return (t = mDe(t)) in e ? Object.defineProperty(e, t, {
+function KDe(e, t, n) {
+ return (t = qDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mDe(e) {
- var t = hDe(e, "string");
+function qDe(e) {
+ var t = JDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hDe(e, t) {
+function JDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64321,7 +64816,7 @@ function hDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gDe(e, t, n, r, i) {
+function YDe(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;
@@ -64334,7 +64829,7 @@ function gDe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function _De(e, t, n, r, i, a) {
+function XDe(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];
@@ -64358,7 +64853,7 @@ function _De(e, t, n, r, i, a) {
function N6(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) || iJ.isSsr) return uDe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || pJ.isSsr) return UDe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
fontSize: t,
letterSpacing: n
@@ -64367,19 +64862,19 @@ function N6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? cDe(w2(i, {
+ return p === "width" ? VDe(w2(i, {
fontSize: t,
letterSpacing: n
}), m, d) : w2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? tB(_.coordinate - g.coordinate) : 1, y = lDe(a, v, p);
- return c === "equidistantPreserveStart" ? dDe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? fDe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? _De(v, y, h, i, o, c === "preserveStartEnd") : gDe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? lB(_.coordinate - g.coordinate) : 1, y = HDe(a, v, p);
+ return c === "equidistantPreserveStart" ? WDe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? GDe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? XDe(v, y, h, i, o, c === "preserveStartEnd") : YDe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var vDe = (e) => {
+var ZDe = (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) => {
@@ -64392,7 +64887,7 @@ var vDe = (e) => {
return Math.round(l);
}
return 0;
-}, P6 = wU({
+}, P6 = HU({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -64401,14 +64896,14 @@ var vDe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = ZK(i);
+ e[n][r] = hq(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: yDe, removeRenderedTicks: bDe } = P6.actions, xDe = P6.reducer, SDe = [
+}), { setRenderedTicks: QDe, removeRenderedTicks: $De } = P6.actions, eOe = P6.reducer, tOe = [
"axisLine",
"width",
"height",
@@ -64418,16 +64913,16 @@ var vDe = (e) => {
"axisType",
"axisId"
];
-function CDe(e, t) {
+function nOe(e, t) {
if (e == null) return {};
- var n, r, i = wDe(e, t);
+ var n, r, i = rOe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function wDe(e, t) {
+function rOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64459,26 +64954,26 @@ function L6(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) {
- TDe(e, t, n[t]);
+ iOe(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 TDe(e, t, n) {
- return (t = EDe(t)) in e ? Object.defineProperty(e, t, {
+function iOe(e, t, n) {
+ return (t = aOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EDe(e) {
- var t = DDe(e, "string");
+function aOe(e) {
+ var t = oOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DDe(e, t) {
+function oOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64512,10 +65007,10 @@ var R6 = {
interval: "preserveEnd",
zIndex: BY.axis
};
-function ODe(e) {
+function sOe(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 = L6(L6(L6({}, c), qR(s)), {}, { fill: "none" });
+ var l = L6(L6(L6({}, c), tz(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = L6(L6({}, l), {}, {
@@ -64533,9 +65028,9 @@ function ODe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ I.createElement("line", F6({}, l, { className: Xm("recharts-cartesian-axis-line", Qz(s, "className")) }));
+ return /*#__PURE__*/ I.createElement("line", F6({}, l, { className: bh("recharts-cartesian-axis-line", oB(s, "className")) }));
}
-function kDe(e, t, n, r, i, a, o, s, c) {
+function cOe(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":
@@ -64562,14 +65057,14 @@ function kDe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ADe(e, t) {
+function lOe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function jDe(e, t) {
+function uOe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -64577,19 +65072,19 @@ function jDe(e, t) {
default: return t ? "end" : "start";
}
}
-function MDe(e) {
- var { option: t, tickProps: n, value: r } = e, i, a = Xm(n.className, "recharts-cartesian-axis-tick-value");
+function dOe(e) {
+ var { option: t, tickProps: n, value: r } = e, i, a = bh(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ I.isValidElement(t)) i = /*#__PURE__*/ I.cloneElement(t, L6(L6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(L6(L6({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Xm(o, z4(t))), i = /*#__PURE__*/ I.createElement(U2, F6({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = bh(o, z4(t))), i = /*#__PURE__*/ I.createElement(U2, F6({}, n, { className: o }), r);
}
return i;
}
-function NDe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = XB();
- return (0, I.useEffect)(() => r == null || n == null ? pB : (i(yDe({
+function fOe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = iV();
+ return (0, I.useEffect)(() => r == null || n == null ? xB : (i(QDe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -64599,7 +65094,7 @@ function NDe(e) {
axisId: r,
axisType: n
})), () => {
- i(bDe({
+ i($De({
axisId: r,
axisType: n
}));
@@ -64610,15 +65105,15 @@ function NDe(e) {
n
]), null;
}
-var PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = qR(b), E = JR(r), D = L2(T.textAnchor) ? T.textAnchor : ADe(u, d), O = jDe(u, d), k = {};
+var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = tz(b), E = nz(r), D = L2(T.textAnchor) ? T.textAnchor : lOe(u, d), O = uOe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, kDe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, cOe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ I.createElement($R, {
+ return /*#__PURE__*/ I.createElement(sz, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ I.createElement("line", F6({}, A, n, { className: Xm("recharts-cartesian-axis-tick-line", Qz(i, "className")) })));
+ }, i && /*#__PURE__*/ I.createElement("line", F6({}, A, n, { className: bh("recharts-cartesian-axis-tick-line", oB(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = L6(L6({}, L6(L6(L6(L6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -64631,16 +65126,16 @@ var PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ I.createElement($R, F6({
+ return /*#__PURE__*/ I.createElement(sz, F6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, xB(x, n, t)), r && /*#__PURE__*/ I.createElement(MDe, {
+ }, kB(x, n, t)), r && /*#__PURE__*/ I.createElement(dOe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(NDe, {
+ return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(fOe, {
ticks: w,
axisId: C,
axisType: S
@@ -64648,9 +65143,9 @@ var PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), FDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = CDe(e, SDe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
- (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => vDe({
+}), mOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = nOe(e, tOe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
+ (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => ZDe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -64668,7 +65163,7 @@ var PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement($R, { className: Xm("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(ODe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(sz, { className: bh("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(sOe, {
x: e.x,
y: e.y,
width: r,
@@ -64676,8 +65171,8 @@ var PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: qR(e)
- }), /*#__PURE__*/ I.createElement(PDe, {
+ otherSvgProps: tz(e)
+ }), /*#__PURE__*/ I.createElement(pOe, {
ref: g,
axisType: c,
events: u,
@@ -64713,19 +65208,19 @@ var PDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), z6 = /*#__PURE__*/ I.forwardRef((e, t) => {
- var n = CB(e, R6);
- return /*#__PURE__*/ I.createElement(FDe, F6({}, n, { ref: t }));
+ var n = jB(e, R6);
+ return /*#__PURE__*/ I.createElement(mOe, F6({}, n, { ref: t }));
});
z6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var IDe = [
+var hOe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], LDe = ["offset"], RDe = ["xAxisId", "yAxisId"], zDe = ["xAxisId", "yAxisId"];
+], gOe = ["offset"], _Oe = ["xAxisId", "yAxisId"], vOe = ["xAxisId", "yAxisId"];
function B6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -64740,26 +65235,26 @@ function V6(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) {
- BDe(e, t, n[t]);
+ yOe(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 e;
}
-function BDe(e, t, n) {
- return (t = VDe(t)) in e ? Object.defineProperty(e, t, {
+function yOe(e, t, n) {
+ return (t = bOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VDe(e) {
- var t = HDe(e, "string");
+function bOe(e) {
+ var t = xOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HDe(e, t) {
+function xOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64780,14 +65275,14 @@ function H6() {
}
function U6(e, t) {
if (e == null) return {};
- var n, r, i = UDe(e, t);
+ var n, r, i = SOe(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 UDe(e, t) {
+function SOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64796,7 +65291,7 @@ function UDe(e, t) {
}
return n;
}
-var WDe = (e) => {
+var COe = (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;
@@ -64817,7 +65312,7 @@ function W6(e) {
if (/*#__PURE__*/ I.isValidElement(t)) r = /*#__PURE__*/ I.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = qR(U6(n, IDe)) ?? {}, { offset: u } = l, d = U6(l, LDe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = tz(U6(n, hOe)) ?? {}, { offset: u } = l, d = U6(l, gOe);
r = /*#__PURE__*/ I.createElement("line", H6({}, d, {
x1: i,
y1: a,
@@ -64829,10 +65324,10 @@ function W6(e) {
}
return r;
}
-function GDe(e) {
+function wOe(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 = U6(e, RDe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, _Oe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: t,
y1: e,
@@ -64849,10 +65344,10 @@ function GDe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function KDe(e) {
+function TOe(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 = U6(e, zDe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, vOe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: e,
y1: t,
@@ -64869,7 +65364,7 @@ function KDe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function qDe(e) {
+function EOe(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);
@@ -64892,7 +65387,7 @@ function qDe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function JDe(e) {
+function DOe(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);
@@ -64915,10 +65410,10 @@ function JDe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var YDe = (e, t) => {
+var OOe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return kW(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: AW(n, !0),
+ return qW(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: JW(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -64926,10 +65421,10 @@ var YDe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, XDe = (e, t) => {
+}, kOe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return kW(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: AW(n, !0),
+ return qW(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: JW(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -64937,7 +65432,7 @@ var YDe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, ZDe = {
+}, AOe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -64952,14 +65447,14 @@ var YDe = (e, t) => {
zIndex: BY.grid
};
function G6(e) {
- var t = KG(), n = qG(), r = GG(), i = V6(V6({}, CB(e, ZDe)), {}, {
+ var t = uK(), n = dK(), r = lK(), i = V6(V6({}, jB(e, AOe)), {}, {
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 = hG(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
- if (!bW(l) || !bW(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || YDe, v = i.horizontalCoordinatesGenerator || XDe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = NG(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!RW(l) || !RW(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || OOe, v = i.horizontalCoordinatesGenerator || kOe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? V6(V6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -64967,7 +65462,7 @@ function G6(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- xG(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ zG(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 = _({
@@ -64976,9 +65471,9 @@ function G6(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- xG(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ zG(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(WDe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(COe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -64986,12 +65481,12 @@ function G6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ I.createElement(qDe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(JDe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(GDe, H6({}, i, {
+ }), /*#__PURE__*/ I.createElement(EOe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(DOe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(wOe, H6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ I.createElement(KDe, H6({}, i, {
+ })), /*#__PURE__*/ I.createElement(TOe, H6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -65001,7 +65496,7 @@ function G6(e) {
G6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var K6 = wU({
+var K6 = HU({
name: "errorBars",
initialState: {},
reducers: {
@@ -65018,17 +65513,17 @@ var K6 = wU({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: QDe, replaceErrorBar: $De, removeErrorBar: eOe } = K6.actions, tOe = K6.reducer, nOe = ["children"];
-function rOe(e, t) {
+}), { addErrorBar: jOe, replaceErrorBar: MOe, removeErrorBar: NOe } = K6.actions, POe = K6.reducer, FOe = ["children"];
+function IOe(e, t) {
if (e == null) return {};
- var n, r, i = iOe(e, t);
+ var n, r, i = LOe(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 iOe(e, t) {
+function LOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65037,7 +65532,7 @@ function iOe(e, t) {
}
return n;
}
-var aOe = /*#__PURE__*/ (0, I.createContext)({
+var ROe = /*#__PURE__*/ (0, I.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -65049,8 +65544,8 @@ var aOe = /*#__PURE__*/ (0, I.createContext)({
errorBarOffset: 0
});
function q6(e) {
- var { children: t } = e, n = rOe(e, nOe);
- return /*#__PURE__*/ I.createElement(aOe.Provider, { value: n }, t);
+ var { children: t } = e, n = IOe(e, FOe);
+ return /*#__PURE__*/ I.createElement(ROe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -65075,30 +65570,30 @@ function Y6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), oOe = $([
- YG,
+var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), zOe = $([
+ pK,
X6,
Q6,
Z6,
$6
-], (e, t, n, r, i) => OW(e, "xAxis") ? UW(t, r, !1) : UW(n, i, !1)), sOe = (e, t, n, r, i) => i;
-function cOe(e) {
+], (e, t, n, r, i) => KW(e, "xAxis") ? sG(t, r, !1) : sG(n, i, !1)), BOe = (e, t, n, r, i) => i;
+function VOe(e) {
return e.type === "line";
}
-var lOe = $([
- YG,
+var HOe = $([
+ pK,
X6,
Q6,
Z6,
$6,
- $([H$, sOe], (e, t) => e.filter(cOe).find((e) => e.id === t)),
- oOe,
+ $([H$, BOe], (e, t) => e.filter(VOe).find((e) => e.id === t)),
+ zOe,
gY
], (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 kOe({
+ if (p != null) return cke({
layout: e,
xAxis: t,
yAxis: n,
@@ -65113,7 +65608,7 @@ var lOe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function e8(e) {
- var t = JR(e), n = 3, r = 2;
+ var t = nz(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), {
@@ -65128,13 +65623,13 @@ function e8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var uOe = ["id"], dOe = [
+var UOe = ["id"], WOe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], fOe = [
+], GOe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -65173,26 +65668,26 @@ 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) {
- pOe(e, t, n[t]);
+ KOe(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 pOe(e, t, n) {
- return (t = mOe(t)) in e ? Object.defineProperty(e, t, {
+function KOe(e, t, n) {
+ return (t = qOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mOe(e) {
- var t = hOe(e, "string");
+function qOe(e) {
+ var t = JOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hOe(e, t) {
+function JOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65204,14 +65699,14 @@ function hOe(e, t) {
}
function i8(e, t) {
if (e == null) return {};
- var n, r, i = gOe(e, t);
+ var n, r, i = YOe(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 gOe(e, t) {
+function YOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65220,27 +65715,27 @@ function gOe(e, t) {
}
return n;
}
-var _Oe = (e) => {
+var XOe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: GW(n, t),
+ value: lG(n, t),
payload: e
}];
-}, vOe = /*#__PURE__*/ I.memo((e) => {
+}, ZOe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: pB,
+ getPosition: xB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: GW(o, t),
+ name: lG(o, t),
hide: s,
type: l,
color: r,
@@ -65250,11 +65745,11 @@ var _Oe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: d });
}), a8 = (e, t) => `${t}px ${e}px`;
-function yOe(e, t) {
+function QOe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var bOe = (e, t, n) => {
+var $Oe = (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) {
@@ -65266,13 +65761,13 @@ var bOe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...yOe(n, i),
+ ...QOe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function xOe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = qR(i8(r, uOe));
+function eke(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = tz(i8(r, UOe));
return /*#__PURE__*/ I.createElement(T3, {
points: n,
dot: i,
@@ -65284,7 +65779,7 @@ function xOe(e) {
clipPathId: t
});
}
-function SOe(e) {
+function tke(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, I.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -65305,7 +65800,7 @@ function SOe(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function o8(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 = r8(r8({}, YR(i8(a, dOe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = r8(r8({}, rz(i8(a, WOe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -65318,28 +65813,28 @@ function o8(e) {
return /*#__PURE__*/ I.createElement(I.Fragment, null, r?.length > 1 && /*#__PURE__*/ I.createElement(d3, t8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(xOe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(eke, {
points: r,
clipPathId: t,
props: a
}));
}
-function COe(e) {
+function nke(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function wOe(e) {
+function rke(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 = KJ(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, I.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = COe(r.current), E = (0, I.useRef)(0);
+ }, [g]), T = nke(r.current), E = (0, I.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ I.createElement(SOe, {
+ return /*#__PURE__*/ I.createElement(tke, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ I.createElement(GJ, {
@@ -65352,20 +65847,20 @@ function wOe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = cB(D, T + D, e), u = Math.min(l, T), d = c ? s ? bOe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
+ var l = gB(D, T + D, e), u = Math.min(l, T), d = c ? s ? $Oe(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 r8(r8({}, t), {}, {
- x: cB(i.x, t.x, e),
- y: cB(i.y, t.y, e)
+ x: gB(i.x, t.x, e),
+ y: gB(i.y, t.y, e)
});
}
return f ? r8(r8({}, t), {}, {
- x: cB(p * 2, t.x, e),
- y: cB(m / 2, t.y, e)
+ x: gB(p * 2, t.x, e),
+ y: gB(m / 2, t.y, e)
}) : r8(r8({}, t), {}, {
x: t.x,
y: t.y
@@ -65388,9 +65883,9 @@ function wOe(e) {
});
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }));
}
-function TOe(e) {
+function ike(e) {
var { clipPathId: t, props: n } = e, r = (0, I.useRef)(null), i = (0, I.useRef)(0), a = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(wOe, {
+ return /*#__PURE__*/ I.createElement(rke, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -65398,17 +65893,17 @@ function TOe(e) {
pathRef: a
});
}
-var EOe = (e, t) => ({
+var ake = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: EW(e.payload, t)
-}), DOe = class extends I.Component {
+ errorVal: WW(e.payload, t)
+}), oke = class extends I.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Xm("recharts-line", r), m = u, { r: h, strokeWidth: g } = e8(t), _ = n3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement($R, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
+ var p = bh("recharts-line", r), m = u, { r: h, strokeWidth: g } = e8(t), _ = n3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(sz, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -65421,9 +65916,9 @@ var EOe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: EOe,
+ dataPointFormatter: ake,
errorBarOffset: 0
- }, /*#__PURE__*/ I.createElement(TOe, {
+ }, /*#__PURE__*/ I.createElement(ike, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ I.createElement(M3, {
@@ -65454,11 +65949,11 @@ var EOe = (e, t) => ({
zIndex: BY.line,
type: "linear"
};
-function OOe(e) {
- var t = CB(e, s8), { 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 = i8(t, fOe), { needClip: _ } = J6(p, m), v = k3(), y = XG(), b = hG(), x = Q((e) => lOe(e, p, m, b, h));
+function ske(e) {
+ var t = jB(e, s8), { 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 = i8(t, GOe), { needClip: _ } = J6(p, m), v = k3(), y = mK(), b = NG(), x = Q((e) => HOe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ I.createElement(DOe, t8({}, g, {
+ return /*#__PURE__*/ I.createElement(oke, t8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -65482,23 +65977,23 @@ function OOe(e) {
needClip: _
}));
}
-function kOe(e) {
+function cke(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 = EW(e, o);
+ var l = WW(e, o);
if (t === "horizontal") return {
- x: FW({
+ x: $W({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (uB(l) ? null : r.scale.map(l)) ?? null,
+ y: (vB(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = uB(l) ? null : n.scale.map(l), d = FW({
+ var u = vB(l) ? null : n.scale.map(l), d = $W({
axis: r,
ticks: a,
bandSize: s,
@@ -65513,12 +66008,12 @@ function kOe(e) {
};
}).filter(Boolean);
}
-function AOe(e) {
- var t = CB(e, s8), n = hG();
+function lke(e) {
+ var t = jB(e, s8), n = NG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: _Oe(t) }), /*#__PURE__*/ I.createElement(vOe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: XOe(t) }), /*#__PURE__*/ I.createElement(ZOe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -65539,9 +66034,9 @@ function AOe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ I.createElement(OOe, t8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(ske, t8({}, t, { id: e }))));
}
-var c8 = /*#__PURE__*/ I.memo(AOe, Cq);
+var c8 = /*#__PURE__*/ I.memo(lke, Vq);
c8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -65553,19 +66048,19 @@ function u8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), jOe = $([
- YG,
+var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), uke = $([
+ pK,
d8,
p8,
f8,
m8
-], (e, t, n, r, i) => OW(e, "xAxis") ? UW(t, r, !1) : UW(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => OW(YG(e), "xAxis") ? "yAxis" : "xAxis", MOe = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), NOe = $([
- YG,
+], (e, t, n, r, i) => KW(e, "xAxis") ? sG(t, r, !1) : sG(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => KW(pK(e), "xAxis") ? "yAxis" : "xAxis", dke = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), fke = $([
+ pK,
d8,
p8,
f8,
m8,
- $([h8, (e, t, n) => a1(e, g8(e), MOe(e, t), n)], (e, t) => {
+ $([h8, (e, t, n) => a1(e, g8(e), dke(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = oX(e);
if (n != null && r != null) {
@@ -65575,14 +66070,14 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
}
}),
_Y,
- jOe,
+ uke,
h8,
- Zge
+ A_e
], (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 $Oe({
+ if (m != null) return Mke({
layout: e,
xAxis: t,
yAxis: n,
@@ -65596,7 +66091,7 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), POe = ["id"], FOe = [
+}), pke = ["id"], mke = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -65623,14 +66118,14 @@ function _8() {
}
function v8(e, t) {
if (e == null) return {};
- var n, r, i = IOe(e, t);
+ var n, r, i = hke(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 IOe(e, t) {
+function hke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65653,26 +66148,26 @@ function b8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y8(Object(n), !0).forEach(function(t) {
- LOe(e, t, n[t]);
+ gke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function LOe(e, t, n) {
- return (t = ROe(t)) in e ? Object.defineProperty(e, t, {
+function gke(e, t, n) {
+ return (t = _ke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ROe(e) {
- var t = zOe(e, "string");
+function _ke(e) {
+ var t = vke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zOe(e, t) {
+function vke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65685,27 +66180,27 @@ function zOe(e, t) {
function x8(e, t) {
return e && e !== "none" ? e : t;
}
-var BOe = (e) => {
+var yke = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: x8(r, i),
- value: GW(n, t),
+ value: lG(n, t),
payload: e
}];
-}, VOe = /*#__PURE__*/ I.memo((e) => {
+}, bke = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: pB,
+ getPosition: xB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: GW(o, t),
+ name: lG(o, t),
hide: s,
type: l,
color: x8(r, a),
@@ -65715,8 +66210,8 @@ var BOe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: d });
});
-function HOe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = qR(r);
+function xke(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = tz(r);
return /*#__PURE__*/ I.createElement(T3, {
points: n,
dot: a,
@@ -65728,7 +66223,7 @@ function HOe(e) {
clipPathId: t
});
}
-function UOe(e) {
+function Ske(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -65749,8 +66244,8 @@ function UOe(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function S8(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 = v8(a, POe), p = qR(f), m = YR(f);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement($R, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(DJ, _8({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = v8(a, pke), p = tz(f), m = rz(f);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(sz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(DJ, _8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -65773,15 +66268,15 @@ function S8(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ I.createElement(HOe, {
+ }))), /*#__PURE__*/ I.createElement(xke, {
points: t,
props: f,
clipPathId: i
}));
}
-function WOe(e) {
+function Cke(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!yW(a) || !yW(o)) return null;
+ if (!LW(a) || !LW(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: 0,
@@ -65790,9 +66285,9 @@ function WOe(e) {
height: Math.floor(s)
}) : null;
}
-function GOe(e) {
+function wke(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!yW(a) || !yW(o)) return null;
+ if (!LW(a) || !LW(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: a < o ? a : a - s,
@@ -65801,32 +66296,32 @@ function GOe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function KOe(e) {
+function Tke(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ I.createElement(WOe, {
+ return n === "vertical" ? /*#__PURE__*/ I.createElement(Cke, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ I.createElement(GOe, {
+ }) : /*#__PURE__*/ I.createElement(wke, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function qOe(e) {
+function Eke(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 = KJ((0, I.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = ZG(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = hK(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, I.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ I.createElement(UOe, {
+ return /*#__PURE__*/ I.createElement(Ske, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ I.createElement(GJ, {
@@ -65845,18 +66340,18 @@ function qOe(e) {
if (x[r]) {
var i = x[r];
return b8(b8({}, t), {}, {
- x: cB(i.x, t.x, e),
- y: cB(i.y, t.y, e)
+ x: gB(i.x, t.x, e),
+ y: gB(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? cB(S, s, e) : uB(s) || nB(s) ? cB(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? gB(S, s, e) : vB(s) || uB(s) ? gB(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return b8(b8({}, t), {}, {
- x: cB(i.x, t.x, e),
- y: cB(i.y, t.y, e)
+ x: gB(i.x, t.x, e),
+ y: gB(i.y, t.y, e)
});
}
return t;
@@ -65869,13 +66364,13 @@ function qOe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement($R, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(KOe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(sz, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Tke, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ I.createElement($R, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(S8, {
+ }))), /*#__PURE__*/ I.createElement(sz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(S8, {
points: o,
baseLine: s,
needClip: t,
@@ -65884,9 +66379,9 @@ function qOe(e) {
})));
}), /*#__PURE__*/ I.createElement(f4, { label: r.label }));
}
-function JOe(e) {
+function Dke(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, I.useRef)(null), a = (0, I.useRef)();
- return /*#__PURE__*/ I.createElement(qOe, {
+ return /*#__PURE__*/ I.createElement(Eke, {
needClip: t,
clipPathId: n,
props: r,
@@ -65894,12 +66389,12 @@ function JOe(e) {
previousBaselineRef: a
});
}
-var YOe = class extends I.PureComponent {
+var Oke = class extends I.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Xm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = e8(t), v = n3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement($R, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
+ var m = bh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = e8(t), v = n3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(sz, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -65908,7 +66403,7 @@ var YOe = class extends I.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ I.createElement(JOe, {
+ }))), /*#__PURE__*/ I.createElement(Dke, {
needClip: o,
clipPathId: h,
props: this.props
@@ -65926,7 +66421,7 @@ var YOe = class extends I.PureComponent {
clipPath: b
}));
}
-}, XOe = {
+}, kke = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -65946,11 +66441,11 @@ var YOe = class extends I.PureComponent {
yAxisId: 0,
zIndex: BY.area
};
-function ZOe(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 = v8(e, FOe), g = XG(), _ = U0(), { needClip: v } = J6(p, m), y = hG(), { points: b, isRange: x, baseLine: S } = Q((t) => NOe(t, e.id, y)) ?? {}, C = k3();
+function Ake(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 = v8(e, mke), g = mK(), _ = U0(), { needClip: v } = J6(p, m), y = NG(), { points: b, isRange: x, baseLine: S } = Q((t) => fke(t, e.id, y)) ?? {}, C = k3();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ I.createElement(YOe, _8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ I.createElement(Oke, _8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -65976,7 +66471,7 @@ function ZOe(e) {
yAxisId: m
}));
}
-var QOe = (e, t, n, r, i) => {
+var jke = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -65986,17 +66481,17 @@ var QOe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function $Oe(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 = QOe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function Mke(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 = jke(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 = EW(e, r);
+ var o = WW(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && EW(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && WW(e, r) == null;
return g ? {
- x: FW({
+ x: $W({
axis: s,
ticks: d,
bandSize: p,
@@ -66008,7 +66503,7 @@ function $Oe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: FW({
+ y: $W({
axis: c,
ticks: f,
bandSize: p,
@@ -66036,12 +66531,12 @@ function $Oe(e) {
isRange: _
};
}
-function eke(e) {
- var t = CB(e, XOe), n = hG();
+function Nke(e) {
+ var t = jB(e, kke), n = NG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: BOe(t) }), /*#__PURE__*/ I.createElement(VOe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: yke(t) }), /*#__PURE__*/ I.createElement(bke, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66060,21 +66555,21 @@ function eke(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: PW(t.stackId),
+ stackId: QW(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ I.createElement(ZOe, _8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(Ake, _8({}, t, { id: e }))));
}
-var C8 = /*#__PURE__*/ I.memo(eke, Cq);
+var C8 = /*#__PURE__*/ I.memo(Nke, Vq);
C8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var tke = "Invariant failed";
-function nke(e, t) {
- if (!e) throw Error(tke);
+var Pke = "Invariant failed";
+function Fke(e, t) {
+ if (!e) throw Error(Pke);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -66094,45 +66589,45 @@ function T8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var rke = function(e) {
+var Ike = 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) || uB(n);
- return i ? e(n, r) : (!i && nke(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || vB(n);
+ return i ? e(n, r) : (!i && Fke(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, ike = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), ake = $([E8], (e) => e?.maxBarSize), oke = (e, t, n, r) => r, ske = $([
- YG,
+}, Lke = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Rke = $([E8], (e) => e?.maxBarSize), zke = (e, t, n, r) => r, Bke = $([
+ pK,
H$,
l8,
u8,
- ike
-], (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")), cke = (e, t, n) => {
- var r = YG(e), i = l8(e, t), a = u8(e, t);
+ Lke
+], (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")), Vke = (e, t, n) => {
+ var r = pK(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, lke = $([
- ske,
+}, Hke = $([
+ Bke,
NY,
(e, t) => {
- var n = YG(e), r = l8(e, t), i = u8(e, t);
+ var n = pK(e), r = l8(e, t), i = u8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], J3), uke = (e, t, n) => {
+], J3), Uke = (e, t, n) => {
var r = E8(e, t);
if (r == null) return 0;
var i = l8(e, t), a = u8(e, t);
if (i == null || a == null) return 0;
- var o = YG(e), s = AY(e), { maxBarSize: c } = r, l = uB(c) ? s : c, u, d;
- return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), UW(u, d, !0) ?? l ?? 0;
+ var o = pK(e), s = AY(e), { maxBarSize: c } = r, l = vB(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), sG(u, d, !0) ?? l ?? 0;
}, D8 = (e, t, n) => {
- var r = YG(e), i = l8(e, t), a = u8(e, t);
+ var r = pK(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), UW(o, s);
+ return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), sG(o, s);
}
-}, dke = $([
- dG,
- pG,
+}, Wke = $([
+ kG,
+ jG,
(e, t, n) => {
var r = l8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
@@ -66150,25 +66645,25 @@ var rke = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- lke,
+ Hke,
AY,
jY,
MY,
- uke,
+ Uke,
D8,
- ake
+ Rke
], Z3), E8], $3),
- YG,
+ pK,
_Y,
D8,
- $([cke, E8], Q3),
+ $([Vke, E8], Q3),
E8,
- oke
+ zke
], (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 zke({
+ if (_ != null) return vAe({
layout: s,
barSettings: d,
pos: o,
@@ -66185,7 +66680,7 @@ var rke = function(e) {
dataStartIndex: m
});
}
-}), fke = ["index"];
+}), Gke = ["index"];
function O8() {
return O8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66195,16 +66690,16 @@ function O8() {
return e;
}, O8.apply(null, arguments);
}
-function pke(e, t) {
+function Kke(e, t) {
if (e == null) return {};
- var n, r, i = mke(e, t);
+ var n, r, i = qke(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 mke(e, t) {
+function qke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66213,31 +66708,31 @@ function mke(e, t) {
}
return n;
}
-var k8 = /*#__PURE__*/ (0, I.createContext)(void 0), hke = (e) => {
+var k8 = /*#__PURE__*/ (0, I.createContext)(void 0), Jke = (e) => {
var t = (0, I.useContext)(k8);
if (t != null) return t.stackId;
- if (e != null) return PW(e);
-}, gke = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, _ke = (e) => {
+ if (e != null) return QW(e);
+}, Yke = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Xke = (e) => {
var t = (0, I.useContext)(k8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${gke(n, e)})`;
+ return `url(#${Yke(n, e)})`;
}
}, A8 = (e) => {
- var { index: t } = e, n = pke(e, fke), r = _ke(t);
- return /*#__PURE__*/ I.createElement($R, O8({
+ var { index: t } = e, n = Kke(e, Gke), r = Xke(t);
+ return /*#__PURE__*/ I.createElement(sz, O8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, vke = [
+}, Zke = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], yke = [
+], Qke = [
"value",
"background",
"tooltipPosition"
-], bke = ["id"], xke = [
+], $ke = ["id"], eAe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -66265,26 +66760,26 @@ function N8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M8(Object(n), !0).forEach(function(t) {
- Ske(e, t, n[t]);
+ tAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ske(e, t, n) {
- return (t = Cke(t)) in e ? Object.defineProperty(e, t, {
+function tAe(e, t, n) {
+ return (t = nAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cke(e) {
- var t = wke(e, "string");
+function nAe(e) {
+ var t = rAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wke(e, t) {
+function rAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66296,14 +66791,14 @@ function wke(e, t) {
}
function P8(e, t) {
if (e == null) return {};
- var n, r, i = Tke(e, t);
+ var n, r, i = iAe(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 Tke(e, t) {
+function iAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66312,27 +66807,27 @@ function Tke(e, t) {
}
return n;
}
-var Eke = (e) => {
+var aAe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: GW(n, t),
+ value: lG(n, t),
payload: e
}];
-}, Dke = /*#__PURE__*/ I.memo((e) => {
+}, oAe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: pB,
+ getPosition: xB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: GW(a, t),
+ name: lG(a, t),
hide: o,
type: c,
color: i,
@@ -66342,17 +66837,17 @@ var Eke = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: u });
});
-function Oke(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, vke), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
+function sAe(e) {
+ var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, Zke), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
if (!i || n == null) return null;
- var p = JR(i);
+ var p = nz(i);
return /*#__PURE__*/ I.createElement(t2, { zIndex: f6(i, BY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, yke);
+ var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, Qke);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = N8(N8(N8(N8(N8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), xB(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), kB(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -66363,7 +66858,7 @@ function Oke(e) {
return /*#__PURE__*/ I.createElement(T8, j8({ key: `background-bar-${n}` }, _));
}));
}
-function kke(e) {
+function cAe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -66383,7 +66878,7 @@ function kke(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
-function Ake(e) {
+function lAe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
var e;
@@ -66404,7 +66899,7 @@ function Ake(e) {
}));
return g ? /*#__PURE__*/ I.createElement(t2, { zIndex: BY.activeBar }, /*#__PURE__*/ I.createElement(A8, { index: i.originalDataIndex }, v)) : v;
}
-function jke(e) {
+function uAe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ I.createElement(T8, j8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -66413,24 +66908,24 @@ function jke(e) {
dataKey: a
}));
}
-function Mke(e) {
- var { data: t, props: n } = e, r = qR(n) ?? {}, { id: i } = r, a = P8(r, bke), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, xke), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
+function dAe(e) {
+ var { data: t, props: n } = e, r = tz(n) ?? {}, { id: i } = r, a = P8(r, $ke), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, eAe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
return t ? /*#__PURE__*/ I.createElement(I.Fragment, null, t.map((e, t) => /*#__PURE__*/ I.createElement(A8, j8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, xB(f, e, t), {
+ }, kB(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ I.createElement(Ake, {
+ }), c ? /*#__PURE__*/ I.createElement(lAe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ I.createElement(jke, {
+ }) : /*#__PURE__*/ I.createElement(uAe, {
shape: o,
baseProps: a,
entry: e,
@@ -66438,13 +66933,13 @@ function Mke(e) {
dataKey: s
})))) : null;
}
-function Nke(e) {
+function fAe(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 = KJ(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, I.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ I.createElement(kke, {
+ return /*#__PURE__*/ I.createElement(cAe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ I.createElement(GJ, {
@@ -66460,68 +66955,68 @@ function Nke(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return N8(N8({}, t), {}, {
- x: cB(r.x, t.x, e),
- y: cB(r.y, t.y, e),
- width: cB(r.width, t.width, e),
- height: cB(r.height, t.height, e)
+ x: gB(r.x, t.x, e),
+ y: gB(r.y, t.y, e),
+ width: gB(r.width, t.width, e),
+ height: gB(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = cB(0, t.height, e), o = cB(t.stackedBarStart, t.y, e);
+ var a = gB(0, t.height, e), o = gB(t.stackedBarStart, t.y, e);
return N8(N8({}, t), {}, {
y: o,
height: a
});
}
- var s = cB(0, t.width, e), c = cB(t.stackedBarStart, t.x, e);
+ var s = gB(0, t.width, e), c = gB(t.stackedBarStart, t.x, e);
return N8(N8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement($R, null, /*#__PURE__*/ I.createElement(Mke, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(sz, null, /*#__PURE__*/ I.createElement(dAe, {
props: t,
data: a
}));
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function Pke(e) {
+function pAe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(Nke, {
+ return /*#__PURE__*/ I.createElement(fAe, {
previousRectanglesRef: t,
props: e
});
}
-var F8 = 0, Fke = (e, t) => {
+var F8 = 0, mAe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: EW(e, t)
+ errorVal: WW(e, t)
};
-}, Ike = class extends I.PureComponent {
+}, hAe = class extends I.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
- var l = Xm("recharts-bar", r), u = c;
- return /*#__PURE__*/ I.createElement($R, {
+ var l = bh("recharts-bar", r), u = c;
+ return /*#__PURE__*/ I.createElement(sz, {
className: l,
id: c
}, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ I.createElement($R, {
+ })), /*#__PURE__*/ I.createElement(sz, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ I.createElement(Oke, {
+ }, /*#__PURE__*/ I.createElement(sAe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ I.createElement(Pke, this.props)));
+ }), /*#__PURE__*/ I.createElement(pAe, this.props)));
}
-}, Lke = {
+}, gAe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -66536,17 +67031,17 @@ var F8 = 0, Fke = (e, t) => {
yAxisId: 0,
zIndex: BY.bar
};
-function Rke(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 } = J6(t, n), f = XG(), p = hG(), m = t3(e.children, v2), h = Q((t) => dke(t, e.id, p, m));
+function _Ae(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 } = J6(t, n), f = mK(), p = NG(), m = t3(e.children, v2), h = Q((t) => Wke(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ I.createElement(q6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: Fke,
+ dataPointFormatter: mAe,
errorBarOffset: g
- }, /*#__PURE__*/ I.createElement(Ike, j8({}, e, {
+ }, /*#__PURE__*/ I.createElement(hAe, j8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -66562,20 +67057,20 @@ function Rke(e) {
isAnimationActive: u
})));
}
-function zke(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 = LW({ numericAxis: _ }), b = _.scale.map(y);
+function vAe(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 = tG({ 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;
- _ = jW(E, v);
- } else _ = EW(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = rke(r, F8)(_[1], f);
+ _ = YW(E, v);
+ } else _ = WW(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = Ike(r, F8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = IW({
+ x = eG({
axis: s,
ticks: l,
bandSize: o,
@@ -66584,19 +67079,19 @@ function zke(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = nB(A) ? 0 : A, T = {
+ if (w = uB(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 = tB(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = lB(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 = IW({
+ if (x = M, S = eG({
axis: c,
ticks: u,
bandSize: o,
@@ -66609,7 +67104,7 @@ function zke(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = tB(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = lB(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
@@ -66631,12 +67126,12 @@ function zke(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function Bke(e) {
- var t = CB(e, Lke), n = hke(t.stackId), r = hG();
+function yAe(e) {
+ var t = jB(e, gAe), n = Jke(t.stackId), r = NG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: Eke(t) }), /*#__PURE__*/ I.createElement(Dke, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: aAe(t) }), /*#__PURE__*/ I.createElement(oAe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -66661,23 +67156,23 @@ function Bke(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(Rke, j8({}, t, { id: e })))));
+ }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(_Ae, j8({}, t, { id: e })))));
}
-var I8 = /*#__PURE__*/ I.memo(Bke, Cq);
+var I8 = /*#__PURE__*/ I.memo(yAe, Vq);
I8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var Vke = ["domain", "range"], Hke = ["domain", "range"];
+var bAe = ["domain", "range"], xAe = ["domain", "range"];
function L8(e, t) {
if (e == null) return {};
- var n, r, i = Uke(e, t);
+ var n, r, i = SAe(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 Uke(e, t) {
+function SAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66691,16 +67186,16 @@ function R8(e, t) {
}
function z8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = L8(e, Vke), { domain: a, range: o } = t, s = L8(t, Hke);
- return !R8(n, a) || !R8(r, o) ? !1 : Cq(i, s);
+ var { domain: n, range: r } = e, i = L8(e, bAe), { domain: a, range: o } = t, s = L8(t, xAe);
+ return !R8(n, a) || !R8(r, o) ? !1 : Vq(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var Wke = ["type"], Gke = [
+var CAe = ["type"], wAe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Kke = ["id", "scale"];
+], TAe = ["id", "scale"];
function B8() {
return B8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66724,26 +67219,26 @@ function H8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V8(Object(n), !0).forEach(function(t) {
- qke(e, t, n[t]);
+ EAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qke(e, t, n) {
- return (t = Jke(t)) in e ? Object.defineProperty(e, t, {
+function EAe(e, t, n) {
+ return (t = DAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jke(e) {
- var t = Yke(e, "string");
+function DAe(e) {
+ var t = OAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yke(e, t) {
+function OAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66755,14 +67250,14 @@ function Yke(e, t) {
}
function U8(e, t) {
if (e == null) return {};
- var n, r, i = Xke(e, t);
+ var n, r, i = kAe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Xke(e, t) {
+function kAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66771,35 +67266,35 @@ function Xke(e, t) {
}
return n;
}
-function Zke(e) {
- var t = XB(), n = (0, I.useRef)(null), r = ZG(), { type: i } = e, a = U8(e, Wke), o = WY(r, "xAxis", i), s = (0, I.useMemo)(() => {
+function AAe(e) {
+ var t = iV(), n = (0, I.useRef)(null), r = hK(), { type: i } = e, a = U8(e, CAe), o = WY(r, "xAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return H8(H8({}, a), {}, { type: o });
}, [a, o]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(pTe(s)) : n.current !== s && t(mTe({
+ s != null && (n.current === null ? t(KTe(s)) : n.current !== s && t(qTe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(hTe(n.current)), null);
+ n.current &&= (t(JTe(n.current)), null);
}, [t]), null;
}
-var Qke = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(pG), i = hG(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => ybe(e, t)), l = Q((e) => M$(e, t));
+var jAe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(jG), i = NG(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Qbe(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, Gke), { id: m, scale: h } = l, g = U8(l, Kke);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, wAe), { id: m, scale: h } = l, g = U8(l, TAe);
return /*#__PURE__*/ I.createElement(z6, B8({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
height: s.height,
- className: Xm(`recharts-${a} ${a}`, n),
+ className: bh(`recharts-${a} ${a}`, n),
viewBox: r,
ticks: o,
axisType: a,
axisId: t
}));
-}, $ke = {
+}, MAe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -66824,8 +67319,8 @@ var Qke = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, W8 = /*#__PURE__*/ I.memo((e) => {
- var t = CB(e, $ke);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(Zke, {
+ var t = jB(e, MAe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(AAe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -66851,16 +67346,16 @@ var Qke = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(Qke, t));
+ }), /*#__PURE__*/ I.createElement(jAe, t));
}, z8);
W8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var eAe = ["type"], tAe = [
+var NAe = ["type"], PAe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], nAe = ["id", "scale"];
+], FAe = ["id", "scale"];
function G8() {
return G8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66884,26 +67379,26 @@ function q8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K8(Object(n), !0).forEach(function(t) {
- rAe(e, t, n[t]);
+ IAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rAe(e, t, n) {
- return (t = iAe(t)) in e ? Object.defineProperty(e, t, {
+function IAe(e, t, n) {
+ return (t = LAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iAe(e) {
- var t = aAe(e, "string");
+function LAe(e) {
+ var t = RAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aAe(e, t) {
+function RAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66915,14 +67410,14 @@ function aAe(e, t) {
}
function J8(e, t) {
if (e == null) return {};
- var n, r, i = oAe(e, t);
+ var n, r, i = zAe(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 oAe(e, t) {
+function zAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66931,27 +67426,27 @@ function oAe(e, t) {
}
return n;
}
-function sAe(e) {
- var t = XB(), n = (0, I.useRef)(null), r = ZG(), { type: i } = e, a = J8(e, eAe), o = WY(r, "yAxis", i), s = (0, I.useMemo)(() => {
+function BAe(e) {
+ var t = iV(), n = (0, I.useRef)(null), r = hK(), { type: i } = e, a = J8(e, NAe), o = WY(r, "yAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return q8(q8({}, a), {}, { type: o });
}, [o, a]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(gTe(s)) : n.current !== s && t(_Te({
+ s != null && (n.current === null ? t(YTe(s)) : n.current !== s && t(XTe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(vTe(n.current)), null);
+ n.current &&= (t(ZTe(n.current)), null);
}, [t]), null;
}
-function cAe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(pG), c = hG(), l = XB(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => bbe(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function VAe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(jG), c = NG(), l = iV(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => $be(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, I.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || t4(i) || /*#__PURE__*/ (0, I.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(STe({
+ Math.round(d.width) !== Math.round(n) && l(tEe({
id: t,
width: n
}));
@@ -66966,7 +67461,7 @@ function cAe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, tAe), { id: y, scale: b } = m, x = J8(m, nAe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, PAe), { id: y, scale: b } = m, x = J8(m, FAe);
return /*#__PURE__*/ I.createElement(z6, G8({}, v, x, {
ref: a,
labelRef: o,
@@ -66975,14 +67470,14 @@ function cAe(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: Xm(`recharts-${u} ${u}`, n),
+ className: bh(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
axisId: t
}));
}
-var lAe = {
+var HAe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -67007,8 +67502,8 @@ var lAe = {
width: P$.width,
yAxisId: 0
}, Y8 = /*#__PURE__*/ I.memo((e) => {
- var t = CB(e, lAe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(sAe, {
+ var t = jB(e, HAe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(BAe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -67034,27 +67529,27 @@ var lAe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(cAe, t));
+ }), /*#__PURE__*/ I.createElement(VAe, t));
}, z8);
Y8.displayName = "YAxis";
var X8 = $([
(e, t) => t,
- YG,
+ pK,
rX,
dX,
D0,
k0,
- gxe,
- dG
-], Cxe);
+ Yxe,
+ kG
+], nSe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function uAe(e) {
+function UAe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Z8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (uAe(e)) {
+ if (UAe(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 {
@@ -67069,19 +67564,19 @@ function Z8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Q8 = nU("mouseClick"), $8 = uW();
+var Q8 = bU("mouseClick"), $8 = OW();
$8.startListening({
actionCreator: Q8,
effect: (e, t) => {
var n = e.payload, r = X8(t.getState(), Z8(n));
- r?.activeIndex != null && t.dispatch(Abe({
+ r?.activeIndex != null && t.dispatch(lxe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var e5 = nU("mouseMove"), t5 = uW(), n5 = null, r5 = null, i5 = null;
+var e5 = bU("mouseMove"), t5 = OW(), n5 = null, r5 = null, i5 = null;
t5.startListening({
actionCreator: e5,
effect: (e, t) => {
@@ -67112,7 +67607,7 @@ t5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function dAe(e, t) {
+function WAe(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
@@ -67129,17 +67624,17 @@ var a5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, o5 = wU({
+}, o5 = HU({
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;
} }
-}), fAe = o5.reducer, { updateOptions: pAe } = o5.actions, s5 = wU({
+}), GAe = o5.reducer, { updateOptions: KAe } = o5.actions, s5 = HU({
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: mAe } = s5.actions, hAe = s5.reducer, c5 = nU("keyDown"), l5 = nU("focus"), u5 = nU("blur"), d5 = uW(), f5 = null, p5 = null, m5 = null;
+}), { updatePolarOptions: qAe } = s5.actions, JAe = s5.reducer, c5 = bU("keyDown"), l5 = bU("focus"), u5 = bU("blur"), d5 = OW(), f5 = null, p5 = null, m5 = null;
d5.startListening({
actionCreator: c5,
effect: (e, t) => {
@@ -67164,7 +67659,7 @@ d5.startListening({
}));
return;
}
- var c = xbe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = exe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = X0(e, "axis", "hover", String(l));
t.dispatch(o0({
@@ -67227,7 +67722,7 @@ function h5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var g5 = nU("externalEvent"), _5 = uW(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
+var g5 = bU("externalEvent"), _5 = OW(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
_5.startListening({
actionCreator: g5,
effect: (e, t) => {
@@ -67247,12 +67742,12 @@ _5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: nxe(a),
+ activeCoordinate: Fxe(a),
activeDataKey: I0(a),
activeIndex: P0(a),
activeLabel: F0(a),
activeTooltipIndex: P0(a),
- isTooltipActive: rxe(a)
+ isTooltipActive: Ixe(a)
};
n && n(o, r);
} finally {
@@ -67276,7 +67771,7 @@ _5.startListening({
}
}
});
-var gAe = $([
+var YAe = $([
$([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -67288,7 +67783,7 @@ var gAe = $([
if (i != null) return i(t);
}
}
-}), x5 = nU("touchMove"), S5 = uW(), C5 = null, w5 = null, T5 = null, E5 = null;
+}), x5 = bU("touchMove"), S5 = OW(), C5 = null, w5 = null, T5 = null, E5 = null;
S5.startListening({
actionCreator: x5,
effect: (e, t) => {
@@ -67321,9 +67816,9 @@ S5.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(eG), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(vG), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = gAe(e, s, c);
+ var { dataKey: u } = l, d = YAe(e, s, c);
t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
@@ -67355,33 +67850,33 @@ var D5 = {
"scroll",
"wheel"
]
-}, O5 = wU({
+}, O5 = HU({
name: "eventSettings",
initialState: D5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = ZK(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hq(t.payload.throttledEvents));
} }
-}), { setEventSettings: _Ae } = O5.actions, vAe = O5.reducer, yAe = EV({
- brush: IEe,
- cartesianAxis: CTe,
- chartData: Xxe,
- errorBars: tOe,
- eventSettings: vAe,
- graphicalItems: $we,
- layout: _W,
- legend: iq,
- options: Gxe,
- polarAxis: UCe,
- polarOptions: hAe,
- referenceElements: qEe,
- renderedTicks: xDe,
- rootProps: fAe,
- tooltip: jbe,
- zIndex: Ixe
-}), bAe = function(e) {
+}), { setEventSettings: XAe } = O5.actions, ZAe = O5.reducer, QAe = WV({
+ brush: hDe,
+ cartesianAxis: nEe,
+ chartData: kSe,
+ errorBars: POe,
+ eventSettings: ZAe,
+ graphicalItems: MTe,
+ layout: FW,
+ legend: Sq,
+ options: wSe,
+ polarAxis: Swe,
+ polarOptions: JAe,
+ referenceElements: EDe,
+ renderedTicks: eOe,
+ rootProps: GAe,
+ tooltip: uxe,
+ zIndex: hSe
+}), $Ae = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return mU({
- reducer: yAe,
+ return MU({
+ reducer: QAe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -67399,10 +67894,10 @@ var D5 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(fU({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(AU({ type: "raf" }));
},
- devTools: iJ.devToolsEnabled && {
- serialize: { replacer: dAe },
+ devTools: pJ.devToolsEnabled && {
+ serialize: { replacer: WAe },
name: `recharts-${t}`
}
});
@@ -67410,21 +67905,21 @@ var D5 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function k5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = hG(), a = (0, I.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = NG(), a = (0, I.useRef)(null);
if (i) return n;
- a.current ??= bAe(t, r);
- var o = YB;
- return /*#__PURE__*/ I.createElement(bq, {
+ a.current ??= $Ae(t, r);
+ var o = rV;
+ return /*#__PURE__*/ I.createElement(Rq, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function xAe(e) {
- var { layout: t, margin: n } = e, r = XB(), i = hG();
+function eje(e) {
+ var { layout: t, margin: n } = e, r = iV(), i = NG();
return (0, I.useEffect)(() => {
- i || (r(mW(t)), r(pW(n)));
+ i || (r(MW(t)), r(jW(n)));
}, [
r,
i,
@@ -67432,31 +67927,31 @@ function xAe(e) {
n
]), null;
}
-var A5 = /*#__PURE__*/ (0, I.memo)(xAe, Cq);
+var A5 = /*#__PURE__*/ (0, I.memo)(eje, Vq);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function j5(e) {
- var t = XB();
+ var t = iV();
return (0, I.useEffect)(() => {
- t(pAe(e));
+ t(KAe(e));
}, [t, e]), null;
}
var M5 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = XB();
+ var t = iV();
return (0, I.useEffect)(() => {
- t(_Ae(e));
+ t(XAe(e));
}, [t, e]), null;
-}, Cq);
+}, Vq);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function N5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = XB();
- return (0, I.useLayoutEffect)(() => (r.current && i(Pxe({
+ var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = iV();
+ return (0, I.useLayoutEffect)(() => (r.current && i(pSe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(Fxe({
+ i(mSe({
zIndex: t,
isPanorama: n
}));
@@ -67471,7 +67966,7 @@ function N5(e) {
});
}
function P5(e) {
- var { children: t, isPanorama: n } = e, r = Q(Txe);
+ var { children: t, isPanorama: n } = e, r = Q(iSe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ I.createElement(I.Fragment, null, i.map((e) => /*#__PURE__*/ I.createElement(N5, {
@@ -67486,17 +67981,17 @@ function P5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var SAe = ["children"];
-function CAe(e, t) {
+var tje = ["children"];
+function nje(e, t) {
if (e == null) return {};
- var n, r, i = wAe(e, t);
+ var n, r, i = rje(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 wAe(e, t) {
+function rje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67514,46 +68009,46 @@ function F5() {
return e;
}, F5.apply(null, arguments);
}
-var TAe = {
+var ije = {
width: "100%",
height: "100%",
display: "block"
-}, EAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = KG(), r = qG(), i = mJ();
- if (!bW(n) || !bW(r)) return null;
+}, aje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = uK(), r = dK(), i = _J();
+ if (!RW(n) || !RW(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ I.createElement(ZR, F5({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ I.createElement(az, F5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: TAe,
+ style: ije,
ref: t
}), a);
-}), DAe = (e) => {
- var { children: t } = e, n = Q(_G);
+}), oje = (e) => {
+ var { children: t } = e, n = Q(FG);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ I.createElement(ZR, {
+ return /*#__PURE__*/ I.createElement(az, {
width: r,
height: i,
x: o,
y: a
}, t);
}, I5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n } = e, r = CAe(e, SAe);
- return hG() ? /*#__PURE__*/ I.createElement(DAe, null, /*#__PURE__*/ I.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(EAe, F5({ ref: t }, r), /*#__PURE__*/ I.createElement(P5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = nje(e, tje);
+ return NG() ? /*#__PURE__*/ I.createElement(oje, null, /*#__PURE__*/ I.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(aje, F5({ ref: t }, r), /*#__PURE__*/ I.createElement(P5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function OAe() {
- var e = XB(), [t, n] = (0, I.useState)(null), r = Q(XW);
+function sje() {
+ var e = iV(), [t, n] = (0, I.useState)(null), r = Q(mG);
return (0, I.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- yW(n) && n !== r && e(gW(n));
+ LW(n) && n !== r && e(PW(n));
}
}, [
t,
@@ -67573,30 +68068,30 @@ function L5(e, t) {
}
return n;
}
-function kAe(e) {
+function cje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L5(Object(n), !0).forEach(function(t) {
- AAe(e, t, n[t]);
+ lje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function AAe(e, t, n) {
- return (t = jAe(t)) in e ? Object.defineProperty(e, t, {
+function lje(e, t, n) {
+ return (t = uje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jAe(e) {
- var t = MAe(e, "string");
+function uje(e) {
+ var t = dje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MAe(e, t) {
+function dje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67615,7 +68110,7 @@ function R5() {
return e;
}, R5.apply(null, arguments);
}
-var NAe = () => (aSe(), null);
+var fje = () => (RSe(), null);
function z5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -67624,7 +68119,7 @@ function z5(e) {
}
return 0;
}
-var PAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = (0, I.useRef)(null), [r, i] = (0, I.useState)({
containerWidth: z5(e.style?.width),
containerHeight: z5(e.style?.height)
@@ -67652,11 +68147,11 @@ var PAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}, [t, a]);
return (0, I.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(tK, {
+ }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ I.createElement("div", R5({ ref: o }, e)));
-}), FAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), mje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, I.useState)({
containerWidth: z5(n),
containerHeight: z5(r)
@@ -67674,32 +68169,32 @@ var PAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(tK, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ I.createElement("div", R5({ ref: s }, e)));
-}), IAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), hje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(tK, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", R5({ ref: t }, e)));
-}), LAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(FAe, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(IAe, R5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(mje, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(hje, R5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(tK, {
+ })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", R5({ ref: t }, e)));
});
-function RAe(e) {
- return e ? PAe : LAe;
+function _je(e) {
+ return e ? pje : gje;
}
-var zAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = XB(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = OAe(), D = zG(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
+var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = iV(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = sje(), D = rK(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -67771,12 +68266,12 @@ var zAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), le = RAe(v);
- return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(ez.Provider, { value: w }, /*#__PURE__*/ I.createElement(le, {
+ }, [x, p]), le = _je(v);
+ return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(cz.Provider, { value: w }, /*#__PURE__*/ I.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
- className: Xm("recharts-wrapper", r),
- style: kAe({
+ className: bh("recharts-wrapper", r),
+ style: cje({
position: "relative",
cursor: "default",
width: O,
@@ -67797,8 +68292,8 @@ var zAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ I.createElement(NAe, null), n)));
-}), BAe = [
+ }, /*#__PURE__*/ I.createElement(fje, null), n)));
+}), yje = [
"width",
"height",
"responsive",
@@ -67809,16 +68304,16 @@ var zAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
"title",
"desc"
];
-function VAe(e, t) {
+function bje(e, t) {
if (e == null) return {};
- var n, r, i = HAe(e, t);
+ var n, r, i = xje(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 HAe(e, t) {
+function xje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67828,15 +68323,15 @@ function HAe(e, t) {
return n;
}
var B5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = qR(VAe(e, BAe));
- return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(tK, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = tz(bje(e, yje));
+ return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement(I5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ I.createElement(zAe, {
+ }, a)) : /*#__PURE__*/ I.createElement(vje, {
className: o,
style: s,
width: n,
@@ -67858,7 +68353,7 @@ var B5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ I.createElement(JEe, null, a)));
+ }, /*#__PURE__*/ I.createElement(DDe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -67881,30 +68376,30 @@ function H5(e, t) {
}
return n;
}
-function UAe(e) {
+function Sje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H5(Object(n), !0).forEach(function(t) {
- WAe(e, t, n[t]);
+ Cje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WAe(e, t, n) {
- return (t = GAe(t)) in e ? Object.defineProperty(e, t, {
+function Cje(e, t, n) {
+ return (t = wje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GAe(e) {
- var t = KAe(e, "string");
+function wje(e) {
+ var t = Tje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KAe(e, t) {
+function Tje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67914,7 +68409,7 @@ function KAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qAe = UAe({
+var Eje = Sje({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -67930,7 +68425,7 @@ var qAe = UAe({
stackOffset: "none",
syncMethod: "index"
}, D5), U5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = CB(e.categoricalChartProps, qAe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = jB(e.categoricalChartProps, Eje), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -67959,32 +68454,32 @@ var qAe = UAe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ I.createElement(B5, V5({}, n, { ref: t })));
-}), JAe = ["axis"], YAe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+}), Dje = ["axis"], Oje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: JAe,
+ validateTooltipEventTypes: Dje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
-})), XAe = ["axis", "item"], W5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+})), kje = ["axis", "item"], W5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: XAe,
+ validateTooltipEventTypes: kje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function ZAe(e) {
- var t = XB();
+function Aje(e) {
+ var t = iV();
return (0, I.useEffect)(() => {
- t(mAe(e));
+ t(qAe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var QAe = ["layout"];
+var jje = ["layout"];
function G5() {
return G5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67994,16 +68489,16 @@ function G5() {
return e;
}, G5.apply(null, arguments);
}
-function $Ae(e, t) {
+function Mje(e, t) {
if (e == null) return {};
- var n, r, i = eje(e, t);
+ var n, r, i = Nje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function eje(e, t) {
+function Nje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68022,30 +68517,30 @@ function K5(e, t) {
}
return n;
}
-function tje(e) {
+function Pje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K5(Object(n), !0).forEach(function(t) {
- nje(e, t, n[t]);
+ Fje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nje(e, t, n) {
- return (t = rje(t)) in e ? Object.defineProperty(e, t, {
+function Fje(e, t, n) {
+ return (t = Ije(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rje(e) {
- var t = ije(e, "string");
+function Ije(e) {
+ var t = Lje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ije(e, t) {
+function Lje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68055,7 +68550,7 @@ function ije(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q5 = tje({
+var q5 = Pje({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -68075,7 +68570,7 @@ var q5 = tje({
innerRadius: 0,
outerRadius: "80%"
}, D5), J5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = CB(e.categoricalChartProps, q5), { layout: r } = n, i = $Ae(n, QAe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = jB(e.categoricalChartProps, q5), { layout: r } = n, i = Mje(n, jje), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -68103,7 +68598,7 @@ var q5 = tje({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ I.createElement(ZAe, {
+ }), /*#__PURE__*/ I.createElement(Aje, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -68128,26 +68623,26 @@ function X5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y5(Object(n), !0).forEach(function(t) {
- aje(e, t, n[t]);
+ Rje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aje(e, t, n) {
- return (t = oje(t)) in e ? Object.defineProperty(e, t, {
+function Rje(e, t, n) {
+ return (t = zje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oje(e) {
- var t = sje(e, "string");
+function zje(e) {
+ var t = Bje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sje(e, t) {
+function Bje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68157,24 +68652,24 @@ function sje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cje = ["axis"], lje = X5(X5({}, q5), {}, {
+var Vje = ["axis"], Hje = X5(X5({}, q5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), uje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = CB(e, lje);
+}), Uje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = jB(e, Hje);
return /*#__PURE__*/ I.createElement(J5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: cje,
+ validateTooltipEventTypes: Vje,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
});
-}), dje = ["axis"], fje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+}), Wje = ["axis"], Gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: dje,
+ validateTooltipEventTypes: Wje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
@@ -68195,26 +68690,26 @@ function Q5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Z5(Object(n), !0).forEach(function(t) {
- pje(e, t, n[t]);
+ Kje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pje(e, t, n) {
- return (t = mje(t)) in e ? Object.defineProperty(e, t, {
+function Kje(e, t, n) {
+ return (t = $5(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mje(e) {
- var t = hje(e, "string");
+function $5(e) {
+ var t = qje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hje(e, t) {
+function qje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68224,16 +68719,16 @@ function hje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gje = ["axis", "item"], _je = Q5(Q5({}, q5), {}, {
+var Jje = ["axis", "item"], Yje = Q5(Q5({}, q5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = CB(e, _je);
+}), Xje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = jB(e, Yje);
return /*#__PURE__*/ I.createElement(J5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: gje,
+ validateTooltipEventTypes: Jje,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
@@ -68241,17 +68736,17 @@ var gje = ["axis", "item"], _je = Q5(Q5({}, q5), {}, {
});
//#endregion
//#region src/react/charts/cn.ts
-function $5(...e) {
- return XC(Xm(e));
+function e7(...e) {
+ return sw(bh(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var e7 = {
+var t7 = {
light: "",
dark: ".dark"
-}, t7 = Object.keys(e7);
-function n7(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !t7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t7.join(", ")}). Received empty object or invalid keys.`);
+}, n7 = Object.keys(t7);
+function Zje(e) {
+ for (let [t, n] of Object.entries(e)) if (n.colors && !n7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${n7.join(", ")}). Received empty object or invalid keys.`);
}
var r7 = I.createContext(null);
function i7() {
@@ -68264,19 +68759,19 @@ function a7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = I.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return n7(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
+ return Zje(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, L.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: $5("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: e7("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, L.jsx)(s7, {
id: c,
config: t
}),
- /* @__PURE__ */ (0, L.jsx)(VG, {
+ /* @__PURE__ */ (0, L.jsx)(aK, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -68295,7 +68790,7 @@ function o7({ isLoading: e }) {
})
}) : null;
}
-function yje(e, t) {
+function Qje(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -68310,8 +68805,8 @@ var s7 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : yje(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(e7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : Qje(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(t7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, L.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
function c7(e, t, n) {
@@ -68321,18 +68816,18 @@ function c7(e, t, n) {
}
function l7(e) {
if (!e.colors) return 1;
- let t = t7.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var bje = (e = 10, t = 0, n = 70) => {
+var $je = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, xje = {
+}, eMe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, Sje = {
+}, tMe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -68341,10 +68836,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (i || !t?.length) return null;
let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = c7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("font-medium", c),
+ className: e7("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("font-medium", c),
+ className: e7("font-medium", c),
children: a
}) : null;
}, [
@@ -68359,23 +68854,23 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: $5("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", xje[p], Sje[m], n),
+ className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", eMe[p], tMe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, L.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = c7(h, e, n), o = i ? l7(i) : 1;
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ className: e7("[&>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, L.jsxs)(L.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("shrink-0 rounded-[2px]", {
+ className: e7("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: Cje(n, o)
+ style: nMe(n, o)
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: $5("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, L.jsx)("span", {
@@ -68392,10 +68887,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function Cje(e, t) {
+function nMe(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(pSe, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(KSe, {
animationDuration: e,
...t
});
@@ -68404,15 +68899,15 @@ var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(pS
function f7({ 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 } = i7();
return r?.length ? /* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
+ className: e7("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 = c7(u, e, r), a = o === null || o === r, d = i ? l7(i) : 1;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: $5("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ className: e7("[&>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, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(wje, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(rMe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -68421,8 +68916,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function wje({ variant: e, dataKey: t, colorsCount: n }) {
- let r = Tje(t, n), i = Eje(t, n);
+function rMe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = iMe(t, n), i = aMe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, L.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -68454,10 +68949,10 @@ function wje({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function Tje(e, t) {
+function iMe(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 Eje(e, t) {
+function aMe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -68472,12 +68967,12 @@ function Eje(e, t) {
...n
};
}
-var p7 = Vq, m7 = () => null, h7 = {
+var p7 = aJ, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function Dje({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function oMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = I.useRef(null), [a, o] = I.useState(!1), s = (0, I.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, I.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -68523,7 +69018,7 @@ function Dje({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function sMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = I.useRef(null), S = I.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = I.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = I.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -68557,7 +69052,7 @@ function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = Dje({
+ }, [C, v]), { isDragging: A, bind: j } = oMe({
range: E,
totalPoints: C,
containerRef: x,
@@ -68582,16 +69077,16 @@ function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
A
]);
- let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = Tf(N), P = Tf(ee);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = Kf(N), P = Kf(ee);
te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let ne = Mf(te, h7), F = Mf(P, h7), re = Of(ne, (e) => `${e}%`), ie = Of(F, (e) => `${e}%`), ae = Of(ne, (e) => `${e}%`), oe = Of(F, (e) => `${Math.max(0, 100 - e)}%`), se = Tf(`${Math.max(0, ee - N)}%`), ce = (0, I.useCallback)(() => {
+ let ne = $f(te, h7), F = $f(P, h7), re = Yf(ne, (e) => `${e}%`), ie = Yf(F, (e) => `${e}%`), ae = Yf(ne, (e) => `${e}%`), oe = Yf(F, (e) => `${Math.max(0, 100 - e)}%`), se = Kf(`${Math.max(0, ee - N)}%`), ce = (0, I.useCallback)(() => {
se.set(`${Math.max(0, F.get() - ne.get())}%`);
}, [
ne,
F,
se
]);
- wf(ne, "change", ce), wf(F, "change", ce);
+ Gf(ne, "change", ce), Gf(F, "change", ce);
let le = (0, I.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -68604,7 +69099,7 @@ function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return C === 0 ? null : /* @__PURE__ */ (0, L.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : w,
- className: $5("group relative select-none", o),
+ className: e7("group relative select-none", o),
style: { height: a },
children: [
!b && /* @__PURE__ */ (0, L.jsx)(s7, {
@@ -68613,7 +69108,7 @@ function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, L.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, L.jsx)(kje, {
+ children: /* @__PURE__ */ (0, L.jsx)(cMe, {
data: e,
keys: S,
chartConfig: t,
@@ -68626,15 +69121,15 @@ function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, L.jsx)(Pf.div, {
+ /* @__PURE__ */ (0, L.jsx)(rp.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: ae }
}),
- /* @__PURE__ */ (0, L.jsx)(Pf.div, {
+ /* @__PURE__ */ (0, L.jsx)(rp.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: oe }
}),
- /* @__PURE__ */ (0, L.jsx)(Pf.div, {
+ /* @__PURE__ */ (0, L.jsx)(rp.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: re,
@@ -68659,14 +69154,14 @@ function Oje({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function g7({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, L.jsxs)(Pf.div, {
+ return /* @__PURE__ */ (0, L.jsxs)(rp.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ className: e7("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, L.jsx)("div", {
- className: $5("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ className: e7("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, L.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -68677,12 +69172,12 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, L.jsx)("div", {
- className: $5("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ className: e7("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 kje({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = I.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: l7(t)
@@ -68739,10 +69234,10 @@ function kje({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, L.jsx)(VG, {
+ if (r === "line") return /* @__PURE__ */ (0, L.jsx)(aK, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(YAe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Oje, {
data: e,
margin: {
top: 4,
@@ -68766,7 +69261,7 @@ function kje({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, L.jsx)(VG, {
+ return /* @__PURE__ */ (0, L.jsx)(aK, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, L.jsxs)(W5, {
@@ -68795,10 +69290,10 @@ function kje({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(VG, {
+ return /* @__PURE__ */ (0, L.jsx)(aK, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(fje, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Gje, {
data: e,
margin: {
top: 4,
@@ -68824,7 +69319,7 @@ function kje({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function Aje({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function lMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = I.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -68848,7 +69343,7 @@ function Aje({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var jje = {
+var uMe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, L.jsx)("pattern", {
id: e,
x: "0",
@@ -69021,7 +69516,7 @@ var jje = {
})
};
function _7({ variant: e }) {
- let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = jje[e];
+ let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = uMe[e];
return /* @__PURE__ */ (0, L.jsxs)(t2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, L.jsxs)("defs", { children: [
@@ -69052,7 +69547,7 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, Mje = "loading", Nje = 2e3, Pje = "evil-stacked", Fje = .5, Ije = .05, Lje = [
+var v7 = 2, dMe = "loading", fMe = 2e3, pMe = "evil-stacked", mMe = .5, hMe = .05, gMe = [
0,
.7,
.5,
@@ -69064,7 +69559,7 @@ function b7() {
return e;
}
function x7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = v7, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = nMe(m, h), { visibleData: T, brushProps: E } = Aje({ data: t }), D = (0, I.useMemo)(() => {
+ let _ = (0, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = FMe(m, h), { visibleData: T, brushProps: E } = lMe({ data: t }), D = (0, I.useMemo)(() => {
let e = I.Children.toArray(n), t = e.find((e) => (0, I.isValidElement)(e) && e.type === m7), r = (0, I.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -69107,7 +69602,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, L.jsx)(Oje, {
+ footer: O && !m && /* @__PURE__ */ (0, L.jsx)(sMe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -69138,7 +69633,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, L.jsx)(_7, { variant: d }),
/* @__PURE__ */ (0, L.jsx)(O6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, L.jsx)(rMe, {
+ m && /* @__PURE__ */ (0, L.jsx)(IMe, {
chartId: _,
onShimmerExit: w
})
@@ -69147,8 +69642,8 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function Rje({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = Nf();
+function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = ep();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -69170,7 +69665,7 @@ function Rje({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
dataKey: e,
- stackId: u ? Pje : void 0,
+ stackId: u ? pMe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -69187,44 +69682,44 @@ function Rje({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(qje, {
+ /* @__PURE__ */ (0, L.jsx)(EMe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, L.jsx)(Jje, {
+ t === "hatched" && /* @__PURE__ */ (0, L.jsx)(DMe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, L.jsx)(Xje, {
+ t === "duotone" && /* @__PURE__ */ (0, L.jsx)(kMe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(Zje, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(AMe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, L.jsx)(Qje, {
+ t === "gradient" && /* @__PURE__ */ (0, L.jsx)(jMe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, L.jsx)($je, {
+ t === "stripped" && /* @__PURE__ */ (0, L.jsx)(MMe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, L.jsx)(Yje, {
+ s && /* @__PURE__ */ (0, L.jsx)(OMe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, L.jsx)(eMe, {
+ o && /* @__PURE__ */ (0, L.jsx)(NMe, {
id: b,
dataKey: e
})
] })] });
}
-function zje({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function vMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = b7();
return o ? null : /* @__PURE__ */ (0, L.jsx)(W8, {
tickLine: e,
@@ -69235,7 +69730,7 @@ function zje({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function Bje({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function yMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = b7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(Y8, {
tickLine: e,
@@ -69247,7 +69742,7 @@ function Bje({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function Vje({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function bMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = b7();
return /* @__PURE__ */ (0, L.jsx)(G6, {
strokeDasharray: e,
@@ -69256,7 +69751,7 @@ function Vje({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function Hje({ variant: e, roundness: t, defaultIndex: n }) {
+function xMe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = b7();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
@@ -69268,7 +69763,7 @@ function Hje({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Uje({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function SMe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = b7();
return /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -69282,7 +69777,7 @@ function Uje({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var S7 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = Wje(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : Gje(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = Kje({
+ 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 = CMe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : wMe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = TMe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -69319,7 +69814,7 @@ var S7 = (e) => {
children: [/* @__PURE__ */ (0, L.jsx)(eY, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, L.jsx)(Pf.g, {
+ }), w ? /* @__PURE__ */ (0, L.jsx)(rp.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -69327,7 +69822,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, Wje = (e, t, n, r, i) => {
+}, CMe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -69342,11 +69837,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * Ije * 1e3, l = Fje * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * hMe * 1e3, l = mMe * 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: Lje,
+ ease: gMe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -69360,7 +69855,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, Gje = (e, t, n) => {
+}, wMe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -69369,10 +69864,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, Kje = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, TMe = ({ 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;
-}, qje = ({ id: e, dataKey: t, config: n }) => {
+}, EMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -69394,7 +69889,7 @@ var S7 = (e) => {
}, i);
})
});
-}, Jje = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, DMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -69435,7 +69930,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), Yje = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), OMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -69476,7 +69971,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), Xje = ({ id: e, dataKey: t, config: n }) => {
+] }), kMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -69544,7 +70039,7 @@ var S7 = (e) => {
})
})
] });
-}, Zje = ({ id: e, dataKey: t, config: n }) => {
+}, AMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -69612,7 +70107,7 @@ var S7 = (e) => {
})
})
] });
-}, Qje = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, jMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -69649,7 +70144,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), $je = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), MMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -69686,7 +70181,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), eMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+] }), NMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -69706,35 +70201,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), tMe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), PMe = (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 nMe(e, t = 12) {
+function FMe(e, t = 12) {
let [n, r] = (0, I.useState)(!1), i = (0, I.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, I.useMemo)(() => bje(t, 20, 80), [t, n]),
+ loadingData: (0, I.useMemo)(() => $je(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var rMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
- dataKey: Mje,
+var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
+ dataKey: dMe,
fill: "currentColor",
fillOpacity: .15,
radius: v7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(iMe, {
+}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(LMe, {
chartId: e,
onShimmerExit: t
-}) })] }), iMe = ({ chartId: e, onShimmerExit: t }) => {
- let n = tMe(), r = (0, I.useRef)(-1);
+}) })] }), LMe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = PMe(), r = (0, I.useRef)(-1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -69757,7 +70252,7 @@ var rMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, L.jsx)(Pf.rect, {
+ children: /* @__PURE__ */ (0, L.jsx)(rp.rect, {
y: "0",
width: "1",
height: "1",
@@ -69765,7 +70260,7 @@ var rMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: Nje / 1e3,
+ duration: fMe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -69787,10 +70282,10 @@ var rMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
})
] });
};
-x7.Bar = Rje, x7.XAxis = zje, x7.YAxis = Bje, x7.Grid = Vje, x7.Tooltip = Hje, x7.Legend = Uje, x7.Brush = m7;
+x7.Bar = _Me, x7.XAxis = vMe, x7.YAxis = yMe, x7.Grid = bMe, x7.Tooltip = xMe, x7.Legend = SMe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${aw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var C7 = `${gw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function w7({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -69817,7 +70312,7 @@ var T7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function aMe(e) {
+function RMe(e) {
return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
colors: E7(T7[t % T7.length])
@@ -69842,7 +70337,7 @@ function k7({ swatch: e, name: t, value: n }) {
});
}
var A7 = "size-2.5 shrink-0 rounded-xs";
-function oMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function zMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = i7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -69867,7 +70362,7 @@ function oMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
- content: /* @__PURE__ */ (0, L.jsx)(oMe, {
+ content: /* @__PURE__ */ (0, L.jsx)(zMe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -69944,7 +70439,7 @@ var F7 = [
"周六",
"周日"
], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function sMe(e) {
+function BMe(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;
@@ -69961,7 +70456,7 @@ function sMe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function cMe(e) {
+function VMe(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,
@@ -70000,19 +70495,19 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, lMe = {
+}, HMe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function uMe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function UMe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${lMe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${HMe[a]}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -70070,7 +70565,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, L.jsx)(uMe, {
+ }), g && _ ? /* @__PURE__ */ (0, L.jsx)(UMe, {
cell: g,
series: t.series,
tone: c,
@@ -70086,7 +70581,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var dMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
+var WMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
x: 0,
y: 18 + t * R7 + 7,
dominantBaseline: "middle",
@@ -70100,7 +70595,7 @@ var dMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) =>
children: t
}, t))] });
function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = sMe(e), s = cMe(e);
+ let o = BMe(e), s = VMe(e);
return s.cells.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, L.jsx)(B7, {
@@ -70111,7 +70606,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: dMe,
+ axis: WMe,
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, L.jsx)(B7, {
title: n,
@@ -70177,20 +70672,20 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, L.jsx)(TS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, L.jsx)(GS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var fMe = "30%", pMe = "100%", U7 = 5, W7 = 14, mMe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
+var GMe = "30%", KMe = "100%", U7 = 5, W7 = 14, qMe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
function q7() {
let e = (0, I.use)(K7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = fMe, outerRadius: l = pMe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = xMe(f), v = vMe(o), y = (0, I.useCallback)((e, t) => {
+function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = GMe, outerRadius: l = KMe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = eNe(f), v = ZMe(o), y = (0, I.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -70222,7 +70717,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(vje, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(Xje, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -70241,8 +70736,8 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, L.jsx)(_7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, L.jsx)(SMe, {}),
- /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(yMe, {
+ f && /* @__PURE__ */ (0, L.jsx)(tNe, {}),
+ /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(QMe, {
config: e,
chartId: m
}) })
@@ -70251,7 +70746,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function hMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function JMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = q7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(y6, {
dataKey: e,
@@ -70276,7 +70771,7 @@ function hMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function gMe({ variant: e, roundness: t, defaultIndex: n }) {
+function YMe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = q7();
return i ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -70289,7 +70784,7 @@ function gMe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function _Me({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function XMe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = q7();
return a ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -70303,7 +70798,7 @@ function _Me({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function vMe(e) {
+function ZMe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -70319,7 +70814,7 @@ function vMe(e) {
};
}
}
-var yMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var QMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = l7(n);
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -70342,13 +70837,13 @@ var yMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function bMe() {
- return Array.from({ length: mMe }, (e, t) => ({
+function $Me() {
+ return Array.from({ length: qMe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function xMe(e) {
+function eNe(e) {
let [t, n] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -70356,9 +70851,9 @@ function xMe(e) {
n((e) => e + 1);
}, G7);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => bMe(), [t]);
+ }, [e]), (0, I.useMemo)(() => $Me(), [t]);
}
-var SMe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
+var tNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
dataKey: "value",
cornerRadius: U7,
barSize: W7,
@@ -70372,17 +70867,17 @@ var SMe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
fillOpacity: .25
})
});
-J7.RadialBar = hMe, J7.Tooltip = gMe, J7.Legend = _Me;
+J7.RadialBar = JMe, J7.Tooltip = YMe, J7.Legend = XMe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var CMe = [
+var nNe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], wMe = [
+], rNe = [
"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",
@@ -70423,13 +70918,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, L.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: aMe(s.map((e) => e.name)),
- max: spe(s.map((e) => e.value)),
+ config: RMe(s.map((e) => e.name)),
+ max: Mpe(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, L.jsx)(J7.RadialBar, {
dataKey: "value",
- barSize: cpe(s.length),
+ barSize: Npe(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, L.jsx)(dY, {
...e,
@@ -70455,13 +70950,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${wMe[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 ${rNe[t % 6]}`,
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${CMe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${nNe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, L.jsx)("b", {
@@ -70480,7 +70975,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var TMe = 10, X7 = T7[5], EMe = T7[4], DMe = `${aw()} flex flex-col gap-4`, OMe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", kMe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", AMe = "开始播放后,这里会显示最近的真实观看证据。", jMe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", MMe = "添加媒体文件夹后,这里会显示存储空间。";
+var iNe = 10, X7 = T7[5], aNe = T7[4], oNe = `${gw()} flex flex-col gap-4`, sNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", cNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", lNe = "开始播放后,这里会显示最近的真实观看证据。", uNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", dNe = "添加媒体文件夹后,这里会显示存储空间。";
function Z7({ term: e, value: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -70502,10 +70997,10 @@ function Q7({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [BR(t, n), "%"]
+ children: [JR(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(uw, {
+ }), /* @__PURE__ */ (0, L.jsx)(xw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -70533,14 +71028,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${DMe} md:flex-row md:gap-6`,
+ className: `${oNe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function NMe({ data: t, configurable: n, openMediaSettings: r }) {
+function fNe({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -70568,14 +71063,14 @@ function NMe({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: X7,
- rows: fpe(t.by_length)
+ rows: Lpe(t.by_length)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
color: X7,
- rows: UR(t.by_quality)
+ rows: ZR(t.by_quality)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "文件类型",
@@ -70583,28 +71078,28 @@ function NMe({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: X7,
layout: "horizontal",
- rows: upe(t.by_medium)
+ rows: Fpe(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: iC,
+ icon: Jte,
title: "还没有视频",
actions: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: r,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, L.jsx)(tw, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: OMe
+ children: sNe
});
}
-function PMe({ data: e }) {
+function pNe({ data: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
@@ -70619,11 +71114,11 @@ function PMe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: EMe,
- rows: mpe(e.replays)
+ color: aNe,
+ rows: zpe(e.replays)
})] });
}
-function FMe({ attribution: e }) {
+function mNe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -70656,7 +71151,7 @@ function FMe({ attribution: e }) {
]
});
}
-function IMe({ volume: e }) {
+function hNe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -70673,11 +71168,11 @@ function IMe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [a(n), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [BR(n, t), "%"]
+ children: [JR(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, L.jsx)(uw, {
+ t == null ? null : /* @__PURE__ */ (0, L.jsx)(xw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -70695,25 +71190,25 @@ function IMe({ volume: e }) {
]
});
}
-function LMe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function gNe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(IMe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(hNe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: VS,
+ icon: sC,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: MMe
+ children: dNe
});
}
-function RMe({ tags: e, tagLabel: t, onTag: n }) {
+function _Ne({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: TMe,
+ previewCount: iNe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, L.jsx)("li", {
className: "min-w-0",
@@ -70737,24 +71232,24 @@ function RMe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: YS,
+ icon: pC,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, L.jsx)(tw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: kMe
+ children: cNe
});
}
-function zMe({ rows: e }) {
+function vNe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = VR(e);
+ let t = YR(e);
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -70762,41 +71257,41 @@ function zMe({ rows: e }) {
children: [/* @__PURE__ */ (0, L.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, L.jsx)("a", {
- href: ope(e),
+ href: jpe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, L.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: ape(e) })]
+ children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: Ape(e) })]
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${HR(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${XR(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: HS,
+ icon: cC,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, L.jsx)(tw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: AMe
+ children: lNe
});
}
-function BMe({ sources: e, videos: t }) {
+function yNe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)("article", {
@@ -70815,7 +71310,7 @@ function BMe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(uw, {
+ /* @__PURE__ */ (0, L.jsx)(xw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -70826,27 +71321,27 @@ function BMe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: YS,
+ icon: pC,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, L.jsx)(tw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: jMe
+ children: uNe
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, L.jsx)(rA, {
+ return /* @__PURE__ */ (0, L.jsx)(xA, {
id: e,
- className: vD({
+ className: ID({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, L.jsx)(SD, {
+ children: /* @__PURE__ */ (0, L.jsx)(BD, {
label: t,
icon: i,
accent: a,
@@ -70855,33 +71350,33 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function VMe(e) {
+function bNe(e) {
let t = Ft({
- queryKey: RR,
- queryFn: ({ signal: e }) => zR(e)
+ queryKey: KR,
+ queryFn: ({ signal: e }) => qR(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? K(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = BR(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, L.jsxs)(cw, { children: [
+ let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = JR(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
}),
- /* @__PURE__ */ (0, L.jsxs)(tA, {
+ /* @__PURE__ */ (0, L.jsxs)(yA, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsxs)(nA, {
+ /* @__PURE__ */ (0, L.jsxs)(bA, {
"aria-label": "统计视图",
- className: yD,
+ className: LD,
children: [
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: PS,
+ icon: eC,
accent: 0,
figure: o.toLocaleString(),
detail: a(s)
@@ -70889,15 +71384,15 @@ function VMe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: RS,
+ icon: iC,
accent: 1,
figure: r.played.toLocaleString(),
- detail: ipe(r.play_seconds)
+ detail: kpe(r.play_seconds)
}),
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: YS,
+ icon: pC,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -70905,21 +71400,21 @@ function VMe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: VS,
+ icon: sC,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${a(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "inventory",
- children: /* @__PURE__ */ (0, L.jsx)(NMe, {
+ children: /* @__PURE__ */ (0, L.jsx)(fNe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, L.jsxs)(iA, {
+ /* @__PURE__ */ (0, L.jsxs)(SA, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsx)(e9, {
@@ -70965,9 +71460,9 @@ function VMe(e) {
})
]
})
- }), /* @__PURE__ */ (0, L.jsx)(PMe, { data: n })]
+ }), /* @__PURE__ */ (0, L.jsx)(pNe, { data: n })]
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "coverage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -70975,10 +71470,10 @@ function VMe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, L.jsx)(FMe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, L.jsx)(mNe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "storage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -70986,7 +71481,7 @@ function VMe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, L.jsx)(LMe, {
+ children: /* @__PURE__ */ (0, L.jsx)(gNe, {
volumes: n.storage_volumes,
...e
})
@@ -70994,50 +71489,50 @@ function VMe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(tA, {
- className: `${aw({ padding: "none" })} flex flex-col`,
+ /* @__PURE__ */ (0, L.jsxs)(yA, {
+ className: `${gw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsxs)(nA, {
+ children: /* @__PURE__ */ (0, L.jsxs)(KN, {
"aria-label": "统计维度",
- className: xN,
+ className: JN,
children: [
- /* @__PURE__ */ (0, L.jsx)(rA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "tags",
- className: SN,
+ className: YN,
children: "内容标签"
}),
- /* @__PURE__ */ (0, L.jsx)(rA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "recent",
- className: SN,
+ className: YN,
children: "最近看过"
}),
- /* @__PURE__ */ (0, L.jsx)(rA, {
+ /* @__PURE__ */ (0, L.jsx)(xA, {
id: "sources",
- className: SN,
+ className: YN,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(RMe, {
+ children: /* @__PURE__ */ (0, L.jsx)(_Ne, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(zMe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, L.jsx)(vNe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, L.jsx)(iA, {
+ /* @__PURE__ */ (0, L.jsx)(SA, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(BMe, {
+ children: /* @__PURE__ */ (0, L.jsx)(yNe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -71048,7 +71543,7 @@ function VMe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function HMe(e, t) {
+function xNe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -71072,13 +71567,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function UMe(e) {
+function SNe(e) {
return e.index;
}
-function WMe(e) {
+function CNe(e) {
return e.nodes;
}
-function GMe(e) {
+function wNe(e) {
return e.links;
}
function s9(e, t) {
@@ -71093,8 +71588,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function KMe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = UMe, c = HMe, l, u, d = WMe, f = GMe, p = 6;
+function TNe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = SNe, c = xNe, l, u, d = CNe, f = wNe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -71280,7 +71775,7 @@ function KMe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, qMe = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, ENe = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -71321,7 +71816,7 @@ f9.prototype = p9.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > qMe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > ENe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -71339,27 +71834,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function JMe(e) {
+function DNe(e) {
return e[0];
}
-function YMe(e) {
+function ONe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var XMe = Array.prototype.slice;
+var kNe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function ZMe(e) {
+function ANe(e) {
return e.source;
}
-function QMe(e) {
+function jNe(e) {
return e.target;
}
-function $Me(e) {
- var t = ZMe, n = QMe, r = JMe, i = YMe, a = null;
+function MNe(e) {
+ var t = ANe, n = jNe, r = DNe, i = ONe, a = null;
function o() {
- var o, s = XMe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = kNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = p9(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
@@ -71374,48 +71869,48 @@ function $Me(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function eNe(e, t, n, r, i) {
+function NNe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function tNe() {
- return $Me(eNe);
+function PNe() {
+ return MNe(NNe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function nNe(e) {
+function FNe(e) {
return [e.source.x1, e.y0];
}
-function rNe(e) {
+function INe(e) {
return [e.target.x0, e.y1];
}
-function iNe() {
- return tNe().source(nNe).target(rNe);
+function LNe() {
+ return PNe().source(FNe).target(INe);
}
//#endregion
//#region src/react/taste/taste.ts
-var aNe = "/api/taste", h9 = "/api/taste/refresh", oNe = "/api/taste/import", sNe = "/api/taste/source", g9 = (e) => ["taste", e], cNe = ["taste", "refresh"], lNe = [
+var RNe = "/api/taste", h9 = "/api/taste/refresh", zNe = "/api/taste/import", BNe = "/api/taste/source", g9 = (e) => ["taste", e], VNe = ["taste", "refresh"], HNe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => iw(`${aNe}?window=${e}`, t), uNe = (e) => iw(h9, e);
-async function dNe(e, t) {
+], _9 = (e, t) => hw(`${RNe}?window=${e}`, t), UNe = (e) => hw(h9, e);
+async function WNe(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var fNe = (e) => q(h9, {
+var GNe = (e) => q(h9, {
window: e,
background: !0
-}), pNe = (e, t) => q(sNe, {
+}), KNe = (e, t) => q(BNe, {
operation: "remove",
source_key: e,
window: t
});
-async function mNe(e) {
- let t = await fetch(oNe, {
+async function qNe(e) {
+ let t = await fetch(zNe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -71429,25 +71924,25 @@ async function mNe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new nw(e || `导入失败(${t.status})`, t.status, n);
+ throw new pw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var hNe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", gNe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, _Ne = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function vNe(e) {
+var JNe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", YNe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, XNe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function ZNe(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 yNe(e) {
- let t = e.map(_Ne), n = Math.max(1, ...t);
+function QNe(e) {
+ let t = e.map(XNe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var y9 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function bNe(e) {
+function $Ne(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -71458,10 +71953,10 @@ var b9 = {
source: 145,
target: 545
};
-function xNe(e = []) {
+function ePe(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 = KMe().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 = TNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -71476,7 +71971,7 @@ function xNe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = iNe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = LNe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -71506,7 +72001,7 @@ function xNe(e = []) {
total: a
};
}
-var SNe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var tPe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = I.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -71560,7 +72055,7 @@ var SNe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(functio
}));
C9.displayName = "DefaultDot";
var w9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, L.jsxs)("g", {
- className: $5(a, "text-background"),
+ className: e7(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)("clipPath", {
@@ -71598,7 +72093,7 @@ var w9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}));
w9.displayName = "PrimaryBorderDot";
var T9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, L.jsxs)("g", {
- className: $5(a, "text-background"),
+ className: e7(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)("clipPath", {
@@ -71629,14 +72124,14 @@ var T9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
T9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var CNe = 1, wNe = .3, TNe = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
+var nPe = 1, rPe = .3, iPe = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
function k9() {
let e = (0, I.use)(O9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function A9({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = RNe(c, l), m = (0, I.useCallback)((e) => {
+ let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = _Pe(c, l), m = (0, I.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, I.useMemo)(() => ({
config: e,
@@ -71654,32 +72149,32 @@ function A9({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(uje, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(Uje, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, L.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, L.jsx)(zNe, {})
+ c && /* @__PURE__ */ (0, L.jsx)(vPe, {})
]
})]
})
});
}
-function ENe({ dataKey: e, variant: t = "filled", fillOpacity: n = wNe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function aPe({ dataKey: e, variant: t = "filled", fillOpacity: n = rPe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, I.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = MNe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = dPe(a, d, e, p.dot);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(U3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: CNe,
+ strokeWidth: nPe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -71692,29 +72187,29 @@ function ENe({ dataKey: e, variant: t = "filled", fillOpacity: n = wNe, isGlowin
},
...o
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(NNe, {
+ /* @__PURE__ */ (0, L.jsx)(fPe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, L.jsx)(PNe, {
+ /* @__PURE__ */ (0, L.jsx)(pPe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, L.jsx)(FNe, {
+ m && /* @__PURE__ */ (0, L.jsx)(mPe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, L.jsx)(INe, {
+ r && /* @__PURE__ */ (0, L.jsx)(hPe, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function DNe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function oPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, L.jsx)(I4, {
gridType: e,
stroke: t,
@@ -71723,7 +72218,7 @@ function DNe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function ONe({ tick: e = {
+function sPe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -71734,7 +72229,7 @@ function ONe({ tick: e = {
...n
});
}
-function kNe({ tick: e = {
+function cPe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -71746,7 +72241,7 @@ function kNe({ tick: e = {
...r
});
}
-function ANe({ variant: e, roundness: t, defaultIndex: n }) {
+function lPe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -71758,7 +72253,7 @@ function ANe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function jNe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function uPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
return i ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -71771,7 +72266,7 @@ function jNe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var MNe = (e, t, n, r) => {
+var dPe = (e, t, n, r) => {
let i = !1, a = !1;
return I.Children.forEach(e, (e) => {
if ((0, I.isValidElement)(e)) {
@@ -71813,7 +72308,7 @@ var MNe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), NNe = ({ id: e, dataKey: t, config: n }) => {
+}) }), fPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -71826,7 +72321,7 @@ var MNe = (e, t, n, r) => {
colorsCount: r
})
});
-}, PNe = ({ id: e, dataKey: t, config: n }) => {
+}, pPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -71839,7 +72334,7 @@ var MNe = (e, t, n, r) => {
colorsCount: r
})
});
-}, FNe = ({ id: e, dataKey: t, config: n }) => {
+}, mPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, L.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -71852,7 +72347,7 @@ var MNe = (e, t, n, r) => {
opacities: i
})
});
-}, INe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+}, hPe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -71872,7 +72367,7 @@ var MNe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), LNe = (e) => [
+}), gPe = (e) => [
"A",
"B",
"C",
@@ -71883,7 +72378,7 @@ var MNe = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function RNe(e, t = TNe) {
+function _Pe(e, t = iPe) {
let [n, r] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -71891,9 +72386,9 @@ function RNe(e, t = TNe) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => LNe(t), [t, n]);
+ }, [e]), (0, I.useMemo)(() => gPe(t), [t, n]);
}
-var zNe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
+var vPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -71905,17 +72400,17 @@ var zNe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = ENe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = DNe, A9.PolarAngleAxis = ONe, A9.PolarRadiusAxis = kNe, A9.Tooltip = ANe, A9.Legend = jNe;
+A9.Radar = aPe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = oPe, A9.PolarAngleAxis = sPe, A9.PolarRadiusAxis = cPe, A9.Tooltip = lPe, A9.Legend = uPe;
//#endregion
//#region src/react/taste/charts.tsx
-var BNe = [
+var yPe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], VNe = [
+], bPe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -71925,7 +72420,7 @@ var BNe = [
], P9 = { value: {
label: "标签命中",
colors: E7(T7[3])
-} }, HNe = [
+} }, xPe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -71935,20 +72430,20 @@ var BNe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], UNe = 26, WNe = { radius: P9.value }, GNe = (e, t) => Math.sqrt(e / t);
-function KNe({ rows: e, label: t }) {
- let n = bNe(e);
+], SPe = 26, CPe = { radius: P9.value }, wPe = (e, t) => Math.sqrt(e / t);
+function TPe({ rows: e, label: t }) {
+ let n = $Ne(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: GNe(e.value, r)
+ radius: wPe(e.value, r)
}));
return /* @__PURE__ */ (0, L.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, L.jsxs)(A9, {
data: i,
- config: WNe,
+ config: CPe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -71965,17 +72460,17 @@ function KNe({ rows: e, label: t }) {
})
});
}
-function qNe({ rows: e, label: t }) {
+function EPe({ rows: e, label: t }) {
let n = y9(e, 8);
return n.length ? /* @__PURE__ */ (0, L.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${HNe[n.length]}`,
+ className: `flex grow flex-col ${xPe[n.length]}`,
children: /* @__PURE__ */ (0, L.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: UNe },
+ chartProps: { maxBarSize: SPe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)(x7.YAxis, {
@@ -71999,8 +72494,8 @@ function qNe({ rows: e, label: t }) {
})
}) : null;
}
-function JNe({ flows: e }) {
- let [t, n] = (0, I.useState)(null), r = xNe(e);
+function DPe({ flows: e }) {
+ let [t, n] = (0, I.useState)(null), r = ePe(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, L.jsxs)("section", {
@@ -72028,7 +72523,7 @@ function JNe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${BNe[e.color]}`,
+ className: `outline-none transition-opacity ${yPe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -72062,14 +72557,14 @@ function JNe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? VNe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? bPe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, L.jsxs)("text", {
x: x9[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [SNe(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
+ children: [tPe(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -72087,11 +72582,11 @@ function JNe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var YNe = 10, F9 = XC(cA, lA, "text-body-2-medium"), I9 = `${aw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", XNe = "读取运行 Peach 的这台电脑上的浏览记录", ZNe = "导入或读取浏览记录后,这里会列出已采集设备。", QNe = "馆藏里暂时没有对得上浏览信号的标签。", $Ne = "采集浏览记录后,这里会显示聚合后的口味证据。", ePe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", tPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", nPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", rPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", iPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var OPe = 10, F9 = sw(OA, kA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", kPe = "读取运行 Peach 的这台电脑上的浏览记录", APe = "导入或读取浏览记录后,这里会列出已采集设备。", jPe = "馆藏里暂时没有对得上浏览信号的标签。", MPe = "采集浏览记录后,这里会显示聚合后的口味证据。", NPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", PPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", FPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", IPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", LPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: vD(),
- children: /* @__PURE__ */ (0, L.jsx)(SD, {
+ className: ID(),
+ children: /* @__PURE__ */ (0, L.jsx)(BD, {
label: t,
icon: e,
accent: i,
@@ -72114,22 +72609,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function aPe({ html: e }) {
+function RPe({ html: e }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${pL}`,
+ 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 ${bL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function oPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, L.jsx)(ow, {
+function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: QS,
+ icon: gC,
title: "暂无足够证据",
children: r
});
- let o = yNe(e);
+ let o = QNe(e);
return /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: YNe,
+ previewCount: OPe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
@@ -72156,7 +72651,7 @@ function oPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(aPe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(RPe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -72168,10 +72663,10 @@ function oPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: vNe(e)
+ children: ZNe(e)
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(DS, {
+ s ? /* @__PURE__ */ (0, L.jsx)(qS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -72192,23 +72687,23 @@ function oPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
});
}
function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(tA, {
- className: `${aw({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, L.jsxs)(yA, {
+ className: `${gw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsx)(nA, {
+ children: /* @__PURE__ */ (0, L.jsx)(KN, {
"aria-label": e,
- className: xN,
- children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(rA, {
+ className: JN,
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(xA, {
id: e.id,
- className: SN,
+ className: YN,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(iA, {
+ }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(SA, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(oPe, {
+ children: /* @__PURE__ */ (0, L.jsx)(zPe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -72216,7 +72711,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function sPe({ data: e, onSignal: t, navigate: n }) {
+function BPe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -72282,21 +72777,21 @@ function sPe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, L.jsx)(DS, {
+ }), /* @__PURE__ */ (0, L.jsx)(qS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: QS,
+ icon: gC,
title: "还没有可探索的入口",
- children: QNe
+ children: jPe
})
]
});
}
-function cPe({ onboarding: e, done: t }) {
+function VPe({ onboarding: e, done: t }) {
let [n, r] = (0, I.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -72305,21 +72800,21 @@ function cPe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, L.jsx)("div", {
- className: aw({
+ className: gw({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, L.jsxs)(MA, {
+ children: /* @__PURE__ */ (0, L.jsxs)(rj, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: tPe
+ children: PPe
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: nPe
+ children: FPe
}),
/* @__PURE__ */ (0, L.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -72349,7 +72844,7 @@ function cPe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: rPe
+ children: IPe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
@@ -72369,7 +72864,7 @@ function cPe({ onboarding: e, done: t }) {
})
});
}
-function lPe({ busy: e, onRefresh: t, onImport: n }) {
+function HPe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -72378,35 +72873,35 @@ function lPe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: NS,
- title: XNe,
+ leadingIcon: $S,
+ title: kPe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: TS,
+ leadingIcon: GS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
onClick: () => a(!0)
})]
- }), /* @__PURE__ */ (0, L.jsx)(ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(Ek, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: sA,
- children: /* @__PURE__ */ (0, L.jsxs)(yk, {
+ className: DA,
+ children: /* @__PURE__ */ (0, L.jsxs)(wA, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
className: F9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(NS, {
+ children: [/* @__PURE__ */ (0, L.jsx)($S, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -72414,7 +72909,7 @@ function lPe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(nC, {
+ children: [/* @__PURE__ */ (0, L.jsx)(_C, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -72422,9 +72917,9 @@ function lPe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function uPe({ sources: e, window: t, toast: n }) {
+function UPe({ sources: e, window: t, toast: n }) {
let r = It({
- mutationFn: (e) => pNe(e, t),
+ mutationFn: (e) => KNe(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -72448,10 +72943,10 @@ function uPe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(nC, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(_C, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, L.jsx)(PS, {
+ }) : /* @__PURE__ */ (0, L.jsx)(eC, {
"aria-hidden": !0,
className: "size-4"
})
@@ -72471,12 +72966,12 @@ function uPe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: FS,
+ leadingIcon: tC,
...Y(r.isPending),
onClick: () => {
r.isPending || g({
title: "移除口味数据源",
- body: iPe,
+ body: LPe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -72484,30 +72979,30 @@ function uPe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: PS,
+ icon: eC,
title: "还没有数据源",
- children: ZNe
+ children: APe
})
]
});
}
-function dPe(e) {
+function WPe(e) {
let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: o } = e, [s, c] = (0, I.useState)("all"), [l, u] = (0, I.useState)("browser"), d = (0, I.useRef)(null), f = Ft({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
placeholderData: Pe
- }), { job: p, running: m, outcome: h, start: g } = ej({
- queryKey: cNe,
- queryFn: ({ signal: e }) => uNe(e),
- start: () => fNe(s),
- idlePollMs: hNe,
+ }), { job: p, running: m, outcome: h, start: g } = Tj({
+ queryKey: VNe,
+ queryFn: ({ signal: e }) => UNe(e),
+ start: () => GNe(s),
+ idlePollMs: JNe,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = It({
- mutationFn: (e) => mNe(e),
+ mutationFn: (e) => qNe(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -72517,47 +73012,47 @@ function dPe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, L.jsx)(cw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "口味分析读取失败",
children: f.error ? K(f.error) : "读取口味分析失败"
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, L.jsxs)(cw, { children: [
- /* @__PURE__ */ (0, L.jsxs)(tA, {
+ return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(yA, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(nA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(KN, {
"aria-label": "口味证据来源",
- className: xN,
- children: [/* @__PURE__ */ (0, L.jsx)(rA, {
+ className: JN,
+ children: [/* @__PURE__ */ (0, L.jsx)(xA, {
id: "browser",
- className: SN,
+ className: YN,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, L.jsx)(rA, {
+ }), /* @__PURE__ */ (0, L.jsx)(xA, {
id: "peach",
- className: SN,
+ className: YN,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsx)(bj, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: lNe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: HNe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(xj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(lPe, {
+ /* @__PURE__ */ (0, L.jsx)(HPe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -72573,7 +73068,7 @@ function dPe(e) {
]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(cPe, {
+ /* @__PURE__ */ (0, L.jsx)(VPe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -72583,7 +73078,7 @@ function dPe(e) {
children: [
m ? p?.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(xw, {
label: p.message || "正在读取浏览记录",
value: p.checked || 0,
max: p.total
@@ -72591,44 +73086,44 @@ function dPe(e) {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, L.jsx)(sw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, L.jsx)(sw, { label: "正在导入历史文件" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(iA, {
+ /* @__PURE__ */ (0, L.jsxs)(SA, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: yD,
+ className: LD,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: HS,
+ icon: cC,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
detail: `${x.history_sources || 0} 个数据源 · ${v9(x.range_start)}—${v9(x.range_end)}`
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: YS,
+ icon: pC,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: QS,
+ icon: gC,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: PS,
+ icon: eC,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: a(w.bytes || 0)
@@ -72645,7 +73140,7 @@ function dPe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, L.jsx)(KNe, {
+ /* @__PURE__ */ (0, L.jsx)(TPe, {
rows: T,
label: "主要口味维度"
}),
@@ -72656,14 +73151,14 @@ function dPe(e) {
]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, L.jsx)(qNe, {
+ children: T.length ? /* @__PURE__ */ (0, L.jsx)(EPe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, L.jsx)(ow, {
+ }) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
- icon: QS,
+ icon: gC,
title: "暂无口味维度",
- children: $Ne
+ children: MPe
})
})]
}),
@@ -72679,7 +73174,7 @@ function dPe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, L.jsx)(JNe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, L.jsx)(DPe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, L.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -72722,42 +73217,42 @@ function dPe(e) {
rows: E,
kind: "",
visual: "none",
- empty: ePe
+ empty: NPe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(iA, {
+ /* @__PURE__ */ (0, L.jsxs)(SA, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: yD,
+ className: LD,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: RS,
+ icon: iC,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: gNe(x.peach_seconds || 0)
+ detail: YNe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: tC,
+ icon: qte,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: eC,
+ icon: Kte,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: YS,
+ icon: pC,
term: "有标签",
figure: D.toLocaleString()
})
@@ -72836,12 +73331,12 @@ function dPe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(sPe, {
+ /* @__PURE__ */ (0, L.jsx)(BPe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, L.jsx)(uPe, {
+ /* @__PURE__ */ (0, L.jsx)(UPe, {
sources: b.sources || [],
window: s,
toast: r
@@ -72861,7 +73356,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(uw, {
+ }), /* @__PURE__ */ (0, L.jsx)(xw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -72870,26 +73365,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function fPe(e) {
+function GPe(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var pPe = (e) => {
+var KPe = (e) => {
switch (e) {
- case "success": return gPe;
- case "info": return vPe;
- case "warning": return _Pe;
- case "error": return yPe;
+ case "success": return YPe;
+ case "info": return ZPe;
+ case "warning": return XPe;
+ case "error": return QPe;
default: return null;
}
-}, mPe = Array(12).fill(0), hPe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
+}, qPe = Array(12).fill(0), JPe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, mPe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
+}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, qPe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), gPe = /*#__PURE__*/ I.createElement("svg", {
+})))), YPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -72900,7 +73395,7 @@ var pPe = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), _Pe = /*#__PURE__*/ I.createElement("svg", {
+})), XPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -72911,7 +73406,7 @@ var pPe = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), vPe = /*#__PURE__*/ I.createElement("svg", {
+})), ZPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -72922,7 +73417,7 @@ var pPe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), yPe = /*#__PURE__*/ I.createElement("svg", {
+})), QPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -72933,7 +73428,7 @@ var pPe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), bPe = /*#__PURE__*/ I.createElement("svg", {
+})), $Pe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -72954,7 +73449,7 @@ var pPe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), xPe = () => {
+})), eFe = () => {
let [e, t] = I.useState(document.hidden);
return I.useEffect(() => {
let e = () => {
@@ -72962,7 +73457,7 @@ var pPe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, SPe = 1, CPe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : SPe++, W9 = new class {
+}, tFe = 1, nFe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : tFe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -72972,7 +73467,7 @@ var pPe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - CPe;
+ let e = this.toasts.length - nFe;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = U9(e), i = this.pendingDismissals.get(r);
@@ -73050,7 +73545,7 @@ var pPe = (e) => {
type: "default",
message: e
});
- else if (TPe(e) && !e.ok) {
+ else if (iFe(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !I.isValidElement(r) ? r : { message: r };
this.create({
@@ -73103,7 +73598,7 @@ var pPe = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), wPe = (e, t) => W9.message(e, t), TPe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(wPe, {
+}(), rFe = (e, t) => W9.message(e, t), iFe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(rFe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -73117,20 +73612,20 @@ var pPe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-fPe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+GPe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function K9(e) {
return e.label !== void 0;
}
-var EPe = 3, DPe = "24px", OPe = "16px", q9 = 4e3, kPe = 356, APe = 14, jPe = 45, MPe = 200;
+var aFe = 3, oFe = "24px", sFe = "16px", q9 = 4e3, cFe = 356, lFe = 14, uFe = 45, dFe = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function NPe(e) {
+function fFe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var PPe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, ne] = I.useState(!1), [F, re] = I.useState(!1), [ie, ae] = I.useState(0), [oe, se] = I.useState(0), ce = I.useRef(n.duration || y || q9), le = I.useRef(null), ue = I.useRef(null), L = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = xPe(), Ee = I.useMemo(() => e.swipeDirections ?? NPe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var pFe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, ne] = I.useState(!1), [F, re] = I.useState(!1), [ie, ae] = I.useState(0), [oe, se] = I.useState(0), ce = I.useRef(n.duration || y || q9), le = I.useRef(null), ue = I.useRef(null), L = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = eFe(), Ee = I.useMemo(() => e.swipeDirections ?? fFe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = I.useMemo(() => he * x + we, [he, we]), I.useEffect(() => {
ce.current = _e;
}, [_e]), I.useEffect(() => {
@@ -73171,7 +73666,7 @@ var PPe = (e) => {
let ke = I.useCallback(() => {
N(!0), ae(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, MPe);
+ }, dFe);
}, [
n,
d,
@@ -73204,12 +73699,12 @@ var PPe = (e) => {
return w?.loading ? /*#__PURE__*/ I.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ I.createElement(hPe, {
+ }, w.loading) : /*#__PURE__*/ I.createElement(JPe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || pPe(z);
+ let je = n.icon || w?.[z] || KPe(z);
return /*#__PURE__*/ I.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -73256,7 +73751,7 @@ var PPe = (e) => {
if (P || !fe) return;
xe.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= jPe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= uFe || a > .11)) {
ae(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), ne(!0);
return;
}
@@ -73297,7 +73792,7 @@ var PPe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? bPe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
+ }, w?.close ?? $Pe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
"data-icon": "",
className: J9(C?.icon, n?.classNames?.icon)
}, z === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, z === "loading" ? null : je) : null, /*#__PURE__*/ I.createElement("div", {
@@ -73332,10 +73827,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function FPe(e, t) {
+function mFe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? OPe : DPe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? sFe : oFe;
function o(e) {
[
"top",
@@ -73356,8 +73851,8 @@ function FPe(e, t) {
}) : o(a);
}), n;
}
-var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = EPe, toastOptions: g, dir: _ = Y9(), gap: v = APe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), ne = I.useRef(!1), F = I.useCallback((e) => {
+var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = aFe, toastOptions: g, dir: _ = Y9(), gap: v = lFe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), ne = I.useRef(!1), F = I.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return I.useEffect(() => W9.subscribe((e) => {
@@ -73371,7 +73866,7 @@ var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
return;
}
setTimeout(() => {
- Th.flushSync(() => {
+ Yh.flushSync(() => {
C((t) => {
let n = t.findIndex((t) => t.id === e.id);
return n === -1 ? [e, ...t] : [
@@ -73443,10 +73938,10 @@ var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${kPe}px`,
+ "--width": `${cFe}px`,
"--gap": `${v}px`,
...m,
- ...FPe(l, u)
+ ...mFe(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -73464,7 +73959,7 @@ var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(PPe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(pFe, {
key: n.id,
icons: y,
index: i,
@@ -73498,8 +73993,8 @@ var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, LPe = (e, t) => {
- Z9 || (Z9 = !0, (0, SS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(IPe, {
+}), Z9 = !1, gFe = (e, t) => {
+ Z9 || (Z9 = !0, (0, HS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(hFe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -73520,7 +74015,7 @@ var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, RPe = (e, t) => {
+}, _Fe = (e, t) => {
let n = t.alert ? G9.error : G9.success, r = t.action;
n(/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -73533,116 +74028,116 @@ var IPe = /*#__PURE__*/ I.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function zPe() {
+function vFe() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
return (t, n) => {
- let r = (0, SS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(de, {
+ let r = (0, HS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(de, {
client: X,
- children: /* @__PURE__ */ (0, L.jsx)(Bu, {
+ children: /* @__PURE__ */ (0, L.jsx)(sd, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, L.jsx)(cy, {
- getContainer: zPe,
+ children: /* @__PURE__ */ (0, L.jsx)(vy, {
+ getContainer: vFe,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
})
}));
- return (0, Th.flushSync)(() => i(n)), {
+ return (0, Yh.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var BPe = {
+var yFe = {
activity: {
- prefetch: (e, t) => Hne(t),
- mount: $9(ere)
+ prefetch: (e, t) => tre(t),
+ mount: $9(pre)
},
"catalog-grid": {
- prefetch: cre,
- mount: $9(Zw)
+ prefetch: xre,
+ mount: $9(xT)
},
configuration: {
- prefetch: (e, t) => AR(t),
- mount: $9($fe)
+ prefetch: (e, t) => RR(t),
+ mount: $9(wpe)
},
"configuration-summary": {
- prefetch: (e, t) => AR(t),
- mount: $9(tpe)
+ prefetch: (e, t) => RR(t),
+ mount: $9(Epe)
},
"data-cleanup": {
- prefetch: (e, t) => cie(t),
- mount: $9(Zj)
+ prefetch: (e, t) => mie(t),
+ mount: $9(SM)
},
duplicates: {
- prefetch: (e, t) => gT(t),
- mount: $9(hM)
+ prefetch: (e, t) => BT(t),
+ mount: $9(BM)
},
"entity-hero": {
prefetch: async () => {},
- mount: $9(boe)
+ mount: $9(Hoe)
},
"entity-filter": {
prefetch: async () => {},
- mount: $9(AN)
+ mount: $9(rP)
},
"entity-body": {
prefetch: async () => {},
- mount: $9(uN)
+ mount: $9(FN)
},
"follow-detail": {
- prefetch: Ase,
- mount: $9(qse)
+ prefetch: Qse,
+ mount: $9(hce)
},
"follow-feed": {
- prefetch: _se,
- mount: $9(uce)
+ prefetch: zse,
+ mount: $9(Mce)
},
"item-detail": {
- prefetch: Zle,
- mount: $9(yue)
+ prefetch: Sue,
+ mount: $9(Wue)
},
"follow-manage": {
- prefetch: (e, t) => cse(t, e.tab),
- mount: $9(Gle)
+ prefetch: (e, t) => Ase(t, e.tab),
+ mount: $9(gue)
},
index: {
- prefetch: (e, t) => LM(e, t),
- mount: $9(Zue)
+ prefetch: (e, t) => cN(e, t),
+ mount: $9(Sde)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(mde)
+ mount: $9(zde)
},
"library-processing": {
- prefetch: (e, t) => DT(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(bde, { ...e }) : /* @__PURE__ */ (0, L.jsx)(UA, { ...e }))
+ prefetch: (e, t) => ZT(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Gde, { ...e }) : /* @__PURE__ */ (0, L.jsx)(mj, { ...e }))
},
playlists: {
- prefetch: (e, t) => Sde(t),
- mount: $9(Pde)
+ prefetch: (e, t) => qde(t),
+ mount: $9(afe)
},
"quality-goals": {
- prefetch: (e, t) => $T(t),
- mount: $9(Ide)
+ prefetch: (e, t) => CE(t),
+ mount: $9(sfe)
},
review: {
- prefetch: (e, t) => PE(t),
- mount: $9(Qde)
+ prefetch: (e, t) => Mre(t),
+ mount: $9(Cfe)
},
scraping: {
- prefetch: (e, t) => afe(t),
- mount: $9(ffe)
+ prefetch: (e, t) => Afe(t),
+ mount: $9(Lfe)
},
stats: {
- prefetch: (e, t) => rpe(t),
- mount: $9(VMe)
+ prefetch: (e, t) => Ope(t),
+ mount: $9(bNe)
},
taste: {
- prefetch: (e, t) => dNe("all", t),
- mount: $9(dPe)
+ prefetch: (e, t) => WNe("all", t),
+ mount: $9(WPe)
}
};
//#endregion
-export { LPe as mountToaster, BPe as pages, RPe as showToast };
+export { gFe as mountToaster, yFe as pages, _Fe as showToast };
diff --git a/web/js/ui-components.js b/web/js/ui-components.js
index e8c001d99..c23758217 100644
--- a/web/js/ui-components.js
+++ b/web/js/ui-components.js
@@ -862,6 +862,14 @@ export function attachOverlayScrollbar(container,{variant=''}={}){
container.dataset.overlayScrollbar='true';
// 轨道按宿主的内边距框定位,static 的宿主会把它甩到更外层某个祖先上去。
if(!root&&getComputedStyle(host).position==='static')host.style.position='relative';
+ // 局部纵向滚动统一显示边缘提示,整页使用粘性导航层次。
+ const edges=root?null:document.createElement('div');
+ if(edges){
+ edges.className='ov-edges';
+ edges.setAttribute('aria-hidden','true');
+ edges.innerHTML='<span class="ov-edge-top"></span><span class="ov-edge-bottom"></span>';
+ host.append(edges);
+ }
const lanes=(root?['y']:['y','x']).map(axis=>{
const track=document.createElement('div');
// 两个类名写全,别拼 `ov-${axis}`:样式表的选择器要能在源码里查到消费者。
@@ -900,6 +908,27 @@ export function attachOverlayScrollbar(container,{variant=''}={}){
}
};
const sync=()=>{
+ if(edges){
+ const {left,top}=offsetWithin();
+ const range=container.scrollHeight-container.clientHeight;
+ const above=range>1&&container.scrollTop>1;
+ const below=range>1&&container.scrollTop<range-1;
+ edges.hidden=!above&&!below;
+ edges.style.left=`${left}px`;
+ edges.style.top=`${top}px`;
+ edges.style.width=`${container.clientWidth}px`;
+ edges.style.height=`${container.clientHeight}px`;
+ edges.classList.toggle('can-scroll-top',above);
+ edges.classList.toggle('can-scroll-bottom',below);
+ if(above||below){
+ container.style.setProperty('--scroll-edge-top',above?'16px':'0px');
+ container.style.setProperty('--scroll-edge-bottom',below?'16px':'0px');
+ }else{
+ container.style.removeProperty('--scroll-edge-top');
+ container.style.removeProperty('--scroll-edge-bottom');
+ }
+ container.toggleAttribute('data-scroll-edges',above||below);
+ }
lanes.forEach(lane=>{
const {axis,track,thumb}=lane,vertical=axis==='y';
const size=vertical?container.clientHeight:container.clientWidth;
@@ -923,11 +952,12 @@ export function attachOverlayScrollbar(container,{variant=''}={}){
};
(root?document:container).addEventListener('scroll',sync,{passive:true});
new ResizeObserver(sync).observe(container);
+ if(!root)container.addEventListener('load',sync,true);
// 内容长短变了但容器盒子没变(抽屉重建、分区展开),容器自己的 ResizeObserver 一声不响。
// 整页那一条改看 body:它的高度就是内容高度,而在 documentElement 上挂 subtree 的
// MutationObserver 等于每渲染一张卡都强制一次重排。
if(root)new ResizeObserver(sync).observe(document.body);
- else new MutationObserver(sync).observe(container,{childList:true,subtree:true});
+ else new MutationObserver(sync).observe(container,{childList:true,characterData:true,subtree:true});
lanes.forEach(({axis,track,thumb})=>track.addEventListener('pointerdown',event=>{
const vertical=axis==='y';
const trackRect=track.getBoundingClientRect(),thumbRect=thumb.getBoundingClientRect();