Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 资料卡名字菜单离按钮 8px,悬停按钮出「名字与别名」提示

longmeidao6ccc2293fdb9
diff --git a/frontend/src/react/entity-hero/name-picker.tsx b/frontend/src/react/entity-hero/name-picker.tsx
index 07ac6a066..5dc24add7 100644
--- a/frontend/src/react/entity-hero/name-picker.tsx
+++ b/frontend/src/react/entity-hero/name-picker.tsx
@@ -11,7 +11,7 @@
* 面板从按钮左缘往右开:往左开的话 260px 的菜单越过名字压在头像上(用户报过)。面板那身
* 盒子取 BoardUI 的菜单面(`MENU_POPOVER_SURFACE`,同旧锚定菜单 `.popmenu` 的 16px 圆角、
* 10px 内边距与投影),菜单项的几何写在 `./entity-hero.css`。 */
-import { useState } from 'react';
+import { useEffect, useRef, useState } from 'react';
import { Button, Menu, MenuItem, MenuSection, MenuTrigger, Popover, Separator } from 'react-aria-components';
import { MENU_POPOVER_SURFACE } from '@/components/base/dropdown/menu-styles';
@@ -25,12 +25,17 @@ export function NamePicker({ current, choices, onChoose, onAddAlias }: {
onAddAlias(): void;
}) {
const [open, setOpen] = useState(false);
+ const toggle = useRef<HTMLButtonElement>(null);
+ /* title 给壳的提示条用(board-controls 只认 [title]),和旧资料卡那枚一样悬停就出字。
+ react-aria 的 Button 不收 title,挂载后直接写到节点上;提示条收起时会把它放回来。 */
+ useEffect(() => { toggle.current?.setAttribute('title', '名字与别名') }, []);
return (
<MenuTrigger isOpen={open} onOpenChange={setOpen}>
- <Button data-namepick-toggle="" aria-label="名字与别名">
+ <Button ref={toggle} data-namepick-toggle="" aria-label="名字与别名">
<Glyph name="chevron-down" />
</Button>
- <Popover placement="bottom start" offset={4} containerPadding={8} className={MENU_POPOVER_SURFACE}
+ {/* 离按钮 8px:旧锚定菜单 wireAnchoredMenu 就是 anchor.bottom + 8,另两枚弹层也是 8。 */}
+ <Popover placement="bottom start" offset={8} containerPadding={8} className={MENU_POPOVER_SURFACE}
data-namepick-menu="">
<Menu aria-label="名字与别名" data-namepick-list="">
<MenuSection selectionMode="single" disallowEmptySelection selectedKeys={[current]}
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 7aeacdb27..2dfa09302 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto;box-shadow:0 12px 24px -4px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000008c),0 4px 8px -2px var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#00000073)}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr[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-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:flex-nowrap{flex-wrap:nowrap}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto;box-shadow:0 12px 24px -4px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000008c),0 4px 8px -2px var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#00000073)}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index faaf3fe9a..6685a7d3d 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -21,10 +21,10 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
enumerable: !(r = E(t, s)) || r.enumerable
});
return e;
-}, ee = (e, t, n) => (n = e == null ? {} : w(O(e)), N(t || !e || !e.__esModule || !k.call(e, "default") ? T(n, "default", {
+}, P = (e, t, n) => (n = e == null ? {} : w(O(e)), N(t || !e || !e.__esModule || !k.call(e, "default") ? T(n, "default", {
value: e,
enumerable: !0
-}) : n, e)), te = (e) => k.call(e, "module.exports") ? e["module.exports"] : N(T({}, "__esModule", { value: !0 }), e), P = /* @__PURE__ */ j(((e) => {
+}) : n, e)), ee = (e) => k.call(e, "module.exports") ? e["module.exports"] : N(T({}, "__esModule", { value: !0 }), e), F = /* @__PURE__ */ j(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;
function h(e) {
return typeof e != "object" || !e ? null : (e = m && e[m] || e["@@iterator"], typeof e == "function" ? e : null);
@@ -105,7 +105,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
}
throw e;
}
- function ee(e, r, i, a, o) {
+ function P(e, r, i, a, o) {
var s = typeof e;
(s === "undefined" || s === "boolean") && (e = null);
var c = !1;
@@ -121,30 +121,30 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
case n:
c = !0;
break;
- case d: return c = e._init, ee(c(e._payload), r, i, a, o);
+ case d: return c = e._init, P(c(e._payload), r, i, a, o);
}
}
- if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), ee(o, r, i, "", function(e) {
+ if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), P(o, r, i, "", function(e) {
return e;
})) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(j, "$&/") + "/") + c)), r.push(o)), 1;
c = 0;
var l = a === "" ? "." : a + ":";
- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += ee(a, r, i, s, o);
- else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += ee(a, r, i, s, o);
+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += P(a, r, i, s, o);
+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += P(a, r, i, s, o);
else if (s === "object") {
- if (typeof e.then == "function") return ee(N(e), r, i, a, o);
+ if (typeof e.then == "function") return P(N(e), r, i, a, o);
throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
}
return c;
}
- function te(e, t, n) {
+ function ee(e, t, n) {
if (e == null) return e;
var r = [], i = 0;
- return ee(e, r, "", "", function(e) {
+ return P(e, r, "", "", function(e) {
return t.call(n, e, i++);
}), r;
}
- function P(e) {
+ function F(e) {
if (e._status === -1) {
var t = e._result, n = t();
n.then(function(t) {
@@ -156,7 +156,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
if (e._status === 1) return e._result.default;
throw e._result;
}
- var F = typeof reportError == "function" ? reportError : function(e) {
+ var te = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -176,9 +176,9 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
n.types = t === null ? null : t.types, T.T = n;
try {
var r = e(), i = T.S;
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, F);
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, te);
} catch (e) {
- F(e);
+ te(e);
} finally {
t !== null && n.types !== null && (t.types = n.types), T.T = t;
}
@@ -191,20 +191,20 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
} else ne(re.bind(null, e));
}
var I = {
- map: te,
+ map: ee,
forEach: function(e, t, n) {
- te(e, function() {
+ ee(e, function() {
t.apply(this, arguments);
}, n);
},
count: function(e) {
var t = 0;
- return te(e, function() {
+ return ee(e, function() {
t++;
}), t;
},
toArray: function(e) {
- return te(e, function(e) {
+ return ee(e, function(e) {
return e;
}) || [];
},
@@ -272,7 +272,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
_status: -1,
_result: e
},
- _init: P
+ _init: F
};
}, e.memo = function(e, t) {
return {
@@ -319,8 +319,8 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
}, e.useTransition = function() {
return T.H.useTransition();
}, e.version = "19.3.0";
-})), F = /* @__PURE__ */ j(((e, t) => {
- t.exports = P();
+})), te = /* @__PURE__ */ j(((e, t) => {
+ t.exports = F();
})), ne = /* @__PURE__ */ j(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
function r(e, n, r) {
@@ -338,7 +338,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
e.Fragment = n, e.jsx = r, e.jsxs = r;
})), re = /* @__PURE__ */ j(((e, t) => {
t.exports = ne();
-})), I = /* @__PURE__ */ ee(F(), 1), L = re(), ie = I.createContext(void 0), ae = (e) => {
+})), I = /* @__PURE__ */ P(te(), 1), L = re(), ie = I.createContext(void 0), ae = (e) => {
let t = I.useContext(ie);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
@@ -5963,7 +5963,7 @@ function ju(e) {
typeof e == "function" && (Au = (t) => t.startsWith("on") ? !Eu(t) : e(t));
}
try {
- ju((ku(), te(Du)).default);
+ ju((ku(), ee(Du)).default);
} catch {}
function Mu(e, t, n) {
let r = {};
@@ -8419,7 +8419,7 @@ function ph() {
//#endregion
//#region node_modules/react-dom/cjs/react-dom.production.js
var mh = /* @__PURE__ */ j(((e) => {
- var t = F();
+ var t = te();
function n(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -8556,7 +8556,7 @@ var mh = /* @__PURE__ */ j(((e) => {
}
n(), t.exports = mh();
})), gh = /* @__PURE__ */ j(((e) => {
- var t = F();
+ var t = te();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -8595,7 +8595,7 @@ var mh = /* @__PURE__ */ j(((e) => {
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
})), _h = /* @__PURE__ */ j(((e, t) => {
t.exports = gh();
-})), vh = /* @__PURE__ */ ee(hh(), 1), yh = _h(), bh = /*#__PURE__*/ (0, I.createContext)(!1), xh = /*#__PURE__*/ (0, I.createContext)(null);
+})), vh = /* @__PURE__ */ P(hh(), 1), yh = _h(), bh = /*#__PURE__*/ (0, I.createContext)(!1), xh = /*#__PURE__*/ (0, I.createContext)(null);
function Sh(e) {
if ((0, I.useContext)(xh)) return e.content;
let { collection: t, document: n } = Eh(e.createCollection);
@@ -8846,7 +8846,7 @@ function ag() {
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var og = Symbol.for("react-aria.i18n.locale"), eee = Symbol.for("react-aria.i18n.strings"), sg = void 0, cg = class e {
+var og = Symbol.for("react-aria.i18n.locale"), sg = Symbol.for("react-aria.i18n.strings"), cg = void 0, lg = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -8857,39 +8857,39 @@ var og = Symbol.for("react-aria.i18n.locale"), eee = Symbol.for("react-aria.i18n
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = tee(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = eee(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
let n = window[og];
- if (sg === void 0) {
- let t = window[eee];
+ if (cg === void 0) {
+ let t = window[sg];
if (!t) return null;
- sg = {};
- for (let r in t) sg[r] = new e({ [n]: t[r] }, n);
+ cg = {};
+ for (let r in t) cg[r] = new e({ [n]: t[r] }, n);
}
- let r = sg?.[t];
+ let r = cg?.[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 tee(e, t, n = "en-US") {
+function eee(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = nee(e), i = lg(e);
+ let r = tee(e), i = nee(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 nee(e) {
+function tee(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function lg(e) {
+function nee(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var ug = /* @__PURE__ */ new Map(), dg = /* @__PURE__ */ new Map(), fg = class {
+var ug = /* @__PURE__ */ new Map(), dg = /* @__PURE__ */ new Map(), ree = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -8911,26 +8911,26 @@ var ug = /* @__PURE__ */ new Map(), dg = /* @__PURE__ */ new Map(), fg = class {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, pg = /* @__PURE__ */ new WeakMap();
-function mg(e) {
- let t = pg.get(e);
- return t || (t = new cg(e), pg.set(e, t)), t;
+}, fg = /* @__PURE__ */ new WeakMap();
+function pg(e) {
+ let t = fg.get(e);
+ return t || (t = new lg(e), fg.set(e, t)), t;
}
-function ree(e, t) {
- return t && cg.getGlobalDictionaryForPackage(t) || mg(e);
+function iee(e, t) {
+ return t && lg.getGlobalDictionaryForPackage(t) || pg(e);
}
-function hg(e, t) {
- let { locale: n } = ag(), r = ree(e, t);
- return (0, I.useMemo)(() => new fg(n, r), [n, r]);
+function mg(e, t) {
+ let { locale: n } = ag(), r = iee(e, t);
+ return (0, I.useMemo)(() => new ree(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var iee = /* @__PURE__ */ new Set(["id"]), aee = /* @__PURE__ */ new Set([
+var aee = /* @__PURE__ */ new Set(["id"]), oee = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), oee = /* @__PURE__ */ new Set([
+]), see = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -8938,52 +8938,52 @@ var iee = /* @__PURE__ */ new Set(["id"]), aee = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), see = /* @__PURE__ */ new Set([
+]), cee = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), gg = /* @__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(".")), cee = /^(data-.*)$/;
-function _g(e, t = {}) {
+]), hg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), lee = /^(data-.*)$/;
+function gg(e, t = {}) {
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) && (iee.has(t) || n && aee.has(t) || r && oee.has(t) || i && see.has(t) || a && (gg.has(t) || t.endsWith("Capture") && gg.has(t.slice(0, -7))) || o?.has(t) || cee.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (aee.has(t) || n && oee.has(t) || r && see.has(t) || i && cee.has(t) || a && (hg.has(t) || t.endsWith("Capture") && hg.has(t.slice(0, -7))) || o?.has(t) || lee.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var vg = "default", yg = "", bg = /* @__PURE__ */ new WeakMap();
-function lee(e) {
+var _g = "default", vg = "", yg = /* @__PURE__ */ new WeakMap();
+function uee(e) {
if (Dp() && kp()) {
- if (vg === "default") {
+ if (_g === "default") {
let t = Gf(e);
- yg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ vg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
}
- vg = "disabled";
+ _g = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- bg.set(e, e.style[t]), e.style[t] = "none";
+ yg.set(e, e.style[t]), e.style[t] = "none";
}
}
-function xg(e) {
+function bg(e) {
if (Dp() && kp()) {
- if (vg !== "disabled") return;
- vg = "restoring", setTimeout(() => {
+ if (_g !== "disabled") return;
+ _g = "restoring", setTimeout(() => {
km(() => {
- if (vg === "restoring") {
+ if (_g === "restoring") {
let t = Gf(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = yg || ""), yg = "", vg = "default";
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = vg || ""), vg = "", _g = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && bg.has(e)) {
- let t = bg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), bg.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && yg.has(e)) {
+ let t = yg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), yg.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function uee(e, t) {
+function dee(e, t) {
let n = Kf(t), r = Gf(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
@@ -8991,18 +8991,18 @@ function uee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var Sg = /* @__PURE__ */ new WeakMap();
-function Cg(e) {
- let t = Gf(e), n = Sg.get(t);
- return n ??= uee("csp-nonce", t), n !== void 0 && Sg.set(t, n), n;
+var xg = /* @__PURE__ */ new WeakMap();
+function Sg(e) {
+ let t = Gf(e), n = xg.get(t);
+ return n ??= dee("csp-nonce", t), n !== void 0 && xg.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var wg = I.createContext({ register: () => {} });
-wg.displayName = "PressResponderContext";
+var Cg = I.createContext({ register: () => {} });
+Cg.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function Tg() {
+function wg() {
let e = (0, I.useRef)(/* @__PURE__ */ new Map()), t = (0, I.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -9029,15 +9029,15 @@ function Tg() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function dee(e) {
- let t = (0, I.useContext)(wg);
+function fee(e) {
+ let t = (0, I.useContext)(Cg);
if (t) {
let { register: n, ref: r, ...i } = t;
e = H(i, e), n();
}
return oh(t, e.ref), e;
}
-var Eg = class {
+var Tg = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -9050,9 +9050,9 @@ var Eg = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Dg = Symbol("linkClicked"), Og = "react-aria-pressable-style", kg = "data-react-aria-pressable";
-function Ag(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 } = dee(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
+}, Eg = Symbol("linkClicked"), Dg = "react-aria-pressable-style", Og = "data-react-aria-pressable";
+function kg(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = fee(e), [m, h] = (0, I.useState)(!1), g = (0, I.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -9062,12 +9062,12 @@ function Ag(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Tg(), y = (0, I.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = wg(), 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 Eg("pressstart", t, e);
+ let n = new Tg("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -9081,11 +9081,11 @@ function Ag(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new Eg("pressend", r, e);
+ let t = new Tg("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new Eg("press", r, e);
+ let n = new Tg("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -9099,14 +9099,14 @@ function Ag(e) {
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new Eg("pressup", t, e);
+ let r = new Tg("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(Ng(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || xg(t.target);
+ t.didFirePressStart && t.pointerType != null && b(Mg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || bg(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -9136,13 +9136,13 @@ function Ag(e) {
}, [s, o]), O = (0, I.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (Mg(t.nativeEvent, t.currentTarget) && tp(t.currentTarget, V(t))) {
- Fg(V(t), t.key) && t.preventDefault();
+ if (jg(t.nativeEvent, t.currentTarget) && tp(t.currentTarget, V(t))) {
+ Pg(V(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
_(Gf(t.currentTarget), "keyup", jm((t) => {
- Mg(t, i) && !t.repeat && tp(i, V(t)) && e.target && S(Ng(e.target, t), "keyboard");
+ jg(t, i) && !t.repeat && tp(i, V(t)) && e.target && S(Mg(e.target, t), "keyboard");
}, n), !0), r && t.stopPropagation(), t.metaKey && wp() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
@@ -9153,17 +9153,17 @@ function Ag(e) {
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(Ng(t.currentTarget, t), r), a = x(Ng(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Mg(t.currentTarget, t), r), a = x(Mg(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 && Mg(t, e.target)) {
- Fg(V(t), t.key) && t.preventDefault();
+ if (e.isPressed && e.target && jg(t, e.target)) {
+ Pg(V(t), t.key) && t.preventDefault();
let n = V(t), r = tp(e.target, n);
- x(Ng(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && jg(e.target) && tp(e.target, n) && !t[Dg] && (t[Dg] = !0, Rp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ x(Mg(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && Ag(e.target) && tp(e.target, n) && !t[Eg] && (t[Eg] = !0, Rp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -9180,7 +9180,7 @@ function Ag(e) {
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 || lee(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || uee(e.target), i = y(t, e.pointerType);
let a = V(t);
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Gf(t.currentTarget), "pointerup", n, !1), _(Gf(t.currentTarget), "pointercancel", r, !1);
}
@@ -9196,9 +9196,9 @@ function Ag(e) {
}, t.onPointerUp = (t) => {
!tp(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(Ng(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Mg(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Ng(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Mg(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
@@ -9232,13 +9232,13 @@ function Ag(e) {
return (0, I.useEffect)(() => {
if (!f) return;
let e = Gf(f.current);
- if (!e || !e.head || e.getElementById(Og)) return;
+ if (!e || !e.head || e.getElementById(Dg)) return;
let t = e.createElement("style");
- t.id = Og;
- let n = Cg(e);
+ t.id = Dg;
+ let n = Sg(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${kg}] {
+ [${Og}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -9246,23 +9246,23 @@ function Ag(e) {
}, [f]), (0, I.useEffect)(() => {
let e = g.current;
return () => {
- d || xg(e.target ?? void 0);
+ d || bg(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: H(p, O, { [kg]: !0 })
+ pressProps: H(p, O, { [Og]: !0 })
};
}
-function jg(e) {
+function Ag(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function Mg(e, t) {
+function jg(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Kf(i).HTMLInputElement && !Lg(i, n) || i instanceof Kf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && jg(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Kf(i).HTMLInputElement && !Ig(i, n) || i instanceof Kf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ag(i)) && n !== "Enter");
}
-function Ng(e, t) {
+function Mg(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -9275,13 +9275,13 @@ function Ng(e, t) {
key: t.key
};
}
-function Pg(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !jg(e);
+function Ng(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ag(e);
}
-function Fg(e, t) {
- return wp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Lg(e, t) : Pg(e);
+function Pg(e, t) {
+ return wp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Ig(e, t) : Ng(e);
}
-var Ig = /* @__PURE__ */ new Set([
+var Fg = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9292,12 +9292,12 @@ var Ig = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Lg(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Ig.has(e.type);
+function Ig(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Fg.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function Rg(e, t) {
+function Lg(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -9319,7 +9319,7 @@ function Rg(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = Ag({
+ let { pressProps: _, isPressed: v } = kg({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -9331,7 +9331,7 @@ function Rg(e, t) {
ref: t
}), { focusableProps: y } = lh(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = H(y, _, _g(e, { labelable: !0 }));
+ let b = H(y, _, gg(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: H(g, b, {
@@ -9346,7 +9346,7 @@ function Rg(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var zg = class {
+var Rg = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9449,45 +9449,45 @@ var zg = class {
return null;
}
};
-function Bg(e, t, n, r) {
- return ep() ? new zg(e, t, n, r) : e.createTreeWalker(t, n, r);
+function zg(e, t, n, r) {
+ return ep() ? new Rg(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Vg = /*#__PURE__*/ I.createContext(null), Hg = "react-aria-focus-scope-restore", Ug = null;
-function Wg(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)(Vg) || {}, l = (0, I.useMemo)(() => new f_({ scopeRef: s }), [s]);
+var Bg = /*#__PURE__*/ I.createContext(null), Vg = "react-aria-focus-scope-restore", Hg = null;
+function Ug(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useRef)([]), { parentNode: c } = (0, I.useContext)(Bg) || {}, l = (0, I.useMemo)(() => new d_({ scopeRef: s }), [s]);
hp(() => {
- let e = c || p_.root;
- if (p_.getTreeNode(e.scopeRef) && Ug && !t_(Ug, e.scopeRef)) {
- let t = p_.getTreeNode(Ug);
+ let e = c || f_.root;
+ if (f_.getTreeNode(e.scopeRef) && Hg && !e_(Hg, e.scopeRef)) {
+ let t = f_.getTreeNode(Hg);
t && (e = t);
}
- e.addChild(l), p_.addNode(l);
+ e.addChild(l), f_.addNode(l);
}, [l, c]), hp(() => {
- let e = p_.getTreeNode(s);
+ let e = f_.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), hp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Hg, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Vg, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Hg, n);
+ for (let e of t) e.removeEventListener(Vg, n);
};
- }, [t]), o_(s, r, n), Xg(s, n), c_(s, r, n), a_(s, i), (0, I.useEffect)(() => {
+ }, [t]), a_(s, r, n), Yg(s, n), s_(s, r, n), i_(s, i), (0, I.useEffect)(() => {
let e = np(Gf(s.current ? s.current[0] : void 0)), t = null;
- if (Qg(e, s.current)) {
- for (let n of p_.traverse()) n.scopeRef && Qg(e, n.scopeRef.current) && (t = n);
- t === p_.getTreeNode(s) && (Ug = t.scopeRef);
+ if (Zg(e, s.current)) {
+ for (let n of f_.traverse()) n.scopeRef && Zg(e, n.scopeRef.current) && (t = n);
+ t === f_.getTreeNode(s) && (Hg = t.scopeRef);
}
}, [s]), hp(() => () => {
- let e = p_.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Ug || t_(s, Ug)) && (!e || p_.getTreeNode(e)) && (Ug = e), p_.removeTreeNode(s);
+ let e = f_.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Hg || e_(s, Hg)) && (!e || f_.getTreeNode(e)) && (Hg = e), f_.removeTreeNode(s);
}, [s]);
- let u = (0, I.useMemo)(() => Gg(s), []), d = (0, I.useMemo)(() => ({
+ let u = (0, I.useMemo)(() => Wg(s), []), d = (0, I.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ I.createElement(Vg.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
+ return /*#__PURE__*/ I.createElement(Bg.Provider, { value: d }, /*#__PURE__*/ I.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -9497,68 +9497,68 @@ function Wg(e) {
ref: o
}));
}
-function Gg(e) {
+function Wg(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || np(Gf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = u_(Kg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || np(Gf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = l_(Gg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Qg(s, n) ? s : c;
+ l.currentNode = Zg(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 && t_(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || np(Gf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = u_(Kg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || np(Gf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = l_(Gg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Qg(s, n) ? s : c;
+ l.currentNode = Zg(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 && t_(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = u_(Kg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = l_(Gg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && n_(o, !0), o;
+ return o && t_(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = u_(Kg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = l_(Gg(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 && t_(o, !0), o;
}
};
}
-function Kg(e) {
+function Gg(e) {
return e[0].parentElement;
}
-function qg(e) {
- let t = p_.getTreeNode(Ug);
+function Kg(e) {
+ let t = f_.getTreeNode(Hg);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Jg(e) {
+function qg(e) {
if (!e.form) return Array.from(Gf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = Kf(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Yg(e) {
+function Jg(e) {
if (e.checked) return !0;
- let t = Jg(e);
+ let t = qg(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Xg(e, t) {
+function Yg(e, t) {
let n = (0, I.useRef)(void 0), r = (0, I.useRef)(void 0);
hp(() => {
let i = e.current;
@@ -9567,23 +9567,23 @@ function Xg(e, t) {
return;
}
let a = Gf(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !qg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Kg(e) || t.isComposing) return;
let n = np(a), r = e.current;
- if (!r || !Qg(n, r)) return;
- let i = u_(Kg(r), { tabbable: !0 }, r);
+ if (!r || !Zg(n, r)) return;
+ let i = l_(Gg(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 Kf(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (t_(o, !0), o instanceof Kf(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Ug || t_(Ug, e)) && Qg(V(t), e.current) ? (Ug = e, n.current = V(t)) : qg(e) && !$g(V(t), e) ? n.current ? n_(n.current) : Ug && Ug.current && i_(Ug.current) : qg(e) && (n.current = V(t));
+ (!Hg || e_(Hg, e)) && Zg(V(t), e.current) ? (Hg = e, n.current = V(t)) : Kg(e) && !Qg(V(t), e) ? n.current ? t_(n.current) : Hg && Hg.current && r_(Hg.current) : Kg(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
let r = ym(), i = (r === "virtual" || r === null) && jp() && Ap(), o = np(a);
- if (!i && o && qg(e) && !$g(o, e)) {
- Ug = e;
+ if (!i && o && Kg(e) && !Qg(o, e)) {
+ Hg = e;
let r = V(t);
- r && r.isConnected ? (n.current = r, n_(n.current)) : Ug.current && i_(Ug.current);
+ r && r.isConnected ? (n.current = r, t_(n.current)) : Hg.current && r_(Hg.current);
}
});
};
@@ -9594,29 +9594,29 @@ function Xg(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Zg(e) {
- return $g(e);
+function Xg(e) {
+ return Qg(e);
}
-function Qg(e, t) {
+function Zg(e, t) {
return !e || !t ? !1 : t.some((t) => tp(t, e));
}
-function $g(e, t = null) {
+function Qg(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of p_.traverse(p_.getTreeNode(t))) if (n && Qg(e, n.current)) return !0;
+ for (let { scopeRef: n } of f_.traverse(f_.getTreeNode(t))) if (n && Zg(e, n.current)) return !0;
return !1;
}
-function e_(e) {
- return $g(e, Ug);
+function $g(e) {
+ return Qg(e, Hg);
}
-function t_(e, t) {
- let n = p_.getTreeNode(t)?.parent;
+function e_(e, t) {
+ let n = f_.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function n_(e, t = !1) {
+function t_(e, t = !1) {
if (e != null && !t) try {
Am(e);
} catch {}
@@ -9624,27 +9624,27 @@ function n_(e, t = !1) {
e.focus();
} catch {}
}
-function r_(e, t = !0) {
- let n = e[0].previousElementSibling, r = Kg(e), i = u_(r, { tabbable: t }, e);
+function n_(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Gg(e), i = l_(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Kg(e), i = u_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Gg(e), i = l_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function i_(e, t = !0) {
- n_(r_(e, t));
+function r_(e, t = !0) {
+ t_(n_(e, t));
}
-function a_(e, t) {
+function i_(e, t) {
let n = I.useRef(t);
(0, I.useEffect)(() => {
- n.current && (Ug = e, !Qg(np(Gf(e.current ? e.current[0] : void 0)), Ug.current) && e.current && i_(e.current)), n.current = !1;
+ n.current && (Hg = e, !Zg(np(Gf(e.current ? e.current[0] : void 0)), Hg.current) && e.current && r_(e.current)), n.current = !1;
}, [e]);
}
-function o_(e, t, n) {
+function a_(e, t, n) {
hp(() => {
if (t || n) return;
let r = e.current, i = Gf(r ? r[0] : void 0), a = (t) => {
let n = V(t);
- Qg(n, e.current) ? Ug = e : Zg(n) || (Ug = null);
+ Zg(n, e.current) ? Hg = e : Xg(n) || (Hg = 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,21 +9655,21 @@ function o_(e, t, n) {
n
]);
}
-function s_(e) {
- let t = p_.getTreeNode(Ug);
+function o_(e) {
+ let t = f_.getTreeNode(Hg);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function c_(e, t, n) {
+function s_(e, t, n) {
let r = (0, I.useRef)(typeof document < "u" ? np(Gf(e.current ? e.current[0] : void 0)) : null);
hp(() => {
let r = e.current, i = Gf(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Ug || t_(Ug, e)) && Qg(np(i), e.current) && (Ug = e);
+ (!Hg || e_(Hg, e)) && Zg(np(i), e.current) && (Hg = 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));
@@ -9678,20 +9678,20 @@ function c_(e, t, n) {
let r = Gf(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !qg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Kg(e) || t.isComposing) return;
let n = r.activeElement;
- if (!$g(n, e) || !s_(e)) return;
- let i = p_.getTreeNode(e);
+ if (!Qg(n, e) || !o_(e)) return;
+ let i = f_.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = u_(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = l_(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 || !$g(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Qg(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while ($g(s, e));
- t.preventDefault(), t.stopPropagation(), s ? n_(s, !0) : Zg(a) ? n_(a, !0) : n.blur();
+ while (Qg(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? t_(s, !0) : Xg(a) ? t_(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -9704,28 +9704,28 @@ function c_(e, t, n) {
]), hp(() => {
let n = Gf(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = p_.getTreeNode(e);
+ let i = f_.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = p_.getTreeNode(e);
+ let r = f_.getTreeNode(e);
if (!r) return;
let i = r.nodeToRestore, a = np(n);
- if (t && i && (a && $g(a, e) || a === n.body && s_(e))) {
- let t = p_.clone();
+ if (t && i && (a && Qg(a, e) || a === n.body && o_(e))) {
+ let t = f_.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- l_(n.nodeToRestore);
+ c_(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && p_.getTreeNode(n.scopeRef)) {
- let e = r_(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && f_.getTreeNode(n.scopeRef)) {
+ let e = n_(n.scopeRef.current, !0);
if (e) {
- l_(e);
+ c_(e);
return;
}
}
@@ -9737,21 +9737,21 @@ function c_(e, t, n) {
};
}, [e, t]);
}
-function l_(e) {
- e.dispatchEvent(new CustomEvent(Hg, {
+function c_(e) {
+ e.dispatchEvent(new CustomEvent(Vg, {
bubbles: !0,
cancelable: !0
- })) && n_(e);
+ })) && t_(e);
}
-function u_(e, t, n) {
- let r = t?.tabbable ? pp : fp, i = Gf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Bg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return tp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Yg(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Qg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function l_(e, t, n) {
+ let r = t?.tabbable ? pp : fp, i = Gf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = zg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return tp(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Jg(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Zg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var d_ = class e {
+var u_ = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new f_({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new d_({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -9762,7 +9762,7 @@ var d_ = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new f_({ scopeRef: e });
+ let i = new d_({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -9773,7 +9773,7 @@ var d_ = 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 && Qg(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 && Zg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -9785,7 +9785,7 @@ var d_ = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, f_ = class {
+}, d_ = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -9795,13 +9795,13 @@ var d_ = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, p_ = new d_(), m_ = 7e3, h_ = null;
-function g_(e, t = "assertive", n = m_) {
- h_ ? h_.announce(e, t, n) : (h_ = new __(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? h_.announce(e, t, n) : setTimeout(() => {
- h_?.isAttached() && h_?.announce(e, t, n);
+}, f_ = new u_(), p_ = 7e3, m_ = null;
+function h_(e, t = "assertive", n = p_) {
+ m_ ? m_.announce(e, t, n) : (m_ = new g_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? m_.announce(e, t, n) : setTimeout(() => {
+ m_?.isAttached() && m_?.announce(e, t, n);
}, 100));
}
-var __ = class {
+var g_ = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -9826,7 +9826,7 @@ var __ = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = m_) {
+ announce(e, t = "assertive", n = p_) {
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,7 +9839,7 @@ var __ = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function v_(e, t) {
+function __(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null), i = Kh(e);
(0, I.useEffect)(() => (n.current = !0, () => {
n.current = !1;
@@ -9850,39 +9850,39 @@ function v_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function y_(e, t) {
+function v_(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 b_(e, t) {
+function y_(e, t) {
let n = e;
- for (y_(n, t) && (n = n.parentElement); n && !y_(n, t);) n = n.parentElement;
+ for (v_(n, t) && (n = n.parentElement); n && !v_(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function x_(e, t) {
+function b_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (y_(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (v_(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function S_(e, t, n = {}) {
- e !== t && C_(e, t, t.getBoundingClientRect(), n);
-}
-function C_(e, t, n, r = {}) {
- let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, F = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
- Dp() && kp() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (re += te);
- let L = k < F || A > ne, ie = j < re || M > I;
- if (L && i === "start") o += k - F;
- else if (L && i === "center") o += (k + A) / 2 - (F + ne) / 2;
+function x_(e, t, n = {}) {
+ e !== t && S_(e, t, t.getBoundingClientRect(), n);
+}
+function S_(e, t, n, r = {}) {
+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - F, re = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
+ Dp() && kp() || u.direction === "ltr" ? I -= ee : u.direction === "rtl" && (re += ee);
+ let L = k < te || A > ne, ie = j < re || M > I;
+ if (L && i === "start") o += k - te;
+ else if (L && i === "center") o += (k + A) / 2 - (te + ne) / 2;
else if (L && i === "end") o += A - ne;
else if (L && i === "nearest") {
- let e = k - F, t = A - ne;
+ let e = k - te, t = A - ne;
o += Math.abs(e) <= Math.abs(t) ? e : t;
}
if (ie && a === "start") s += j - re;
@@ -9897,7 +9897,7 @@ function C_(e, t, n, r = {}) {
top: o
});
}
-function w_(e, t = {}) {
+function C_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -9910,46 +9910,46 @@ function w_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = x_(e, !0);
- for (let t of i) S_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = b_(e, !0);
+ for (let t of i) x_(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? x_(n, !0) : [];
- for (let e of i) S_(e, n, {
+ i = n ? b_(n, !0) : [];
+ for (let e of i) x_(e, n, {
block: "center",
inline: "center"
});
- for (let t of x_(e, !0)) S_(t, e);
+ for (let t of b_(e, !0)) x_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var T_ = 0, E_ = /* @__PURE__ */ new Map();
-function D_(e) {
+var w_ = 0, T_ = /* @__PURE__ */ new Map();
+function E_(e) {
let [t, n] = (0, I.useState)();
return hp(() => {
if (!e) return;
- let t = E_.get(e);
+ let t = T_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${T_++}`;
+ let r = `react-aria-description-${w_++}`;
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
- }, E_.set(e, t);
+ }, T_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), E_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), T_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function O_(e, t, n) {
+function D_(e, t, n) {
let r = Kh((e) => {
n && !e.defaultPrevented && n(t);
});
@@ -9962,12 +9962,12 @@ function O_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function k_(e, t, n) {
+function O_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
hp(() => {
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(fee(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(mee(n.current));
}
});
let a = (0, I.useRef)(!1), o = Kh(() => {
@@ -9975,7 +9975,7 @@ function k_(e, t, n) {
}), s = Kh((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && pee(r) === n.current && (i ? i() : n.current?.focus(), bm("keyboard")), e.preventDefault();
+ !e.defaultPrevented && n && r && hee(r) === n.current && (i ? i() : n.current?.focus(), bm("keyboard")), e.preventDefault();
}), c = Kh(() => {
t.commitValidation();
});
@@ -9990,7 +9990,7 @@ function k_(e, t, n) {
};
}, [n, r]);
}
-function A_(e) {
+function pee(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -10006,14 +10006,14 @@ function A_(e) {
valid: t.valid
};
}
-function fee(e) {
+function mee(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: A_(e),
+ validationDetails: pee(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function pee(e) {
+function hee(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -10022,7 +10022,7 @@ function pee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function mee(e = !0) {
+function gee(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -10030,8 +10030,8 @@ function mee(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function j_(e = !0) {
- let t = Lm(), [n, r] = mee(e);
+function k_(e = !0) {
+ let t = Lm(), [n, r] = gee(e);
return {
id: r ? t : void 0,
ref: n
@@ -10039,7 +10039,7 @@ function j_(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var M_ = {
+var A_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -10051,18 +10051,18 @@ var M_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, N_ = {
- ...M_,
+}, j_ = {
+ ...A_,
customError: !0,
valid: !1
-}, P_ = {
+}, M_ = {
isInvalid: !1,
- validationDetails: M_,
+ validationDetails: A_,
validationErrors: []
-}, hee = (0, I.createContext)({}), F_ = "__reactAriaFormValidationState";
-function I_(e) {
+}, _ee = (0, I.createContext)({}), N_ = "__reactAriaFormValidationState";
+function P_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[F_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[N_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10071,71 +10071,71 @@ function I_(e) {
commitValidation: a
};
}
- return gee(e);
+ return vee(e);
}
-function gee(e) {
+function vee(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: N_
- }, l = (0, I.useMemo)(() => !o || i == null ? null : R_(_ee(o, i)), [o, i]);
+ validationDetails: j_
+ }, l = (0, I.useMemo)(() => !o || i == null ? null : I_(yee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, I.useContext)(hee), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => L_(u[e])) : L_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
+ let u = (0, I.useContext)(_ee), d = (0, I.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => F_(u[e])) : F_(u[r]) : [], [u, r]), [f, p] = (0, I.useState)(u), [m, h] = (0, I.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, I.useMemo)(() => R_(m ? [] : d), [m, d]), _ = (0, I.useRef)(P_), [v, y] = (0, I.useState)(P_), b = (0, I.useRef)(P_), x = () => {
+ let g = (0, I.useMemo)(() => I_(m ? [] : d), [m, d]), _ = (0, I.useRef)(M_), [v, y] = (0, I.useState)(M_), b = (0, I.useRef)(M_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- z_(e, b.current) || (b.current = e, y(e));
+ L_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, I.useState)(!1);
return (0, I.useEffect)(x), {
- realtimeValidation: c || g || l || a || P_,
+ realtimeValidation: c || g || l || a || M_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !z_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !L_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = P_;
- z_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = M_;
+ L_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function L_(e) {
+function F_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function _ee(e, t) {
+function yee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return L_(n);
+ if (n && typeof n != "boolean") return F_(n);
}
return [];
}
-function R_(e) {
+function I_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: N_
+ validationDetails: j_
} : null;
}
-function z_(e, t) {
+function L_(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 B_(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 = I_({
+function R_(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = P_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- k_(e, b, n);
+ O_(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(V(e).checked);
- }, { pressProps: T, isPressed: E } = Ag({
+ }, { pressProps: T, isPressed: E } = kg({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -10143,7 +10143,7 @@ function B_(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, I.useState)(!1), { pressProps: k } = Ag({
+ }), [D, O] = (0, I.useState)(!1), { pressProps: k } = kg({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -10172,13 +10172,13 @@ function B_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [F_]: i } = e, { commitValidation: a } = i || b;
+ let { [N_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = lh(e, n), j = H(T, A), M = _g(e, { labelable: !0 });
- O_(n, t.defaultSelected, t.setSelected);
- let N = j_(), ee = j_();
+ }), { focusableProps: A } = lh(e, n), j = H(T, A), M = gg(e, { labelable: !0 });
+ D_(n, t.defaultSelected, t.setSelected);
+ let N = k_(), P = k_();
return {
labelProps: H(k, { onClick: (e) => e.preventDefault() }),
inputProps: H(M, {
@@ -10191,7 +10191,7 @@ function B_(e, t, n) {
"aria-readonly": i || void 0,
"aria-describedby": [
N.id,
- ee.id,
+ P.id,
p
].filter(Boolean).join(" ") || void 0,
onChange: w,
@@ -10203,7 +10203,7 @@ function B_(e, t, n) {
...j
}),
descriptionProps: N,
- errorMessageProps: ee,
+ errorMessageProps: P,
isSelected: t.isSelected,
isPressed: E || D,
isDisabled: r,
@@ -10215,8 +10215,8 @@ function B_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function V_(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 } = B_(e, t, n), { isIndeterminate: m } = e;
+function z_(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = R_(e, t, n), { isIndeterminate: m } = e;
return (0, I.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -10235,10 +10235,10 @@ function V_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var vee = /* @__PURE__ */ new WeakMap();
+var bee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function H_(e) {
+function B_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
t = Lm(t);
let o = Lm(), s = {};
@@ -10258,8 +10258,8 @@ function H_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function U_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = H_(e), s = zm([
+function V_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = B_(e), s = zm([
!!t,
!!n,
r,
@@ -10283,8 +10283,8 @@ function U_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function W_(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Tg(), c = (0, I.useCallback)((e) => {
+function H_(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, I.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = wg(), c = (0, I.useCallback)((e) => {
tp(e.currentTarget, V(e)) && a.current.isFocusWithin && !tp(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
@@ -10324,14 +10324,14 @@ function W_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var yee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
-function G_(e, t, n) {
+var xee = typeof document < "u" ? I.useInsertionEffect ?? I.useLayoutEffect : () => {};
+function U_(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;
- yee(() => {
+ xee(() => {
a.current = c;
});
let [, l] = (0, I.useReducer)(() => ({}), {});
@@ -10342,8 +10342,8 @@ function G_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function K_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = G_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
+function W_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = U_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, I.useState)(n);
function a(e) {
t || r(e);
}
@@ -10359,26 +10359,26 @@ function K_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function bee(e, t, n) {
- let r = K_({
+function See(e, t, n) {
+ let r = W_({
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 } = vee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = bee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = I_({
+ let { realtimeValidation: l } = P_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, I.useRef)(P_), d = () => {
+ }), u = (0, I.useRef)(M_), 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 = V_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = z_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10386,7 +10386,7 @@ function bee(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [F_]: {
+ [N_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10410,12 +10410,12 @@ function bee(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function q_(e, t = -Infinity, n = Infinity) {
+function G_(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 J_ = {
+var K_ = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10427,38 +10427,38 @@ var J_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function Y_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = W_({
+function q_(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, I.useState)(!1), { focusWithinProps: a } = H_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, I.useMemo)(() => r ? t : t ? {
- ...J_,
+ ...K_,
...t
- } : J_, [r]);
+ } : K_, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function X_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Y_(e);
+function J_(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = q_(e);
return /*#__PURE__*/ I.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function xee(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = G_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = lh(e, t), d = I_({
+function Cee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = U_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = lh(e, t), d = P_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = U_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = V_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = _g(e, { labelable: !0 }), b = {
+ }), y = gg(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, I.useState)(c);
- return O_(t, e.defaultValue ?? x, l), k_(e, d, t), {
+ return D_(t, e.defaultValue ?? x, l), O_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10505,13 +10505,13 @@ function xee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var See = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function Z_(e) {
+var wee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function Y_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var Q_ = /* @__PURE__ */ new WeakMap(), $_ = [];
-function ev(e, t) {
- let n = Kf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && See, 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 X_ = /* @__PURE__ */ new WeakMap(), Z_ = [];
+function Q_(e, t) {
+ let n = Kf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && wee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
if (ep()) {
@@ -10527,19 +10527,19 @@ function ev(e, t) {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
for (let t of o) if (tp(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Bg(Gf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = zg(Gf(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 = Q_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Q_.set(e, t + 1));
+ let t = X_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), X_.set(e, t + 1));
};
- $_.length && $_[$_.length - 1].disconnect(), d(i);
+ Z_.length && Z_[Z_.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => tp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Z_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => tp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
if (ep()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10556,7 +10556,7 @@ function ev(e, t) {
if (ep()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => tp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Z_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => tp(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
if (ep()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10583,59 +10583,59 @@ function ev(e, t) {
p.disconnect();
}
};
- return $_.push(h), () => {
+ return Z_.push(h), () => {
if (p.disconnect(), ep()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = Q_.get(e);
- t != null && (t === 1 ? (l(e, !1), Q_.delete(e)) : Q_.set(e, t - 1));
+ let t = X_.get(e);
+ t != null && (t === 1 ? (l(e, !1), X_.delete(e)) : X_.set(e, t - 1));
}
- h === $_[$_.length - 1] ? ($_.pop(), $_.length && $_[$_.length - 1].observe()) : $_.splice($_.indexOf(h), 1);
+ h === Z_[Z_.length - 1] ? (Z_.pop(), Z_.length && Z_[Z_.length - 1].observe()) : Z_.splice(Z_.indexOf(h), 1);
};
}
-function Cee(e) {
- let t = $_[$_.length - 1];
+function Tee(e) {
+ let t = Z_[Z_.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 tv = /* @__PURE__ */ new WeakMap();
-function wee(e) {
+var $_ = /* @__PURE__ */ new WeakMap();
+function Eee(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Tee(e, t) {
- let n = tv.get(e);
+function Dee(e, t) {
+ let n = $_.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${wee(t)}`;
+ return `${n.id}-option-${Eee(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function nv(e) {
+function ev(e) {
return Op() ? e.altKey : e.ctrlKey;
}
-function rv(e, t) {
+function tv(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 iv = /* @__PURE__ */ new WeakMap();
-function Eee(e) {
+var nv = /* @__PURE__ */ new WeakMap();
+function Oee(e) {
let t = Lm();
- return iv.set(e, t), t;
+ return nv.set(e, t), t;
}
-function Dee(e) {
- return iv.get(e);
+function kee(e) {
+ return nv.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var av = class {
+var rv = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : rv(this.ref, e);
+ let n = e == null ? null : tv(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -10661,12 +10661,12 @@ var av = class {
height: e?.clientHeight ?? 0
};
}
-}, ov = class {
+}, iv = 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 av(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 av(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 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.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -10706,14 +10706,14 @@ var av = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = rv(this.ref, e);
+ let t = this.getNextKey(e), n = tv(this.ref, e);
if (t != null) {
- let e = rv(this.ref, t);
+ let e = tv(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = rv(this.ref, r);
+ let e = tv(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -10747,7 +10747,7 @@ var av = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !y_(t)) return this.getFirstKey();
+ if (t && !v_(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -10762,7 +10762,7 @@ var av = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !y_(t)) return this.getLastKey();
+ if (t && !v_(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -10785,184 +10785,184 @@ var av = class {
}
return null;
}
-}, sv = {};
-sv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, av = {};
+av = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var cv = {};
-cv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var ov = {};
+ov = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var lv = {};
-lv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var sv = {};
+sv = { 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 uv = {};
-uv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var cv = {};
+cv = { 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 dv = {};
-dv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var lv = {};
+lv = { 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 fv = {};
-fv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var uv = {};
+uv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var pv = {};
-pv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var dv = {};
+dv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var mv = {};
-mv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var fv = {};
+fv = { 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 hv = {};
-hv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var pv = {};
+pv = { 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 gv = {};
-gv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var mv = {};
+mv = { 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 _v = {};
-_v = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var hv = {};
+hv = { 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 vv = {};
-vv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var gv = {};
+gv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var yv = {};
-yv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var _v = {};
+_v = { 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 bv = {};
-bv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var vv = {};
+vv = { 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 xv = {};
-xv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var yv = {};
+yv = { 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 Sv = {};
-Sv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var bv = {};
+bv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Cv = {};
-Cv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var xv = {};
+xv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var wv = {};
-wv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Sv = {};
+Sv = { 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 Tv = {};
-Tv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Cv = {};
+Cv = { 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 Ev = {};
-Ev = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var wv = {};
+wv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Dv = {};
-Dv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Tv = {};
+Tv = { 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 Ov = {};
-Ov = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Ev = {};
+Ev = { 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 kv = {};
-kv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Dv = {};
+Dv = { 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 Av = {};
-Av = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Ov = {};
+Ov = { 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 jv = {};
-jv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var kv = {};
+kv = { 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 Mv = {};
-Mv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Av = {};
+Av = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Nv = {};
-Nv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var jv = {};
+jv = { 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 Pv = {};
-Pv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Mv = {};
+Mv = { 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 Fv = {};
-Fv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Nv = {};
+Nv = { 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 Iv = {};
-Iv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Pv = {};
+Pv = { 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 Lv = {};
-Lv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Fv = {};
+Fv = { 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 Rv = {};
-Rv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Iv = {};
+Iv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var zv = {};
-zv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Lv = {};
+Lv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Bv = {};
-Bv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Rv = {};
+Rv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Vv = {};
-Vv = {
- "ar-AE": sv,
- "bg-BG": cv,
- "cs-CZ": lv,
- "da-DK": uv,
- "de-DE": dv,
- "el-GR": fv,
- "en-US": pv,
- "es-ES": mv,
- "et-EE": hv,
- "fi-FI": gv,
- "fr-FR": _v,
- "he-IL": vv,
- "hr-HR": yv,
- "hu-HU": bv,
- "it-IT": xv,
- "ja-JP": Sv,
- "ko-KR": Cv,
- "lt-LT": wv,
- "lv-LV": Tv,
- "nb-NO": Ev,
- "nl-NL": Dv,
- "pl-PL": Ov,
- "pt-BR": kv,
- "pt-PT": Av,
- "ro-RO": jv,
- "ru-RU": Mv,
- "sk-SK": Nv,
- "sl-SI": Pv,
- "sr-SP": Fv,
- "sv-SE": Iv,
- "tr-TR": Lv,
- "uk-UA": Rv,
- "zh-CN": zv,
- "zh-TW": Bv
+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
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Oee = 500;
-function Hv(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Oee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Tg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Ag({
+var Aee = 500;
+function Bv(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Aee, accessibilityDescription: s } = e, c = (0, I.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = wg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = kg({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -10990,12 +10990,12 @@ function Hv(e) {
});
}
});
- return { longPressProps: H(f, D_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, E_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function kee(e) {
- let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = Hv({
+function jee(e) {
+ let { onContextMenu: t } = e, n = (0, I.useRef)(!1), { longPressProps: r } = Bv({
onLongPressStart() {
n.current = !1;
},
@@ -11038,13 +11038,13 @@ function kee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Uv = /* @__PURE__ */ new WeakMap();
-function Aee(e) {
+var Vv = /* @__PURE__ */ new WeakMap();
+function Mee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, I.useEffect)(() => !n || r === null ? void 0 : Zf(rp(t.current), "scroll", (e) => {
let n = V(e);
if (!t.current || n instanceof Node && !tp(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Uv.get(t.current);
+ let i = r || Vv.get(t.current);
i && i();
}, !0), [
n,
@@ -11054,10 +11054,10 @@ function Aee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function jee(e, t, n) {
+function Nee(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 && Vv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -11074,11 +11074,11 @@ function jee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Mee(e) {
+function Pee(e) {
return e && e.__esModule ? e.default : e;
}
-function Wv(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Lm(), { triggerProps: s, overlayProps: c } = jee({ type: r }, t, n), l = (e, n, r = "first") => {
+function Hv(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Lm(), { triggerProps: s, overlayProps: c } = Nee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = ih({
@@ -11093,7 +11093,7 @@ function Wv(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = hg(Mee(Vv), "@react-aria/menu"), { longPressProps: f } = Hv({
+ }), d = mg(Pee(zv), "@react-aria/menu"), { longPressProps: f } = Bv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11112,7 +11112,7 @@ function Wv(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = kee({ onContextMenu(e) {
+ let { contextMenuProps: m } = jee({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11157,8 +11157,8 @@ function Wv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Gv = 1e3;
-function Kv(e) {
+var Uv = 1e3;
+function Wv(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, I.useRef)({
search: "",
timeout: void 0
@@ -11177,11 +11177,11 @@ function Kv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Gv);
+ }, Uv);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Nee(e.key);
+ let a = Fee(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !tp(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);
@@ -11193,17 +11193,17 @@ function Kv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Gv);
+ }, Uv);
}
} : void 0
} };
}
-function Nee(e) {
+function Fee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function qv(e, t) {
+function Gv(e, t) {
let n = (0, I.useRef)(!0), r = (0, I.useRef)(null);
hp(() => (n.current = !0, () => {
n.current = !1;
@@ -11213,14 +11213,14 @@ function qv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Jv(e) {
+function Kv(e) {
let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = ag(), _ = Ip(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !nv(e)) {
+ if (t.isLink(n) && m === "selection" && l && !ev(e)) {
(0, vh.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = rv(r, n), o = t.getItemProps(n);
+ let a = tv(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11232,7 +11232,7 @@ function Jv(e) {
t.extendSelection(n);
return;
}
- if (l && !nv(e)) {
+ if (l && !ev(e)) {
t.replaceSelection(n);
return;
}
@@ -11332,7 +11332,7 @@ function Jv(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = u_(r.current, { tabbable: !0 }), t, n;
+ let e = l_(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
@@ -11368,17 +11368,17 @@ function Jv(e) {
Escape: O,
Tab: k,
"Tab+Shift": A
- } }), ee = (0, I.useRef)({
+ } }), P = (0, I.useRef)({
top: 0,
left: 0
});
qh(p, "scroll", () => {
- ee.current = {
+ P.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
};
});
- let te = (e) => {
+ let ee = (e) => {
if (t.isFocused) {
tp(e.currentTarget, V(e)) || t.setFocused(!1);
return;
@@ -11393,28 +11393,28 @@ function Jv(e) {
else if (t.focusedKey == null) {
let r = e.relatedTarget;
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
- } else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);
+ } else p.current && (p.current.scrollTop = P.current.top, p.current.scrollLeft = P.current.left);
if (t.focusedKey != null && p.current) {
- let e = rv(r, t.focusedKey);
- e instanceof HTMLElement && (!ip(e) && !d && Bf(e), (i === "keyboard" || h && i === "virtual") && w_(e, { containingElement: r.current }));
+ let e = tv(r, t.focusedKey);
+ e instanceof HTMLElement && (!ip(e) && !d && Bf(e), (i === "keyboard" || h && i === "virtual") && C_(e, { containingElement: r.current }));
}
- }, P = (e) => {
+ }, F = (e) => {
tp(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
- }, F = (0, I.useRef)(!1);
+ }, te = (0, I.useRef)(!1);
qh(r, Lh, d ? (e) => {
let { detail: n } = e;
- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);
+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- qv(() => {
- if (F.current) {
+ Gv(() => {
+ if (te.current) {
if (ne == null) {
let e = np();
- Rh(r.current), Bh(e, null), t.collection.size > 0 && (F.current = !1);
- } else t.setFocusedKey(ne), F.current = !1;
+ Rh(r.current), Bh(e, null), t.collection.size > 0 && (te.current = !1);
+ } else t.setFocusedKey(ne), te.current = !1;
}
- }, [ne, t.collection.size]), qv(() => {
- t.collection.size > 0 && (F.current = !1);
+ }, [ne, t.collection.size]), Gv(() => {
+ t.collection.size > 0 && (te.current = !1);
}, [t.focusedKey]), qh(r, Ih, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
@@ -11436,10 +11436,10 @@ function Jv(e) {
let ie = (0, I.useRef)(t.focusedKey), ae = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || L.current) && p.current && r.current) {
- let e = ym(), n = rv(r, t.focusedKey);
+ let e = ym(), n = tv(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || L.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
- p.current && (S_(p.current, n), e !== "virtual" && w_(n, { containingElement: r.current }));
+ p.current && (x_(p.current, n), e !== "virtual" && C_(n, { containingElement: r.current }));
}));
}
!d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && Am(r.current), ie.current = t.focusedKey, L.current = !1;
@@ -11450,19 +11450,19 @@ function Jv(e) {
});
let oe = {
...H(N, M),
- onFocus: te,
- onBlur: P,
+ onFocus: ee,
+ onBlur: F,
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = Kv({
+ }, { typeSelectProps: se } = Wv({
keyboardDelegate: n,
selectionManager: t
});
u || (oe = H(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = Eee(t.collection);
+ let le = Oee(t.collection);
return { collectionProps: H(oe, {
tabIndex: ce,
"data-collection": le
@@ -11470,13 +11470,13 @@ function Jv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Yv(e, t) {
+function qv(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Xv(e) {
- return Zv(e, 0);
+function Jv(e) {
+ return Yv(e, 0);
}
-function Zv(e, t) {
+function Yv(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11484,45 +11484,45 @@ function Zv(e, t) {
n++;
}
}
-function Qv(e) {
+function Xv(e) {
let t;
for (let n of e) t = n;
return t;
}
-function $v(e, t, n) {
+function Zv(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...ey(e, t), t], i = [...ey(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Qv(e, t), t], i = [...Qv(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 ey(e, t) {
+function Qv(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 ty = /* @__PURE__ */ new WeakMap();
-function ny(e) {
- let t = ty.get(e);
+var $v = /* @__PURE__ */ new WeakMap();
+function ey(e) {
+ let t = $v.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(Yv(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(qv(i, e)) : i.type === "item" && n++;
};
- return r(e), ty.set(e, n), n;
+ return r(e), $v.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var ry = /* @__PURE__ */ new Map();
-function iy(e) {
+var ty = /* @__PURE__ */ new Map();
+function ny(e) {
let { locale: t } = ag(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (ry.has(n)) return ry.get(n);
+ if (ty.has(n)) return ty.get(n);
let r = new Intl.Collator(t, e);
- return ry.set(n, r), r;
+ return ty.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Pee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, I.useRef)(!1), i = (0, I.useContext)(wg), a = H(i || {}, {
+var ry = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, I.useRef)(!1), i = (0, I.useContext)(Cg), a = H(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
@@ -11530,46 +11530,46 @@ var Pee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
});
return a.ref = ah(n || i?.ref), oh(i, a.ref), (0, I.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ I.createElement(wg.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ I.createElement(Cg.Provider, { value: a }, e);
});
-function Fee({ children: e }) {
+function Iee({ children: e }) {
let t = (0, I.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ I.createElement(wg.Provider, { value: t }, e);
+ return /*#__PURE__*/ I.createElement(Cg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var ay = /*#__PURE__*/ (0, I.createContext)({});
-function oy(e) {
- let { getContainer: t } = e, { getContainer: n } = sy();
- return /*#__PURE__*/ I.createElement(ay.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var iy = /*#__PURE__*/ (0, I.createContext)({});
+function ay(e) {
+ let { getContainer: t } = e, { getContainer: n } = oy();
+ return /*#__PURE__*/ I.createElement(iy.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function sy() {
- return (0, I.useContext)(ay) ?? {};
+function oy() {
+ return (0, I.useContext)(iy) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var cy = /*#__PURE__*/ I.createContext(null);
-function ly(e) {
+var sy = /*#__PURE__*/ I.createContext(null);
+function cy(e) {
let t = tm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, I.useState)(!1), o = (0, I.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = sy();
+ }), [i, a]), { getContainer: s } = oy();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(Wg, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(Ug, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ I.createElement(cy.Provider, { value: o }, /*#__PURE__*/ I.createElement(Fee, null, /*#__PURE__*/ I.createElement(sh.Provider, { value: null }, c))), /*#__PURE__*/ vh.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ I.createElement(sy.Provider, { value: o }, /*#__PURE__*/ I.createElement(Iee, null, /*#__PURE__*/ I.createElement(sh.Provider, { value: null }, c))), /*#__PURE__*/ vh.createPortal(c, n);
}
-function uy() {
- let e = (0, I.useContext)(cy)?.setContain;
+function ly() {
+ let e = (0, I.useContext)(sy)?.setContain;
hp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Iee(e, t) {
+function Lee(e, t) {
let { role: n = "dialog" } = e, r = zm();
r = e["aria-label"] ? void 0 : r;
let i = zm();
@@ -11585,11 +11585,11 @@ function Iee(e, t) {
clearTimeout(e);
};
}
- }, [t]), uy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
+ }, [t]), ly(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ..._g(e, { labelable: !0 }),
+ ...gg(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -11604,7 +11604,7 @@ function Iee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function dy(e = {}) {
+function uy(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, I.useRef)({
isFocused: !1,
isFocusVisible: t || vm()
@@ -11620,7 +11620,7 @@ function dy(e = {}) {
let { focusProps: d } = Wm({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = W_({
+ }), { focusWithinProps: f } = H_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11632,36 +11632,36 @@ function dy(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Lee(e = {}) {
+function Ree(e = {}) {
let { locale: t } = ag();
return (0, I.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var fy = !1, py = 0;
-function my() {
- fy = !0, setTimeout(() => {
- fy = !1;
+var dy = !1, fy = 0;
+function zee() {
+ dy = !0, setTimeout(() => {
+ dy = !1;
}, 500);
}
-function hy(e) {
- e.pointerType === "touch" && my();
+function py(e) {
+ e.pointerType === "touch" && zee();
}
-function gy() {
+function Bee() {
let e = Gf(null);
- if (e !== void 0) return py === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", hy), py++, () => {
- py--, !(py > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", hy);
+ if (e !== void 0) return fy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", py), fy++, () => {
+ fy--, !(fy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", py);
};
}
-function _y(e) {
+function my(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, I.useState)(!1), s = (0, I.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, I.useEffect)(gy, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = Tg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
+ (0, I.useEffect)(Bee, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = wg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !tp(e.currentTarget, V(e))) return;
s.isHovered = !0;
@@ -11682,7 +11682,7 @@ function _y(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- fy && t.pointerType === "mouse" || e(t, t.pointerType);
+ dy && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && tp(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -11707,12 +11707,12 @@ function _y(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function vy(e) {
+function hy(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, I.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = Kh((e) => {
- n && yy(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && gy(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = Kh((e) => {
n && n(e);
});
@@ -11722,7 +11722,7 @@ function vy(e) {
let n = t.current, i = Gf(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && yy(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && gy(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,7 +11730,7 @@ function vy(e) {
}
}, [t, r]);
}
-function yy(e, t) {
+function gy(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -11741,8 +11741,8 @@ function yy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var by = {};
-by = {
+var _y = {};
+_y = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11756,8 +11756,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var xy = {};
-xy = {
+var vy = {};
+vy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11771,8 +11771,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var Sy = {};
-Sy = {
+var yy = {};
+yy = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -11786,8 +11786,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var Cy = {};
-Cy = {
+var by = {};
+by = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11801,8 +11801,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var wy = {};
-wy = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11816,8 +11816,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var Ty = {};
-Ty = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -11831,8 +11831,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var Ey = {};
-Ey = {
+var Cy = {};
+Cy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11846,8 +11846,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Dy = {};
-Dy = {
+var wy = {};
+wy = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11861,8 +11861,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Oy = {};
-Oy = {
+var Ty = {};
+Ty = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11876,8 +11876,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var ky = {};
-ky = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11891,8 +11891,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Ay = {};
-Ay = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -11906,8 +11906,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var jy = {};
-jy = {
+var Oy = {};
+Oy = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11921,8 +11921,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var My = {};
-My = {
+var ky = {};
+ky = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11936,8 +11936,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var Ny = {};
-Ny = {
+var Ay = {};
+Ay = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11951,8 +11951,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Py = {};
-Py = {
+var jy = {};
+jy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11966,8 +11966,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Fy = {};
-Fy = {
+var My = {};
+My = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -11981,8 +11981,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Iy = {};
-Iy = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -11996,8 +11996,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Ly = {};
-Ly = {
+var Py = {};
+Py = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -12011,8 +12011,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Ry = {};
-Ry = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12026,8 +12026,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var zy = {};
-zy = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12041,8 +12041,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var By = {};
-By = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12056,8 +12056,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var Vy = {};
-Vy = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12071,8 +12071,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Hy = {};
-Hy = {
+var zy = {};
+zy = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12086,8 +12086,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Uy = {};
-Uy = {
+var By = {};
+By = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12101,8 +12101,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Wy = {};
-Wy = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12116,8 +12116,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Gy = {};
-Gy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12131,8 +12131,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Ky = {};
-Ky = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12146,8 +12146,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var qy = {};
-qy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12161,8 +12161,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var Jy = {};
-Jy = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12176,8 +12176,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Yy = {};
-Yy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12191,8 +12191,8 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Xy = {};
-Xy = {
+var qy = {};
+qy = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12206,8 +12206,8 @@ Xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Zy = {};
-Zy = {
+var Jy = {};
+Jy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12221,8 +12221,8 @@ Zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Qy = {};
-Qy = {
+var Yy = {};
+Yy = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12236,8 +12236,8 @@ Qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var $y = {};
-$y = {
+var Xy = {};
+Xy = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12251,55 +12251,55 @@ $y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var eb = {};
-eb = {
- "ar-AE": by,
- "bg-BG": xy,
- "cs-CZ": Sy,
- "da-DK": Cy,
- "de-DE": wy,
- "el-GR": Ty,
- "en-US": Ey,
- "es-ES": Dy,
- "et-EE": Oy,
- "fi-FI": ky,
- "fr-FR": Ay,
- "he-IL": jy,
- "hr-HR": My,
- "hu-HU": Ny,
- "it-IT": Py,
- "ja-JP": Fy,
- "ko-KR": Iy,
- "lt-LT": Ly,
- "lv-LV": Ry,
- "nb-NO": zy,
- "nl-NL": By,
- "pl-PL": Vy,
- "pt-BR": Hy,
- "pt-PT": Uy,
- "ro-RO": Wy,
- "ru-RU": Gy,
- "sk-SK": Ky,
- "sl-SI": qy,
- "sr-SP": Jy,
- "sv-SE": Yy,
- "tr-TR": Xy,
- "uk-UA": Zy,
- "zh-CN": Qy,
- "zh-TW": $y
+var Zy = {};
+Zy = {
+ "ar-AE": _y,
+ "bg-BG": vy,
+ "cs-CZ": yy,
+ "da-DK": by,
+ "de-DE": xy,
+ "el-GR": Sy,
+ "en-US": Cy,
+ "es-ES": wy,
+ "et-EE": Ty,
+ "fi-FI": Ey,
+ "fr-FR": Dy,
+ "he-IL": Oy,
+ "hr-HR": ky,
+ "hu-HU": Ay,
+ "it-IT": jy,
+ "ja-JP": My,
+ "ko-KR": Ny,
+ "lt-LT": Py,
+ "lv-LV": Fy,
+ "nb-NO": Iy,
+ "nl-NL": Ly,
+ "pl-PL": Ry,
+ "pt-BR": zy,
+ "pt-PT": By,
+ "ro-RO": Vy,
+ "ru-RU": Hy,
+ "sk-SK": Uy,
+ "sl-SI": Wy,
+ "sr-SP": Gy,
+ "sv-SE": Ky,
+ "tr-TR": qy,
+ "uk-UA": Jy,
+ "zh-CN": Yy,
+ "zh-TW": Xy
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Ree(e) {
+function Vee(e) {
return e && e.__esModule ? e.default : e;
}
-function zee(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = hg(Ree(eb), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
+function Hee(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = mg(Vee(Zy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = tb(i, a.current), o = tb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Qy(i, a.current), o = Qy(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -12319,7 +12319,7 @@ function zee(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 && g_(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 && h_(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12330,7 +12330,7 @@ function zee(e, t) {
n,
r
]);
- v_(() => {
+ __(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12338,7 +12338,7 @@ function zee(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function tb(e, t) {
+function Qy(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -12346,13 +12346,13 @@ function tb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function nb(e, t) {
+function $y(e, t) {
let n = t?.isDisabled, [r, i] = (0, I.useState)(!1);
return hp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = u_(e.current, { tabbable: !0 });
+ let t = l_(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12371,12 +12371,12 @@ function nb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Bee(e) {
+function Uee(e) {
return e && e.__esModule ? e.default : e;
}
-function Vee(e) {
- let t = hg(Bee(eb), "@react-aria/grid"), n = xm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return D_((0, I.useMemo)(() => {
+function Wee(e) {
+ let t = mg(Uee(Zy), "@react-aria/grid"), n = xm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return E_((0, I.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -12389,11 +12389,11 @@ function Vee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function rb(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = iy({
+function eb(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ny({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new ov({
+ }), l = t.disabledBehavior, u = (0, I.useMemo)(() => a || new iv({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12410,7 +12410,7 @@ function rb(e) {
c,
l,
s
- ]), { collectionProps: d } = Jv({
+ ]), { collectionProps: d } = Kv({
...e,
ref: i,
selectionManager: t,
@@ -12420,11 +12420,11 @@ function rb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function ib(e) {
+function tb(e) {
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Ip();
t = Lm(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && nv(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && ev(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12467,22 +12467,22 @@ function ib(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 || ob(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || rb(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" && !ab(e.key)) return;
+ if (e.pointerType === "keyboard" && !nb(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 || ob(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || rb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && ab(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 && nb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = Dee(n.collection);
+ let A = kee(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));
@@ -12498,21 +12498,21 @@ function ib(e) {
"onPressUp",
"onClick"
]) D[e] && (k[e] = jm(k[e], D[e]));
- let { pressProps: j, isPressed: M } = Ag(k), N = x ? (e) => {
+ let { pressProps: j, isPressed: M } = kg(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: ee } = Hv({
+ } : void 0, { longPressProps: P } = Bv({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
}
- }), te = (e) => {
+ }), ee = (e) => {
C.current === "touch" && T.current && e.preventDefault();
- }, P = d !== "none" && n.isLink(r) ? (e) => {
+ }, F = d !== "none" && n.isLink(r) ? (e) => {
Rp.isOpening || e.preventDefault();
- } : void 0, F = H(m, v || b || o && !c ? j : {}, w ? ee : {}, {
+ } : void 0, te = H(m, v || b || o && !c ? j : {}, w ? P : {}, {
onDoubleClick: N,
- onDragStartCapture: te,
- onClick: P,
+ onDragStartCapture: ee,
+ onClick: F,
id: t
}, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ne = (e) => {
let t = e;
@@ -12522,8 +12522,8 @@ function ib(e) {
t = t.parentElement;
}
return pp(e);
- }, re = F.onPointerDown;
- F.onPointerDown = (e) => {
+ }, re = te.onPointerDown;
+ te.onPointerDown = (e) => {
let t = V(e);
if (t && t !== i.current && ne(t)) {
e.stopPropagation();
@@ -12531,8 +12531,8 @@ function ib(e) {
}
re?.(e);
};
- let L = F.onMouseDown;
- return F.onMouseDown = (e) => {
+ let L = te.onMouseDown;
+ return te.onMouseDown = (e) => {
let t = V(e);
if (t && t !== i.current && ne(t)) {
e.stopPropagation();
@@ -12540,7 +12540,7 @@ function ib(e) {
}
L?.(e);
}, {
- itemProps: F,
+ itemProps: te,
isPressed: M,
isSelected: n.isSelected(r),
isFocused: n.isFocused && n.focusedKey === r,
@@ -12549,22 +12549,22 @@ function ib(e) {
hasAction: S
};
}
-function ab(e) {
+function nb(e) {
return e === "Enter";
}
-function ob(e) {
+function rb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Hee(e) {
+function Gee(e) {
return e && e.__esModule ? e.default : e;
}
-function Uee(e, t) {
+function Kee(e, t) {
let { key: n } = e, r = t.selectionManager, i = Lm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": hg(Hee(eb), "@react-aria/grid").format("select"),
+ "aria-label": mg(Gee(Zy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12572,22 +12572,22 @@ function Uee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Wee(e, t, n) {
- let r = _g(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function qee(e, t, n) {
+ let r = gg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = rb({
+ let { listProps: s } = eb({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = W_({
+ }), { focusWithinProps: c } = H_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
}), l = Lm(e.id);
- tv.set(t, {
+ $_.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12597,7 +12597,7 @@ function Wee(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = H_({
+ let { labelProps: u, fieldProps: d } = B_({
...e,
id: l,
labelElementType: "span"
@@ -12613,7 +12613,7 @@ function Wee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Gee(e) {
+function Jee(e) {
let { heading: t, "aria-label": n } = e, r = Lm();
return {
itemProps: { role: "presentation" },
@@ -12633,8 +12633,8 @@ function Gee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Kee(e, t, n) {
- let { key: r } = e, i = tv.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = zm(), f = zm(), p = {
+function Yee(e, t, n) {
+ let { key: r } = e, i = $_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = zm(), f = zm(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -12644,9 +12644,9 @@ function Kee(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"] = ny(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ey(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Tee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = ib({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Dee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = tb({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12659,12 +12659,12 @@ function Kee(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = _y({
+ }), { hoverProps: S } = my({
isDisabled: a || !c,
onHoverStart() {
vm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = _g(m?.props);
+ }), C = gg(m?.props);
delete C.id;
let w = Hp(m?.props);
return {
@@ -12686,13 +12686,13 @@ function Kee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var sb = /* @__PURE__ */ new WeakMap();
+var ib = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function qee(e, t, n) {
+function Xee(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = _g(e, { labelable: !0 }), { listProps: c } = rb({
+ let s = gg(e, { labelable: !0 }), { listProps: c } = eb({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -12701,7 +12701,7 @@ function qee(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return sb.set(t, {
+ return ib.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -12718,32 +12718,32 @@ function qee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Jee(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = sb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Ip(), M = () => {
+function Zee(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = ib.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Ip(), M = () => {
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 = zm(), te = zm(), P = zm(), F = {
+ let P = zm(), ee = zm(), F = zm(), te = {
id: r,
"aria-disabled": E || void 0,
role: N,
"aria-label": e["aria-label"],
- "aria-labelledby": ee,
+ "aria-labelledby": P,
"aria-describedby": [
e["aria-describedby"],
- te,
- P
+ ee,
+ F
].filter(Boolean).join(" ") || void 0,
"aria-controls": e["aria-controls"],
"aria-haspopup": c,
"aria-expanded": e["aria-expanded"]
};
- if (C.selectionMode !== "none" && !w && (F["aria-checked"] = D), s) {
+ if (C.selectionMode !== "none" && !w && (te["aria-checked"] = D), s) {
let e = Number(k?.index);
- F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = ny(t.collection);
+ te["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, te["aria-setsize"] = ey(t.collection);
}
let ne = (0, I.useRef)(!1), re = (e) => {
f?.(e), ne.current = e;
@@ -12753,7 +12753,7 @@ function Jee(e, t, n) {
m?.(e), M(), Up(e, j, k.props.href, k?.props.routerOptions);
let t = L.current?.pointerType === "keyboard" ? L.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), L.current = null;
- }, { itemProps: oe, isFocused: se } = ib({
+ }, { itemProps: oe, isFocused: se } = tb({
id: r,
selectionManager: C,
key: i,
@@ -12762,14 +12762,14 @@ function Jee(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: ce, isPressed: le } = Ag({
+ }), { pressProps: ce, isPressed: le } = kg({
onPressStart: l,
onPress: d,
onPressUp: ie,
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: ue } = _y({
+ }), { hoverProps: ue } = my({
isDisabled: E,
onHoverStart(e) {
!vm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
@@ -12806,12 +12806,12 @@ function Jee(e, t, n) {
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), de = _g(k?.props);
+ }, n), de = gg(k?.props);
delete de.id;
let fe = Hp(k?.props);
return {
menuItemProps: {
- ...F,
+ ...te,
...H(de, fe, w ? {
onFocus: oe.onFocus,
"data-collection": oe["data-collection"],
@@ -12819,9 +12819,9 @@ function Jee(e, t, n) {
} : oe, ce, ue, R, z, O.shouldUseVirtualFocus || w ? { onMouseDown: (e) => e.preventDefault() } : void 0, E ? void 0 : { onClick: ae }),
tabIndex: oe.tabIndex != null && T && !O.shouldUseVirtualFocus ? -1 : oe.tabIndex
},
- labelProps: { id: ee },
- descriptionProps: { id: te },
- keyboardShortcutProps: { id: P },
+ labelProps: { id: P },
+ descriptionProps: { id: ee },
+ keyboardShortcutProps: { id: F },
isFocused: se,
isFocusVisible: se && C.isFocused && vm() && !T,
isSelected: D,
@@ -12831,7 +12831,7 @@ function Jee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Yee(e) {
+function Qee(e) {
let { heading: t, "aria-label": n } = e, r = Lm();
return {
itemProps: { role: "presentation" },
@@ -12848,15 +12848,15 @@ function Yee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Xee() {
+function $ee() {
return window.ResizeObserver !== void 0;
}
-function cb(e) {
+function ab(e) {
let { ref: t, box: n, onResize: r } = e, i = Kh(r);
(0, I.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Xee()) {
+ if ($ee()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12872,189 +12872,189 @@ function cb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var lb = {};
-lb = { dismiss: "تجاهل" };
+var ob = {};
+ob = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var ub = {};
-ub = { dismiss: "Отхвърляне" };
+var sb = {};
+sb = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var db = {};
-db = { dismiss: "Odstranit" };
+var cb = {};
+cb = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var fb = {};
-fb = { dismiss: "Luk" };
+var lb = {};
+lb = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var pb = {};
-pb = { dismiss: "Schließen" };
+var ub = {};
+ub = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var mb = {};
-mb = { dismiss: "Απόρριψη" };
+var db = {};
+db = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var hb = {};
-hb = { dismiss: "Dismiss" };
+var fb = {};
+fb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var gb = {};
-gb = { dismiss: "Descartar" };
+var pb = {};
+pb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var _b = {};
-_b = { dismiss: "Lõpeta" };
+var mb = {};
+mb = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var vb = {};
-vb = { dismiss: "Hylkää" };
+var hb = {};
+hb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var yb = {};
-yb = { dismiss: "Rejeter" };
+var gb = {};
+gb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var bb = {};
-bb = { dismiss: "התעלם" };
+var _b = {};
+_b = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var xb = {};
-xb = { dismiss: "Odbaci" };
+var vb = {};
+vb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var Sb = {};
-Sb = { dismiss: "Elutasítás" };
+var yb = {};
+yb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Cb = {};
-Cb = { dismiss: "Ignora" };
+var bb = {};
+bb = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var wb = {};
-wb = { dismiss: "閉じる" };
+var xb = {};
+xb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var Tb = {};
-Tb = { dismiss: "무시" };
+var Sb = {};
+Sb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Eb = {};
-Eb = { dismiss: "Atmesti" };
+var Cb = {};
+Cb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Db = {};
-Db = { dismiss: "Nerādīt" };
+var wb = {};
+wb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Ob = {};
-Ob = { dismiss: "Lukk" };
+var Tb = {};
+Tb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var kb = {};
-kb = { dismiss: "Negeren" };
+var Eb = {};
+Eb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Ab = {};
-Ab = { dismiss: "Zignoruj" };
+var Db = {};
+Db = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var jb = {};
-jb = { dismiss: "Descartar" };
+var Ob = {};
+Ob = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Mb = {};
-Mb = { dismiss: "Dispensar" };
+var kb = {};
+kb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Nb = {};
-Nb = { dismiss: "Revocare" };
+var Ab = {};
+Ab = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Pb = {};
-Pb = { dismiss: "Пропустить" };
+var jb = {};
+jb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Fb = {};
-Fb = { dismiss: "Zrušiť" };
+var Mb = {};
+Mb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Ib = {};
-Ib = { dismiss: "Opusti" };
+var Nb = {};
+Nb = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Lb = {};
-Lb = { dismiss: "Odbaci" };
+var Pb = {};
+Pb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Rb = {};
-Rb = { dismiss: "Avvisa" };
+var Fb = {};
+Fb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var zb = {};
-zb = { dismiss: "Kapat" };
+var Ib = {};
+Ib = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Bb = {};
-Bb = { dismiss: "Скасувати" };
+var Lb = {};
+Lb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Vb = {};
-Vb = { dismiss: "取消" };
+var Rb = {};
+Rb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Hb = {};
-Hb = { dismiss: "關閉" };
+var zb = {};
+zb = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Ub = {};
-Ub = {
- "ar-AE": lb,
- "bg-BG": ub,
- "cs-CZ": db,
- "da-DK": fb,
- "de-DE": pb,
- "el-GR": mb,
- "en-US": hb,
- "es-ES": gb,
- "et-EE": _b,
- "fi-FI": vb,
- "fr-FR": yb,
- "he-IL": bb,
- "hr-HR": xb,
- "hu-HU": Sb,
- "it-IT": Cb,
- "ja-JP": wb,
- "ko-KR": Tb,
- "lt-LT": Eb,
- "lv-LV": Db,
- "nb-NO": Ob,
- "nl-NL": kb,
- "pl-PL": Ab,
- "pt-BR": jb,
- "pt-PT": Mb,
- "ro-RO": Nb,
- "ru-RU": Pb,
- "sk-SK": Fb,
- "sl-SI": Ib,
- "sr-SP": Lb,
- "sv-SE": Rb,
- "tr-TR": zb,
- "uk-UA": Bb,
- "zh-CN": Vb,
- "zh-TW": Hb
+var Bb = {};
+Bb = {
+ "ar-AE": ob,
+ "bg-BG": sb,
+ "cs-CZ": cb,
+ "da-DK": lb,
+ "de-DE": ub,
+ "el-GR": db,
+ "en-US": fb,
+ "es-ES": pb,
+ "et-EE": mb,
+ "fi-FI": hb,
+ "fr-FR": gb,
+ "he-IL": _b,
+ "hr-HR": vb,
+ "hu-HU": yb,
+ "it-IT": bb,
+ "ja-JP": xb,
+ "ko-KR": Sb,
+ "lt-LT": Cb,
+ "lv-LV": wb,
+ "nb-NO": Tb,
+ "nl-NL": Eb,
+ "pl-PL": Db,
+ "pt-BR": Ob,
+ "pt-PT": kb,
+ "ro-RO": Ab,
+ "ru-RU": jb,
+ "sk-SK": Mb,
+ "sl-SI": Nb,
+ "sr-SP": Pb,
+ "sv-SE": Fb,
+ "tr-TR": Ib,
+ "uk-UA": Lb,
+ "zh-CN": Rb,
+ "zh-TW": zb
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Wb(e) {
+function Vb(e) {
return e && e.__esModule ? e.default : e;
}
-function Gb(e) {
- let { onDismiss: t, ...n } = e, r = Jh(n, hg(Wb(Ub), "@react-aria/overlays").format("dismiss")), i = () => {
+function Hb(e) {
+ let { onDismiss: t, ...n } = e, r = Jh(n, mg(Vb(Bb), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ I.createElement(X_, null, /*#__PURE__*/ I.createElement("button", {
+ return /*#__PURE__*/ I.createElement(J_, null, /*#__PURE__*/ I.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -13066,22 +13066,22 @@ function Gb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Kb = [];
-function qb(e, t) {
+var Ub = [];
+function Wb(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 && !Kb.includes(t)) return Kb.push(t), () => {
- let e = Kb.indexOf(t);
- e >= 0 && Kb.splice(e, 1);
+ if (i && !Ub.includes(t)) return Ub.push(t), () => {
+ let e = Ub.indexOf(t);
+ e >= 0 && Ub.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Kb[Kb.length - 1] === t && n && n();
+ Ub[Ub.length - 1] === t && n && n();
}, u = (e) => {
- let n = Kb[Kb.length - 1];
+ let n = Ub[Ub.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (Kb[Kb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (Ub[Ub.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = ih({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -13089,15 +13089,15 @@ function qb(e, t) {
}
return !1;
} } });
- vy({
+ hy({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = W_({
+ let { focusWithinProps: p } = H_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || e_(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || $g(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -13110,26 +13110,26 @@ function qb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Jb = typeof document < "u" && window.visualViewport, Yb = 0, Xb;
-function Zb(e = {}) {
+var Gb = typeof document < "u" && window.visualViewport, Kb = 0, qb;
+function Jb(e = {}) {
let { isDisabled: t } = e;
hp(() => {
- if (!t) return Yb++, Yb === 1 && (Xb = Dp() && kp() ? Qee() : Zee()), () => {
- Yb--, Yb === 0 && Xb();
+ if (!t) return Kb++, Kb === 1 && (qb = Dp() && kp() ? tte() : ete()), () => {
+ Kb--, Kb === 0 && qb();
};
}, [t]);
}
-function Zee() {
+function ete() {
let e = window.innerWidth - document.documentElement.clientWidth;
return jm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Qf(document.documentElement, "scrollbar-gutter", "stable") : Qf(document.documentElement, "padding-right", `${e}px`)), Qf(document.documentElement, "overflow", "hidden"));
}
-function Qee() {
+function tte() {
let e = Qf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
- t = y_(r) ? r : b_(r, !0), n = !1;
+ t = v_(r) ? r : y_(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 = Cg();
+ }, i = document.createElement("style"), a = Sg();
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,7 +13141,7 @@ function Qee() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && Wh(n) ? (n.focus({ preventScroll: !0 }), Qb(n, Wh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Wh(n) ? (n.focus({ preventScroll: !0 }), Yb(n, Wh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -13151,7 +13151,7 @@ function Qee() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Qb(this, n);
+ }), (!e || !e.preventScroll) && Yb(this, n);
}
});
let l = jm(Zf(document, "touchstart", r, {
@@ -13169,18 +13169,18 @@ function Qee() {
});
};
}
-function Qb(e, t) {
- t || !Jb ? $b(e) : Jb.addEventListener("resize", () => $b(e), { once: !0 });
+function Yb(e, t) {
+ t || !Gb ? Xb(e) : Gb.addEventListener("resize", () => Xb(e), { once: !0 });
}
-function $b(e) {
+function Xb(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = b_(n);
+ let e = y_(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;
- Jb && (n = Math.min(n, Jb.offsetTop + Jb.height));
+ Gb && (n = Math.min(n, Gb.offsetTop + Gb.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -13193,14 +13193,14 @@ function $b(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function $ee(e, t, n) {
- let { overlayProps: r, underlayProps: i } = qb({
+function nte(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = Wb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Zb({ isDisabled: !t.isOpen }), uy(), (0, I.useEffect)(() => {
- if (t.isOpen && n.current) return ev([n.current], { shouldUseInert: !0 });
+ return Jb({ isDisabled: !t.isOpen }), ly(), (0, I.useEffect)(() => {
+ if (t.isOpen && n.current) return Q_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -13208,32 +13208,32 @@ function $ee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var ex = {
+var Zb = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, tx = {
+}, Qb = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, ete = {
+}, rte = {
top: "left",
left: "top"
-}, nx = {
+}, $b = {
top: "height",
left: "width"
-}, rx = {
+}, ex = {
width: "totalWidth",
height: "totalHeight"
-}, ix = {}, tte = () => typeof document < "u" ? window.visualViewport : null;
-function ax(e, t) {
+}, tx = {}, ite = () => typeof document < "u" ? window.visualViewport : null;
+function nx(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} = dx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = cx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return kp() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
@@ -13244,7 +13244,7 @@ function ax(e, t) {
left: s
};
}
-function nte(e) {
+function ate(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13252,11 +13252,11 @@ function nte(e) {
height: e.scrollHeight
};
}
-function ox(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[nx[e]], l = o[e] + r.scroll[ex[e]] + a, u = o[e] + r.scroll[ex[e]] + c - a, d = t - s + r.scroll[ex[e]] + o[e] - r[ex[e]], f = t - s + n + r.scroll[ex[e]] + o[e] - r[ex[e]];
+function rx(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[$b[e]], l = o[e] + r.scroll[Zb[e]] + a, u = o[e] + r.scroll[Zb[e]] + c - a, d = t - s + r.scroll[Zb[e]] + o[e] - r[Zb[e]], f = t - s + n + r.scroll[Zb[e]] + o[e] - r[Zb[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function rte(e) {
+function ote(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13265,58 +13265,58 @@ function rte(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function sx(e) {
- if (ix[e]) return ix[e];
- let [t, n] = e.split(" "), r = ex[t] || "right", i = ete[r];
- ex[n] || (n = "center");
- let a = nx[r], o = nx[i];
- return ix[e] = {
+function ix(e) {
+ if (tx[e]) return tx[e];
+ let [t, n] = e.split(" "), r = Zb[t] || "right", i = rte[r];
+ Zb[n] || (n = "center");
+ let a = $b[r], o = $b[i];
+ return tx[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, ix[e];
+ }, tx[e];
}
-function cx(e, t, n, r, i, a, o, s, c, l, u) {
+function ax(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] = q_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[rx[h]];
- _[tx[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = G_(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[ex[h]];
+ _[Qb[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function ite(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[rx.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[ex.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 lx(e, t, n, r, i, a, o, s) {
+function ox(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[tx[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[tx[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Qb[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Qb[l]] - i);
}
-function ate(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = sx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = cx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = lx(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 = ix(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = ax(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ox(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = sx(`${tx[S]} ${C}`), r = cx(t, s, n, e, u, d, l, f, m, h, c);
- lx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = ix(`${Qb[S]} ${C}`), r = ax(t, s, n, e, u, d, l, f, m, h, c);
+ ox(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let 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 = ox(b, w[b], n[x], s, c, a, l);
+ let O = rx(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = ite(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = cx(t, s, n, v, T, d, l, f, m, h, c), O = ox(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[ex[b]], M = j + .5 * t[x], N = m / 2 + h, ee = ex[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = q_(q_(M, t[b] + m / 2 - (w[b] + i[ex[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ex[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
- let P = S === "left" || S === "top" ? n[y] : 0, F = {
- x: S === "top" || S === "bottom" ? j : P,
- y: S === "left" || S === "right" ? j : P
+ let k = ste(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = ax(t, s, n, v, T, d, l, f, m, h, c), O = rx(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Zb[b]], M = j + .5 * t[x], N = m / 2 + h, P = Zb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
+ A[b] = G_(G_(M, t[b] + m / 2 - (w[b] + i[Zb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Zb[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let F = S === "left" || S === "top" ? n[y] : 0, te = {
+ x: S === "top" || S === "bottom" ? j : F,
+ y: S === "left" || S === "right" ? j : F
};
return {
position: w,
@@ -13324,20 +13324,20 @@ function ate(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
arrowOffsetLeft: A.left,
arrowOffsetTop: A.top,
placement: S,
- triggerAnchorPoint: F
+ triggerAnchorPoint: te
};
}
-function ote(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 = tte(), h = r instanceof HTMLElement ? ste(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? dx(n, !1, p) : fx(n, h, !1, p);
+function lte(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = ite(), h = r instanceof HTMLElement ? ute(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? cx(n, !1, p) : lx(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = dx(r, !0), x = rte(r);
+ let b = cx(r, !0), x = ote(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = nte(i), C = ax(s, m), w = ax(h, m), T;
+ let S = ate(i), C = nx(s, m), w = nx(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = ux(h, !1);
+ let e = sx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13349,11 +13349,11 @@ function ote(e) {
left: 0,
width: 0,
height: 0
- } : fx(s, h, !1);
+ } : lx(s, h, !1);
let E = tp(s, h);
- return ate(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return cte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function ux(e, t) {
+function sx(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -13362,8 +13362,8 @@ function ux(e, t) {
height: a
};
}
-function dx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || ux(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function cx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || sx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13371,29 +13371,29 @@ function dx(e, t, n) {
height: o
};
}
-function fx(e, t, n, r) {
+function lx(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || ux(e, n);
+ if (i.position === "fixed") a = r || sx(e, n);
else {
- a = dx(e, n, r);
- let i = dx(t, n), o = window.getComputedStyle(t);
+ a = cx(e, n, r);
+ let i = cx(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 ste(e) {
+function ute(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !px(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !px(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ux(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ux(t);) t = t.parentElement;
return t || document.documentElement;
}
-function px(e) {
+function ux(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 mx = typeof document < "u" ? window.visualViewport : null;
-function cte(e) {
+var dx = typeof document < "u" ? window.visualViewport : null;
+function dte(e) {
let { direction: t } = ag(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, I.useState)(null), x = [
p,
s,
@@ -13411,12 +13411,12 @@ function cte(e) {
g,
_,
n
- ], S = (0, I.useRef)(mx?.scale);
+ ], S = (0, I.useRef)(dx?.scale);
(0, I.useEffect)(() => {
- m && (S.current = mx?.scale);
+ m && (S.current = dx?.scale);
}, [m]);
let C = (0, I.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || mx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || dx?.scale !== S.current) return;
let e = null;
if (o.current && ip(o.current)) {
let t = np()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -13427,8 +13427,8 @@ function cte(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 = ote({
- placement: ute(s, t),
+ let y = lte({
+ placement: pte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13438,7 +13438,7 @@ function cte(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? ux(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? sx(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -13451,10 +13451,10 @@ function cte(e) {
}
b(y);
}, x);
- hp(C, x), lte(C), cb({
+ hp(C, x), fte(C), ab({
ref: i,
onResize: C
- }), cb({
+ }), ab({
ref: r,
onResize: C
});
@@ -13467,16 +13467,16 @@ function cte(e) {
}, n = () => {
w.current && t();
};
- mx?.addEventListener("resize", t), mx?.addEventListener("scroll", n);
+ dx?.addEventListener("resize", t), dx?.addEventListener("scroll", n);
let r = Zf(rp(window), "scroll", n);
return () => {
- mx?.removeEventListener("resize", t), mx?.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 Aee({
+ return Mee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13502,25 +13502,25 @@ function cte(e) {
updatePosition: C
};
}
-function lte(e) {
+function fte(e) {
hp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function ute(e, t) {
+function pte(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 dte(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 } = qb({
+function mte(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Wb({
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 } = cte({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = dte({
...c,
targetRef: n,
overlayRef: r,
@@ -13528,15 +13528,15 @@ function dte(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)
});
- Zb({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Cee(i?.current ?? r.current) : ev([i?.current ?? r.current], { shouldUseInert: !0 });
+ Jb({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Tee(i?.current ?? r.current) : Q_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = W_(e);
+ let { focusWithinProps: g } = H_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13547,13 +13547,13 @@ function dte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var hx = /* @__PURE__ */ new WeakMap();
+var fx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function fte(e, t, n) {
+function hte(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: _ } = Ag({
+ }, { pressProps: g, isPressed: _ } = kg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13561,7 +13561,7 @@ function fte(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = Ag({
+ }), { pressProps: v, isPressed: y } = kg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13571,11 +13571,11 @@ function fte(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = lh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = _g(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = lh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = gg(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 } = hx.get(t);
- O_(n, t.defaultSelectedValue, t.setSelectedValue), k_({ validationBehavior: O }, t, n);
- let k = j_();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = fx.get(t);
+ D_(n, t.defaultSelectedValue, t.setSelectedValue), O_({ validationBehavior: O }, t, n);
+ let k = k_();
return {
labelProps: H(v, (0, I.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -13607,13 +13607,13 @@ function fte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function pte(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ag(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = U_({
+function gte(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ag(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = V_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = _g(e, { labelable: !0 }), { focusWithinProps: v } = W_({
+ }), _ = gg(e, { labelable: !0 }), { focusWithinProps: v } = H_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13621,7 +13621,7 @@ function pte(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = u_(n.currentTarget, {
+ let r = l_(n.currentTarget, {
from: V(n),
accept: (e) => e instanceof Kf(e).HTMLInputElement && e.type === "radio"
}), i;
@@ -13636,7 +13636,7 @@ function pte(e, t) {
},
allowRepeats: !0
}), x = Lm(n);
- return hx.set(t, {
+ return fx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13665,18 +13665,18 @@ function pte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var gx = /* @__PURE__ */ new WeakMap();
-function mte(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = iy({
+var px = /* @__PURE__ */ new WeakMap();
+function _te(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = ny({
usage: "search",
sensitivity: "base"
- }), u = (0, I.useMemo)(() => r || new ov(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, I.useMemo)(() => r || new iv(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Wv({
+ ]), { menuTriggerProps: d, menuProps: f } = Hv({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = ih({
@@ -13695,21 +13695,21 @@ function mte(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Kv({
+ }), { typeSelectProps: m } = Wv({
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 } = U_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = V_({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = _g(e, { labelable: !0 }), C = H(m, d, y), w = Lm();
- return gx.set(t, {
+ let S = gg(e, { labelable: !0 }), C = H(m, d, y), w = Lm();
+ return px.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13770,13 +13770,13 @@ function mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function hte(e, t, n) {
- let r = gx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Y_({ style: {
+function vte(e, t, n) {
+ let r = px.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = q_({ style: {
position: "fixed",
top: 0,
left: 0
} });
- O_(e.selectRef, t.defaultValue, t.setValue), k_({
+ D_(e.selectRef, t.defaultValue, t.setValue), O_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -13806,8 +13806,8 @@ function hte(e, t, n) {
}
};
}
-function gte(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 } = hte({
+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({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -13831,7 +13831,7 @@ function gte(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = gx.get(t) || {};
+ let { validationBehavior: e } = px.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13862,8 +13862,8 @@ function gte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function _te(e) {
- let t = _g(e, { labelable: !0 }), n;
+function bte(e) {
+ let t = gg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -13872,8 +13872,8 @@ function _te(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function vte(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = B_(e, t, n);
+function xte(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = R_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -13887,10 +13887,10 @@ function vte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var _x = class {
+var mx = 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 yte(e.layout) : new av(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Ste(e.layout) : new rv(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -13926,7 +13926,7 @@ var _x = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of Yv(n, this.collection)) {
+ for (let e of qv(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 +13960,13 @@ var _x = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Yv(t, this.collection);
- return (this.direction === "rtl" ? Qv(e)?.key : Xv(e)?.key) ?? null;
+ let e = qv(t, this.collection);
+ return (this.direction === "rtl" ? Xv(e)?.key : Jv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Yv(n, this.collection), i = (this.direction === "rtl" ? Zv(r, t.index - 1) : Zv(r, t.index + 1)) ?? null;
+ let r = qv(n, this.collection), i = (this.direction === "rtl" ? Yv(r, t.index - 1) : Yv(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 +13975,13 @@ var _x = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Yv(t, this.collection);
- return (this.direction === "rtl" ? Xv(e)?.key : Qv(e)?.key) ?? null;
+ let e = qv(t, this.collection);
+ return (this.direction === "rtl" ? Jv(e)?.key : Xv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Yv(n, this.collection), i = (this.direction === "rtl" ? Zv(r, t.index + 1) : Zv(r, t.index - 1)) ?? null;
+ let r = qv(n, this.collection), i = (this.direction === "rtl" ? Yv(r, t.index + 1) : Yv(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 +13992,13 @@ var _x = 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 ? Xv(Yv(e, this.collection))?.key ?? null : null;
+ return e ? Jv(qv(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 = Xv(Yv(e, this.collection))?.key ?? null;
+ n = Jv(qv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14008,13 +14008,13 @@ var _x = 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(Yv(e, this.collection))?.key ?? null : null;
+ return e ? Xv(qv(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 = Qv(Yv(e, this.collection))?.key ?? null;
+ n = Xv(qv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -14050,13 +14050,13 @@ var _x = 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" ? Xv(Yv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Jv(qv(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;
}
-}, yte = class {
+}, Ste = class {
constructor(e) {
this.layout = e;
}
@@ -14069,16 +14069,16 @@ var _x = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, vx = /* @__PURE__ */ new WeakMap();
+}, hx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function bte(e, t, n) {
+function Cte(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 = iy({
+ let h = ny({
usage: "search",
sensitivity: "base"
- }), { direction: g } = ag(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new _x({
+ }), { direction: g } = ag(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new mx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -14095,7 +14095,7 @@ function bte(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Jv({
+ ]), { collectionProps: y } = Kv({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -14104,7 +14104,7 @@ function bte(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = Lm(e.id);
- vx.set(t, {
+ hx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -14113,10 +14113,10 @@ function bte(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Vee({
+ let x = Wee({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = _g(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
+ }), S = gg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
if (m.isFocused) {
tp(e.currentTarget, V(e)) || m.setFocused(!1);
return;
@@ -14125,36 +14125,36 @@ function bte(e, t, n) {
}, [m]), w = (0, I.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = nb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = $y(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), zee({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Hee({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var yx = /* @__PURE__ */ new WeakMap();
-function bx(e) {
+var gx = /* @__PURE__ */ new WeakMap();
+function _x(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function xte(e, t) {
- let n = yx.get(e);
+function wte(e, t) {
+ let n = gx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${bx(t)}`;
+ return `${n}-${_x(t)}`;
}
-function xx(e, t, n) {
- let r = yx.get(e);
+function vx(e, t, n) {
+ let r = gx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${bx(t)}-${bx(n)}`;
+ return `${r}-${_x(t)}-${_x(n)}`;
}
-function Sx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => xx(e, t, n)).join(" ");
+function yx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => vx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Cx = {};
-Cx = {
+var bx = {};
+bx = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -14169,8 +14169,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var wx = {};
-wx = {
+var xx = {};
+xx = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -14185,8 +14185,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Tx = {};
-Tx = {
+var Sx = {};
+Sx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14201,8 +14201,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var Ex = {};
-Ex = {
+var Cx = {};
+Cx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14217,8 +14217,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Dx = {};
-Dx = {
+var wx = {};
+wx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14233,8 +14233,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Ox = {};
-Ox = {
+var Tx = {};
+Tx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -14249,8 +14249,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var kx = {};
-kx = {
+var Ex = {};
+Ex = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14265,8 +14265,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Ax = {};
-Ax = {
+var Dx = {};
+Dx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14281,8 +14281,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var jx = {};
-jx = {
+var Ox = {};
+Ox = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14297,8 +14297,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Mx = {};
-Mx = {
+var kx = {};
+kx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14313,8 +14313,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Nx = {};
-Nx = {
+var Ax = {};
+Ax = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14329,8 +14329,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Px = {};
-Px = {
+var jx = {};
+jx = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -14345,8 +14345,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Fx = {};
-Fx = {
+var Mx = {};
+Mx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14361,8 +14361,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Ix = {};
-Ix = {
+var Nx = {};
+Nx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14377,8 +14377,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Lx = {};
-Lx = {
+var Px = {};
+Px = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14393,8 +14393,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Rx = {};
-Rx = {
+var Fx = {};
+Fx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14409,8 +14409,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var zx = {};
-zx = {
+var Ix = {};
+Ix = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -14425,8 +14425,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Bx = {};
-Bx = {
+var Lx = {};
+Lx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14441,8 +14441,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Vx = {};
-Vx = {
+var Rx = {};
+Rx = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -14457,8 +14457,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Hx = {};
-Hx = {
+var zx = {};
+zx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14473,8 +14473,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Ux = {};
-Ux = {
+var Bx = {};
+Bx = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14489,8 +14489,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Wx = {};
-Wx = {
+var Vx = {};
+Vx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14505,8 +14505,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Gx = {};
-Gx = {
+var Hx = {};
+Hx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14521,8 +14521,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Kx = {};
-Kx = {
+var Ux = {};
+Ux = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14537,8 +14537,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var qx = {};
-qx = {
+var Wx = {};
+Wx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14553,8 +14553,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Jx = {};
-Jx = {
+var Gx = {};
+Gx = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -14569,8 +14569,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Yx = {};
-Yx = {
+var Kx = {};
+Kx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14585,8 +14585,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Xx = {};
-Xx = {
+var qx = {};
+qx = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -14601,8 +14601,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Zx = {};
-Zx = {
+var Jx = {};
+Jx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14617,8 +14617,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Qx = {};
-Qx = {
+var Yx = {};
+Yx = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14633,8 +14633,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var $x = {};
-$x = {
+var Xx = {};
+Xx = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14649,8 +14649,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var eS = {};
-eS = {
+var Zx = {};
+Zx = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -14665,8 +14665,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var tS = {};
-tS = {
+var Qx = {};
+Qx = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14681,8 +14681,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var nS = {};
-nS = {
+var $x = {};
+$x = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -14697,46 +14697,46 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var rS = {};
-rS = {
- "ar-AE": Cx,
- "bg-BG": wx,
- "cs-CZ": Tx,
- "da-DK": Ex,
- "de-DE": Dx,
- "el-GR": Ox,
- "en-US": kx,
- "es-ES": Ax,
- "et-EE": jx,
- "fi-FI": Mx,
- "fr-FR": Nx,
- "he-IL": Px,
- "hr-HR": Fx,
- "hu-HU": Ix,
- "it-IT": Lx,
- "ja-JP": Rx,
- "ko-KR": zx,
- "lt-LT": Bx,
- "lv-LV": Vx,
- "nb-NO": Hx,
- "nl-NL": Ux,
- "pl-PL": Wx,
- "pt-BR": Gx,
- "pt-PT": Kx,
- "ro-RO": qx,
- "ru-RU": Jx,
- "sk-SK": Yx,
- "sl-SI": Xx,
- "sr-SP": Zx,
- "sv-SE": Qx,
- "tr-TR": $x,
- "uk-UA": eS,
- "zh-CN": tS,
- "zh-TW": nS
+var eS = {};
+eS = {
+ "ar-AE": bx,
+ "bg-BG": xx,
+ "cs-CZ": Sx,
+ "da-DK": Cx,
+ "de-DE": wx,
+ "el-GR": Tx,
+ "en-US": Ex,
+ "es-ES": Dx,
+ "et-EE": Ox,
+ "fi-FI": kx,
+ "fr-FR": Ax,
+ "he-IL": jx,
+ "hr-HR": Mx,
+ "hu-HU": Nx,
+ "it-IT": Px,
+ "ja-JP": Fx,
+ "ko-KR": Ix,
+ "lt-LT": Lx,
+ "lv-LV": Rx,
+ "nb-NO": zx,
+ "nl-NL": Bx,
+ "pl-PL": Vx,
+ "pt-BR": Hx,
+ "pt-PT": Ux,
+ "ro-RO": Wx,
+ "ru-RU": Gx,
+ "sk-SK": Kx,
+ "sl-SI": qx,
+ "sr-SP": Jx,
+ "sv-SE": Yx,
+ "tr-TR": Xx,
+ "uk-UA": Zx,
+ "zh-CN": Qx,
+ "zh-TW": $x
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Ste = class extends _x {
+var Tte = class extends mx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14744,7 +14744,7 @@ var Ste = class extends _x {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Xv(Yv(n, this.collection));
+ let e = Jv(qv(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 +14765,13 @@ var Ste = class extends _x {
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 Yv(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of qv(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 = [...Yv(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...qv(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 +14800,7 @@ var Ste = class extends _x {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of Yv(o, this.collection)) {
+ for (let r of qv(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 +14814,14 @@ var Ste = class extends _x {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Cte(e) {
+function Ete(e) {
return e && e.__esModule ? e.default : e;
}
-function wte(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = iy({
+function Dte(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ny({
usage: "search",
sensitivity: "base"
- }), { direction: c } = ag(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Ste({
+ }), { direction: c } = ag(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Tte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14841,34 +14841,34 @@ function wte(e, t, n) {
a,
o
]), d = Lm(e.id);
- yx.set(t, d);
- let { gridProps: f } = bte({
+ gx.set(t, d);
+ let { gridProps: f } = Cte({
...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 = hg(Cte(rS), "@react-aria/table"), g = (0, I.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = mg(Ete(eS), "@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
- ]), _ = D_(g);
- return v_(() => {
- g && g_(g, "assertive", 500);
+ ]), _ = E_(g);
+ return __(() => {
+ g && h_(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 iS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ag(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = vx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
+function tS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ag(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = hx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
if (n.current) {
- let e = u_(n.current);
+ let e = l_(n.current);
if (p === "child") {
if (ip(n.current) && n.current !== np(Gf(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? aS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? nS(e) : e.firstChild();
if (r) {
Am(r);
return;
@@ -14876,7 +14876,7 @@ function iS(e, t, n) {
}
(m.current != null && r.key !== m.current || !ip(n.current)) && Am(n.current);
}
- }, { itemProps: g, isPressed: _ } = ib({
+ }, { itemProps: g, isPressed: _ } = tb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14890,29 +14890,29 @@ function iS(e, t, n) {
onKeyDownCapture: f !== "tab" || o ? (e) => {
let i = np(Gf(n.current));
if (!tp(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = u_(n.current);
+ let a = l_(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Am(t), w_(t, { containingElement: b_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Am(t), C_(t, { containingElement: y_(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (Am(n.current), w_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : aS(a), t && (Am(t), w_(t, { containingElement: b_(n.current) })));
+ p === "cell" && l === "rtl" ? (Am(n.current), C_(n.current, { containingElement: y_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : nS(a), t && (Am(t), C_(t, { containingElement: y_(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Am(t), w_(t, { containingElement: b_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Am(t), C_(t, { containingElement: y_(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (Am(n.current), w_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? aS(a) : a.firstChild(), t && (Am(t), w_(t, { containingElement: b_(n.current) })));
+ p === "cell" && l === "ltr" ? (Am(n.current), C_(n.current, { containingElement: y_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? nS(a) : a.firstChild(), t && (Am(t), C_(t, { containingElement: y_(n.current) })));
}
break;
}
@@ -14928,7 +14928,7 @@ function iS(e, t, n) {
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = u_(n.current, { tabbable: !0 });
+ let t = l_(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -14957,7 +14957,7 @@ function iS(e, t, n) {
isPressed: _
};
}
-function aS(e) {
+function nS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14966,23 +14966,23 @@ function aS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Tte(e, t, n) {
- let { gridCellProps: r, isPressed: i } = iS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = xx(t, e.node.parentKey, a)), {
+function Ote(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = tS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = vx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Ete(e) {
+function kte(e) {
return e && e.__esModule ? e.default : e;
}
-function Dte(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = iS({
+function Ate(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = tS({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Ag({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = kg({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
@@ -14990,9 +14990,9 @@ function Dte(e, t, n) {
ref: n
}), { focusableProps: l } = lh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !jp() && (u = d ? f : "none");
- let p = hg(Ete(rS), "@react-aria/table"), m;
+ let p = mg(kte(eS), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && jp() && (m = `${m}, ${p.format(f)}`));
- let h = D_(m), g = t.collection.size === 0;
+ let h = E_(m), g = t.collection.size === 0;
return (0, I.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -15003,7 +15003,7 @@ function Dte(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: xte(t, r.key),
+ id: wte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -15012,14 +15012,14 @@ function Dte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Ote(e, t, n) {
+function jte(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 kte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = vx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = ib({
+function Mte(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = hx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = tb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -15040,10 +15040,10 @@ function kte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Ate(e) {
+function Nte(e) {
return e && e.__esModule ? e.default : e;
}
-var oS = {
+var rS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -15053,21 +15053,21 @@ var oS = {
rtl: "ArrowRight"
}
};
-function jte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = kte(e, t, n), { direction: s } = ag();
+function Pte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Mte(e, t, n), { direction: s } = ag();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = hg(Ate(rS), "@react-aria/table"), u = Jh({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = mg(Nte(eS), "@react-aria/table"), u = Jh({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Sx(t, r.key)
+ "aria-labelledby": yx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = sS(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 = sS(t.collection, a);
+ let n = iS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = iS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === oS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === oS.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 === rS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === rS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -15089,41 +15089,41 @@ function jte(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Sx(t, r.key)
+ "aria-labelledby": yx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function sS(e, t) {
+function iS(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 Mte() {
+function Fte() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function cS() {
- return Mte();
+function aS() {
+ return Fte();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Nte(e) {
+function Ite(e) {
return e && e.__esModule ? e.default : e;
}
-function Pte(e, t) {
- let { key: n } = e, { checkboxProps: r } = Uee(e, t);
+function Lte(e, t) {
+ let { key: n } = e, { checkboxProps: r } = Kee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Sx(t, n)}`
+ "aria-labelledby": `${r.id} ${yx(t, n)}`
} };
}
-function Fte(e) {
+function Rte(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": hg(Nte(rS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": mg(Ite(eS), "@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,21 +15132,21 @@ function Fte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var lS = /* @__PURE__ */ new WeakMap();
-function uS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${lS.get(e)}-${n}-${t}`) : "";
+var oS = /* @__PURE__ */ new WeakMap();
+function sS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${oS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Ite(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 } = ib({
+function zte(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = tb({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = uS(t, r, "tab"), m = uS(t, r, "tabpanel"), { tabIndex: h } = d, g = _g(u?.props, { labelable: !0 });
+ }), p = sS(t, r, "tab"), m = sS(t, r, "tabpanel"), { tabIndex: h } = d, g = gg(u?.props, { labelable: !0 });
delete g.id;
let _ = Hp(u?.props), { focusableProps: v } = lh({
...u?.props,
@@ -15168,7 +15168,7 @@ function Ite(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Lte = class {
+var Bte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15212,11 +15212,11 @@ var Lte = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Rte(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ag(), { collectionProps: l } = Jv({
+function Vte(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ag(), { collectionProps: l } = Kv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, I.useMemo)(() => new Lte(a, c, r, s), [
+ keyboardDelegate: (0, I.useMemo)(() => new Bte(a, c, r, s), [
a,
s,
r,
@@ -15227,7 +15227,7 @@ function Rte(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = Lm();
- return lS.set(t, u), { tabListProps: {
+ return oS.set(t, u), { tabListProps: {
...H(l, Jh({
...e,
id: u
@@ -15239,12 +15239,12 @@ function Rte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function zte(e, t, n) {
- let r = nb(n) ? void 0 : 0, i = uS(t, e.id ?? t?.selectedKey, "tabpanel");
+function Hte(e, t, n) {
+ let r = $y(n) ? void 0 : 0, i = sS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(Jh({
...e,
id: i,
- "aria-labelledby": uS(t, t?.selectedKey, "tab")
+ "aria-labelledby": sS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15254,7 +15254,7 @@ function zte(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var Bte = /* @__PURE__ */ j(((e) => {
+var Ute = /* @__PURE__ */ j(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15453,10 +15453,10 @@ var Bte = /* @__PURE__ */ j(((e) => {
}
};
};
-})), Vte = /* @__PURE__ */ j(((e, t) => {
- t.exports = Bte();
-})), Hte = /* @__PURE__ */ j(((e) => {
- var t = Vte(), n = F(), r = hh();
+})), Wte = /* @__PURE__ */ j(((e, t) => {
+ t.exports = Ute();
+})), Gte = /* @__PURE__ */ j(((e) => {
+ var t = Wte(), n = te(), r = hh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -15626,7 +15626,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
}
return null;
}
- var w = Object.assign, T = Symbol.for("react.element"), E = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), M = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), ee = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), I = Symbol.for("react.legacy_hidden"), L = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.for("react.view_transition"), ae = Symbol.for("react.recoverable"), oe = Symbol.iterator;
+ var w = Object.assign, T = Symbol.for("react.element"), E = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), M = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), ee = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), I = Symbol.for("react.legacy_hidden"), L = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.for("react.view_transition"), ae = Symbol.for("react.recoverable"), oe = Symbol.iterator;
function se(e) {
return typeof e != "object" || !e ? null : (e = oe && e[oe] || e["@@iterator"], typeof e == "function" ? e : null);
}
@@ -15639,8 +15639,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
case O: return "Fragment";
case A: return "Profiler";
case k: return "StrictMode";
- case ee: return "Suspense";
- case te: return "SuspenseList";
+ case P: return "Suspense";
+ case ee: return "SuspenseList";
case re: return "Activity";
case ie: return "ViewTransition";
}
@@ -15651,7 +15651,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
case N:
var t = e.render;
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
- case P: return t = e.displayName || null, t === null ? le(e.type) || "Memo" : t;
+ case F: return t = e.displayName || null, t === null ? le(e.type) || "Memo" : t;
case ne:
t = e._payload, e = e._init;
try {
@@ -16987,8 +16987,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
s = 8, a |= 24;
break;
case A: return e = ki(12, n, t, a | 2), e.elementType = A, e.lanes = o, e;
- case ee: return e = ki(13, n, t, a), e.elementType = ee, e.lanes = o, e;
- case te: return e = ki(19, n, t, a), e.elementType = te, e.lanes = o, e;
+ case P: return e = ki(13, n, t, a), e.elementType = P, e.lanes = o, e;
+ case ee: return e = ki(19, n, t, a), e.elementType = ee, e.lanes = o, e;
case I:
case ie: return e = a | 32, e = ki(30, n, t, e), e.elementType = ie, e.lanes = o, e.stateNode = {
autoName: null,
@@ -17007,7 +17007,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
case N:
s = 11;
break a;
- case P:
+ case F:
s = 14;
break a;
case ne:
@@ -19220,7 +19220,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
t.tag = 11, t = Ic(null, t, e, r, n);
break a;
}
- if (a === P) {
+ if (a === F) {
t.tag = 14, t = Lc(null, t, e, r, n);
break a;
}
@@ -23866,7 +23866,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
var n = !1, r = "", o = wc, s = Tc, c = Ec;
return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, ep(e), new eg(t);
};
-})), dS = (/* @__PURE__ */ j(((e, t) => {
+})), cS = (/* @__PURE__ */ j(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -23874,8 +23874,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
console.error(e);
}
}
- n(), t.exports = Hte();
-})))(), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+ n(), t.exports = Gte();
+})))(), 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,
@@ -23883,7 +23883,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), 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,
@@ -23891,7 +23891,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), fS = ({ 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" })), lS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23899,7 +23899,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), pS = ({ 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" })), 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,
@@ -23907,7 +23907,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), mS = ({ 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" })), dS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23915,7 +23915,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Gte = ({ 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" })), 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,
@@ -23923,7 +23923,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), hS = ({ 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" })), fS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23931,7 +23931,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), gS = ({ 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" })), pS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23939,7 +23939,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Kte = ({ 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" })), 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,
@@ -23947,7 +23947,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), _S = ({ 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" })), mS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23955,7 +23955,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), vS = ({ 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" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23963,7 +23963,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), yS = ({ 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" })), 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,
@@ -23971,7 +23971,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), bS = ({ 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" })), _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,
@@ -23979,7 +23979,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), qte = ({ 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" })), Xte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23987,7 +23987,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), xS = ({ 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" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23995,7 +23995,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), SS = ({ 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" })), 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,
@@ -24003,7 +24003,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Jte = ({ 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" })), Zte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24011,7 +24011,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Yte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24019,7 +24019,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), CS = ({ 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" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24027,7 +24027,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), wS = ({ 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" })), 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,
@@ -24035,7 +24035,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Xte = ({ 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" })), $te = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24043,7 +24043,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), TS = ({ 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" })), ene = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24051,7 +24051,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), ES = ({ 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" })), tne = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24059,7 +24059,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), DS = ({ 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" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24067,7 +24067,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), OS = ({ 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" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24075,7 +24075,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), kS = ({ 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" })), 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,
@@ -24083,7 +24083,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), AS = ({ 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" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24091,7 +24091,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), jS = ({ 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" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24099,7 +24099,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), MS = ({ 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" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24107,7 +24107,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), NS = ({ 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" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24115,7 +24115,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), PS = ({ 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" })), 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,
@@ -24123,7 +24123,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), FS = ({ 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" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24131,7 +24131,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), IS = ({ 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" })), 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,
@@ -24139,7 +24139,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), LS = ({ 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" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24147,7 +24147,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), RS = ({ 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" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24155,7 +24155,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), zS = ({ 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" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24163,7 +24163,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), BS = ({ 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" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24171,100 +24171,100 @@ var Bte = /* @__PURE__ */ j(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), VS = (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" })), IS = (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;
-}, HS = (e, t) => ({
+}, LS = (e, t) => ({
classGroupId: e,
validator: t
-}), US = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), RS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), WS = "-", GS = [], KS = "arbitrary..", qS = (e) => {
- let t = XS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), zS = "-", BS = [], VS = "arbitrary..", HS = (e) => {
+ let t = GS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return YS(e);
- let n = e.split(WS);
- return JS(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return WS(e);
+ let n = e.split(zS);
+ return US(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? VS(i, t) : t : i || GS;
+ return t ? i ? IS(i, t) : t : i || BS;
}
- return n[e] || GS;
+ return n[e] || BS;
}
};
-}, JS = (e, t, n) => {
+}, US = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = JS(e, t + 1, i);
+ let n = US(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(WS) : e.slice(t).join(WS), s = a.length;
+ let o = t === 0 ? e.join(zS) : e.slice(t).join(zS), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, YS = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, WS = (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 ? KS + r : void 0;
-})(), XS = (e) => {
+ return r ? VS + r : void 0;
+})(), GS = (e) => {
let { theme: t, classGroups: n } = e;
- return ZS(n, t);
-}, ZS = (e, t) => {
- let n = US();
+ return KS(n, t);
+}, KS = (e, t) => {
+ let n = RS();
for (let r in e) {
let i = e[r];
- QS(i, n, r, t);
+ qS(i, n, r, t);
}
return n;
-}, QS = (e, t, n, r) => {
+}, qS = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- $S(i, t, n, r);
+ JS(i, t, n, r);
}
-}, $S = (e, t, n, r) => {
+}, JS = (e, t, n, r) => {
if (typeof e == "string") {
- eC(e, t, n);
+ YS(e, t, n);
return;
}
if (typeof e == "function") {
- tC(e, t, n, r);
+ XS(e, t, n, r);
return;
}
- nC(e, t, n, r);
-}, eC = (e, t, n) => {
- let r = e === "" ? t : rC(t, e);
+ ZS(e, t, n, r);
+}, YS = (e, t, n) => {
+ let r = e === "" ? t : QS(t, e);
r.classGroupId = n;
-}, tC = (e, t, n, r) => {
- if (iC(e)) {
- QS(e(r), t, n, r);
+}, XS = (e, t, n, r) => {
+ if ($S(e)) {
+ qS(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(HS(n, e));
-}, nC = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(LS(n, e));
+}, ZS = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- QS(o, rC(t, a), n, r);
+ qS(o, QS(t, a), n, r);
}
-}, rC = (e, t) => {
- let n = e, r = t.split(WS), i = r.length;
+}, QS = (e, t) => {
+ let n = e, r = t.split(zS), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = US(), n.nextPart.set(t, i)), n = i;
+ i || (i = RS(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, iC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, aC = (e) => {
+}, $S = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, eC = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24282,19 +24282,19 @@ var Bte = /* @__PURE__ */ j(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, oC = "!", sC = ":", cC = [], lC = (e, t, n, r, i) => ({
+}, tC = "!", nC = ":", rC = [], iC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), uC = (e) => {
+}), aC = (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 === sC) {
+ if (o === nC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24306,13 +24306,13 @@ var Bte = /* @__PURE__ */ j(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(oC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(oC) && (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 lC(t, l, c, u);
+ return iC(t, l, c, u);
};
if (t) {
- let e = t + sC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : lC(cC, !1, t, void 0, !0);
+ let e = t + nC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : iC(rC, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24322,7 +24322,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
});
}
return r;
-}, dC = (e) => {
+}, oC = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24334,18 +24334,18 @@ var Bte = /* @__PURE__ */ j(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, fC = (e) => ({
- cache: aC(e.cacheSize),
- parseClassName: uC(e),
- sortModifiers: dC(e),
- postfixLookupClassGroupIds: pC(e),
- ...qS(e)
-}), pC = (e) => {
+}, sC = (e) => ({
+ cache: eC(e.cacheSize),
+ parseClassName: aC(e),
+ sortModifiers: oC(e),
+ postfixLookupClassGroupIds: cC(e),
+ ...HS(e)
+}), cC = (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;
-}, mC = /\s+/, hC = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mC), l = "";
+}, lC = /\s+/, uC = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(lC), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -24369,7 +24369,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + oC : _, 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 +24380,34 @@ var Bte = /* @__PURE__ */ j(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, gC = (...e) => {
+}, dC = (...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 = fC(n)) && (i && (i += " "), i += r);
return i;
-}, _C = (e) => {
+}, fC = (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 = fC(e[r])) && (n && (n += " "), n += t);
return n;
-}, vC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = fC(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, pC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = sC(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = hC(e, n);
+ let a = uC(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(gC(...e));
-}, yC = [], bC = (e) => {
- let t = (t) => t[e] || yC;
+ return a = o, (...e) => a(dC(...e));
+}, mC = [], hC = (e) => {
+ let t = (t) => t[e] || mC;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, xC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, SC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, CC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, wC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, TC = /\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$/, EC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, DC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, OC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, kC = (e) => CC.test(e), AC = (e) => !!e && !Number.isNaN(Number(e)), jC = (e) => !!e && Number.isInteger(Number(e)), MC = (e) => e.endsWith("%") && AC(e.slice(0, -1)), NC = (e) => wC.test(e), PC = () => !0, FC = (e) => TC.test(e) && !EC.test(e), IC = () => !1, LC = (e) => DC.test(e), RC = (e) => OC.test(e), zC = (e) => !U(e) && !W(e), BC = (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)), VC = (e) => nw(e, ow, IC), U = (e) => xC.test(e), HC = (e) => nw(e, sw, FC), UC = (e) => nw(e, cw, AC), WC = (e) => nw(e, uw, PC), GC = (e) => nw(e, lw, IC), KC = (e) => nw(e, iw, IC), qC = (e) => nw(e, aw, RC), JC = (e) => nw(e, dw, LC), W = (e) => SC.test(e), YC = (e) => rw(e, sw), XC = (e) => rw(e, lw), ZC = (e) => rw(e, iw), QC = (e) => rw(e, ow), $C = (e) => rw(e, aw), ew = (e) => rw(e, dw, !0), tw = (e) => rw(e, uw, !0), nw = (e, t, n) => {
- let r = xC.exec(e);
+}, gC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, _C = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, yC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bC = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, xC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, SC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, CC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wC = (e) => vC.test(e), TC = (e) => !!e && !Number.isNaN(Number(e)), EC = (e) => !!e && Number.isInteger(Number(e)), DC = (e) => e.endsWith("%") && TC(e.slice(0, -1)), OC = (e) => yC.test(e), kC = () => !0, AC = (e) => bC.test(e) && !xC.test(e), jC = () => !1, MC = (e) => SC.test(e), NC = (e) => CC.test(e), PC = (e) => !U(e) && !W(e), FC = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), IC = (e) => ZC(e, tw, jC), U = (e) => gC.test(e), LC = (e) => ZC(e, nw, AC), RC = (e) => ZC(e, rw, TC), zC = (e) => ZC(e, aw, kC), BC = (e) => ZC(e, iw, jC), VC = (e) => ZC(e, $C, jC), HC = (e) => ZC(e, ew, NC), UC = (e) => ZC(e, ow, MC), W = (e) => _C.test(e), WC = (e) => QC(e, nw), GC = (e) => QC(e, iw), KC = (e) => QC(e, $C), qC = (e) => QC(e, tw), JC = (e) => QC(e, ew), YC = (e) => QC(e, ow, !0), XC = (e) => QC(e, aw, !0), ZC = (e, t, n) => {
+ let r = gC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, rw = (e, t, n = !1) => {
- let r = SC.exec(e);
+}, QC = (e, t, n = !1) => {
+ let r = _C.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, iw = (e) => e === "position" || e === "percentage", aw = (e) => e === "image" || e === "url", ow = (e) => e === "length" || e === "size" || e === "bg-size", sw = (e) => e === "length", cw = (e) => e === "number", lw = (e) => e === "family-name", uw = (e) => e === "number" || e === "weight", dw = (e) => e === "shadow", fw = () => {
- let e = bC("color"), t = bC("font"), n = bC("text"), r = bC("font-weight"), i = bC("tracking"), a = bC("leading"), o = bC("breakpoint"), s = bC("container"), c = bC("spacing"), l = bC("radius"), u = bC("shadow"), d = bC("inset-shadow"), f = bC("text-shadow"), p = bC("drop-shadow"), m = bC("blur"), h = bC("perspective"), g = bC("aspect"), _ = bC("ease"), v = bC("animate"), y = () => [
+}, $C = (e) => e === "position" || e === "percentage", ew = (e) => e === "image" || e === "url", tw = (e) => e === "length" || e === "size" || e === "bg-size", nw = (e) => e === "length", rw = (e) => e === "number", iw = (e) => e === "family-name", aw = (e) => e === "number" || e === "weight", ow = (e) => e === "shadow", sw = () => {
+ let e = hC("color"), t = hC("font"), n = hC("text"), r = hC("font-weight"), i = hC("tracking"), a = hC("leading"), o = hC("breakpoint"), s = hC("container"), c = hC("spacing"), l = hC("radius"), u = hC("shadow"), d = hC("inset-shadow"), f = hC("text-shadow"), p = hC("drop-shadow"), m = hC("blur"), h = hC("perspective"), g = hC("aspect"), _ = hC("ease"), v = hC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24449,12 +24449,12 @@ var Bte = /* @__PURE__ */ j(((e) => {
U,
c
], T = () => [
- kC,
+ wC,
"full",
"auto",
...w()
], E = () => [
- jC,
+ EC,
"none",
"subgrid",
W,
@@ -24463,15 +24463,15 @@ var Bte = /* @__PURE__ */ j(((e) => {
"auto",
{ span: [
"full",
- jC,
+ EC,
W,
U
] },
- jC,
+ EC,
W,
U
], O = () => [
- jC,
+ EC,
"auto",
W,
U
@@ -24501,7 +24501,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- kC,
+ wC,
"auto",
"full",
"dvw",
@@ -24514,9 +24514,9 @@ var Bte = /* @__PURE__ */ j(((e) => {
"max",
"fit",
...w()
- ], ee = () => [
+ ], P = () => [
s,
- kC,
+ wC,
"screen",
"full",
"dvw",
@@ -24526,8 +24526,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
"max",
"fit",
...w()
- ], te = () => [
- kC,
+ ], ee = () => [
+ wC,
"screen",
"full",
"lh",
@@ -24538,14 +24538,14 @@ var Bte = /* @__PURE__ */ j(((e) => {
"max",
"fit",
...w()
- ], P = () => [
+ ], F = () => [
e,
W,
U
- ], F = () => [
+ ], te = () => [
...b(),
- ZC,
KC,
+ VC,
{ position: [W, U] }
], ne = () => ["no-repeat", { repeat: [
"",
@@ -24557,13 +24557,13 @@ var Bte = /* @__PURE__ */ j(((e) => {
"auto",
"cover",
"contain",
- QC,
- VC,
+ qC,
+ IC,
{ size: [W, U] }
], I = () => [
- MC,
- YC,
- HC
+ DC,
+ WC,
+ LC
], L = () => [
"",
"none",
@@ -24573,9 +24573,9 @@ var Bte = /* @__PURE__ */ j(((e) => {
U
], ie = () => [
"",
- AC,
- YC,
- HC
+ TC,
+ WC,
+ LC
], ae = () => [
"solid",
"dashed",
@@ -24599,10 +24599,10 @@ var Bte = /* @__PURE__ */ j(((e) => {
"color",
"luminosity"
], se = () => [
- AC,
- MC,
- ZC,
- KC
+ TC,
+ DC,
+ KC,
+ VC
], ce = () => [
"",
"none",
@@ -24611,20 +24611,20 @@ var Bte = /* @__PURE__ */ j(((e) => {
U
], le = () => [
"none",
- AC,
+ TC,
W,
U
], ue = () => [
"none",
- AC,
+ TC,
W,
U
], R = () => [
- AC,
+ TC,
W,
U
], z = () => [
- kC,
+ wC,
"full",
...w()
];
@@ -24638,17 +24638,17 @@ var Bte = /* @__PURE__ */ j(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [NC],
- breakpoint: [NC],
- color: [PC],
- container: [NC],
- "drop-shadow": [NC],
+ blur: [OC],
+ breakpoint: [OC],
+ color: [kC],
+ container: [OC],
+ "drop-shadow": [OC],
ease: [
"in",
"out",
"in-out"
],
- font: [zC],
+ font: [PC],
"font-weight": [
"thin",
"extralight",
@@ -24660,7 +24660,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [NC],
+ "inset-shadow": [OC],
leading: [
"none",
"tight",
@@ -24677,11 +24677,11 @@ var Bte = /* @__PURE__ */ j(((e) => {
"distant",
"none"
],
- radius: [NC],
- shadow: [NC],
- spacing: ["px", AC],
- text: [NC],
- "text-shadow": [NC],
+ radius: [OC],
+ shadow: [OC],
+ spacing: ["px", TC],
+ text: [OC],
+ "text-shadow": [OC],
tracking: [
"tighter",
"tight",
@@ -24695,7 +24695,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- kC,
+ wC,
U,
W,
g
@@ -24708,9 +24708,9 @@ var Bte = /* @__PURE__ */ j(((e) => {
W,
U
] }],
- "container-named": [BC],
+ "container-named": [FC],
columns: [{ columns: [
- AC,
+ TC,
"auto",
U,
W,
@@ -24810,13 +24810,13 @@ var Bte = /* @__PURE__ */ j(((e) => {
"collapse"
],
z: [{ z: [
- jC,
+ EC,
"auto",
W,
U
] }],
basis: [{ basis: [
- kC,
+ wC,
"full",
"auto",
s,
@@ -24834,8 +24834,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- AC,
- kC,
+ TC,
+ wC,
"auto",
"initial",
"none",
@@ -24843,18 +24843,18 @@ var Bte = /* @__PURE__ */ j(((e) => {
] }],
grow: [{ grow: [
"",
- AC,
+ TC,
W,
U
] }],
shrink: [{ shrink: [
"",
- AC,
+ TC,
W,
U
] }],
order: [{ order: [
- jC,
+ EC,
"first",
"last",
"none",
@@ -24921,12 +24921,12 @@ var Bte = /* @__PURE__ */ j(((e) => {
"space-y": [{ "space-y": w() }],
"space-y-reverse": ["space-y-reverse"],
size: [{ size: N() }],
- "inline-size": [{ inline: ["auto", ...ee()] }],
- "min-inline-size": [{ "min-inline": ["auto", ...ee()] }],
- "max-inline-size": [{ "max-inline": ["none", ...ee()] }],
- "block-size": [{ block: ["auto", ...te()] }],
- "min-block-size": [{ "min-block": ["auto", ...te()] }],
- "max-block-size": [{ "max-block": ["none", ...te()] }],
+ "inline-size": [{ inline: ["auto", ...P()] }],
+ "min-inline-size": [{ "min-inline": ["auto", ...P()] }],
+ "max-inline-size": [{ "max-inline": ["none", ...P()] }],
+ "block-size": [{ block: ["auto", ...ee()] }],
+ "min-block-size": [{ "min-block": ["auto", ...ee()] }],
+ "max-block-size": [{ "max-block": ["none", ...ee()] }],
w: [{ w: [
s,
"screen",
@@ -24966,15 +24966,15 @@ var Bte = /* @__PURE__ */ j(((e) => {
"font-size": [{ text: [
"base",
n,
- YC,
- HC
+ WC,
+ LC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- tw,
- WC
+ XC,
+ zC
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24986,12 +24986,12 @@ var Bte = /* @__PURE__ */ j(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- MC,
+ DC,
U
] }],
"font-family": [{ font: [
- XC,
GC,
+ BC,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -25007,10 +25007,10 @@ var Bte = /* @__PURE__ */ j(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- AC,
+ TC,
"none",
W,
- UC
+ RC
] }],
leading: [{ leading: [
"none",
@@ -25038,8 +25038,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
"start",
"end"
] }],
- "placeholder-color": [{ placeholder: P() }],
- "text-color": [{ text: P() }],
+ "placeholder-color": [{ placeholder: F() }],
+ "text-color": [{ text: F() }],
"text-decoration": [
"underline",
"overline",
@@ -25048,15 +25048,15 @@ var Bte = /* @__PURE__ */ j(((e) => {
],
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- AC,
+ TC,
"from-font",
"auto",
W,
- HC
+ LC
] }],
- "text-decoration-color": [{ decoration: P() }],
+ "text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- AC,
+ TC,
"auto",
W,
U
@@ -25080,7 +25080,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- jC,
+ EC,
W,
U
] }],
@@ -25141,7 +25141,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
"padding",
"content"
] }],
- "bg-position": [{ bg: F() }],
+ "bg-position": [{ bg: te() }],
"bg-repeat": [{ bg: ne() }],
"bg-size": [{ bg: re() }],
"bg-image": [{ bg: [
@@ -25158,7 +25158,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
"l",
"tl"
] },
- jC,
+ EC,
W,
U
],
@@ -25169,21 +25169,21 @@ var Bte = /* @__PURE__ */ j(((e) => {
],
conic: [
"",
- jC,
+ EC,
W,
U
]
},
- $C,
- qC
+ JC,
+ HC
] }],
- "bg-color": [{ bg: P() }],
+ "bg-color": [{ bg: F() }],
"gradient-from-pos": [{ from: I() }],
"gradient-via-pos": [{ via: I() }],
"gradient-to-pos": [{ to: I() }],
- "gradient-from": [{ from: P() }],
- "gradient-via": [{ via: P() }],
- "gradient-to": [{ to: P() }],
+ "gradient-from": [{ from: F() }],
+ "gradient-via": [{ via: F() }],
+ "gradient-to": [{ to: F() }],
rounded: [{ rounded: L() }],
"rounded-s": [{ "rounded-s": L() }],
"rounded-e": [{ "rounded-e": L() }],
@@ -25224,67 +25224,67 @@ var Bte = /* @__PURE__ */ j(((e) => {
"hidden",
"none"
] }],
- "border-color": [{ border: P() }],
- "border-color-x": [{ "border-x": P() }],
- "border-color-y": [{ "border-y": P() }],
- "border-color-s": [{ "border-s": P() }],
- "border-color-e": [{ "border-e": P() }],
- "border-color-bs": [{ "border-bs": P() }],
- "border-color-be": [{ "border-be": P() }],
- "border-color-t": [{ "border-t": P() }],
- "border-color-r": [{ "border-r": P() }],
- "border-color-b": [{ "border-b": P() }],
- "border-color-l": [{ "border-l": P() }],
- "divide-color": [{ divide: P() }],
+ "border-color": [{ border: F() }],
+ "border-color-x": [{ "border-x": F() }],
+ "border-color-y": [{ "border-y": F() }],
+ "border-color-s": [{ "border-s": F() }],
+ "border-color-e": [{ "border-e": F() }],
+ "border-color-bs": [{ "border-bs": F() }],
+ "border-color-be": [{ "border-be": F() }],
+ "border-color-t": [{ "border-t": F() }],
+ "border-color-r": [{ "border-r": F() }],
+ "border-color-b": [{ "border-b": F() }],
+ "border-color-l": [{ "border-l": F() }],
+ "divide-color": [{ divide: F() }],
"outline-style": [{ outline: [
...ae(),
"none",
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- AC,
+ TC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- AC,
- YC,
- HC
+ TC,
+ WC,
+ LC
] }],
- "outline-color": [{ outline: P() }],
+ "outline-color": [{ outline: F() }],
shadow: [{ shadow: [
"",
"inner",
"none",
u,
- ew,
- JC
+ YC,
+ UC
] }],
- "shadow-color": [{ shadow: P() }],
+ "shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- ew,
- JC
+ YC,
+ UC
] }],
- "inset-shadow-color": [{ "inset-shadow": P() }],
+ "inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: ie() }],
"ring-w-inset": ["ring-inset"],
- "ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [AC, HC] }],
- "ring-offset-color": [{ "ring-offset": P() }],
+ "ring-color": [{ ring: F() }],
+ "ring-offset-w": [{ "ring-offset": [TC, LC] }],
+ "ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": ie() }],
- "inset-ring-color": [{ "inset-ring": P() }],
+ "inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- ew,
- JC
+ YC,
+ UC
] }],
- "text-shadow-color": [{ "text-shadow": P() }],
+ "text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- AC,
+ TC,
W,
U
] }],
@@ -25308,51 +25308,51 @@ var Bte = /* @__PURE__ */ j(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [AC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [TC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],
- "mask-image-linear-from-color": [{ "mask-linear-from": P() }],
- "mask-image-linear-to-color": [{ "mask-linear-to": P() }],
+ "mask-image-linear-from-color": [{ "mask-linear-from": F() }],
+ "mask-image-linear-to-color": [{ "mask-linear-to": F() }],
"mask-image-t-from-pos": [{ "mask-t-from": se() }],
"mask-image-t-to-pos": [{ "mask-t-to": se() }],
- "mask-image-t-from-color": [{ "mask-t-from": P() }],
- "mask-image-t-to-color": [{ "mask-t-to": P() }],
+ "mask-image-t-from-color": [{ "mask-t-from": F() }],
+ "mask-image-t-to-color": [{ "mask-t-to": F() }],
"mask-image-r-from-pos": [{ "mask-r-from": se() }],
"mask-image-r-to-pos": [{ "mask-r-to": se() }],
- "mask-image-r-from-color": [{ "mask-r-from": P() }],
- "mask-image-r-to-color": [{ "mask-r-to": P() }],
+ "mask-image-r-from-color": [{ "mask-r-from": F() }],
+ "mask-image-r-to-color": [{ "mask-r-to": F() }],
"mask-image-b-from-pos": [{ "mask-b-from": se() }],
"mask-image-b-to-pos": [{ "mask-b-to": se() }],
- "mask-image-b-from-color": [{ "mask-b-from": P() }],
- "mask-image-b-to-color": [{ "mask-b-to": P() }],
+ "mask-image-b-from-color": [{ "mask-b-from": F() }],
+ "mask-image-b-to-color": [{ "mask-b-to": F() }],
"mask-image-l-from-pos": [{ "mask-l-from": se() }],
"mask-image-l-to-pos": [{ "mask-l-to": se() }],
- "mask-image-l-from-color": [{ "mask-l-from": P() }],
- "mask-image-l-to-color": [{ "mask-l-to": P() }],
+ "mask-image-l-from-color": [{ "mask-l-from": F() }],
+ "mask-image-l-to-color": [{ "mask-l-to": F() }],
"mask-image-x-from-pos": [{ "mask-x-from": se() }],
"mask-image-x-to-pos": [{ "mask-x-to": se() }],
- "mask-image-x-from-color": [{ "mask-x-from": P() }],
- "mask-image-x-to-color": [{ "mask-x-to": P() }],
+ "mask-image-x-from-color": [{ "mask-x-from": F() }],
+ "mask-image-x-to-color": [{ "mask-x-to": F() }],
"mask-image-y-from-pos": [{ "mask-y-from": se() }],
"mask-image-y-to-pos": [{ "mask-y-to": se() }],
- "mask-image-y-from-color": [{ "mask-y-from": P() }],
- "mask-image-y-to-color": [{ "mask-y-to": P() }],
+ "mask-image-y-from-color": [{ "mask-y-from": F() }],
+ "mask-image-y-to-color": [{ "mask-y-to": F() }],
"mask-image-radial": [{ "mask-radial": [W, U] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": se() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": se() }],
- "mask-image-radial-from-color": [{ "mask-radial-from": P() }],
- "mask-image-radial-to-color": [{ "mask-radial-to": P() }],
+ "mask-image-radial-from-color": [{ "mask-radial-from": F() }],
+ "mask-image-radial-to-color": [{ "mask-radial-to": F() }],
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
"mask-image-radial-size": [{ "mask-radial": [{
closest: ["side", "corner"],
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [AC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [TC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],
- "mask-image-conic-from-color": [{ "mask-conic-from": P() }],
- "mask-image-conic-to-color": [{ "mask-conic-to": P() }],
+ "mask-image-conic-from-color": [{ "mask-conic-from": F() }],
+ "mask-image-conic-to-color": [{ "mask-conic-to": F() }],
"mask-mode": [{ mask: [
"alpha",
"luminance",
@@ -25366,7 +25366,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
"stroke",
"view"
] }],
- "mask-position": [{ mask: F() }],
+ "mask-position": [{ mask: te() }],
"mask-repeat": [{ mask: ne() }],
"mask-size": [{ mask: re() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
@@ -25383,12 +25383,12 @@ var Bte = /* @__PURE__ */ j(((e) => {
] }],
blur: [{ blur: ce() }],
brightness: [{ brightness: [
- AC,
+ TC,
W,
U
] }],
contrast: [{ contrast: [
- AC,
+ TC,
W,
U
] }],
@@ -25396,35 +25396,35 @@ var Bte = /* @__PURE__ */ j(((e) => {
"",
"none",
p,
- ew,
- JC
+ YC,
+ UC
] }],
- "drop-shadow-color": [{ "drop-shadow": P() }],
+ "drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- AC,
+ TC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- AC,
+ TC,
W,
U
] }],
invert: [{ invert: [
"",
- AC,
+ TC,
W,
U
] }],
saturate: [{ saturate: [
- AC,
+ TC,
W,
U
] }],
sepia: [{ sepia: [
"",
- AC,
+ TC,
W,
U
] }],
@@ -25436,45 +25436,45 @@ var Bte = /* @__PURE__ */ j(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ce() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- AC,
+ TC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- AC,
+ TC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- AC,
+ TC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- AC,
+ TC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- AC,
+ TC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- AC,
+ TC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- AC,
+ TC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- AC,
+ TC,
W,
U
] }],
@@ -25497,7 +25497,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- AC,
+ TC,
"initial",
W,
U
@@ -25510,7 +25510,7 @@ var Bte = /* @__PURE__ */ j(((e) => {
U
] }],
delay: [{ delay: [
- AC,
+ TC,
W,
U
] }],
@@ -25555,13 +25555,13 @@ var Bte = /* @__PURE__ */ j(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- jC,
+ EC,
W,
U
] }],
- accent: [{ accent: P() }],
+ accent: [{ accent: F() }],
appearance: [{ appearance: ["none", "auto"] }],
- "caret-color": [{ caret: P() }],
+ "caret-color": [{ caret: F() }],
"color-scheme": [{ scheme: [
"normal",
"dark",
@@ -25619,8 +25619,8 @@ var Bte = /* @__PURE__ */ j(((e) => {
"x"
] }],
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
- "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
- "scrollbar-track-color": [{ "scrollbar-track": P() }],
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],
+ "scrollbar-track-color": [{ "scrollbar-track": F() }],
"scrollbar-gutter": [{ "scrollbar-gutter": [
"auto",
"stable",
@@ -25697,14 +25697,14 @@ var Bte = /* @__PURE__ */ j(((e) => {
W,
U
] }],
- fill: [{ fill: ["none", ...P()] }],
+ fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- AC,
- YC,
- HC,
- UC
+ TC,
+ WC,
+ LC,
+ RC
] }],
- stroke: [{ stroke: ["none", ...P()] }],
+ stroke: [{ stroke: ["none", ...F()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
},
conflictingClassGroups: {
@@ -25960,16 +25960,16 @@ var Bte = /* @__PURE__ */ j(((e) => {
"selection"
]
};
-}, pw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (mw(e, "cacheSize", t), mw(e, "prefix", n), mw(e, "experimentalParseClassName", r), hw(e.theme, a.theme), hw(e.classGroups, a.classGroups), hw(e.conflictingClassGroups, a.conflictingClassGroups), hw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), mw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), mw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), gw(e.theme, i.theme), gw(e.classGroups, i.classGroups), gw(e.conflictingClassGroups, i.conflictingClassGroups), gw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), _w(e, i, "postfixLookupClassGroups"), _w(e, i, "orderSensitiveModifiers"), e), mw = (e, t, n) => {
+}, cw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (lw(e, "cacheSize", t), lw(e, "prefix", n), lw(e, "experimentalParseClassName", r), uw(e.theme, a.theme), uw(e.classGroups, a.classGroups), uw(e.conflictingClassGroups, a.conflictingClassGroups), uw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), lw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), lw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), dw(e.theme, i.theme), dw(e.classGroups, i.classGroups), dw(e.conflictingClassGroups, i.conflictingClassGroups), dw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), fw(e, i, "postfixLookupClassGroups"), fw(e, i, "orderSensitiveModifiers"), e), lw = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, hw = (e, t) => {
- if (t) for (let n in t) mw(e, n, t[n]);
-}, gw = (e, t) => {
- if (t) for (let n in t) _w(e, t, n);
-}, _w = (e, t, n) => {
+}, uw = (e, t) => {
+ if (t) for (let n in t) lw(e, n, t[n]);
+}, dw = (e, t) => {
+ if (t) for (let n in t) fw(e, t, n);
+}, fw = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, vw = (e, ...t) => typeof e == "function" ? vC(fw, e, ...t) : vC(() => pw(fw(), e), ...t), yw = [
+}, pw = (e, ...t) => typeof e == "function" ? pC(sw, e, ...t) : pC(() => cw(sw(), e), ...t), mw = [
"large-title",
"display-1",
"display-2",
@@ -25983,18 +25983,18 @@ var Bte = /* @__PURE__ */ j(((e) => {
"body-2",
"caption-1",
"caption-2"
-], bw = [
+], hw = [
"regular",
"medium",
"semibold",
"bold"
-], xw = vw({ extend: { classGroups: { "font-size": [{ text: yw.flatMap((e) => bw.map((t) => `${e}-${t}`)) }] } } });
-function Sw(e) {
+], gw = pw({ extend: { classGroups: { "font-size": [{ text: mw.flatMap((e) => hw.map((t) => `${e}-${t}`)) }] } } });
+function _w(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var Cw = Sw({
+var vw = _w({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -26013,16 +26013,16 @@ var Cw = Sw({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function ww({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function yw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
ref: r,
- className: xw(Cw.base, Cw.variant[e], Cw.color[t], n),
+ className: gw(vw.base, vw.variant[e], vw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var Tw = Sw({
+var bw = _w({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -26081,40 +26081,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, L.jsxs)("button", {
ref: c,
type: s,
- className: xw(Tw.base, Tw.size[t], Tw.variant[e], n && Tw.iconOnlySize[t], o),
+ className: gw(bw.base, bw.size[t], bw.variant[e], n && bw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: Tw.icon[t],
+ className: bw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: Tw.label[t],
+ className: bw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: Tw.icon[t],
+ className: bw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function Ew({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function xw({ 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: xw(Tw.base, Tw.size[t], Tw.variant[e], n && Tw.iconOnlySize[t], o),
+ className: gw(bw.base, bw.size[t], bw.variant[e], n && bw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: Tw.icon[t],
+ className: bw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: Tw.label[t],
+ className: bw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: Tw.icon[t],
+ className: bw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -26122,13 +26122,13 @@ function Ew({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var Dw = class extends Error {
+var Sw = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(d(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, Ow = (e) => {
+}, Cw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -26141,7 +26141,7 @@ var Dw = class extends Error {
}
return "";
}, K = (e) => d(e);
-async function kw(e, t) {
+async function ww(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -26150,7 +26150,7 @@ async function kw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new Dw(Ow(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new Sw(Cw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -26167,52 +26167,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new Dw(Ow(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new Sw(Cw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Aw = "min-w-0", jw = {
+var Tw = "min-w-0", Ew = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Mw = {
+}, Dw = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Nw = {
+}, Ow = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Pw = {
+}, kw = {
none: "",
default: "p-5"
-}, Fw = "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", Iw = "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 Lw(e = {}) {
+}, Aw = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", jw = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function Mw(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- Aw,
- jw[t],
- Mw[s],
- Pw[n],
- a ? Nw[a] : "",
- r ? Fw : "",
- i ? Iw : "",
+ Tw,
+ Ew[t],
+ Dw[s],
+ kw[n],
+ a ? Ow[a] : "",
+ r ? Aw : "",
+ i ? jw : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Rw = {
+var Nw = {
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 zw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Pw({ 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 ${Rw[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Nw[i]}`,
children: [
a ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -26242,7 +26242,7 @@ function zw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function Bw({ label: e, inline: t = !1 }) {
+function Fw({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26308,7 +26308,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Vw({ children: e }) {
+function Iw({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26316,21 +26316,21 @@ function Vw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var Hw = 100, Uw = .4;
-function Ww({ 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 * Hw;
+var Lw = 100, Rw = .4;
+function zw({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * Lw;
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${Hw} 1`,
+ viewBox: `0 0 ${Lw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, L.jsx)("rect", {
- width: Hw,
+ width: Lw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26341,7 +26341,7 @@ function Ww({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, L.jsx)("rect", {
x: a(e),
- width: Uw,
+ width: Rw,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26350,7 +26350,7 @@ function Ww({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Gw(e = "") {
+function Bw(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 +26388,11 @@ var X = new ht({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Kw = "/api/tasks", qw = ["tasks"], Jw = (e, t) => kw(`${Kw}?${new URLSearchParams({
+} } }), Vw = "/api/tasks", Hw = ["tasks"], Uw = (e, t) => ww(`${Vw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Yw(...e) {
+function Ww(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -26400,26 +26400,26 @@ function Yw(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Xw = 2e3, Zw = 1e4, Qw = (e) => e?.running.length ? Xw : Zw, $w = (e) => kw(Kw, e);
-async function eT(e) {
+var Gw = 2e3, Kw = 1e4, qw = (e) => e?.running.length ? Gw : Kw, Jw = (e) => ww(Vw, e);
+async function Yw(e) {
await X.fetchQuery({
- queryKey: qw,
- queryFn: () => $w(e)
+ queryKey: Hw,
+ queryFn: () => Jw(e)
});
}
-var tT = {
+var Xw = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, nT = {
+}, Zw = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, rT = (e) => nT[e] || e, iT = {
+}, Qw = (e) => Zw[e] || e, $w = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26449,7 +26449,7 @@ var tT = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function aT(e) {
+function eT(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26458,7 +26458,7 @@ function aT(e) {
}
return t;
}
-function oT(e, t) {
+function tT(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26480,19 +26480,19 @@ function oT(e, t) {
}
return n;
}
-var sT = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), cT = (e) => e.status === "pending" || e.status === "running";
-function lT(e) {
+var nT = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), rT = (e) => e.status === "pending" || e.status === "running";
+function iT(e) {
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 || pT(e.result_summary) || (cT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || cT(e.result_summary) || (rT(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function uT(e) {
+function aT(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 dT(e) {
+function oT(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26502,7 +26502,7 @@ function dT(e) {
minute: "2-digit"
});
}
-var fT = /* @__PURE__ */ new Set([
+var sT = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26511,28 +26511,28 @@ var fT = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function pT(e) {
- return Object.entries(e || {}).filter(([e, t]) => !fT.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${iT[e] || e} ${t}`).join(" · ");
+function cT(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !sT.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${$w[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var mT = {
+var lT = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function hT({ status: e }) {
- return /* @__PURE__ */ (0, L.jsx)(ww, {
- color: mT[e] ?? "neutral",
- children: rT(e)
+function uT({ status: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(yw, {
+ color: lT[e] ?? "neutral",
+ children: Qw(e)
});
}
-function gT({ rows: e }) {
+function nne({ rows: e }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = lT(e);
+ let t = iT(e);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26542,7 +26542,7 @@ function gT({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, L.jsx)(hT, { status: e.status }),
+ /* @__PURE__ */ (0, L.jsx)(uT, { 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 +26552,12 @@ function gT({ rows: e }) {
})
});
}
-function _T({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function dT({ 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: Lw({
+ className: Mw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26571,7 +26571,7 @@ function _T({ 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)(hT, { status: e.status })]
+ }), /* @__PURE__ */ (0, L.jsx)(uT, { status: e.status })]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26580,7 +26580,7 @@ function _T({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, L.jsx)(gT, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, L.jsx)(nne, { rows: i }) : null,
r ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, L.jsx)("p", {
@@ -26591,15 +26591,15 @@ function _T({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function vT({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = uT(e.elapsed_seconds), o = [tT[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(_T, {
+function rne({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = aT(e.elapsed_seconds), o = [Xw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, L.jsx)(dT, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(Ww, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zw, {
label: i,
value: r,
max: n
@@ -26614,20 +26614,20 @@ function vT({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Bw, { label: i })
+ }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: i })
});
}
-function yT({ run: e, followups: t, runs: n }) {
- let r = pT(e.result_summary), i = uT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- tT[e.trigger] || e.trigger,
+function fT({ run: e, followups: t, runs: n }) {
+ let r = cT(e.result_summary), i = aT(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Xw[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${dT(a.finished_at)} – ${dT(e.finished_at)}`
+ `${oT(a.finished_at)} – ${oT(e.finished_at)}`
] : [
- tT[e.trigger] || e.trigger,
- dT(e.finished_at),
+ Xw[e.trigger] || e.trigger,
+ oT(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(_T, {
+ return /* @__PURE__ */ (0, L.jsx)(dT, {
run: e,
meta: o,
footer: e.error,
@@ -26638,7 +26638,7 @@ function yT({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function bT({ title: e, children: t }) {
+function pT({ title: e, children: t }) {
let n = (0, I.useId)();
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-labelledby": n,
@@ -26650,41 +26650,41 @@ function bT({ title: e, children: t }) {
}), t]
});
}
-function xT({ live: e = !1, children: t }) {
+function mT({ 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 ST(e) {
+function ine(e) {
let t = Ot({
- queryKey: qw,
- queryFn: ({ signal: e }) => $w(e),
- refetchInterval: (e) => Qw(e.state.data)
+ queryKey: Hw,
+ queryFn: ({ signal: e }) => Jw(e),
+ refetchInterval: (e) => qw(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(Yw(i, c)));
+ r !== c && (l(r), i.length && c && a(Ww(i, c)));
let u = kt({
- mutationFn: ({ oldest: e }) => Jw(e),
+ mutationFn: ({ oldest: e }) => Uw(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Yw(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Ww(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Yw(n.finished || [], i), p = [
+ let f = Ww(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = aT(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 = eT(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(cT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = oT(w, (e) => sT(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, L.jsxs)(Vw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(rT)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = tT(w, (e) => nT(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
d ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d
@@ -26693,20 +26693,20 @@ function ST(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, L.jsx)(zw, {
+ E ? /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: wS,
+ icon: xS,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(bT, {
+ /* @__PURE__ */ (0, L.jsx)(pT, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(xT, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(mT, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(vT, {
+ children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(rne, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(yT, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(fT, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -26715,17 +26715,17 @@ function ST(e) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, L.jsx)(bT, {
+ C.length ? /* @__PURE__ */ (0, L.jsx)(pT, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, L.jsx)(xT, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(yT, {
+ children: /* @__PURE__ */ (0, L.jsx)(mT, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(fT, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, L.jsxs)(bT, {
+ w.length || y ? /* @__PURE__ */ (0, L.jsxs)(pT, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, L.jsx)(xT, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(yT, {
+ w.length ? /* @__PURE__ */ (0, L.jsx)(mT, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(fT, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -26737,7 +26737,7 @@ function ST(e) {
y ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: fS,
+ leadingIcon: lS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -26750,56 +26750,56 @@ function ST(e) {
}
//#endregion
//#region src/jav-artwork.ts
-function Zte(e) {
+function ane(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function CT(e, t) {
- return e.is_jav && e.code && e.has_cover && (Zte(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function hT(e, t) {
+ return e.is_jav && e.code && e.has_cover && (ane(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-function wT(e, t) {
+function gT(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Qte = (e, t) => [
+var one = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], $te = (e, t) => [
+], sne = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function ene(e, t, n, r, i) {
+async function cne(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 kw(`/api/items?${a}`, i), s = {
+ let o = await ww(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await kw("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await ww("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var tne = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, nne = (e, t) => {
+var lne = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, une = (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 TT(e) {
- let t = wT(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function _T(e) {
+ let t = gT(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Qte(t, e.revision || 0),
+ queryKey: one(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await ene(t, i, n, r, a);
+ let o = await cne(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: tne(n)
+ getNextPageParam: lne(n)
};
}
-function ET(e) {
+function vT(e) {
return {
- queryKey: $te(e.entityKey || "", e.revision || 0),
+ queryKey: sne(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -26814,13 +26814,13 @@ function ET(e) {
};
},
initialPageParam: 0,
- getNextPageParam: nne
+ getNextPageParam: une
};
}
-async function rne(e, t) {
+async function dne(e, t) {
if (e.mode === "items") return;
if (e.mode === "entity") {
- let n = ET(e);
+ let n = vT(e);
if (e.initial) {
X.setQueryData(n.queryKey, {
pages: [{
@@ -26841,7 +26841,7 @@ async function rne(e, t) {
});
return;
}
- let n = TT(e);
+ let n = _T(e);
await X.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -26850,7 +26850,7 @@ async function rne(e, t) {
})
});
}
-function ine(e, t, n) {
+function fne(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -26865,28 +26865,28 @@ function ine(e, t, n) {
return !0;
}) : [...e];
}
-var DT = (e, t) => !!e && !!CT(e, t);
-function ane(e, t) {
+var yT = (e, t) => !!e && !!hT(e, t);
+function pne(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 one(e, t) {
- let n = (e) => DT(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) => DT(e, t)) || e[e.length - 1];
+function mne(e, t) {
+ let n = (e) => yT(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => yT(e, t)) || e[e.length - 1];
}
-function sne(e, { collapse: t, mix: n, javImage: r }) {
+function hne(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 = ine(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = fne(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 = one(e, r);
+ let t = mne(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -26899,16 +26899,16 @@ function sne(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function cne(e, t, n) {
+function gne(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 lne(e, t) {
+function _ne(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 une(e, t) {
+function vne(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -26923,7 +26923,7 @@ function une(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function OT(e, t) {
+function bT(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 && g(a.current);
@@ -26949,7 +26949,7 @@ function OT(e, t) {
fading: n === "fade"
};
}
-function kT({ message: e, onRetry: t }) {
+function xT({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -26963,21 +26963,21 @@ function kT({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/catalog-grid/artwork.ts
-var AT = {
+var ST = {
kind: "",
html: ""
};
-function jT(e, t, n, i, a) {
- let o = CT(e, i);
- if (!o) return AT;
+function CT(e, t, n, i, a) {
+ let o = hT(e, i);
+ if (!o) return ST;
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 dne(e, t, n, i, a) {
- if (e.is_jav) return jT(e, t, n, i, a);
+function yne(e, t, n, i, a) {
+ if (e.is_jav) return CT(e, t, n, i, a);
let o = n ? "eager" : "lazy";
return e.follow_thumb_url ? {
kind: "thumb",
@@ -26985,29 +26985,29 @@ function dne(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}">`
- } : AT;
+ } : ST;
}
//#endregion
//#region src/react/components/media-card.tsx
-var MT = .75, fne = 9 / 16;
-function NT({ name: e }) {
+var wT = .75, bne = 9 / 16;
+function TT({ 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 pne = {
+var xne = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, mne = (e) => e.is_jav ? "女优" : "艺人";
-function hne(e, t, n) {
- return t === "short" || n.portrait ? fne : n.active && e.is_jav && n.size === "big" ? MT : 16 / 9;
+}, Sne = (e) => e.is_jav ? "女优" : "艺人";
+function Cne(e, t, n) {
+ return t === "short" || n.portrait ? bne : n.active && e.is_jav && n.size === "big" ? wT : 16 / 9;
}
-function gne(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 = mne(e);
+function wne(e, t) {
+ let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Sne(e);
return {
avatar: c ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-avatars": "",
@@ -27053,7 +27053,7 @@ function gne(e, t) {
})
};
}
-function _ne() {
+function Tne() {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -27072,7 +27072,7 @@ function _ne() {
})]
});
}
-function vne({ item: e, actions: t }) {
+function Ene({ 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": "",
@@ -27090,15 +27090,15 @@ function vne({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(NT, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function PT(e, t) {
+function ET(e, t) {
let n = e?.querySelector("video.hv");
!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function yne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function Dne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, I.useRef)(null), f = (0, I.useRef)({
item: e,
helpers: c
@@ -27110,7 +27110,7 @@ function yne({ 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), _ = dne(e, n.active && e.is_jav ? n.size : "small", !1, n.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = gne(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = yne(e, n.active && e.is_jav ? n.size : "small", !1, n.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = wne(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27144,7 +27144,7 @@ function yne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
u(e, r);
}, O = /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(hne(e, t, n)) },
+ style: { "--card-ratio": String(Cne(e, t, n)) },
children: [
_.html ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": _.kind,
@@ -27159,11 +27159,11 @@ function yne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(NT, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(NT, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
m ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-group": "",
@@ -27190,8 +27190,8 @@ function yne({ 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)(_ne, {}),
- /* @__PURE__ */ (0, L.jsx)(vne, {
+ /* @__PURE__ */ (0, L.jsx)(Tne, {}),
+ /* @__PURE__ */ (0, L.jsx)(Ene, {
item: e,
actions: l
}),
@@ -27201,27 +27201,27 @@ function yne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), PT(d.current, -s);
+ e.stopPropagation(), ET(d.current, -s);
},
title: `后退 ${s} 秒`,
"aria-label": `后退 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(NT, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), PT(d.current, s);
+ e.stopPropagation(), ET(d.current, s);
},
title: `前进 ${s} 秒`,
"aria-label": `前进 ${s} 秒`,
- children: /* @__PURE__ */ (0, L.jsx)(NT, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, L.jsx)(NT, { name: "expand" })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "expand" })
})
]
})
@@ -27297,8 +27297,8 @@ function yne({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekS
]
});
}
-function bne({ 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") ? "网址快捷方式" : pne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function One({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : xne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, v = (t) => {
if (c.current) {
@@ -27324,7 +27324,7 @@ function bne({ 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)(NT, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
+ children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: m }), /* @__PURE__ */ (0, L.jsx)("b", { children: p })]
}),
d ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -27336,11 +27336,11 @@ function bne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(NT, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: "check" })
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, L.jsx)(NT, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -27350,7 +27350,7 @@ function bne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
onClick: _,
"aria-busy": l || void 0,
"aria-disabled": l || void 0,
- children: l ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: C(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(NT, { 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: C(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, L.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(TT, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, L.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -27359,7 +27359,7 @@ function bne({ 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)(NT, { name: m })
+ children: /* @__PURE__ */ (0, L.jsx)(TT, { name: m })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", {
@@ -27388,14 +27388,14 @@ function bne({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOp
})]
});
}
-function xne(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(bne, { ...e }) : /* @__PURE__ */ (0, L.jsx)(yne, { ...e });
+function kne(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(One, { ...e }) : /* @__PURE__ */ (0, L.jsx)(Dne, { ...e });
}
-var FT = (0, I.memo)(xne), Sne = { "text-aa": 1.435 }, IT = /* @__PURE__ */ new Map();
-function LT(e) {
- let t = IT.get(e);
+var DT = (0, I.memo)(kne), Ane = { "text-aa": 1.435 }, OT = /* @__PURE__ */ new Map();
+function kT(e) {
+ let t = OT.get(e);
if (t) return t;
- let n = Sne[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
+ let n = Ane[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"}`,
@@ -27409,16 +27409,16 @@ function LT(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})`, IT.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, OT.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var Cne = 1100, wne = 340, Tne = 5e3;
-function Ene(e, t) {
+var jne = 1100, Mne = 340, Nne = 5e3;
+function Pne(e, t) {
return new Promise((n) => {
let r = new Image(), i = !1, a = (e) => {
i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
- }, o = () => a(!1), s = setTimeout(o, Tne);
+ }, o = () => a(!1), s = setTimeout(o, Nne);
t.cancels.add(o), r.onerror = o, r.onload = () => {
if (!r.naturalWidth) {
a(!1);
@@ -27428,7 +27428,7 @@ function Ene(e, t) {
}, r.src = e;
});
}
-function Dne({ load: e, canFlip: t }) {
+function Fne({ load: e, canFlip: t }) {
let [n, r] = (0, I.useState)([]), [i, a] = (0, I.useState)(0), [o, s] = (0, I.useState)(null), c = (0, I.useRef)({
live: !1,
generation: 0,
@@ -27470,11 +27470,11 @@ function Dne({ load: e, canFlip: t }) {
return;
}
if (!n() || !l.current.canFlip() || i.length < 2) return;
- let o = await Promise.all(i.map((t) => Ene(t, e)));
+ let o = await Promise.all(i.map((t) => Pne(t, e)));
if (!n() || !l.current.canFlip()) return;
let u = i.filter((e, t) => o[t]);
u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
- f(), e.cycle = setInterval(f, Cne);
+ f(), e.cycle = setInterval(f, jne);
}));
};
return (0, I.useEffect)(() => u, [u]), {
@@ -27483,7 +27483,7 @@ function Dne({ load: e, canFlip: t }) {
leaving: o,
onPointerEnter: () => {
let e = c.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(wne, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Mne, () => {
e.armed = null, p();
});
},
@@ -27494,8 +27494,8 @@ function Dne({ load: e, canFlip: t }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var RT = LT("play");
-function One({ src: e }) {
+var AT = kT("play");
+function Ine({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
"data-mix-poster": "",
@@ -27506,8 +27506,8 @@ function One({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var zT = "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 kne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var jT = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function Lne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, L.jsx)("button", {
@@ -27515,18 +27515,18 @@ function kne({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${zT} cursor-pointer outline-none`,
+ className: `${jT} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${zT} mt-0.5`,
+ className: `${jT} mt-0.5`,
children: t
});
}
-function BT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
- let y = Dne({
+function MT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
+ let y = Fne({
load: i,
canFlip: a
}), b = (0, I.useRef)(y.onPointerLeave);
@@ -27556,7 +27556,7 @@ function BT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
p?.html ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": p.kind,
dangerouslySetInnerHTML: { __html: p.html }
- }) : r ? /* @__PURE__ */ (0, L.jsx)(One, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, L.jsx)(Ine, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27586,7 +27586,7 @@ function BT({ 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)(RT, {
+ children: [/* @__PURE__ */ (0, L.jsx)(AT, {
"aria-hidden": !0,
className: "size-3.75"
}), h ?? `${n} 个视频`]
@@ -27599,8 +27599,8 @@ function BT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
g ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, L.jsx)(RT, {})
- }) : /* @__PURE__ */ (0, L.jsx)(kne, {
+ children: /* @__PURE__ */ (0, L.jsx)(AT, {})
+ }) : /* @__PURE__ */ (0, L.jsx)(Lne, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -27625,21 +27625,21 @@ function BT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-var VT = "";
-function Ane(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(Mne, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${wT(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, L.jsx)(Nne, { ...e }, t);
+var NT = "";
+function Rne(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(Bne, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gT(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, L.jsx)(Vne, { ...e }, t);
}
-function jne({ name: e }) {
+function zne({ 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 Mne(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)(FT, {
+function Bne(e) {
+ let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(DT, {
item: i,
variant: r,
layout: e.layout,
@@ -27659,8 +27659,8 @@ function Mne(e) {
children: i
});
}
-function Nne(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? ET(e) : TT(e), s = At({
+function Vne(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vT(e) : _T(e), s = At({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -27672,7 +27672,7 @@ function Nne(e) {
(0, I.useEffect)(() => {
s.isPending || c.current || (c.current = !0, e.settled?.(e.revision));
}, [s.isPending]);
- let { tiles: l, pageStarts: u } = (0, I.useMemo)(() => sne(s.data?.pages || [], {
+ let { tiles: l, pageStarts: u } = (0, I.useMemo)(() => hne(s.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -27682,14 +27682,14 @@ function Nne(e) {
e.mix,
a,
r.javImage
- ]), f = l.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(s.data?.pages[0]?.total || 0), m = OT(s.isPending, e.skeletonHtml), h = (0, I.useRef)(null), g = Fne(e, s.data, l, u, h);
+ ]), f = l.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(s.data?.pages[0]?.total || 0), m = bT(s.isPending, e.skeletonHtml), h = (0, I.useRef)(null), g = Une(e, s.data, l, u, h);
(0, I.useLayoutEffect)(() => {
if (!s.data) return;
e.onCount?.(p, f);
let t = a ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${p.toLocaleString()} 个符合 · 显示 ${f}`;
- VT && (t.dataset.popCount = VT), VT = n, x(t, n);
+ NT && (t.dataset.popCount = NT), NT = n, x(t, n);
}, [
s.data,
p,
@@ -27698,12 +27698,12 @@ function Nne(e) {
let _ = (0, I.useCallback)((e, t) => n.open(e, t), [n]), v = (0, I.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, I.useCallback)((e) => n.openShort(e), [n]), b = (0, I.useCallback)(async () => {
let e = await s.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [s.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(Lne, {
+ }, [s.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(Gne, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(FT, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(DT, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -27720,7 +27720,7 @@ function Nne(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (s.isPending) return null;
- if (!s.data) return /* @__PURE__ */ (0, L.jsx)(kT, {
+ if (!s.data) return /* @__PURE__ */ (0, L.jsx)(xT, {
message: d(s.error),
onRetry: () => void s.refetch()
});
@@ -27737,15 +27737,15 @@ function Nne(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: une(l, g).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ children: vne(l, g).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, L.jsx)(Ine, {
+ }), t.strip ? /* @__PURE__ */ (0, L.jsx)(Wne, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), s.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(Pne, {
+ }), s.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(Hne, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -27753,7 +27753,7 @@ function Nne(e) {
})()]
});
}
-function Pne({ entity: e, load: t, enabled: n }) {
+function Hne({ entity: e, load: t, enabled: n }) {
let r = (0, I.useRef)(null), i = (0, I.useRef)(!1), a = (0, I.useRef)(!1), [o, s] = (0, I.useState)({
busy: !1,
error: ""
@@ -27814,12 +27814,12 @@ function Pne({ entity: e, load: t, enabled: n }) {
...f,
onClick: () => void l(!0),
dangerouslySetInnerHTML: { __html: v("继续载入中…") }
- }), o.error ? /* @__PURE__ */ (0, L.jsx)(kT, {
+ }), o.error ? /* @__PURE__ */ (0, L.jsx)(xT, {
message: o.error,
onRetry: () => void l(!0)
}) : null] });
}
-function Fne(e, t, n, r, i) {
+function Une(e, t, n, r, i) {
let [a, o] = (0, I.useState)([]), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(0), u = (0, I.useRef)(0), d = (0, I.useRef)([]);
return (0, I.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, I.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -27828,7 +27828,7 @@ function Fne(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- kw(`/api/items?${lne(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ ww(`/api/items?${_ne(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -27844,7 +27844,7 @@ function Fne(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 = cne(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 = gne(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -27854,7 +27854,7 @@ function Fne(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Ine({ cut: e, props: t, onOpen: n }) {
+function Wne({ cut: e, props: t, onOpen: n }) {
let r = (0, I.useRef)(null), { wireDrag: i } = t;
return (0, I.useEffect)(() => {
r.current && i(r.current);
@@ -27870,12 +27870,12 @@ function Ine({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, L.jsx)(jne, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(zne, { 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)(FT, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(DT, {
item: e,
variant: "short",
layout: t.layout,
@@ -27889,9 +27889,9 @@ function Ine({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function HT(e, t, n, r) {
+function PT(e, t, n, r) {
let i = t.active && !!e.is_jav;
- return e.is_jav ? jT(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
+ return e.is_jav ? CT(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
html: ""
} : {
@@ -27899,18 +27899,18 @@ function HT(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function Lne({ seed: e, layout: t, helpers: n, actions: r }) {
+function Gne({ 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 = ane(e, n.tagLabel), s = (0, I.useCallback)(async () => {
- let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => DT(e, t.javImage)).slice(0, 9);
- return i.current = new Map(o.map((e) => [String(e.id), HT(e, t, !0, n).html])), o.map((e) => String(e.id));
+ let o = pne(e, n.tagLabel), s = (0, I.useCallback)(async () => {
+ let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => yT(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(o.map((e) => [String(e.id), PT(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
]), c = t.active && !!e.is_jav;
- return /* @__PURE__ */ (0, L.jsx)(BT, {
+ return /* @__PURE__ */ (0, L.jsx)(MT, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -27919,8 +27919,8 @@ function Lne({ seed: e, layout: t, helpers: n, actions: r }) {
glyph: !0,
wholeCard: !0,
poster: null,
- artwork: HT(e, t, !1, n),
- ratio: c && t.size === "big" ? MT : 16 / 9,
+ artwork: PT(e, t, !1, n),
+ ratio: c && t.size === "big" ? wT : 16 / 9,
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -27933,12 +27933,12 @@ function Lne({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var UT = Symbol("default");
-function WT({ values: e, children: t }) {
+var FT = Symbol("default");
+function IT({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ I.createElement(n.Provider, { value: r }, t);
return t;
}
-function GT(e) {
+function LT(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;
@@ -27972,11 +27972,11 @@ function GT(e) {
c
]);
}
-function KT(e, t) {
+function RT(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 || UT;
+ let e = t || FT;
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}.`);
@@ -27985,8 +27985,8 @@ function KT(e, t) {
}
return n;
}
-function qT(e, t, n) {
- let { ref: r, ...i } = KT(n, e.slot) || {}, a = ah((0, I.useMemo)(() => Bm(t, r), [t, r])), o = H(i, e);
+function zT(e, t, n) {
+ let { ref: r, ...i } = RT(n, e.slot) || {}, a = ah((0, I.useMemo)(() => Bm(t, r), [t, r])), o = H(i, e);
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,
@@ -28004,7 +28004,7 @@ function qT(e, t, n) {
...e.style
}), [o, a];
}
-function JT(e = !0) {
+function BT(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -28012,12 +28012,12 @@ function JT(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function YT(e) {
+function VT(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function Rne(e, t, n) {
+function Kne(e, t, n) {
let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => Bm(n, a), [n, a]);
hp(() => {}, [e, r]);
let s = {
@@ -28026,19 +28026,19 @@ function Rne(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ I.createElement(e, s);
}
-var XT = {}, ZT = new Proxy({}, { get(e, t) {
+var HT = {}, UT = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = XT[t];
- return n || (n = /*#__PURE__*/ (0, I.forwardRef)(Rne.bind(null, t)), XT[t] = n), n;
-} }), QT = /*#__PURE__*/ (0, I.createContext)(null), $T = /*#__PURE__*/ (0, I.createContext)(null), eE = /*#__PURE__*/ (0, I.createContext)(null), tE = {
+ let n = HT[t];
+ return n || (n = /*#__PURE__*/ (0, I.forwardRef)(Kne.bind(null, t)), HT[t] = n), n;
+} }), WT = /*#__PURE__*/ (0, I.createContext)(null), GT = /*#__PURE__*/ (0, I.createContext)(null), KT = /*#__PURE__*/ (0, I.createContext)(null), qT = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return nE(e, null, t);
+ return JT(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return nE(e, t, n);
+ return JT(e, t, n);
}
};
-function nE(e, t, n) {
+function JT(e, t, n) {
return Rf({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -28049,11 +28049,11 @@ function nE(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, zne(e, t, n));
+ }), r, qne(e, t, n));
}
});
}
-function zne(e, t, n) {
+function qne(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);
@@ -28072,25 +28072,25 @@ function zne(e, t, n) {
}
return s;
}
-var rE = /*#__PURE__*/ (0, I.createContext)(tE);
-function iE(e) {
+var YT = /*#__PURE__*/ (0, I.createContext)(qT);
+function XT(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 aE = /*#__PURE__*/ (0, I.createContext)({}), Bne = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, aE);
- let { elementType: n = "label", ...r } = e, i = ZT[n];
+var ZT = /*#__PURE__*/ (0, I.createContext)({}), Jne = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, ZT);
+ let { elementType: n = "label", ...r } = e, i = UT[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Vne = /*#__PURE__*/ (0, I.createContext)(null), oE = /*#__PURE__*/ (0, I.createContext)({}), sE = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, oE);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Rg(e, t);
- i = Une(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = dy(e), { hoverProps: l, isHovered: u } = _y({
+}), Yne = /*#__PURE__*/ (0, I.createContext)(null), QT = /*#__PURE__*/ (0, I.createContext)({}), $T = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, QT);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Lg(e, t);
+ i = Zne(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = uy(e), { hoverProps: l, isHovered: u } = my({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -28100,7 +28100,7 @@ var aE = /*#__PURE__*/ (0, I.createContext)({}), Bne = /*#__PURE__*/ fh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = GT({
+ }, f = LT({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -28109,15 +28109,15 @@ var aE = /*#__PURE__*/ (0, I.createContext)({}), Bne = /*#__PURE__*/ fh(function
let g = (0, I.useRef)(r);
(0, I.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && g_(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && h_(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = _g(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ I.createElement(ZT.button, {
+ let _ = gg(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ I.createElement(UT.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -28131,62 +28131,62 @@ var aE = /*#__PURE__*/ (0, I.createContext)({}), Bne = /*#__PURE__*/ fh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ I.createElement(Vne.Provider, { value: { id: m } }, f.children));
-}), Hne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Une(e, t) {
+ }, /*#__PURE__*/ I.createElement(Yne.Provider, { value: { id: m } }, f.children));
+}), Xne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Zne(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Hne.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Xne.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 cE = /*#__PURE__*/ (0, I.createContext)({}), lE = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, cE);
- let { children: n, level: r = 3, className: i, ...a } = e, o = ZT[`h${r}`];
+var eE = /*#__PURE__*/ (0, I.createContext)({}), tE = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, eE);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = UT[`h${r}`];
return /*#__PURE__*/ I.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), uE = /*#__PURE__*/ (0, I.createContext)({}), Wne = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, uE);
- let { elementType: n = "span", ...r } = e, i = ZT[n];
+}), nE = /*#__PURE__*/ (0, I.createContext)({}), Qne = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, nE);
+ let { elementType: n = "span", ...r } = e, i = UT[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), dE = /*#__PURE__*/ (0, I.createContext)(null), fE = /*#__PURE__*/ (0, I.createContext)(null), pE = /*#__PURE__*/ (0, I.createContext)(null), mE = /*#__PURE__*/ (0, I.createContext)(null), Gne = /*#__PURE__*/ (0, I.createContext)(null), hE = /*#__PURE__*/ (0, I.createContext)(null);
-function Kne(e, t) {
- let { validationBehavior: n } = KT(fE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(Gne), a = ah((0, I.useMemo)(() => Bm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...YT(e),
+}), rE = /*#__PURE__*/ (0, I.createContext)(null), iE = /*#__PURE__*/ (0, I.createContext)(null), aE = /*#__PURE__*/ (0, I.createContext)(null), oE = /*#__PURE__*/ (0, I.createContext)(null), $ne = /*#__PURE__*/ (0, I.createContext)(null), sE = /*#__PURE__*/ (0, I.createContext)(null);
+function ere(e, t) {
+ let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)($ne), a = ah((0, I.useMemo)(() => Bm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...VT(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? bee(o, i, a) : V_(o, K_(e), a), a];
+ return [i ? See(o, i, a) : z_(o, W_(e), a), a];
}
-var qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var tre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = qT(r, t, pE);
- let [i, a] = Kne(e, n);
- return /*#__PURE__*/ I.createElement(hE.Provider, { value: {
+ [e, t] = zT(r, t, aE);
+ let [i, a] = ere(e, n);
+ return /*#__PURE__*/ I.createElement(sE.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ I.createElement(Jne, {
+ } }, /*#__PURE__*/ I.createElement(nre, {
...e,
ref: t
}));
-}), Jne = /*#__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)(hE), { isFocused: p, isFocusVisible: m, focusProps: h } = dy(), g = a || o, { hoverProps: _, isHovered: v } = _y({
+}), nre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, I.useContext)(sE), { isFocused: p, isFocusVisible: m, focusProps: h } = uy(), g = a || o, { hoverProps: _, isHovered: v } = my({
...e,
isDisabled: g
- }), y = GT({
+ }), y = LT({
...e,
defaultClassName: u,
values: {
@@ -28201,8 +28201,8 @@ var qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = _g(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(ZT.label, {
+ }), b = gg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(UT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28216,20 +28216,20 @@ var qne = /*#__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(X_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(J_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), gE = /*#__PURE__*/ (0, I.createContext)({}), Yne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, gE);
+}), cE = /*#__PURE__*/ (0, I.createContext)({}), rre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, cE);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
- let { hoverProps: l, isHovered: u } = _y({
+ let { hoverProps: l, isHovered: u } = my({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = dy({ within: !0 }), m = GT({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = uy({ within: !0 }), m = LT({
...e,
values: {
isHovered: u,
@@ -28240,7 +28240,7 @@ var qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ I.createElement(ZT.div, {
+ return /*#__PURE__*/ I.createElement(UT.div, {
...H(c, p, l),
...m,
ref: t,
@@ -28253,18 +28253,18 @@ var qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), _E = /*#__PURE__*/ (0, I.createContext)({}), Xne = (e) => {
+}), lE = /*#__PURE__*/ (0, I.createContext)({}), ire = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Zne = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, _E);
- let { hoverProps: n, isHovered: r } = _y({
+}, are = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, lE);
+ let { hoverProps: n, isHovered: r } = my({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = dy({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = uy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = GT({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LT({
...e,
values: {
isHovered: r,
@@ -28275,8 +28275,8 @@ var qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ I.createElement(ZT.input, {
- ...H(Xne(e), o, n),
+ return /*#__PURE__*/ I.createElement(UT.input, {
+ ...H(ire(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -28285,8 +28285,8 @@ var qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), vE = {};
-vE = {
+}), uE = {};
+uE = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -28294,8 +28294,8 @@ vE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var yE = {};
-yE = {
+var dE = {};
+dE = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -28303,8 +28303,8 @@ yE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var bE = {};
-bE = {
+var fE = {};
+fE = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -28312,8 +28312,8 @@ bE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var xE = {};
-xE = {
+var pE = {};
+pE = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -28321,8 +28321,8 @@ xE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var SE = {};
-SE = {
+var mE = {};
+mE = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -28330,8 +28330,8 @@ SE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var CE = {};
-CE = {
+var hE = {};
+hE = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -28339,8 +28339,8 @@ CE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var wE = {};
-wE = {
+var gE = {};
+gE = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -28348,8 +28348,8 @@ wE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var TE = {};
-TE = {
+var _E = {};
+_E = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -28357,8 +28357,8 @@ TE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var EE = {};
-EE = {
+var vE = {};
+vE = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -28366,8 +28366,8 @@ EE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var DE = {};
-DE = {
+var yE = {};
+yE = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -28375,8 +28375,8 @@ DE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var OE = {};
-OE = {
+var bE = {};
+bE = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -28384,8 +28384,8 @@ OE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var kE = {};
-kE = {
+var xE = {};
+xE = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -28393,8 +28393,8 @@ kE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var AE = {};
-AE = {
+var SE = {};
+SE = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -28402,8 +28402,8 @@ AE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var jE = {};
-jE = {
+var CE = {};
+CE = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -28411,8 +28411,8 @@ jE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var ME = {};
-ME = {
+var wE = {};
+wE = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -28420,8 +28420,8 @@ ME = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var NE = {};
-NE = {
+var TE = {};
+TE = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -28429,8 +28429,8 @@ NE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var PE = {};
-PE = {
+var EE = {};
+EE = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -28438,8 +28438,8 @@ PE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var FE = {};
-FE = {
+var DE = {};
+DE = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -28447,8 +28447,8 @@ FE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var IE = {};
-IE = {
+var OE = {};
+OE = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -28456,8 +28456,8 @@ IE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var LE = {};
-LE = {
+var kE = {};
+kE = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -28465,8 +28465,8 @@ LE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var RE = {};
-RE = {
+var AE = {};
+AE = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -28474,8 +28474,8 @@ RE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var zE = {};
-zE = {
+var jE = {};
+jE = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -28483,8 +28483,8 @@ zE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var BE = {};
-BE = {
+var ME = {};
+ME = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28492,8 +28492,8 @@ BE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var VE = {};
-VE = {
+var NE = {};
+NE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28501,8 +28501,8 @@ VE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var HE = {};
-HE = {
+var PE = {};
+PE = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -28510,8 +28510,8 @@ HE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var UE = {};
-UE = {
+var FE = {};
+FE = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -28519,8 +28519,8 @@ UE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var WE = {};
-WE = {
+var IE = {};
+IE = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -28528,8 +28528,8 @@ WE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var GE = {};
-GE = {
+var LE = {};
+LE = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -28537,8 +28537,8 @@ GE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var KE = {};
-KE = {
+var RE = {};
+RE = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -28546,8 +28546,8 @@ KE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var qE = {};
-qE = {
+var zE = {};
+zE = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -28555,8 +28555,8 @@ qE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var JE = {};
-JE = {
+var BE = {};
+BE = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -28564,8 +28564,8 @@ JE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var YE = {};
-YE = {
+var VE = {};
+VE = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -28573,8 +28573,8 @@ YE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var XE = {};
-XE = {
+var HE = {};
+HE = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -28582,8 +28582,8 @@ XE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var ZE = {};
-ZE = {
+var UE = {};
+UE = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -28591,52 +28591,52 @@ ZE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var QE = {};
-QE = {
- "ar-AE": vE,
- "bg-BG": yE,
- "cs-CZ": bE,
- "da-DK": xE,
- "de-DE": SE,
- "el-GR": CE,
- "en-US": wE,
- "es-ES": TE,
- "et-EE": EE,
- "fi-FI": DE,
- "fr-FR": OE,
- "he-IL": kE,
- "hr-HR": AE,
- "hu-HU": jE,
- "it-IT": ME,
- "ja-JP": NE,
- "ko-KR": PE,
- "lt-LT": FE,
- "lv-LV": IE,
- "nb-NO": LE,
- "nl-NL": RE,
- "pl-PL": zE,
- "pt-BR": BE,
- "pt-PT": VE,
- "ro-RO": HE,
- "ru-RU": UE,
- "sk-SK": WE,
- "sl-SI": GE,
- "sr-SP": KE,
- "sv-SE": qE,
- "tr-TR": JE,
- "uk-UA": YE,
- "zh-CN": XE,
- "zh-TW": ZE
+var WE = {};
+WE = {
+ "ar-AE": uE,
+ "bg-BG": dE,
+ "cs-CZ": fE,
+ "da-DK": pE,
+ "de-DE": mE,
+ "el-GR": hE,
+ "en-US": gE,
+ "es-ES": _E,
+ "et-EE": vE,
+ "fi-FI": yE,
+ "fr-FR": bE,
+ "he-IL": xE,
+ "hr-HR": SE,
+ "hu-HU": CE,
+ "it-IT": wE,
+ "ja-JP": TE,
+ "ko-KR": EE,
+ "lt-LT": DE,
+ "lv-LV": OE,
+ "nb-NO": kE,
+ "nl-NL": AE,
+ "pl-PL": jE,
+ "pt-BR": ME,
+ "pt-PT": NE,
+ "ro-RO": PE,
+ "ru-RU": FE,
+ "sk-SK": IE,
+ "sl-SI": LE,
+ "sr-SP": RE,
+ "sv-SE": zE,
+ "tr-TR": BE,
+ "uk-UA": VE,
+ "zh-CN": HE,
+ "zh-TW": UE
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var $E = /*#__PURE__*/ (0, I.createContext)({}), eD = /*#__PURE__*/ (0, I.createContext)(null), Qne = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { render: n } = (0, I.useContext)(eD);
+var GE = /*#__PURE__*/ (0, I.createContext)({}), KE = /*#__PURE__*/ (0, I.createContext)(null), ore = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { render: n } = (0, I.useContext)(KE);
return /*#__PURE__*/ I.createElement(I.Fragment, null, n(e, t));
});
-function tD(e, t) {
+function qE(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, I.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(Qne, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(ore, { target: e });
}, [
t?.target,
r,
@@ -28644,7 +28644,7 @@ function tD(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function nD(e, t, n) {
+function JE(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;
@@ -28667,14 +28667,14 @@ function nD(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var rD = /*#__PURE__*/ (0, I.createContext)({}), $ne = /*#__PURE__*/ (0, I.createContext)(null);
-function iD(e) {
+var YE = /*#__PURE__*/ (0, I.createContext)({}), sre = /*#__PURE__*/ (0, I.createContext)(null);
+function XE(e) {
let t = (0, I.useRef)({});
- return /*#__PURE__*/ I.createElement($ne.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ I.createElement(sre.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var aD = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), oD = /*#__PURE__*/ (0, I.createContext)({}), ere = /*#__PURE__*/ Ah(class extends Of {
+var ZE = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), QE = /*#__PURE__*/ (0, I.createContext)({}), cre = /*#__PURE__*/ Ah(class extends Of {
static {
this.type = "separator";
}
@@ -28687,14 +28687,14 @@ var aD = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), oD = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = qT(e, t, oD);
+ [e, t] = zT(e, t, QE);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = ZT[c], { separatorProps: u } = _te({
+ let l = UT[c], { separatorProps: u } = bte({
...s,
elementType: n,
orientation: r
- }), d = _g(e, { global: !0 });
+ }), d = gg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(l, {
render: e.render,
...H(d, u),
@@ -28706,13 +28706,13 @@ var aD = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), oD = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function sD(e) {
+function $E(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 cD = class {
+var eD = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -28756,20 +28756,20 @@ var cD = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, lD = class e extends Set {
+}, tD = 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 tre(e, t) {
+function lre(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function uD(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] = G_((0, I.useMemo)(() => dD(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => dD(e.defaultSelectedKeys, new lD()), [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 nD(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = U_((0, I.useMemo)(() => rD(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => rD(e.defaultSelectedKeys, new tD()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
@@ -28796,18 +28796,18 @@ function uD(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !tre(e, d)) && f(e);
+ (r || !lre(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function dD(e, t) {
- return e ? e === "all" ? "all" : new lD(e) : t;
+function rD(e, t) {
+ return e ? e === "all" ? "all" : new tD(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var fD = class e {
+var iD = 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;
}
@@ -28863,7 +28863,7 @@ var fD = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && $v(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Zv(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -28871,7 +28871,7 @@ var fD = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && $v(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Zv(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -28890,10 +28890,10 @@ var fD = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new lD([t], t, t);
+ if (this.state.selectedKeys === "all") n = new tD([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new lD(e, r, t);
+ n = new tD(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);
}
@@ -28901,7 +28901,7 @@ var fD = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? $v(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Zv(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);
@@ -28927,19 +28927,19 @@ var fD = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new lD(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new tD(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 lD([t], t, t) : new lD();
+ let n = this.canSelectItem(t) ? new tD([t], t, t) : new tD();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new lD();
+ let t = new tD();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -28951,7 +28951,7 @@ var fD = 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(Xv(Yv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Jv(qv(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -28962,7 +28962,7 @@ var fD = 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 lD());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new tD());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -29003,9 +29003,9 @@ var fD = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, nre = class {
+}, ure = class {
build(e, t) {
- return this.context = t, pD(() => this.iterateCollection(e));
+ return this.context = t, aD(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -29087,10 +29087,10 @@ var fD = class e {
...a,
key: l,
index: s,
- wrapper: rre(e.wrapper, a.wrapper)
+ wrapper: dre(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 <${mD(t.type)}> in <${mD(r?.type ?? "unknown parent type")}>. Only <${mD(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 <${oD(t.type)}> in <${oD(r?.type ?? "unknown parent type")}>. Only <${oD(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -29112,7 +29112,7 @@ var fD = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: pD(function* () {
+ childNodes: aD(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -29131,7 +29131,7 @@ var fD = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function pD(e) {
+function aD(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -29139,18 +29139,18 @@ function pD(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function rre(e, t) {
+function dre(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function mD(e) {
+function oD(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function hD(e, t, n) {
- let r = (0, I.useMemo)(() => new nre(), []), { children: i, items: a, collection: o } = e;
+function sD(e, t, n) {
+ let r = (0, I.useMemo)(() => new ure(), []), { children: i, items: a, collection: o } = e;
return (0, I.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -29165,27 +29165,27 @@ function hD(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function gD(e) {
- let { filter: t, layoutDelegate: n } = e, r = uD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = hD(e, (0, I.useCallback)((e) => t ? new cD(t(e)) : new cD(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new fD(a, r, { layoutDelegate: n }), [
+function cD(e) {
+ let { filter: t, layoutDelegate: n } = e, r = nD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = sD(e, (0, I.useCallback)((e) => t ? new eD(t(e)) : new eD(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new iD(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return _D(a, o), {
+ return lD(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function ire(e, t) {
+function fre(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return _D(n, r), {
+ return lD(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function _D(e, t) {
+function lD(e, t) {
let n = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -29213,7 +29213,7 @@ function _D(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function vD(e, t) {
+function uD(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = Kh((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -29221,7 +29221,7 @@ function vD(e, t) {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: b_(t?.current),
+ root: y_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -29237,42 +29237,42 @@ function vD(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var yD = /*#__PURE__*/ (0, I.createContext)(null), bD = /*#__PURE__*/ (0, I.createContext)(null), are = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, yD);
- let n = (0, I.useContext)(bD);
- return n ? /*#__PURE__*/ I.createElement(xD, {
+var dD = /*#__PURE__*/ (0, I.createContext)(null), fD = /*#__PURE__*/ (0, I.createContext)(null), pre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, dD);
+ let n = (0, I.useContext)(fD);
+ return n ? /*#__PURE__*/ I.createElement(pD, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ I.createElement(Sh, { content: /*#__PURE__*/ I.createElement(Ph, e) }, (n) => /*#__PURE__*/ I.createElement(ore, {
+ }) : /*#__PURE__*/ I.createElement(Sh, { content: /*#__PURE__*/ I.createElement(Ph, e) }, (n) => /*#__PURE__*/ I.createElement(mre, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function ore({ props: e, listBoxRef: t, collection: n }) {
+function mre({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, I.useContext)(rE), i = gD({
+ let { layoutDelegate: r } = (0, I.useContext)(YT), i = cD({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ I.createElement(xD, {
+ return /*#__PURE__*/ I.createElement(pD, {
state: i,
props: e,
listBoxRef: t
});
}
-function xD({ state: e, props: t, listBoxRef: n }) {
- [t, n] = qT(t, n, QT);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = ire(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ag(), { disabledBehavior: p, disabledKeys: m } = l, h = iy({
+function pD({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = zT(t, n, WT);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = fre(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ag(), { disabledBehavior: p, disabledKeys: m } = l, h = ny({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(rE), b = (0, I.useMemo)(() => t.keyboardDelegate || new ov({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(YT), b = (0, I.useMemo)(() => t.keyboardDelegate || new iv({
collection: c,
collator: h,
ref: n,
@@ -29293,7 +29293,7 @@ function xD({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Wee({
+ ]), { listBoxProps: x } = qee({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -29325,7 +29325,7 @@ function xD({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = dy(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = uy(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -29333,19 +29333,19 @@ function xD({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = GT({
+ }, N = LT({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
values: M
- }), ee = null;
- j && t.renderEmptyState && (ee = /*#__PURE__*/ I.createElement("div", {
+ }), P = null;
+ j && t.renderEmptyState && (P = /*#__PURE__*/ I.createElement("div", {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = _g(t, { global: !0 });
- return /*#__PURE__*/ I.createElement(Wg, null, /*#__PURE__*/ I.createElement(ZT.div, {
- ...H(te, N, x, O, w?.collectionProps),
+ let ee = gg(t, { global: !0 });
+ return /*#__PURE__*/ I.createElement(Ug, null, /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(ee, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
@@ -29355,55 +29355,55 @@ function xD({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ I.createElement(WT, { values: [
- [yD, t],
- [bD, s],
- [$E, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [dD, t],
+ [fD, s],
+ [GE, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [oD, { elementType: "div" }],
- [eD, { render: lre }],
- [eE, {
+ [QE, { elementType: "div" }],
+ [KE, { render: _re }],
+ [KT, {
name: "ListBoxSection",
- render: sre
+ render: hre
}]
- ] }, /*#__PURE__*/ I.createElement(iD, null, /*#__PURE__*/ I.createElement(y, {
+ ] }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: nD(l, r, C),
- renderDropIndicator: tD(r, C)
- }))), ee, E));
+ persistedKeys: JE(l, r, C),
+ renderDropIndicator: qE(r, C)
+ }))), P, E));
}
-function sre(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(bD), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)($E), { CollectionBranch: s } = (0, I.useContext)(rE), [c, l] = JT(), { headingProps: u, groupProps: d } = Gee({
+function hre(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, I.useContext)(fD), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(GE), { CollectionBranch: s } = (0, I.useContext)(YT), [c, l] = BT(), { headingProps: u, groupProps: d } = Jee({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = GT({
+ }), f = LT({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = _g(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ I.createElement(ZT.section, {
+ }), p = gg(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ I.createElement(UT.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ I.createElement(rD.Provider, { value: {
+ }, /*#__PURE__*/ I.createElement(YE.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ I.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: tD(a, o)
+ renderDropIndicator: qE(a, o)
})));
}
-var cre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
- let r = ah(t), i = (0, I.useContext)(bD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)($E), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Kee({
+var gre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
+ let r = ah(t), i = (0, I.useContext)(fD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Yee({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = _y({
+ }, i, r), { hoverProps: p, isHovered: m } = my({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -29419,7 +29419,7 @@ var cre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = GT({
+ let y = o && o.isDragging(n.key), b = LT({
...e,
id: void 0,
children: e.children,
@@ -29437,7 +29437,7 @@ var cre = /*#__PURE__*/ Ah(jf, function(e, t, n) {
(0, I.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? ZT.a : ZT.div, S = _g(e, { global: !0 });
+ let x = e.href ? UT.a : UT.div, S = gg(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,
@@ -29451,29 +29451,29 @@ var cre = /*#__PURE__*/ Ah(jf, 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(WT, { values: [[uE, { slots: {
- [UT]: u,
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[nE, { slots: {
+ [FT]: u,
label: u,
description: d
- } }], [aD, { isSelected: f.isSelected }]] }, b.children));
+ } }], [ZE, { isSelected: f.isSelected }]] }, b.children));
});
-function lre(e, t) {
+function _re(e, t) {
t = ah(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)($E), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ I.createElement(dre, {
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(GE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ I.createElement(yre, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function ure(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = GT({
+function vre(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LT({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ZT.div, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
...n,
...a,
role: "option",
@@ -29481,10 +29481,10 @@ function ure(e, t) {
"data-drop-target": r || void 0
}));
}
-var dre = /*#__PURE__*/ (0, I.forwardRef)(ure);
+var yre = /*#__PURE__*/ (0, I.forwardRef)(vre);
Ah(Af, function(e, t, n) {
- let r = (0, I.useContext)(bD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- vD((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(fD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ uD((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -29494,7 +29494,7 @@ Ah(Af, function(e, t, n) {
o,
r?.collection
]), c);
- let l = GT({
+ let l = LT({
...s,
id: void 0,
children: n.rendered,
@@ -29507,7 +29507,7 @@ Ah(Af, function(e, t, n) {
width: 0,
height: 0
},
- inert: sD(!0)
+ inert: $E(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -29516,8 +29516,8 @@ Ah(Af, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ZT.div, {
- ...H(_g(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(gg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -29525,11 +29525,11 @@ Ah(Af, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var fre = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
+var bre = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function SD(e) {
- let [t, n] = G_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
+function mD(e) {
+ let [t, n] = U_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -29548,13 +29548,13 @@ function SD(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function CD(e, t = !0) {
+function hD(e, t = !0) {
let [n, r] = (0, I.useState)(!0), i = n && t;
return hp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), TD(e, i, (0, I.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), _D(e, i, (0, I.useCallback)(() => r(!1), [])), i;
}
-function wD(e, t) {
+function gD(e, t) {
let [n, r] = (0, I.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -29564,11 +29564,11 @@ function wD(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return TD(e, i, (0, I.useCallback)(() => {
+ return _D(e, i, (0, I.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function TD(e, t, n) {
+function _D(e, t, n) {
hp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -29597,9 +29597,9 @@ function TD(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var ED = /*#__PURE__*/ (0, I.createContext)(null), DD = /*#__PURE__*/ (0, I.createContext)(null), OD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, ED);
- let n = (0, I.useContext)(RD), r = SD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wD(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ph(), { direction: c } = ag();
+var vD = /*#__PURE__*/ (0, I.createContext)(null), yD = /*#__PURE__*/ (0, I.createContext)(null), bD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, vD);
+ let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gD(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ph(), { direction: c } = ag();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -29610,7 +29610,7 @@ var ED = /*#__PURE__*/ (0, I.createContext)(null), DD = /*#__PURE__*/ (0, I.crea
defaultChildren: null
})), /*#__PURE__*/ I.createElement(I.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(pre, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(xre, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -29619,13 +29619,13 @@ var ED = /*#__PURE__*/ (0, I.createContext)(null), DD = /*#__PURE__*/ (0, I.crea
dir: c
});
});
-function pre({ 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)(DD), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = dte({
+function xre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(yD), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = mte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = CD(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = GT({
+ }, e), m = i.popoverRef, h = hD(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = LT({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -29651,7 +29651,7 @@ function pre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, I.useState)(null), w = (0, I.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- hp(w, [w]), cb({
+ hp(w, [w]), ab({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -29660,8 +29660,8 @@ function pre({ 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(ZT.div, {
- ...H(_g(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(gg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -29676,17 +29676,17 @@ function pre({ 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(Gb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(fre.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(Hb, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(bre.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ I.createElement(Gb, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ I.createElement(ly, {
+ } }, x), /*#__PURE__*/ I.createElement(Hb, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ I.createElement(cy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ I.createElement(ly, {
+ }, E) : /*#__PURE__*/ I.createElement(cy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -29701,15 +29701,15 @@ function pre({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ I.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ I.createElement(DD.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ I.createElement(yD.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var mre = /*#__PURE__*/ (0, I.createContext)({});
+var Sre = /*#__PURE__*/ (0, I.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function kD(e) {
- let t = SD(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
+function xD(e) {
+ let t = mD(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]);
@@ -29735,7 +29735,7 @@ function kD(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var hre = class {
+var Cre = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -29779,8 +29779,8 @@ var hre = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function gre(e) {
- let { onExpandedChange: t } = e, [n, r] = G_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = uD(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = hD(e, (0, I.useCallback)((e) => new hre(e, { expandedKeys: n }), [n]), null);
+function wre(e) {
+ let { onExpandedChange: t } = e, [n, r] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nD(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sD(e, (0, I.useCallback)((e) => new Cre(e, { expandedKeys: n }), [n]), null);
return (0, I.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -29788,32 +29788,32 @@ function gre(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(_re(n, e));
+ r(Tre(n, e));
},
setExpandedKeys: r,
- selectionManager: new fD(o, i)
+ selectionManager: new iD(o, i)
};
}
-function _re(e, t) {
+function Tre(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 AD = /*#__PURE__*/ (0, I.createContext)(null), jD = /*#__PURE__*/ (0, I.createContext)(null), MD = /*#__PURE__*/ (0, I.createContext)(null), ND = /*#__PURE__*/ (0, I.createContext)(null);
-function vre(e) {
- let t = kD(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = Wv({
+var SD = /*#__PURE__*/ (0, I.createContext)(null), CD = /*#__PURE__*/ (0, I.createContext)(null), wD = /*#__PURE__*/ (0, I.createContext)(null), TD = /*#__PURE__*/ (0, I.createContext)(null);
+function Ere(e) {
+ let t = xD(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = Hv({
...e,
type: "menu"
}, t, n), a = (0, I.useRef)(null);
- return ph() ? null : /*#__PURE__*/ I.createElement(WT, { values: [
- [AD, {
+ return ph() ? null : /*#__PURE__*/ I.createElement(IT, { values: [
+ [SD, {
...i,
ref: a
}],
- [RD, t],
- [MD, t],
- [ED, {
+ [AD, t],
+ [wD, t],
+ [vD, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -29821,13 +29821,13 @@ function vre(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ I.createElement(Pee, {
+ ] }, /*#__PURE__*/ I.createElement(ry, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var yre = /*#__PURE__*/ (0, I.createContext)(null);
+var Dre = /*#__PURE__*/ (0, I.createContext)(null);
(class extends Of {
static {
this.type = "submenutrigger";
@@ -29841,24 +29841,24 @@ var yre = /*#__PURE__*/ (0, I.createContext)(null);
return null;
}
});
-var bre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return [e, t] = qT(e, t, AD), /*#__PURE__*/ I.createElement(Sh, { content: /*#__PURE__*/ I.createElement(Ph, e) }, (n) => /*#__PURE__*/ I.createElement(xre, {
+var Ore = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return [e, t] = zT(e, t, SD), /*#__PURE__*/ I.createElement(Sh, { content: /*#__PURE__*/ I.createElement(Ph, e) }, (n) => /*#__PURE__*/ I.createElement(kre, {
props: e,
collection: n,
menuRef: t
}));
});
-function xre({ props: e, collection: t, menuRef: n }) {
- [e, n] = qT(e, n, QT);
- let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = gre({
+function kre({ props: e, collection: t, menuRef: n }) {
+ [e, n] = zT(e, n, WT);
+ let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = wre({
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(MD), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(rE), { menuProps: u } = qee({
+ }), s = (0, I.useContext)(wD), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(YT), { menuProps: u } = Xee({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = GT({
+ }, o, n), d = LT({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -29868,36 +29868,36 @@ function xre({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Wg, null, /*#__PURE__*/ I.createElement(ZT.div, {
+ let p = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(Ug, null, /*#__PURE__*/ I.createElement(UT.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(WT, { values: [
- [jD, o],
- [oD, { elementType: "div" }],
- [eE, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [CD, o],
+ [QE, { elementType: "div" }],
+ [KT, {
name: "MenuSection",
- render: PD
+ render: ED
}],
- [yre, {
+ [Dre, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [ID, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [QT, null],
- [$T, null],
- [ND, o.selectionManager],
- [MD, s ?? kD({})]
- ] }, /*#__PURE__*/ I.createElement(iD, null, /*#__PURE__*/ I.createElement(l, {
+ [OD, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [WT, null],
+ [GT, null],
+ [TD, o.selectionManager],
+ [wD, s ?? xD({})]
+ ] }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(l, {
collection: o.collection,
- persistedKeys: iE(o.selectionManager.focusedKey),
+ persistedKeys: XT(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var Sre = class extends fD {
+var Are = class extends iD {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -29917,11 +29917,11 @@ var Sre = class extends fD {
return this.parent.childFocusStrategy;
}
};
-function PD(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(jD), { CollectionBranch: a } = (0, I.useContext)(rE), [o, s] = JT(), { headingProps: c, groupProps: l } = Yee({
+function ED(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, I.useContext)(CD), { CollectionBranch: a } = (0, I.useContext)(YT), [o, s] = BT(), { headingProps: c, groupProps: l } = Qee({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = GT({
+ }), u = LT({
...e,
id: void 0,
children: void 0,
@@ -29929,31 +29929,31 @@ function PD(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, I.useContext)(ND), f = uD(e), p = e.selectionMode == null ? d : new Sre(d, f), m = KT(ID)?.shouldCloseOnSelect, h = _g(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ I.createElement(ZT.section, {
+ }), d = (0, I.useContext)(TD), f = nD(e), p = e.selectionMode == null ? d : new Are(d, f), m = RT(OD)?.shouldCloseOnSelect, h = gg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ I.createElement(UT.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ I.createElement(WT, { values: [
- [rD, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [YE, {
...c,
ref: o
}],
- [ND, p],
- [ID, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [TD, p],
+ [OD, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ I.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var FD = /*#__PURE__*/ jh(Mf, PD), ID = /*#__PURE__*/ (0, I.createContext)(null), LD = /*#__PURE__*/ Ah(jf, function(e, t, n) {
- [e, t] = qT(e, t, ID);
- let r = KT(ID)?.id, i = (0, I.useContext)(jD), a = ah(t), o = (0, I.useContext)(ND), { isVirtualized: s } = (0, I.useContext)(rE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Jee({
+var DD = /*#__PURE__*/ jh(Mf, ED), OD = /*#__PURE__*/ (0, I.createContext)(null), kD = /*#__PURE__*/ Ah(jf, function(e, t, n) {
+ [e, t] = zT(e, t, OD);
+ let r = RT(OD)?.id, i = (0, I.useContext)(CD), a = ah(t), o = (0, I.useContext)(TD), { isVirtualized: s } = (0, I.useContext)(YT), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Zee({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = _y({ isDisabled: f.isDisabled }), h = GT({
+ }, i, a), { hoverProps: p, isHovered: m } = my({ isDisabled: f.isDisabled }), h = LT({
...e,
id: void 0,
children: n.rendered,
@@ -29967,7 +29967,7 @@ var FD = /*#__PURE__*/ jh(Mf, PD), ID = /*#__PURE__*/ (0, I.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? ZT.a : ZT.div, _ = _g(e, { global: !0 });
+ }), g = e.href ? UT.a : UT.div, _ = gg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -29980,19 +29980,19 @@ var FD = /*#__PURE__*/ jh(Mf, PD), ID = /*#__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(WT, { values: [
- [uE, { slots: {
- [UT]: l,
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [nE, { slots: {
+ [FT]: l,
label: l,
description: u
} }],
- [mre, d],
- [aD, { isSelected: f.isSelected }]
+ [Sre, d],
+ [ZE, { isSelected: f.isSelected }]
] }, h.children));
});
Ah(Af, function(e, t, n) {
- let r = (0, I.useContext)(jD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- vD((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(CD), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ uD((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30002,7 +30002,7 @@ Ah(Af, function(e, t, n) {
o,
r?.collection
]), c);
- let l = GT({
+ let l = LT({
...s,
id: void 0,
children: n.rendered,
@@ -30015,7 +30015,7 @@ Ah(Af, function(e, t, n) {
width: 0,
height: 0
},
- inert: sD(!0)
+ inert: $E(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30024,8 +30024,8 @@ Ah(Af, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ZT.div, {
- ...H(_g(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(gg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -30033,56 +30033,56 @@ Ah(Af, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var Cre = /*#__PURE__*/ (0, I.createContext)(null), RD = /*#__PURE__*/ (0, I.createContext)(null), zD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var jre = /*#__PURE__*/ (0, I.createContext)(null), AD = /*#__PURE__*/ (0, I.createContext)(null), jD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = qT(e, t, Cre);
- let { dialogProps: r, titleProps: i, contentProps: a } = Iee({
+ [e, t] = zT(e, t, jre);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Lee({
...e,
"aria-labelledby": n
- }, t), o = (0, I.useContext)(RD);
+ }, t), o = (0, I.useContext)(AD);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = GT({
+ let s = LT({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(ZT.section, {
+ }), c = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(UT.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ I.createElement(WT, { values: [
- [cE, { slots: {
- [UT]: {},
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [eE, { slots: {
+ [FT]: {},
title: {
...i,
level: 2
}
} }],
- [uE, { slots: {
- [UT]: {},
+ [nE, { slots: {
+ [FT]: {},
description: a
} }],
- [oE, { slots: {
- [UT]: {},
+ [QT, { slots: {
+ [FT]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), BD = typeof document < "u" && window.visualViewport;
-function wre() {
+}), MD = typeof document < "u" && window.visualViewport;
+function Mre() {
let e = tm(), [t, n] = (0, I.useState)(() => e ? {
width: 0,
height: 0
- } : VD());
+ } : ND());
return (0, I.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- BD && BD.scale > 1 || e(VD());
+ MD && MD.scale > 1 || e(ND());
}, r, i = (t) => {
- BD && BD.scale > 1 || Wh(V(t)) && (r = requestAnimationFrame(() => {
+ MD && MD.scale > 1 || Wh(V(t)) && (r = requestAnimationFrame(() => {
let t = np();
(!t || !Wh(t)) && e({
width: document.documentElement.clientWidth,
@@ -30090,26 +30090,26 @@ function wre() {
});
}));
};
- return e(VD()), Dp() && kp() && window.addEventListener("blur", i, !0), BD ? BD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), Dp() && kp() && window.removeEventListener("blur", i, !0), BD ? BD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(ND()), Dp() && kp() && window.addEventListener("blur", i, !0), MD ? MD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), Dp() && kp() && window.removeEventListener("blur", i, !0), MD ? MD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function VD() {
+function ND() {
return {
- width: BD ? Math.min(BD.width * BD.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: BD ? BD.height * BD.scale : document.documentElement.clientHeight
+ width: MD ? Math.min(MD.width * MD.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: MD ? MD.height * MD.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var Tre = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.createContext)(null), Ere = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- if ((0, I.useContext)(HD)) return /*#__PURE__*/ I.createElement(WD, {
+var Nre = /*#__PURE__*/ (0, I.createContext)(null), PD = /*#__PURE__*/ (0, I.createContext)(null), Pre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ if ((0, I.useContext)(PD)) return /*#__PURE__*/ I.createElement(ID, {
...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(UD, {
+ return /*#__PURE__*/ I.createElement(FD, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -30119,15 +30119,15 @@ var Tre = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ I.createElement(WD, {
+ }, /*#__PURE__*/ I.createElement(ID, {
...f,
modalRef: t
}, s));
});
-function Dre(e, t) {
- [e, t] = qT(e, t, Tre);
- let n = (0, I.useContext)(RD), r = SD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ah(t), o = (0, I.useRef)(null), s = wD(a, i.isOpen), c = wD(o, i.isOpen), l = s || c || e.isExiting || !1, u = tm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(Ore, {
+function Fre(e, t) {
+ [e, t] = zT(e, t, Nre);
+ let n = (0, I.useContext)(AD), r = mD(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ah(t), o = (0, I.useRef)(null), s = gD(a, i.isOpen), c = gD(o, i.isOpen), l = s || c || e.isExiting || !1, u = tm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(Ire, {
...e,
state: i,
isExiting: l,
@@ -30135,9 +30135,9 @@ function Dre(e, t) {
modalRef: o
});
}
-var UD = /*#__PURE__*/ (0, I.forwardRef)(Dre);
-function Ore({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = $ee(t, r, n), o = CD(t.overlayRef) || t.isEntering || !1, s = GT({
+var FD = /*#__PURE__*/ (0, I.forwardRef)(Fre);
+function Ire({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = nte(t, r, n), o = hD(t.overlayRef) || t.isEntering || !1, s = LT({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -30145,9 +30145,9 @@ function Ore({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = wre(), l, u;
+ }), c = Mre(), l, u;
if (typeof document < "u") {
- let e = y_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = v_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
}
let d = {
@@ -30157,25 +30157,25 @@ function Ore({ 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(ly, {
+ return /*#__PURE__*/ I.createElement(cy, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ I.createElement(ZT.div, {
- ...H(_g(t, { global: !0 }), a),
+ }, /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(gg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ I.createElement(WT, { values: [[HD, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[PD, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [RD, r]] }, s.children)));
+ }], [AD, r]] }, s.children)));
}
-function WD(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(HD), a = (0, I.useContext)(RD), o = ah((0, I.useMemo)(() => Bm(e.modalRef, n), [e.modalRef, n])), s = CD(o), c = GT({
+function ID(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(PD), a = (0, I.useContext)(AD), o = ah((0, I.useMemo)(() => Bm(e.modalRef, n), [e.modalRef, n])), s = hD(o), c = LT({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -30184,19 +30184,19 @@ function WD(e) {
state: a
}
});
- return /*#__PURE__*/ I.createElement(ZT.div, {
- ...H(_g(e, { global: !0 }), t),
+ return /*#__PURE__*/ I.createElement(UT.div, {
+ ...H(gg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ I.createElement(Gb, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ I.createElement(Hb, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var kre = Math.round(Math.random() * 1e10), Are = 0;
-function jre(e) {
- let t = (0, I.useMemo)(() => e.name || `radio-group-${kre}-${++Are}`, [e.name]), [n, r] = G_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = I_({
+var Lre = Math.round(Math.random() * 1e10), Rre = 0;
+function zre(e) {
+ let t = (0, I.useMemo)(() => e.name || `radio-group-${Lre}-${++Rre}`, [e.name]), [n, r] = U_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = P_({
...e,
value: n
}), c = (t) => {
@@ -30219,16 +30219,16 @@ function jre(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Mre = /*#__PURE__*/ (0, I.createContext)(null), Nre = /*#__PURE__*/ (0, I.createContext)(null), GD = /*#__PURE__*/ (0, I.createContext)(null), KD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, Mre);
- let { validationBehavior: n } = KT(fE) || {}, r = e.validationBehavior ?? n ?? "native", i = jre({
+var Bre = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ (0, I.createContext)(null), LD = /*#__PURE__*/ (0, I.createContext)(null), RD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, Bre);
+ let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = zre({
...e,
validationBehavior: r
- }), [a, o] = JT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = pte({
+ }), [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = gte({
...e,
label: o,
validationBehavior: r
- }, i), f = GT({
+ }, i), f = LT({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -30239,8 +30239,8 @@ var Mre = /*#__PURE__*/ (0, I.createContext)(null), Nre = /*#__PURE__*/ (0, I.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(ZT.div, {
+ }), p = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(UT.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -30249,39 +30249,39 @@ var Mre = /*#__PURE__*/ (0, I.createContext)(null), Nre = /*#__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(WT, { values: [
- [GD, i],
- [aE, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [LD, i],
+ [ZT, {
...c,
ref: a,
elementType: "span"
}],
- [uE, { slots: {
+ [nE, { slots: {
description: l,
errorMessage: u
} }],
- [dE, d]
- ] }, /*#__PURE__*/ I.createElement(iD, null, f.children)));
-}), qD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [rE, d]
+ ] }, /*#__PURE__*/ I.createElement(XE, null, f.children)));
+}), zD = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = qT(r, t, Nre);
- let i = I.useContext(GD), a = ah((0, I.useMemo)(() => Bm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = fte({
- ...YT(e),
+ [e, t] = zT(r, t, Vre);
+ let i = I.useContext(LD), a = ah((0, I.useMemo)(() => Bm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = hte({
+ ...VT(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ I.createElement(JD.Provider, { value: {
+ return /*#__PURE__*/ I.createElement(BD.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ I.createElement(Pre, {
+ } }, /*#__PURE__*/ I.createElement(Hre, {
...e,
ref: t
}));
-}), JD = /*#__PURE__*/ (0, I.createContext)(null), Pre = /*#__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)(JD), l = I.useContext(GD), { isFocused: u, isFocusVisible: d, focusProps: f } = dy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = _y({
+}), BD = /*#__PURE__*/ (0, I.createContext)(null), Hre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(BD), l = I.useContext(LD), { isFocused: u, isFocusVisible: d, focusProps: f } = uy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = my({
...e,
isDisabled: p
- }), g = GT({
+ }), g = LT({
...e,
defaultClassName: s,
values: {
@@ -30295,8 +30295,8 @@ var Mre = /*#__PURE__*/ (0, I.createContext)(null), Nre = /*#__PURE__*/ (0, I.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = _g(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(ZT.label, {
+ }), _ = gg(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(UT.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -30308,19 +30308,19 @@ var Mre = /*#__PURE__*/ (0, I.createContext)(null), Nre = /*#__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(X_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(J_, { 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 Fre(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = SD(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Ure(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mD(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = G_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = U_((0, I.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -30332,12 +30332,12 @@ function Fre(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = gD({
+ }, d = cD({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, I.useMemo)(() => Ire(l), [l]),
+ selectedKeys: (0, I.useMemo)(() => Wre(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -30347,7 +30347,7 @@ function Fre(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 = I_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, I.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = P_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, I.useState)(!1), [_] = (0, I.useState)(l);
@@ -30374,16 +30374,16 @@ function Fre(e) {
setFocused: g
};
}
-function Ire(e) {
+function Wre(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 Lre(e) {
+function Gre(e) {
return e && e.__esModule ? e.default : e;
}
-var YD = /*#__PURE__*/ (0, I.createContext)(null), XD = /*#__PURE__*/ (0, I.createContext)(null), Rre = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, YD);
+var VD = /*#__PURE__*/ (0, I.createContext)(null), HD = /*#__PURE__*/ (0, I.createContext)(null), Kre = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, VD);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, I.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -30398,24 +30398,24 @@ var YD = /*#__PURE__*/ (0, I.createContext)(null), XD = /*#__PURE__*/ (0, I.crea
i,
a
]);
- return /*#__PURE__*/ I.createElement(Sh, { content: o }, (n) => /*#__PURE__*/ I.createElement(Bre, {
+ return /*#__PURE__*/ I.createElement(Sh, { content: o }, (n) => /*#__PURE__*/ I.createElement(Jre, {
props: e,
collection: n,
selectRef: t
}));
-}), zre = [
- aE,
- oE,
- uE
+}), qre = [
+ ZT,
+ QT,
+ nE
];
-function Bre({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = KT(fE) || {}, i = e.validationBehavior ?? r ?? "native", a = Fre({
+function Jre({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = RT(iE) || {}, i = e.validationBehavior ?? r ?? "native", a = Ure({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = dy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = JT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = mte({
- ...YT(e),
+ }), { isFocusVisible: o, focusProps: s } = uy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = BT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = _te({
+ ...VT(e),
label: u,
validationBehavior: i
}, a, c), y = (0, I.useMemo)(() => ({
@@ -30432,48 +30432,48 @@ function Bre({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = GT({
+ ]), b = LT({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = _g(e, { global: !0 });
+ }), x = gg(e, { global: !0 });
delete x.id;
let S = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(WT, { values: [
- [YD, e],
- [XD, a],
- [ZD, p],
- [aE, {
+ return /*#__PURE__*/ I.createElement(IT, { values: [
+ [VD, e],
+ [HD, a],
+ [UD, p],
+ [ZT, {
...d,
ref: l,
elementType: "span"
}],
- [oE, {
+ [QT, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [RD, a],
- [ED, {
+ [AD, a],
+ [vD, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: zre
+ clearContexts: qre
}],
- [yD, {
+ [dD, {
...m,
ref: S
}],
- [bD, a],
- [uE, { slots: {
+ [fD, a],
+ [nE, { slots: {
description: h,
errorMessage: g
} }],
- [dE, v]
- ] }, /*#__PURE__*/ I.createElement(ZT.div, {
+ [rE, v]
+ ] }, /*#__PURE__*/ I.createElement(UT.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -30483,14 +30483,14 @@ function Bre({ 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(gte, {
+ }, b.children, /*#__PURE__*/ I.createElement(yte, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, ZD);
- let n = (0, I.useContext)(XD), { placeholder: r } = KT(YD), i = n.selectedItems.map((e) => {
+for (var UD = /*#__PURE__*/ (0, I.createContext)(null), Yre = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, UD);
+ let n = (0, I.useContext)(HD), { placeholder: r } = RT(VD), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -30502,7 +30502,7 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Lee(), 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 = Ree(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -30517,7 +30517,7 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
a,
o,
i
- ]), u = hg(Lre(QE), "react-aria-components"), d = GT({
+ ]), u = mg(Gre(WE), "react-aria-components"), d = LT({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -30528,33 +30528,33 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(ZT.span, {
+ }), f = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(UT.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ I.createElement(uE.Provider, { value: void 0 }, d.children));
-}), Hre = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), Ure = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ I.createElement(nE.Provider, { value: void 0 }, d.children));
+}), Xre = /*#__PURE__*/ (0, I.createContext)(null), WD = /*#__PURE__*/ (0, I.createContext)(null), Zre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = qT(r, t, Hre);
- let i = ah((0, I.useMemo)(() => Bm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = K_(e), o = vte({
- ...YT(e),
+ [e, t] = zT(r, t, Xre);
+ let i = ah((0, I.useMemo)(() => Bm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = W_(e), o = xte({
+ ...VT(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ I.createElement(WT, { values: [[QD, a], [$D, {
+ return /*#__PURE__*/ I.createElement(IT, { values: [[WD, a], [GD, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ I.createElement(Wre, {
+ }]] }, /*#__PURE__*/ I.createElement(Qre, {
...e,
ref: t
}));
-}), $D = /*#__PURE__*/ (0, I.createContext)(null), Wre = /*#__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)($D), { isFocused: f, isFocusVisible: p, focusProps: m } = dy(), h = a || o, g = (0, I.useContext)(QD), { hoverProps: _, isHovered: v } = _y({
+}), GD = /*#__PURE__*/ (0, I.createContext)(null), Qre = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, I.useContext)(GD), { isFocused: f, isFocusVisible: p, focusProps: m } = uy(), h = a || o, g = (0, I.useContext)(WD), { hoverProps: _, isHovered: v } = my({
...e,
isDisabled: h
- }), y = GT({
+ }), y = LT({
...e,
defaultClassName: u,
values: {
@@ -30569,8 +30569,8 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
isRequired: d || !1,
state: g
}
- }), b = _g(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(ZT.label, {
+ }), b = gg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(UT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -30583,11 +30583,11 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ I.createElement(X_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
+ }, /*#__PURE__*/ I.createElement(J_, { elementType: "span" }, /*#__PURE__*/ I.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), eO = 10, tO = 5, Gre = class {
+}), KD = 10, qD = 5, $re = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -30597,7 +30597,7 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(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) > tO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > eO && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > qD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > KD && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -30676,11 +30676,11 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > tO && i) {
+ if (Math.abs(r - c.lastSwitchY) > qD && 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 > eO && a) {
+ if (l > KD && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -30695,7 +30695,7 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
boundaryContext: null
};
}
-}, Kre = class {
+}, eie = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -30765,8 +30765,8 @@ for (var ZD = /*#__PURE__*/ (0, I.createContext)(null), Vre = /*#__PURE__*/ fh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, nO = "row-header-column-" + Math.random().toString(36).slice(2), rO = "row-header-column-" + Math.random().toString(36).slice(2); nO === rO;) rO = "row-header-column-" + Math.random().toString(36).slice(2);
-function iO(e, t) {
+}, JD = "row-header-column-" + Math.random().toString(36).slice(2), YD = "row-header-column-" + Math.random().toString(36).slice(2); JD === YD;) YD = "row-header-column-" + Math.random().toString(36).slice(2);
+function XD(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -30850,13 +30850,13 @@ function iO(e, t) {
textValue: ""
}));
}
-var qre = class extends Kre {
+var tie = class extends eie {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: nO,
+ key: JD,
value: null,
textValue: "",
level: 0,
@@ -30871,7 +30871,7 @@ var qre = class extends Kre {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: rO,
+ key: YD,
value: null,
textValue: "",
level: 0,
@@ -30898,7 +30898,7 @@ var qre = class extends Kre {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = iO(s, a);
+ let l = XD(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -30924,10 +30924,10 @@ var qre = class extends Kre {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Xv(this.body.childNodes)?.key ?? null;
+ return Jv(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Qv(this.body.childNodes)?.key ?? null;
+ return Xv(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -30959,19 +30959,19 @@ var qre = class extends Kre {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Jre(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || uD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function nie(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nD(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = Yv(n, t);
- e = r === "last" ? Qv(i)?.key ?? null : Xv(i)?.key ?? null;
+ let i = qv(n, t);
+ e = r === "last" ? Xv(i)?.key ?? null : Jv(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, I.useMemo)(() => new fD(t, r), [t, r]), s = (0, I.useRef)(null);
+ let o = (0, I.useMemo)(() => new iD(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;
@@ -30991,7 +30991,7 @@ function Jre(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...Yv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...qv(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);
}
@@ -31010,11 +31010,11 @@ function Jre(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Yre = {
+var rie = {
ascending: "descending",
descending: "ascending"
};
-function Xre(e) {
+function iie(e) {
let [t, n] = (0, I.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, I.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -31025,11 +31025,11 @@ function Xre(e) {
i,
r,
a
- ]), c = hD(e, (0, I.useCallback)((e) => new qre(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Jre({
+ ]), c = sD(e, (0, I.useCallback)((e) => new tie(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = nie({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = G_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -31041,7 +31041,7 @@ function Xre(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Yre[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? rie[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -31054,7 +31054,7 @@ function Xre(e) {
treeColumn: o
};
}
-function Zre(e, t) {
+function aie(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -31064,7 +31064,7 @@ function Zre(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Qre = class extends Nf {
+var oie = class extends Nf {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -31079,7 +31079,7 @@ var Qre = class extends Nf {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new dO(-2);
+ return new rO(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -31105,7 +31105,7 @@ var Qre = class extends Nf {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = iO(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 = XD(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;
@@ -31186,11 +31186,11 @@ var Qre = class extends Nf {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new cO(-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 eO(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, $re = /*#__PURE__*/ (0, I.createContext)(null), eie = /*#__PURE__*/ (0, I.createContext)(null), aO = /*#__PURE__*/ (0, I.createContext)(null), oO = /*#__PURE__*/ (0, I.createContext)(null), tie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, eie);
- let n = uD(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
+}, sie = /*#__PURE__*/ (0, I.createContext)(null), cie = /*#__PURE__*/ (0, I.createContext)(null), ZD = /*#__PURE__*/ (0, I.createContext)(null), QD = /*#__PURE__*/ (0, I.createContext)(null), lie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, cie);
+ let n = nD(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -31200,26 +31200,26 @@ var Qre = class extends Nf {
i,
a,
o
- ]), c = /*#__PURE__*/ I.createElement(iie.Provider, { value: s }, /*#__PURE__*/ I.createElement(Ph, e));
+ ]), c = /*#__PURE__*/ I.createElement(fie.Provider, { value: s }, /*#__PURE__*/ I.createElement(Ph, e));
return /*#__PURE__*/ I.createElement(Sh, {
content: c,
- createCollection: () => new Qre()
- }, (r) => /*#__PURE__*/ I.createElement(rie, {
+ createCollection: () => new oie()
+ }, (r) => /*#__PURE__*/ I.createElement(die, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), nie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}), uie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.table, {
+ }) : /*#__PURE__*/ I.createElement(UT.table, {
...e,
ref: t
});
-}), sO = {
+}), $D = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -31229,26 +31229,26 @@ var Qre = class extends Nf {
rtl: "ArrowRight"
}
};
-function rie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = qT(e, t, QT);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)($re);
+function die({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = zT(e, t, WT);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(sie);
t = ah((0, I.useMemo)(() => Bm(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = G_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ let [l, u] = 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 = Xre({
+ let d = iie({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Zre(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(rE), { dragAndDropHooks: _ } = e, { gridProps: v } = wte({
+ }), f = aie(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(YT), { dragAndDropHooks: _ } = e, { gridProps: v } = Dte({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, I.useRef)(b), (0, I.useRef)(x), (0, I.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ag(), [k] = (0, I.useState)(() => new Gre());
+ let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = ag(), [k] = (0, I.useState)(() => new $re());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -31263,7 +31263,7 @@ function rie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new ov({
+ let e = new iv({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -31283,12 +31283,12 @@ function rie({ 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 === sO.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === sO.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === $D.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $D.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 } = dy(), N = GT({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = uy(), N = LT({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31298,74 +31298,74 @@ function rie({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
isFocusVisible: M,
state: f
}
- }), ee = !!(b && !S?.isDisabled), te = N.style, P = null;
- c && (P = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (te = {
- ...te,
+ }), P = !!(b && !S?.isDisabled), ee = N.style, F = null;
+ c && (F = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (ee = {
+ ...ee,
tableLayout: "fixed",
width: "min-content"
}));
- let F = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(WT, { values: [
- [aO, f],
- [oO, P],
- [$E, {
+ let te = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(IT, { values: [
+ [ZD, f],
+ [QD, F],
+ [GE, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [eD, { render: mie }],
- [QT, null],
- [$T, null]
- ] }, /*#__PURE__*/ I.createElement(Wg, null, /*#__PURE__*/ I.createElement(nie, {
- ...H(F, N, v, A, w?.collectionProps),
- style: te,
+ [KE, { render: Sie }],
+ [WT, null],
+ [GT, null]
+ ] }, /*#__PURE__*/ I.createElement(Ug, null, /*#__PURE__*/ I.createElement(uie, {
+ ...H(te, N, v, A, w?.collectionProps),
+ style: ee,
ref: t,
slot: e.slot || void 0,
onScroll: e.onScroll,
- "data-allows-dragging": ee || void 0,
+ "data-allows-dragging": P || void 0,
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ I.createElement(iD, null, /*#__PURE__*/ I.createElement(g, {
+ }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: nD(y, _, C)
+ persistedKeys: JE(y, _, C)
})))), E);
}
-var iie = /*#__PURE__*/ (0, I.createContext)(null), cO = class extends Of {
+var fie = /*#__PURE__*/ (0, I.createContext)(null), eO = class extends Of {
static {
this.type = "tableheader";
}
-}, aie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}, pie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.thead, {
+ }) : /*#__PURE__*/ I.createElement(UT.thead, {
...e,
ref: t
});
-}), lO = /*#__PURE__*/ jh(cO, (e, t) => {
- let n = (0, I.useContext)(aO).collection, r = Rf({
+}), tO = /*#__PURE__*/ jh(eO, (e, t) => {
+ let n = (0, I.useContext)(ZD).collection, r = Rf({
items: n.headerRows,
children: (0, I.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ I.createElement(sie, { item: e });
+ case "headerrow": return /*#__PURE__*/ I.createElement(hie, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = cS(), { hoverProps: a, isHovered: o } = _y({
+ }), { rowGroupProps: i } = aS(), { hoverProps: a, isHovered: o } = my({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = GT({
+ }), s = LT({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ I.createElement(aie, {
- ...H(_g(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ I.createElement(pie, {
+ ...H(gg(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
@@ -31373,8 +31373,8 @@ var iie = /*#__PURE__*/ (0, I.createContext)(null), cO = class extends Of {
}, (e) => /*#__PURE__*/ I.createElement(Ph, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), oie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
+}, e.children)), mie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
return n ? /*#__PURE__*/ I.createElement("div", {
...e,
ref: t
@@ -31383,41 +31383,41 @@ var iie = /*#__PURE__*/ (0, I.createContext)(null), cO = class extends Of {
ref: t
});
});
-function sie({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(aO), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(rE), { rowProps: a } = Ote({
+function hie({ item: e }) {
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(ZD), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(YT), { rowProps: a } = jte({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Fte(n);
- return /*#__PURE__*/ I.createElement(oie, {
+ }, n, t), { checkboxProps: o } = Rte(n);
+ return /*#__PURE__*/ I.createElement(mie, {
...a,
ref: t
- }, /*#__PURE__*/ I.createElement(WT, { values: [[pE, { slots: { selection: o } }], [mE, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[aE, { slots: { selection: o } }], [oE, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var cie = class extends Of {
+var gie = class extends Of {
static {
this.type = "column";
}
-}, lie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}, _ie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.th, {
+ }) : /*#__PURE__*/ I.createElement(UT.th, {
...e,
ref: t
});
-}), uO = /*#__PURE__*/ Ah(cie, (e, t, n) => {
- let r = ah(t), i = (0, I.useContext)(aO), { isVirtualized: a } = (0, I.useContext)(rE), { columnHeaderProps: o, isPressed: s } = Dte({
+}), nO = /*#__PURE__*/ Ah(gie, (e, t, n) => {
+ let r = ah(t), i = (0, I.useContext)(ZD), { isVirtualized: a } = (0, I.useContext)(YT), { columnHeaderProps: o, isPressed: s } = Ate({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = dy(), d = (0, I.useContext)(oO), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = uy(), d = (0, I.useContext)(QD), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = _y({ isDisabled: !e.allowsSorting }), h = GT({
+ let { hoverProps: p, isHovered: m } = my({ isDisabled: !e.allowsSorting }), h = LT({
...e,
id: void 0,
children: n.rendered,
@@ -31443,8 +31443,8 @@ var cie = class extends Of {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = _g(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ I.createElement(lie, {
+ let _ = gg(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ I.createElement(_ie, {
...H(_, o, u, p),
...h,
style: g,
@@ -31456,28 +31456,28 @@ var cie = class extends Of {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ I.createElement(WT, { values: [[uie, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[vie, {
column: n,
triggerRef: r
- }], [rE, tE]] }, h.children));
-}), uie = /*#__PURE__*/ (0, I.createContext)(null), dO = class extends kf {
+ }], [YT, qT]] }, h.children));
+}), vie = /*#__PURE__*/ (0, I.createContext)(null), rO = class extends kf {
static {
this.type = "tablebody";
}
-}, die = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}, yie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.tbody, {
+ }) : /*#__PURE__*/ I.createElement(UT.tbody, {
...e,
ref: t
});
-}), fO = /*#__PURE__*/ jh(dO, (e, t, n) => {
- let r = (0, I.useContext)(aO), { isVirtualized: i } = (0, I.useContext)(rE), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(rE), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)($E), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), iO = /*#__PURE__*/ jh(rO, (e, t, n) => {
+ let r = (0, I.useContext)(ZD), { isVirtualized: i } = (0, I.useContext)(YT), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(YT), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(GE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = GT({
+ }, p = LT({
...e,
id: void 0,
children: void 0,
@@ -31486,25 +31486,25 @@ var cie = class extends Of {
}), 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(mO, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ I.createElement(oO, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ I.createElement(gO, {
+ }, /*#__PURE__*/ I.createElement(cO, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = cS(), _ = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(die, {
+ let { rowGroupProps: g } = aS(), _ = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(yie, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ I.createElement(yie, null), /*#__PURE__*/ I.createElement(o, {
+ }, l && /*#__PURE__*/ I.createElement(Die, null), /*#__PURE__*/ I.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: tD(s, c)
+ renderDropIndicator: qE(s, c)
}), m);
});
(class extends kf {
@@ -31512,7 +31512,7 @@ var cie = class extends Of {
this.type = "tablefooter";
}
});
-var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fie = class extends Of {
+var aO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), bie = class extends Of {
static {
this.type = "item";
}
@@ -31524,31 +31524,31 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
}
return null;
}
-}, mO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}, oO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.tr, {
+ }) : /*#__PURE__*/ I.createElement(UT.tr, {
...e,
ref: t
});
-}), hO = /*#__PURE__*/ jh(fie, (e, t, n) => {
- let r = ah(t), i = (0, I.useContext)(aO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)($E), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(rE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = jte({
+}), sO = /*#__PURE__*/ jh(bie, (e, t, n) => {
+ let r = ah(t), i = (0, I.useContext)(ZD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(GE), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(YT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Pte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = dy(), { isFocusVisible: _, focusProps: v } = dy({ within: !0 }), { hoverProps: y, isHovered: b } = _y({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = uy(), { isFocusVisible: _, focusProps: v } = uy({ within: !0 }), { hoverProps: y, isHovered: b } = my({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Pte({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Lte({ 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 } = Y_();
+ let C, w = (0, I.useRef)(null), { visuallyHiddenProps: T } = q_();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -31558,7 +31558,7 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
(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 = GT({
+ 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 = LT({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -31579,11 +31579,11 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
isExpanded: j,
level: n.level + 1
}
- }), N = _g(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(mO, {
+ }), N = gg(e, { global: !0 });
+ return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(oO, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(gO, {
+ }, /*#__PURE__*/ I.createElement(cO, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -31592,7 +31592,7 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ I.createElement(mO, {
+ }))), /*#__PURE__*/ I.createElement(oO, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -31608,17 +31608,17 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(WT, { values: [
- [pE, { slots: {
- [UT]: {},
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [aE, { slots: {
+ [FT]: {},
selection: x
} }],
- [mE, { slots: {
- [UT]: {},
+ [oE, { slots: {
+ [FT]: {},
selection: x
} }],
- [oE, { slots: {
- [UT]: {},
+ [QT, { slots: {
+ [FT]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -31626,8 +31626,8 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
style: { pointerEvents: "none" }
}
} }],
- [aD, { isSelected: p.isSelected }],
- [pO, { isFocusVisibleWithinRow: _ }]
+ [ZE, { isSelected: p.isSelected }],
+ [aO, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ I.createElement(l, {
collection: i.collection,
parent: n
@@ -31640,29 +31640,29 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
items: e.columns,
idScope: e.id
}, e.children);
-}), pie = class extends Of {
+}), xie = class extends Of {
static {
this.type = "cell";
}
-}, gO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}, cO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.td, {
+ }) : /*#__PURE__*/ I.createElement(UT.td, {
...e,
ref: t
});
-}), _O = /*#__PURE__*/ Ah(pie, (e, t, n) => {
- let r = ah(t), i = (0, I.useContext)(aO), { dragState: a } = (0, I.useContext)($E), { isVirtualized: o } = (0, I.useContext)(rE);
+}), lO = /*#__PURE__*/ Ah(xie, (e, t, n) => {
+ let r = ah(t), i = (0, I.useContext)(ZD), { dragState: a } = (0, I.useContext)(GE), { isVirtualized: o } = (0, I.useContext)(YT);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Tte({
+ let { gridCellProps: s, isPressed: c } = Ote({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = dy(), { hoverProps: f, isHovered: p } = _y({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(pO), 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 = GT({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = uy(), { hoverProps: f, isHovered: p } = my({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(aO), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = LT({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -31681,8 +31681,8 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = _g(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ I.createElement(gO, {
+ }), S = gg(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ I.createElement(cO, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -31696,14 +31696,14 @@ var pO = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), fi
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ I.createElement(rE.Provider, { value: tE }, x.children));
+ }, /*#__PURE__*/ I.createElement(YT.Provider, { value: qT }, x.children));
});
-function mie(e, t) {
+function Sie(e, t) {
t = ah(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)($E), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(GE), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ I.createElement(vie, {
+ return /*#__PURE__*/ I.createElement(Eie, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -31712,40 +31712,40 @@ function mie(e, t) {
ref: t
});
}
-var hie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+var Cie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.tr, {
+ }) : /*#__PURE__*/ I.createElement(UT.tr, {
...e,
ref: t
});
-}), gie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(rE);
- return n ? /*#__PURE__*/ I.createElement(ZT.div, {
+}), wie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)(YT);
+ return n ? /*#__PURE__*/ I.createElement(UT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(ZT.td, {
+ }) : /*#__PURE__*/ I.createElement(UT.td, {
...e,
ref: t
});
});
-function _ie(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(aO), { visuallyHiddenProps: c } = Y_(), l = GT({
+function Tie(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(ZD), { visuallyHiddenProps: c } = q_(), l = LT({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(hie, {
- ..._g(e, { global: !0 }),
+ return /*#__PURE__*/ I.createElement(Cie, {
+ ...gg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ I.createElement(gie, {
+ }, /*#__PURE__*/ I.createElement(wie, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -31756,14 +31756,14 @@ function _ie(e, t) {
ref: i
}), l.children));
}
-var vie = /*#__PURE__*/ (0, I.forwardRef)(_ie);
-function yie() {
- let e = (0, I.useContext)(aO), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)($E), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Y_();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(mO, {
+var Eie = /*#__PURE__*/ (0, I.forwardRef)(Tie);
+function Die() {
+ let e = (0, I.useContext)(ZD), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(GE), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = q_();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(oO, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(gO, {
+ }, /*#__PURE__*/ I.createElement(cO, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -31775,8 +31775,8 @@ function yie() {
})));
}
Ah(Af, function(e, t, n) {
- let r = (0, I.useContext)(aO), { isVirtualized: i } = (0, I.useContext)(rE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
- vD((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(ZD), { isVirtualized: i } = (0, I.useContext)(YT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
+ uD((0, I.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -31786,7 +31786,7 @@ Ah(Af, function(e, t, n) {
s,
r?.collection
]), u);
- let d = GT({
+ let d = LT({
...c,
id: void 0,
children: n.rendered,
@@ -31794,10 +31794,10 @@ Ah(Af, 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(mO, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(oO, {
style: { height: 0 },
- inert: sD(!0)
- }, /*#__PURE__*/ I.createElement(gO, { style: {
+ inert: $E(!0)
+ }, /*#__PURE__*/ I.createElement(cO, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ I.createElement("div", {
@@ -31808,14 +31808,14 @@ Ah(Af, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ I.createElement(mO, {
- ...H(_g(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ I.createElement(oO, {
+ ...H(gg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(gO, {
+ }, /*#__PURE__*/ I.createElement(cO, {
role: "rowheader",
...p,
style: m
@@ -31823,8 +31823,8 @@ Ah(Af, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function bie(e) {
- let [t, n] = G_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = gD({
+function Oie(e) {
+ let [t, n] = U_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cD({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -31847,24 +31847,24 @@ function bie(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function xie(e) {
- let t = bie({
+function kie(e) {
+ let t = Oie({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? vO(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? uO(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 = vO(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 = uO(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 vO(e, t) {
+function uO(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);
@@ -31874,24 +31874,24 @@ function vO(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var yO = /*#__PURE__*/ (0, I.createContext)(null), bO = /*#__PURE__*/ (0, I.createContext)(null), xO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = qT(e, t, yO);
+var dO = /*#__PURE__*/ (0, I.createContext)(null), fO = /*#__PURE__*/ (0, I.createContext)(null), pO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = zT(e, t, dO);
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(Sh, { content: n }, (n) => /*#__PURE__*/ I.createElement(Sie, {
+ }) : n, [n, r]), /*#__PURE__*/ I.createElement(Sh, { content: n }, (n) => /*#__PURE__*/ I.createElement(Aie, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Sie({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = xie({
+function Aie({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = kie({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = dy({ within: !0 }), c = (0, I.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = uy({ within: !0 }), c = (0, I.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -31899,12 +31899,12 @@ function Sie({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = GT({
+ ]), l = LT({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = _g(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(ZT.div, {
+ }), u = gg(e, { global: !0 });
+ return /*#__PURE__*/ I.createElement(UT.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -31912,20 +31912,20 @@ function Sie({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ I.createElement(WT, { values: [[yO, e], [bO, i]] }, l.children));
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[dO, e], [fO, i]] }, l.children));
}
-var SO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return (0, I.useContext)(bO) ? /*#__PURE__*/ I.createElement(Cie, {
+var mO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return (0, I.useContext)(fO) ? /*#__PURE__*/ I.createElement(jie, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ I.createElement(Ph, e);
});
-function Cie({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(bO), { CollectionRoot: r } = (0, I.useContext)(rE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = KT(yO), o = ah(t), { tabListProps: s } = Rte({
+function jie({ props: e, forwardedRef: t }) {
+ let n = (0, I.useContext)(fO), { CollectionRoot: r } = (0, I.useContext)(YT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RT(dO), o = ah(t), { tabListProps: s } = Vte({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = GT({
+ }, n, o), c = LT({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -31933,30 +31933,30 @@ function Cie({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = _g(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ I.createElement(ZT.div, {
+ }), l = gg(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ I.createElement(UT.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ I.createElement(iD, null, /*#__PURE__*/ I.createElement(r, {
+ }, /*#__PURE__*/ I.createElement(XE, null, /*#__PURE__*/ I.createElement(r, {
collection: n.collection,
- persistedKeys: iE(n.selectionManager.focusedKey)
+ persistedKeys: XT(n.selectionManager.focusedKey)
})));
}
-var CO = /*#__PURE__*/ Ah(class extends Of {
+var hO = /*#__PURE__*/ Ah(class extends Of {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(bO), i = ah(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Ite({
+ let r = (0, I.useContext)(fO), i = ah(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = zte({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = dy(), { hoverProps: f, isHovered: p } = _y({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = uy(), { hoverProps: f, isHovered: p } = my({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = GT({
+ }), m = LT({
...e,
id: void 0,
children: n.rendered,
@@ -31969,7 +31969,7 @@ var CO = /*#__PURE__*/ Ah(class extends Of {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? ZT.a : ZT.div, g = _g(e, { global: !0 });
+ }), h = n.props.href ? UT.a : UT.div, g = gg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ I.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -31979,58 +31979,58 @@ var CO = /*#__PURE__*/ Ah(class extends Of {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ I.createElement(aD.Provider, { value: { isSelected: o } }, m.children));
-}), wO = /*#__PURE__*/ fh(function(e, t) {
- let n = (0, I.useContext)(bO), r = ah(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ I.createElement(ZE.Provider, { value: { isSelected: o } }, m.children));
+}), gO = /*#__PURE__*/ fh(function(e, t) {
+ let n = (0, I.useContext)(fO), r = ah(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = wD(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(wie, {
+ let s = gD(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(Mie, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function wie(e) {
- let t = (0, I.useContext)(bO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = zte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = dy(), d = t.selectedKey === e.id, f = CD(r) && !i, p = GT({
+function Mie(e) {
+ let t = (0, I.useContext)(fO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Hte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = uy(), d = t.selectedKey === e.id, f = hD(r) && !i, p = LT({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: sD(!d),
+ isInert: $E(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = _g(o, { global: !0 });
+ }), m = gg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ I.createElement(ZT.div, {
+ return /*#__PURE__*/ I.createElement(UT.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: sD(!d || e.inert),
+ inert: $E(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ I.createElement(WT, { values: [[yO, null], [bO, null]] }, /*#__PURE__*/ I.createElement(rE.Provider, { value: tE }, p.children)));
+ }, /*#__PURE__*/ I.createElement(IT, { values: [[dO, null], [fO, null]] }, /*#__PURE__*/ I.createElement(YT.Provider, { value: qT }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Tie = /*#__PURE__*/ (0, I.createContext)({}), Eie = /*#__PURE__*/ (0, I.createContext)(null), Die = /*#__PURE__*/ fh(function(e, t) {
- [e, t] = qT(e, t, Eie);
- let { validationBehavior: n } = KT(fE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
- [e, i] = qT(e, i, $T);
- let [a, o] = JT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = xee({
- ...YT(e),
+var Nie = /*#__PURE__*/ (0, I.createContext)({}), Pie = /*#__PURE__*/ (0, I.createContext)(null), Fie = /*#__PURE__*/ fh(function(e, t) {
+ [e, t] = zT(e, t, Pie);
+ let { validationBehavior: n } = RT(iE) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
+ [e, i] = zT(e, i, GT);
+ let [a, o] = BT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Cee({
+ ...VT(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 = GT({
+ }, [i]), h = LT({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -32039,8 +32039,8 @@ var Tie = /*#__PURE__*/ (0, I.createContext)({}), Eie = /*#__PURE__*/ (0, I.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = _g(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ I.createElement(ZT.div, {
+ }), g = gg(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ I.createElement(UT.div, {
...g,
...h,
ref: t,
@@ -32049,31 +32049,31 @@ var Tie = /*#__PURE__*/ (0, I.createContext)({}), Eie = /*#__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(WT, { values: [
- [aE, {
+ }, /*#__PURE__*/ I.createElement(IT, { values: [
+ [ZT, {
...l,
ref: a
}],
- [_E, {
+ [lE, {
...u,
ref: m
}],
- [Tie, {
+ [Nie, {
...u,
ref: m
}],
- [gE, {
+ [cE, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [uE, { slots: {
+ [nE, { slots: {
description: d,
errorMessage: f
} }],
- [dE, p]
+ [rE, p]
] }, h.children));
-}), TO = Sw({
+}), _O = _w({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -32094,21 +32094,21 @@ var Tie = /*#__PURE__*/ (0, I.createContext)({}), Eie = /*#__PURE__*/ (0, I.crea
small: "size-4 shrink-0"
}
});
-function EO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function vO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: xw(TO.base, TO.size[t], n),
+ className: gw(_O.base, _O.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
- className: TO.icon[t],
+ className: _O.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Oie = Sw({
+var Iie = _w({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -32170,23 +32170,23 @@ var Oie = Sw({
}
}
});
-function kie({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Oie[t];
+function Lie({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Iie[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: xw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? xw("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: gw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? gw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, L.jsx)("span", {
- className: xw("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: xw("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: gw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, L.jsx)("span", { className: gw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function DO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(Ure, {
+function yO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Zre, {
ref: i,
...a,
- className: (t) => xw("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)(kie, {
+ className: (t) => gw("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Lie, {
state: e,
size: n,
shape: r
@@ -32196,7 +32196,7 @@ function DO({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
})] })
});
}
-function OO(e) {
+function bO(e) {
return {
x0: 0,
y0: 0,
@@ -32204,7 +32204,7 @@ function OO(e) {
y1: e.height
};
}
-function kO(e) {
+function xO(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -32212,40 +32212,40 @@ function kO(e) {
y1: Math.round(e.y1)
};
}
-function AO(e) {
+function SO(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function jO(e, t) {
- if (!AO(e)) return {
+function CO(e, t) {
+ if (!SO(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return OO(e);
+ if (t == null || !(t > 0)) return bO(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return kO({
+ return xO({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Aie(e, t) {
- if (!AO(e) || !(t > 0)) return OO(e);
+function Rie(e, t) {
+ if (!SO(e) || !(t > 0)) return bO(e);
let n = Math.min(e.width, e.height * t);
- return kO({
+ return xO({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function jie(e, t, n) {
- if (!AO(t) || !(n > 0)) return OO(t);
- let r = MO(e, t), i = jO({
+function zie(e, t, n) {
+ if (!SO(t) || !(n > 0)) return bO(t);
+ let r = wO(e, t), i = CO({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -32256,8 +32256,8 @@ function jie(e, t, n) {
y1: r.y0 + i.y1
};
}
-function MO(e, t, n = null, r = "width") {
- if (!AO(t)) return {
+function wO(e, t, n = null, r = "width") {
+ if (!SO(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -32266,43 +32266,43 @@ function MO(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 kO({
+ return xO({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function NO(e, t, n, r) {
+function TO(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return kO({
+ return xO({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function PO(e, t, n, r = null) {
- if (!AO(n) || !(t > 0)) return e;
+function EO(e, t, n, r = null) {
+ if (!SO(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 MO({
+ return wO({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Mie(e, t, n, r, i = null) {
+function Bie(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 MO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return wO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Nie(e, t) {
- return AO(t) ? {
+function Vie(e, t) {
+ return SO(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -32314,8 +32314,8 @@ function Nie(e, t) {
height: 0
};
}
-function Pie(e, t) {
- if (!AO(t)) return {
+function Hie(e, t) {
+ if (!SO(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -32325,7 +32325,7 @@ function Pie(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Fie(e, t) {
+function Uie(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}%`,
@@ -32334,25 +32334,25 @@ function Fie(e, t) {
height: `${t.height / r * 100}%`
};
}
-function FO(e, t, n) {
+function DO(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var Iie = {
+var Wie = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function IO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- return /* @__PURE__ */ (0, L.jsx)(UD, {
+function OO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ return /* @__PURE__ */ (0, L.jsx)(FD, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, L.jsx)(Ere, {
- className: `flex max-h-full w-full ${Iie[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ children: /* @__PURE__ */ (0, L.jsx)(Pre, {
+ className: `flex max-h-full w-full ${Wie[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, L.jsx)(jD, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -32360,7 +32360,7 @@ function IO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function LO({ children: e }) {
+function kO({ 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",
@@ -32369,19 +32369,19 @@ function LO({ children: e }) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function Lie(e) {
+function Gie(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 Rie(e) {
+function Kie(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Lie(n ?? t.body);
+ return Gie(n ?? t.body);
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function RO() {
+function AO() {
let e = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
m(e.current);
@@ -32389,8 +32389,8 @@ function RO() {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var zie = .02, zO = 1.08;
-function BO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var qie = .02, jO = 1.08;
+function MO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, I.useRef)(null), c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
u(!1);
@@ -32401,8 +32401,8 @@ function BO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: FO(e, n.clientWidth, r.width),
- dy: FO(t, n.clientHeight, r.height)
+ dx: DO(e, n.clientWidth, r.width),
+ dy: DO(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -32420,29 +32420,29 @@ function BO({ 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(NO(n.box, o.dx, o.dy, r));
+ i(TO(n.box, o.dx, o.dy, r));
return;
}
- i(Mie(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(Bie(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
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) * zie), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * qie), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(NO(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(TO(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(PO(n, e.key === "-" ? 1 / zO : zO, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(EO(n, e.key === "-" ? 1 / jO : jO, r, t)));
}
- let g = n && r ? Nie(MO(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? Vie(wO(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -32461,7 +32461,7 @@ function BO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- AO({
+ SO({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -32500,7 +32500,7 @@ function BO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(PO(n, e.deltaY > 0 ? zO : 1 / zO, r, t));
+ !n || !r || i(EO(n, e.deltaY > 0 ? jO : 1 / jO, 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", {
@@ -32522,11 +32522,11 @@ function BO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var Bie = "/api/cover-crop", Vie = (e, t) => q(Bie, {
+var Jie = "/api/cover-crop", Yie = (e, t) => q(Jie, {
code: e,
box: t
-}), VO = .704;
-function HO({ className: e }) {
+}), NO = .704;
+function PO({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32539,7 +32539,7 @@ function HO({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-crop" })
});
}
-function Hie({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Xie({ 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,
@@ -32550,15 +32550,15 @@ function Hie({ 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)(HO, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, L.jsx)(oy, {
- getContainer: () => Rie(o.current),
- children: /* @__PURE__ */ (0, L.jsx)(IO, {
+ children: /* @__PURE__ */ (0, L.jsx)(PO, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, L.jsx)(ay, {
+ getContainer: () => Kie(o.current),
+ children: /* @__PURE__ */ (0, L.jsx)(OO, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, L.jsx)(Uie, {
+ children: /* @__PURE__ */ (0, L.jsx)(Zie, {
code: e,
coverUrl: t,
box: n,
@@ -32568,9 +32568,9 @@ function Hie({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Uie({ 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 = RO(), f = kt({
- mutationFn: (t) => Vie(e, t),
+function Zie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = AO(), f = kt({
+ mutationFn: (t) => Yie(e, t),
onSuccess: () => {
i(), r();
}
@@ -32582,19 +32582,19 @@ function Uie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Aie(e, VO);
- c(MO(t, e, null));
+ } : Rie(e, NO);
+ c(wO(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)(LO, { children: /* @__PURE__ */ (0, L.jsx)(HO, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(kO, { children: /* @__PURE__ */ (0, L.jsx)(PO, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(lE, {
+ /* @__PURE__ */ (0, L.jsx)(tE, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -32609,8 +32609,8 @@ function Uie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(EO, {
- icon: _S,
+ /* @__PURE__ */ (0, L.jsx)(vO, {
+ icon: mS,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -32620,24 +32620,24 @@ function Uie({ 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)(BO, {
+ children: /* @__PURE__ */ (0, L.jsx)(MO, {
src: t,
- aspect: l ? VO : null,
+ aspect: l ? NO : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- AO(e) && p(e);
+ SO(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)(DO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(yO, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(MO(s, a, VO));
+ u(e), e && s && a && c(wO(s, a, NO));
},
children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -32666,32 +32666,32 @@ function Uie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/media-sources.ts
-var Wie = "/api/sources", UO = ["media-sources"], WO = (e) => kw(Wie, e);
-async function GO(e) {
+var Qie = "/api/sources", FO = ["media-sources"], IO = (e) => ww(Qie, e);
+async function LO(e) {
await X.fetchQuery({
- queryKey: UO,
- queryFn: () => WO(e)
+ queryKey: FO,
+ queryFn: () => IO(e)
});
}
-var Gie = [
+var $ie = [
"local",
"115",
"pikpak"
-], Kie = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), qie = "/api/duplicates?limit=120", KO = ["duplicates"], Jie = "/api/batch", qO = (e) => kw(qie, e);
-async function JO(e) {
+], eae = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), tae = "/api/duplicates?limit=120", RO = ["duplicates"], nae = "/api/batch", zO = (e) => ww(tae, e);
+async function rae(e) {
await Promise.all([X.fetchQuery({
- queryKey: KO,
- queryFn: () => qO(e)
- }), GO(e)]);
+ queryKey: RO,
+ queryFn: () => zO(e)
+ }), LO(e)]);
}
-var YO = {
+var BO = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, Yie = (e, t) => t.filter((t) => e.some((e) => e.location === t)), XO = (e, t) => Yie(e, t).filter((t) => e.some((e) => e.location !== t)), ZO = (e, t) => t.filter((t) => e.some((e) => XO(e.files, [t]).length));
-function QO(e, t) {
+}, VO = (e, t) => t.filter((t) => e.some((e) => e.location === t)), HO = (e, t) => VO(e, t).filter((t) => e.some((e) => e.location !== t)), iae = (e, t) => t.filter((t) => e.some((e) => HO(e.files, [t]).length));
+function UO(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -32710,47 +32710,47 @@ function QO(e, t) {
}
return n;
}
-function Xie(e, t) {
+function WO(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 $O(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(Jie, {
+async function GO(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(nae, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var ek = "/api/library-processing", tk = ["library-processing"], nk = (e) => kw(ek, e);
-async function rk(e) {
+var KO = "/api/library-processing", qO = ["library-processing"], JO = (e) => ww(KO, e);
+async function YO(e) {
await X.fetchQuery({
- queryKey: tk,
- queryFn: () => nk(e)
+ queryKey: qO,
+ queryFn: () => JO(e)
});
}
-var Zie = 2e3, Qie = 1e4, ik = "连接中断,正在重新读取处理进度";
-function ak(e, t) {
- return e?.status === "running" ? Zie : t ? Qie : !1;
+var aae = 2e3, oae = 1e4, XO = "连接中断,正在重新读取处理进度";
+function sae(e, t) {
+ return e?.status === "running" ? aae : t ? oae : !1;
}
-var ok = {
+var cae = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, sk = {
+}, ZO = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function ck(e) {
- let t = Object.entries(e).filter(([e, t]) => sk[e] && t > 0).map(([e, t]) => `${sk[e]} ${t} 部`);
+function QO(e) {
+ let t = Object.entries(e).filter(([e, t]) => ZO[e] && t > 0).map(([e, t]) => `${ZO[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function lk(e) {
- let t = ok[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function $O(e) {
+ let t = cae[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 uk(e) {
+function ek(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -32764,21 +32764,21 @@ function uk(e) {
log: e.issues_log || ""
} : null;
}
-var dk = "peach.library-processing.announced", $ie = 120;
-function eae(e, t, n) {
+var tk = "peach.library-processing.announced", nk = 120;
+function lae(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < $ie;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < nk;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(dk) === e.job_id) return;
- e.job_id && localStorage.setItem(dk, e.job_id);
+ if (e.job_id && localStorage.getItem(tk) === e.job_id) return;
+ e.job_id && localStorage.setItem(tk, 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 fk = "/api/media-repair", pk = ["media-repair"], mk = ["media-repair", "libraries"], tae = {
+var rk = "/api/media-repair", ik = ["media-repair"], ak = ["media-repair", "libraries"], uae = {
status: "idle",
library: "",
stage: "",
@@ -32790,33 +32790,33 @@ var fk = "/api/media-repair", pk = ["media-repair"], mk = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, hk = (e) => kw(fk, e), gk = async (e) => (await kw("/api/libraries", e)).libraries || [];
-async function _k(e) {
+}, ok = (e) => ww(rk, e), sk = async (e) => (await ww("/api/libraries", e)).libraries || [];
+async function dae(e) {
await Promise.all([X.fetchQuery({
- queryKey: pk,
- queryFn: () => hk(e)
+ queryKey: ik,
+ queryFn: () => ok(e)
}), X.fetchQuery({
- queryKey: mk,
- queryFn: () => gk(e)
+ queryKey: ak,
+ queryFn: () => sk(e)
})]);
}
-var vk = (e) => Number(e).toLocaleString();
-function yk(e) {
+var ck = (e) => Number(e).toLocaleString();
+function fae(e) {
if (e.status === "running") {
- let t = e.total ? `${vk(e.checked)} / ${vk(e.total)}` : "准备中";
+ let t = e.total ? `${ck(e.checked)} / ${ck(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${vk(e.repaired)} 部,${vk(e.failed)} 部修不了` : `修好 ${vk(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${ck(e.repaired)} 部,${ck(e.failed)} 部修不了` : `修好 ${ck(e.repaired)} 部` : "";
}
-var bk = (e) => `${vk(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, xk = "/api/quality-goals?limit=200", Sk = ["quality-goals"], Ck = (e) => kw(xk, e);
-async function wk(e) {
+var lk = (e) => `${ck(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, uk = "/api/quality-goals?limit=200", dk = ["quality-goals"], fk = (e) => ww(uk, e);
+async function pk(e) {
await X.fetchQuery({
- queryKey: Sk,
- queryFn: () => Ck(e)
+ queryKey: dk,
+ queryFn: () => fk(e)
});
}
-var Tk = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function Ek(e, t, n = 1) {
+var mk = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function hk(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -32836,21 +32836,21 @@ function Ek(e, t, n = 1) {
t
];
}
-function Dk(e, t) {
+function gk(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function Ok(e, t) {
+function _k(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function kk(e, t, n, r, i, a = i || !e.has(r)) {
+function vk(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 Ak(e) {
+function yk(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -32859,7 +32859,7 @@ function Ak(e) {
}
//#endregion
//#region src/react/review/review.ts
-var jk = "/api/review", Mk = "/api/review/decision", nae = "/api/review/genre", Nk = ["review"], Pk = {
+var bk = "/api/review", xk = "/api/review/decision", Sk = "/api/review/genre", Ck = ["review"], wk = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -32869,15 +32869,15 @@ var jk = "/api/review", Mk = "/api/review/decision", nae = "/api/review/genre",
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, rae = Object.keys(Pk), iae = "metadata_fields", Fk = (e) => typeof e == "string" && Object.hasOwn(Pk, e), aae = {
+}, pae = Object.keys(wk), mae = "metadata_fields", Tk = (e) => typeof e == "string" && Object.hasOwn(wk, e), hae = {
creator_tags: "creator",
western_identity: "creator"
};
-function oae(e, t) {
+function gae(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 Ik(e, t) {
+function Ek(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -32894,43 +32894,43 @@ function Ik(e, t) {
}
return [...n.values()];
}
-function sae(e, t, n) {
- return n && Ik(e, t).find((e) => e.key === n)?.rows || e;
+function _ae(e, t, n) {
+ return n && Ek(e, t).find((e) => e.key === n)?.rows || e;
}
-function cae(e, t) {
- let n = Dk(e.length, 20), r = Ok(t, n);
+function vae(e, t) {
+ let n = gk(e.length, 20), r = _k(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function lae(e) {
+function yae(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 uae(e, t, n, r, i, a) {
- return kk(e, t, n, r, i, a);
+function bae(e, t, n, r, i, a) {
+ return vk(e, t, n, r, i, a);
}
-function Lk(e, t) {
+function Dk(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Rk(e, t) {
+function Ok(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var zk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function dae(e, t) {
- let n = Rk(e, t), r = zk(e, t);
+var kk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function xae(e, t) {
+ let n = Ok(e, t), r = kk(e, t);
return r ? `${n} · ${r}` : n;
}
-var fae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", pae = (e) => String(e.tags || "").split("|").filter(Boolean), mae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function hae(e) {
+var Sae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Cae = (e) => String(e.tags || "").split("|").filter(Boolean), wae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Tae(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Bk(e, t, n, r) {
+function Ak(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -32946,19 +32946,19 @@ function Bk(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Vk = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Hk = (e) => kw(jk, e), Uk = (e) => q(Mk, e), Wk = (e, t) => q(nae, {
+var Eae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", jk = (e) => ww(bk, e), Mk = (e) => q(xk, e), Nk = (e, t) => q(Sk, {
genre: e,
tag: t
});
-async function Gk(e) {
+async function Pk(e) {
await X.fetchQuery({
- queryKey: Nk,
- queryFn: () => Hk(e)
+ queryKey: Ck,
+ queryFn: () => jk(e)
});
}
-function Kk(e, t) {
+function Fk(e, t) {
let n = new Set(t);
- n.size && X.setQueryData(Nk, (t) => {
+ n.size && X.setQueryData(Ck, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -32974,161 +32974,161 @@ function Kk(e, t) {
};
});
}
-var qk = () => X.invalidateQueries({
- queryKey: Nk,
+var Ik = () => X.invalidateQueries({
+ queryKey: Ck,
exact: !0
});
-function Jk(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Ak(e.fetched_at)} 的缓存` : e?.error || t;
+function Lk(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${yk(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Yk = "/api/links", Xk = "/api/links/check", Zk = "/api/links/prune", Qk = ["links"], $k = ["links", "check"], eA = ["links", "prune"], tA = {
+var Rk = "/api/links", zk = "/api/links/check", Bk = "/api/links/prune", Vk = ["links"], Hk = ["links", "check"], Uk = ["links", "prune"], Wk = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function nA(e) {
+async function Gk(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var rA = (e) => kw(Yk, e), iA = (e) => q(Xk, { status_only: !0 }, "POST", e), aA = ({ retry: e, checkId: t }) => nA(q(Xk, e ? {
+var Kk = (e) => ww(Rk, e), qk = (e) => q(zk, { status_only: !0 }, "POST", e), Jk = ({ retry: e, checkId: t }) => Gk(q(zk, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), oA = (e) => kw(Zk, e), sA = (e) => nA(q(Zk, {
+} : { restart: !0 })), Yk = (e) => ww(Bk, e), Xk = (e) => Gk(q(Bk, {
confirm: !0,
check_id: e,
background: !0
-})), cA = (e) => Number(e || 0).toLocaleString(), lA = (e) => `已删除 ${cA(e.removed)} 条;${e.marked ? `已隐退女优的 ${cA(e.marked)} 条留作不可点的记录;` : ""}保留 ${cA(e.recovered)} 条未确认失效的链接。`;
-function uA(e) {
+})), Zk = (e) => Number(e || 0).toLocaleString(), Qk = (e) => `已删除 ${Zk(e.removed)} 条;${e.marked ? `已隐退女优的 ${Zk(e.marked)} 条留作不可点的记录;` : ""}保留 ${Zk(e.recovered)} 条未确认失效的链接。`;
+function $k(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${cA(e.checked)} / ${cA(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Zk(e.checked)} / ${Zk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var dA = "/api/organize", fA = "/api/organize/preview", pA = "/api/organize/apply", mA = "/api/organize/rollback", hA = "/api/settings", gA = ["organize"], _A = (e) => kw(dA, e);
-async function vA(e) {
+var eA = "/api/organize", tA = "/api/organize/preview", nA = "/api/organize/apply", rA = "/api/organize/rollback", iA = "/api/settings", aA = ["organize"], oA = (e) => ww(eA, e);
+async function sA(e) {
await X.fetchQuery({
- queryKey: gA,
- queryFn: () => _A(e)
+ queryKey: aA,
+ queryFn: () => oA(e)
});
}
-var yA = (e) => q(fA, e), bA = (e) => e.kind === "apply" ? q(pA, {
+var cA = (e) => q(tA, e), lA = (e) => e.kind === "apply" ? q(nA, {
...e.request,
confirm: !0
-}) : q(mA, { confirm: !0 });
-async function xA(e) {
- X.setQueryData(gA, (t) => t && {
+}) : q(rA, { confirm: !0 });
+async function uA(e) {
+ X.setQueryData(aA, (t) => t && {
...t,
templates: e
});
try {
- await q(hA, { organizeTemplates: e });
+ await q(iA, { organizeTemplates: e });
} catch {}
}
-var SA = (e, t) => e && {
+var dA = (e, t) => e && {
...e,
...t
-}, CA = /目录模板|分隔符|盘符|`\.`/;
-function wA(e) {
+}, fA = /目录模板|分隔符|盘符|`\.`/;
+function pA(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var TA = (e) => Number(e || 0).toLocaleString();
-function gae(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${TA(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${TA(e.counts.change)} 个文件会改名或移动,${TA(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var mA = (e) => Number(e || 0).toLocaleString();
+function hA(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${mA(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${mA(e.counts.change)} 个文件会改名或移动,${mA(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function EA(e) {
+function gA(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${TA(r)} 个文件${n ? `,${TA(n)} 行未能退回` : ""}。` : `已整理 ${TA(r)} 个文件${n ? `,${TA(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${mA(r)} 个文件${n ? `,${mA(n)} 行未能退回` : ""}。` : `已整理 ${mA(r)} 个文件${n ? `,${mA(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var DA = "/api/resource-sync/scan", OA = "/api/resource-sync/apply", kA = ["resource-sync", "scan"], AA = ["resource-sync", "apply"], jA = (e) => q(DA, {
+var _A = "/api/resource-sync/scan", vA = "/api/resource-sync/apply", yA = ["resource-sync", "scan"], bA = ["resource-sync", "apply"], xA = (e) => q(_A, {
background: !0,
status_only: !0
-}, "POST", e), _ae = () => q(DA, {
+}, "POST", e), Dae = () => q(_A, {
background: !0,
restart: !0
-}), MA = (e) => kw(OA, e), vae = (e) => q(OA, {
+}), SA = (e) => ww(vA, e), Oae = (e) => q(vA, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), NA = (e) => (e?.sources ?? []).some((e) => Gie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function yae(e) {
- NA(X.getQueryData(UO)) && await Promise.all([X.fetchQuery({
- queryKey: kA,
- queryFn: () => jA(e)
+}), CA = (e) => (e?.sources ?? []).some((e) => $ie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function kae(e) {
+ CA(X.getQueryData(FO)) && await Promise.all([X.fetchQuery({
+ queryKey: yA,
+ queryFn: () => xA(e)
}), X.fetchQuery({
- queryKey: AA,
- queryFn: () => MA(e)
+ queryKey: bA,
+ queryFn: () => SA(e)
})]);
}
-var bae = (e) => !!(e?.missing || e?.empty || e?.cache?.files), xae = {
+var Aae = (e) => !!(e?.missing || e?.empty || e?.cache?.files), jae = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, PA = (e) => Number(e || 0).toLocaleString(), Sae = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Cae = (e) => `将永久删除文件已不在盘上的 ${PA(e.missing)} 条记录和 ${PA(e.empty)} 个空文件夹,并清理 ${PA(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, wae = (e) => `将永久删除文件已不在盘上的 ${PA(e.missing)} 条记录(含回收站里的)、${PA(e.empty)} 个空文件夹,并清理 ${PA(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Tae = (e) => e.online ? [
- `找不到文件 · 共 ${PA(e.total)} 项`,
- e.empty ? `空文件夹 ${PA(e.empty)} 个` : "",
- e.unreadable ? `${PA(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${PA(e.total)} 项`;
-function FA(e) {
+}, wA = (e) => Number(e || 0).toLocaleString(), Mae = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Nae = (e) => `将永久删除文件已不在盘上的 ${wA(e.missing)} 条记录和 ${wA(e.empty)} 个空文件夹,并清理 ${wA(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Pae = (e) => `将永久删除文件已不在盘上的 ${wA(e.missing)} 条记录(含回收站里的)、${wA(e.empty)} 个空文件夹,并清理 ${wA(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Fae = (e) => e.online ? [
+ `找不到文件 · 共 ${wA(e.total)} 项`,
+ e.empty ? `空文件夹 ${wA(e.empty)} 个` : "",
+ e.unreadable ? `${wA(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${wA(e.total)} 项`;
+function TA(e) {
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 ? `${PA(t.length)} 条记录没有删除(${o})` : "",
- n ? `${PA(n)} 个文件夹没有删除` : "",
- r.length ? `${PA(r.length)} 个缓存没有清理` : ""
+ t.length ? `${wA(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${wA(n)} 个文件夹没有删除` : "",
+ r.length ? `${wA(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Eae = (e, t) => {
- let { rest: n } = FA(e), r = `已永久删除 ${PA(e.purged)} 条失效记录和 ${PA(e.dirs_removed)} 个空文件夹,清理 ${PA(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+var Iae = (e, t) => {
+ let { rest: n } = TA(e), r = `已永久删除 ${wA(e.purged)} 条失效记录和 ${wA(e.dirs_removed)} 个空文件夹,清理 ${wA(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Dae = "/api/review?counts=1", IA = ["review", "counts"], Oae = "/api/ads?limit=1", LA = ["junk-summary"], RA = "/api/items?state=trash&limit=1", zA = ["trash-summary"], kae = [
+}, Lae = "/api/review?counts=1", EA = ["review", "counts"], Rae = "/api/ads?limit=1", DA = ["junk-summary"], OA = "/api/items?state=trash&limit=1", kA = ["trash-summary"], zae = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], BA = (e) => kw(Dae, e), VA = (e) => kw(Oae, e), HA = (e) => {
+], AA = (e) => ww(Lae, e), jA = (e) => ww(Rae, e), MA = (e) => {
let t = sessionStorage.getItem("peach.library");
- return kw(t ? `${RA}&library=${encodeURIComponent(t)}` : RA, e);
-}, UA = (e) => Number(e || 0).toLocaleString();
-function Aae(e) {
- let t = Pk, 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 ww(t ? `${OA}&library=${encodeURIComponent(t)}` : OA, e);
+}, NA = (e) => Number(e || 0).toLocaleString();
+function Bae(e) {
+ let t = wk, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function jae(e) {
+function Vae(e) {
if (!e) return "";
- let t = kae.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${UA(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${UA(e.dismissed_total)}`), t.join(" · ");
-}
-var Mae = [
- [IA, ({ signal: e }) => BA(e)],
- [Sk, ({ signal: e }) => Ck(e)],
- [zA, ({ signal: e }) => HA(e)],
- [Qk, ({ signal: e }) => rA(e)],
- [$k, ({ signal: e }) => iA(e)],
- [eA, ({ signal: e }) => oA(e)]
+ let t = zae.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${NA(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${NA(e.dismissed_total)}`), t.join(" · ");
+}
+var Hae = [
+ [EA, ({ signal: e }) => AA(e)],
+ [dk, ({ signal: e }) => fk(e)],
+ [kA, ({ signal: e }) => MA(e)],
+ [Vk, ({ signal: e }) => Kk(e)],
+ [Hk, ({ signal: e }) => qk(e)],
+ [Uk, ({ signal: e }) => Yk(e)]
];
-async function Nae(e) {
- let t = location.hash === "#resource-sync", n = Mae.map(([n, r]) => {
+async function Uae(e) {
+ let t = location.hash === "#resource-sync", n = Hae.map(([n, r]) => {
if (t) return X.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -33141,49 +33141,49 @@ async function Nae(e) {
await Promise.all([
...n,
X.fetchQuery({
- queryKey: LA,
- queryFn: () => VA(e)
+ queryKey: DA,
+ queryFn: () => jA(e)
}),
X.fetchQuery({
- queryKey: KO,
- queryFn: () => qO(e)
+ queryKey: RO,
+ queryFn: () => zO(e)
}),
- GO(e).then(() => yae(e)),
- rk(e),
- _k(e),
- vA(e)
+ LO(e).then(() => kae(e)),
+ YO(e),
+ dae(e),
+ sA(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var Pae = [
+var Wae = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Fae = [
+], Gae = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function WA(e = {}) {
- return `${Lw({
+function PA(e = {}) {
+ return `${Mw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var GA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
-function KA({ interactive: e = !1 } = {}) {
- return Lw({
+var FA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
+function IA({ interactive: e = !1 } = {}) {
+ return Mw({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Iae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function qA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Kae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function LA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -33216,13 +33216,13 @@ function qA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function JA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function RA({ 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 ${Pae[n % 4]} ${Fae[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Wae[n % 4]} ${Gae[n % 4]}`,
children: /* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -33244,7 +33244,7 @@ function JA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var YA = Sw({
+var zA = _w({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33268,15 +33268,15 @@ var YA = Sw({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function XA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = xw(YA.base, YA.size[t], YA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+function BA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = gw(zA.base, zA.size[t], zA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: YA.icon[t],
+ className: zA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, L.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: YA.icon[t],
+ className: zA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -33303,7 +33303,7 @@ function XA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var ZA = [
+var VA = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -33311,74 +33311,74 @@ var ZA = [
"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(" "), Lae = "w-[266px]", Rae = "flex w-full flex-col gap-1 outline-none", QA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), $A = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), qae = "w-[266px]", Jae = "flex w-full flex-col gap-1 outline-none", HA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), UA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
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 zae = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Bae = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Vae = Lw({
+var Yae = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Xae = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Zae = Mw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), Hae = {
+}), Qae = {
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"
-}, Uae = {
+}, $ae = {
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"
-}, Wae = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Gae = {
+}, eoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", toe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, ej = Lw({
+}, noe = Mw({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), tj = "border-t border-border-button-default p-4 first:border-t-0";
-function nj({ tone: e = "neutral", status: t, children: n }) {
+}), WA = "border-t border-border-button-default p-4 first:border-t-0";
+function GA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${Wae} ${Gae[e]}`,
+ className: `${eoe} ${toe[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 rj({ id: e, children: t }) {
+function KA({ 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 ij({ id: e, gap: t = "none", children: n }) {
+function qA({ 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 aj({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function JA({ 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: `${Vae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${Zae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: Hae[e],
+ className: Qae[e],
children: a
}), i ? /* @__PURE__ */ (0, L.jsx)("footer", {
- className: Uae[e],
+ className: $ae[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function oj({ className: e }) {
+function YA({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33391,8 +33391,8 @@ function oj({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-open" })
});
}
-var sj = "打开文件管理器失败,请重试";
-function cj({ path: e, prefix: t, className: n, onRevealed: r }) {
+var XA = "打开文件管理器失败,请重试";
+function ZA({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(""), c = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
c.current = !1;
@@ -33403,7 +33403,7 @@ function cj({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof Dw ? e.message : sj);
+ c.current && s(e instanceof Sw ? e.message : XA);
} finally {
c.current && a(!1);
}
@@ -33414,10 +33414,10 @@ function cj({ 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: xw("min-w-0 break-all", n),
+ className: gw("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, L.jsx)(EO, {
- icon: oj,
+ }), /* @__PURE__ */ (0, L.jsx)(vO, {
+ icon: YA,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -33432,21 +33432,21 @@ function cj({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function lj({ className: e, children: t }) {
+function QA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: xw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: gw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function uj({ className: e, children: t }) {
+function $A({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
- className: xw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: gw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function dj({ label: e, description: t, children: n }) {
+function ej({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: xw("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: gw("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
@@ -33461,14 +33461,14 @@ function dj({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function fj({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function tj({ 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)(uj, { children: e })
+ children: /* @__PURE__ */ (0, L.jsx)($A, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, L.jsx)(uj, { children: e }), /* @__PURE__ */ (0, L.jsx)(lj, { children: i })] });
+ }) : /* @__PURE__ */ (0, L.jsx)($A, { children: e }), /* @__PURE__ */ (0, L.jsx)(QA, { children: i })] });
return r ? /* @__PURE__ */ (0, L.jsx)("form", {
id: t,
"aria-label": e,
@@ -33483,13 +33483,13 @@ function fj({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function pj({ children: e }) {
+function nj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function mj({ divided: e = !1, children: t }) {
+function rj({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -33498,7 +33498,7 @@ function mj({ divided: e = !1, children: t }) {
children: t
});
}
-function hj({ status: e, children: t }) {
+function ij({ status: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -33507,43 +33507,43 @@ function hj({ status: e, children: t }) {
}) : null, t]
});
}
-function gj({ role: e, children: t }) {
+function aj({ role: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function _j({ children: e }) {
+function oj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function vj({ children: e }) {
+function sj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function yj({ href: e, children: t }) {
- return /* @__PURE__ */ (0, L.jsx)(XA, {
+function cj({ href: e, children: t }) {
+ return /* @__PURE__ */ (0, L.jsx)(BA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: xS,
+ trailingIcon: vS,
children: t
});
}
-function bj({ children: e }) {
+function lj({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function xj({ term: e, children: t }) {
+function uj({ term: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
@@ -33555,7 +33555,7 @@ function xj({ term: e, children: t }) {
})]
});
}
-function Sj({ summary: e, defaultOpen: t = !1, children: n }) {
+function dj({ 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) => {
@@ -33568,7 +33568,7 @@ function Sj({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (S(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)(mS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(dS, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33583,7 +33583,7 @@ function Sj({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function Cj({ name: e }) {
+function fj({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33592,29 +33592,29 @@ function Cj({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function wj({ mark: e }) {
+function pj({ 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)(Cj, { name: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(fj, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function Tj({ toast: e, mode: t, monitor: n }) {
+function mj({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ot({
- queryKey: tk,
- queryFn: ({ signal: e }) => nk(e),
- refetchInterval: (e) => ak(e.state.data, r)
+ queryKey: qO,
+ queryFn: ({ signal: e }) => JO(e),
+ refetchInterval: (e) => sae(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") && eae(c, e, r);
+ r && o(c), (r || t === "notice") && lae(c, e, r);
}, [
c,
t,
@@ -33627,29 +33627,29 @@ function Tj({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Ej = [
+var hj = [
{
label: "扫描并补全资料",
- icon: yS,
+ icon: gS,
command: {}
},
{
label: "只扫描",
- icon: CS,
+ icon: bS,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Yte,
+ icon: Qte,
command: { stage: "collect" }
}
-], Dj = xw(QA, $A, "text-body-2-medium"), Oj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", kj = (e) => {
+], gj = gw(HA, UA, "text-body-2-medium"), _j = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", vj = (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(",")}。`;
-}, Aj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + kj(e);
-function jj({ busy: e, onRun: t }) {
+}, yj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + vj(e);
+function bj({ busy: e, onRun: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -33658,14 +33658,14 @@ function jj({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: yS,
+ leadingIcon: gS,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: fS,
+ leadingIcon: lS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33674,19 +33674,19 @@ function jj({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: ZA,
- children: /* @__PURE__ */ (0, L.jsx)(zD, {
+ className: VA,
+ children: /* @__PURE__ */ (0, L.jsx)(jD, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Ej.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
+ children: hj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: Dj,
+ className: gj,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
@@ -33696,8 +33696,8 @@ function jj({ busy: e, onRun: t }) {
})
})] });
}
-function Mj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = uk(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ck(e.notes || {}), c = RO();
+function xj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = ek(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = QO(e.notes || {}), c = AO();
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33705,7 +33705,7 @@ function Mj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: Oj
+ children: _j
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33717,7 +33717,7 @@ function Mj({ 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)(Sj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(dj, {
summary: a.label,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -33748,7 +33748,7 @@ function Mj({ 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)(cj, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZA, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33762,13 +33762,13 @@ function Mj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "处理完成",
- children: Aj(n)
+ children: yj(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)(cj, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZA, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33780,38 +33780,38 @@ function Mj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function Nj(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = Tj(e), o = kt({
- mutationFn: (e) => q(ek, e),
+function Sj(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = mj(e), o = kt({
+ mutationFn: (e) => q(KO, e),
onSuccess: (e) => {
- a(), X.setQueryData(tk, e), X.invalidateQueries({ queryKey: tk });
+ a(), X.setQueryData(qO, e), X.invalidateQueries({ queryKey: qO });
}
});
(0, I.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? ik : K(r.error) : "", l = o.isPending || s.status === "running", u = lk(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? XO : K(r.error) : "", l = o.isPending || s.status === "running", u = $O(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(aj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(JA, {
layout: "split",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(XA, {
+ /* @__PURE__ */ (0, L.jsx)(BA, {
href: "/scraping",
size: "small",
- trailingIcon: pS,
+ trailingIcon: uS,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, L.jsx)(XA, {
+ s.candidates ? /* @__PURE__ */ (0, L.jsx)(BA, {
href: "/review",
size: "small",
- trailingIcon: pS,
+ trailingIcon: uS,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, L.jsx)(jj, {
+ /* @__PURE__ */ (0, L.jsx)(bj, {
busy: l,
onRun: d
})
@@ -33819,14 +33819,14 @@ function Nj(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(ij, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: zae
+ children: Yae
}),
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)(Ww, {
+ children: s.total ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zw, {
label: u,
value: s.checked || 0,
max: s.total
@@ -33840,11 +33840,11 @@ function Nj(e) {
s.total,
" 个视频"
]
- })] }) : /* @__PURE__ */ (0, L.jsx)(Bw, { label: u })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: u })
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(Mj, {
+ }), /* @__PURE__ */ (0, L.jsx)(xj, {
state: s,
problem: c,
settled: i,
@@ -33860,7 +33860,7 @@ function Nj(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Pj(e) {
+function Cj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33874,7 +33874,7 @@ function Pj(e) {
})
});
}
-function Fj(e) {
+function wj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -33888,7 +33888,7 @@ function Fj(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Ij(e, t, n) {
+function Tj(e, t, n) {
(0, I.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -33902,7 +33902,7 @@ function Ij(e, t, n) {
n
]);
}
-function Lj(e, t) {
+function Ej(e, t) {
let n = (0, I.useRef)(!1);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -33916,33 +33916,33 @@ function Lj(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Rj = (0, I.createContext)("md");
-function zj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Dj = (0, I.createContext)("md");
+function Oj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, I.useRef)(null), u = (0, I.useRef)(null), [d, f] = (0, I.useState)(!1);
- Ij(d, () => f(!1), [l, u]);
- let p = Lj(d, l);
- return /* @__PURE__ */ (0, L.jsx)(Rre, {
+ Tj(d, () => f(!1), [l, u]);
+ let p = Ej(d, l);
+ return /* @__PURE__ */ (0, L.jsx)(Kre, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: xw("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(sE, {
+ className: gw("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)($T, {
ref: l,
- className: xw("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)(Vre, {
- className: xw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: gw("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, L.jsx)(Yre, {
+ className: gw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(Pj, { className: xw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ }), /* @__PURE__ */ (0, L.jsx)(Cj, { className: gw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
ref: u,
isNonModal: !0,
offset: 4,
- className: xw(Lae, ZA, "p-2", n),
- children: /* @__PURE__ */ (0, L.jsx)(are, {
+ className: gw(qae, VA, "p-2", n),
+ children: /* @__PURE__ */ (0, L.jsx)(pre, {
items: a,
- className: xw(Rae, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, L.jsx)(Rj.Provider, {
+ className: gw(Jae, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, L.jsx)(Dj.Provider, {
value: r,
children: i
})
@@ -33950,19 +33950,19 @@ function zj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Bj({ className: e, children: t, ...n }) {
- let r = (0, I.useContext)(Rj);
- return /* @__PURE__ */ (0, L.jsx)(cre, {
+function kj({ className: e, children: t, ...n }) {
+ let r = (0, I.useContext)(Dj);
+ return /* @__PURE__ */ (0, L.jsx)(gre, {
...n,
- className: (t) => xw(QA, 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) => gw(HA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var Vj = 2e3, Hj = (e) => e, Uj = (e, t) => t;
-function Wj(e) {
- let { queryKey: t, jobOf: n = Hj, withJob: r = Uj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
+var Aj = 2e3, jj = (e) => e, Mj = (e, t) => t;
+function Nj(e) {
+ let { queryKey: t, jobOf: n = jj, withJob: r = Mj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
(0, I.useEffect)(() => {
l.current = e;
});
@@ -33971,7 +33971,7 @@ function Wj(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? Vj : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? Aj : i ?? !1;
}
}), d = kt({
mutationFn: (e) => l.current.start(e),
@@ -34002,32 +34002,32 @@ function Wj(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Gj = (e) => p[e] || e, Kj = (e) => X.setQueryData(pk, e);
-function qj() {
+var Pj = (e) => p[e] || e, Fj = (e) => X.setQueryData(ik, e);
+function Ij() {
let e = Ot({
- queryKey: pk,
- queryFn: ({ signal: e }) => hk(e),
- refetchInterval: (e) => e.state.data?.status === "running" && Vj
+ queryKey: ik,
+ queryFn: ({ signal: e }) => ok(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && Aj
}), t = Ot({
- queryKey: mk,
- queryFn: ({ signal: e }) => gk(e)
- }), [n, r] = (0, I.useState)(""), i = Gw(), a = e.data ?? tae, 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: ak,
+ queryFn: ({ signal: e }) => sk(e)
+ }), [n, r] = (0, I.useState)(""), i = Bw(), a = e.data ?? uae, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && h({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => Kj(await q(fk, {
+ onConfirm: async () => Fj(await q(rk, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => q(fk, { stop: !0 }, "POST", e), Kj), d = yk(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => q(rk, { stop: !0 }, "POST", e), Fj), d = fae(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(aj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(JA, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zj, {
+ footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -34035,10 +34035,10 @@ function qj() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(kj, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(wj, { mark: Gj(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: Pj(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: u,
@@ -34052,12 +34052,12 @@ function qj() {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(ij, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: "媒体修复" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Bae
+ children: Xae
}),
- s && a.total ? /* @__PURE__ */ (0, L.jsx)(Ww, {
+ s && a.total ? /* @__PURE__ */ (0, L.jsx)(zw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -34081,7 +34081,7 @@ function qj() {
f && a.missing_tool ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: bk(a)
+ children: lk(a)
}) : null,
p ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34093,7 +34093,7 @@ function qj() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var Jj = {
+var Lj = {
md: {
box: "size-4",
glyph: "size-4",
@@ -34107,11 +34107,11 @@ var Jj = {
gap: "gap-1.5"
}
};
-function Yj({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Jj[t], c = n || r, l = o && !a;
+function Rj({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Lj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: xw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? xw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : xw("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: gw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? gw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : gw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34135,46 +34135,73 @@ function Yj({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function Xj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = Jj[n];
- return /* @__PURE__ */ (0, L.jsx)(qne, {
+function zj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = Lj[n];
+ return /* @__PURE__ */ (0, L.jsx)(tre, {
ref: r,
...i,
- className: (t) => xw("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)(Yj, {
+ className: (t) => gw("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Rj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: xw(a.label, "text-text-primary"),
+ className: gw(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function Zj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function Bj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: xw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, L.jsx)(tie, {
+ className: gw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, L.jsx)(lie, {
ref: r,
...i,
- className: xw("bui-table", e === "sm" && "bui-table-sm", t)
+ className: gw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
+//#region src/react/components/row-click.ts
+var Vj = [
+ "a",
+ "button",
+ "input",
+ "select",
+ "textarea",
+ "label",
+ "[role=\"checkbox\"]",
+ "[role=\"switch\"]",
+ "[role=\"button\"]",
+ "[role=\"link\"]",
+ "[role=\"menu\"]"
+].join(",");
+function Hj(e, t) {
+ let n = e.target;
+ if (!(n instanceof Element) || !t.contains(n)) return !1;
+ let r = n.closest(Vj);
+ return !r || !t.contains(r) || r === t;
+}
+//#endregion
//#region src/react/components/data-table-frame.tsx
-function Qj({ children: e, follow: t = !1 }) {
+function Uj({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
+ onClick: n ? (e) => {
+ let t = e.target;
+ if (!(t instanceof Element)) return;
+ let r = t.closest("[role=\"row\"][data-key]");
+ r && Hj(e, r) && n(r.dataset.key);
+ } : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var $j = LT("unlink"), eM = LT("rotate-cw"), tM = "站点返回 404 或 410,确认这个地址不存在。", nM = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", rM = "删除前会逐条重验一次;此操作不可撤销。", iM = "暂时无法读取进度,正在重新连接…", aM = (e) => Number(e || 0).toLocaleString();
-function oM({ label: e, value: t, note: n }) {
+var Wj = kT("unlink"), Gj = kT("rotate-cw"), Kj = "站点返回 404 或 410,确认这个地址不存在。", qj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Jj = "删除前会逐条重验一次;此操作不可撤销。", Yj = "暂时无法读取进度,正在重新连接…", Xj = (e) => Number(e || 0).toLocaleString();
+function Zj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -34193,11 +34220,11 @@ function oM({ label: e, value: t, note: n }) {
]
});
}
-function sM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function Qj({ 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: tj,
+ className: WA,
children: [
/* @__PURE__ */ (0, L.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -34210,13 +34237,13 @@ function sM({ 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)(Qj, { children: /* @__PURE__ */ (0, L.jsxs)(Zj, {
+ /* @__PURE__ */ (0, L.jsx)(Uj, { children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(lO, { children: [
- i ? /* @__PURE__ */ (0, L.jsx)(uO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [
+ i ? /* @__PURE__ */ (0, L.jsx)(nO, {
id: "pick",
- children: /* @__PURE__ */ (0, L.jsx)(Xj, {
+ children: /* @__PURE__ */ (0, L.jsx)(zj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -34224,44 +34251,44 @@ function sM({ 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)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(fO, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(hO, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(sO, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)(Xj, {
+ i ? /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zj, {
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)(_O, { children: e.entity }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: tA[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: e.label || "" }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: e.entity }),
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: Wk[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: e.label || "" }),
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -34271,7 +34298,7 @@ function sM({ 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)(xS, {
+ }), /* @__PURE__ */ (0, L.jsx)(vS, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34283,40 +34310,40 @@ function sM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function cM({ line: e, value: t, total: n }) {
+function $j({ line: e, value: t, total: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: `${tj} flex flex-col gap-1.5`,
- children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Ww, {
+ className: `${WA} flex flex-col gap-1.5`,
+ children: n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zw, {
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)(Bw, { label: e })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: e })
});
}
-function lM() {
+function eM() {
let e = Ot({
- queryKey: Qk,
- queryFn: ({ signal: e }) => rA(e)
- }), [t, n] = (0, I.useState)([]), r = Wj({
- queryKey: eA,
- queryFn: ({ signal: e }) => oA(e),
- start: sA,
+ queryKey: Vk,
+ queryFn: ({ signal: e }) => Kk(e)
+ }), [t, n] = (0, I.useState)([]), r = Nj({
+ queryKey: Uk,
+ queryFn: ({ signal: e }) => Yk(e),
+ start: Xk,
onFinish: () => {
X.invalidateQueries({
- queryKey: Qk,
+ queryKey: Vk,
exact: !0
}), X.invalidateQueries({
- queryKey: $k,
+ queryKey: Hk,
exact: !0
});
}
- }), i = Wj({
- queryKey: $k,
- queryFn: ({ signal: e }) => iA(e),
- start: aA,
+ }), i = Nj({
+ queryKey: Hk,
+ queryFn: ({ signal: e }) => qk(e),
+ start: Jk,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -34346,7 +34373,7 @@ function lM() {
else if (v) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "完成",
- children: lA(v)
+ children: Qk(v)
});
else if (y) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34356,7 +34383,7 @@ function lM() {
else if (i.query.isError && a) b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: iM
+ children: Yj
});
else if (a?.status === "failed") b = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34366,48 +34393,48 @@ function lM() {
else if (a && a.status !== "idle") {
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
b = /* @__PURE__ */ (0, L.jsxs)("div", {
- className: ej,
+ className: noe,
children: [
- a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(cM, {
- line: uA(a),
+ a.status === "running" ? /* @__PURE__ */ (0, L.jsx)($j, {
+ line: $k(a),
value: a.checked,
total: a.total
}) : null,
- c ? /* @__PURE__ */ (0, L.jsx)(cM, {
+ c ? /* @__PURE__ */ (0, L.jsx)($j, {
line: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
total: r.job?.total
}) : null,
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(Qj, {
title: "地址已失效",
items: u,
- hint: tM
+ hint: Kj
}),
- /* @__PURE__ */ (0, L.jsx)(sM, {
+ /* @__PURE__ */ (0, L.jsx)(Qj, {
title: "本次未访问成功",
items: d,
- hint: nM,
+ hint: qj,
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)(nj, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: eM,
+ children: /* @__PURE__ */ (0, L.jsxs)(GA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ leadingIcon: Gj,
disabled: !t.length,
...Y(s),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: eM,
+ leadingIcon: Gj,
...Y(s),
onClick: () => g(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, L.jsx)(nj, {
+ l && u.length ? /* @__PURE__ */ (0, L.jsx)(GA, {
tone: "error",
- status: rM,
+ status: Jj,
children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "danger",
...Y(c),
@@ -34416,7 +34443,7 @@ function lM() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, L.jsx)("p", {
- className: `${tj} text-body-regular text-notification-success-foreground`,
+ className: `${WA} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -34427,20 +34454,20 @@ function lM() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(rj, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, L.jsxs)(aj, {
+ /* @__PURE__ */ (0, L.jsxs)(JA, {
layout: "split",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: $j,
+ leadingIcon: Wj,
...Y(s),
onClick: () => g(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
- children: [/* @__PURE__ */ (0, L.jsx)(ij, {
+ children: [/* @__PURE__ */ (0, L.jsx)(qA, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -34450,13 +34477,13 @@ function lM() {
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)(oM, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Zj, {
label: "链接总数",
- value: aM(p.total),
- note: `分布在 ${aM(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(oM, {
- label: tA[e] || e,
- value: aM(t)
+ value: Xj(p.total),
+ note: `分布在 ${Xj(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Zj, {
+ label: Wk[e] || e,
+ value: Xj(t)
}, e))]
}), m ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -34479,11 +34506,11 @@ function lM() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function uM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsxs)(Bne, {
+function tM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsxs)(Jne, {
"data-label": "true",
...a,
- className: xw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: gw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -34491,7 +34518,7 @@ function uM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, L.jsx)(TS, {
+ n && /* @__PURE__ */ (0, L.jsx)(ene, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34500,33 +34527,33 @@ function uM({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function dM({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, L.jsx)(Wne, {
+function nM({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, L.jsx)(Qne, {
slot: e ? "errorMessage" : "description",
...n,
- className: xw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: gw("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 fM = (0, I.createContext)({});
-function pM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(fM.Provider, {
+var rM = (0, I.createContext)({});
+function iM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(rM.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, L.jsx)(Die, {
+ children: /* @__PURE__ */ (0, L.jsx)(Fie, {
...a,
"data-input-size": e,
- className: xw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: gw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-pM.displayName = "TextField";
-var mM = Sw({
+iM.displayName = "TextField";
+var aM = _w({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34555,44 +34582,44 @@ var mM = Sw({
].join(" "),
icon: "size-5 shrink-0"
});
-function hM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, I.useContext)(fM), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, L.jsx)(Yne, {
+function oM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, I.useContext)(rM), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, L.jsx)(rre, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => xw(mM.field, d ? mM.fieldWithAddonSize[u] : mM.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 }) => gw(aM.field, d ? aM.fieldWithAddonSize[u] : aM.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, L.jsxs)("div", {
- className: mM.content,
+ className: aM.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: mM.leftSection,
+ className: aM.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, L.jsx)(t, {
- className: mM.icon,
+ className: aM.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, L.jsx)(Zne, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(are, {
ref: o,
...c,
- className: xw(mM.input, l.inputClassName, a)
+ className: gw(aM.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: mM.icon,
+ className: aM.icon,
"aria-hidden": !0
}) : null]
})
});
}
-hM.displayName = "InputBase";
-function gM({ 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)(pM, {
+oM.displayName = "InputBase";
+function sM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, L.jsx)(iM, {
...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)(uM, {
+ e && /* @__PURE__ */ (0, L.jsx)(tM, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(hM, {
+ /* @__PURE__ */ (0, L.jsx)(oM, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34601,28 +34628,28 @@ function gM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, L.jsx)(dM, {
+ t && /* @__PURE__ */ (0, L.jsx)(nM, {
isInvalid: d,
children: t
})
] })
});
}
-gM.displayName = "Input";
+sM.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Kae = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, qae = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Jae = 8;
-function Yae({ plan: e }) {
+var cM = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, lM = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", uM = 8;
+function roe({ 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, Jae).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: e.rows.slice(0, uM).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: wA(e.current_path)
+ children: pA(e.current_path)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -34632,7 +34659,7 @@ function Yae({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: wA(e.target_path)
+ children: pA(e.target_path)
})
]
}, e.current_path))
@@ -34641,10 +34668,10 @@ function Yae({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Xae({ toast: t, failure: n }) {
+function ioe({ toast: t, failure: n }) {
let r = Ot({
- queryKey: gA,
- queryFn: ({ signal: e }) => _A(e)
+ queryKey: aA,
+ queryFn: ({ signal: e }) => oA(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 ?? "",
@@ -34657,8 +34684,8 @@ function Xae({ toast: t, failure: n }) {
file_template: f.file.trim(),
dir_template: f.dir.trim()
}), x = kt({
- mutationFn: yA,
- onSuccess: (e, t) => void xA({
+ mutationFn: cA,
+ onSuccess: (e, t) => void uA({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34666,29 +34693,29 @@ function Xae({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = CA.test(K(e)) ? "dir" : "file";
+ let t = fA.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
- }), S = Wj({
- queryKey: gA,
- queryFn: ({ signal: e }) => _A(e),
- start: bA,
+ }), S = Nj({
+ queryKey: aA,
+ queryFn: ({ signal: e }) => oA(e),
+ start: lA,
jobOf: (e) => e,
- withJob: SA,
+ withJob: dA,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: gA,
+ queryKey: aA,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = EA(e);
+ let { text: r, failed: i } = gA(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), C = S.running || S.start.isPending, w = x.data, T = Number(w?.counts?.change || 0), E = e[c] || c, D = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), O = () => {
x.isPending || !c || (_(null), x.mutate(b()));
}, k = () => void h({
title: "按模板整理文件",
- body: Kae(E),
+ body: cM(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -34696,7 +34723,7 @@ function Xae({ toast: t, failure: n }) {
})
}), A = () => void h({
title: "回滚上一批整理",
- body: qae,
+ body: lM,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
@@ -34704,7 +34731,7 @@ function Xae({ 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)(Ww, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zw, {
label: e,
value: M.checked || 0,
max: M.total
@@ -34712,14 +34739,14 @@ function Xae({ toast: t, failure: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Bw, { label: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(Fw, { 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 } = EA(N);
+ let { text: e, failed: t } = gA(N);
j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -34729,16 +34756,16 @@ function Xae({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(Bw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(Fw, { 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: gae(w)
- }), T ? /* @__PURE__ */ (0, L.jsx)(Yae, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, L.jsxs)(aj, {
+ children: hA(w)
+ }), T ? /* @__PURE__ */ (0, L.jsx)(roe, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, L.jsxs)(JA, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -34762,7 +34789,7 @@ function Xae({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, L.jsx)(ij, {
+ /* @__PURE__ */ (0, L.jsx)(qA, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -34782,20 +34809,20 @@ function Xae({ toast: t, failure: n }) {
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, L.jsx)(zj, {
+ a.length ? /* @__PURE__ */ (0, L.jsx)(Oj, {
"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)(Bj, {
+ children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(kj, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, L.jsx)(wj, { mark: p[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: p[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -34806,7 +34833,7 @@ function Xae({ toast: t, failure: n }) {
m({ file: e }), _(null);
}
}),
- /* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -34846,91 +34873,91 @@ function Xae({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var Zae = LT("git-compare"), Qae = LT("rotate-cw"), $ae = "暂时无法读取进度,正在重新连接…", _M = "清理失效条目", vM = "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", yM = (e) => Number(e || 0).toLocaleString();
-function eoe({ scan: e }) {
+var aoe = kT("git-compare"), ooe = kT("rotate-cw"), soe = "暂时无法读取进度,正在重新连接…", dM = "清理失效条目", fM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", pM = (e) => Number(e || 0).toLocaleString();
+function coe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: vM,
+ className: fM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, L.jsx)("article", {
- className: KA(),
- children: /* @__PURE__ */ (0, L.jsx)(qA, {
- label: xae[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, L.jsx)(wj, { mark: p[e.location] ?? "database" }),
+ className: IA(),
+ children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ label: jae[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, L.jsx)(pj, { mark: p[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, L.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${yM(e.missing)} 项` : "—",
- meta: Tae(e),
+ figure: e.online ? `${pM(e.missing)} 项` : "—",
+ meta: Fae(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: vM,
+ className: fM,
children: [
/* @__PURE__ */ (0, L.jsx)("article", {
- className: KA(),
- children: /* @__PURE__ */ (0, L.jsx)(qA, {
+ className: IA(),
+ children: /* @__PURE__ */ (0, L.jsx)(LA, {
label: "待永久删除",
- figure: `${yM(e.missing)} 项`,
+ figure: `${pM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: KA(),
- children: /* @__PURE__ */ (0, L.jsx)(qA, {
+ className: IA(),
+ children: /* @__PURE__ */ (0, L.jsx)(LA, {
label: "空文件夹",
- figure: `${yM(e.empty)} 个`,
+ figure: `${pM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: KA(),
- children: /* @__PURE__ */ (0, L.jsx)(qA, {
+ className: IA(),
+ children: /* @__PURE__ */ (0, L.jsx)(LA, {
label: "可清理的缓存",
- figure: `${yM(t.files)} 个`,
+ figure: `${pM(t.files)} 个`,
meta: t.files ? a(t.bytes) : ""
})
})
]
})] });
}
-function toe({ toast: e }) {
- let t = Wj({
- queryKey: AA,
- queryFn: ({ signal: e }) => MA(e),
- start: vae,
+function loe({ toast: e }) {
+ let t = Nj({
+ queryKey: bA,
+ queryFn: ({ signal: e }) => SA(e),
+ start: Oae,
onFinish: (t) => {
if (X.invalidateQueries({
- queryKey: zA,
+ queryKey: kA,
exact: !0
}), X.invalidateQueries({
- queryKey: kA,
+ queryKey: yA,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = FA(t);
- r ? e(`已完成 ${yM(n)} 项,${yM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = TA(t);
+ r ? e(`已完成 ${pM(n)} 项,${pM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = Wj({
- queryKey: kA,
- queryFn: ({ signal: e }) => jA(e),
- start: _ae,
+ }), n = Nj({
+ queryKey: yA,
+ queryFn: ({ signal: e }) => xA(e),
+ start: Dae,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, o = t.running || t.start.isPending, s = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : s ? "重新扫描" : "检查文件", l = (e) => void h({
- title: _M,
- body: wae(e),
- confirmLabel: _M,
+ title: dM,
+ body: Pae(e),
+ confirmLabel: dM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = FA(e).left > 0;
+ let t = TA(e).left > 0;
return /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Eae(e, a)
+ children: Iae(e, a)
});
}, f = null;
if (u?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
@@ -34939,7 +34966,7 @@ function toe({ toast: e }) {
children: u.error || "任务失败"
});
else if (u) f = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(Bw, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(Fw, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34948,20 +34975,20 @@ function toe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: $ae
+ children: soe
});
else if (r?.status === "running") {
- let e = Sae(r);
+ let e = Mae(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)(Ww, {
+ children: r.total_sources ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zw, {
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)(Bw, { label: "正在检查本地磁盘和网盘…" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在检查本地磁盘和网盘…" })
});
} else if (r?.status === "failed") f = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34974,13 +35001,13 @@ function toe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = bae(r);
+ let e = Aae(r);
f = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(eoe, { scan: r }),
+ /* @__PURE__ */ (0, L.jsx)(coe, { scan: r }),
e ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: Cae(r)
+ children: Nae(r)
}) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -34988,7 +35015,7 @@ function toe({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => l(r),
- children: o ? "正在复核并清理…" : _M
+ children: o ? "正在复核并清理…" : dM
}) : /* @__PURE__ */ (0, L.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -35005,23 +35032,23 @@ function toe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(rj, {
+ /* @__PURE__ */ (0, L.jsx)(KA, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, L.jsxs)(aj, {
+ /* @__PURE__ */ (0, L.jsxs)(JA, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !i ? Qae : Zae,
+ leadingIcon: s && !i ? ooe : aoe,
...Y(i),
onClick: () => {
i || n.start.mutate();
},
children: c
}),
- children: [/* @__PURE__ */ (0, L.jsx)(ij, {
+ children: [/* @__PURE__ */ (0, L.jsx)(qA, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -35040,16 +35067,16 @@ function toe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function bM(e, t) {
+function mM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function xM({ section: e, label: t, icon: n, value: r, open: i }) {
+function hM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: KA({ interactive: !0 }),
+ className: IA({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, L.jsx)(qA, {
+ children: /* @__PURE__ */ (0, L.jsx)(LA, {
label: t,
icon: n,
figure: r.figure,
@@ -35057,80 +35084,80 @@ function xM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var noe = LT("square-check-big"), roe = LT("sparkles"), ioe = LT("file-stack"), aoe = LT("file-archive"), ooe = LT("trash"), soe = [
- IA,
- Sk,
- KO
-], coe = () => {
- for (let e of soe) X.invalidateQueries({
+var uoe = kT("square-check-big"), doe = kT("sparkles"), foe = kT("file-stack"), poe = kT("file-archive"), moe = kT("trash"), hoe = [
+ EA,
+ dk,
+ RO
+], goe = () => {
+ for (let e of hoe) X.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function loe({ toast: e, failure: t, open: n }) {
+function _oe({ toast: e, failure: t, open: n }) {
let r = Ot({
- queryKey: IA,
- queryFn: ({ signal: e }) => BA(e)
+ queryKey: EA,
+ queryFn: ({ signal: e }) => AA(e)
}), i = Ot({
- queryKey: Sk,
- queryFn: ({ signal: e }) => Ck(e)
+ queryKey: dk,
+ queryFn: ({ signal: e }) => fk(e)
}), o = Ot({
- queryKey: KO,
- queryFn: ({ signal: e }) => qO(e)
+ queryKey: RO,
+ queryFn: ({ signal: e }) => zO(e)
}), s = Ot({
- queryKey: LA,
- queryFn: ({ signal: e }) => VA(e)
+ queryKey: DA,
+ queryFn: ({ signal: e }) => jA(e)
}), c = Ot({
- queryKey: zA,
- queryFn: ({ signal: e }) => HA(e)
+ queryKey: kA,
+ queryFn: ({ signal: e }) => MA(e)
}), l = Ot({
- queryKey: UO,
- queryFn: ({ signal: e }) => WO(e)
+ queryKey: FO,
+ queryFn: ({ signal: e }) => IO(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, L.jsxs)(Vw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Iae,
+ className: Kae,
children: [
- /* @__PURE__ */ (0, L.jsx)(xM, {
+ /* @__PURE__ */ (0, L.jsx)(hM, {
section: "review",
label: "人工复核",
- icon: noe,
+ icon: uoe,
open: n,
- value: bM(r, Aae)
+ value: mM(r, Bae)
}),
- /* @__PURE__ */ (0, L.jsx)(xM, {
+ /* @__PURE__ */ (0, L.jsx)(hM, {
section: "quality",
label: "高清版",
- icon: roe,
+ icon: doe,
open: n,
- value: bM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: mM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, L.jsx)(xM, {
+ /* @__PURE__ */ (0, L.jsx)(hM, {
section: "duplicates",
label: "重复文件",
- icon: ioe,
+ icon: foe,
open: n,
- value: bM(o, (e) => Number(e.total || 0) ? {
+ value: mM(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)(xM, {
+ /* @__PURE__ */ (0, L.jsx)(hM, {
section: "ads",
label: "垃圾文件",
- icon: aoe,
+ icon: poe,
open: n,
- value: bM(s, (e) => ({
+ value: mM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: jae(e)
+ meta: Vae(e)
}))
}),
- /* @__PURE__ */ (0, L.jsx)(xM, {
+ /* @__PURE__ */ (0, L.jsx)(hM, {
section: "trash",
label: "回收站",
- icon: ooe,
+ icon: moe,
open: n,
- value: bM(c, (e) => ({
+ value: mM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${a(e.bytes || 0)}` : ""
}))
@@ -35143,29 +35170,29 @@ function loe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, L.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, L.jsx)(Nj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Sj, {
toast: u,
monitor: !0,
- onComplete: coe
+ onComplete: goe
})
}),
/* @__PURE__ */ (0, L.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, L.jsx)(qj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(Ij, {})
}),
- /* @__PURE__ */ (0, L.jsx)(Xae, {
+ /* @__PURE__ */ (0, L.jsx)(ioe, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(lM, {}),
- NA(l.data) ? /* @__PURE__ */ (0, L.jsx)(toe, { toast: e }) : null
+ /* @__PURE__ */ (0, L.jsx)(eM, {}),
+ CA(l.data) ? /* @__PURE__ */ (0, L.jsx)(loe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function SM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function gM({ 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
@@ -35192,7 +35219,7 @@ function SM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function CM(e) {
+function _M(e) {
(0, I.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35210,9 +35237,9 @@ function CM(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function uoe({ title: e, children: t }) {
+function voe({ title: e, children: t }) {
let n = (0, I.useRef)(null);
- return CM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return _M(n), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35225,9 +35252,9 @@ function uoe({ title: e, children: t }) {
}), t]
});
}
-function doe({ label: e, topLabel: t, top: n, bottom: r }) {
+function yoe({ label: e, topLabel: t, top: n, bottom: r }) {
let i = (0, I.useRef)(null);
- return CM(i), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return _M(i), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: i,
role: "group",
"aria-label": e,
@@ -35247,22 +35274,22 @@ function doe({ label: e, topLabel: t, top: n, bottom: r }) {
})]
});
}
-var foe = "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 poe({ children: e, pressed: t, onPress: n, ...r }) {
+var boe = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function xoe({ children: e, pressed: t, onPress: n, ...r }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
...r,
"aria-pressed": t,
- className: foe,
+ className: boe,
onClick: n,
children: e
});
}
-var moe = "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 wM({ children: e, onPress: t, busy: n = !1 }) {
+var Soe = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function vM({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: moe,
+ className: Soe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -35273,29 +35300,29 @@ function wM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var hoe = LT("play"), goe = LT("file-stack"), _oe = Lw({
+var Coe = kT("play"), woe = kT("file-stack"), Toe = Mw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), TM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", EM = "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", OM = () => {
+}), yM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", bM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", xM = "font-mono text-caption-1-regular leading-5 text-text-secondary", SM = () => {
X.invalidateQueries({
- queryKey: KO,
+ queryKey: RO,
exact: !0
}), X.invalidateQueries({
- queryKey: zA,
+ queryKey: kA,
exact: !0
});
};
-function voe(e) {
+function Eoe(e) {
return e.identical ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${EM} text-(--keep)`,
+ className: `${bM} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${EM} text-text-secondary`,
+ className: `${bM} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function yoe({ file: t, openItem: n }) {
+function Doe({ 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",
@@ -35305,7 +35332,7 @@ function yoe({ 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)(hoe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Coe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, L.jsx)("img", {
@@ -35329,55 +35356,55 @@ function yoe({ 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: `${TM} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${yM} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${TM} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${yM} 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)(wj, { mark: p[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ className: `${xM} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: p[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: DM,
+ className: xM,
children: a(t.size || 0)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: DM,
+ className: xM,
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: `${xM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function boe({ openItem: t, toast: n, failure: r }) {
+function Ooe({ openItem: t, toast: n, failure: r }) {
let i = Ot({
- queryKey: KO,
- queryFn: ({ signal: e }) => qO(e)
+ queryKey: RO,
+ queryFn: ({ signal: e }) => zO(e)
}), o = Ot({
- queryKey: UO,
- queryFn: ({ signal: e }) => WO(e)
+ queryKey: FO,
+ queryFn: ({ signal: e }) => IO(e)
}), [s, c] = (0, I.useState)(""), l = kt({
- mutationFn: (e) => $O(e, "dispose"),
+ mutationFn: (e) => GO(e, "dispose"),
onSuccess: (e, t) => {
- OM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ SM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await $O(t, "restore");
+ await GO(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- OM();
+ SM();
}
} });
},
@@ -35391,12 +35418,12 @@ function boe({ openItem: t, toast: n, failure: r }) {
children: i.error ? K(i.error) : "读取重复文件失败"
})
});
- let d = u.groups ?? [], f = Kie(o.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = eae(o.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = QO(e, t);
+ let r = UO(e, t);
r.length && h({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${YO[t] ?? YO.largest}。文件共 ${a(Xie(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${BO[t] ?? BO.largest}。文件共 ${a(WO(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -35404,15 +35431,15 @@ function boe({ 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)(SM, {
+ /* @__PURE__ */ (0, L.jsx)(gM, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${a(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, L.jsxs)(uoe, {
+ d.length ? /* @__PURE__ */ (0, L.jsxs)(voe, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, L.jsx)(wM, {
+ /* @__PURE__ */ (0, L.jsx)(vM, {
busy: s === "all:largest",
onPress: () => p({
groups: d,
@@ -35421,7 +35448,7 @@ function boe({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, L.jsx)(wM, {
+ /* @__PURE__ */ (0, L.jsx)(vM, {
busy: s === "all:longest",
onPress: () => p({
groups: d,
@@ -35430,7 +35457,7 @@ function boe({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- ZO(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(wM, {
+ iae(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(vM, {
busy: s === `all:${t}`,
onPress: () => p({
groups: d,
@@ -35453,7 +35480,7 @@ function boe({ openItem: t, toast: n, failure: r }) {
let i = [n], o = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": n.code,
- className: _oe,
+ className: Toe,
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: [
@@ -35465,9 +35492,9 @@ function boe({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${a(n.reclaimable)}`
}),
- voe(n),
+ Eoe(n),
n.cross_drive ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${EM} text-text-secondary`,
+ className: `${bM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -35495,7 +35522,7 @@ function boe({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- XO(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
+ HO(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
...m(o(t)),
@@ -35520,13 +35547,13 @@ function boe({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(yoe, {
+ }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(Doe, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: goe,
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: woe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -35535,61 +35562,61 @@ function boe({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var xoe = "/api/avatar-choices", kM = "/api/avatar-pick", Soe = "/api/avatar-code-cover", Coe = "/avatar-choice", AM = (e, t) => [
+var koe = "/api/avatar-choices", CM = "/api/avatar-pick", Aoe = "/api/avatar-code-cover", joe = "/avatar-choice", wM = (e, t) => [
"avatar-choices",
e,
t
-], jM = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, MM = (e, t, n) => `${Coe}${jM(e, t)}&ref=${encodeURIComponent(n)}`, woe = (e, t, n) => kw(xoe + jM(e, t), n), Toe = (e) => q(Soe, { code: e });
-function NM(e, t, n) {
+], TM = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, EM = (e, t, n) => `${joe}${TM(e, t)}&ref=${encodeURIComponent(n)}`, Moe = (e, t, n) => ww(koe + TM(e, t), n), Noe = (e) => q(Aoe, { code: e });
+function DM(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? jie(e.focus, t, n) : jO(t, n);
+ return e.focus && r ? zie(e.focus, t, n) : CO(t, n);
}
-var Eoe = (e) => e.crop && AO({
+var Poe = (e) => e.crop && SO({
width: e.width,
height: e.height
});
-async function Doe(e, t, n) {
+async function Foe(e, t, n) {
if (!("file" in n)) {
- await q(kM, {
+ await q(CM, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${kM}${jM(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${CM}${TM(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 Dw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new Sw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function Ooe(e, t) {
+function Ioe(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 koe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Aoe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${koe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Loe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Roe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Loe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var PM = (e) => e.cast > 1, joe = (e) => PM(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Moe = {
+var OM = (e) => e.cast > 1, zoe = (e) => OM(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Boe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function Noe(e) {
+function Voe(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 Poe = (e) => `${Moe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (PM(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Foe = 8, Ioe = 3 / 4;
-function Loe({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Hoe = (e) => `${Boe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OM(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Uoe = 8, Woe = 3 / 4;
+function Goe({ kind: e, entityId: t, name: n, onPicked: r }) {
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",
@@ -35599,17 +35626,17 @@ function Loe({ 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)(Ute, {
+ children: /* @__PURE__ */ (0, L.jsx)(Kte, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, L.jsx)(IO, {
+ }), /* @__PURE__ */ (0, L.jsx)(OO, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, L.jsx)(Roe, {
+ children: /* @__PURE__ */ (0, L.jsx)(Koe, {
kind: e,
entityId: t,
name: n,
@@ -35618,50 +35645,50 @@ function Loe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Roe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, I.useRef)(null), o = RO(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = AM(e, t), g = (0, I.useRef)(!1), _ = Ot({
+function Koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, I.useRef)(null), o = AO(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = wM(e, t), g = (0, I.useRef)(!1), _ = Ot({
queryKey: h,
- queryFn: ({ signal: n }) => woe(e, t, n),
+ queryFn: ({ signal: n }) => Moe(e, t, n),
retryOnMount: !0
});
(0, I.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: AM(e, t) });
+ g.current && X.removeQueries({ queryKey: wM(e, t) });
}, [e, t]);
let v = kt({
- mutationFn: (n) => Doe(e, t, n),
+ mutationFn: (n) => Foe(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = kt({
- mutationFn: (e) => Toe(e),
+ mutationFn: (e) => Noe(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 ? "" : Aoe(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 ? "" : Roe(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)(LO, { children: /* @__PURE__ */ (0, L.jsx)(RS, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(kO, { children: /* @__PURE__ */ (0, L.jsx)(NS, { 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)(lE, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tE, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(ww, {
+ }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(yw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? joe(p) : Ooe(n, x)
+ children: p ? zoe(p) : Ioe(n, x)
}),
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
@@ -35673,14 +35700,14 @@ function Roe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(EO, {
- icon: _S,
+ /* @__PURE__ */ (0, L.jsx)(vO, {
+ icon: mS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, L.jsx)(Boe, {
+ }), p ? /* @__PURE__ */ (0, L.jsx)(Joe, {
kind: e,
entityId: t,
choice: p,
@@ -35703,7 +35730,7 @@ function Roe({ 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: Foe }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Uoe }, (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",
@@ -35716,15 +35743,15 @@ function Roe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Poe(n),
+ title: Hoe(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)(zoe, {
- src: MM(e, t, n.ref),
+ /* @__PURE__ */ (0, L.jsx)(qoe, {
+ src: EM(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -35733,15 +35760,15 @@ function Roe({ 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)(ww, {
+ children: /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- PM(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ OM(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsxs)(ww, {
+ children: /* @__PURE__ */ (0, L.jsxs)(yw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -35760,7 +35787,7 @@ function Roe({ 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)(gM, {
+ children: /* @__PURE__ */ (0, L.jsx)(sM, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -35795,7 +35822,7 @@ function Roe({ 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)(gM, {
+ children: /* @__PURE__ */ (0, L.jsx)(sM, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -35815,7 +35842,7 @@ function Roe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function zoe({ src: e, choice: t }) {
+function qoe({ 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);
@@ -35823,7 +35850,7 @@ function zoe({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = Eoe(t) ? Fie(NM(t, a, Ioe), a) : null, s = r ? !0 : void 0;
+ }, o = Poe(t) ? Uie(DM(t, a, Woe), 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", {
@@ -35848,23 +35875,23 @@ function zoe({ src: e, choice: t }) {
})]
});
}
-function Boe({ 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 = MM(e, t, s), m = RO();
+function Joe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = EM(e, t, s), m = AO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? Pie(d, l) : null;
+ let g = d && l ? Hie(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)(BO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(MO, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), AO(e) && f(s === n.ref ? NM(n, e, 1) : jO(e, 1));
+ u(e), SO(e) && f(s === n.ref ? DM(n, e, 1) : CO(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -35878,7 +35905,7 @@ function Boe({ 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: Noe(e)
+ children: Voe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -35912,12 +35939,12 @@ function Boe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var Voe = {
+var Yoe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function FM({ name: e }) {
- let t = Voe[e];
+function kM({ name: e }) {
+ let t = Yoe[e];
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -35927,19 +35954,19 @@ function FM({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function IM(e, t) {
+function AM(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 LM = (e) => !!e?.isConnected && e.matches(":popover-open");
-function RM(e, t, n, r) {
+var jM = (e) => !!e?.isConnected && e.matches(":popover-open");
+function MM(e, t, n, r) {
let i = (0, I.useRef)(r);
i.current = r, (0, I.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && LM(n.current) ? IM(t.current, n.current) : i.current();
+ t.current && jM(n.current) ? AM(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -35953,17 +35980,17 @@ function RM(e, t, n, r) {
n
]);
}
-function zM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function NM({ 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, LM(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, jM(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || LM(s.current)) && (s.current.showPopover(), IM(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || jM(s.current)) && (s.current.showPopover(), AM(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 RM(c, o, s, f), (0, I.useEffect)(() => {
+ return MM(c, o, s, f), (0, I.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -35989,7 +36016,7 @@ function zM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && LM(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && jM(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36007,16 +36034,16 @@ function zM({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Hoe({ following: e, busy: t, onToggle: n, tip: r }) {
+function Xoe({ 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 = () => {
- LM(o.current) && o.current.hidePopover(), c(!1);
+ jM(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || LM(o.current) || (o.current.showPopover(), IM(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || jM(o.current) || (o.current.showPopover(), AM(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return RM(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
- i.current && LM(o.current) && IM(i.current, o.current);
+ return MM(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
+ i.current && jM(o.current) && AM(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, L.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -36025,7 +36052,7 @@ function Hoe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, L.jsx)(FM, { name: "rss" }),
+ /* @__PURE__ */ (0, L.jsx)(kM, { name: "rss" }),
/* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
type: "checkbox",
@@ -36060,26 +36087,29 @@ function Hoe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Uoe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
- let [i, a] = (0, I.useState)(!1);
- return /* @__PURE__ */ (0, L.jsxs)(vre, {
+function Zoe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+ let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
+ return (0, I.useEffect)(() => {
+ o.current?.setAttribute("title", "名字与别名");
+ }, []), /* @__PURE__ */ (0, L.jsxs)(Ere, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, L.jsx)(sE, {
+ children: [/* @__PURE__ */ (0, L.jsx)($T, {
+ ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, L.jsx)(FM, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ children: /* @__PURE__ */ (0, L.jsx)(kM, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
placement: "bottom start",
- offset: 4,
+ offset: 8,
containerPadding: 8,
- className: ZA,
+ className: VA,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, L.jsxs)(bre, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Ore, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(FD, {
+ /* @__PURE__ */ (0, L.jsx)(DD, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -36087,31 +36117,31 @@ function Uoe({ 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)(LD, {
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(kD, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, L.jsx)(FM, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(ere, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, L.jsx)(FD, { children: /* @__PURE__ */ (0, L.jsxs)(LD, {
+ /* @__PURE__ */ (0, L.jsx)(cre, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, L.jsx)(DD, { children: /* @__PURE__ */ (0, L.jsxs)(kD, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, L.jsx)(FM, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Woe = (e) => e === "studio" || e === "agency", Goe = (e) => e === "performer" || e === "creator", Koe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function qoe(e) {
+var Qoe = (e) => e === "studio" || e === "agency", $oe = (e) => e === "performer" || e === "creator", ese = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function tse(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function BM(e) {
+function PM(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -36122,13 +36152,13 @@ function BM(e) {
linked: !1
} : null;
}
-function VM(e, t) {
+function FM(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 HM = (e) => ({ site: c(e) });
-function Joe(e, n) {
- let r = BM(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var IM = (e) => ({ site: c(e) });
+function nse(e, n) {
+ let r = PM(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -36138,7 +36168,7 @@ function Joe(e, n) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${VM(e, r)} · ${t}`
+ title: `${FM(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -36149,8 +36179,8 @@ function Joe(e, n) {
if (n === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: VM(e, r),
- mark: HM(e)
+ title: FM(e, r),
+ mark: IM(e)
};
if (e.link_kind === "social") {
let n = t(i);
@@ -36158,7 +36188,7 @@ function Joe(e, n) {
type: "icon",
url: i,
title: e.label || "",
- mark: n ? { brand: n } : HM(e)
+ mark: n ? { brand: n } : IM(e)
};
}
return {
@@ -36166,13 +36196,13 @@ function Joe(e, n) {
url: i,
title: e.label || "",
text: u(e, n, a),
- mark: HM(e)
+ mark: IM(e)
};
});
return [...i, ...o];
}
-var UM = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Yoe(e) {
+var LM = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function rse(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -36229,14 +36259,14 @@ function Yoe(e) {
tags: e.tags
}), t;
}
-function Xoe(e) {
+function ise(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function Zoe(e) {
+function ase(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 ? {
@@ -36247,8 +36277,8 @@ function Zoe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Qoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
- let c = Goe(e), l = Woe(e), u = e === "performer" ? Yoe(n.profile) : [], d = Joe(n, e), f = UM(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
+function ose({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
+ let c = $oe(e), l = Qoe(e), u = e === "performer" ? rse(n.profile) : [], d = nse(n, e), f = LM(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, I.useEffect)(() => {
@@ -36261,7 +36291,7 @@ function Qoe({ 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)($oe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sse, {
kind: e,
name: t,
helpers: s,
@@ -36269,7 +36299,7 @@ function Qoe({ 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)(Loe, {
+ children: /* @__PURE__ */ (0, L.jsx)(Goe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -36282,14 +36312,14 @@ function Qoe({ 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)(Uoe, {
+ children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Zoe, {
current: n.canonical_name,
- choices: qoe(n),
+ choices: tse(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, L.jsx)(ese, {
+ /* @__PURE__ */ (0, L.jsx)(cse, {
kind: e,
entity: n,
actions: o
@@ -36297,9 +36327,9 @@ function Qoe({ 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)(ise, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(fse, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(ase, {
+ f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(pse, {
entity: n,
actions: o,
helpers: s
@@ -36308,11 +36338,11 @@ function Qoe({ 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)(nse, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(use, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, L.jsx)(rse, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, L.jsx)(dse, { 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))
@@ -36339,14 +36369,14 @@ function Qoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, vh.createPortal)(/* @__PURE__ */ (0, L.jsx)(ose, {
+ }), a ? (0, vh.createPortal)(/* @__PURE__ */ (0, L.jsx)(mse, {
feedNew: i,
host: a,
actions: o,
helpers: s
}), a) : null] });
}
-function $oe({ kind: e, name: t, helpers: n, people: i, company: a }) {
+function sse({ 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",
@@ -36355,8 +36385,8 @@ function $oe({ kind: e, name: t, helpers: n, people: i, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function ese({ kind: e, entity: t, actions: r }) {
- let i = BM(t), a = (e, t) => (n) => {
+function cse({ kind: e, entity: t, actions: r }) {
+ let i = PM(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),
@@ -36365,36 +36395,36 @@ function ese({ 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 = Zoe(t.name_groups);
+ let e = ase(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)(FM, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, L.jsx)(FM, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, L.jsx)(kM, { 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)(FM, { name: "id-card" }),
+ /* @__PURE__ */ (0, L.jsx)(kM, { 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)(zM, {
+ e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(NM, {
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)(tse, {
+ children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(lse, {
label: e.label,
names: e.names
}, t)) })
@@ -36429,25 +36459,25 @@ function ese({ kind: e, entity: t, actions: r }) {
]
});
}
-function tse({ label: e, names: t }) {
+function lse({ 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 nse({ 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)(FM, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
+function use({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(kM, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function rse({ tags: e }) {
- let { shown: t, rest: n } = Xoe(e);
+function dse({ tags: e }) {
+ let { shown: t, rest: n } = ise(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)(zM, {
+ }, e)), n ? /* @__PURE__ */ (0, L.jsx)(NM, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -36462,10 +36492,10 @@ function rse({ tags: e }) {
})
}) : null] });
}
-function WM({ mark: e }) {
+function RM({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, L.jsx)(FM, { name: e.brand })
+ children: /* @__PURE__ */ (0, L.jsx)(kM, { 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", {
@@ -36473,7 +36503,7 @@ function WM({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function ise({ link: e }) {
+function fse({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, L.jsx)("a", {
"data-link": "icon",
@@ -36482,19 +36512,19 @@ function ise({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(WM, { mark: e.mark })
+ children: /* @__PURE__ */ (0, L.jsx)(RM, { 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)(WM, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, L.jsx)(RM, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, L.jsx)(WM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(RM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -36505,14 +36535,14 @@ function ise({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, L.jsx)(WM, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(RM, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function ase({ entity: e, actions: t, helpers: n }) {
+function pse({ 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);
@@ -36530,31 +36560,31 @@ function ase({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entry-marks": "",
- children: [UM(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ children: [LM(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)(FM, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(kM, { 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)(Hoe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Xoe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Koe(r)
+ tip: ese(r)
}) : null]
});
}
-function ose({ feedNew: e, host: t, actions: n, helpers: r }) {
+function mse({ 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;
@@ -36578,7 +36608,7 @@ function ose({ feedNew: e, host: t, actions: n, helpers: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var GM = [
+var zM = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -36586,7 +36616,7 @@ var GM = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], sse = "checked", KM = {
+], hse = "checked", BM = {
checked: "desc",
added: "desc",
name: "asc",
@@ -36594,32 +36624,32 @@ var GM = [
source: "asc",
provider: "asc",
status: "asc"
-}, cse = (e) => GM.some(([t]) => t === e);
-function qM(e, t) {
- let n = cse(e) ? e : sse;
+}, gse = (e) => zM.some(([t]) => t === e);
+function VM(e, t) {
+ let n = gse(e) ? e : hse;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : KM[n]
+ dir: t === "asc" || t === "desc" ? t : BM[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var JM = "/api/follow", lse = "/api/follow/credentials", YM = "/api/follow/check", XM = "/api/follow/source", ZM = "/api/follow/resolve", use = "/api/follow/suggest", QM = "/api/follow/author-alias", dse = "/api/follow/credential", fse = "/api/follow/status", pse = "/api/feeds", $M = "/api/feeds/source", mse = "/api/feeds/check", eN = ["follow-manage"], tN = ["follow-manage", "credentials"], hse = ["follow-manage", "check"], gse = ["follow-manage", "resolve"], nN = ["follow-manage", "feeds"], _se = (e) => [
+var HM = "/api/follow", _se = "/api/follow/credentials", UM = "/api/follow/check", WM = "/api/follow/source", GM = "/api/follow/resolve", vse = "/api/follow/suggest", KM = "/api/follow/author-alias", yse = "/api/follow/credential", bse = "/api/follow/status", xse = "/api/feeds", qM = "/api/feeds/source", Sse = "/api/feeds/check", Cse = "/api/feeds/lookup", JM = ["follow-manage"], YM = ["follow-manage", "credentials"], wse = ["follow-manage", "check"], Tse = ["follow-manage", "resolve"], XM = ["follow-manage", "feeds"], Ese = (e) => [
"follow-manage",
"suggest",
e
-], rN = [["default", "默认视图"], ["table", "表格视图"]], iN = [
+], ZM = [["default", "默认视图"], ["table", "表格视图"]], QM = [
10,
20,
50,
100
-], vse = Object.fromEntries(GM), aN = {
+], Dse = Object.fromEntries(zM), $M = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, yse = (e) => rN.some(([t]) => t === e), bse = (e) => iN.includes(Number(e)) ? Number(e) : 20, xse = {
+}, Ose = (e) => ZM.some(([t]) => t === e), kse = (e) => QM.includes(Number(e)) ? Number(e) : 20, Ase = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -36627,25 +36657,25 @@ var JM = "/api/follow", lse = "/api/follow/credentials", YM = "/api/follow/check
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, Sse = (e, t) => `按${vse[e]}${xse[e][t === "asc" ? 0 : 1]}排序`;
-function oN(e) {
+}, jse = (e, t) => `按${Dse[e]}${Ase[e][t === "asc" ? 0 : 1]}排序`;
+function eN(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function Cse(e) {
+function Mse(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var sN = (e) => e.last_status === "error" || e.last_status === "unauthorized", cN = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), lN = {
- source: cN,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || cN(e, t),
- status: (e, t) => oN(e) - oN(t) || cN(e, t)
-}, uN = (e) => Date.parse(e || "") || 0, dN = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function fN(e, t = []) {
+var tN = (e) => e.last_status === "error" || e.last_status === "unauthorized", nN = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), rN = {
+ source: nN,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || nN(e, t),
+ status: (e, t) => eN(e) - eN(t) || nN(e, t)
+}, iN = (e) => Date.parse(e || "") || 0, aN = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function oN(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || dN(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || aN(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 dN(i.canonical_name);
+ if (i) return aN(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);
@@ -36653,18 +36683,18 @@ function fN(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 wse(e) {
+function Nse(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function Tse(e) {
+function Pse(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 pN(e) {
+function sN(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -36672,32 +36702,32 @@ function pN(e) {
}
return t.map((e) => n.get(e));
}
-function Ese(e, t, n, r = []) {
- let i = pN(e), a = n === KM[t] ? 1 : -1, o = (e) => fN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = lN[t];
+function Fse(e, t, n, r = []) {
+ let i = sN(e), a = n === BM[t] ? 1 : -1, o = (e) => oN(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = rN[t];
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) => uN(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => uN(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => iN(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => iN(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 Dse(e, t, n, r = []) {
+function Ise(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = fN(e, r);
+ let t = oN(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = lN[t];
+ }), a = rN[t];
if (a) {
- let e = n === KM[t] ? 1 : -1;
+ let e = n === BM[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function Ose(e, t, n) {
- let r = Dk(e, t), i = Ok(n, r), a = (i - 1) * t;
+function Lse(e, t, n) {
+ let r = gk(e, t), i = _k(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -36706,87 +36736,91 @@ function Ose(e, t, n) {
end: Math.min(a + t, e)
};
}
-function kse(e, t) {
+function Rse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function mN(e, t) {
+function cN(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 hN(e, t, n) {
+function lN(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var gN = (e) => kw(`${JM}?summary=1`, e), _N = (e) => kw(lse, e), Ase = (e) => kw(YM, e), jse = (e) => kw(ZM, e), Mse = (e, t) => kw(`${use}?q=${encodeURIComponent(e)}`, t), vN = (e) => q(YM, {
+var uN = (e) => ww(`${HM}?summary=1`, e), dN = (e) => ww(_se, e), zse = (e) => ww(UM, e), Bse = (e) => ww(GM, e), Vse = (e, t) => ww(`${vse}?q=${encodeURIComponent(e)}`, t), fN = (e) => q(UM, {
...e?.length ? { sources: e } : {},
background: !0
-}), Nse = (e) => q(ZM, {
+}), Hse = (e) => q(GM, {
lines: e,
background: !0
-}), Pse = (e, t) => q(XM, {
+}), pN = (e, t) => q(WM, {
action: "enabled",
id: e,
enabled: t
-}), yN = (e) => q(XM, {
+}), mN = (e) => q(WM, {
action: "remove",
id: e
-}), Fse = (e) => q(XM, {
+}), Use = (e) => q(WM, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), bN = (e, t) => q(QM, {
+}), hN = (e, t) => q(KM, {
action: "add",
canonical: e,
alias: t
-}), Ise = (e) => q(QM, {
+}), Wse = (e) => q(KM, {
action: "remove",
alias: e
-}), Lse = (e, t) => q(dse, {
+}), Gse = (e, t) => q(yse, {
provider: e,
values: t
-}), Rse = (e, t) => q(fse, {
+}), Kse = (e, t) => q(bse, {
item: e,
to: t
-}), zse = () => kw(`${JM}?status=new&limit=1000`);
-async function xN(e) {
- let t = await kw(pse, e);
+}), qse = () => ww(`${HM}?status=new&limit=1000`);
+async function gN(e) {
+ let t = await ww(xse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var Bse = (e, t, n) => q($M, {
+var _N = (e, t, n) => q(qM, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), Vse = (e, t) => q($M, {
+}, "POST", n), vN = (e, t) => q(qM, {
action: "remove",
id: e
-}, "POST", t), Hse = (e) => q(mse, { all: !0 }, "POST", e);
-async function Use(e, t = "") {
+}, "POST", t), yN = (e, t) => q(Sse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Jse = (e, t) => ww(`${Cse}?q=${encodeURIComponent(e)}`, t), Yse = (e, t, n) => q(qM, {
+ action: "follow-name",
+ name: e,
+ ids: t
+}, "POST", n);
+async function Xse(e, t = "") {
await Promise.all([
X.fetchQuery({
- queryKey: eN,
- queryFn: () => gN(e)
+ queryKey: JM,
+ queryFn: () => uN(e)
}),
X.fetchQuery({
- queryKey: tN,
- queryFn: () => _N(e)
+ queryKey: YM,
+ queryFn: () => dN(e)
}),
t === "feeds" ? X.fetchQuery({
- queryKey: nN,
- queryFn: () => xN(e)
+ queryKey: XM,
+ queryFn: () => gN(e)
}) : null
]);
}
-function Wse(e, t) {
- X.setQueryData(eN, (n) => n && {
+function bN(e, t) {
+ X.setQueryData(JM, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -36794,24 +36828,24 @@ function Wse(e, t) {
} : n)
});
}
-function SN(e) {
+function xN(e) {
let t = new Set(e);
- X.setQueryData(eN, (e) => e && {
+ X.setQueryData(JM, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var CN = () => X.invalidateQueries({
- queryKey: eN,
+var SN = () => X.invalidateQueries({
+ queryKey: JM,
exact: !0
});
-function Gse(e) {
+function Zse(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 Kse = (e) => (e?.results || []).filter((e) => !e.ok), qse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", wN = (e) => e.last_checked_at ? Ak(e.last_checked_at) : "未检查", Jse = /* @__PURE__ */ new Set([
+var Qse = (e) => (e?.results || []).filter((e) => !e.ok), $se = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", CN = (e) => e.last_checked_at ? yk(e.last_checked_at) : "未检查", ece = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -36824,16 +36858,16 @@ var Kse = (e) => (e?.results || []).filter((e) => !e.ok), qse = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), Yse = (e) => Jse.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Xse = {
+]), tce = (e) => ece.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", nce = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, TN = (e) => !!e.present && !e.missing.length, EN = "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", DN = "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", Zse = "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", Qse = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", $se = "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)";
+}, wN = (e) => !!e.present && !e.missing.length, TN = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", EN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", rce = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", ice = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", ace = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function ON({ provider: e, label: t }) {
- let n = Yse(e), [r, i] = (0, I.useState)(!1);
+function DN({ provider: e, label: t }) {
+ let n = tce(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: "",
@@ -36842,10 +36876,10 @@ function ON({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, L.jsx)(X_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, L.jsx)(J_, { children: t }) : null] });
}
-function kN({ group: e, name: t }) {
- let { src: n, fallback: r } = Tse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
+function ON({ group: e, name: t }) {
+ let { src: n, fallback: r } = Pse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, L.jsx)("img", {
src: o,
alt: "",
@@ -36858,18 +36892,18 @@ function kN({ 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: wse(t)
+ children: Nse(t)
});
}
-function AN({ source: e }) {
- let t = sN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(ww, {
+function kN({ source: e }) {
+ let t = tN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: t,
- children: Cse(e)
+ children: Mse(e)
});
}
-function jN({ source: e }) {
+function AN({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("a", {
href: e.url,
target: "_blank",
@@ -36881,11 +36915,11 @@ function jN({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var MN = xw(QA, $A, "text-body-2-medium"), ece = "粘贴来源链接,或输入创作者名、id…", tce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", nce = "识别中…", rce = "站内没有查到来源", NN = (e, t) => `${e}:${t.url}`;
-function PN({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var jN = gw(HA, UA, "text-body-2-medium"), oce = "粘贴来源链接,或输入创作者名、id…", sce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", cce = "识别中…", lce = "站内没有查到来源", MN = (e, t) => `${e}:${t.url}`;
+function uce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, I.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(OD, {
+ }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(bD, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -36897,17 +36931,17 @@ function PN({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCl
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: xw(ZA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: gw(VA, "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)(Bw, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, L.jsx)(Fw, { 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 ? xw(MN, "bg-background-secondary-default") : MN,
+ className: t === r ? gw(jN, "bg-background-secondary-default") : jN,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -36927,7 +36961,7 @@ function PN({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCl
})] }, `${e.group}-${e.value}`))]
});
}
-function FN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function NN({ 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);
@@ -36935,20 +36969,20 @@ function FN({ 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: Jte,
+ leadingIcon: Zte,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: ZA,
- children: /* @__PURE__ */ (0, L.jsxs)(zD, {
+ className: VA,
+ children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36964,16 +36998,16 @@ function FN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, L.jsx)(gj, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, L.jsx)(aj, { 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)(Xj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zj, {
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)(ON, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
@@ -36989,7 +37023,7 @@ function FN({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function IN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function PN({ 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,
@@ -36997,7 +37031,7 @@ function IN({ 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: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col gap-2 p-4"
}),
@@ -37007,15 +37041,15 @@ function IN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = NN(t, e);
- return /* @__PURE__ */ (0, L.jsx)(Xj, {
+ let n = MN(t, e);
+ return /* @__PURE__ */ (0, L.jsx)(zj, {
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)(ON, { provider: e.provider }),
+ /* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -37031,22 +37065,22 @@ function IN({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, L.jsx)(gj, { children: rce }),
+ }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: lce }),
(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)(yj, {
+ }), /* @__PURE__ */ (0, L.jsx)(cj, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, L.jsx)(gj, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, L.jsx)(aj, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function FN({ 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();
@@ -37058,37 +37092,37 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
return () => clearTimeout(t);
}, [a]);
let D = Ot({
- queryKey: _se(l),
- queryFn: ({ signal: e }) => Mse(l, e),
+ queryKey: Ese(l),
+ queryFn: ({ signal: e }) => Vse(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 } = Wj({
- queryKey: gse,
- queryFn: ({ signal: e }) => jse(e),
- start: (e) => Nse([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = Nj({
+ queryKey: Tse,
+ queryFn: ({ signal: e }) => Bse(e),
+ start: (e) => Hse([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(K(e)),
onFinish: (e) => {
e.status === "failed" && w(e.error || "查找失败");
}
- }), ee = (e) => {
+ }), P = (e) => {
let t = e.trim();
!t || A || M.isPending || (w(""), g(-1), c(t), o(""), u(""), M.mutate(t));
- }, te = D.isFetching, P = d && p !== a && (O.length > 0 || te), F = () => {
+ }, ee = D.isFetching, F = d && p !== a && (O.length > 0 || ee), te = () => {
g(-1), m(a);
}, ne = (e) => {
if (!e.nativeEvent.isComposing) {
- if (e.key === "Escape" && P) {
- F();
+ if (e.key === "Escape" && F) {
+ te();
return;
}
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
if (!O.length) return;
- if (e.preventDefault(), !P) {
+ if (e.preventDefault(), !F) {
m(null);
return;
}
@@ -37099,18 +37133,18 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
});
return;
}
- e.key === "Enter" && (e.preventDefault(), ee(O[h]?.value || a));
+ e.key === "Enter" && (e.preventDefault(), P(O[h]?.value || a));
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: NN(t, e)
+ key: MN(t, e)
})).filter((e) => !x.has(e.key))), ae = kt({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await Fse(r.candidate);
+ let e = await Use(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${K(e)}`);
@@ -37118,7 +37152,7 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
E((e) => e + 1);
}
if (n.length) try {
- await vN(n);
+ await fN(n);
} catch (e) {
t.push(K(e));
}
@@ -37128,7 +37162,7 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
};
},
onSuccess: (e) => {
- if (CN(), e.failures.length) {
+ if (SN(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -37137,7 +37171,7 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37157,25 +37191,25 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, L.jsx)(gM, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sM, {
"aria-label": "来源链接、名字或 id",
- placeholder: ece,
+ placeholder: oce,
value: a,
- leadingIcon: NS,
+ leadingIcon: OS,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), P ? /* @__PURE__ */ (0, L.jsx)(PN, {
+ }), F ? /* @__PURE__ */ (0, L.jsx)(uce, {
field: _,
menu: v,
options: O,
active: h,
- busy: te,
- onPick: ee,
- onClose: F
+ busy: ee,
+ onPick: P,
+ onClose: te
}) : null]
}),
- /* @__PURE__ */ (0, L.jsx)(FN, {
+ /* @__PURE__ */ (0, L.jsx)(NN, {
credentials: t,
hidden: y,
onHidden: b,
@@ -37185,7 +37219,7 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
variant: "primary",
disabled: n || !a.trim(),
...Y(A || M.isPending),
- onClick: () => ee(a),
+ onClick: () => P(a),
children: "查找"
})
]
@@ -37193,11 +37227,11 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
/* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Ww, {
+ children: [A || M.isPending ? k?.total ? /* @__PURE__ */ (0, L.jsx)(zw, {
label: k.message || `查找中:${k.checked || 0}/${k.total}`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(Bw, { label: se ? tce : nce }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: se ? sce : cce }) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -37206,8 +37240,8 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
re.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(vj, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(IN, {
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(PN, {
row: e,
at: t,
hidden: y,
@@ -37253,7 +37287,7 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
size: "small",
disabled: n,
title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,
- onClick: () => ee(e.name),
+ onClick: () => P(e.name),
children: e.name
}, e.name))]
}) : null
@@ -37262,16 +37296,16 @@ function LN({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var RN = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, zN = (e) => e.alias;
-function BN(e, t, n) {
+var IN = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, LN = (e) => e.alias;
+function RN(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 VN({ sources: e, name: t, canonicalKey: n }) {
+function zN({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(kN, {
- group: BN(e, t, n),
+ children: [/* @__PURE__ */ (0, L.jsx)(ON, {
+ group: RN(e, t, n),
name: t
}), /* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
@@ -37279,15 +37313,15 @@ function VN({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function BN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = kt({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await bN(n.canonical, n.alias);
+ await hN(n.canonical, n.alias);
} catch (n) {
- throw t && CN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && SN(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -37297,19 +37331,19 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), CN(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), SN(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
}), m = kt({
- mutationFn: (e) => bN(e.canonical, e.alias),
+ mutationFn: (e) => hN(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), CN(), i("已保存创作者别名");
+ c(""), u(""), f(""), SN(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
}), g = kt({
- mutationFn: (e) => Ise(e),
+ mutationFn: (e) => Wse(e),
onSuccess: () => {
- c(""), CN(), i("已移除创作者别名");
+ c(""), SN(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -37319,9 +37353,9 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(zN(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
+ }, v = t.filter((e) => a.has(LN(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37332,10 +37366,10 @@ function HN({ 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)(vj, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -37343,7 +37377,7 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -37364,13 +37398,13 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(_j, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, L.jsx)(oj, { 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)(vj, { children: "待合并" }),
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "待合并" }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -37392,44 +37426,44 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, L.jsx)(Qj, { children: /* @__PURE__ */ (0, L.jsxs)(Zj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Uj, { children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(lO, { children: [
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "select",
- children: /* @__PURE__ */ (0, L.jsx)(Xj, {
+ children: /* @__PURE__ */ (0, L.jsx)(zj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(zN)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(LN)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, L.jsx)(uO, {
+ /* @__PURE__ */ (0, L.jsx)(nO, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(fO, { children: t.map((e) => {
- let t = zN(e);
- return /* @__PURE__ */ (0, L.jsxs)(hO, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: t.map((e) => {
+ let t = LN(e);
+ return /* @__PURE__ */ (0, L.jsxs)(sO, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)(Xj, {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -37438,16 +37472,16 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)(VN, {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zN, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: e.alias }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: e.alias }),
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -37464,27 +37498,27 @@ function HN({ 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)(vj, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, L.jsx)(Qj, { children: /* @__PURE__ */ (0, L.jsxs)(Zj, {
+ }), e.length ? /* @__PURE__ */ (0, L.jsx)(Uj, { children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(lO, { children: [/* @__PURE__ */ (0, L.jsx)(uO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(tO, { children: [/* @__PURE__ */ (0, L.jsx)(nO, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, L.jsx)(uO, {
+ }), /* @__PURE__ */ (0, L.jsx)(nO, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, L.jsx)(fO, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(hO, {
+ })] }), /* @__PURE__ */ (0, L.jsx)(iO, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(sO, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)(VN, {
+ children: [/* @__PURE__ */ (0, L.jsx)(lO, { children: /* @__PURE__ */ (0, L.jsx)(zN, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, L.jsx)(_O, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, L.jsx)(lO, { 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",
@@ -37492,13 +37526,13 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: _S,
+ leadingIcon: mS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(g.isPending),
onClick: () => void h({
title: "移除创作者别名",
- body: RN(e.name),
+ body: IN(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => g.mutateAsync(e.name)
})
@@ -37506,9 +37540,9 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: RS,
+ icon: NS,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -37518,33 +37552,33 @@ function HN({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var UN = "这些账号信息存在哪里", WN = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", GN = "将清除这个来源在本机和共享副本中的登录凭据。", KN = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function qN(e, t) {
+var VN = "这些账号信息存在哪里", HN = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", UN = "将清除这个来源在本机和共享副本中的登录凭据。", WN = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function GN(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function JN({ row: e }) {
- if (TN(e)) return /* @__PURE__ */ (0, L.jsx)(ww, {
+function KN({ row: e }) {
+ if (wN(e)) return /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(ww, {
+ return /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: t,
- children: Xse[e.requirement] || ""
+ children: nce[e.requirement] || ""
});
}
-function YN({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = TN(e), c = kt({
- mutationFn: (t) => Lse(e.provider, t),
+function qN({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = wN(e), c = kt({
+ mutationFn: (t) => Gse(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: tN,
+ queryKey: YM,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -37560,17 +37594,17 @@ function YN({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsxs)(gj, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(yj, {
+ /* @__PURE__ */ (0, L.jsxs)(aj, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(cj, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, L.jsx)(gj, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, L.jsx)(aj, { 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)(gM, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(sM, {
type: "password",
label: n,
- placeholder: qN(e, n),
+ placeholder: GN(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -37598,7 +37632,7 @@ function YN({ row: e, readOnly: t, toast: n }) {
...Y(c.isPending),
onClick: () => void h({
title: "清除来源凭据",
- body: GN,
+ body: UN,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -37606,9 +37640,9 @@ function YN({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, L.jsx)(_j, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(gj, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, L.jsx)(cj, {
+ a ? /* @__PURE__ */ (0, L.jsx)(oj, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(aj, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, L.jsx)(ZA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -37616,25 +37650,25 @@ function YN({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: KN
+ children: WN
}) : null
]
});
}
-function XN({ row: e, readOnly: t, toast: n }) {
+function JN({ 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)(ON, { provider: e.provider })
+ children: /* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider })
}),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, L.jsx)(JN, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, L.jsx)(ww, {
+ /* @__PURE__ */ (0, L.jsx)(KN, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -37643,13 +37677,13 @@ function XN({ 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)(gj, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(aj, { 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)(Sj, {
- summary: TN(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !TN(e),
- children: /* @__PURE__ */ (0, L.jsx)(YN, {
+ children: [r, /* @__PURE__ */ (0, L.jsx)(dj, {
+ summary: wN(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !wN(e),
+ children: /* @__PURE__ */ (0, L.jsx)(qN, {
row: e,
readOnly: t,
toast: n
@@ -37657,10 +37691,10 @@ function XN({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function ZN({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !TN(e));
+function YN({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !wN(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -37676,11 +37710,11 @@ function ZN({ data: e, readOnly: t, toast: n }) {
}) : null]
}),
/* @__PURE__ */ (0, L.jsx)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(XN, {
+ children: r.map((e) => /* @__PURE__ */ (0, L.jsx)(JN, {
row: e,
readOnly: t,
toast: n
@@ -37691,13 +37725,13 @@ function ZN({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: UN
+ children: VN
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: WN
+ children: HN
}),
- /* @__PURE__ */ (0, L.jsx)(cj, {
+ /* @__PURE__ */ (0, L.jsx)(ZA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -37706,91 +37740,16 @@ function ZN({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: DS,
+ icon: SS,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
-//#region src/react/follow-manage/feed-sources.tsx
-function QN(e) {
- let t = e.last_fetched_at ? `上次拉取 ${new Date(e.last_fetched_at).toLocaleString()}` : "还没拉过", n = e.interval_minutes >= 60 ? `每 ${Math.round(e.interval_minutes / 60)} 小时一次` : `每 ${e.interval_minutes} 分钟一次`;
- return `${e.kind_label} · ${n} · ${t} · 上次新增 ${e.last_new_count} 条`;
-}
-var $N = () => X.invalidateQueries({
- queryKey: nN,
- exact: !0
-}), eP = (e) => e.name || e.url;
-function tP({ readOnly: e, toast: t }) {
- let n = Ot({
- queryKey: nN,
- queryFn: ({ signal: e }) => xN(e)
- }), r = Gw(), i = n.data;
- if (!i) return /* @__PURE__ */ (0, L.jsx)(lj, { children: /* @__PURE__ */ (0, L.jsx)(mj, { children: n.error ? /* @__PURE__ */ (0, L.jsx)(J, {
- tone: "error",
- title: "打不开订阅源",
- children: K(n.error)
- }) : /* @__PURE__ */ (0, L.jsx)(gj, { children: "正在读订阅源。" }) }) });
- let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => Bse(e.id, t, n), () => void $N()), o = (e) => void h({
- title: "移除订阅源",
- body: `将移除订阅源「${eP(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,
- confirmLabel: "移除订阅源",
- danger: !0,
- onConfirm: async () => {
- await Vse(e.id), t(`已移除订阅源「${eP(e)}」`), $N();
- }
- }), s = () => void r.run("check", (e) => Hse(e), () => void $N()), c = i.sources.filter((e) => e.last_error);
- return /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
- i.sources.length ? /* @__PURE__ */ (0, L.jsx)(pj, { children: i.sources.map((t) => /* @__PURE__ */ (0, L.jsx)(dj, {
- label: eP(t),
- description: QN(t),
- children: /* @__PURE__ */ (0, L.jsxs)("div", {
- className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(DO, {
- "aria-label": `启用 ${eP(t)}`,
- isSelected: t.enabled,
- isDisabled: e,
- onChange: (e) => a(t, e)
- }), /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "xs",
- iconOnly: !0,
- leadingIcon: bS,
- "aria-label": `移除 ${eP(t)}`,
- disabled: e,
- onClick: () => o(t)
- })]
- })
- }, t.id)) }) : /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: MS,
- title: "还没有订阅源",
- shell: "plain",
- children: "在人物页点「订阅新作」添加。"
- }),
- c.length || r.error ? /* @__PURE__ */ (0, L.jsxs)(mj, {
- divided: !0,
- children: [c.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
- tone: "error",
- title: `${eP(e)} 拉取失败`,
- children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: r.error }) : null]
- }) : null,
- /* @__PURE__ */ (0, L.jsx)(hj, {
- status: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了",
- children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: s,
- disabled: e,
- ...Y(r.busy === "check"),
- children: "立即拉取"
- })
- })
- ] });
-}
-//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function nP() {
+function XN() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -37803,24 +37762,24 @@ function nP() {
group: (e) => e
};
}
-function rP(e, t) {
+function ZN(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function iP(e, t) {
+function QN(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: rP(n, t[e])
+ [e]: ZN(n, t[e])
}));
};
}
-function aP(e) {
+function $N(e) {
return e instanceof Function;
}
-function oP(e) {
+function eP(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function sP(e, t) {
+function tP(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -37830,7 +37789,7 @@ function sP(e, t) {
};
return r(e), n;
}
-function cP(e, t, n) {
+function nP(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -37852,21 +37811,21 @@ function cP(e, t, n) {
return i;
};
}
-function lP(e, t, n, r) {
+function rP(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function uP(e, t, n, r) {
+function iP(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: cP(() => [
+ getContext: nP(() => [
e,
n,
t,
@@ -37878,13 +37837,13 @@ function uP(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), lP(e.options, "debugCells", "cell.getContext"))
+ }), rP(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function dP(e, t, n, r) {
+function aP(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -37901,17 +37860,17 @@ function dP(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: cP(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], lP(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: cP(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: nP(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], rP(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: nP(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, lP(e.options, "debugColumns", "column.getLeafColumns"))
+ }, rP(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var fP = "debugHeaders";
-function pP(e, t, n) {
+var oP = "debugHeaders";
+function sP(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -37939,42 +37898,42 @@ function pP(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var mP = { createTable: (e) => {
- e.getHeaderGroups = cP(() => [
+var cP = { createTable: (e) => {
+ e.getHeaderGroups = nP(() => [
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 hP(t, [
+ return lP(t, [
...a,
...s,
...o
], e);
- }, lP(e.options, fP, "getHeaderGroups")), e.getCenterHeaderGroups = cP(() => [
+ }, rP(e.options, oP, "getHeaderGroups")), e.getCenterHeaderGroups = nP(() => [
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))), hP(t, n, e, "center")), lP(e.options, fP, "getCenterHeaderGroups")), e.getLeftHeaderGroups = cP(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), lP(t, n, e, "center")), rP(e.options, oP, "getCenterHeaderGroups")), e.getLeftHeaderGroups = nP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => hP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), lP(e.options, fP, "getLeftHeaderGroups")), e.getRightHeaderGroups = cP(() => [
+ ], (t, n, r) => lP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), rP(e.options, oP, "getLeftHeaderGroups")), e.getRightHeaderGroups = nP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => hP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), lP(e.options, fP, "getRightHeaderGroups")), e.getFooterGroups = cP(() => [e.getHeaderGroups()], (e) => [...e].reverse(), lP(e.options, fP, "getFooterGroups")), e.getLeftFooterGroups = cP(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), lP(e.options, fP, "getLeftFooterGroups")), e.getCenterFooterGroups = cP(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), lP(e.options, fP, "getCenterFooterGroups")), e.getRightFooterGroups = cP(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), lP(e.options, fP, "getRightFooterGroups")), e.getFlatHeaders = cP(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), lP(e.options, fP, "getFlatHeaders")), e.getLeftFlatHeaders = cP(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), lP(e.options, fP, "getLeftFlatHeaders")), e.getCenterFlatHeaders = cP(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), lP(e.options, fP, "getCenterFlatHeaders")), e.getRightFlatHeaders = cP(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), lP(e.options, fP, "getRightFlatHeaders")), e.getCenterLeafHeaders = cP(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => lP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), rP(e.options, oP, "getRightHeaderGroups")), e.getFooterGroups = nP(() => [e.getHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getFooterGroups")), e.getLeftFooterGroups = nP(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getLeftFooterGroups")), e.getCenterFooterGroups = nP(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getCenterFooterGroups")), e.getRightFooterGroups = nP(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), rP(e.options, oP, "getRightFooterGroups")), e.getFlatHeaders = nP(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getFlatHeaders")), e.getLeftFlatHeaders = nP(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getLeftFlatHeaders")), e.getCenterFlatHeaders = nP(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getCenterFlatHeaders")), e.getRightFlatHeaders = nP(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rP(e.options, oP, "getRightFlatHeaders")), e.getCenterLeafHeaders = nP(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), lP(e.options, fP, "getCenterLeafHeaders")), e.getLeftLeafHeaders = cP(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), rP(e.options, oP, "getCenterLeafHeaders")), e.getLeftLeafHeaders = nP(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), lP(e.options, fP, "getLeftLeafHeaders")), e.getRightLeafHeaders = cP(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), rP(e.options, oP, "getLeftLeafHeaders")), e.getRightLeafHeaders = nP(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), lP(e.options, fP, "getRightLeafHeaders")), e.getLeafHeaders = cP(() => [
+ }), rP(e.options, oP, "getRightLeafHeaders")), e.getLeafHeaders = nP(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -37982,9 +37941,9 @@ var mP = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), lP(e.options, fP, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), rP(e.options, oP, "getLeafHeaders"));
} };
-function hP(e, t, n, r) {
+function lP(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;
@@ -38002,7 +37961,7 @@ function hP(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 = pP(n, c, {
+ let i = sP(n, c, {
id: [
r,
t,
@@ -38019,7 +37978,7 @@ function hP(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) => pP(n, e, {
+ s(t.map((e, t) => sP(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -38037,7 +37996,7 @@ function hP(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var gP = (e, t, n, r, i, a, o) => {
+var uP = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -38058,7 +38017,7 @@ var gP = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => sP(s.subRows, (e) => e.subRows),
+ getLeafRows: () => tP(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -38069,95 +38028,95 @@ var gP = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: cP(() => [e.getAllLeafColumns()], (t) => t.map((t) => uP(e, s, t, t.id)), lP(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: cP(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), lP(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: nP(() => [e.getAllLeafColumns()], (t) => t.map((t) => iP(e, s, t, t.id)), rP(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: nP(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), rP(e.options, "debugRows", "getAllCellsByColumnId"))
};
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;
-}, _P = { createColumn: (e, t) => {
+}, dP = { 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();
};
-} }, vP = (e, t, n) => {
+} }, fP = (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));
};
-vP.autoRemove = (e) => OP(e);
-var yP = (e, t, n) => {
+fP.autoRemove = (e) => SP(e);
+var pP = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-yP.autoRemove = (e) => OP(e);
-var bP = (e, t, n) => {
+pP.autoRemove = (e) => SP(e);
+var mP = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-bP.autoRemove = (e) => OP(e);
-var xP = (e, t, n) => e.getValue(t)?.includes(n);
-xP.autoRemove = (e) => OP(e);
-var SP = (e, t, n) => !n.some((n) => {
+mP.autoRemove = (e) => SP(e);
+var hP = (e, t, n) => e.getValue(t)?.includes(n);
+hP.autoRemove = (e) => SP(e);
+var gP = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-SP.autoRemove = (e) => OP(e) || !(e != null && e.length);
-var CP = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-CP.autoRemove = (e) => OP(e) || !(e != null && e.length);
-var wP = (e, t, n) => e.getValue(t) === n;
-wP.autoRemove = (e) => OP(e);
-var TP = (e, t, n) => e.getValue(t) == n;
-TP.autoRemove = (e) => OP(e);
-var EP = (e, t, n) => {
+gP.autoRemove = (e) => SP(e) || !(e != null && e.length);
+var _P = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+_P.autoRemove = (e) => SP(e) || !(e != null && e.length);
+var vP = (e, t, n) => e.getValue(t) === n;
+vP.autoRemove = (e) => SP(e);
+var yP = (e, t, n) => e.getValue(t) == n;
+yP.autoRemove = (e) => SP(e);
+var bP = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-EP.resolveFilterValue = (e) => {
+bP.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];
-}, EP.autoRemove = (e) => OP(e) || OP(e[0]) && OP(e[1]);
-var DP = {
- includesString: vP,
- includesStringSensitive: yP,
- equalsString: bP,
- arrIncludes: xP,
- arrIncludesAll: SP,
- arrIncludesSome: CP,
- equals: wP,
- weakEquals: TP,
- inNumberRange: EP
+}, bP.autoRemove = (e) => SP(e) || SP(e[0]) && SP(e[1]);
+var xP = {
+ includesString: fP,
+ includesStringSensitive: pP,
+ equalsString: mP,
+ arrIncludes: hP,
+ arrIncludesAll: gP,
+ arrIncludesSome: _P,
+ equals: vP,
+ weakEquals: yP,
+ inNumberRange: bP
};
-function OP(e) {
+function SP(e) {
return e == null || e === "";
}
-var kP = {
+var CP = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: iP("columnFilters", e),
+ onColumnFiltersChange: QN("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? DP.includesString : typeof n == "number" ? DP.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? DP.equals : Array.isArray(n) ? DP.arrIncludes : DP.weakEquals;
- }, e.getFilterFn = () => aP(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? DP[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" ? xP.includesString : typeof n == "number" ? xP.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? xP.equals : Array.isArray(n) ? xP.arrIncludes : xP.weakEquals;
+ }, e.getFilterFn = () => $N(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? xP[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
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 = rP(n, i ? i.value : void 0);
- if (AP(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = ZN(n, i ? i.value : void 0);
+ if (wP(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -38172,19 +38131,19 @@ var kP = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => rP(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => ZN(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && AP(t.getFilterFn(), e.value, t));
+ return !(t && wP(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 AP(e, t, n) {
+function wP(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var jP = {
+var TP = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -38220,7 +38179,7 @@ var jP = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!oP(n)) return;
+ if (!eP(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];
@@ -38228,7 +38187,7 @@ var jP = {
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
-}, MP = {
+}, EP = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -38241,7 +38200,7 @@ var jP = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: iP("grouping", e),
+ onGroupingChange: QN("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -38254,11 +38213,11 @@ var jP = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return jP.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return jP.extent;
+ if (typeof n == "number") return TP.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return TP.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return aP(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? jP[e.columnDef.aggregationFn];
+ return $N(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? TP[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -38280,27 +38239,27 @@ var jP = {
};
}
};
-function NP(e, t, n) {
+function DP(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 PP = {
+var OP = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: iP("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: QN("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = cP((e) => [GP(t, e)], (t) => t.findIndex((t) => t.id === e.id), lP(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => GP(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = GP(t, n);
+ e.getIndex = nP((e) => [zP(t, e)], (t) => t.findIndex((t) => t.id === e.id), rP(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => zP(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = zP(t, n);
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 = cP(() => [
+ }, e._getOrderColumnsFn = nP(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -38315,18 +38274,18 @@ var PP = {
}
i = [...i, ...n];
}
- return NP(i, t, n);
- }, lP(e.options, "debugTable", "_getOrderColumnsFn"));
+ return DP(i, t, n);
+ }, rP(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, FP = () => ({
+}, kP = () => ({
left: [],
right: []
-}), IP = {
+}), AP = {
getInitialState: (e) => ({
- columnPinning: FP(),
+ columnPinning: kP(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: iP("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: QN("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -38350,75 +38309,75 @@ var PP = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = cP(() => [
+ e.getCenterVisibleCells = nP(() => [
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));
- }, lP(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = cP(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, rP(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = nP(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), lP(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = cP(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), rP(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = nP(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), lP(t.options, "debugRows", "getRightVisibleCells"));
+ })), rP(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 ? FP() : e.initialState?.columnPinning ?? FP()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? kP() : e.initialState?.columnPinning ?? kP()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = cP(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), lP(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = cP(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), lP(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = cP(() => [
+ }, e.getLeftLeafColumns = nP(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rP(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = nP(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rP(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = nP(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, lP(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, rP(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function LP(e) {
+function jP(e) {
return e || (typeof document < "u" ? document : null);
}
-var RP = {
+var MP = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, zP = () => ({
+}, NP = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), BP = {
- getDefaultColumnDef: () => RP,
+}), PP = {
+ getDefaultColumnDef: () => MP,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: zP(),
+ columnSizingInfo: NP(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: iP("columnSizing", e),
- onColumnSizingInfoChange: iP("columnSizingInfo", e)
+ onColumnSizingChange: QN("columnSizing", e),
+ onColumnSizingInfoChange: QN("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? RP.minSize, n ?? e.columnDef.size ?? RP.size), e.columnDef.maxSize ?? RP.maxSize);
- }, e.getStart = cP((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? MP.minSize, n ?? e.columnDef.size ?? MP.size), e.columnDef.maxSize ?? MP.maxSize);
+ }, e.getStart = nP((e) => [
e,
- GP(t, e),
+ zP(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), lP(t.options, "debugColumns", "getStart")), e.getAfter = cP((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), rP(t.options, "debugColumns", "getStart")), e.getAfter = nP((e) => [
e,
- GP(t, e),
+ zP(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), lP(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), rP(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -38440,8 +38399,8 @@ var RP = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), UP(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 = UP(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), LP(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = LP(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
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) => {
@@ -38466,7 +38425,7 @@ var RP = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = LP(n), m = {
+ }, p = jP(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -38476,8 +38435,8 @@ var RP = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = HP() ? { passive: !1 } : !1;
- UP(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 = IP() ? { passive: !1 } : !1;
+ LP(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -38493,12 +38452,12 @@ var RP = {
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 ? zP() : e.initialState.columnSizingInfo ?? zP());
+ e.setColumnSizingInfo(t ? NP() : e.initialState.columnSizingInfo ?? NP());
}, 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;
}
-}, VP = null;
-function HP() {
- if (typeof VP == "boolean") return VP;
+}, FP = null;
+function IP() {
+ if (typeof FP == "boolean") return FP;
let e = !1;
try {
let t = { get passive() {
@@ -38508,17 +38467,17 @@ function HP() {
} catch {
e = !1;
}
- return VP = e, VP;
+ return FP = e, FP;
}
-function UP(e) {
+function LP(e) {
return e.type === "touchstart";
}
-var WP = {
+var RP = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: iP("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: QN("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -38533,7 +38492,7 @@ var WP = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = cP(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), lP(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = cP(() => [
+ e._getAllVisibleCells = nP(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), rP(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = nP(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -38541,10 +38500,10 @@ var WP = {
...e,
...t,
...n
- ], lP(t.options, "debugRows", "getVisibleCells"));
+ ], rP(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => cP(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), lP(e.options, "debugColumns", t));
+ let t = (t, n) => nP(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), rP(e.options, "debugColumns", t));
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) => {
@@ -38557,20 +38516,20 @@ var WP = {
};
}
};
-function GP(e, t) {
+function zP(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var KP = { createTable: (e) => {
+var BP = { 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();
};
-} }, qP = {
+} }, VP = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: iP("globalFilter", e),
+ onGlobalFilterChange: QN("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -38582,22 +38541,22 @@ var KP = { 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 = () => DP.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => xP.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return aP(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? DP[t];
+ return $N(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? xP[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, JP = {
+}, HP = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: iP("expanded", e),
+ onExpandedChange: QN("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -38668,18 +38627,18 @@ var KP = { createTable: (e) => {
};
};
}
-}, YP = 0, XP = 10, ZP = () => ({
- pageIndex: YP,
- pageSize: XP
-}), QP = {
+}, UP = 0, WP = 10, GP = () => ({
+ pageIndex: UP,
+ pageSize: WP
+}), KP = {
getInitialState: (e) => ({
...e,
pagination: {
- ...ZP(),
+ ...GP(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: iP("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: QN("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -38695,11 +38654,11 @@ var KP = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => rP(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? ZP() : e.initialState.pagination ?? ZP());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => ZN(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? GP() : e.initialState.pagination ?? GP());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = rP(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = ZN(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
@@ -38707,13 +38666,13 @@ var KP = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? YP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? YP);
+ e.setPageIndex(t ? UP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? UP);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? XP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? XP);
+ e.setPageSize(t ? WP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? WP);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, rP(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, ZN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -38721,28 +38680,28 @@ var KP = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = rP(t, e.options.pageCount ?? -1);
+ let r = ZN(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = cP(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = nP(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, lP(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, rP(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;
}
-}, $P = () => ({
+}, qP = () => ({
top: [],
bottom: []
-}), eF = {
+}), JP = {
getInitialState: (e) => ({
- rowPinning: $P(),
+ rowPinning: qP(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: iP("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: QN("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -38781,7 +38740,7 @@ var KP = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? $P() : e.initialState?.rowPinning ?? $P()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? qP() : e.initialState?.rowPinning ?? qP()), e.getIsSomeRowsPinned = (t) => {
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) => {
@@ -38790,22 +38749,22 @@ var KP = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = cP(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), lP(e.options, "debugRows", "getTopRows")), e.getBottomRows = cP(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), lP(e.options, "debugRows", "getBottomRows")), e.getCenterRows = cP(() => [
+ })), e.getTopRows = nP(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), rP(e.options, "debugRows", "getTopRows")), e.getBottomRows = nP(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), rP(e.options, "debugRows", "getBottomRows")), e.getCenterRows = nP(() => [
e.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));
- }, lP(e.options, "debugRows", "getCenterRows"));
+ }, rP(e.options, "debugRows", "getCenterRows"));
}
-}, tF = {
+}, YP = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: iP("rowSelection", e),
+ onRowSelectionChange: QN("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -38824,21 +38783,21 @@ var KP = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- nF(i, t.id, r, !0, e);
+ XP(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = cP(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? rF(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = nP(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? ZP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, lP(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = cP(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? rF(e, n) : {
+ }, rP(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = nP(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? ZP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, lP(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = cP(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? rF(e, n) : {
+ }, rP(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = nP(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? ZP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, lP(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, rP(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 = () => {
@@ -38862,17 +38821,17 @@ var KP = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return nF(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return XP(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return iF(e, n);
+ return QP(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return aF(e, n) === "some";
+ return $P(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return aF(e, n) === "all";
+ return $P(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) => {
@@ -38880,16 +38839,16 @@ var KP = { createTable: (e) => {
};
};
}
-}, nF = (e, t, n, r, i) => {
+}, XP = (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) => nF(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) => XP(e, t.id, n, r, i));
};
-function rF(e, t) {
+function ZP(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = iF(e, n);
+ let o = QP(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -38902,32 +38861,32 @@ function rF(e, t) {
rowsById: i
};
}
-function iF(e, t) {
+function QP(e, t) {
return t[e.id] ?? !1;
}
-function aF(e, t, n) {
+function $P(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() && (iF(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = aF(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (QP(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = $P(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var oF = /([0-9]+)/gm, sF = (e, t, n) => hF(mF(e.getValue(n)).toLowerCase(), mF(t.getValue(n)).toLowerCase()), cF = (e, t, n) => hF(mF(e.getValue(n)), mF(t.getValue(n))), lF = (e, t, n) => pF(mF(e.getValue(n)).toLowerCase(), mF(t.getValue(n)).toLowerCase()), uF = (e, t, n) => pF(mF(e.getValue(n)), mF(t.getValue(n))), dF = (e, t, n) => {
+var eF = /([0-9]+)/gm, tF = (e, t, n) => lF(cF(e.getValue(n)).toLowerCase(), cF(t.getValue(n)).toLowerCase()), nF = (e, t, n) => lF(cF(e.getValue(n)), cF(t.getValue(n))), rF = (e, t, n) => sF(cF(e.getValue(n)).toLowerCase(), cF(t.getValue(n)).toLowerCase()), iF = (e, t, n) => sF(cF(e.getValue(n)), cF(t.getValue(n))), aF = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, fF = (e, t, n) => pF(e.getValue(n), t.getValue(n));
-function pF(e, t) {
+}, oF = (e, t, n) => sF(e.getValue(n), t.getValue(n));
+function sF(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function mF(e) {
+function cF(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function hF(e, t) {
- let n = e.split(oF).filter(Boolean), r = t.split(oF).filter(Boolean);
+function lF(e, t) {
+ let n = e.split(eF).filter(Boolean), r = t.split(eF).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])) {
@@ -38941,22 +38900,22 @@ function hF(e, t) {
}
return n.length - r.length;
}
-var gF = {
- alphanumeric: sF,
- alphanumericCaseSensitive: cF,
- text: lF,
- textCaseSensitive: uF,
- datetime: dF,
- basic: fF
-}, _F = [
- mP,
- WP,
- PP,
- IP,
- _P,
- kP,
- KP,
- qP,
+var uF = {
+ alphanumeric: tF,
+ alphanumericCaseSensitive: nF,
+ text: rF,
+ textCaseSensitive: iF,
+ datetime: aF,
+ basic: oF
+}, dF = [
+ cP,
+ RP,
+ OP,
+ AP,
+ dP,
+ CP,
+ BP,
+ VP,
{
getInitialState: (e) => ({
sorting: [],
@@ -38967,7 +38926,7 @@ var gF = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: iP("sorting", e),
+ onSortingChange: QN("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -38975,13 +38934,13 @@ var gF = {
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 gF.datetime;
- if (typeof n == "string" && (r = !0, n.split(oF).length > 1)) return gF.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return uF.datetime;
+ if (typeof n == "string" && (r = !0, n.split(eF).length > 1)) return uF.alphanumeric;
}
- return r ? gF.text : gF.basic;
+ return r ? uF.text : uF.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return aP(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? gF[e.columnDef.sortingFn];
+ return $N(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? uF[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -39018,15 +38977,15 @@ var gF = {
}, 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());
}
},
- MP,
+ EP,
+ HP,
+ KP,
JP,
- QP,
- eF,
- tF,
- BP
+ YP,
+ PP
];
-function vF(e) {
- let t = [..._F, ...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 fF(e) {
+ let t = [...dF, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -39052,7 +39011,7 @@ function vF(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = rP(e, n.options);
+ let t = ZN(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -39067,7 +39026,7 @@ function vF(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: cP(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: nP(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -39078,20 +39037,20 @@ function vF(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), lP(e, "debugColumns", "_getDefaultColumnDef")),
+ }), rP(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: cP(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: nP(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = dP(n, e, i, r), o = e;
+ let a = aP(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, lP(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: cP(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), lP(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: cP(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), lP(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: cP(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), lP(e, "debugColumns", "getAllLeafColumns")),
+ }, rP(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: nP(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), rP(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: nP(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), rP(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: nP(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), rP(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -39101,8 +39060,8 @@ function vF(e) {
}
return n;
}
-function yF() {
- return (e) => cP(() => [e.options.data], (t) => {
+function pF() {
+ return (e) => nP(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -39111,7 +39070,7 @@ function yF() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = gP(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = uP(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));
@@ -39120,9 +39079,9 @@ function yF() {
return o;
};
return n.rows = r(t), n;
- }, lP(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, rP(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function bF(e) {
+function mF(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -39133,8 +39092,8 @@ function bF(e) {
rowsById: e.rowsById
};
}
-function xF(e) {
- return (e) => cP(() => [
+function hF(e) {
+ return (e) => nP(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -39147,7 +39106,7 @@ function xF(e) {
rows: a,
flatRows: o,
rowsById: s
- } : bF({
+ } : mF({
rows: a,
flatRows: o,
rowsById: s
@@ -39156,32 +39115,32 @@ function xF(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, lP(e.options, "debugTable", "getPaginationRowModel"));
+ }, rP(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function SF(e, t) {
- return e ? CF(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
+function gF(e, t) {
+ return e ? _F(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
}
-function CF(e) {
- return wF(e) || typeof e == "function" || TF(e);
+function _F(e) {
+ return vF(e) || typeof e == "function" || yF(e);
}
-function wF(e) {
+function vF(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function TF(e) {
+function yF(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function EF(e) {
+function bF(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = I.useState(() => ({ current: vF(t) })), [r, i] = I.useState(() => n.current.initialState);
+ }, [n] = I.useState(() => ({ current: fF(t) })), [r, i] = I.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -39196,7 +39155,7 @@ function EF(e) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-function DF({ children: e, count: t, label: n }) {
+function xF({ children: e, count: t, label: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": n,
@@ -39210,20 +39169,493 @@ function DF({ children: e, count: t, label: n }) {
});
}
//#endregion
+//#region src/react/follow-manage/add-feed.tsx
+var SF = "输入女优名,到 JavDB 找她的演员页";
+function CF(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 {
+ text: `所勾的卡分属账本里不同的人:${[...n.values()].join("、")},先去合并再订`,
+ blocked: !0
+ };
+ let [r] = n.values();
+ return r ? {
+ text: `会登记到「${r}」名下`,
+ blocked: !1
+ } : e.known ? {
+ text: `会登记到账本里的「${e.known.name}」名下`,
+ blocked: !1
+ } : {
+ text: `账本里还没有「${e.q}」,会新建一位`,
+ blocked: !1
+ };
+}
+function wF({ card: e, picked: t, onPick: n }) {
+ return /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, L.jsx)(zj, {
+ isSelected: t,
+ onChange: n,
+ children: /* @__PURE__ */ (0, L.jsxs)("span", {
+ className: "flex min-w-0 flex-wrap items-center gap-1.5",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "min-w-0 break-words",
+ children: e.names.join("、")
+ }),
+ e.record ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ variant: "caption",
+ color: "neutral",
+ children: e.record
+ }) : null,
+ e.held_by ? /* @__PURE__ */ (0, L.jsx)("small", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: `已在「${e.held_by.name}」名下`
+ }) : null
+ ]
+ })
+ }), /* @__PURE__ */ (0, L.jsx)(cj, {
+ href: e.url,
+ children: e.id
+ })]
+ });
+}
+function TF({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Bw(), u = () => {
+ let t = r.trim();
+ !t || e || l.run("lookup", (e) => Jse(t, e), (e) => {
+ o(e), c(new Set(e.suggested));
+ });
+ }, d = (e) => {
+ e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), u());
+ }, f = () => {
+ o(null), c(/* @__PURE__ */ new Set()), l.setError("");
+ }, p = () => {
+ a && l.run("follow", (e) => Yse(a.q, [...s], e), (e) => {
+ t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
+ });
+ }, m = a ? CF(a, s) : null;
+ return /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: Mw({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, L.jsx)("h3", {
+ className: "text-title-2-medium text-text-primary",
+ children: "添加 JAV 订阅"
+ }),
+ /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-wrap items-end gap-2",
+ children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ className: "min-w-64 grow",
+ children: /* @__PURE__ */ (0, L.jsx)(sM, {
+ "aria-label": "女优名",
+ placeholder: SF,
+ value: r,
+ leadingIcon: OS,
+ isDisabled: e,
+ onChange: i,
+ onKeyDown: d
+ })
+ }), /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "primary",
+ disabled: e || !r.trim(),
+ ...Y(l.busy === "lookup"),
+ onClick: u,
+ children: "查找"
+ })]
+ }),
+ l.error ? /* @__PURE__ */ (0, L.jsx)(J, {
+ tone: "error",
+ title: "这一次没有完成",
+ children: l.error
+ }) : null,
+ a ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(wF, {
+ card: e,
+ picked: s.has(e.id),
+ onPick: (t) => c((n) => {
+ let r = new Set(n);
+ return t ? r.add(e.id) : r.delete(e.id), r;
+ })
+ }, e.id)) : /* @__PURE__ */ (0, L.jsx)(aj, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(aj, {
+ role: "status",
+ children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
+ }) : null,
+ /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "primary",
+ size: "small",
+ disabled: e || !s.size || m.blocked,
+ ...Y(l.busy === "follow"),
+ onClick: p,
+ children: `添加订阅(${s.size})`
+ }) : null, /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ onClick: f,
+ children: "关闭"
+ })]
+ })
+ ]
+ }) : null
+ ]
+ });
+}
+//#endregion
+//#region src/react/follow-manage/feed-sources.tsx
+var EF = {
+ select: "选择",
+ name: "名称",
+ kind: "类型",
+ origin: "来源",
+ status: "状态",
+ interval: "频率",
+ fetched: "上次拉取",
+ fresh: "上次新增",
+ actions: "操作"
+}, DF = /* @__PURE__ */ new Set(["select", "actions"]), OF = () => X.invalidateQueries({
+ queryKey: XM,
+ exact: !0
+}), kF = (e) => e.name || e.url, AF = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function jF(e) {
+ try {
+ return new URL(e).hostname.replace(/^www\./, "");
+ } catch {
+ return e;
+ }
+}
+function MF({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ variant: "caption",
+ color: "rose",
+ children: "拉取失败"
+ }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(yw, {
+ variant: "caption",
+ color: "lime",
+ children: "正常"
+ }) : /* @__PURE__ */ (0, L.jsx)(yw, {
+ variant: "caption",
+ color: "neutral",
+ children: "已暂停"
+ });
+}
+function NF({ source: e }) {
+ return e.has_image && e.entity_id ? /* @__PURE__ */ (0, L.jsx)("img", {
+ src: `/entity-image?kind=performer&id=${e.entity_id}&thumb=1`,
+ alt: "",
+ width: 32,
+ height: 32,
+ loading: "lazy",
+ className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"
+ }) : /* @__PURE__ */ (0, L.jsx)("span", {
+ "aria-hidden": !0,
+ className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
+ children: kF(e).slice(0, 1)
+ });
+}
+function PF(e, t) {
+ let n = e.length === 1 ? e[0] : null;
+ return h({
+ title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
+ body: n ? `将移除订阅源「${kF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
+ danger: !0,
+ onConfirm: t
+ });
+}
+function FF({ readOnly: e, toast: t }) {
+ let n = Ot({
+ queryKey: XM,
+ queryFn: ({ signal: e }) => gN(e)
+ }), r = Bw(), i = n.data, a = (0, I.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, I.useState)(/* @__PURE__ */ new Set());
+ (0, I.useEffect)(() => {
+ s((e) => {
+ let t = new Set(a.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
+ return n.size === e.size ? e : n;
+ });
+ }, [a]);
+ let c = kt({
+ mutationFn: async (e) => {
+ let t = await l(e.ids, 4, async (t) => {
+ e.action === "remove" ? await vN(t) : await _N(t, e.action === "enabled");
+ });
+ return {
+ ...e,
+ results: t
+ };
+ },
+ onSuccess: (e) => {
+ let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
+ if (s(/* @__PURE__ */ new Set()), OF(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ let e = n[0];
+ r.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
+ }
+ },
+ onError: (e) => r.setError(K(e))
+ }), u = (0, I.useRef)({
+ readOnly: e,
+ busy: null,
+ toggle: () => {},
+ fetch: () => {},
+ remove: () => {}
+ });
+ u.current = {
+ readOnly: e,
+ busy: r.busy,
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => _N(e.id, t, n), () => void OF()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => yN(t, [e.id]), () => void OF()),
+ remove: (e) => void PF([e], async () => {
+ await vN(e.id), t(`已移除订阅源「${kF(e)}」`), OF();
+ })
+ };
+ let d = (0, I.useMemo)(() => {
+ let e = XN(), t = (e) => () => EF[e] || e;
+ return [
+ e.display({
+ id: "select",
+ header: t("select"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(zj, {
+ slot: null,
+ isSelected: e.row.getIsSelected(),
+ onChange: (t) => e.row.toggleSelected(t),
+ "aria-label": `选择 ${kF(e.row.original)}`
+ })
+ }),
+ e.accessor(kF, {
+ id: "name",
+ header: t("name"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
+ children: [/* @__PURE__ */ (0, L.jsx)(NF, { source: e.row.original }), e.getValue()]
+ })
+ }),
+ e.accessor((e) => e.kind_label, {
+ id: "kind",
+ header: t("kind"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.url, {
+ id: "origin",
+ header: t("origin"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("a", {
+ href: e.getValue(),
+ target: "_blank",
+ rel: "noreferrer noopener",
+ title: "打开来源页面",
+ className: "text-text-primary underline-offset-2 hover:underline",
+ children: jF(e.getValue())
+ })
+ }),
+ e.display({
+ id: "status",
+ header: t("status"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(MF, { source: e.row.original })
+ }),
+ e.accessor((e) => AF(e.interval_minutes), {
+ id: "interval",
+ header: t("interval"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.last_fetched_at ? yk(e.last_fetched_at) : "还没拉过", {
+ id: "fetched",
+ header: t("fetched"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.last_new_count, {
+ id: "fresh",
+ header: t("fresh"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: `${e.getValue()} 条`
+ })
+ }),
+ e.display({
+ id: "actions",
+ header: t("actions"),
+ cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ className: "flex items-center gap-1",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(yO, {
+ "aria-label": `启用 ${kF(e.row.original)}`,
+ isSelected: e.row.original.enabled,
+ isDisabled: u.current.readOnly,
+ onChange: (t) => u.current.toggle(e.row.original, t)
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: ES,
+ "aria-label": `拉取 ${kF(e.row.original)}`,
+ disabled: u.current.readOnly,
+ ...Y(u.current.busy === `check-${e.row.original.id}`),
+ onClick: () => u.current.fetch(e.row.original)
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: _S,
+ "aria-label": `移除 ${kF(e.row.original)}`,
+ disabled: u.current.readOnly,
+ onClick: () => u.current.remove(e.row.original)
+ })
+ ]
+ })
+ })
+ ];
+ }, []), f = (0, I.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), p = bF({
+ data: a,
+ columns: d,
+ getRowId: (e) => String(e.id),
+ state: { rowSelection: f },
+ enableRowSelection: !0,
+ onRowSelectionChange: (e) => {
+ let t = typeof e == "function" ? e(f) : e;
+ s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
+ },
+ getCoreRowModel: pF()
+ });
+ if (!i) return n.error ? /* @__PURE__ */ (0, L.jsx)(J, {
+ tone: "error",
+ title: "打不开订阅源",
+ children: K(n.error)
+ }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: "正在读订阅源。" });
+ let m = () => void r.run("check", (e) => yN(e), () => void OF()), h = (e) => s((t) => {
+ let n = new Set(t);
+ return n.has(e) ? n.delete(e) : n.add(e), n;
+ }), g = a.filter((e) => o.has(e.id)), _ = a.filter((e) => e.last_error);
+ return /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(TF, {
+ readOnly: e,
+ toast: t,
+ onAdded: () => void OF()
+ }),
+ /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-wrap items-center justify-between gap-3",
+ children: [/* @__PURE__ */ (0, L.jsx)(aj, {
+ role: "status",
+ children: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了"
+ }), /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: m,
+ disabled: e,
+ ...Y(r.busy === "check"),
+ children: "立即拉取"
+ })]
+ }),
+ _.length || r.error ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [_.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
+ tone: "error",
+ title: `${kF(e)} 拉取失败`,
+ children: e.last_error
+ }, e.id)), r.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: r.error }) : null]
+ }) : null,
+ g.length ? /* @__PURE__ */ (0, L.jsxs)(xF, {
+ label: "订阅源批量操作",
+ count: `已选 ${g.length} 条订阅源`,
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ disabled: e,
+ ...Y(c.isPending),
+ onClick: () => c.mutate({
+ ids: g.map((e) => e.id),
+ action: "enabled"
+ }),
+ children: "启用"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ disabled: e,
+ ...Y(c.isPending),
+ onClick: () => c.mutate({
+ ids: g.map((e) => e.id),
+ action: "paused"
+ }),
+ children: "暂停"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "danger",
+ size: "small",
+ disabled: e,
+ ...Y(c.isPending),
+ onClick: () => void PF(g, () => c.mutateAsync({
+ ids: g.map((e) => e.id),
+ action: "remove"
+ })),
+ children: "移除"
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "ghost",
+ size: "small",
+ onClick: () => s(/* @__PURE__ */ new Set()),
+ children: "取消选择"
+ })
+ ]
+ }) : null,
+ a.length ? /* @__PURE__ */ (0, L.jsx)(Uj, {
+ onRowClick: (e) => h(Number(e)),
+ children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ "aria-label": "订阅源",
+ size: "sm",
+ children: [/* @__PURE__ */ (0, L.jsx)(tO, { children: p.getHeaderGroups()[0].headers.map((e) => {
+ let t = gF(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(nO, {
+ id: e.id,
+ isRowHeader: e.column.id === "name",
+ children: DF.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(J_, { children: t }) : t
+ }, e.id);
+ }) }), /* @__PURE__ */ (0, L.jsx)(iO, { children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(sO, {
+ id: e.id,
+ "data-follow-selected": e.getIsSelected() || void 0,
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: gF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ }, e.id)) })]
+ })
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: DS,
+ title: "还没有订阅源",
+ shell: "plain",
+ children: "在上面按女优名添加,或在人物页点「订阅新作」。"
+ })
+ ]
+ });
+}
+//#endregion
//#region src/react/follow-manage/source-list.tsx
-var OF = Object.fromEntries(Object.entries(aN).map(([e, t]) => [t, e])), kF = 740;
-function AF() {
+var IF = Object.fromEntries(Object.entries($M).map(([e, t]) => [t, e])), LF = 740;
+function RF() {
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 < kF));
- r.observe(e), n.current = r, t(e.clientWidth < kF);
+ let r = new ResizeObserver(() => t(e.clientWidth < LF));
+ r.observe(e), n.current = r, t(e.clientWidth < LF);
}, []);
return (0, I.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var jF = {
+var zF = {
select: "选择",
author: "创作者",
source: "来源",
@@ -39232,7 +39664,7 @@ var jF = {
checked: "上次检查",
actions: "操作"
};
-function MF({ page: e, pages: t, onPage: n }) {
+function BF({ 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",
@@ -39246,7 +39678,7 @@ function MF({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: Ek(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: hk(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: "…"
@@ -39269,19 +39701,22 @@ function MF({ page: e, pages: t, onPage: n }) {
]
});
}
-function NF({ source: e, selected: t, onToggle: n, handlers: r }) {
+function VF({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
+ onClick: (e) => {
+ Hj(e, e.currentTarget) && n(!t);
+ },
children: [
- /* @__PURE__ */ (0, L.jsx)(Xj, {
+ /* @__PURE__ */ (0, L.jsx)(zj, {
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)(jN, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(AN, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -39289,15 +39724,21 @@ function NF({ 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)(ON, {
+ children: /* @__PURE__ */ (0, L.jsx)(DN, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, L.jsx)(AN, { source: e }),
+ /* @__PURE__ */ (0, L.jsx)(kN, { source: e }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: wN(e)
+ children: CN(e)
+ }),
+ /* @__PURE__ */ (0, L.jsx)(yO, {
+ "aria-label": `启用 ${e.label}`,
+ isSelected: e.enabled,
+ isDisabled: r.readOnly,
+ onChange: (t) => r.toggle(e, t)
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
@@ -39305,7 +39746,7 @@ function NF({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: jS,
+ leadingIcon: ES,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -39314,7 +39755,7 @@ function NF({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: bS,
+ leadingIcon: _S,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -39323,11 +39764,11 @@ function NF({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function PF({ 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(sN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = mN(r, c);
+function HF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(tN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = cN(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: Lw({
+ className: Mw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -39337,7 +39778,7 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(kN, {
+ /* @__PURE__ */ (0, L.jsx)(ON, {
group: e,
name: t
}),
@@ -39349,7 +39790,7 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: jS,
+ leadingIcon: ES,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -39358,7 +39799,7 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(ON, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(X_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(DN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(J_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -39367,7 +39808,7 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: gS,
+ leadingIcon: pS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -39378,7 +39819,7 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? hS : fS,
+ leadingIcon: n ? fS : lS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -39388,7 +39829,7 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(NF, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(VF, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -39397,43 +39838,49 @@ function PF({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
})]
});
}
-function FF(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: g, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = AF(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => Ese(v, n, r, y), [
+function UF(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: g, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = RF(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => Fse(v, n, r, y), [
v,
n,
r,
y
- ]), O = (0, I.useMemo)(() => Dse(D, n, r, y), [
+ ]), O = (0, I.useMemo)(() => Ise(D, n, r, y), [
D,
n,
r,
y
- ]), { job: k, running: A, outcome: j, start: M } = Wj({
- queryKey: hse,
- queryFn: ({ signal: e }) => Ase(e),
- start: (e) => vN(e),
+ ]), { job: k, running: A, outcome: j, start: M } = Nj({
+ queryKey: wse,
+ queryFn: ({ signal: e }) => zse(e),
+ start: (e) => fN(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- CN(), g(e.status === "failed" ? e.error || "检查失败" : Gse(e));
+ SN(), g(e.status === "failed" ? e.error || "检查失败" : Zse(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, ee = (e, t) => m(hN(s, [e], t)), te = (e, t) => m(hN(s, e, t)), P = kt({
- mutationFn: (e) => yN(e),
+ }, P = (e, t) => m(lN(s, [e], t)), ee = (e, t) => m(lN(s, e, t)), F = kt({
+ mutationFn: (e) => mN(e),
+ onSuccess: (e, t) => {
+ xN([t]), m(lN(s, [t], !1)), g("已取消关注来源");
+ },
+ onError: (e) => E(K(e))
+ }), te = kt({
+ mutationFn: (e) => pN(e.id, e.enabled),
onSuccess: (e, t) => {
- SN([t]), m(hN(s, [t], !1)), g("已取消关注来源");
+ bN(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(K(e))
- }), F = (e) => void h({
+ }), ne = (e) => void h({
title: "取消关注来源",
body: "将移除这个来源及已抓取的条目,媒体文件保留。",
confirmLabel: "取消关注来源",
danger: !0,
- onConfirm: () => P.mutateAsync(e.id)
- }), ne = kt({
+ onConfirm: () => F.mutateAsync(e.id)
+ }), re = kt({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await yN(t) : await Pse(t, e.action === "enabled");
+ e.action === "remove" ? await mN(t) : await pN(t, e.action === "enabled");
});
return {
...e,
@@ -39442,9 +39889,9 @@ function FF(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") SN(e.done);
- else for (let t of e.done) Wse(t, { enabled: e.action === "enabled" });
- m(hN(s, e.done, !1));
+ if (e.action === "remove") xN(e.done);
+ else for (let t of e.done) bN(t, { enabled: e.action === "enabled" });
+ m(lN(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -39455,45 +39902,50 @@ function FF(e) {
g(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => E(K(e))
- }), re = kt({
+ }), ie = kt({
mutationFn: async (e) => {
- let t = ((await zse()).groups || []).flatMap((e) => [
+ let t = ((await qse()).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) => Rse(t, e))).filter((e) => !e.ok)
+ failed: (await l(t, 6, (t) => Kse(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (CN(), e.failed.length) {
+ if (SN(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
E(""), g(`已批量标记 ${e.ids.length} 项`);
},
onError: (e) => E(K(e))
- }), ie = (0, I.useRef)({
+ }), ae = (e, t) => te.mutate({
+ id: e.id,
+ enabled: t
+ }), oe = (0, I.useRef)({
check: N,
- remove: F,
+ toggle: ae,
+ remove: ne,
busy: !1,
readOnly: c
});
- ie.current = {
+ oe.current = {
check: N,
- remove: F,
+ toggle: ae,
+ remove: ne,
busy: A || M.isPending,
readOnly: c
};
- let ae = ie.current, oe = (0, I.useMemo)(() => {
- let e = nP(), t = (e) => () => jF[e] || e;
+ let se = oe.current, ce = (0, I.useMemo)(() => {
+ let e = XN(), t = (e) => () => zF[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(Xj, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(zj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -39505,7 +39957,7 @@ function FF(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)(kN, {
+ children: [/* @__PURE__ */ (0, L.jsx)(ON, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39519,7 +39971,7 @@ function FF(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)(jN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(AN, { 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]
@@ -39530,87 +39982,96 @@ function FF(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(ON, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(DN, { 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)(AN, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(kN, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => wN(e.row.original.source)
+ cell: (e) => CN(e.row.original.source)
}),
e.display({
id: "actions",
header: t("actions"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
- children: [/* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: jS,
- "aria-label": `检查 ${e.row.original.source.label} 的更新`,
- disabled: !e.row.original.source.enabled || ae.readOnly,
- ...Y(ae.busy),
- onClick: () => ie.current.check([e.row.original.source.id])
- }), /* @__PURE__ */ (0, L.jsx)(G, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: bS,
- "aria-label": `移除 ${e.row.original.source.label}`,
- disabled: ae.readOnly,
- onClick: () => ie.current.remove(e.row.original.source)
- })]
+ children: [
+ /* @__PURE__ */ (0, L.jsx)(yO, {
+ "aria-label": `启用 ${e.row.original.source.label}`,
+ isSelected: e.row.original.source.enabled,
+ isDisabled: se.readOnly,
+ onChange: (t) => oe.current.toggle(e.row.original.source, t)
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: ES,
+ "aria-label": `检查 ${e.row.original.source.label} 的更新`,
+ disabled: !e.row.original.source.enabled || se.readOnly,
+ ...Y(se.busy),
+ onClick: () => oe.current.check([e.row.original.source.id])
+ }),
+ /* @__PURE__ */ (0, L.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: _S,
+ "aria-label": `移除 ${e.row.original.source.label}`,
+ disabled: se.readOnly,
+ onClick: () => oe.current.remove(e.row.original.source)
+ })
+ ]
})
})
];
- }, [ae]), se = (0, I.useMemo)(() => {
- let e = OF[n];
+ }, [se]), le = (0, I.useMemo)(() => {
+ let e = IF[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = Ose(le ? O.length : D.length, o, i), R = EF({
+ }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = Lse(R ? O.length : D.length, o, i), de = bF({
data: O,
- columns: oe,
+ columns: ce,
getRowId: (e) => String(e.source.id),
state: {
- sorting: se,
- rowSelection: ce,
+ sorting: le,
+ rowSelection: ue,
pagination: {
- pageIndex: ue.page - 1,
+ pageIndex: z.page - 1,
pageSize: o
}
},
manualSorting: !0,
enableRowSelection: !0,
onSortingChange: (e) => {
- let t = (typeof e == "function" ? e(se) : e)[0];
+ let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = aN[t.id];
+ let n = $M[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
- let t = typeof e == "function" ? e(ce) : e;
+ let t = typeof e == "function" ? e(ue) : e;
m(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
onPaginationChange: (e) => {
let t = {
- pageIndex: ue.page - 1,
+ pageIndex: z.page - 1,
pageSize: o
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: yF(),
- getPaginationRowModel: xF()
- }), z = R.getRowModel().rows, de = le ? z.map((e) => e.original.source.id) : D.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), fe = mN(s, de), pe = [...s], me = Kse(j), he = qse(j), ge = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: pF(),
+ getPaginationRowModel: hF()
+ }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = cN(s, pe), he = [...s], ge = Qse(j), _e = $se(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -39629,11 +40090,11 @@ function FF(e) {
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
- leadingIcon: jS,
+ leadingIcon: ES,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
- ...Y(ae.busy),
+ ...Y(se.busy),
onClick: () => N([]),
children: "检查全部"
}),
@@ -39644,28 +40105,28 @@ function FF(e) {
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: OS,
- "aria-label": rN[0][1],
- "aria-pressed": !le,
+ leadingIcon: CS,
+ "aria-label": ZM[0][1],
+ "aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: PS,
- "aria-label": rN[1][1],
- "aria-pressed": le,
+ leadingIcon: kS,
+ "aria-label": ZM[1][1],
+ "aria-pressed": R,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, KM[t]);
+ u(t, BM[t]);
},
- children: GM.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: zM.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: t
}, e))
@@ -39673,17 +40134,17 @@ function FF(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Gte : Wte,
- "aria-label": Sse(n, r),
+ leadingIcon: r === "asc" ? Jte : qte,
+ "aria-label": jse(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
- le ? null : /* @__PURE__ */ (0, L.jsx)(G, {
+ R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ge ? fS : hS,
- "aria-label": ge ? "全部展开" : "全部收起",
- onClick: () => S(ge ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
- children: ge ? "全部展开" : "全部收起"
+ leadingIcon: ve ? lS : fS,
+ "aria-label": ve ? "全部展开" : "全部收起",
+ onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
+ children: ve ? "全部展开" : "全部收起"
})
]
}),
@@ -39691,50 +40152,50 @@ function FF(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(Ww, {
+ A ? k?.total ? /* @__PURE__ */ (0, L.jsx)(zw, {
label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, L.jsx)(Bw, { label: k?.message || "正在准备检查任务" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: k?.message || "正在准备检查任务" }) : null,
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "操作未完成",
children: T
}) : null,
- me.length ? /* @__PURE__ */ (0, L.jsx)(J, {
+ ge.length ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
- title: `${me.length} 个来源检查失败`,
+ title: `${ge.length} 个来源检查失败`,
extra: /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-col gap-0.5 text-body-2-regular",
- children: me.map((e, t) => /* @__PURE__ */ (0, L.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
+ children: ge.map((e, t) => /* @__PURE__ */ (0, L.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
}),
children: "这些来源这一轮没有取到更新。"
}) : null,
- he ? /* @__PURE__ */ (0, L.jsx)(J, {
+ _e ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
- children: `候选已入库,但这一次的原始响应没有留档:${he}`
+ children: `候选已入库,但这一次的原始响应没有留档:${_e}`
}) : null
]
}),
- pe.length ? /* @__PURE__ */ (0, L.jsxs)(DF, {
+ he.length ? /* @__PURE__ */ (0, L.jsxs)(xF, {
label: "关注来源批量操作",
- count: `已选 ${pe.length} 个来源`,
+ count: `已选 ${he.length} 个来源`,
children: [
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: c,
- ...Y(ae.busy),
- onClick: () => N(pe),
+ ...Y(se.busy),
+ onClick: () => N(he),
children: "检查所选"
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: c,
- ...Y(ne.isPending),
- onClick: () => ne.mutate({
- ids: pe,
+ ...Y(re.isPending),
+ onClick: () => re.mutate({
+ ids: he,
action: "enabled"
}),
children: "启用"
@@ -39743,9 +40204,9 @@ function FF(e) {
variant: "secondary",
size: "small",
disabled: c,
- ...Y(ne.isPending),
- onClick: () => ne.mutate({
- ids: pe,
+ ...Y(re.isPending),
+ onClick: () => re.mutate({
+ ids: he,
action: "paused"
}),
children: "暂停"
@@ -39754,14 +40215,14 @@ function FF(e) {
variant: "danger",
size: "small",
disabled: c,
- ...Y(ne.isPending),
+ ...Y(re.isPending),
onClick: () => void h({
- title: `删除 ${pe.length} 个关注来源`,
+ title: `删除 ${he.length} 个关注来源`,
body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
confirmLabel: "删除所选来源",
danger: !0,
- onConfirm: () => ne.mutateAsync({
- ids: pe,
+ onConfirm: () => re.mutateAsync({
+ ids: he,
action: "remove"
})
}),
@@ -39775,22 +40236,23 @@ function FF(e) {
})
]
}) : null,
- le ? /* @__PURE__ */ (0, L.jsx)(Qj, {
+ R ? /* @__PURE__ */ (0, L.jsx)(Uj, {
follow: !0,
- children: /* @__PURE__ */ (0, L.jsxs)(Zj, {
+ onRowClick: (e) => P(Number(e), !s.has(Number(e))),
+ children: /* @__PURE__ */ (0, L.jsxs)(Bj, {
"aria-label": "关注来源",
size: "sm",
- sortDescriptor: se[0] ? {
- column: se[0].id,
- direction: se[0].desc ? "descending" : "ascending"
+ sortDescriptor: le[0] ? {
+ column: le[0].id,
+ direction: le[0].desc ? "descending" : "ascending"
} : void 0,
- onSortChange: (e) => R.setSorting([{
+ onSortChange: (e) => de.setSorting([{
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, L.jsx)(lO, { children: R.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in aN, n = SF(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(uO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tO, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in $M, n = gF(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(nO, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -39799,41 +40261,41 @@ function FF(e) {
children: [n, /* @__PURE__ */ (0, L.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(Fj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(wj, {})
})]
- }) : /* @__PURE__ */ (0, L.jsx)(X_, { children: n })
+ }) : /* @__PURE__ */ (0, L.jsx)(J_, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(fO, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(iO, {
renderEmptyState: () => "这一页没有来源",
- children: z.map((e) => /* @__PURE__ */ (0, L.jsx)(hO, {
+ children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(sO, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(_O, { children: SF(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(lO, { children: gF(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Xj, {
- isSelected: fe.all,
- isIndeterminate: fe.some,
- onChange: (e) => te(de, e),
+ }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zj, {
+ isSelected: me.all,
+ isIndeterminate: me.some,
+ onChange: (e) => ee(pe, e),
"aria-label": "全选本页来源",
children: "全选本页"
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
- children: D.slice(ue.start, ue.end).map((e) => {
+ children: D.slice(z.start, z.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, L.jsx)(PF, {
+ return /* @__PURE__ */ (0, L.jsx)(HF, {
group: e,
- name: fN(e, y),
- handlers: ae,
+ name: oN(e, y),
+ handlers: se,
selected: s,
open: !x.has(t),
onOpen: (e) => {
let n = new Set(x);
e ? n.delete(t) : n.add(t), S(n);
},
- onToggleGroup: (t) => te(e.map((e) => e.id), t),
- onToggle: ee
+ onToggleGroup: (t) => ee(e.map((e) => e.id), t),
+ onToggle: P
}, t);
})
})] }),
@@ -39842,24 +40304,24 @@ function FF(e) {
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${ue.start + 1}–${ue.end} / ${ue.total} ${le ? "个来源" : "位创作者"}`
+ children: `${z.start + 1}–${z.end} / ${z.total} ${R ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
- e !== null && R.setPageSize(Number(e));
+ e !== null && de.setPageSize(Number(e));
},
- children: iN.map((e) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: QM.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: String(e),
- children: `每页 ${e} ${le ? "条" : "位"}`
+ children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(MF, {
- page: ue.page,
- pages: ue.pages,
- onPage: (e) => R.setPageIndex(e - 1)
+ /* @__PURE__ */ (0, L.jsx)(BF, {
+ page: z.page,
+ pages: z.pages,
+ onPage: (e) => de.setPageIndex(e - 1)
})
]
}),
@@ -39880,12 +40342,12 @@ function FF(e) {
variant: "secondary",
size: "small",
disabled: c,
- ...Y(re.isPending),
+ ...Y(ie.isPending),
onClick: () => void h({
title: "标记已看",
body: "将把当前未看作品标记为已看。",
confirmLabel: "标记已看",
- onConfirm: () => re.mutateAsync("seen")
+ onConfirm: () => ie.mutateAsync("seen")
}),
children: "全部标记已看"
}),
@@ -39893,36 +40355,42 @@ function FF(e) {
variant: "secondary",
size: "small",
disabled: c,
- ...Y(re.isPending),
+ ...Y(ie.isPending),
onClick: () => void h({
title: "标记已忽略",
body: "将把当前未看作品标记为已忽略。",
confirmLabel: "标记已忽略",
- onConfirm: () => re.mutateAsync("ignored")
+ onConfirm: () => ie.mutateAsync("ignored")
}),
children: "全部忽略"
})
]
}) : null
]
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: MS,
+ icon: DS,
title: "还没有关注来源",
+ actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ variant: "primary",
+ size: "small",
+ href: "/follow-manage?tab=add",
+ children: "添加关注"
+ }),
children: "关注来源及其检查状态会显示在这里。"
});
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var IF = [
+var WF = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "订阅源"],
["source", "来源和凭证"]
-], LF = (e) => IF.some(([t]) => t === e);
-function RF({ term: e, figure: t, unit: n }) {
+], GF = (e) => WF.some(([t]) => t === e);
+function KF({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -39938,20 +40406,20 @@ function RF({ term: e, figure: t, unit: n }) {
})]
});
}
-function zF(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(LF(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => qM(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => qM(e.sort, e.dir).dir), [g, _] = (0, I.useState)(yse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(bse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ot({
- queryKey: eN,
- queryFn: ({ signal: e }) => gN(e)
+function qF(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(GF(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => VM(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => VM(e.sort, e.dir).dir), [g, _] = (0, I.useState)(Ose(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(kse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ot({
+ queryKey: JM,
+ queryFn: ({ signal: e }) => uN(e)
}), C = Ot({
- queryKey: tN,
- queryFn: ({ signal: e }) => _N(e)
+ queryKey: YM,
+ queryFn: ({ signal: e }) => dN(e)
}), w = S.data || { sources: [] }, T = C.data || {
root: "",
providers: []
}, E = w.sources;
(0, I.useEffect)(() => {
x((e) => {
- let t = kse(e, E);
+ let t = Rse(e, E);
return t.size === e.size ? e : t;
});
}, [E]);
@@ -39961,10 +40429,10 @@ function zF(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === KM[n] ? "" : r
+ dir: r === BM[n] ? "" : r
});
- }, O = pN(E), k = E.filter(sN).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !TN(e)).length;
- return /* @__PURE__ */ (0, L.jsxs)(Vw, { children: [
+ }, O = sN(E), k = E.filter(tN).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !wN(e)).length;
+ return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -39979,52 +40447,52 @@ function zF(e) {
children: o
}) : null,
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: GA,
+ className: FA,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, L.jsx)(RF, {
+ /* @__PURE__ */ (0, L.jsx)(KF, {
term: "关注创作者",
figure: O.length,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(RF, {
+ /* @__PURE__ */ (0, L.jsx)(KF, {
term: "启用来源",
figure: A,
unit: `/ ${E.length}`
}),
- /* @__PURE__ */ (0, L.jsx)(RF, {
+ /* @__PURE__ */ (0, L.jsx)(KF, {
term: "检查失败",
figure: k,
unit: "个来源"
}),
- /* @__PURE__ */ (0, L.jsx)(RF, {
+ /* @__PURE__ */ (0, L.jsx)(KF, {
term: "未看更新",
figure: w.counts?.new || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(xO, {
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- LF(t) && (l(t), D({ tab: t }));
+ GF(t) && (l(t), D({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, L.jsx)(SO, {
+ /* @__PURE__ */ (0, L.jsx)(mO, {
"aria-label": "关注管理区域",
- className: EN,
- children: IF.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(CO, {
+ className: TN,
+ children: WF.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(hO, {
id: e,
- className: DN,
+ className: EN,
children: e === "source" && j ? `${t}(${j})` : t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(FF, {
+ children: /* @__PURE__ */ (0, L.jsx)(UF, {
data: w,
sort: f,
dir: m,
@@ -40054,10 +40522,10 @@ function zF(e) {
}
})
}),
- /* @__PURE__ */ (0, L.jsxs)(wO, {
+ /* @__PURE__ */ (0, L.jsxs)(gO, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, L.jsx)(LN, {
+ children: [/* @__PURE__ */ (0, L.jsx)(FN, {
data: w,
credentials: T,
readOnly: a,
@@ -40065,7 +40533,7 @@ function zF(e) {
openCredentials: () => {
l("source"), D({ tab: "source" });
}
- }), /* @__PURE__ */ (0, L.jsx)(HN, {
+ }), /* @__PURE__ */ (0, L.jsx)(BN, {
groups: w.author_aliases || [],
readOnly: a,
toast: r,
@@ -40073,18 +40541,18 @@ function zF(e) {
sources: w.sources
})]
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(tP, {
+ children: /* @__PURE__ */ (0, L.jsx)(FF, {
readOnly: a,
toast: r
})
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(ZN, {
+ children: /* @__PURE__ */ (0, L.jsx)(YN, {
data: T,
readOnly: a,
toast: r
@@ -40096,43 +40564,43 @@ function zF(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var BF = "/api/follow/authors", VF = "/api/follow/tags", HF = (e) => [
+var JF = "/api/follow/authors", YF = "/api/follow/tags", XF = (e) => [
"follow",
"authors",
e
-], UF = (e, t) => [
+], ZF = (e, t) => [
"follow",
"tags",
e,
t
];
-function WF(e, t, n) {
+function QF(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${BF}?${r}`;
+ return e && r.set("q", e), `${JF}?${r}`;
}
-function GF(e, t, n, r) {
+function $F(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), `${VF}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${YF}?${i}`;
}
-var KF = (e, t, n, r) => kw(WF(e, t, n), r), qF = (e, t, n, r, i) => kw(GF(e, t, n, r), i), JF = "/api/index", YF = {
+var eI = (e, t, n, r) => ww(QF(e, t, n), r), tI = (e, t, n, r, i) => ww($F(e, t, n, r), i), nI = "/api/index", rI = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, XF = {
+}, iI = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, ZF = [
+}, aI = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -40142,26 +40610,26 @@ var KF = (e, t, n, r) => kw(WF(e, t, n), r), qF = (e, t, n, r, i) => kw(GF(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], QF = [
+], oI = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], $F = {
+], sI = {
people: 120,
tags: 180
-}, eI = (e) => e !== "tags", tI = (e) => e === "studios" || e === "agencies";
-function nI(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? QF : ZF).some(([t]) => t === e.category);
+}, cI = (e) => e !== "tags", lI = (e) => e === "studios" || e === "agencies";
+function uI(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? oI : aI).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function rI(e) {
+function dI(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -40180,50 +40648,50 @@ function rI(e) {
q: n
};
}
-var iI = (e, t, n = "all") => [
+var fI = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function aI(e, t, n, r, i) {
+function pI(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), `${JF}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${nI}?${a}`;
}
-function oI(e) {
- let t = e.what === "people" || e.what === "online-authors" ? $F.people : $F.tags, n = {
+function mI(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? sI.people : sI.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: iI(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => kw(aI(e.kind, e.q, "all", t, n), r)
+ queryKey: fI(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => ww(pI(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: iI("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => kw(aI("tags", e.q, e.category, t, n), r)
+ queryKey: fI("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => ww(pI("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: HF(e.q),
- queryFn: ({ pageParam: n, signal: r }) => KF(e.q, t, n, r)
+ queryKey: XF(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => eI(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: UF(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => qF(e.q, e.category, t, n, r)
+ queryKey: ZF(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => tI(e.q, e.category, t, n, r)
};
}
}
-async function sI(e, t) {
- let n = oI(rI(nI(e)));
+async function hI(e, t) {
+ let n = mI(dI(uI(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -40237,13 +40705,13 @@ async function sI(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var cI = (e) => e ? e.pages.flatMap((e) => e.items) : [], lI = (e, t) => `${e}${t ? "+" : ""} 项`, uI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", dI = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), fI = {
+var gI = (e) => e ? e.pages.flatMap((e) => e.items) : [], _I = (e, t) => `${e}${t ? "+" : ""} 项`, vI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", yI = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), bI = {
numeric: !0,
sensitivity: "base"
};
-function pI(e, t) {
+function xI(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", fI))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", bI))) {
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]);
}
@@ -40251,15 +40719,15 @@ function pI(e, t) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function mI({ value: e }) {
+function SI({ 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 hI = "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 gI({ tabs: e, value: t, label: n, onChange: r }) {
+var CI = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function wI({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
let e = i.current;
@@ -40287,14 +40755,14 @@ function gI({ 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 ? LT(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? kT(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: hI,
+ className: CI,
onClick: () => {
i || r(e.value);
},
@@ -40310,7 +40778,7 @@ function gI({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function _I({ html: e, face: t, company: n, big: r }) {
+function TI({ 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");
@@ -40322,18 +40790,18 @@ function _I({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var vI = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function yI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var EI = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function DI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: Lw({
+ className: Mw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${vI} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${EI} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -40350,8 +40818,8 @@ function yI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function bI({ kind: e, items: t, layout: n, props: r }) {
- let i = XF[e], a = tI(e), o = n === "big";
+function OI({ kind: e, items: t, layout: n, props: r }) {
+ let i = iI[e], a = lI(e), o = n === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -40359,14 +40827,14 @@ function bI({ 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)(yI, {
+ return /* @__PURE__ */ (0, L.jsx)(DI, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: dI(e, t),
+ readout: yI(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, L.jsx)(_I, {
+ children: /* @__PURE__ */ (0, L.jsx)(TI, {
html: n.html,
face: n.face,
company: a,
@@ -40376,21 +40844,21 @@ function bI({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function xI({ items: e, layout: t, props: n }) {
+function kI({ 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)(yI, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(DI, {
"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)(_I, {
+ children: /* @__PURE__ */ (0, L.jsx)(TI, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -40400,23 +40868,23 @@ function xI({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var SI = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var AI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function CI({ tag: e, actions: t }) {
+function jI({ 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": uI(t.online, e.cat),
+ "data-tag-cat": vI(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)(SI, {}),
+ /* @__PURE__ */ (0, L.jsx)(AI, {}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -40428,23 +40896,23 @@ function CI({ tag: e, actions: t }) {
]
});
}
-function wI({ groups: e, actions: t }) {
+function MI({ 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: Lw({
+ className: Mw({
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)(mI, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, L.jsx)(SI, { 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)(CI, {
+ children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(jI, {
tag: e,
actions: t
}, e.k))
@@ -40452,8 +40920,8 @@ function wI({ groups: e, actions: t }) {
}, e))
});
}
-var TI = "\xA0";
-function EI({ tags: e, actions: t }) {
+var NI = "\xA0";
+function PI({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -40461,11 +40929,11 @@ function EI({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": uI(t.online, e.cat),
+ "data-tag-cat": vI(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 + TI, /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [e.label + NI, /* @__PURE__ */ (0, L.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -40473,7 +40941,7 @@ function EI({ tags: e, actions: t }) {
}, e.k))
});
}
-var DI = [[
+var FI = [[
"cloud",
"标签云",
"tags"
@@ -40482,16 +40950,16 @@ var DI = [[
"字母表",
"text-aa"
]];
-function OI({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, L.jsx)(doe, {
+function II({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, L.jsx)(yoe, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(poe, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(xoe, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : uI(n, e),
+ "data-tag-cat": e === "all" ? "all" : vI(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, L.jsx)(SI, {}), r]
+ children: [/* @__PURE__ */ (0, L.jsx)(AI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -40510,19 +40978,19 @@ function OI({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(KD, {
+ /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${Qse}`,
- children: DI.map(([e, t, n]) => {
- let r = LT(n);
- return /* @__PURE__ */ (0, L.jsx)(qD, {
+ className: `ml-auto ${ice}`,
+ children: FI.map(([e, t, n]) => {
+ let r = kT(n);
+ return /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: $se,
+ className: ace,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -40534,12 +41002,12 @@ function OI({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function kI({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, L.jsxs)(DF, {
+function LI({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, L.jsxs)(xF, {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, L.jsx)(Xj, {
+ /* @__PURE__ */ (0, L.jsx)(zj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -40571,7 +41039,7 @@ function kI({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var AI = [{
+var RI = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -40579,7 +41047,7 @@ var AI = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], jI = [{
+}], zI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -40587,7 +41055,7 @@ var AI = [{
value: "online",
label: "在线",
symbol: "rss"
-}], MI = {
+}], BI = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -40607,20 +41075,20 @@ var AI = [{
"layout-grid"
]]
};
-function NI({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, L.jsx)(KD, {
- "aria-label": `${YF[e]}索引版式`,
+function VI({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, L.jsx)(RD, {
+ "aria-label": `${rI[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${EN}`,
- children: MI[tI(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = LT(n);
- return /* @__PURE__ */ (0, L.jsx)(qD, {
+ className: `flex-none max-board-narrow:order-3 ${TN}`,
+ children: BI[lI(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = kT(n);
+ return /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
"aria-label": t,
- className: Zse,
+ className: rce,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -40630,8 +41098,8 @@ function NI({ kind: e, layout: t, onChange: n }) {
})
});
}
-var PI = LT("search");
-function FI({ label: e, value: t, onQuery: n }) {
+var HI = kT("search");
+function UI({ 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) => {
@@ -40646,15 +41114,15 @@ function FI({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, L.jsx)(pM, {
+ children: /* @__PURE__ */ (0, L.jsx)(iM, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, L.jsx)(hM, {
+ children: /* @__PURE__ */ (0, L.jsx)(oM, {
type: "search",
- leadingIcon: PI,
+ leadingIcon: HI,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -40664,14 +41132,14 @@ function FI({ label: e, value: t, onQuery: n }) {
})
});
}
-function II(e) {
- let [t, n] = (0, I.useState)(() => nI({
+function WI(e) {
+ let [t, n] = (0, I.useState)(() => uI({
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 = YF[u], v = u === "tags" && p === "online", y = u === "performers" && p === "online";
+ })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = rI[u], v = u === "tags" && p === "online", y = u === "performers" && p === "online";
(0, I.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -40681,7 +41149,7 @@ function II(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = oI(rI(t)), w = At({
+ }, C = mI(dI(t)), w = At({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -40690,21 +41158,21 @@ function II(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: b ? De : void 0
- }), T = cI(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = lI(T.length, !!w.hasNextPage);
+ }), T = gI(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = _I(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" ? pI(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? xI(O, (t) => e.tagLabel(t)) : [], [
O,
m,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(gI, {
- tabs: jI,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(wI, {
+ tabs: zI,
value: p,
label: "词表",
onChange: (e) => {
@@ -40714,15 +41182,15 @@ function II(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(gI, {
- tabs: jI,
+ }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(wI, {
+ tabs: zI,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : tI(u) ? /* @__PURE__ */ (0, L.jsx)(gI, {
- tabs: AI,
+ }) : lI(u) ? /* @__PURE__ */ (0, L.jsx)(wI, {
+ tabs: RI,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -40739,7 +41207,7 @@ function II(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (v ? QF : ZF).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (v ? oI : aI).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,
@@ -40754,12 +41222,12 @@ function II(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- eI(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ cI(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,
- eI(u) ? /* @__PURE__ */ (0, L.jsx)(NI, {
+ cI(u) ? /* @__PURE__ */ (0, L.jsx)(VI, {
kind: u,
layout: r,
onChange: A
@@ -40768,7 +41236,7 @@ function II(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, L.jsx)(FI, {
+ /* @__PURE__ */ (0, L.jsx)(UI, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -40778,7 +41246,7 @@ function II(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, L.jsx)(OI, {
+ u === "tags" ? /* @__PURE__ */ (0, L.jsx)(II, {
categories: N,
category: h,
online: v,
@@ -40803,8 +41271,8 @@ function II(e) {
mode: m
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: LT("search"),
+ if (w.isError) return /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: kT("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
@@ -40813,18 +41281,18 @@ function II(e) {
}),
children: d(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, L.jsx)(RI, {
+ if (!T.length) return /* @__PURE__ */ (0, L.jsx)(KI, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: v || y,
configurable: e.configurable
});
- if (y) return /* @__PURE__ */ (0, L.jsx)(xI, {
+ if (y) return /* @__PURE__ */ (0, L.jsx)(kI, {
items: T,
layout: r,
props: e
});
- if (eI(u)) return /* @__PURE__ */ (0, L.jsx)(bI, {
+ if (cI(u)) return /* @__PURE__ */ (0, L.jsx)(OI, {
kind: u,
items: T,
layout: r,
@@ -40835,10 +41303,10 @@ function II(e) {
picked: a,
press: M
};
- return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(wI, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(MI, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, L.jsx)(EI, {
+ }) : /* @__PURE__ */ (0, L.jsx)(PI, {
tags: O,
actions: t
});
@@ -40853,13 +41321,13 @@ function II(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(Bw, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(Fw, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !v && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(kI, {
+ u === "tags" && !v && e.selectMode && a.size ? /* @__PURE__ */ (0, L.jsx)(LI, {
count: a.size,
match: s,
onMatch: c,
@@ -40872,31 +41340,31 @@ function II(e) {
]
});
}
-var LI = {
+var GI = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function RI({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: LT("search"),
+function KI({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: kT("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, L.jsx)(Ew, {
+ actions: /* @__PURE__ */ (0, L.jsx)(xw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : LI[e], a = /* @__PURE__ */ (0, L.jsx)(Ew, {
+ let i = n && e === "performers" ? "创作者" : GI[e], a = /* @__PURE__ */ (0, L.jsx)(xw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: LT(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: kT(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [r ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
@@ -40906,15 +41374,15 @@ function RI({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var zI = {
+var qI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, BI = (e) => zI[e.junk_kind || "other"] || zI.other;
-function VI(e) {
+}, dce = (e) => qI[e.junk_kind || "other"] || qI.other;
+function fce(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -40925,21 +41393,21 @@ function VI(e) {
glyph: "check"
};
}
-var HI = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), UI = (e, t) => [
+var pce = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), mce = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function WI({ kind: e, view: t }) {
+function hce({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function GI(e, t) {
- let n = await kw(`/api/ads?${WI(e)}`, t);
+async function gce(e, t) {
+ let n = await ww(`/api/ads?${hce(e)}`, t);
return {
...n,
items: n.items || []
@@ -40947,19 +41415,19 @@ async function GI(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function KI({ name: e }) {
+function JI({ 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 qI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function JI({ 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] = BI(e), g = String(e.name || ""), _ = VI(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]") || qI(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var YI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function _ce({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = dce(e), g = String(e.name || ""), _ = fce(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ t.target.closest("[data-junk-actions]") || YI(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), qI(i, t)) {
+ if (t.stopPropagation(), YI(i, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -41001,7 +41469,7 @@ function JI({ 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)(KI, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -41013,7 +41481,7 @@ function JI({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions:
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(KI, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(JI, { name: "check" })
})
]
}),
@@ -41050,7 +41518,7 @@ function JI({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions:
children: [l === "reveal" ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: C("正在定位") }
- }) : /* @__PURE__ */ (0, L.jsx)(KI, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : /* @__PURE__ */ (0, L.jsx)(JI, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -41062,7 +41530,7 @@ function JI({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions:
"aria-label": _.label,
...T(_.operation),
onClick: w(_.operation),
- children: [/* @__PURE__ */ (0, L.jsx)(KI, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -41074,7 +41542,7 @@ function JI({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions:
"aria-label": "移入回收站",
...T("dispose"),
onClick: w("dispose"),
- children: [/* @__PURE__ */ (0, L.jsx)(KI, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(JI, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -41089,7 +41557,7 @@ function JI({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions:
]
});
}
-var YI = (0, I.memo)(JI), XI = [
+var vce = (0, I.memo)(_ce), yce = [
[
"",
"全部",
@@ -41126,53 +41594,53 @@ var YI = (0, I.memo)(JI), XI = [
"hard-drive"
]
];
-function ZI(e = "", t = "pending") {
+function XI(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 ice(e) {
+function bce(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: ZI("", "pending")
+ href: XI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: ZI("", "dismissed")
+ href: XI("", "dismissed")
};
}
-var ace = (e) => e === "dismissed" ? "已排除" : "待判断";
+var xce = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function QI({ name: e }) {
+function ZI({ 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 $I({ scope: e, count: t }) {
+function QI({ 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 oce({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = RO(), { kind: a, view: o } = e, s = ice(o), c = (e) => {
+function Sce({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = AO(), { kind: a, view: o } = e, s = bce(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") || ZI()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || XI()));
}, 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)(SM, {
- label: ace(o),
+ children: /* @__PURE__ */ (0, L.jsx)(gM, {
+ label: xce(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -41185,16 +41653,16 @@ function oce({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- XI.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
- href: ZI(e, o),
+ yce.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ href: XI(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(QI, { name: r }),
+ /* @__PURE__ */ (0, L.jsx)(ZI, { name: r }),
n,
- /* @__PURE__ */ (0, L.jsx)($I, {
+ /* @__PURE__ */ (0, L.jsx)(QI, {
scope: e,
- count: t ? HI(t, e) : 0
+ count: t ? pce(t, e) : 0
})
]
}, e || "all")),
@@ -41207,9 +41675,9 @@ function oce({ 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)(QI, { name: s.glyph }),
+ /* @__PURE__ */ (0, L.jsx)(ZI, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, L.jsx)($I, {
+ /* @__PURE__ */ (0, L.jsx)(QI, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -41222,38 +41690,38 @@ function oce({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var sce = LT("check"), cce = (e, t) => e[1] === t.view && e[2] === t.kind;
-function lce(e) {
+var Cce = kT("check"), wce = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Tce(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, I.useRef)(e.cache);
n.current = e.cache;
let r = Ot({
- queryKey: UI(t, e.revision),
+ queryKey: mce(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await GI(t, e);
+ let r = await gce(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && cce(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && wce(n.queryKey, t) ? e : void 0
});
(0, I.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = uce(e.countRow), a = r.isPending;
+ let i = Ece(e.countRow), a = r.isPending;
(0, I.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, I.useLayoutEffect)(() => {
i && r.data && b(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, vh.createPortal)(/* @__PURE__ */ (0, L.jsx)(oce, {
+ let { navigate: o } = e.actions, s = i ? (0, vh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Sce, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(dce, {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Dce, {
props: e,
data: r.data,
pending: a,
@@ -41261,7 +41729,7 @@ function lce(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function uce(e) {
+function Ece(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!e) return;
@@ -41271,8 +41739,8 @@ function uce(e) {
};
}, [e]), t;
}
-function dce({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = OT(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 Dce({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = bT(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
f?.() !== !1 && c((e) => e + 1);
}, [f]);
return /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -41280,14 +41748,14 @@ function dce({ 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)(kT, {
+ if (!t) return /* @__PURE__ */ (0, L.jsx)(xT, {
message: d(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: sce,
+ return /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: Cce,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -41296,7 +41764,7 @@ function dce({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(YI, {
+ children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(vce, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -41304,11 +41772,11 @@ function dce({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(fce, { onMore: p }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Oce, { onMore: p }, s) : null] });
})()]
});
}
-function fce({ onMore: e }) {
+function Oce({ onMore: e }) {
let t = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
let n = t.current;
@@ -41326,12 +41794,12 @@ function fce({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var eL = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", pce = {
- gray: `${eL} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${eL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${eL} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var $I = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", kce = {
+ gray: `${$I} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${$I} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${$I} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function mce({ value: e, max: t }) {
+function Ace({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
@@ -41359,16 +41827,16 @@ function mce({ value: e, max: t }) {
})]
});
}
-function hce(e) {
- let { job: t } = Tj(e), n = t.data, r = t.isError ? n ? ik : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function jce(e) {
+ let { job: t } = mj(e), n = t.data, r = t.isError ? n ? XO : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
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 ? "扫描与资料采集未完成" : lk(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? ES : qte;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : $O(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? tne : Xte;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
- className: pce[s],
+ className: kce[s],
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, L.jsx)(mce, {
+ children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Ace, {
value: c,
max: l
}) : /* @__PURE__ */ (0, L.jsx)(d, {
@@ -41378,42 +41846,42 @@ function hce(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, L.jsx)(XA, {
+ }), /* @__PURE__ */ (0, L.jsx)(BA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: pS,
+ trailingIcon: uS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var gce = "/api/playlists", tL = "/api/playlist", nL = ["playlists"], rL = (e) => kw(gce, e);
-async function _ce(e) {
+var Mce = "/api/playlists", eL = "/api/playlist", tL = ["playlists"], nL = (e) => ww(Mce, e);
+async function Nce(e) {
await X.fetchQuery({
- queryKey: nL,
- queryFn: () => rL(e),
+ queryKey: tL,
+ queryFn: () => nL(e),
staleTime: 0
});
}
-var iL = () => X.invalidateQueries({
- queryKey: nL,
+var rL = () => X.invalidateQueries({
+ queryKey: tL,
exact: !0
-}), vce = (e) => e.current_asset_id || e.preview_asset_id || null, aL = (e) => `/poster?id=${e}&c=4`, yce = (e) => q(tL, {
+}), Pce = (e) => e.current_asset_id || e.preview_asset_id || null, iL = (e) => `/poster?id=${e}&c=4`, Fce = (e) => q(eL, {
action: "create",
name: e,
asset_ids: []
-}), oL = (e, t) => q(tL, {
+}), aL = (e, t) => q(eL, {
action: "rename",
id: e,
name: t
-}), sL = (e) => q(tL, {
+}), oL = (e) => q(eL, {
action: "delete",
id: e
-}), bce = (e) => kw(`${tL}?id=${e}`).catch(() => null);
-function xce(e) {
+}), Ice = (e) => ww(`${eL}?id=${e}`).catch(() => null);
+function Lce(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(tL, {
+ return q(eL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -41423,18 +41891,18 @@ function xce(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Sce = LT("ellipsis"), Cce = LT("pencil"), wce = LT("trash"), Tce = LT("playlist"), cL = xw(QA, $A, "text-body-2-medium"), lL = "播放列表名称不能为空", uL = (e) => async () => {
+var Rce = kT("ellipsis"), zce = kT("pencil"), Bce = kT("trash"), Vce = kT("playlist"), sL = gw(HA, UA, "text-body-2-medium"), cL = "播放列表名称不能为空", lL = (e) => async () => {
try {
await e();
} finally {
- iL();
+ rL();
}
};
-function Ece({ toast: e }) {
+function Hce({ toast: e }) {
let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = kt({
- mutationFn: (e) => yce(e),
+ mutationFn: (e) => Fce(e),
onSuccess: (t) => {
- n(""), i(""), iL(), e("已新建播放列表", { undo: uL(() => sL(t.playlist.id)) });
+ n(""), i(""), rL(), e("已新建播放列表", { undo: lL(() => oL(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -41444,7 +41912,7 @@ function Ece({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(lL);
+ i(cL);
return;
}
a.mutate(t);
@@ -41453,7 +41921,7 @@ function Ece({ 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)(gM, {
+ children: /* @__PURE__ */ (0, L.jsx)(sM, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -41472,7 +41940,7 @@ function Ece({ toast: e }) {
})]
});
}
-function Dce({ target: e, close: t, toast: n }) {
+function Uce({ 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;
@@ -41483,13 +41951,13 @@ function Dce({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = kt({
- mutationFn: ({ row: e, value: t }) => oL(e.id, t),
+ mutationFn: ({ row: e, value: t }) => aL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), iL(), n("已重命名播放列表", { undo: uL(() => oL(r.id, r.name)) });
+ t(), rL(), n("已重命名播放列表", { undo: lL(() => aL(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
- return /* @__PURE__ */ (0, L.jsx)(IO, {
+ return /* @__PURE__ */ (0, L.jsx)(OO, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -41501,7 +41969,7 @@ function Dce({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(lL);
+ o(cL);
return;
}
c.mutate({
@@ -41512,11 +41980,11 @@ function Dce({ 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)(lE, {
+ children: [/* @__PURE__ */ (0, L.jsx)(tE, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, L.jsx)(gM, {
+ }), /* @__PURE__ */ (0, L.jsx)(sM, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -41544,7 +42012,7 @@ function Dce({ target: e, close: t, toast: n }) {
})
});
}
-function Oce({ name: e, onRename: t, onDelete: n }) {
+function Wce({ name: e, onRename: t, onDelete: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -41558,33 +42026,33 @@ function Oce({ 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)(Sce, {
+ children: /* @__PURE__ */ (0, L.jsx)(Rce, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: ZA,
- children: /* @__PURE__ */ (0, L.jsxs)(zD, {
+ className: VA,
+ children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: cL,
+ className: sL,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(Cce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zce, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: cL,
+ className: sL,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(wce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Bce, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -41592,13 +42060,13 @@ function Oce({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function kce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function Gce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = Ot({
- queryKey: nL,
- queryFn: ({ signal: e }) => rL(e)
+ queryKey: tL,
+ queryFn: ({ signal: e }) => nL(e)
}), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(a);
(0, I.useEffect)(() => {
- l.current !== a && (l.current = a, iL());
+ l.current !== a && (l.current = a, rL());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, L.jsx)("div", {
@@ -41616,8 +42084,8 @@ function kce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await bce(e.id);
- await sL(e.id), iL(), i("已删除播放列表", t ? { undo: uL(() => xce(t)) } : void 0);
+ let t = await Ice(e.id);
+ await oL(e.id), rL(), i("已删除播放列表", t ? { undo: lL(() => Lce(t)) } : void 0);
}
});
};
@@ -41632,39 +42100,39 @@ function kce({ 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)(Ece, { toast: i })]
+ })] }), /* @__PURE__ */ (0, L.jsx)(Hce, { 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 = vce(i);
- return /* @__PURE__ */ (0, L.jsx)(BT, {
+ let a = Pce(i);
+ return /* @__PURE__ */ (0, L.jsx)(MT, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? aL(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(aL),
+ poster: i.preview_asset_id ? iL(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(iL),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, L.jsx)(Oce, {
+ menu: /* @__PURE__ */ (0, L.jsx)(Wce, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: Tce,
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: Vce,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, L.jsx)(Dce, {
+ /* @__PURE__ */ (0, L.jsx)(Uce, {
target: s,
close: () => c(null),
toast: i
@@ -41674,11 +42142,11 @@ function kce({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Ace({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
+function Kce({ 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: Lw({
+ className: Mw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -41694,7 +42162,7 @@ function Ace({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, L.jsx)("img", {
- src: Tk(t),
+ src: mk(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -41742,19 +42210,19 @@ function Ace({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
})]
});
}
-function jce(e) {
+function qce(e) {
let t = Ot({
- queryKey: Sk,
- queryFn: ({ signal: e }) => Ck(e)
+ queryKey: dk,
+ queryFn: ({ signal: e }) => fk(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Iw, { 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)(Vw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Lw({
+ return r.length ? /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ className: Mw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -41767,21 +42235,21 @@ function jce(e) {
})]
}), /* @__PURE__ */ (0, L.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(Ace, {
+ children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(Kce, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsx)(zw, {
+ })] }) : /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: BS,
+ icon: FS,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Mce(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 = lae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function Jce(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = yae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -41789,29 +42257,29 @@ function Mce(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(zj, {
+ i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(kj, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -41819,7 +42287,7 @@ function Mce(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: gS,
+ leadingIcon: pS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -41830,11 +42298,11 @@ function Mce(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, L.jsxs)(DF, {
+ }), c.size ? /* @__PURE__ */ (0, L.jsxs)(xF, {
label: "复核所选项目",
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, L.jsxs)(zj, {
+ b ? /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -41842,10 +42310,10 @@ function Mce(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(kj, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: e
}, e))]
@@ -41881,7 +42349,7 @@ function Mce(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Nce = {
+var Yce = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -41891,14 +42359,14 @@ var Nce = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, dL = "reviewgenretags";
-function Pce({ tags: e }) {
+}, uL = "reviewgenretags";
+function Xce({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("datalist", {
- id: dL,
+ id: uL,
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)("option", { value: e }, e))
}) : null;
}
-function fL({ candidate: e, selectable: t = !1 }) {
+function dL({ 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",
@@ -41935,7 +42403,7 @@ function fL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Nce[e] || e
+ children: Yce[e] || e
}),
/* @__PURE__ */ (0, L.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -41950,36 +42418,36 @@ function fL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Fce({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function Zce({ 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)(fL, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, L.jsx)(KD, {
+ children: /* @__PURE__ */ (0, L.jsx)(dL, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(qD, {
+ children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(zD, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, L.jsx)(fL, {
+ children: /* @__PURE__ */ (0, L.jsx)(dL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Ice({ genre: e, tags: t, locked: n, toast: r }) {
+function Qce({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = kt({
- mutationFn: (t) => Wk(e, t),
+ mutationFn: (t) => Nk(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await qk();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Ik();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -41998,16 +42466,16 @@ function Ice({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(pM, {
+ /* @__PURE__ */ (0, L.jsx)(iM, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(hM, {
+ children: /* @__PURE__ */ (0, L.jsx)(oM, {
size: "small",
- list: t.length ? dL : void 0,
+ list: t.length ? uL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -42039,8 +42507,8 @@ function Ice({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function Lce({ row: e, tags: t, locked: n, toast: r }) {
- let i = mae(e);
+function $ce({ row: e, tags: t, locked: n, toast: r }) {
+ let i = wae(e);
return i.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -42048,7 +42516,7 @@ function Lce({ 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)(Ice, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(Qce, {
genre: e,
tags: t,
locked: n,
@@ -42058,9 +42526,9 @@ function Lce({ row: e, tags: t, locked: n, toast: r }) {
}
//#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", mL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Rce = (e = "") => mL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function hL({ url: e }) {
- let t = Rce(e || ""), [n, r] = (0, I.useState)(!1);
+var fL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", pL = (e = "") => /^https?:\/\//i.test(e) ? e : "", ele = (e = "") => pL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function mL({ url: e }) {
+ let t = ele(e || ""), [n, r] = (0, I.useState)(!1);
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", {
@@ -42075,7 +42543,7 @@ function hL({ url: e }) {
})
});
}
-function gL({ asset: e, openItem: t }) {
+function hL({ 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",
@@ -42091,7 +42559,7 @@ function gL({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, L.jsx)(X_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, L.jsx)(J_, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, L.jsx)("b", {
@@ -42101,21 +42569,21 @@ function gL({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: kS,
+ leadingIcon: wS,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function zce({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function tle({ 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 ${fL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -42131,8 +42599,8 @@ function zce({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function Bce({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = mL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function nle({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = pL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -42142,10 +42610,10 @@ function Bce({ 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)(Ew, {
+ children: [o ? /* @__PURE__ */ (0, L.jsx)(xw, {
variant: "secondary",
size: "small",
- trailingIcon: xS,
+ trailingIcon: vS,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -42157,7 +42625,7 @@ function Bce({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, L.jsx)(hL, { url: e.preview_url }),
+ /* @__PURE__ */ (0, L.jsx)(mL, { url: e.preview_url }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -42200,7 +42668,7 @@ function Bce({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function Vce({ assets: e, picked: t, onPicked: n, locked: r }) {
+function rle({ 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);
@@ -42256,7 +42724,7 @@ function Vce({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsx)(Yj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Rj, {
size: "sm",
state: {
isSelected: n,
@@ -42267,7 +42735,7 @@ function Vce({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, L.jsx)(X_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, L.jsx)(J_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -42276,19 +42744,19 @@ function Vce({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var Hce = Lw({
+var ile = Mw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), _L = "flex min-h-6 min-w-0 items-center", Uce = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Wce(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 = RO(), h = RO(), g = t === "metadata_fields", _ = aae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = dae(t, n), x = zk(t, n), S = Rk(t, n), C = fae(n), w = pae(n), T = Lk(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", {
+}), gL = "flex min-h-6 min-w-0 items-center", ale = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function ole(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, I.useRef)(!1), m = AO(), h = AO(), g = t === "metadata_fields", _ = hae[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = xae(t, n), x = kk(t, n), S = Ok(t, n), C = Sae(n), w = Cae(n), T = Dk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(gL, {
+ children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(hL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, L.jsx)(zce, {
+ }) : y ? /* @__PURE__ */ (0, L.jsx)(tle, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -42298,14 +42766,14 @@ function Wce(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(gL, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(hL, {
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)(Fce, {
+ }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(Zce, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -42314,7 +42782,7 @@ function Wce(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(Vce, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(rle, {
assets: D,
picked: r.assets,
locked: s,
@@ -42322,21 +42790,21 @@ function Wce(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "inset",
- icon: Xte,
+ icon: $te,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(Bce, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(nle, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, L.jsx)(hL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
- className: `${_L} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, L.jsx)(ww, {
+ }) : /* @__PURE__ */ (0, L.jsx)(mL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
+ className: `${gL} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: "blue",
children: x
@@ -42346,7 +42814,7 @@ function Wce(e) {
children: S
})]
}) : /* @__PURE__ */ (0, L.jsx)("h4", {
- className: _L,
+ className: gL,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -42356,20 +42824,20 @@ function Wce(e) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${Hce} ${Uce(t)} overflow-hidden`,
+ className: `${ile} ${ale(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: `${_L} shrink-0`,
+ className: `${gL} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, L.jsx)(Xj, {
+ children: /* @__PURE__ */ (0, L.jsx)(zj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -42379,7 +42847,7 @@ function Wce(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, L.jsx)(ww, {
+ O ? /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -42403,7 +42871,7 @@ function Wce(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)(ww, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(yw, {
variant: "caption",
color: "soft",
children: e
@@ -42413,7 +42881,7 @@ function Wce(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, L.jsx)(Lce, {
+ /* @__PURE__ */ (0, L.jsx)($ce, {
row: n,
tags: u,
locked: s,
@@ -42475,8 +42943,8 @@ function Wce(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Gce = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function Kce({ page: e, pages: t, onPage: n }) {
+var sle = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function cle({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -42490,7 +42958,7 @@ function Kce({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: Ek(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: hk(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: "…"
@@ -42513,33 +42981,33 @@ function Kce({ page: e, pages: t, onPage: n }) {
]
});
}
-function qce(e) {
- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, I.useState)(Fk(e.category) ? e.category : iae), [f, p] = (0, I.useState)("candidates"), [m, h] = (0, I.useState)(""), [g, _] = (0, I.useState)(1), [v, y] = (0, I.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, I.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(""), E = (0, I.useRef)(null), [D, O] = (0, I.useState)(0), [k, A] = (0, I.useState)(""), j = (0, I.useRef)(!0);
+function lle(e) {
+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, I.useState)(Tk(e.category) ? e.category : mae), [f, p] = (0, I.useState)("candidates"), [m, h] = (0, I.useState)(""), [g, _] = (0, I.useState)(1), [v, y] = (0, I.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, I.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(""), E = (0, I.useRef)(null), [D, O] = (0, I.useState)(0), [k, A] = (0, I.useState)(""), j = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
j.current = !1;
}, []);
let M = Ot({
- queryKey: Nk,
- queryFn: ({ signal: e }) => Hk(e)
+ queryKey: Ck,
+ queryFn: ({ signal: e }) => jk(e)
}).data || {
sections: {},
counts: {}
- }, N = M.sections[u] || [], ee = u === "metadata_fields", te = s, P = oae(N, ee), F = P.some(([e]) => e === f) ? f : "candidates", ne = Ik(N, F), re = ne.some((e) => e.key === m) ? m : "", ie = cae(sae(N, F, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({
+ }, N = M.sections[u] || [], P = u === "metadata_fields", ee = s, F = gae(N, P), te = F.some(([e]) => e === f) ? f : "candidates", ne = Ek(N, te), re = ne.some((e) => e.key === m) ? m : "", ie = vae(_ae(N, te, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({
...e,
rows: e.rows.filter((e) => oe.has(e.item_key))
- })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || hae(e), le = N.filter((e) => v.has(e.item_key)), ue = (e) => {
+ })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || Tae(e), le = N.filter((e) => v.has(e.item_key)), ue = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => C((n) => new Map(n).set(e, t)), z = (e) => {
d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), E.current = null, t({ category: e === "metadata_fields" ? "" : e });
}, de = kt({
- mutationFn: ({ row: e, status: t }) => Uk(Bk(u, e, t, ce(e))),
+ mutationFn: ({ row: e, status: t }) => Mk(Ak(u, e, t, ce(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- Kk(u, [t.item_key]), ue([t.item_key]), o(Vk(n));
+ Fk(u, [t.item_key]), ue([t.item_key]), o(Eae(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
}), fe = kt({
@@ -42549,7 +43017,7 @@ function qce(e) {
if (!j.current) break;
T(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Uk(Bk(u, a, e, ce(a)));
+ let t = await Mk(Ak(u, a, e, ce(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -42563,14 +43031,14 @@ function qce(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- Kk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ Fk(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
T(K(e));
}
}), pe = (e) => {
if (!(fe.isPending || !le.length)) {
- if (e === "approved" && ee && le.some((e) => !ce(e).candidateKey)) {
+ if (e === "approved" && P && le.some((e) => !ce(e).candidateKey)) {
T("先为所选的多来源候选选择来源。");
return;
}
@@ -42593,7 +43061,7 @@ function qce(e) {
O(e), A("");
let t = await i(e);
j.current && (O(0), A(t));
- }, ge = Jk(M.mirror, c), _e = M.genre_tags || [], ve = {
+ }, ge = Lk(M.mirror, c), _e = M.genre_tags || [], ve = {
openItem: n,
openEntity: r,
onReveal: he,
@@ -42602,10 +43070,10 @@ function qce(e) {
avatarInner: a,
toast: o
};
- return /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
+ return /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
- te ? /* @__PURE__ */ (0, L.jsx)(J, {
+ ee ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
extra: l ? /* @__PURE__ */ (0, L.jsx)("p", {
@@ -42618,12 +43086,12 @@ function qce(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Pce, { tags: _e }),
- /* @__PURE__ */ (0, L.jsxs)(xO, {
+ /* @__PURE__ */ (0, L.jsx)(Xce, { tags: _e }),
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- Fk(t) && z(t);
+ Tk(t) && z(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -42632,28 +43100,28 @@ function qce(e) {
id: "reviewcategories",
className: "px-3 pb-3 text-caption-1-regular text-text-secondary",
children: "复核分类"
- }), /* @__PURE__ */ (0, L.jsx)(SO, {
+ }), /* @__PURE__ */ (0, L.jsx)(mO, {
"aria-labelledby": "reviewcategories",
className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",
- children: rae.map((e) => {
+ children: pae.map((e) => {
let t = Number(M.counts[e] || 0);
- return /* @__PURE__ */ (0, L.jsxs)(CO, {
+ return /* @__PURE__ */ (0, L.jsxs)(hO, {
id: e,
- className: Gce,
- children: [Pk[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ className: sle,
+ children: [wk[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)(wO, {
+ }), /* @__PURE__ */ (0, L.jsxs)(gO, {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- N.length && !te ? /* @__PURE__ */ (0, L.jsx)(Mce, {
- groupOptions: P,
- groupBy: F,
+ N.length && !ee ? /* @__PURE__ */ (0, L.jsx)(Jce, {
+ groupOptions: F,
+ groupBy: te,
onGroupBy: (e) => {
p(e), h(""), _(1);
},
@@ -42666,8 +43134,8 @@ function qce(e) {
selected: v,
onSelected: y,
selectedRows: le,
- metadata: ee,
- approvable: le.every((e) => Lk(u, e)),
+ metadata: P,
+ approvable: le.every((e) => Dk(u, e)),
busy: fe.isPending,
feedback: w,
onUnifySource: me,
@@ -42675,12 +43143,12 @@ function qce(e) {
}) : null,
ie.rows.length ? se.map((e) => /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
- children: [se.length > 1 || F !== "candidates" ? /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [se.length > 1 || te !== "candidates" ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("h3", {
className: "text-body-medium text-text-primary",
children: `${e.title} · ${e.rows.length}`
- }), te ? null : /* @__PURE__ */ (0, L.jsx)(G, {
+ }), ee ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
size: "small",
onClick: () => {
@@ -42692,7 +43160,7 @@ function qce(e) {
})]
}) : null, /* @__PURE__ */ (0, L.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(Wce, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(ole, {
category: u,
row: e,
choice: ce(e),
@@ -42700,9 +43168,9 @@ function qce(e) {
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return E.current = uae(i, ae, E.current, e.item_key, t, n), i;
+ return E.current = bae(i, ae, E.current, e.item_key, t, n), i;
}),
- locked: te,
+ locked: ee,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
problem: S.get(e.item_key) || "",
genreTags: _e,
@@ -42715,12 +43183,12 @@ function qce(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, L.jsx)(zw, {
- icon: Kte,
+ }, e.key)) : /* @__PURE__ */ (0, L.jsx)(Pw, {
+ icon: Yte,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, L.jsx)(Kce, {
+ /* @__PURE__ */ (0, L.jsx)(cle, {
page: ie.page,
pages: ie.pages,
onPage: _
@@ -42733,9 +43201,13 @@ function qce(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Jce = "/api/scraping", Yce = "/api/scraping/settings", Xce = "/api/scraping/check", vL = "/api/scraping/cover", Zce = "/api/scraping/amane-bridge", Qce = "/api/scraping/amane-bridge/check", $ce = "/api/scraping/amane-bridge/rebuild", yL = ["scraping"], bL = ["scraping", "cover"], xL = ["scraping", "amane-bridge"], SL = (e) => kw(Jce, e), CL = (e) => kw(vL, e), wL = (e) => kw(Zce, e);
-async function ele(e) {
+var ule = "/api/scraping", dle = "/api/scraping/settings", fle = "/api/scraping/check", _L = "/api/scraping/cover", ple = "/api/scraping/amane-bridge", mle = "/api/scraping/amane-bridge/check", hle = "/api/scraping/amane-bridge/rebuild", vL = ["scraping"], yL = ["scraping", "cover"], bL = ["scraping", "amane-bridge"], xL = (e) => ww(ule, e), SL = (e) => ww(_L, e), CL = (e) => ww(ple, e);
+async function gle(e) {
await Promise.all([
+ X.fetchQuery({
+ queryKey: vL,
+ queryFn: () => xL(e)
+ }),
X.fetchQuery({
queryKey: yL,
queryFn: () => SL(e)
@@ -42743,20 +43215,16 @@ async function ele(e) {
X.fetchQuery({
queryKey: bL,
queryFn: () => CL(e)
- }),
- X.fetchQuery({
- queryKey: xL,
- queryFn: () => wL(e)
})
]);
}
-function tle(e, t) {
+function _le(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 nle = [["peach", "Peach 代理"], ["direct", "直接连接"]], TL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function rle({ source: e }) {
+var vle = [["peach", "Peach 代理"], ["direct", "直接连接"]], wL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function yle({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("img", {
src: f({ source: e }),
alt: "",
@@ -42767,13 +43235,13 @@ function rle({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function ile({ source: e, toast: t }) {
- let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(TL[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
+function ble({ source: e, toast: t }) {
+ let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(wL[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = kt({
- mutationFn: (t) => q(Yce, {
+ mutationFn: (t) => q(dle, {
source: e.source,
network: n,
cookie: i,
@@ -42781,12 +43249,12 @@ function ile({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(yL, (t) => t && {
+ X.setQueryData(vL, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = kt({ mutationFn: () => q(Xce, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = kt({ mutationFn: () => q(fle, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -42811,40 +43279,40 @@ function ile({ 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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
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)(rle, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(yj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(yle, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(cj, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(pj, { children: /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(nj, { children: /* @__PURE__ */ (0, L.jsx)(ej, {
label: "连接方式",
- children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: nle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: vle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, L.jsxs)(mj, {
+ T ? /* @__PURE__ */ (0, L.jsxs)(rj, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, L.jsx)(XA, {
+ children: /* @__PURE__ */ (0, L.jsx)(BA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: pS,
+ trailingIcon: uS,
children: "配置 Peach 代理"
})
}) : null,
@@ -42857,20 +43325,20 @@ function ile({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, L.jsx)(KD, {
+ /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: EN,
- children: TL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(qD, {
+ className: TN,
+ children: wL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
- className: DN,
+ className: EN,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, L.jsx)(gM, {
+ c === "paste" ? /* @__PURE__ */ (0, L.jsx)(sM, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -42879,7 +43347,7 @@ function ile({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(vj, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
@@ -42905,14 +43373,14 @@ function ile({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, L.jsx)(_j, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, L.jsx)(oj, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: tle(t, e.label)
+ children: _le(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(hj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(ij, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: b,
@@ -42934,26 +43402,26 @@ function ile({ source: e, toast: t }) {
]
});
}
-function ale({ toast: e }) {
- let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Wj({
- queryKey: bL,
- queryFn: ({ signal: e }) => CL(e),
- start: () => q(vL, { code: t }),
+function xle({ toast: e }) {
+ let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = Nj({
+ queryKey: yL,
+ queryFn: ({ signal: e }) => SL(e),
+ start: () => q(_L, { code: t }),
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)(fj, {
+ return /* @__PURE__ */ (0, L.jsx)(tj, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, L.jsxs)(mj, { children: [
+ children: /* @__PURE__ */ (0, L.jsxs)(rj, { 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)(gM, {
+ children: /* @__PURE__ */ (0, L.jsx)(sM, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -42968,7 +43436,7 @@ function ale({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, L.jsx)(Bw, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: s
@@ -42980,11 +43448,11 @@ function ale({ toast: e }) {
] })
});
}
-function ole({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = Wj({
- queryKey: xL,
- queryFn: ({ signal: e }) => wL(e),
- start: () => q($ce, {}),
+function Sle({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = Nj({
+ queryKey: bL,
+ queryFn: ({ signal: e }) => CL(e),
+ start: () => q(hle, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -42993,49 +43461,49 @@ function ole({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = kt({ mutationFn: () => q(Qce, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(fj, {
+ }), a = kt({ mutationFn: () => q(mle, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(tj, {
title: "amane 桥",
- children: /* @__PURE__ */ (0, L.jsx)(mj, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(rj, { 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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "amane 桥",
- aside: /* @__PURE__ */ (0, L.jsx)(yj, {
+ aside: /* @__PURE__ */ (0, L.jsx)(cj, {
href: o.repository,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, L.jsxs)(bj, { children: [
- /* @__PURE__ */ (0, L.jsxs)(xj, {
+ /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(uj, {
term: "钉住的版本",
children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "开放的站",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(mj, {
+ /* @__PURE__ */ (0, L.jsxs)(rj, {
divided: !0,
children: [
- /* @__PURE__ */ (0, L.jsxs)(gj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(aj, { children: [
"这几站由 amane(",
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, L.jsx)(Bw, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: c
@@ -43046,7 +43514,7 @@ function ole({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(hj, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsxs)(ij, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -43063,23 +43531,23 @@ function ole({ toast: e }) {
]
});
}
-function sle({ toast: e }) {
+function Cle({ toast: e }) {
let t = Ot({
- queryKey: yL,
- queryFn: ({ signal: e }) => SL(e)
+ queryKey: vL,
+ queryFn: ({ signal: e }) => xL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, L.jsxs)(Vw, { children: [
+ return n ? /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, L.jsx)(ale, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(ile, {
+ /* @__PURE__ */ (0, L.jsx)(xle, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, L.jsx)(ble, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, L.jsx)(ole, { toast: e })
- ] }) : /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ /* @__PURE__ */ (0, L.jsx)(Sle, { toast: e })
+ ] }) : /* @__PURE__ */ (0, L.jsx)(Iw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -43087,21 +43555,21 @@ function sle({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var EL = "/api/configuration", cle = "/api/pick-folder", DL = ["configuration"], OL = (e) => kw(EL, e);
-async function kL(e) {
+var TL = "/api/configuration", wle = "/api/pick-folder", EL = ["configuration"], DL = (e) => ww(TL, e);
+async function OL(e) {
await X.fetchQuery({
- queryKey: DL,
- queryFn: () => OL(e)
+ queryKey: EL,
+ queryFn: () => DL(e)
});
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function lle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.sites), i = Gw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Tle({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.sites), i = Bw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -43110,9 +43578,9 @@ function lle({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, L.jsxs)(mj, { children: [
- /* @__PURE__ */ (0, L.jsx)(gj, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
- n.map((e) => /* @__PURE__ */ (0, L.jsx)(gM, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(aj, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
+ n.map((e) => /* @__PURE__ */ (0, L.jsx)(sM, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -43123,8 +43591,8 @@ function lle({ initial: e, receipt: t }) {
validationBehavior: "aria",
hint: "只写域名本身,留空就是默认"
}, e.key)),
- i.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(hj, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -43133,21 +43601,21 @@ function lle({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function ule({ data: e, receipt: t }) {
+function Ele({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(dle, {
+ children: [e.startup ? /* @__PURE__ */ (0, L.jsx)(Dle, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(lle, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, L.jsx)(Tle, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function dle({ startup: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Gw(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, L.jsxs)(fj, {
+function Dle({ startup: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Bw(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -43157,30 +43625,30 @@ function dle({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(pj, { children: [
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsxs)(nj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -43188,11 +43656,11 @@ function dle({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(mj, {
+ e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(rj, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, L.jsx)(gj, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, L.jsx)(aj, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(hj, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -43203,23 +43671,23 @@ function dle({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var AL = /* @__PURE__ */ new Set([
+var kL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), fle = [
+]), Ole = [
65,
67,
90
-], jL = 120;
-function ple({ initial: e, initialJob: t }) {
+], AL = 120;
+function kle({ 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 = Gw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = AL.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = Bw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = kL.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -43236,9 +43704,9 @@ function ple({ 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 = AL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = kL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await kw("/api/configuration/update-status", e.signal);
+ let t = await ww("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -43246,12 +43714,12 @@ function ple({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await kw("/api/configuration/automatic-updates", e.signal);
+ let n = await ww("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= jL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= AL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < jL && (n = setTimeout(c, t));
+ !e.signal.aborted && o < AL && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -43259,63 +43727,63 @@ function ple({ initial: e, initialJob: t }) {
}, [i.state]);
let m = () => {
d || (l.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, g = () => void c.run("check", (e) => kw("/api/configuration/updates", e), r, (t) => {
+ }, g = () => void c.run("check", (e) => ww("/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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, L.jsxs)(bj, { children: [
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(mj, {
+ /* @__PURE__ */ (0, L.jsxs)(rj, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(gj, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(aj, { 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)(_j, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(gj, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(oj, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(aj, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(_j, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(oj, { 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)(Ww, {
+ /* @__PURE__ */ (0, L.jsx)(zw, {
label: "更新准备进度",
value: i.progress,
- stops: fle
+ stops: Ole
}),
- /* @__PURE__ */ (0, L.jsxs)(gj, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, L.jsx)(gj, { children: v })
+ /* @__PURE__ */ (0, L.jsxs)(aj, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, L.jsx)(aj, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(hj, {
- status: /* @__PURE__ */ (0, L.jsx)(yj, {
+ /* @__PURE__ */ (0, L.jsxs)(ij, {
+ status: /* @__PURE__ */ (0, L.jsx)(cj, {
href: n.release_url,
children: "查看发布页"
}),
@@ -43342,98 +43810,98 @@ function ple({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var mle = [
+var Ale = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function hle({ data: e, receipt: t, reopenTutorial: n }) {
+function jle({ 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)(_le, {
+ e.automatic_updates ? /* @__PURE__ */ (0, L.jsx)(Nle, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, L.jsx)(ple, {
+ e.updates ? /* @__PURE__ */ (0, L.jsx)(kle, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, L.jsx)(vle, { facts: e.facts }),
- /* @__PURE__ */ (0, L.jsx)(gle, {
+ /* @__PURE__ */ (0, L.jsx)(Ple, { facts: e.facts }),
+ /* @__PURE__ */ (0, L.jsx)(Mle, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, L.jsx)(yle, {
+ e.uninstall ? /* @__PURE__ */ (0, L.jsx)(Fle, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function gle({ receipt: e, reopenTutorial: t }) {
- let n = Gw();
- return /* @__PURE__ */ (0, L.jsxs)(fj, {
+function Mle({ receipt: e, reopenTutorial: t }) {
+ let n = Bw();
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, L.jsxs)(mj, { children: [/* @__PURE__ */ (0, L.jsx)(gj, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(hj, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [/* @__PURE__ */ (0, L.jsx)(aj, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...Y(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function _le({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Gw(e.error), s = (r) => {
+function Nle({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Bw(e.error), s = (r) => {
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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, L.jsxs)(pj, { children: [
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsxs)(nj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: mle.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: Ale.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, L.jsx)(mj, {
+ o.error ? /* @__PURE__ */ (0, L.jsx)(rj, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(_j, { children: o.error })
+ children: /* @__PURE__ */ (0, L.jsx)(oj, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(hj, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -43442,19 +43910,19 @@ function _le({ initial: e, receipt: t }) {
]
});
}
-function vle({ facts: e }) {
- return /* @__PURE__ */ (0, L.jsx)(fj, {
+function Ple({ facts: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(tj, {
title: "运行信息",
- children: /* @__PURE__ */ (0, L.jsx)(bj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(xj, {
+ children: /* @__PURE__ */ (0, L.jsx)(lj, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(uj, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(yj, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(cj, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function yle({ uninstall: e, receipt: t }) {
+function Fle({ uninstall: e, receipt: t }) {
let [n, r] = (0, I.useState)(!1), [i, a] = (0, I.useState)(""), o = () => void h({
title: "卸载 Peach",
danger: !0,
@@ -43468,26 +43936,26 @@ function yle({ 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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, L.jsxs)(mj, { children: [
- e.available ? /* @__PURE__ */ (0, L.jsx)(gj, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, L.jsx)(Xj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ e.available ? /* @__PURE__ */ (0, L.jsx)(aj, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, L.jsx)(zj, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, L.jsx)(Sj, {
+ /* @__PURE__ */ (0, L.jsx)(dj, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(cj, {
+ children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(ZA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, L.jsx)(hj, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(ij, {
status: s ? /* @__PURE__ */ (0, L.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -43503,7 +43971,7 @@ function yle({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var ble = [
+var Ile = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -43522,32 +43990,32 @@ var ble = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], xle = [
+], Lle = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Sle() {
+function Rle() {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(gj, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(yj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(aj, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(cj, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, L.jsxs)(Sj, {
+ })] }), /* @__PURE__ */ (0, L.jsxs)(dj, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, L.jsx)(gj, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
+ /* @__PURE__ */ (0, L.jsx)(aj, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
/* @__PURE__ */ (0, L.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: ble.map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: Ile.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: xle.map(([t, n]) => /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: Lle.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",
@@ -43568,9 +44036,9 @@ function Sle() {
/* @__PURE__ */ (0, L.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, L.jsxs)(gj, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(aj, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, L.jsx)(yj, {
+ /* @__PURE__ */ (0, L.jsx)(cj, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -43582,7 +44050,7 @@ function Sle() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var ML = [
+var jL = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -43626,13 +44094,13 @@ var ML = [
["star", "收藏"],
["tags", "主题"]
];
-function Cle(e) {
+function zle(e) {
let t = e === "local" ? "" : p[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var NL = "auto";
-function wle({ 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] = Cle(n);
+var ML = "auto";
+function Ble({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = zle(n);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
@@ -43646,35 +44114,35 @@ function wle({ 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)(wj, { mark: e || l }), ((e) => e && ML.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: e || l }), ((e) => e && jL.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: ZA,
- children: /* @__PURE__ */ (0, L.jsxs)(zD, {
+ className: VA,
+ children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, L.jsx)(lE, {
+ /* @__PURE__ */ (0, L.jsx)(tE, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, L.jsx)(KD, {
+ /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": "候选图标",
- value: s || NL,
- onChange: (e) => c(e === NL ? "" : e),
+ value: s || ML,
+ onChange: (e) => c(e === ML ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: ML.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(qD, {
- value: e || NL,
+ children: jL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
+ value: e || ML,
"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)(wj, { mark: e || l })
- }, e || NL))
+ children: /* @__PURE__ */ (0, L.jsx)(pj, { mark: e || l })
+ }, e || ML))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -43696,15 +44164,15 @@ function wle({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Tle = "/api/configuration/push-discovery", Ele = "/api/configuration/push-discovery/secret";
-function Dle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Gw(), l = RO(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+var Vle = "/api/configuration/push-discovery", Hle = "/api/configuration/push-discovery/secret";
+function Ule({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Bw(), l = AO(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -43714,14 +44182,14 @@ function Dle({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(Tle, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(Vle, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(pj, { children: [
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsxs)(nj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -43731,10 +44199,10 @@ function Dle({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -43744,10 +44212,10 @@ function Dle({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(ej, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, L.jsx)(DO, {
+ children: /* @__PURE__ */ (0, L.jsx)(yO, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -43758,30 +44226,30 @@ function Dle({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, L.jsx)(mj, {
+ d.enabled ? /* @__PURE__ */ (0, L.jsx)(rj, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsxs)(bj, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(lj, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(uj, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, L.jsx)(xj, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(uj, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(mj, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(rj, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(vj, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, L.jsx)(gj, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, L.jsx)(aj, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(Sj, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(dj, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -43792,17 +44260,17 @@ function Dle({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, L.jsx)(gj, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(aj, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(mj, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(rj, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(vj, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, L.jsx)(gj, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, L.jsx)(aj, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -43810,7 +44278,7 @@ function Dle({ 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)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -43819,19 +44287,19 @@ function Dle({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(EO, {
- icon: _S,
+ /* @__PURE__ */ (0, L.jsx)(vO, {
+ icon: mS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -43849,15 +44317,15 @@ function Dle({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, L.jsx)(mj, {
+ o || c.error ? /* @__PURE__ */ (0, L.jsx)(rj, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(_j, { children: o || c.error })
+ children: /* @__PURE__ */ (0, L.jsx)(oj, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(hj, {
+ /* @__PURE__ */ (0, L.jsxs)(ij, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(Ele, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(Hle, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -43874,8 +44342,8 @@ function Dle({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Ole = 8e3;
-function kle({ className: e }) {
+var Wle = 8e3;
+function Gle({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -43888,33 +44356,33 @@ function kle({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-search" })
});
}
-var PL = [
+var NL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Ale = (e) => PL.find(([t]) => t === e)?.[1] ?? e, FL = (e) => p[e] || "database", IL = (e = "") => ({
+], Kle = (e) => NL.find(([t]) => t === e)?.[1] ?? e, PL = (e) => p[e] || "database", FL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function jle(e) {
- let t = e.media_sources?.filter((e) => PL.some(([t]) => t === e.location));
+function qle(e) {
+ let t = e.media_sources?.filter((e) => NL.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) => IL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => FL(e));
}
-var Mle = (e) => !(e instanceof Dw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Nle({ data: e, receipt: t }) {
+var Jle = (e) => !(e instanceof Sw) || e.status !== 400 ? null : e.body?.errors ?? null;
+function Yle({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, L.jsx)(Ple, {
+ e.editable ? /* @__PURE__ */ (0, L.jsx)(Xle, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, L.jsx)(J, {
@@ -43922,21 +44390,21 @@ function Nle({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, L.jsx)(Ile, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(Dle, {
+ /* @__PURE__ */ (0, L.jsx)(Qle, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, L.jsx)(Ule, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function Ple({ data: e, receipt: t }) {
- let [n, r] = (0, I.useState)(() => jle(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 = Gw();
+function Xle({ data: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(() => qle(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = Bw();
(0, I.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, I.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Ole);
+ let e = setTimeout(() => location.assign(m.url), Wle);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -43947,14 +44415,14 @@ function Ple({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, IL()]);
+ _(n.length), r((e) => [...e, FL()]);
}, 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(cle, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(wle, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -43963,7 +44431,7 @@ function Ple({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(EL, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(TL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -43972,18 +44440,18 @@ function Ple({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Mle(e);
+ let t = Jle(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, L.jsx)(fj, {
+ if (m) return /* @__PURE__ */ (0, L.jsx)(tj, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, L.jsx)(mj, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(rj, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, L.jsx)(XA, {
+ /* @__PURE__ */ (0, L.jsx)(BA, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -43993,14 +44461,14 @@ function Ple({ 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)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, L.jsxs)(mj, { children: [
+ children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(vj, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, L.jsx)(sj, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -44011,7 +44479,7 @@ function Ple({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -44024,14 +44492,14 @@ function Ple({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, L.jsx)(EO, {
- icon: kle,
+ /* @__PURE__ */ (0, L.jsx)(vO, {
+ icon: Gle,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(EO, {
- icon: _S,
+ n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(vO, {
+ icon: mS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -44039,7 +44507,7 @@ function Ple({ 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)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(sM, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -44048,7 +44516,7 @@ function Ple({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(vj, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(wle, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(Ble, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -44057,20 +44525,20 @@ function Ple({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(vj, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(sj, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: PL.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(Bj, {
+ children: NL.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(kj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, L.jsx)(wj, { mark: FL(e) }), t]
+ children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: PL(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(gM, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(sM, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -44087,18 +44555,18 @@ function Ple({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, L.jsx)(Sle, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, L.jsxs)(gj, { children: [
+ A ? /* @__PURE__ */ (0, L.jsx)(Rle, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, L.jsxs)(aj, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, L.jsxs)(yj, {
+ /* @__PURE__ */ (0, L.jsxs)(cj, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(gj, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(gM, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(aj, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(sM, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -44108,7 +44576,7 @@ function Ple({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, L.jsx)(Xj, {
+ /* @__PURE__ */ (0, L.jsx)(zj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -44118,7 +44586,7 @@ function Ple({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(hj, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(ij, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -44128,7 +44596,7 @@ function Ple({ data: e, receipt: t }) {
})]
});
}
-function Fle({ online: e }) {
+function Zle({ 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",
@@ -44152,21 +44620,21 @@ function Fle({ online: e }) {
}), "未检测"]
});
}
-function Ile({ data: e }) {
- let t = e.media_sources, n = Gw();
- return t ? /* @__PURE__ */ (0, L.jsxs)(fj, {
+function Qle({ data: e }) {
+ let t = e.media_sources, n = Bw();
+ return t ? /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, L.jsx)(bj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(xj, {
- term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(wj, { mark: FL(e.location) }), Ale(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(Fle, { online: e.online })]
+ /* @__PURE__ */ (0, L.jsx)(lj, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(uj, {
+ term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(pj, { mark: PL(e.location) }), Kle(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(Zle, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, L.jsx)(mj, {
+ n.error ? /* @__PURE__ */ (0, L.jsx)(rj, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(_j, { children: n.error })
+ children: /* @__PURE__ */ (0, L.jsx)(oj, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(hj, { children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => OL(e), (e) => X.setQueryData(DL, e)),
+ /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: () => void n.run("refresh", (e) => DL(e), (e) => X.setQueryData(EL, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -44175,13 +44643,13 @@ function Ile({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Lle = {
+var $le = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Rle({ 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 = Gw(), g = (e) => {
+function eue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = Bw(), g = (e) => {
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) {
@@ -44198,28 +44666,28 @@ function Rle({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof Dw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof Sw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = Lle[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, L.jsxs)(fj, {
+ }, _ = $le[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, L.jsxs)(mj, { children: [
- _ ? /* @__PURE__ */ (0, L.jsx)(gj, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ _ ? /* @__PURE__ */ (0, L.jsx)(aj, { 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)(Xj, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(zj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(gM, {
+ n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(sM, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -44232,7 +44700,7 @@ function Rle({ 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)(gM, {
+ v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sM, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -44245,7 +44713,7 @@ function Rle({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, L.jsx)(gM, {
+ }), /* @__PURE__ */ (0, L.jsx)(sM, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -44264,9 +44732,9 @@ function Rle({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, L.jsx)(hj, {
+ }), v ? /* @__PURE__ */ (0, L.jsx)(ij, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -44278,19 +44746,19 @@ function Rle({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var zle = 2e3, Ble = [["quick", "临时链接"], ["named", "命名隧道"]], Vle = {
+var tue = 2e3, nue = [["quick", "临时链接"], ["named", "命名隧道"]], rue = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function Hle({ 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 = Gw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function iue({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = Bw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, I.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- OL(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(DL, t), i(t.tunnel), o(t.revision));
+ DL(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(EL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, zle);
+ }, tue);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -44305,30 +44773,30 @@ function Hle({ 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 Dw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof Sw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, L.jsxs)(fj, {
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, L.jsxs)(mj, { children: [
- r.named_available ? /* @__PURE__ */ (0, L.jsx)(KD, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(rj, { children: [
+ r.named_available ? /* @__PURE__ */ (0, L.jsx)(RD, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: EN,
- children: Ble.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(qD, {
+ className: TN,
+ children: nue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zD, {
value: e,
- className: DN,
+ className: EN,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(gj, { children: Vle[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(gM, {
+ /* @__PURE__ */ (0, L.jsx)(aj, { children: rue[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(sM, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -44339,7 +44807,7 @@ function Hle({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, L.jsx)(gM, {
+ }), /* @__PURE__ */ (0, L.jsx)(sM, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -44359,7 +44827,7 @@ function Hle({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, L.jsx)(yj, {
+ children: /* @__PURE__ */ (0, L.jsx)(cj, {
href: r.url,
children: r.url
})
@@ -44369,9 +44837,9 @@ function Hle({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsxs)(hj, {
+ r.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsxs)(ij, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -44387,24 +44855,24 @@ function Hle({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Ule = [
+var aue = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Wle({ data: e, receipt: t }) {
+function oue({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(Gle, {
+ e.peach_proxy ? /* @__PURE__ */ (0, L.jsx)(sue, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, L.jsx)(Rle, {
+ e.access ? /* @__PURE__ */ (0, L.jsx)(eue, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, L.jsx)(Hle, {
+ e.tunnel ? /* @__PURE__ */ (0, L.jsx)(iue, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -44412,9 +44880,9 @@ function Wle({ data: e, receipt: t }) {
]
});
}
-function Gle({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Gw();
- return /* @__PURE__ */ (0, L.jsxs)(fj, {
+function sue({ initial: e, receipt: t }) {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Bw();
+ return /* @__PURE__ */ (0, L.jsxs)(tj, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -44426,25 +44894,25 @@ function Gle({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, L.jsx)(pj, { children: /* @__PURE__ */ (0, L.jsx)(dj, {
+ /* @__PURE__ */ (0, L.jsx)(nj, { children: /* @__PURE__ */ (0, L.jsx)(ej, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, L.jsx)(zj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Ule.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: aue.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(mj, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(rj, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(gM, {
+ i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(sM, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -44458,10 +44926,10 @@ function Gle({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, L.jsx)(_j, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, L.jsx)(oj, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(hj, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(ij, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -44471,10 +44939,10 @@ function Gle({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function Kle({ receipt: e, reopenTutorial: t }) {
+function cue({ receipt: e, reopenTutorial: t }) {
let n = Ot({
- queryKey: DL,
- queryFn: ({ signal: e }) => OL(e)
+ queryKey: EL,
+ queryFn: ({ signal: e }) => DL(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, L.jsx)("div", {
className: "configpage",
@@ -44495,22 +44963,22 @@ function Kle({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, L.jsx)(ule, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, L.jsx)(Ele, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, L.jsx)(Nle, { ...i }),
+ /* @__PURE__ */ (0, L.jsx)(Yle, { ...i }),
o ? /* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, L.jsx)(Wle, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, L.jsx)(oue, { ...i }) : null,
/* @__PURE__ */ (0, L.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, L.jsx)(hle, {
+ /* @__PURE__ */ (0, L.jsx)(jle, {
...i,
reopenTutorial: t
})
@@ -44519,35 +44987,35 @@ function Kle({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var qle = (e) => {
+var lue = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function Jle({ openConfiguration: e }) {
+function uue({ openConfiguration: e }) {
let t = Ot({
- queryKey: DL,
- queryFn: ({ signal: e }) => OL(e)
+ queryKey: EL,
+ queryFn: ({ signal: e }) => DL(e)
}), n = t.data;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, L.jsxs)(bj, { children: [
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ children: [n ? /* @__PURE__ */ (0, L.jsxs)(lj, { children: [
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, L.jsx)(xj, {
+ /* @__PURE__ */ (0, L.jsx)(uj, {
term: "更新",
- children: qle(n)
+ children: lue(n)
})
- ] }) : /* @__PURE__ */ (0, L.jsx)(mj, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, L.jsx)(rj, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "打不开配置",
children: t.error ? K(t.error) : "没有读到配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(hj, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(ij, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: e,
@@ -44558,14 +45026,14 @@ function Jle({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var Yle = "/api/stats", LL = ["stats"], RL = (e) => kw(Yle, e);
-async function Xle(e) {
+var due = "/api/stats", IL = ["stats"], LL = (e) => ww(due, e);
+async function fue(e) {
await X.fetchQuery({
- queryKey: LL,
- queryFn: () => RL(e)
+ queryKey: IL,
+ queryFn: () => LL(e)
});
}
-var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Zle = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, BL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, VL = (e) => (e.max_reached || 0) * 100, Qle = (e) => e.kind === "online" ? "在线直接观看" : BL(e) < VL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", $le = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, eue = (e) => Math.max(1, ...e) * 1.1, tue = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), nue = {
+var RL = (e, t) => t ? Math.round(e / t * 100) : 0, pue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, zL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, BL = (e) => (e.max_reached || 0) * 100, mue = (e) => e.kind === "online" ? "在线直接观看" : zL(e) < BL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", hue = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, gue = (e) => Math.max(1, ...e) * 1.1, _ue = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), vue = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -44573,18 +45041,18 @@ var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Zle = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, rue = (e) => e.map((e) => ({
- name: nue[e.k] ?? e.k,
+}, yue = (e) => e.map((e) => ({
+ name: vue[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), iue = {
+})).sort((e, t) => t.value - e.value), bue = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, HL = (e, t = {}) => e.map((e) => ({
+}, VL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), aue = (e) => HL(e, iue), oue = [
+})), xue = (e) => VL(e, bue), Sue = [
[
1,
1,
@@ -44620,49 +45088,49 @@ var zL = (e, t) => t ? Math.round(e / t * 100) : 0, Zle = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], sue = (e) => oue.map(([t, n, r]) => ({
+], Cue = (e) => Sue.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), cue = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function UL(e) {
- return typeof e == "string" && cue.includes(e);
+})), wue = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function HL(e) {
+ return typeof e == "string" && wue.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var lue = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function WL(e) {
- return typeof e == "string" && lue.has(e);
+var Tue = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
+function UL(e) {
+ return typeof e == "string" && Tue.has(e);
}
-function GL(e) {
+function WL(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function KL(e) {
+function GL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WL(n) || GL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (UL(n) || WL(n)) && (t[n] = e[n]);
return t;
}
-function qL(e) {
+function KL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return KL(t);
+ return GL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? KL(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? GL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function JL(e) {
+function qL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WL(n) || GL(n) || UL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (UL(n) || WL(n) || HL(n)) && (t[n] = e[n]);
return t;
}
-function uue(e) {
- return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? JL(e.props) : typeof e == "object" && !Array.isArray(e) ? JL(e) : null;
+function Eue(e) {
+ return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? qL(e.props) : typeof e == "object" && !Array.isArray(e) ? qL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var due = [
+var Due = [
"children",
"width",
"height",
@@ -44672,25 +45140,25 @@ var due = [
"title",
"desc"
];
-function YL() {
- return YL = Object.assign ? Object.assign.bind() : function(e) {
+function JL() {
+ return JL = 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;
- }, YL.apply(null, arguments);
+ }, JL.apply(null, arguments);
}
-function fue(e, t) {
+function Oue(e, t) {
if (e == null) return {};
- var n, r, i = pue(e, t);
+ var n, r, i = kue(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 pue(e, t) {
+function kue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -44699,14 +45167,14 @@ function pue(e, t) {
}
return n;
}
-var XL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = fue(e, due), d = a || {
+var YL = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Oue(e, Due), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Um("recharts-surface", o);
- return /*#__PURE__*/ I.createElement("svg", YL({}, JL(u), {
+ return /*#__PURE__*/ I.createElement("svg", JL({}, qL(u), {
className: f,
width: r,
height: i,
@@ -44714,26 +45182,26 @@ var XL = /*#__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);
-}), mue = ["children", "className"];
-function ZL() {
- return ZL = Object.assign ? Object.assign.bind() : function(e) {
+}), Aue = ["children", "className"];
+function XL() {
+ return XL = 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;
- }, ZL.apply(null, arguments);
+ }, XL.apply(null, arguments);
}
-function hue(e, t) {
+function jue(e, t) {
if (e == null) return {};
- var n, r, i = gue(e, t);
+ var n, r, i = Mue(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function gue(e, t) {
+function Mue(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -44742,39 +45210,39 @@ function gue(e, t) {
}
return n;
}
-var QL = /*#__PURE__*/ I.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = hue(e, mue), a = Um("recharts-layer", r);
- return /*#__PURE__*/ I.createElement("g", ZL({ className: a }, JL(i), { ref: t }), n);
-}), $L = /*#__PURE__*/ (0, I.createContext)(null), _ue = () => (0, I.useContext)($L);
+var ZL = /*#__PURE__*/ I.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = jue(e, Aue), a = Um("recharts-layer", r);
+ return /*#__PURE__*/ I.createElement("g", XL({ className: a }, qL(i), { ref: t }), n);
+}), QL = /*#__PURE__*/ (0, I.createContext)(null), Nue = () => (0, I.useContext)(QL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function eR(e) {
+function $L(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var tR = Math.cos, nR = Math.sin, rR = Math.sqrt, iR = Math.PI;
-iR / 2;
-var aR = 2 * iR, oR = Math.PI, sR = 2 * oR, cR = 1e-6, vue = sR - cR;
-function lR(e) {
+var eR = Math.cos, tR = Math.sin, nR = Math.sqrt, rR = Math.PI;
+rR / 2;
+var iR = 2 * rR, aR = Math.PI, oR = 2 * aR, sR = 1e-6, Pue = oR - sR;
+function cR(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function yue(e) {
+function Fue(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return lR;
+ if (t > 15) return cR;
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 uR = class {
+var lR = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? lR : yue(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? cR : Fue(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -44795,18 +45263,18 @@ var uR = 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 > cR) {
- if (!(Math.abs(u * s - c * l) > cR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > sR) {
+ if (!(Math.abs(u * s - c * l) > sR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((oR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > cR && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((aR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > sR && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
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) > cR || Math.abs(this._y1 - l) > cR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % sR + sR), d > vue ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > cR && this._append`A${n},${n},0,${+(d >= oR)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > sR || Math.abs(this._y1 - l) > sR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % oR + oR), d > Pue ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > sR && this._append`A${n},${n},0,${+(d >= aR)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
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`;
@@ -44815,10 +45283,10 @@ var uR = class {
return this._;
}
};
-uR.prototype;
+lR.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function dR(e) {
+function uR(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -44829,18 +45297,18 @@ function dR(e) {
t = e;
}
return e;
- }, () => new uR(t);
+ }, () => new lR(t);
}
Array.prototype.slice;
-function fR(e) {
+function dR(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 pR(e) {
+function fR(e) {
this._context = e;
}
-pR.prototype = {
+fR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -44863,33 +45331,33 @@ pR.prototype = {
}
}
};
-function mR(e) {
- return new pR(e);
+function pR(e) {
+ return new fR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function hR(e) {
+function mR(e) {
return e[0];
}
-function gR(e) {
+function hR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function _R(e, t) {
- var n = eR(!0), r = null, i = mR, a = null, o = dR(s);
- e = typeof e == "function" ? e : e === void 0 ? hR : eR(e), t = typeof t == "function" ? t : t === void 0 ? gR : eR(t);
+function gR(e, t) {
+ var n = $L(!0), r = null, i = pR, a = null, o = uR(s);
+ e = typeof e == "function" ? e : e === void 0 ? mR : $L(e), t = typeof t == "function" ? t : t === void 0 ? hR : $L(t);
function s(s) {
- var c, l = (s = fR(s)).length, u, d = !1, f;
+ var c, l = (s = dR(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 : eR(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : $L(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : $L(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : eR(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : $L(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -44898,11 +45366,11 @@ function _R(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function vR(e, t, n) {
- var r = null, i = eR(!0), a = null, o = mR, s = null, c = dR(l);
- e = typeof e == "function" ? e : e === void 0 ? hR : eR(+e), t = typeof t == "function" ? t : eR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? gR : eR(+n);
+function _R(e, t, n) {
+ var r = null, i = $L(!0), a = null, o = pR, s = null, c = uR(l);
+ e = typeof e == "function" ? e : e === void 0 ? mR : $L(+e), t = typeof t == "function" ? t : $L(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? hR : $L(+n);
function l(l) {
- var u, d, f, p = (l = fR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = dR(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();
@@ -44916,20 +45384,20 @@ function vR(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return _R().defined(i).curve(o).context(a);
+ return gR().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : eR(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : $L(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : eR(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : $L(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : eR(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : $L(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : $L(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : $L(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : eR(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : $L(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -44937,7 +45405,7 @@ function vR(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : eR(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : $L(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -44946,7 +45414,7 @@ function vR(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var yR = class {
+var vR = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -44973,70 +45441,70 @@ var yR = class {
this._x0 = e, this._y0 = t;
}
};
-function bue(e) {
- return new yR(e, !0);
+function Iue(e) {
+ return new vR(e, !0);
}
-function xue(e) {
- return new yR(e, !1);
+function Lue(e) {
+ return new vR(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var bR = { draw(e, t) {
- let n = rR(t / iR);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, aR);
-} }, Sue = { draw(e, t) {
- let n = rR(t / 5) / 2;
+var yR = { draw(e, t) {
+ let n = nR(t / rR);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, iR);
+} }, Rue = { draw(e, t) {
+ let n = nR(t / 5) / 2;
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();
-} }, xR = rR(1 / 3), Cue = xR * 2, wue = { draw(e, t) {
- let n = rR(t / Cue), r = n * xR;
+} }, bR = nR(1 / 3), zue = bR * 2, Bue = { draw(e, t) {
+ let n = nR(t / zue), r = n * bR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Tue = { draw(e, t) {
- let n = rR(t), r = -n / 2;
+} }, Vue = { draw(e, t) {
+ let n = nR(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Eue = .8908130915292852, SR = nR(iR / 10) / nR(7 * iR / 10), Due = nR(aR / 10) * SR, Oue = -tR(aR / 10) * SR, kue = { draw(e, t) {
- let n = rR(t * Eue), r = Due * n, i = Oue * n;
+} }, Hue = .8908130915292852, xR = tR(rR / 10) / tR(7 * rR / 10), Uue = tR(iR / 10) * xR, Wue = -eR(iR / 10) * xR, Gue = { draw(e, t) {
+ let n = nR(t * Hue), r = Uue * n, i = Wue * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = aR * t / 5, o = tR(a), s = nR(a);
+ let a = iR * t / 5, o = eR(a), s = tR(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, CR = rR(3), Aue = { draw(e, t) {
- let n = -rR(t / (CR * 3));
- e.moveTo(0, n * 2), e.lineTo(-CR * n, -n), e.lineTo(CR * n, -n), e.closePath();
-} }, wR = -.5, TR = rR(3) / 2, ER = 1 / rR(12), jue = (ER / 2 + 1) * 3, Mue = { draw(e, t) {
- let n = rR(t / jue), r = n / 2, i = n * ER, a = r, o = n * ER + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(wR * r - TR * i, TR * r + wR * i), e.lineTo(wR * a - TR * o, TR * a + wR * o), e.lineTo(wR * s - TR * c, TR * s + wR * c), e.lineTo(wR * r + TR * i, wR * i - TR * r), e.lineTo(wR * a + TR * o, wR * o - TR * a), e.lineTo(wR * s + TR * c, wR * c - TR * s), e.closePath();
+} }, SR = nR(3), Kue = { draw(e, t) {
+ let n = -nR(t / (SR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-SR * n, -n), e.lineTo(SR * n, -n), e.closePath();
+} }, CR = -.5, wR = nR(3) / 2, TR = 1 / nR(12), que = (TR / 2 + 1) * 3, Jue = { draw(e, t) {
+ let n = nR(t / que), r = n / 2, i = n * TR, a = r, o = n * TR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(CR * r - wR * i, wR * r + CR * i), e.lineTo(CR * a - wR * o, wR * a + CR * o), e.lineTo(CR * s - wR * c, wR * s + CR * c), e.lineTo(CR * r + wR * i, CR * i - wR * r), e.lineTo(CR * a + wR * o, CR * o - wR * a), e.lineTo(CR * s + wR * c, CR * c - wR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Nue(e, t) {
- let n = null, r = dR(i);
- e = typeof e == "function" ? e : eR(e || bR), t = typeof t == "function" ? t : eR(t === void 0 ? 64 : +t);
+function Yue(e, t) {
+ let n = null, r = uR(i);
+ e = typeof e == "function" ? e : $L(e || yR), t = typeof t == "function" ? t : $L(t === void 0 ? 64 : +t);
function 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 : eR(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : $L(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : eR(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : $L(+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 DR() {}
+function ER() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function OR(e, t, n) {
+function DR(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 kR(e) {
+function OR(e) {
this._context = e;
}
-kR.prototype = {
+OR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45048,7 +45516,7 @@ kR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: OR(this, this._x1, this._y1);
+ case 3: DR(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;
@@ -45062,22 +45530,22 @@ kR.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: OR(this, e, t);
+ default: DR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Pue(e) {
- return new kR(e);
+function Xue(e) {
+ return new OR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function AR(e) {
+function kR(e) {
this._context = e;
}
-AR.prototype = {
- areaStart: DR,
- areaEnd: DR,
+kR.prototype = {
+ areaStart: ER,
+ areaEnd: ER,
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;
},
@@ -45103,20 +45571,20 @@ AR.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: OR(this, e, t);
+ default: DR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Fue(e) {
- return new AR(e);
+function Zue(e) {
+ return new kR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function jR(e) {
+function AR(e) {
this._context = e;
}
-jR.prototype = {
+AR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45143,22 +45611,22 @@ jR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: OR(this, e, t);
+ default: DR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Iue(e) {
- return new jR(e);
+function Que(e) {
+ return new AR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function MR(e) {
+function jR(e) {
this._context = e;
}
-MR.prototype = {
- areaStart: DR,
- areaEnd: DR,
+jR.prototype = {
+ areaStart: ER,
+ areaEnd: ER,
lineStart: function() {
this._point = 0;
},
@@ -45169,30 +45637,30 @@ MR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Lue(e) {
- return new MR(e);
+function $ue(e) {
+ return new jR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function NR(e) {
+function MR(e) {
return e < 0 ? -1 : 1;
}
-function PR(e, t, n) {
+function NR(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 (NR(a) + NR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (MR(a) + MR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function FR(e, t) {
+function PR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function IR(e, t, n) {
+function FR(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 LR(e) {
+function IR(e) {
this._context = e;
}
-LR.prototype = {
+IR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45207,7 +45675,7 @@ LR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: IR(this, this._t0, FR(this, this._t0));
+ case 3: FR(this, this._t0, PR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -45222,24 +45690,24 @@ LR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, IR(this, FR(this, n = PR(this, e, t)), n);
+ this._point = 3, FR(this, PR(this, n = NR(this, e, t)), n);
break;
- default: IR(this, this._t0, n = PR(this, e, t));
+ default: FR(this, this._t0, n = NR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function RR(e) {
- this._context = new zR(e);
+function LR(e) {
+ this._context = new RR(e);
}
-(RR.prototype = Object.create(LR.prototype)).point = function(e, t) {
- LR.prototype.point.call(this, t, e);
+(LR.prototype = Object.create(IR.prototype)).point = function(e, t) {
+ IR.prototype.point.call(this, t, e);
};
-function zR(e) {
+function RR(e) {
this._context = e;
}
-zR.prototype = {
+RR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -45253,18 +45721,18 @@ zR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function Rue(e) {
- return new LR(e);
+function ede(e) {
+ return new IR(e);
}
-function zue(e) {
- return new RR(e);
+function tde(e) {
+ return new LR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function BR(e) {
+function zR(e) {
this._context = e;
}
-BR.prototype = {
+zR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45278,7 +45746,7 @@ BR.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 = VR(e), i = VR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = BR(e), i = BR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -45286,7 +45754,7 @@ BR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function VR(e) {
+function BR(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];
@@ -45294,15 +45762,15 @@ function VR(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 Bue(e) {
- return new BR(e);
+function nde(e) {
+ return new zR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function HR(e, t) {
+function VR(e, t) {
this._context = e, this._t = t;
}
-HR.prototype = {
+VR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -45330,78 +45798,78 @@ HR.prototype = {
this._x = e, this._y = t;
}
};
-function Vue(e) {
- return new HR(e, .5);
+function rde(e) {
+ return new VR(e, .5);
}
-function Hue(e) {
- return new HR(e, 0);
+function ide(e) {
+ return new VR(e, 0);
}
-function Uue(e) {
- return new HR(e, 1);
+function ade(e) {
+ return new VR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function UR(e, t) {
+function HR(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 WR(e) {
+function UR(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 Wue(e, t) {
+function ode(e, t) {
return e[t];
}
-function Gue(e) {
+function sde(e) {
let t = [];
return t.key = e, t;
}
-function Kue() {
- var e = eR([]), t = WR, n = UR, r = Wue;
+function cde() {
+ var e = $L([]), t = UR, n = HR, r = ode;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Gue), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), sde), 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 = fR(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = dR(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 : eR(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : $L(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : eR(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : $L(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? WR : typeof e == "function" ? e : eR(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? UR : typeof e == "function" ? e : $L(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? UR, i) : n;
+ return arguments.length ? (n = e ?? HR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function que(e, t) {
+function lde(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;
}
- UR(e, t);
+ HR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function Jue(e, t) {
+function ude(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;
}
- UR(e, t);
+ HR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function Yue(e, t) {
+function dde(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) {
@@ -45413,53 +45881,53 @@ function Yue(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, UR(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, HR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function GR(e) {
+function WR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var Xue = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function KR(e) {
+var fde = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function GR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Xue.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : fde.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function qR(e) {
+function KR(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 JR(e) {
+function qR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function Zue(e) {
- return e == null ? "" : YR(e);
+function pde(e) {
+ return e == null ? "" : JR(e);
}
-function YR(e) {
+function JR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(YR).join(",");
- if (JR(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(JR).join(",");
+ if (qR(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 XR(e) {
- if (Array.isArray(e)) return e.map(qR);
+function YR(e) {
+ if (Array.isArray(e)) return e.map(KR);
if (typeof e == "symbol") return [e];
- e = Zue(e);
+ e = pde(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -45487,100 +45955,100 @@ function XR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function ZR(e, t, n) {
+function XR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (GR(t)) return n;
+ if (WR(t)) return n;
let r = e[t];
- return r === void 0 ? KR(t) && !Object.hasOwn(e, t) ? ZR(e, XR(t), n) : n : r;
+ return r === void 0 ? GR(t) && !Object.hasOwn(e, t) ? XR(e, YR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = qR(t));
+ typeof t == "number" && (t = KR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return Que(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), GR(t)) return n;
+ if (Array.isArray(t)) return mde(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), WR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function Que(e, t, n) {
+function mde(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || GR(t[e])) return n;
+ if (r == null || WR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var $ue = 4;
-function QR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $ue), n = Math.round(e * t) / t;
+var hde = 4;
+function ZR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : hde), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function $R(e) {
+function QR(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 + QR(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + ZR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var ez = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, tz = (e) => typeof e == "number" && e != +e, nz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !tz(e), rz = (e) => Z(e) || typeof e == "string", ede = 0, iz = (e) => {
- var t = ++ede;
+var $R = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, ez = (e) => typeof e == "number" && e != +e, tz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !ez(e), nz = (e) => Z(e) || typeof e == "string", gde = 0, rz = (e) => {
+ var t = ++gde;
return `${e || ""}${t}`;
-}, az = function(e, t) {
+}, iz = 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 (nz(e)) {
+ if (tz(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return tz(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, oz = (e) => {
+ return ez(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, az = (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 sz(e, t, n) {
- return Z(e) && Z(t) ? QR(e + n * (t - e)) : t;
+function oz(e, t, n) {
+ return Z(e) && Z(t) ? ZR(e + n * (t - e)) : t;
}
-function cz(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : ZR(e, t)) === n);
+function sz(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : XR(e, t)) === n);
}
-var lz = (e) => e == null, uz = (e) => lz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function dz(e) {
+var cz = (e) => e == null, lz = (e) => cz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function uz(e) {
return e != null;
}
-function fz() {}
+function dz() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var tde = [
+var _de = [
"type",
"size",
"sizeType"
];
-function pz() {
- return pz = Object.assign ? Object.assign.bind() : function(e) {
+function fz() {
+ return fz = 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;
- }, pz.apply(null, arguments);
+ }, fz.apply(null, arguments);
}
-function mz(e, t) {
+function pz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -45590,30 +46058,30 @@ function mz(e, t) {
}
return n;
}
-function hz(e) {
+function mz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mz(Object(n), !0).forEach(function(t) {
- nde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mz(Object(n)).forEach(function(t) {
+ t % 2 ? pz(Object(n), !0).forEach(function(t) {
+ vde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nde(e, t, n) {
- return (t = rde(t)) in e ? Object.defineProperty(e, t, {
+function vde(e, t, n) {
+ return (t = yde(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rde(e) {
- var t = ide(e, "string");
+function yde(e) {
+ var t = bde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ide(e, t) {
+function bde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -45623,16 +46091,16 @@ function ide(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ade(e, t) {
+function xde(e, t) {
if (e == null) return {};
- var n, r, i = ode(e, t);
+ var n, r, i = Sde(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ode(e, t) {
+function Sde(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -45641,68 +46109,68 @@ function ode(e, t) {
}
return n;
}
-var gz = {
- symbolCircle: bR,
- symbolCross: Sue,
- symbolDiamond: wue,
- symbolSquare: Tue,
- symbolStar: kue,
- symbolTriangle: Aue,
- symbolWye: Mue
-}, sde = Math.PI / 180, cde = (e) => gz[`symbol${uz(e)}`] || bR, lde = (e, t, n) => {
+var hz = {
+ symbolCircle: yR,
+ symbolCross: Rue,
+ symbolDiamond: Bue,
+ symbolSquare: Vue,
+ symbolStar: Gue,
+ symbolTriangle: Kue,
+ symbolWye: Jue
+}, Cde = Math.PI / 180, wde = (e) => hz[`symbol${lz(e)}`] || yR, Tde = (e, t, n) => {
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 * sde;
+ var r = 18 * Cde;
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;
}
-}, ude = (e, t) => {
- gz[`symbol${uz(e)}`] = t;
-}, _z = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = hz(hz({}, ade(e, tde)), {}, {
+}, Ede = (e, t) => {
+ hz[`symbol${lz(e)}`] = t;
+}, gz = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = mz(mz({}, xde(e, _de)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = cde(a), t = Nue().type(e).size(lde(n, r, a))();
+ var e = wde(a), t = Yue().type(e).size(Tde(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = JL(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", pz({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = qL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", fz({}, u, {
className: Um("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-_z.registerSymbol = ude;
+gz.registerSymbol = Ede;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var vz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, yz = (e, t) => {
+var _z = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, vz = (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) => {
- UL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ HL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, dde = (e, t, n) => (r) => (e(t, n, r), null), bz = (e, t, n) => {
+}, Dde = (e, t, n) => (r) => (e(t, n, r), null), yz = (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];
- UL(i) && typeof a == "function" && (r ||= {}, r[i] = dde(a, t, n));
+ HL(i) && typeof a == "function" && (r ||= {}, r[i] = Dde(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function xz(e, t) {
+function bz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -45712,30 +46180,30 @@ function xz(e, t) {
}
return n;
}
-function fde(e) {
+function Ode(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xz(Object(n), !0).forEach(function(t) {
- pde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xz(Object(n)).forEach(function(t) {
+ t % 2 ? bz(Object(n), !0).forEach(function(t) {
+ kde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bz(Object(n)).forEach(function(t) {
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 = Ade(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 Ade(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) {
@@ -45745,22 +46213,22 @@ function hde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Sz(e, t) {
- var n = fde({}, e), r = t;
+function xz(e, t) {
+ var n = Ode({}, 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 Cz() {
- return Cz = Object.assign ? Object.assign.bind() : function(e) {
+function Sz() {
+ return Sz = 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;
- }, Cz.apply(null, arguments);
+ }, Sz.apply(null, arguments);
}
-function wz(e, t) {
+function Cz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -45770,30 +46238,30 @@ function wz(e, t) {
}
return n;
}
-function Tz(e) {
+function wz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wz(Object(n), !0).forEach(function(t) {
- gde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wz(Object(n)).forEach(function(t) {
+ t % 2 ? Cz(Object(n), !0).forEach(function(t) {
+ Mde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Cz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gde(e, t, n) {
- return (t = _de(t)) in e ? Object.defineProperty(e, t, {
+function Mde(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 _de(e) {
- var t = vde(e, "string");
+function Nde(e) {
+ var t = Pde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vde(e, t) {
+function Pde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -45803,7 +46271,7 @@ function vde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Ez = 32, yde = {
+var Tz = 32, Fde = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -45811,20 +46279,20 @@ var Ez = 32, yde = {
verticalAlign: "middle",
labelStyle: {}
};
-function bde(e) {
+function Ide(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function xde(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = Ez / 2, a = Ez / 6, o = Ez / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function Lde(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = Tz / 2, a = Tz / 6, o = Tz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ I.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: bde(t.payload),
+ strokeDasharray: Ide(t.payload),
x1: 0,
y1: i,
- x2: Ez,
+ x2: Tz,
y2: i,
className: "recharts-legend-icon"
});
@@ -45834,35 +46302,35 @@ function xde(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${Ez}M${2 * o},${i}
+ H${Tz}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,${Ez / 8}h${Ez}v${Ez * 3 / 4}h${-Ez}z`,
+ d: `M0,${Tz / 8}h${Tz}v${Tz * 3 / 4}h${-Tz}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ I.isValidElement(t.legendIcon)) {
- var l = Tz({}, t);
+ var l = wz({}, t);
return delete l.legendIcon, /*#__PURE__*/ I.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ I.createElement(_z, {
+ return /*#__PURE__*/ I.createElement(gz, {
fill: s,
cx: i,
cy: i,
- size: Ez,
+ size: Tz,
sizeType: "diameter",
type: c
});
}
-function Sde(e) {
+function Rde(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: Ez,
- height: Ez
+ width: Tz,
+ height: Tz
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -45878,20 +46346,20 @@ function Sde(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? Tz({}, s) : {};
+ var p = typeof s == "object" ? wz({}, 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", Cz({
+ return /*#__PURE__*/ I.createElement("li", Sz({
className: f,
style: l,
key: `legend-item-${r}`
- }, bz(e, t, r)), /*#__PURE__*/ I.createElement(XL, {
+ }, yz(e, t, r)), /*#__PURE__*/ I.createElement(YL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ I.createElement(xde, {
+ }, /*#__PURE__*/ I.createElement(Lde, {
data: t,
iconType: o,
inactiveColor: a
@@ -45901,8 +46369,8 @@ function Sde(e) {
}, m));
});
}
-var Cde = (e) => {
- var t = Sz(e, yde), { payload: n, layout: r, align: i } = t;
+var zde = (e) => {
+ var t = xz(e, Fde), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -45912,11 +46380,11 @@ var Cde = (e) => {
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ I.createElement(Sde, Cz({}, t, { payload: n })));
+ }, /*#__PURE__*/ I.createElement(Rde, Sz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function wde(e, t) {
+function Bde(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -45926,77 +46394,77 @@ function wde(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Tde(e, t) {
+function Vde(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function Dz(e) {
+function Ez(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Ede(e) {
+function Hde(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Oz(e) {
- return e != null && typeof e != "function" && Ede(e.length);
+function Dz(e) {
+ return e != null && typeof e != "function" && Hde(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Dde(e) {
+function Ude(e) {
return function(t) {
- return ZR(t, e);
+ return XR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function kz(e) {
+function Oz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Ode(e) {
+function Wde(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function kde(e) {
+function Gde(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 Az(e) {
+function kz(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 Ade = "[object RegExp]", jz = "[object String]", Mz = "[object Number]", Nz = "[object Boolean]", Pz = "[object Arguments]", jde = "[object Symbol]", Mde = "[object Date]", Nde = "[object Map]", Pde = "[object Set]", Fde = "[object Array]", Ide = "[object ArrayBuffer]", Lde = "[object Object]", Rde = "[object DataView]", zde = "[object Uint8Array]", Bde = "[object Uint8ClampedArray]", Vde = "[object Uint16Array]", Hde = "[object Uint32Array]", Ude = "[object Int8Array]", Wde = "[object Int16Array]", Gde = "[object Int32Array]", Kde = "[object Float32Array]", qde = "[object Float64Array]", Fz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Kde = "[object RegExp]", Az = "[object String]", jz = "[object Number]", Mz = "[object Boolean]", Nz = "[object Arguments]", qde = "[object Symbol]", Jde = "[object Date]", Yde = "[object Map]", Xde = "[object Set]", Zde = "[object Array]", Qde = "[object ArrayBuffer]", $de = "[object Object]", efe = "[object DataView]", tfe = "[object Uint8Array]", nfe = "[object Uint8ClampedArray]", rfe = "[object Uint16Array]", ife = "[object Uint32Array]", afe = "[object Int8Array]", ofe = "[object Int16Array]", sfe = "[object Int32Array]", cfe = "[object Float32Array]", lfe = "[object Float64Array]", Pz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function Jde(e) {
- return Fz.Buffer !== void 0 && Fz.Buffer.isBuffer(e);
+function ufe(e) {
+ return Pz.Buffer !== void 0 && Pz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Yde(e, t) {
- return Iz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function dfe(e, t) {
+ return Fz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function Iz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function Fz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (kz(e)) return e;
+ if (Oz(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] = Iz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Fz(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());
@@ -46007,132 +46475,132 @@ function Iz(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, Iz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, Fz(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(Iz(a, void 0, n, r, i));
+ for (let a of e) t.add(Fz(a, void 0, n, r, i));
return t;
}
- if (Jde(e)) return e.subarray();
- if (Ode(e)) {
+ if (ufe(e)) return e.subarray();
+ if (Wde(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Iz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Fz(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), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(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), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(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), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(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, Lz(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, Iz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(t, e, n, r, i), t;
}
- if (typeof e == "object" && Xde(e)) {
+ if (typeof e == "object" && ffe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), Lz(t, e, n, r, i), t;
+ return r.set(e, t), Iz(t, e, n, r, i), t;
}
return e;
}
-function Lz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...kde(t)];
+function Iz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Gde(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = Iz(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = Fz(t[s], s, n, r, i));
}
}
-function Xde(e) {
- switch (Az(e)) {
- case Pz:
- case Fde:
- case Ide:
- case Rde:
+function ffe(e) {
+ switch (kz(e)) {
case Nz:
- case Mde:
- case Kde:
- case qde:
- case Ude:
- case Wde:
- case Gde:
- case Nde:
+ case Zde:
+ case Qde:
+ case efe:
case Mz:
- case Lde:
- case Ade:
- case Pde:
+ case Jde:
+ case cfe:
+ case lfe:
+ case afe:
+ case ofe:
+ case sfe:
+ case Yde:
case jz:
- case jde:
- case zde:
- case Bde:
- case Vde:
- case Hde: return !0;
+ case $de:
+ case Kde:
+ case Xde:
+ case Az:
+ case qde:
+ case tfe:
+ case nfe:
+ case rfe:
+ case ife: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Zde(e) {
- return Iz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function pfe(e) {
+ return Fz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function Rz(e, t) {
+function Lz(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function zz(e) {
+function Rz(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function Bz(e, t, n) {
- return typeof n == "function" ? Vz(e, t, function e(t, r, i, a, o, s) {
+function zz(e, t, n) {
+ return typeof n == "function" ? Bz(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? Vz(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : Bz(e, t, () => void 0);
+ return c === void 0 ? Bz(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : zz(e, t, () => void 0);
}
-function Vz(e, t, n, r, i = !1) {
+function Bz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Qde(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? Vz(e, { ...t }, n, r, i) : Rz(e, t);
- default: return zz(e) && i ? typeof t != "string" || t === "" : Rz(e, t);
+ case "object": return mfe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? Bz(e, { ...t }, n, r, i) : Lz(e, t);
+ default: return Rz(e) && i ? typeof t != "string" || t === "" : Lz(e, t);
}
}
-function Qde(e, t, n, r, i = !1) {
+function mfe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return Hz(e, t, n, r);
- if (t instanceof Map) return $de(e, t, n, r);
- if (t instanceof Set) return efe(e, t, n, r);
+ if (Array.isArray(t)) return Vz(e, t, n, r);
+ if (t instanceof Map) return hfe(e, t, n, r);
+ if (t instanceof Set) return gfe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) kz(e) && (e = Object(e));
+ if (i) Oz(e) && (e = Object(e));
else {
- let t = Az(e);
+ let t = kz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -46148,13 +46616,13 @@ function Qde(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function $de(e, t, n, r) {
+function hfe(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 Hz(e, t, n, r) {
+function Vz(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -46172,40 +46640,40 @@ function Hz(e, t, n, r) {
}
return !0;
}
-function efe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && Hz([...e], [...t], n, r);
+function gfe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Vz([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function Uz(e, t) {
- return Bz(e, t, () => void 0);
+function Hz(e, t) {
+ return zz(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function tfe(e) {
- return e = Zde(e), (t) => Uz(t, e);
+function _fe(e) {
+ return e = pfe(e), (t) => Hz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function nfe(e, t) {
- return Yde(e, (n, r, i, a) => {
+function vfe(e, t) {
+ return dfe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (Az(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (kz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), Lz(t, e, i, a), t;
+ return a.set(e, t), Iz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case Mz:
case jz:
- case Nz: {
+ case Az:
+ case Mz: {
let t = new e.constructor(e?.valueOf());
- return Lz(t, e), t;
+ return Iz(t, e), t;
}
- case Pz: {
+ case Nz: {
let t = {};
- return Lz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Iz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -46214,80 +46682,80 @@ function nfe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function rfe(e) {
- return nfe(e);
+function yfe(e) {
+ return vfe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var ife = /^(?:0|[1-9]\d*)$/;
-function Wz(e, t = 2 ** 53 - 1) {
+var bfe = /^(?:0|[1-9]\d*)$/;
+function Uz(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 ife.test(e);
+ case "string": return bfe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function afe(e) {
- return typeof e == "object" && !!e && Az(e) === "[object Arguments]";
+function xfe(e) {
+ return typeof e == "object" && !!e && kz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function ofe(e, t) {
+function Sfe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && KR(t) && !(t in Object(e)) ? XR(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && GR(t) && !(t in Object(e)) ? YR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = qR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || afe(r)) && Wz(t) && Number(t) < r.length)) return !1;
+ let t = KR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || xfe(r)) && Uz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function sfe(e, t) {
+function Cfe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = qR(e);
+ case "number": e = KR(e);
}
- return t = rfe(t), function(n) {
- let r = ZR(n, e);
- return r === void 0 ? ofe(n, e) : t === void 0 ? r === void 0 : Uz(r, t);
+ return t = yfe(t), function(n) {
+ let r = XR(n, e);
+ return r === void 0 ? Sfe(n, e) : t === void 0 ? r === void 0 : Hz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function Gz(e) {
- if (e == null) return Dz;
+function Wz(e) {
+ if (e == null) return Ez;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? sfe(e[0], e[1]) : tfe(e);
- default: return Dde(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Cfe(e[0], e[1]) : _fe(e);
+ default: return Ude(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function cfe(e) {
+function wfe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function Kz(e, t = Dz) {
- return Oz(e) ? wde(Array.from(e), Tde(Gz(t), 1)).map(cfe) : [];
+function Gz(e, t = Ez) {
+ return Dz(e) ? Bde(Array.from(e), Vde(Wz(t), 1)).map(wfe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function qz(e, t, n) {
- return t === !0 ? Kz(e, n) : typeof t == "function" ? Kz(e, t) : e;
+function Kz(e, t, n) {
+ return t === !0 ? Gz(e, n) : typeof t == "function" ? Gz(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var lfe = /* @__PURE__ */ j(((e) => {
- var t = F(), n = _h();
+var Tfe = /* @__PURE__ */ j(((e) => {
+ var t = te(), n = _h();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -46331,60 +46799,60 @@ var lfe = /* @__PURE__ */ j(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), ufe = /* @__PURE__ */ j(((e, t) => {
- t.exports = lfe();
-})), Jz = /*#__PURE__*/ (0, I.createContext)(null), dfe = ufe(), ffe = (e) => e, Yz = () => {
- var e = (0, I.useContext)(Jz);
- return e ? e.store.dispatch : ffe;
-}, Xz = () => {}, pfe = () => Xz, mfe = (e, t) => e === t;
+})), Efe = /* @__PURE__ */ j(((e, t) => {
+ t.exports = Tfe();
+})), qz = /*#__PURE__*/ (0, I.createContext)(null), Dfe = Efe(), Ofe = (e) => e, Jz = () => {
+ var e = (0, I.useContext)(qz);
+ return e ? e.store.dispatch : Ofe;
+}, Yz = () => {}, kfe = () => Yz, Afe = (e, t) => e === t;
function Q(e) {
- var t = (0, I.useContext)(Jz), n = (0, I.useMemo)(() => t ? (t) => {
+ var t = (0, I.useContext)(qz), n = (0, I.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Xz, [t, e]);
- return (0, dfe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : pfe, t ? t.store.getState : Xz, t ? t.store.getState : Xz, n, mfe);
+ } : Yz, [t, e]);
+ return (0, Dfe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : kfe, t ? t.store.getState : Yz, t ? t.store.getState : Yz, n, Afe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function hfe(e, t = `expected a function, instead received ${typeof e}`) {
+function jfe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function gfe(e, t = `expected an object, instead received ${typeof e}`) {
+function Mfe(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function _fe(e, t = "expected all items to be functions, instead received the following types: ") {
+function Nfe(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 Zz = (e) => Array.isArray(e) ? e : [e];
-function vfe(e) {
+var Xz = (e) => Array.isArray(e) ? e : [e];
+function Pfe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return _fe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Nfe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function yfe(e, t) {
+function Ffe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var bfe = class {
+var Ife = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, xfe = typeof WeakRef < "u" ? WeakRef : bfe, Sfe = 0, Qz = 1;
-function $z() {
+}, Lfe = typeof WeakRef < "u" ? WeakRef : Ife, Rfe = 0, Zz = 1;
+function Qz() {
return {
- s: Sfe,
+ s: Rfe,
v: void 0,
o: null,
p: null
};
}
-function eB(e, t = {}) {
- let n = $z(), { resultEqualityCheck: r } = t, i, a = 0;
+function $z(e, t = {}) {
+ let n = Qz(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -46393,43 +46861,43 @@ function eB(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = $z(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Qz(), 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 = $z(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Qz(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Qz) c = t.v;
+ if (t.s === Zz) 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 xfe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Lfe(c) : c;
}
- return s.s = Qz, s.v = c, c;
+ return s.s = Zz, s.v = c, c;
}
return o.clearCache = () => {
- n = $z(), o.resetResultsCount();
+ n = Qz(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function Cfe(e, ...t) {
+function zfe(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()), hfe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = eB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), jfe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = $z, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = Zz(c), p = Zz(u), m = vfe(e), h = s(function() {
+ }, f = Xz(c), p = Xz(u), m = Pfe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = yfe(m, arguments);
+ let e = Ffe(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -46451,14 +46919,14 @@ function Cfe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ Cfe(eB), wfe = Object.assign((e, t = $) => {
- gfe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ zfe($z), Bfe = Object.assign((e, t = $) => {
+ Mfe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => wfe });
+}, { withTypes: () => Bfe });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function Tfe(e, t = 1) {
+function Vfe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -46469,17 +46937,17 @@ function Tfe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function tB(e, t, n) {
- return zz(n) && (typeof t == "number" && Oz(n) && Wz(t) && t < n.length || typeof t == "string" && t in n) ? Rz(n[t], e) : !1;
+function eB(e, t, n) {
+ return Rz(n) && (typeof t == "number" && Dz(n) && Uz(t) && t < n.length || typeof t == "string" && t in n) ? Lz(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function nB(e) {
+function tB(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var Efe = (e, t, n) => {
+var Hfe = (e, t, n) => {
if (e !== t) {
- let r = nB(e), i = nB(t);
+ let r = tB(e), i = tB(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -46487,15 +46955,15 @@ var Efe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, Dfe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ofe = /^\w*$/;
-function kfe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || JR(e) ? !0 : typeof e == "string" && (Ofe.test(e) || !Dfe.test(e)) || t != null && Object.hasOwn(t, e);
+}, Ufe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Wfe = /^\w*$/;
+function Gfe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || qR(e) ? !0 : typeof e == "string" && (Wfe.test(e) || !Ufe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function Afe(e, t, n, r) {
+function Kfe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Oz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = Dz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -46503,16 +46971,16 @@ function Afe(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) || kfe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || Gfe(e) ? e : {
key: e,
- path: XR(e)
+ path: YR(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 = Efe(e.criteria[r], t.criteria[r], n[r]);
+ let i = Hfe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -46520,25 +46988,25 @@ function Afe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function rB(e, ...t) {
+function nB(e, ...t) {
let n = t.length;
- return n > 1 && tB(e, t[0], t[1]) ? t = [] : n > 2 && tB(t[0], t[1], t[2]) && (t = [t[0]]), Afe(e, Tfe(t), ["asc"]);
+ return n > 1 && eB(e, t[0], t[1]) ? t = [] : n > 2 && eB(t[0], t[1], t[2]) && (t = [t[0]]), Kfe(e, Vfe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var iB = (e) => e.legend.settings, jfe = (e) => e.legend.size, Mfe = $([(e) => e.legend.payload, iB], (e, t) => {
+var rB = (e) => e.legend.settings, qfe = (e) => e.legend.size, Jfe = $([(e) => e.legend.payload, rB], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? rB(r, n) : r;
+ return n ? nB(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function Nfe() {
- return Q(Mfe);
+function Yfe() {
+ return Q(Jfe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var aB = 1;
-function oB() {
+var iB = 1;
+function aB() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, I.useState)({
height: 0,
left: 0,
@@ -46553,7 +47021,7 @@ function oB() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > aB || Math.abs(i.left - t.left) > aB || Math.abs(i.top - t.top) > aB || Math.abs(i.width - t.width) > aB) && n({
+ (Math.abs(i.height - t.height) > iB || Math.abs(i.left - t.left) > iB || Math.abs(i.top - t.top) > iB || Math.abs(i.width - t.width) > iB) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -46570,26 +47038,26 @@ function oB() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function sB(e) {
+function oB(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 cB = typeof Symbol == "function" && Symbol.observable || "@@observable", lB = () => Math.random().toString(36).substring(7).split("").join("."), uB = {
- INIT: `@@redux/INIT${/* @__PURE__ */ lB()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ lB()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${lB()}`
+var sB = typeof Symbol == "function" && Symbol.observable || "@@observable", cB = () => Math.random().toString(36).substring(7).split("").join("."), lB = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ cB()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ cB()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${cB()}`
};
-function dB(e) {
+function uB(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 fB(e, t, n) {
- if (typeof e != "function") throw Error(sB(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(sB(0));
+function dB(e, t, n) {
+ if (typeof e != "function") throw Error(oB(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(oB(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(sB(1));
- return n(fB)(e, t);
+ if (typeof n != "function") throw Error(oB(1));
+ return n(dB)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -46598,27 +47066,27 @@ function fB(e, t, n) {
}));
}
function u() {
- if (c) throw Error(sB(3));
+ if (c) throw Error(oB(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(sB(4));
- if (c) throw Error(sB(5));
+ if (typeof e != "function") throw Error(oB(4));
+ if (c) throw Error(oB(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(sB(6));
+ if (c) throw Error(oB(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!dB(e)) throw Error(sB(7));
- if (e.type === void 0) throw Error(sB(8));
- if (typeof e.type != "string") throw Error(sB(17));
- if (c) throw Error(sB(9));
+ if (!uB(e)) throw Error(oB(7));
+ if (e.type === void 0) throw Error(oB(8));
+ if (typeof e.type != "string") throw Error(oB(17));
+ if (c) throw Error(oB(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -46629,41 +47097,41 @@ function fB(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(sB(10));
- r = e, f({ type: uB.REPLACE });
+ if (typeof e != "function") throw Error(oB(10));
+ r = e, f({ type: lB.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(sB(11));
+ if (typeof t != "object" || !t) throw Error(oB(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [cB]() {
+ [sB]() {
return this;
}
};
}
- return f({ type: uB.INIT }), {
+ return f({ type: lB.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [cB]: m
+ [sB]: m
};
}
-function Pfe(e) {
+function Xfe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: uB.INIT }) === void 0) throw Error(sB(12));
- if (n(void 0, { type: uB.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(sB(13));
+ if (n(void 0, { type: lB.INIT }) === void 0) throw Error(oB(12));
+ if (n(void 0, { type: lB.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(oB(13));
});
}
-function pB(e) {
+function fB(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -46671,7 +47139,7 @@ function pB(e) {
}
let r = Object.keys(n), i;
try {
- Pfe(n);
+ Xfe(n);
} catch (e) {
i = e;
}
@@ -46680,124 +47148,124 @@ function pB(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(sB(14));
+ if (u === void 0) throw t && t.type, Error(oB(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function mB(...e) {
+function pB(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function Ffe(...e) {
+function Zfe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(sB(15));
+ throw Error(oB(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = mB(...e.map((e) => e(o)))(i.dispatch), {
+ return a = pB(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function hB(e) {
- return dB(e) && "type" in e && typeof e.type == "string";
+function mB(e) {
+ return uB(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var gB = Symbol.for("immer-nothing"), _B = Symbol.for("immer-draftable"), vB = Symbol.for("immer-state");
-function yB(e, ...t) {
+var hB = Symbol.for("immer-nothing"), gB = Symbol.for("immer-draftable"), _B = Symbol.for("immer-state");
+function vB(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var bB = Object, xB = bB.getPrototypeOf, SB = "constructor", CB = "prototype", wB = "configurable", TB = "enumerable", EB = "writable", DB = "value", OB = (e) => !!e && !!e[vB];
-function kB(e) {
- return e ? jB(e) || LB(e) || !!e[_B] || !!e[SB]?.[_B] || RB(e) || zB(e) : !1;
+var yB = Object, bB = yB.getPrototypeOf, xB = "constructor", SB = "prototype", CB = "configurable", wB = "enumerable", TB = "writable", EB = "value", DB = (e) => !!e && !!e[_B];
+function OB(e) {
+ return e ? AB(e) || IB(e) || !!e[gB] || !!e[xB]?.[gB] || LB(e) || RB(e) : !1;
}
-var Ife = bB[CB][SB].toString(), AB = /* @__PURE__ */ new WeakMap();
-function jB(e) {
- if (!e || !BB(e)) return !1;
- let t = xB(e);
- if (t === null || t === bB[CB]) return !0;
- let n = bB.hasOwnProperty.call(t, SB) && t[SB];
+var Qfe = yB[SB][xB].toString(), kB = /* @__PURE__ */ new WeakMap();
+function AB(e) {
+ if (!e || !zB(e)) return !1;
+ let t = bB(e);
+ if (t === null || t === yB[SB]) return !0;
+ let n = yB.hasOwnProperty.call(t, xB) && t[xB];
if (n === Object) return !0;
- if (!VB(n)) return !1;
- let r = AB.get(n);
- return r === void 0 && (r = Function.toString.call(n), AB.set(n, r)), r === Ife;
+ if (!BB(n)) return !1;
+ let r = kB.get(n);
+ return r === void 0 && (r = Function.toString.call(n), kB.set(n, r)), r === Qfe;
}
-function MB(e, t, n = !0) {
- NB(e) === 0 ? (n ? Reflect.ownKeys(e) : bB.keys(e)).forEach((n) => {
+function jB(e, t, n = !0) {
+ MB(e) === 0 ? (n ? Reflect.ownKeys(e) : yB.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function NB(e) {
- let t = e[vB];
- return t ? t.type_ : LB(e) ? 1 : RB(e) ? 2 : zB(e) ? 3 : 0;
+function MB(e) {
+ let t = e[_B];
+ return t ? t.type_ : IB(e) ? 1 : LB(e) ? 2 : RB(e) ? 3 : 0;
}
-var PB = (e, t, n = NB(e)) => n === 2 ? e.has(t) : bB[CB].hasOwnProperty.call(e, t), FB = (e, t, n = NB(e)) => n === 2 ? e.get(t) : e[t], IB = (e, t, n, r = NB(e)) => {
+var NB = (e, t, n = MB(e)) => n === 2 ? e.has(t) : yB[SB].hasOwnProperty.call(e, t), PB = (e, t, n = MB(e)) => n === 2 ? e.get(t) : e[t], FB = (e, t, n, r = MB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function Lfe(e, t) {
+function $fe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var LB = Array.isArray, RB = (e) => e instanceof Map, zB = (e) => e instanceof Set, BB = (e) => typeof e == "object", VB = (e) => typeof e == "function", HB = (e) => typeof e == "boolean";
-function Rfe(e) {
+var IB = Array.isArray, LB = (e) => e instanceof Map, RB = (e) => e instanceof Set, zB = (e) => typeof e == "object", BB = (e) => typeof e == "function", VB = (e) => typeof e == "boolean";
+function epe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var UB = (e) => e.copy_ || e.base_, WB = (e) => e.modified_ ? e.copy_ : e.base_;
-function GB(e, t) {
- if (RB(e)) return new Map(e);
- if (zB(e)) return new Set(e);
- if (LB(e)) return Array[CB].slice.call(e);
- let n = jB(e);
+var HB = (e) => e.copy_ || e.base_, UB = (e) => e.modified_ ? e.copy_ : e.base_;
+function WB(e, t) {
+ if (LB(e)) return new Map(e);
+ if (RB(e)) return new Set(e);
+ if (IB(e)) return Array[SB].slice.call(e);
+ let n = AB(e);
if (t === !0 || t === "class_only" && !n) {
- let t = bB.getOwnPropertyDescriptors(e);
- delete t[vB];
+ let t = yB.getOwnPropertyDescriptors(e);
+ delete t[_B];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[EB] === !1 && (a[EB] = !0, a[wB] = !0), (a.get || a.set) && (t[i] = {
- [wB]: !0,
- [EB]: !0,
- [TB]: a[TB],
- [DB]: e[i]
+ a[TB] === !1 && (a[TB] = !0, a[CB] = !0), (a.get || a.set) && (t[i] = {
+ [CB]: !0,
+ [TB]: !0,
+ [wB]: a[wB],
+ [EB]: e[i]
});
}
- return bB.create(xB(e), t);
+ return yB.create(bB(e), t);
}
{
- let t = xB(e);
+ let t = bB(e);
if (t !== null && n) return { ...e };
- let r = bB.create(t);
- return bB.assign(r, e);
- }
-}
-function KB(e, t = !1) {
- return JB(e) || OB(e) || !kB(e) ? e : (NB(e) > 1 && bB.defineProperties(e, {
- set: qB,
- add: qB,
- clear: qB,
- delete: qB
- }), bB.freeze(e), t && MB(e, (e, t) => {
- KB(t, !0);
+ let r = yB.create(t);
+ return yB.assign(r, e);
+ }
+}
+function GB(e, t = !1) {
+ return qB(e) || DB(e) || !OB(e) ? e : (MB(e) > 1 && yB.defineProperties(e, {
+ set: KB,
+ add: KB,
+ clear: KB,
+ delete: KB
+ }), yB.freeze(e), t && jB(e, (e, t) => {
+ GB(t, !0);
}, !1), e);
}
-function zfe() {
- yB(2);
+function tpe() {
+ vB(2);
}
-var qB = { [DB]: zfe };
-function JB(e) {
- return e === null || !BB(e) || bB.isFrozen(e);
+var KB = { [EB]: tpe };
+function qB(e) {
+ return e === null || !zB(e) || yB.isFrozen(e);
}
-var YB = "MapSet", XB = "Patches", ZB = "ArrayMethods", QB = {};
-function $B(e) {
- let t = QB[e];
- return t || yB(0, e), t;
+var JB = "MapSet", YB = "Patches", XB = "ArrayMethods", ZB = {};
+function QB(e) {
+ let t = ZB[e];
+ return t || vB(0, e), t;
}
-var eV = (e) => !!QB[e], tV, nV = () => tV, Bfe = (e, t) => ({
+var $B = (e) => !!ZB[e], eV, tV = () => eV, npe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -46805,114 +47273,114 @@ var eV = (e) => !!QB[e], tV, nV = () => tV, Bfe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: eV(YB) ? $B(YB) : void 0,
- arrayMethodsPlugin_: eV(ZB) ? $B(ZB) : void 0
+ mapSetPlugin_: $B(JB) ? QB(JB) : void 0,
+ arrayMethodsPlugin_: $B(XB) ? QB(XB) : void 0
});
-function rV(e, t) {
- t && (e.patchPlugin_ = $B(XB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function nV(e, t) {
+ t && (e.patchPlugin_ = QB(YB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function iV(e) {
- aV(e), e.drafts_.forEach(Vfe), e.drafts_ = null;
+function rV(e) {
+ iV(e), e.drafts_.forEach(rpe), e.drafts_ = null;
}
-function aV(e) {
- e === tV && (tV = e.parent_);
+function iV(e) {
+ e === eV && (eV = e.parent_);
}
-var oV = (e) => tV = Bfe(tV, e);
-function Vfe(e) {
- let t = e[vB];
+var aV = (e) => eV = npe(eV, e);
+function rpe(e) {
+ let t = e[_B];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function sV(e, t) {
+function oV(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[vB].modified_ && (iV(t), yB(4)), kB(e) && (e = cV(t, e));
+ n[_B].modified_ && (rV(t), vB(4)), OB(e) && (e = sV(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[vB].base_, e, t);
- } else e = cV(t, n);
- return Hfe(t, e, !0), iV(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gB ? void 0 : e;
-}
-function cV(e, t) {
- if (JB(t)) return t;
- let n = t[vB];
- if (!n) return pV(t, e.handledSet_, e);
- if (!uV(n, e)) return t;
+ r && r.generateReplacementPatches_(n[_B].base_, e, t);
+ } else e = sV(t, n);
+ return ipe(t, e, !0), rV(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hB ? void 0 : e;
+}
+function sV(e, t) {
+ if (qB(t)) return t;
+ let n = t[_B];
+ if (!n) return fV(t, e.handledSet_, e);
+ if (!lV(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- fV(n, e);
+ dV(n, e);
}
return n.copy_;
}
-function Hfe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && KB(t, n);
+function ipe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && GB(t, n);
}
-function lV(e) {
+function cV(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var uV = (e, t) => e.scope_ === t, Ufe = [];
-function dV(e, t, n, r) {
- let i = UB(e), a = e.type_;
- if (r !== void 0 && FB(i, r, a) === t) {
- IB(i, r, n, a);
+var lV = (e, t) => e.scope_ === t, ape = [];
+function uV(e, t, n, r) {
+ let i = HB(e), a = e.type_;
+ if (r !== void 0 && PB(i, r, a) === t) {
+ FB(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- MB(i, (e, n) => {
- if (OB(n)) {
+ jB(i, (e, n) => {
+ if (DB(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? Ufe;
- for (let e of o) IB(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? ape;
+ for (let e of o) FB(i, e, n, a);
}
-function Wfe(e, t, n) {
+function ope(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !uV(i, r)) return;
+ if (!i || !lV(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = WB(i);
- dV(e, i.draft_ ?? i, a, n), fV(i, r);
+ let a = UB(i);
+ uV(e, i.draft_ ?? i, a, n), dV(i, r);
});
}
-function fV(e, t) {
+function dV(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);
}
- lV(e);
+ cV(e);
}
}
-function Gfe(e, t, n) {
+function spe(e, t, n) {
let { scope_: r } = e;
- if (OB(n)) {
- let i = n[vB];
- uV(i, r) && i.callbacks_.push(function() {
- yV(e), dV(e, n, WB(i), t);
+ if (DB(n)) {
+ let i = n[_B];
+ lV(i, r) && i.callbacks_.push(function() {
+ vV(e), uV(e, n, UB(i), t);
});
- } else kB(n) && e.callbacks_.push(function() {
- let i = UB(e);
- e.type_ === 3 ? i.has(n) && pV(n, r.handledSet_, r) : FB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && pV(FB(e.copy_, t, e.type_), r.handledSet_, r);
+ } else OB(n) && e.callbacks_.push(function() {
+ let i = HB(e);
+ e.type_ === 3 ? i.has(n) && fV(n, r.handledSet_, r) : PB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && fV(PB(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function pV(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || OB(e) || t.has(e) || !kB(e) || JB(e) ? e : (t.add(e), MB(e, (r, i) => {
- if (OB(i)) {
- let t = i[vB];
- uV(t, n) && (IB(e, r, WB(t), e.type_), lV(t));
- } else kB(i) && pV(i, t, n);
+function fV(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || DB(e) || t.has(e) || !OB(e) || qB(e) ? e : (t.add(e), jB(e, (r, i) => {
+ if (DB(i)) {
+ let t = i[_B];
+ lV(t, n) && (FB(e, r, UB(t), e.type_), cV(t));
+ } else OB(i) && fV(i, t, n);
}), e);
}
-function Kfe(e, t) {
- let n = LB(e), r = {
+function cpe(e, t) {
+ let n = IB(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : nV(),
+ scope_: t ? t.scope_ : tV(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -46923,108 +47391,108 @@ function Kfe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = mV;
- n && (i = [r], a = hV);
+ }, i = r, a = pV;
+ n && (i = [r], a = mV);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var mV = {
+var pV = {
get(e, t) {
- if (t === vB) return e;
+ if (t === _B) 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 = UB(e);
- if (!PB(i, t, e.type_)) return Jfe(e, i, t);
+ let i = HB(e);
+ if (!NB(i, t, e.type_)) return upe(e, i, t);
let a = i[t];
- if (e.finalized_ || !kB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Rfe(t)) return a;
- if (a === gV(e.base_, t) || qfe(e, t, a)) {
- yV(e);
- let n = e.type_ === 1 ? +t : t, r = bV(e.scope_, a, e, n);
+ if (e.finalized_ || !OB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && epe(t)) return a;
+ if (a === hV(e.base_, t) || lpe(e, t, a)) {
+ vV(e);
+ let n = e.type_ === 1 ? +t : t, r = yV(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in UB(e);
+ return t in HB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(UB(e));
+ return Reflect.ownKeys(HB(e));
},
set(e, t, n) {
- let r = _V(UB(e), t);
+ let r = gV(HB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = gV(UB(e), t), i = r?.[vB];
+ let r = hV(HB(e), t), i = r?.[_B];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (Lfe(n, r) && (n !== void 0 || PB(e.base_, t, e.type_))) return !0;
- yV(e), vV(e);
+ if ($fe(n, r) && (n !== void 0 || NB(e.base_, t, e.type_))) return !0;
+ vV(e), _V(e);
}
- return e.copy_[t] === n && (n !== void 0 || PB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Gfe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || NB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), spe(e, t, n), !0);
},
deleteProperty(e, t) {
- return yV(e), gV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), vV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return vV(e), hV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), _V(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = UB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = HB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [EB]: !0,
- [wB]: e.type_ !== 1 || t !== "length",
- [TB]: r[TB],
- [DB]: n[t]
+ [TB]: !0,
+ [CB]: e.type_ !== 1 || t !== "length",
+ [wB]: r[wB],
+ [EB]: n[t]
};
},
defineProperty() {
- yB(11);
+ vB(11);
},
getPrototypeOf(e) {
- return xB(e.base_);
+ return bB(e.base_);
},
setPrototypeOf() {
- yB(12);
+ vB(12);
}
-}, hV = {};
-for (let e in mV) {
- let t = mV[e];
- hV[e] = function() {
+}, mV = {};
+for (let e in pV) {
+ let t = pV[e];
+ mV[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-hV.deleteProperty = function(e, t) {
- return hV.set.call(this, e, t, void 0);
-}, hV.set = function(e, t, n) {
- return mV.set.call(this, e[0], t, n, e[0]);
+mV.deleteProperty = function(e, t) {
+ return mV.set.call(this, e, t, void 0);
+}, mV.set = function(e, t, n) {
+ return pV.set.call(this, e[0], t, n, e[0]);
};
-function gV(e, t) {
- let n = e[vB];
- return (n ? UB(n) : e)[t];
+function hV(e, t) {
+ let n = e[_B];
+ return (n ? HB(n) : e)[t];
}
-function qfe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !kB(n) || n[vB] ? !1 : e.baseRefs_.has(n);
+function lpe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OB(n) || n[_B] ? !1 : e.baseRefs_.has(n);
}
-function Jfe(e, t, n) {
- let r = _V(t, n);
- return r ? DB in r ? r[DB] : r.get?.call(e.draft_) : void 0;
+function upe(e, t, n) {
+ let r = gV(t, n);
+ return r ? EB in r ? r[EB] : r.get?.call(e.draft_) : void 0;
}
-function _V(e, t) {
+function gV(e, t) {
if (!(t in e)) return;
- let n = xB(e);
+ let n = bB(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = xB(n);
+ n = bB(n);
}
}
-function vV(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && vV(e.parent_));
+function _V(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && _V(e.parent_));
}
-function yV(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), GB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function vV(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), WB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var Yfe = class {
+var dpe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (VB(e) && !VB(t)) {
+ if (BB(e) && !BB(t)) {
let n = t;
t = e;
let r = this;
@@ -47032,30 +47500,30 @@ var Yfe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- VB(t) || yB(6), n !== void 0 && !VB(n) && yB(7);
+ BB(t) || vB(6), n !== void 0 && !BB(n) && vB(7);
let r;
- if (kB(e)) {
- let i = oV(this), a = bV(i, e, void 0), o = !0;
+ if (OB(e)) {
+ let i = aV(this), a = yV(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? iV(i) : aV(i);
+ o ? rV(i) : iV(i);
}
- return rV(i, n), sV(r, i);
+ return nV(i, n), oV(r, i);
}
- if (!e || !BB(e)) {
- if (r = t(e), r === void 0 && (r = e), r === gB && (r = void 0), this.autoFreeze_ && KB(r, !0), n) {
+ if (!e || !zB(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === hB && (r = void 0), this.autoFreeze_ && GB(r, !0), n) {
let t = [], i = [];
- $B(XB).generateReplacementPatches_(e, r, {
+ QB(YB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- yB(1, e);
+ vB(1, e);
}, this.produceWithPatches = (e, t) => {
- if (VB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (BB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -47064,18 +47532,18 @@ var Yfe = class {
n,
r
];
- }, HB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), HB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), HB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, VB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), VB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), VB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- kB(e) || yB(8), OB(e) && (e = xV(e));
- let t = oV(this), n = bV(t, e, void 0);
- return n[vB].isManual_ = !0, aV(t), n;
+ OB(e) || vB(8), DB(e) && (e = bV(e));
+ let t = aV(this), n = yV(t, e, void 0);
+ return n[_B].isManual_ = !0, iV(t), n;
}
finishDraft(e, t) {
- let n = e && e[vB];
- (!n || !n.isManual_) && yB(9);
+ let n = e && e[_B];
+ (!n || !n.isManual_) && vB(9);
let { scope_: r } = n;
- return rV(r, t), sV(void 0, r);
+ return nV(r, t), oV(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -47099,48 +47567,48 @@ var Yfe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = $B(XB).applyPatches_;
- return OB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = QB(YB).applyPatches_;
+ return DB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function bV(e, t, n, r) {
- let [i, a] = RB(t) ? $B(YB).proxyMap_(t, n) : zB(t) ? $B(YB).proxySet_(t, n) : Kfe(t, n);
- return (n?.scope_ ?? nV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Wfe(n, a, r) : a.callbacks_.push(function(e) {
+function yV(e, t, n, r) {
+ let [i, a] = LB(t) ? QB(JB).proxyMap_(t, n) : RB(t) ? QB(JB).proxySet_(t, n) : cpe(t, n);
+ return (n?.scope_ ?? tV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? ope(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function xV(e) {
- return OB(e) || yB(10, e), SV(e);
+function bV(e) {
+ return DB(e) || vB(10, e), xV(e);
}
-function SV(e) {
- if (!kB(e) || JB(e)) return e;
- let t = e[vB], n, r = !0;
+function xV(e) {
+ if (!OB(e) || qB(e)) return e;
+ let t = e[_B], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = GB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = GB(e, !0);
- return MB(n, (e, t) => {
- IB(n, e, SV(t));
+ t.finalized_ = !0, n = WB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = WB(e, !0);
+ return jB(n, (e, t) => {
+ FB(n, e, xV(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var CV = new Yfe().produce;
+var SV = new dpe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function wV(e) {
+function CV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var Xfe = wV(), Zfe = wV, Qfe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? mB : mB.apply(null, arguments);
+var fpe = CV(), ppe = CV, mpe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? pB : pB.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function TV(e, t) {
+function wV(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(TH(0));
+ if (!r) throw Error(kH(0));
return {
type: e,
payload: r.payload,
@@ -47153,9 +47621,9 @@ function TV(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => hB(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => mB(t) && t.type === e, n;
}
-var EV = class e extends Array {
+var TV = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -47169,29 +47637,29 @@ var EV = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function DV(e) {
- return kB(e) ? CV(e, () => {}) : e;
+function EV(e) {
+ return OB(e) ? SV(e, () => {}) : e;
}
-function OV(e, t, n) {
+function DV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function $fe(e) {
+function hpe(e) {
return typeof e == "boolean";
}
-var epe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new EV();
- return t && ($fe(t) ? a.push(Xfe) : a.push(Zfe(t.extraArgument))), a;
-}, kV = "RTK_autoBatch", AV = () => (e) => ({
+var gpe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new TV();
+ return t && (hpe(t) ? a.push(fpe) : a.push(ppe(t.extraArgument))), a;
+}, OV = "RTK_autoBatch", kV = () => (e) => ({
payload: e,
- meta: { [kV]: !0 }
-}), jV = (e) => (t) => {
+ meta: { [OV]: !0 }
+}), AV = (e) => (t) => {
setTimeout(t, e);
-}, tpe = (e, t) => (n) => {
+}, _pe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, MV = (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 ? tpe(window.requestAnimationFrame, 100) : jV(10) : e.type === "callback" ? e.queueNotification : jV(e.timeout), l = () => {
+}, jV = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? _pe(window.requestAnimationFrame, 100) : AV(10) : e.type === "callback" ? e.queueNotification : AV(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -47203,37 +47671,37 @@ var epe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[kV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[OV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, npe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new EV(e);
- return n && r.push(MV(typeof n == "object" ? n : void 0)), r;
+}, vpe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new TV(e);
+ return n && r.push(jV(typeof n == "object" ? n : void 0)), r;
};
-function rpe(e) {
- let t = epe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function MV(e) {
+ let t = gpe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (dB(n)) c = pB(n);
- else throw Error(TH(1));
+ else if (uB(n)) c = fB(n);
+ else throw Error(kH(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = mB;
- i && (u = Qfe({
+ let u = pB;
+ i && (u = mpe({
trace: !1,
...typeof i == "object" && i
}));
- let d = npe(Ffe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return fB(c, o, p);
+ let d = vpe(Zfe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return dB(c, o, p);
}
function NV(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(TH(28));
- if (r in t) throw Error(TH(29));
+ if (!r) throw Error(kH(28));
+ if (r in t) throw Error(kH(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -47258,25 +47726,25 @@ function NV(e) {
r
];
}
-function ipe(e) {
+function PV(e) {
return typeof e == "function";
}
-function ape(e, t) {
+function FV(e, t) {
let [n, r, i] = NV(t), a;
- if (ipe(e)) a = () => DV(e());
+ if (PV(e)) a = () => EV(e());
else {
- let t = DV(e);
+ let t = EV(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 (OB(e)) {
+ if (DB(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (kB(e)) return CV(e, (e) => n(e, t));
+ if (OB(e)) return SV(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -47291,20 +47759,20 @@ function ape(e, t) {
}
return o.getInitialState = a, o;
}
-var ope = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", spe = (e = 21) => {
+var IV = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", LV = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += ope[Math.random() * 64 | 0];
+ for (; n--;) t += IV[Math.random() * 64 | 0];
return t;
-}, PV = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function FV(e, t) {
+}, RV = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function zV(e, t) {
return `${e}/${t}`;
}
-function IV({ creators: e } = {}) {
- let t = e?.asyncThunk?.[PV];
+function BV({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[RV];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(TH(11));
- let i = (typeof e.reducers == "function" ? e.reducers(zV()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(kH(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(UV()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -47312,8 +47780,8 @@ function IV({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(TH(12));
- if (n in o.sliceCaseReducersByType) throw Error(TH(13));
+ if (!n) throw Error(kH(12));
+ if (n in o.sliceCaseReducersByType) throw Error(kH(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -47332,17 +47800,17 @@ function IV({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: FV(n, r),
+ type: zV(n, r),
createNotation: typeof e.reducers == "function"
};
- VV(a) ? UV(o, a, s, t) : BV(o, a, s);
+ GV(a) ? qV(o, a, s, t) : WV(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NV(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return ape(e.initialState, (e) => {
+ return FV(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);
@@ -47359,12 +47827,12 @@ function IV({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = OV(d, r, m)), i;
+ return i === void 0 && n && (i = DV(d, r, m)), i;
}
function i(t = l) {
- return OV(OV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return DV(DV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = LV(a, t, () => OV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = VV(a, t, () => DV(d, t, m), n);
return r;
});
}
@@ -47398,15 +47866,15 @@ function IV({ creators: e } = {}) {
return g;
};
}
-function LV(e, t, n, r) {
+function VV(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 RV = /* @__PURE__ */ IV();
-function zV() {
+var HV = /* @__PURE__ */ BV();
+function UV() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -47430,57 +47898,57 @@ function zV() {
asyncThunk: e
};
}
-function BV({ type: e, reducerName: t, createNotation: n }, r, i) {
+function WV({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !HV(r)) throw Error(TH(17));
+ if (n && !KV(r)) throw Error(kH(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? TV(e, o) : TV(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? wV(e, o) : wV(e));
}
-function VV(e) {
+function GV(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function HV(e) {
+function KV(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function UV({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(TH(18));
+function qV({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(kH(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 || WV,
- pending: s || WV,
- rejected: c || WV,
- settled: l || WV
+ fulfilled: o || JV,
+ pending: s || JV,
+ rejected: c || JV,
+ settled: l || JV
});
}
-function WV() {}
-var GV = "task", KV = "listener", qV = "completed", JV = "cancelled", YV = `task-${JV}`, XV = `task-${qV}`, ZV = `${KV}-${JV}`, QV = `${KV}-${qV}`, $V = class {
+function JV() {}
+var YV = "task", XV = "listener", ZV = "completed", QV = "cancelled", $V = `task-${QV}`, eH = `task-${ZV}`, tH = `${XV}-${QV}`, nH = `${XV}-${ZV}`, rH = class {
constructor(e) {
- this.code = e, this.message = `${GV} ${JV} (reason: ${e})`;
+ this.code = e, this.message = `${YV} ${QV} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, eH = (e, t) => {
- if (typeof e != "function") throw TypeError(TH(32));
-}, tH = () => {}, nH = (e, t = tH) => (e.catch(t), e), rH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), iH = (e) => {
- if (e.aborted) throw new $V(e.reason);
+}, iH = (e, t) => {
+ if (typeof e != "function") throw TypeError(kH(32));
+}, aH = () => {}, oH = (e, t = aH) => (e.catch(t), e), sH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), cH = (e) => {
+ if (e.aborted) throw new rH(e.reason);
};
-function aH(e, t) {
- let n = tH;
+function lH(e, t) {
+ let n = aH;
return new Promise((r, i) => {
- let a = () => i(new $V(e.reason));
+ let a = () => i(new rH(e.reason));
if (e.aborted) {
a();
return;
}
- n = rH(e, a), t.finally(() => n()).then(r, i);
+ n = sH(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = tH;
+ n = aH;
});
}
-var oH = async (e, t) => {
+var uH = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -47488,40 +47956,40 @@ var oH = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof $V ? "cancelled" : "rejected",
+ status: e instanceof rH ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, sH = (e) => (t) => nH(aH(e, t).then((t) => (iH(e), t))), cH = (e) => {
- let t = sH(e);
+}, dH = (e) => (t) => oH(lH(e, t).then((t) => (cH(e), t))), fH = (e) => {
+ let t = dH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: lH } = Object, uH = {}, dH = "listenerMiddleware", fH = (e, t) => {
- let n = (t) => rH(e, () => t.abort(e.reason));
+}, { assign: pH } = Object, mH = {}, hH = "listenerMiddleware", gH = (e, t) => {
+ let n = (t) => sH(e, () => t.abort(e.reason));
return (r, i) => {
- eH(r, "taskExecutor");
+ iH(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = oH(async () => {
- iH(e), iH(a.signal);
+ let o = uH(async () => {
+ cH(e), cH(a.signal);
let t = await r({
- pause: sH(a.signal),
- delay: cH(a.signal),
+ pause: dH(a.signal),
+ delay: fH(a.signal),
signal: a.signal
});
- return iH(a.signal), t;
- }, () => a.abort(XV));
- return i?.autoJoin && t.push(o.catch(tH)), {
- result: sH(e)(o),
+ return cH(a.signal), t;
+ }, () => a.abort(eH));
+ return i?.autoJoin && t.push(o.catch(aH)), {
+ result: dH(e)(o),
cancel() {
- a.abort(YV);
+ a.abort($V);
}
};
};
-}, pH = (e, t) => {
+}, _H = (e, t) => {
let n = async (n, r) => {
- iH(t);
+ cH(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -47539,47 +48007,47 @@ var oH = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await aH(t, Promise.race(a));
- return iH(t), e;
+ let e = await lH(t, Promise.race(a));
+ return cH(t), e;
} finally {
i();
}
};
- return ((e, t) => nH(n(e, t)));
-}, mH = (e) => {
+ return ((e, t) => oH(n(e, t)));
+}, vH = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = TV(t).match;
+ if (t) i = wV(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(TH(21));
- return eH(a, "options.listener"), {
+ else if (!i) throw Error(kH(21));
+ return iH(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, hH = /* @__PURE__ */ lH((e) => {
- let { type: t, predicate: n, effect: r } = mH(e);
+}, yH = /* @__PURE__ */ pH((e) => {
+ let { type: t, predicate: n, effect: r } = vH(e);
return {
- id: spe(),
+ id: LV(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(TH(22));
+ throw Error(kH(22));
}
};
-}, { withTypes: () => hH }), gH = (e, t) => {
- let { type: n, effect: r, predicate: i } = mH(t);
+}, { withTypes: () => yH }), bH = (e, t) => {
+ let { type: n, effect: r, predicate: i } = vH(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, _H = (e) => {
+}, xH = (e) => {
e.pending.forEach((e) => {
- e.abort(ZV);
+ e.abort(tH);
});
-}, vH = (e, t) => () => {
- for (let e of t.keys()) _H(e);
+}, SH = (e, t) => () => {
+ for (let e of t.keys()) xH(e);
e.clear();
-}, yH = (e, t, n) => {
+}, CH = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -47587,74 +48055,74 @@ var oH = async (e, t) => {
throw e;
}, 0);
}
-}, bH = /* @__PURE__ */ lH(/* @__PURE__ */ TV(`${dH}/add`), { withTypes: () => bH }), xH = /* @__PURE__ */ TV(`${dH}/removeAll`), SH = /* @__PURE__ */ lH(/* @__PURE__ */ TV(`${dH}/remove`), { withTypes: () => SH }), CH = (...e) => {
- console.error(`${dH}/error`, ...e);
-}, wH = (e = {}) => {
+}, wH = /* @__PURE__ */ pH(/* @__PURE__ */ wV(`${hH}/add`), { withTypes: () => wH }), TH = /* @__PURE__ */ wV(`${hH}/removeAll`), EH = /* @__PURE__ */ pH(/* @__PURE__ */ wV(`${hH}/remove`), { withTypes: () => EH }), DH = (...e) => {
+ console.error(`${hH}/error`, ...e);
+}, OH = (e = {}) => {
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 = CH } = e;
- eH(o, "onError");
+ }, { extra: a, onError: o = DH } = e;
+ iH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && _H(e);
+ e.unsubscribe(), t?.cancelActive && xH(e);
}), c = ((e) => {
- let n = gH(t, e) ?? hH(e);
+ let n = bH(t, e) ?? yH(e);
return s(n);
});
- lH(c, { withTypes: () => c });
+ pH(c, { withTypes: () => c });
let l = (e) => {
- let n = gH(t, e);
- return n && (n.unsubscribe(), e.cancelActive && _H(n)), !!n;
+ let n = bH(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && xH(n)), !!n;
};
- lH(l, { withTypes: () => l });
+ pH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = pH(c, u.signal), f = [];
+ let u = new AbortController(), d = _H(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, lH({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, pH({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: cH(u.signal),
- pause: sH(u.signal),
+ delay: fH(u.signal),
+ pause: dH(u.signal),
extra: a,
signal: u.signal,
- fork: fH(u.signal, f),
+ fork: gH(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(ZV), n.delete(e));
+ e !== u && (e.abort(tH), n.delete(e));
});
},
cancel: () => {
- u.abort(ZV), e.pending.delete(u);
+ u.abort(tH), e.pending.delete(u);
},
throwIfCancelled: () => {
- iH(u.signal);
+ cH(u.signal);
}
})));
} catch (e) {
- e instanceof $V || yH(o, e, { raisedBy: "effect" });
+ e instanceof rH || CH(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(QV), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(nH), i(e), e.pending.delete(u);
}
- }, d = vH(t, n);
+ }, d = SH(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!hB(r)) return n(r);
- if (bH.match(r)) return c(r.payload);
- if (xH.match(r)) {
+ if (!mB(r)) return n(r);
+ if (wH.match(r)) return c(r.payload);
+ if (TH.match(r)) {
d();
return;
}
- if (SH.match(r)) return l(r.payload);
+ if (EH.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === uH) throw Error(TH(23));
+ if (i === mH) throw Error(kH(23));
return i;
}, s;
try {
@@ -47665,13 +48133,13 @@ var oH = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, yH(o, e, { raisedBy: "predicate" });
+ s = !1, CH(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = uH;
+ i = mH;
}
return s;
},
@@ -47680,12 +48148,12 @@ var oH = async (e, t) => {
clearListeners: d
};
};
-function TH(e) {
+function kH(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 EH = RV({
+var AH = HV({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -47713,23 +48181,23 @@ var EH = RV({
e.scale = t.payload;
}
}
-}), { setMargin: DH, setLayout: OH, setChartSize: kH, setScale: AH } = EH.actions, jH = EH.reducer;
+}), { setMargin: jH, setLayout: MH, setChartSize: NH, setScale: PH } = AH.actions, FH = AH.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function MH(e, t, n) {
+function IH(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 NH(e) {
+function LH(e) {
return Number.isFinite(e);
}
-function PH(e) {
+function RH(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function FH(e, t) {
+function zH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47739,30 +48207,30 @@ function FH(e, t) {
}
return n;
}
-function IH(e) {
+function BH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? FH(Object(n), !0).forEach(function(t) {
- LH(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FH(Object(n)).forEach(function(t) {
+ t % 2 ? zH(Object(n), !0).forEach(function(t) {
+ VH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function LH(e, t, n) {
- return (t = RH(t)) in e ? Object.defineProperty(e, t, {
+function VH(e, t, n) {
+ return (t = HH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function RH(e) {
- var t = zH(e, "string");
+function HH(e) {
+ var t = UH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zH(e, t) {
+function UH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47772,63 +48240,63 @@ function zH(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function BH(e, t, n) {
- return lz(e) || lz(t) ? n : rz(t) ? ZR(e, t, n) : typeof t == "function" ? t(e) : n;
+function WH(e, t, n) {
+ return cz(e) || cz(t) ? n : nz(t) ? XR(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var VH = (e, t, n) => {
+var GH = (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 IH(IH({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return IH(IH({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return BH(BH({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return BH(BH({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, HH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", UH = (e, t, n, r) => {
+}, KH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qH = (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;
-}, WH = (e, t, n) => {
+}, JH = (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 ? ez(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? $R(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 NH(i) ? {
+ return LH(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(dz) : c && l ? l.map((e, t) => {
+ }).filter(uz) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(dz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(uz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(dz) : o.domain().map((e, t) => {
+ }).filter(uz) : o.domain().map((e, t) => {
var n = o.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(dz);
-}, GH = (e, t) => {
+ }).filter(uz);
+}, YH = (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;
-}, KH = {
+}, XH = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -47836,16 +48304,16 @@ var VH = (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 = tz(c) ? l : c;
+ var c = s[1], l = s[0], u = ez(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: que,
- none: UR,
- silhouette: Jue,
- wiggle: Yue,
+ expand: lde,
+ none: HR,
+ silhouette: ude,
+ wiggle: dde,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -47853,70 +48321,70 @@ var VH = (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 = tz(o[1]) ? o[0] : o[1];
+ var s = ez(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, qH = (e, t, n) => {
- var r = KH[n] ?? UR, i = Kue().keys(t).value((e, t) => Number(BH(e, t, 0))).order(WR).offset(r)(e);
+}, ZH = (e, t, n) => {
+ var r = XH[n] ?? HR, i = cde().keys(t).value((e, t) => Number(WH(e, t, 0))).order(UR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = BH(e[i], t[r], 0);
+ var a = WH(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 JH(e) {
+function QH(e) {
return e == null ? void 0 : String(e);
}
-function YH(e) {
+function $H(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !lz(i[t.dataKey])) {
- var s = cz(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !cz(i[t.dataKey])) {
+ var s = sz(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 = BH(i, lz(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = WH(i, cz(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var XH = (e) => {
+var eU = (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 = BH(a, t.dataKey, t.scale.domain()[o]);
- if (lz(s)) return null;
+ var s = WH(a, t.dataKey, t.scale.domain()[o]);
+ if (cz(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, ZH = (e) => {
+}, tU = (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];
-}, QH = (e) => {
+}, nU = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, $H = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], eU = (e, t, n) => {
- if (e != null) return $H(Object.keys(e).reduce((r, i) => {
+}, rU = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], iU = (e, t, n) => {
+ if (e != null) return rU(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = QH(MH(r, t, n));
- return !NH(i[0]) || !NH(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = nU(IH(r, t, n));
+ return !LH(i[0]) || !LH(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, tU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, nU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, rU = (e, t, n) => {
+}, aU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sU = (e, t, n) => {
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 = rB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = nB(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);
}
@@ -47924,26 +48392,26 @@ var XH = (e) => {
}
return n ? void 0 : 0;
};
-function iU(e) {
+function cU(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return IH(IH({}, t), {}, {
+ return BH(BH({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function aU(e, t) {
+function lU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var oU = (e, t) => {
+var uU = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, sU = (e, t) => t === "centric" ? e.angle : e.radius, cU = (e) => e.layout.width, lU = (e) => e.layout.height, uU = (e) => e.layout.scale, dU = (e) => e.layout.margin, fU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), pU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), mU = "data-recharts-item-index";
+}, dU = (e, t) => t === "centric" ? e.angle : e.radius, fU = (e) => e.layout.width, pU = (e) => e.layout.height, mU = (e) => e.layout.scale, hU = (e) => e.layout.margin, gU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _U = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vU = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function hU(e, t) {
+function yU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47953,30 +48421,30 @@ function hU(e, t) {
}
return n;
}
-function gU(e) {
+function bU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? hU(Object(n), !0).forEach(function(t) {
- _U(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hU(Object(n)).forEach(function(t) {
+ t % 2 ? yU(Object(n), !0).forEach(function(t) {
+ xU(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _U(e, t, n) {
- return (t = vU(t)) in e ? Object.defineProperty(e, t, {
+function xU(e, t, n) {
+ return (t = SU(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vU(e) {
- var t = yU(e, "string");
+function SU(e) {
+ var t = CU(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yU(e, t) {
+function CU(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47986,58 +48454,58 @@ function yU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bU = (e) => e.brush.height;
-function xU(e) {
- return pU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+var wU = (e) => e.brush.height;
+function TU(e) {
+ return _U(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function SU(e) {
- return pU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function CU(e) {
- return fU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
-}
-function wU(e) {
- return fU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
-}
-var TU = $([
- cU,
- lU,
- dU,
- bU,
- xU,
- SU,
- CU,
+function EU(e) {
+ return _U(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function DU(e) {
+ return gU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+function OU(e) {
+ return gU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+var kU = $([
+ fU,
+ pU,
+ hU,
wU,
- iB,
- jfe
+ TU,
+ EU,
+ DU,
+ OU,
+ rB,
+ qfe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = gU(gU({}, {
+ }, d = bU(bU({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = VH(d, c, l);
+ d.bottom += r, d = GH(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return gU(gU({ brushBottom: f }, d), {}, {
+ return bU(bU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), EU = $(TU, (e) => ({
+}), AU = $(kU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), DU = $(cU, lU, (e, t) => ({
+})), jU = $(fU, pU, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), OU = /*#__PURE__*/ (0, I.createContext)(null), kU = () => (0, I.useContext)(OU) != null, AU = (e) => e.brush, jU = $([
- AU,
- TU,
- dU
+})), MU = /*#__PURE__*/ (0, I.createContext)(null), NU = () => (0, I.useContext)(MU) != null, PU = (e) => e.brush, FU = $([
+ PU,
+ kU,
+ hU
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -48046,7 +48514,7 @@ var TU = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function MU(e, t, { signal: n, edges: r } = {}) {
+function IU(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 = () => {
@@ -48071,11 +48539,11 @@ function MU(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function NU(e, t = 0, n = {}) {
+function LU(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 = MU(function(...t) {
+ let s, c = null, l = IU(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);
@@ -48084,9 +48552,9 @@ function NU(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function PU(e, t = 0, n = {}) {
+function RU(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return NU(e, t, {
+ return LU(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -48094,7 +48562,7 @@ function PU(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var FU = function(e, t) {
+var zU = 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.");
@@ -48103,7 +48571,7 @@ var FU = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, IU = {
+}, BU = {
width: "100%",
height: "100%",
debounce: 0,
@@ -48112,45 +48580,45 @@ var FU = function(e, t) {
width: -1,
height: -1
}
-}, LU = (e, t, n) => {
- var { width: r = IU.width, height: i = IU.height, aspect: a, maxHeight: o } = n, s = nz(r) ? e : Number(r), c = nz(i) ? t : Number(i);
+}, VU = (e, t, n) => {
+ var { width: r = BU.width, height: i = BU.height, aspect: a, maxHeight: o } = n, s = tz(r) ? e : Number(r), c = tz(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, RU = {
+}, HU = {
width: 0,
height: 0,
overflow: "visible"
-}, zU = {
+}, UU = {
width: 0,
overflowX: "visible"
-}, BU = {
+}, WU = {
height: 0,
overflowY: "visible"
-}, VU = {}, HU = (e) => {
- var { width: t, height: n } = e, r = nz(t), i = nz(n);
- return r && i ? RU : r ? zU : i ? BU : VU;
+}, GU = {}, KU = (e) => {
+ var { width: t, height: n } = e, r = tz(t), i = tz(n);
+ return r && i ? HU : r ? UU : i ? WU : GU;
};
-function UU(e) {
+function qU(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = IU.width, a = IU.height) : i === void 0 ? i = r && r > 0 ? void 0 : IU.width : a === void 0 && (a = r && r > 0 ? void 0 : IU.height), {
+ return i === void 0 && a === void 0 ? (i = BU.width, a = BU.height) : i === void 0 ? i = r && r > 0 ? void 0 : BU.width : a === void 0 && (a = r && r > 0 ? void 0 : BU.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function WU() {
- return WU = Object.assign ? Object.assign.bind() : function(e) {
+function JU() {
+ return JU = 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;
- }, WU.apply(null, arguments);
+ }, JU.apply(null, arguments);
}
-function GU(e, t) {
+function YU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48160,30 +48628,30 @@ function GU(e, t) {
}
return n;
}
-function KU(e) {
+function XU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? GU(Object(n), !0).forEach(function(t) {
- qU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GU(Object(n)).forEach(function(t) {
+ t % 2 ? YU(Object(n), !0).forEach(function(t) {
+ ZU(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qU(e, t, n) {
- return (t = JU(t)) in e ? Object.defineProperty(e, t, {
+function ZU(e, t, n) {
+ return (t = QU(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JU(e) {
- var t = YU(e, "string");
+function QU(e) {
+ var t = $U(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YU(e, t) {
+function $U(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48193,19 +48661,19 @@ function YU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XU = /*#__PURE__*/ (0, I.createContext)(IU.initialDimension);
-function ZU(e) {
- return PH(e.width) && PH(e.height);
+var eW = /*#__PURE__*/ (0, I.createContext)(BU.initialDimension);
+function tW(e) {
+ return RH(e.width) && RH(e.height);
}
-function QU(e) {
+function nW(e) {
var { children: t, width: n, height: r } = e, i = (0, I.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return ZU(i) ? /*#__PURE__*/ I.createElement(XU.Provider, { value: i }, t) : null;
+ return tW(i) ? /*#__PURE__*/ I.createElement(eW.Provider, { value: i }, t) : null;
}
-var $U = () => (0, I.useContext)(XU), eW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = IU.initialDimension, width: i, height: a, minWidth: o = IU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = IU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
+var rW = () => (0, I.useContext)(eW), iW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = BU.initialDimension, width: i, height: a, minWidth: o = BU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
g.current = p, (0, I.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, I.useState)({
containerWidth: r.width,
@@ -48220,7 +48688,7 @@ var $U = () => (0, I.useContext)(XU), eW = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
}, []);
(0, I.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return fz;
+ if (h.current == null || typeof ResizeObserver > "u") return dz;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -48228,7 +48696,7 @@ var $U = () => (0, I.useContext)(XU), eW = /*#__PURE__*/ (0, I.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = PU(e, u, {
+ u > 0 && (e = RU(e, u, {
trailing: !0,
leading: !1
}));
@@ -48238,17 +48706,17 @@ var $U = () => (0, I.useContext)(XU), eW = /*#__PURE__*/ (0, I.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- FU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = LU(b, x, {
+ zU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = VU(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return FU(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 zU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
id: d ? `${d}` : void 0,
className: Um("recharts-responsive-container", f),
- style: KU(KU({}, m), {}, {
+ style: XU(XU({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -48256,30 +48724,30 @@ var $U = () => (0, I.useContext)(XU), eW = /*#__PURE__*/ (0, I.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ I.createElement("div", { style: HU({
+ }, /*#__PURE__*/ I.createElement("div", { style: KU({
width: i,
height: a
- }) }, /*#__PURE__*/ I.createElement(QU, {
+ }) }, /*#__PURE__*/ I.createElement(nW, {
width: S,
height: C
}, l)));
-}), tW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = $U();
- if (PH(n.width) && PH(n.height)) return e.children;
- var { width: r, height: i } = UU({
+}), aW = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = rW();
+ if (RH(n.width) && RH(n.height)) return e.children;
+ var { width: r, height: i } = qU({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = LU(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = VU(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(QU, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(nW, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ I.createElement(eW, WU({}, e, {
+ }, e.children) : /*#__PURE__*/ I.createElement(iW, JU({}, e, {
width: r,
height: i,
ref: t
@@ -48287,7 +48755,7 @@ var $U = () => (0, I.useContext)(XU), eW = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function nW(e) {
+function oW(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -48297,15 +48765,15 @@ function nW(e) {
height: e.height
};
}
-var rW = () => {
- var e = kU(), t = Q(EU), n = Q(jU), r = Q(AU)?.padding;
+var sW = () => {
+ var e = NU(), t = Q(AU), n = Q(FU), r = Q(PU)?.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
};
-}, iW = {
+}, cW = {
top: 0,
bottom: 0,
left: 0,
@@ -48313,16 +48781,16 @@ var rW = () => {
width: 0,
height: 0,
brushBottom: 0
-}, aW = () => Q(TU) ?? iW, oW = () => Q(cU), sW = () => Q(lU), cW = () => Q((e) => e.layout.margin), lW = (e) => e.layout.layoutType, uW = () => Q(lW), dW = () => {
- var e = uW();
+}, lW = () => Q(kU) ?? cW, uW = () => Q(fU), dW = () => Q(pU), fW = () => Q((e) => e.layout.margin), pW = (e) => e.layout.layoutType, mW = () => Q(pW), hW = () => {
+ var e = mW();
if (e === "horizontal" || e === "vertical") return e;
-}, fW = (e) => {
+}, gW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, pW = () => Q(fW), mW = () => uW() !== void 0, hW = (e) => {
- var t = Yz(), n = kU(), { width: r, height: i } = e, a = $U(), o = r, s = i;
+}, _W = () => Q(gW), vW = () => mW() !== void 0, yW = (e) => {
+ var t = Jz(), n = NU(), { width: r, height: i } = e, a = rW(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, I.useEffect)(() => {
- !n && PH(o) && PH(s) && t(kH({
+ !n && RH(o) && RH(s) && t(NH({
width: o,
height: s
}));
@@ -48332,64 +48800,64 @@ var rW = () => {
o,
s
]), null;
-}, gW = Symbol.for("immer-nothing"), _W = Symbol.for("immer-draftable"), vW = Symbol.for("immer-state");
-function yW(e, ...t) {
+}, bW = Symbol.for("immer-nothing"), xW = Symbol.for("immer-draftable"), SW = Symbol.for("immer-state");
+function CW(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var bW = Object.getPrototypeOf;
-function xW(e) {
- return !!e && !!e[vW];
+var wW = Object.getPrototypeOf;
+function TW(e) {
+ return !!e && !!e[SW];
}
-function SW(e) {
- return e ? TW(e) || Array.isArray(e) || !!e[_W] || !!e.constructor?.[_W] || jW(e) || MW(e) : !1;
+function EW(e) {
+ return e ? kW(e) || Array.isArray(e) || !!e[xW] || !!e.constructor?.[xW] || FW(e) || IW(e) : !1;
}
-var CW = Object.prototype.constructor.toString(), wW = /* @__PURE__ */ new WeakMap();
-function TW(e) {
+var DW = Object.prototype.constructor.toString(), OW = /* @__PURE__ */ new WeakMap();
+function kW(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 = wW.get(n);
- return r === void 0 && (r = Function.toString.call(n), wW.set(n, r)), r === CW;
+ let r = OW.get(n);
+ return r === void 0 && (r = Function.toString.call(n), OW.set(n, r)), r === DW;
}
-function EW(e, t, n = !0) {
- DW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function AW(e, t, n = !0) {
+ jW(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 DW(e) {
- let t = e[vW];
- return t ? t.type_ : Array.isArray(e) ? 1 : jW(e) ? 2 : MW(e) ? 3 : 0;
+function jW(e) {
+ let t = e[SW];
+ return t ? t.type_ : Array.isArray(e) ? 1 : FW(e) ? 2 : IW(e) ? 3 : 0;
}
-function OW(e, t) {
- return DW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function MW(e, t) {
+ return jW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function kW(e, t, n) {
- let r = DW(e);
+function NW(e, t, n) {
+ let r = jW(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function AW(e, t) {
+function PW(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function jW(e) {
+function FW(e) {
return e instanceof Map;
}
-function MW(e) {
+function IW(e) {
return e instanceof Set;
}
-function NW(e) {
+function LW(e) {
return e.copy_ || e.base_;
}
-function PW(e, t) {
- if (jW(e)) return new Map(e);
- if (MW(e)) return new Set(e);
+function RW(e, t) {
+ if (FW(e)) return new Map(e);
+ if (IW(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = TW(e);
+ let n = kW(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[vW];
+ delete t[SW];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -48400,40 +48868,40 @@ function PW(e, t) {
value: e[i]
});
}
- return Object.create(bW(e), t);
+ return Object.create(wW(e), t);
}
{
- let t = bW(e);
+ let t = wW(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function FW(e, t = !1) {
- return RW(e) || xW(e) || !SW(e) ? e : (DW(e) > 1 && Object.defineProperties(e, {
- set: LW,
- add: LW,
- clear: LW,
- delete: LW
- }), Object.freeze(e), t && Object.values(e).forEach((e) => FW(e, !0)), e);
+function zW(e, t = !1) {
+ return HW(e) || TW(e) || !EW(e) ? e : (jW(e) > 1 && Object.defineProperties(e, {
+ set: VW,
+ add: VW,
+ clear: VW,
+ delete: VW
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => zW(e, !0)), e);
}
-function IW() {
- yW(2);
+function BW() {
+ CW(2);
}
-var LW = { value: IW };
-function RW(e) {
+var VW = { value: BW };
+function HW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var zW = {};
-function BW(e) {
- let t = zW[e];
- return t || yW(0, e), t;
+var UW = {};
+function WW(e) {
+ let t = UW[e];
+ return t || CW(0, e), t;
}
-var VW;
-function HW() {
- return VW;
+var GW;
+function KW() {
+ return GW;
}
-function UW(e, t) {
+function qW(e, t) {
return {
drafts_: [],
parent_: e,
@@ -48442,62 +48910,62 @@ function UW(e, t) {
unfinalizedDrafts_: 0
};
}
-function WW(e, t) {
- t && (BW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function JW(e, t) {
+ t && (WW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function GW(e) {
- KW(e), e.drafts_.forEach(JW), e.drafts_ = null;
+function YW(e) {
+ XW(e), e.drafts_.forEach(QW), e.drafts_ = null;
}
-function KW(e) {
- e === VW && (VW = e.parent_);
+function XW(e) {
+ e === GW && (GW = e.parent_);
}
-function qW(e) {
- return VW = UW(VW, e);
+function ZW(e) {
+ return GW = qW(GW, e);
}
-function JW(e) {
- let t = e[vW];
+function QW(e) {
+ let t = e[SW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function YW(e, t) {
+function $W(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[vW].modified_ && (GW(t), yW(4)), SW(e) && (e = XW(t, e), t.parent_ || QW(t, e)), t.patches_ && BW("Patches").generateReplacementPatches_(n[vW].base_, e, t.patches_, t.inversePatches_)) : e = XW(t, n, []), GW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gW ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[SW].modified_ && (YW(t), CW(4)), EW(e) && (e = eG(t, e), t.parent_ || nG(t, e)), t.patches_ && WW("Patches").generateReplacementPatches_(n[SW].base_, e, t.patches_, t.inversePatches_)) : e = eG(t, n, []), YW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === bW ? void 0 : e;
}
-function XW(e, t, n) {
- if (RW(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[vW];
- if (!i) return EW(t, (r, a) => ZW(e, i, t, r, a, n), r), t;
+function eG(e, t, n) {
+ if (HW(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[SW];
+ if (!i) return AW(t, (r, a) => tG(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return QW(e, i.base_, !0), i.base_;
+ if (!i.modified_) return nG(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), EW(a, (r, a) => ZW(e, i, t, r, a, n, o), r), QW(e, t, !1), n && e.patches_ && BW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), AW(a, (r, a) => tG(e, i, t, r, a, n, o), r), nG(e, t, !1), n && e.patches_ && WW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function ZW(e, t, n, r, i, a, o) {
+function tG(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = RW(i);
+ let s = HW(i);
if (!(s && !o)) {
- if (xW(i)) {
- let o = XW(e, i, a && t && t.type_ !== 3 && !OW(t.assigned_, r) ? a.concat(r) : void 0);
- if (kW(n, r, o), xW(o)) e.canAutoFreeze_ = !1;
+ if (TW(i)) {
+ let o = eG(e, i, a && t && t.type_ !== 3 && !MW(t.assigned_, r) ? a.concat(r) : void 0);
+ if (NW(n, r, o), TW(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (SW(i) && !s) {
+ if (EW(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- XW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (jW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && QW(e, i);
+ eG(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (FW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && nG(e, i);
}
}
}
-function QW(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && FW(t, n);
+function nG(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && zW(t, n);
}
-function $W(e, t) {
+function rG(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : HW(),
+ scope_: t ? t.scope_ : KW(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -48507,41 +48975,41 @@ function $W(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = eG;
- n && (i = [r], a = tG);
+ }, i = r, a = iG;
+ n && (i = [r], a = aG);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var eG = {
+var iG = {
get(e, t) {
- if (t === vW) return e;
- let n = NW(e);
- if (!OW(n, t)) return rG(e, n, t);
+ if (t === SW) return e;
+ let n = LW(e);
+ if (!MW(n, t)) return sG(e, n, t);
let r = n[t];
- return e.finalized_ || !SW(r) ? r : r === nG(e.base_, t) ? (oG(e), e.copy_[t] = cG(r, e)) : r;
+ return e.finalized_ || !EW(r) ? r : r === oG(e.base_, t) ? (uG(e), e.copy_[t] = fG(r, e)) : r;
},
has(e, t) {
- return t in NW(e);
+ return t in LW(e);
},
ownKeys(e) {
- return Reflect.ownKeys(NW(e));
+ return Reflect.ownKeys(LW(e));
},
set(e, t, n) {
- let r = iG(NW(e), t);
+ let r = cG(LW(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = nG(NW(e), t), i = r?.[vW];
+ let r = oG(LW(e), t), i = r?.[SW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (AW(n, r) && (n !== void 0 || OW(e.base_, t))) return !0;
- oG(e), aG(e);
+ if (PW(n, r) && (n !== void 0 || MW(e.base_, t))) return !0;
+ uG(e), lG(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 nG(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, oG(e), aG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return oG(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, uG(e), lG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = NW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = LW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -48550,48 +49018,48 @@ var eG = {
};
},
defineProperty() {
- yW(11);
+ CW(11);
},
getPrototypeOf(e) {
- return bW(e.base_);
+ return wW(e.base_);
},
setPrototypeOf() {
- yW(12);
+ CW(12);
}
-}, tG = {};
-EW(eG, (e, t) => {
- tG[e] = function() {
+}, aG = {};
+AW(iG, (e, t) => {
+ aG[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), tG.deleteProperty = function(e, t) {
- return tG.set.call(this, e, t, void 0);
-}, tG.set = function(e, t, n) {
- return eG.set.call(this, e[0], t, n, e[0]);
+}), aG.deleteProperty = function(e, t) {
+ return aG.set.call(this, e, t, void 0);
+}, aG.set = function(e, t, n) {
+ return iG.set.call(this, e[0], t, n, e[0]);
};
-function nG(e, t) {
- let n = e[vW];
- return (n ? NW(n) : e)[t];
+function oG(e, t) {
+ let n = e[SW];
+ return (n ? LW(n) : e)[t];
}
-function rG(e, t, n) {
- let r = iG(t, n);
+function sG(e, t, n) {
+ let r = cG(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function iG(e, t) {
+function cG(e, t) {
if (!(t in e)) return;
- let n = bW(e);
+ let n = wW(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = bW(n);
+ n = wW(n);
}
}
-function aG(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && aG(e.parent_));
+function lG(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && lG(e.parent_));
}
-function oG(e) {
- e.copy_ ||= PW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function uG(e) {
+ e.copy_ ||= RW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var sG = class {
+var dG = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -48602,25 +49070,25 @@ var sG = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && yW(6), n !== void 0 && typeof n != "function" && yW(7);
+ typeof t != "function" && CW(6), n !== void 0 && typeof n != "function" && CW(7);
let r;
- if (SW(e)) {
- let i = qW(this), a = cG(e, void 0), o = !0;
+ if (EW(e)) {
+ let i = ZW(this), a = fG(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? GW(i) : KW(i);
+ o ? YW(i) : XW(i);
}
- return WW(i, n), YW(r, i);
+ return JW(i, n), $W(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === gW && (r = void 0), this.autoFreeze_ && FW(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === bW && (r = void 0), this.autoFreeze_ && zW(r, !0), n) {
let t = [], i = [];
- BW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ WW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- yW(1, e);
+ CW(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -48634,15 +49102,15 @@ var sG = 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) {
- SW(e) || yW(8), xW(e) && (e = lG(e));
- let t = qW(this), n = cG(e, void 0);
- return n[vW].isManual_ = !0, KW(t), n;
+ EW(e) || CW(8), TW(e) && (e = pG(e));
+ let t = ZW(this), n = fG(e, void 0);
+ return n[SW].isManual_ = !0, XW(t), n;
}
finishDraft(e, t) {
- let n = e && e[vW];
- (!n || !n.isManual_) && yW(9);
+ let n = e && e[SW];
+ (!n || !n.isManual_) && CW(9);
let { scope_: r } = n;
- return WW(r, t), YW(void 0, r);
+ return JW(r, t), $W(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -48666,35 +49134,35 @@ var sG = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = BW("Patches").applyPatches_;
- return xW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = WW("Patches").applyPatches_;
+ return TW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function cG(e, t) {
- let n = jW(e) ? BW("MapSet").proxyMap_(e, t) : MW(e) ? BW("MapSet").proxySet_(e, t) : $W(e, t);
- return (t ? t.scope_ : HW()).drafts_.push(n), n;
+function fG(e, t) {
+ let n = FW(e) ? WW("MapSet").proxyMap_(e, t) : IW(e) ? WW("MapSet").proxySet_(e, t) : rG(e, t);
+ return (t ? t.scope_ : KW()).drafts_.push(n), n;
}
-function lG(e) {
- return xW(e) || yW(10, e), uG(e);
+function pG(e) {
+ return TW(e) || CW(10, e), mG(e);
}
-function uG(e) {
- if (!SW(e) || RW(e)) return e;
- let t = e[vW], n, r = !0;
+function mG(e) {
+ if (!EW(e) || HW(e)) return e;
+ let t = e[SW], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = PW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = PW(e, !0);
- return EW(n, (e, t) => {
- kW(n, e, uG(t));
+ t.finalized_ = !0, n = RW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = RW(e, !0);
+ return AW(n, (e, t) => {
+ NW(n, e, mG(t));
}, r), t && (t.finalized_ = !1), n;
}
-new sG().produce;
-function dG(e) {
+new dG().produce;
+function hG(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var fG = RV({
+var gG = HV({
name: "legend",
initialState: {
settings: {
@@ -48718,43 +49186,43 @@ var fG = RV({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(dG(t.payload));
+ e.payload.push(hG(t.payload));
},
- prepare: AV()
+ prepare: kV()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).payload.indexOf(dG(n));
- i > -1 && (e.payload[i] = dG(r));
+ var { prev: n, next: r } = t.payload, i = bV(e).payload.indexOf(hG(n));
+ i > -1 && (e.payload[i] = hG(r));
},
- prepare: AV()
+ prepare: kV()
},
removeLegendPayload: {
reducer(e, t) {
- var n = xV(e).payload.indexOf(dG(t.payload));
+ var n = bV(e).payload.indexOf(hG(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: AV()
+ prepare: kV()
}
}
-}), { setLegendSize: pG, setLegendSettings: mG, addLegendPayload: hG, replaceLegendPayload: gG, removeLegendPayload: _G } = fG.actions, vG = fG.reducer, yG = /* @__PURE__ */ j(((e) => {
- var t = F();
+}), { setLegendSize: _G, setLegendSettings: vG, addLegendPayload: yG, replaceLegendPayload: bG, removeLegendPayload: xG } = gG.actions, SG = gG.reducer, CG = /* @__PURE__ */ j(((e) => {
+ var t = te();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ j(((e, t) => {
- t.exports = yG();
+ t.exports = CG();
})))();
-function bG(e) {
+function wG(e) {
e();
}
-function xG() {
+function TG() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- bG(() => {
+ wG(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -48776,12 +49244,12 @@ function xG() {
}
};
}
-var SG = {
+var EG = {
notify() {},
get: () => []
};
-function CG(e, t) {
- let n, r = SG, i = 0, a = !1;
+function DG(e, t) {
+ let n, r = EG, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -48799,10 +49267,10 @@ function CG(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = xG());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = TG());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = SG);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = EG);
}
function f() {
a || (a = !0, u());
@@ -48821,44 +49289,44 @@ function CG(e, t) {
};
return m;
}
-var wG = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, TG = typeof navigator < "u" && navigator.product === "ReactNative", EG = wG || TG ? I.useLayoutEffect : I.useEffect;
-function DG(e, t) {
+var OG = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kG = typeof navigator < "u" && navigator.product === "ReactNative", AG = OG || kG ? I.useLayoutEffect : I.useEffect;
+function jG(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function OG(e, t) {
- if (DG(e, t)) return !0;
+function MG(e, t) {
+ if (jG(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]) || !DG(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !jG(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var kG = /* @__PURE__ */ Symbol.for("react-redux-context"), AG = typeof globalThis < "u" ? globalThis : {};
-function jG() {
+var NG = /* @__PURE__ */ Symbol.for("react-redux-context"), PG = typeof globalThis < "u" ? globalThis : {};
+function FG() {
if (!I.createContext) return {};
- let e = AG[kG] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
+ let e = PG[NG] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
return t || (t = I.createContext(null), e.set(I.createContext, t)), t;
}
-var MG = /* @__PURE__ */ jG();
-function NG(e) {
+var IG = /* @__PURE__ */ FG();
+function LG(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = I.useMemo(() => {
- let e = CG(i);
+ let e = DG(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = I.useMemo(() => i.getState(), [i]);
- EG(() => {
+ AG(() => {
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 || MG;
+ let s = n || IG;
return /* @__PURE__ */ I.createElement(s.Provider, { value: a }, t);
}
-var PG = NG, FG = /* @__PURE__ */ new Set([
+var RG = LG, zG = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -48881,29 +49349,29 @@ var PG = NG, FG = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function IG(e, t) {
+function BG(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function LG(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (FG.has(n)) {
+function VG(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (zG.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!OG(e[n], t[n])) return !1;
- } else if (!IG(e[n], t[n])) return !1;
+ if (!MG(e[n], t[n])) return !1;
+ } else if (!BG(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var RG = ["contextPayload"];
-function zG() {
- return zG = Object.assign ? Object.assign.bind() : function(e) {
+var HG = ["contextPayload"];
+function UG() {
+ return UG = 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;
- }, zG.apply(null, arguments);
+ }, UG.apply(null, arguments);
}
-function BG(e, t) {
+function WG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48913,30 +49381,30 @@ function BG(e, t) {
}
return n;
}
-function VG(e) {
+function GG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? BG(Object(n), !0).forEach(function(t) {
- HG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BG(Object(n)).forEach(function(t) {
+ t % 2 ? WG(Object(n), !0).forEach(function(t) {
+ KG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HG(e, t, n) {
- return (t = UG(t)) in e ? Object.defineProperty(e, t, {
+function KG(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 UG(e) {
- var t = WG(e, "string");
+function qG(e) {
+ var t = JG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WG(e, t) {
+function JG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48946,16 +49414,16 @@ function WG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function GG(e, t) {
+function YG(e, t) {
if (e == null) return {};
- var n, r, i = KG(e, t);
+ var n, r, i = XG(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function KG(e, t) {
+function XG(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -48964,36 +49432,36 @@ function KG(e, t) {
}
return n;
}
-function qG(e) {
+function ZG(e) {
return e.value;
}
-function JG(e) {
- var { contextPayload: t } = e, n = GG(e, RG), r = qz(t, e.payloadUniqBy, qG), i = VG(VG({}, 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(Cde, i);
+function QG(e) {
+ var { contextPayload: t } = e, n = YG(e, HG), r = Kz(t, e.payloadUniqBy, ZG), i = GG(GG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement(zde, i);
}
-function YG(e, t, n, r, i, a) {
+function $G(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 }), VG(VG({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), GG(GG({}, l), u);
}
-function XG(e) {
- var t = Yz();
+function eK(e) {
+ var t = Jz();
return (0, I.useEffect)(() => {
- t(mG(e));
+ t(vG(e));
}, [t, e]), null;
}
-function ZG(e) {
- var t = Yz();
- return (0, I.useEffect)(() => (t(pG(e)), () => {
- t(pG({
+function tK(e) {
+ var t = Jz();
+ return (0, I.useEffect)(() => (t(_G(e)), () => {
+ t(_G({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function QG(e, t, n, r) {
+function nK(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var $G = {
+var rK = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -49001,28 +49469,28 @@ var $G = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function eK(e) {
- var t = Sz(e, $G), n = Nfe(), r = _ue(), i = cW(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = oB([n]), d = oW(), f = sW();
+function iK(e) {
+ var t = xz(e, rK), n = Yfe(), r = Nue(), i = fW(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = aB([n]), d = uW(), f = dW();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = QG(t.layout, o, a, p), h = c ? s : VG(VG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = nK(t.layout, o, a, p), h = c ? s : GG(GG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, YG(s, t, i, d, f, l)), s), g = c ?? r;
+ }, $G(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(XG, {
+ }, /*#__PURE__*/ I.createElement(eK, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ I.createElement(ZG, {
+ }), !c && /*#__PURE__*/ I.createElement(tK, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ I.createElement(JG, zG({}, t, m, {
+ }), /*#__PURE__*/ I.createElement(QG, UG({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -49030,20 +49498,20 @@ function eK(e) {
})));
return /*#__PURE__*/ (0, vh.createPortal)(_, g);
}
-var tK = /*#__PURE__*/ I.memo(eK, LG);
-tK.displayName = "Legend";
+var aK = /*#__PURE__*/ I.memo(iK, VG);
+aK.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function nK() {
- return nK = Object.assign ? Object.assign.bind() : function(e) {
+function oK() {
+ return oK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, nK.apply(null, arguments);
+ }, oK.apply(null, arguments);
}
-function rK(e, t) {
+function sK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49053,30 +49521,30 @@ function rK(e, t) {
}
return n;
}
-function iK(e) {
+function cK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rK(Object(n), !0).forEach(function(t) {
- aK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rK(Object(n)).forEach(function(t) {
+ t % 2 ? sK(Object(n), !0).forEach(function(t) {
+ lK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aK(e, t, n) {
- return (t = oK(t)) in e ? Object.defineProperty(e, t, {
+function lK(e, t, n) {
+ return (t = uK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oK(e) {
- var t = sK(e, "string");
+function uK(e) {
+ var t = dK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sK(e, t) {
+function dK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49086,10 +49554,10 @@ function sK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cK(e) {
- return Array.isArray(e) && rz(e[0]) && rz(e[1]) ? e.join(" ~ ") : e;
+function fK(e) {
+ return Array.isArray(e) && nz(e[0]) && nz(e[1]) ? e.join(" ~ ") : e;
}
-var lK = {
+var pK = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -49107,30 +49575,30 @@ var lK = {
labelStyle: {},
accessibilityLayer: !1
};
-function uK(e, t) {
- return t == null ? e : rB(e, t);
+function mK(e, t) {
+ return t == null ? e : nB(e, t);
}
-var dK = (e) => {
- var { separator: t = lK.separator, contentStyle: n, itemStyle: r, labelStyle: i = lK.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = lK.accessibilityLayer } = e, p = () => {
+var hK = (e) => {
+ var { separator: t = pK.separator, contentStyle: n, itemStyle: r, labelStyle: i = pK.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = pK.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = uK(a, s).map((e, n) => {
+ }, n = mK(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || cK, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || fK, { 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 = iK(iK({}, lK.itemStyle), {}, { color: e.color || lK.itemStyle.color }, r);
+ var f = cK(cK({}, pK.itemStyle), {}, { color: e.color || pK.itemStyle.color }, r);
return /*#__PURE__*/ I.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, rz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, rz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, nz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, nz(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -49138,30 +49606,30 @@ var dK = (e) => {
}, n);
}
return null;
- }, m = iK(iK({}, lK.contentStyle), n), h = iK({ margin: 0 }, i), g = !lz(u), _ = g ? u : "", v = Um("recharts-default-tooltip", c), y = Um("recharts-tooltip-label", l);
+ }, m = cK(cK({}, pK.contentStyle), n), h = cK({ margin: 0 }, i), g = !cz(u), _ = g ? u : "", v = Um("recharts-default-tooltip", c), y = Um("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ I.createElement("div", nK({
+ return /*#__PURE__*/ I.createElement("div", oK({
className: v,
style: m
}, b), /*#__PURE__*/ I.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ I.isValidElement(_) ? _ : `${_}`), p());
-}, fK = "recharts-tooltip-wrapper", pK = { visibility: "hidden" };
-function mK(e) {
+}, gK = "recharts-tooltip-wrapper", _K = { visibility: "hidden" };
+function vK(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Um(fK, {
- [`${fK}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${fK}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${fK}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${fK}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Um(gK, {
+ [`${gK}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${gK}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${gK}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${gK}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function hK(e) {
+function yK(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;
@@ -49169,13 +49637,13 @@ function hK(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 gK(e) {
+function bK(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function _K(e) {
+function xK(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 = hK({
+ return s.height > 0 && s.width > 0 && n ? (d = yK({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -49185,7 +49653,7 @@ function _K(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = hK({
+ }), f = yK({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -49195,27 +49663,27 @@ function _K(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = gK({
+ }), u = bK({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = pK, {
+ })) : u = _K, {
cssProperties: u,
- cssClasses: mK({
+ cssClasses: vK({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var vK = {
+var SK = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function yK() {
- var [e, t] = (0, I.useState)(() => vK.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function CK() {
+ var [e, t] = (0, I.useState)(() => SK.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 = () => {
@@ -49229,7 +49697,7 @@ function yK() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function bK(e, t) {
+function wK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49239,30 +49707,30 @@ function bK(e, t) {
}
return n;
}
-function xK(e) {
+function TK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bK(Object(n), !0).forEach(function(t) {
- SK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bK(Object(n)).forEach(function(t) {
+ t % 2 ? wK(Object(n), !0).forEach(function(t) {
+ EK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SK(e, t, n) {
- return (t = CK(t)) in e ? Object.defineProperty(e, t, {
+function EK(e, t, n) {
+ return (t = DK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CK(e) {
- var t = wK(e, "string");
+function DK(e) {
+ var t = OK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wK(e, t) {
+function OK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49272,11 +49740,11 @@ function wK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function TK(e) {
+function kK(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function EK(e) {
- var t = yK(), [n, r] = I.useState(() => ({
+function AK(e) {
+ var t = CK(), [n, r] = I.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -49296,8 +49764,8 @@ function EK(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(xK(xK({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = _K({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(TK(TK({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = xK({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -49310,7 +49778,7 @@ function EK(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = xK(xK({}, e.hasPortalFromProps ? {} : xK(xK({ transition: TK({
+ }), o = TK(TK({}, e.hasPortalFromProps ? {} : TK(TK({ transition: kK({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -49330,19 +49798,19 @@ function EK(e) {
ref: e.innerRef
}, e.children);
}
-var DK = /*#__PURE__*/ I.memo(EK), OK = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var jK = /*#__PURE__*/ I.memo(AK), MK = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function kK() {
- return kK = Object.assign ? Object.assign.bind() : function(e) {
+function NK() {
+ return NK = 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;
- }, kK.apply(null, arguments);
+ }, NK.apply(null, arguments);
}
-function AK(e, t) {
+function PK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49352,30 +49820,30 @@ function AK(e, t) {
}
return n;
}
-function jK(e) {
+function FK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AK(Object(n), !0).forEach(function(t) {
- MK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AK(Object(n)).forEach(function(t) {
+ t % 2 ? PK(Object(n), !0).forEach(function(t) {
+ IK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MK(e, t, n) {
- return (t = NK(t)) in e ? Object.defineProperty(e, t, {
+function IK(e, t, n) {
+ return (t = LK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NK(e) {
- var t = PK(e, "string");
+function LK(e) {
+ var t = RK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PK(e, t) {
+function RK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49385,40 +49853,40 @@ function PK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var FK = {
- curveBasisClosed: Fue,
- curveBasisOpen: Iue,
- curveBasis: Pue,
- curveBumpX: bue,
- curveBumpY: xue,
- curveLinearClosed: Lue,
- curveLinear: mR,
- curveMonotoneX: Rue,
- curveMonotoneY: zue,
- curveNatural: Bue,
- curveStep: Vue,
- curveStepAfter: Uue,
- curveStepBefore: Hue
-}, IK = (e) => NH(e.x) && NH(e.y), LK = (e) => e.base != null && IK(e.base) && IK(e), RK = (e) => e.x, zK = (e) => e.y, BK = (e, t) => {
+var zK = {
+ curveBasisClosed: Zue,
+ curveBasisOpen: Que,
+ curveBasis: Xue,
+ curveBumpX: Iue,
+ curveBumpY: Lue,
+ curveLinearClosed: $ue,
+ curveLinear: pR,
+ curveMonotoneX: ede,
+ curveMonotoneY: tde,
+ curveNatural: nde,
+ curveStep: rde,
+ curveStepAfter: ade,
+ curveStepBefore: ide
+}, BK = (e) => LH(e.x) && LH(e.y), VK = (e) => e.base != null && BK(e.base) && BK(e), HK = (e) => e.x, UK = (e) => e.y, WK = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${uz(e)}`;
+ var n = `curve${lz(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = FK[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = zK[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return FK[n] || mR;
-}, VK = {
+ return zK[n] || pR;
+}, GK = {
connectNulls: !1,
type: "linear"
-}, HK = (e) => {
- var { type: t = VK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = VK.connectNulls } = e, o = BK(t, i), s = a ? n.filter(IK) : n;
+}, KK = (e) => {
+ var { type: t = GK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = GK.connectNulls } = e, o = WK(t, i), s = a ? n.filter(BK) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => jK(jK({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? vR().y(zK).x1(RK).x0((e) => e.base.x) : vR().x(RK).y1(zK).y0((e) => e.base.y), c.defined(LK).curve(o)(a ? l.filter(LK) : l);
+ var c, l = n.map((e, t) => FK(FK({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? _R().y(UK).x1(HK).x0((e) => e.base.x) : _R().x(HK).y1(UK).y0((e) => e.base.y), c.defined(VK).curve(o)(a ? l.filter(VK) : l);
}
- return (i === "vertical" && Z(r) ? vR().y(zK).x1(RK).x0(r) : Z(r) ? vR().x(RK).y1(zK).y0(r) : _R().x(RK).y(zK)).defined(IK).curve(o)(s);
-}, UK = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = uW();
+ return (i === "vertical" && Z(r) ? _R().y(UK).x1(HK).x0(r) : Z(r) ? _R().x(HK).y1(UK).y0(r) : gR().x(HK).y(UK)).defined(BK).curve(o)(s);
+}, qK = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = mW();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -49426,13 +49894,13 @@ var FK = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? HK(o) : r;
- return /*#__PURE__*/ I.createElement("path", kK({}, KL(e), yz(e), {
+ }, s = n && n.length ? KK(o) : r;
+ return /*#__PURE__*/ I.createElement("path", NK({}, GL(e), vz(e), {
className: Um("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, WK = [
+}, JK = [
"x",
"y",
"top",
@@ -49441,16 +49909,16 @@ var FK = {
"height",
"className"
];
-function GK() {
- return GK = Object.assign ? Object.assign.bind() : function(e) {
+function YK() {
+ return YK = 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;
- }, GK.apply(null, arguments);
+ }, YK.apply(null, arguments);
}
-function KK(e, t) {
+function XK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49460,30 +49928,30 @@ function KK(e, t) {
}
return n;
}
-function qK(e) {
+function ZK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KK(Object(n), !0).forEach(function(t) {
- JK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KK(Object(n)).forEach(function(t) {
+ t % 2 ? XK(Object(n), !0).forEach(function(t) {
+ QK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JK(e, t, n) {
- return (t = YK(t)) in e ? Object.defineProperty(e, t, {
+function QK(e, t, n) {
+ return (t = $K(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YK(e) {
- var t = XK(e, "string");
+function $K(e) {
+ var t = eq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XK(e, t) {
+function eq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49493,16 +49961,16 @@ function XK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ZK(e, t) {
+function tq(e, t) {
if (e == null) return {};
- var n, r, i = QK(e, t);
+ var n, r, i = nq(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 QK(e, t) {
+function nq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49511,8 +49979,8 @@ function QK(e, t) {
}
return n;
}
-var $K = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, eq = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = ZK(e, WK), l = qK({
+var rq = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, iq = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = tq(e, JK), l = ZK({
x: t,
y: n,
top: r,
@@ -49520,14 +49988,14 @@ var $K = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, eq = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", GK({}, JL(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", YK({}, qL(l), {
className: Um("recharts-cross", s),
- d: $K(t, n, a, o, r, i)
+ d: rq(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function tq(e, t, n, r) {
+function aq(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -49540,7 +50008,7 @@ function tq(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function nq(e, t) {
+function oq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49550,30 +50018,30 @@ function nq(e, t) {
}
return n;
}
-function rq(e) {
+function sq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nq(Object(n), !0).forEach(function(t) {
- iq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nq(Object(n)).forEach(function(t) {
+ t % 2 ? oq(Object(n), !0).forEach(function(t) {
+ cq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iq(e, t, n) {
- return (t = aq(t)) in e ? Object.defineProperty(e, t, {
+function cq(e, t, n) {
+ return (t = lq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aq(e) {
- var t = oq(e, "string");
+function lq(e) {
+ var t = uq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oq(e, t) {
+function uq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49583,10 +50051,10 @@ function oq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var sq = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), cq = (e, t, n) => e.map((e) => `${sq(e)} ${t}ms ${n}`).join(","), lq = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), uq = (e, t) => Object.keys(t).reduce((n, r) => rq(rq({}, n), {}, { [r]: e(r, t[r]) }), {});
+var dq = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), fq = (e, t, n) => e.map((e) => `${dq(e)} ${t}ms ${n}`).join(","), pq = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), mq = (e, t) => Object.keys(t).reduce((n, r) => sq(sq({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function dq(e, t) {
+function hq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49596,30 +50064,30 @@ function dq(e, t) {
}
return n;
}
-function fq(e) {
+function gq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dq(Object(n), !0).forEach(function(t) {
- pq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dq(Object(n)).forEach(function(t) {
+ t % 2 ? hq(Object(n), !0).forEach(function(t) {
+ _q(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pq(e, t, n) {
- return (t = mq(t)) in e ? Object.defineProperty(e, t, {
+function _q(e, t, n) {
+ return (t = vq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mq(e) {
- var t = hq(e, "string");
+function vq(e) {
+ var t = yq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hq(e, t) {
+function yq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49629,51 +50097,51 @@ function hq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gq = (e, t, n) => e + (t - e) * n, _q = (e) => {
+var bq = (e, t, n) => e + (t - e) * n, xq = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, vq = (e, t, n) => {
- var r = uq((t, n) => {
- if (_q(n)) {
+}, Sq = (e, t, n) => {
+ var r = mq((t, n) => {
+ if (xq(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return fq(fq({}, n), {}, {
+ return gq(gq({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? uq((e, t) => _q(t) && r[e] != null ? fq(fq({}, t), {}, {
- velocity: gq(t.velocity, r[e].velocity, n),
- from: gq(t.from, r[e].from, n)
- }) : t, t) : vq(e, r, n - 1);
+ return n < 1 ? mq((e, t) => xq(t) && r[e] != null ? gq(gq({}, t), {}, {
+ velocity: bq(t.velocity, r[e].velocity, n),
+ from: bq(t.from, r[e].from, n)
+ }) : t, t) : Sq(e, r, n - 1);
};
-function yq(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => fq(fq({}, n), {}, { [r]: {
+function Cq(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => gq(gq({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => uq((e, t) => t.from, s), l = () => !Object.values(s).filter(_q).length, u = null, d = (r) => {
+ } }), {}), c = () => mq((e, t) => t.from, s), l = () => !Object.values(s).filter(xq).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = vq(n, s, f), i(fq(fq(fq({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = Sq(n, s, f), i(gq(gq(gq({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function bq(e, t, n, r, i, a, o) {
+function wq(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 : fq(fq({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : gq(gq({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = uq((e, t) => gq(...t, n(d)), c);
- if (a(fq(fq(fq({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = mq((e, t) => bq(...t, n(d)), c);
+ if (a(gq(gq(gq({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = uq((e, t) => gq(...t, n(1)), c);
- a(fq(fq(fq({}, e), t), p));
+ var p = mq((e, t) => bq(...t, n(1)), c);
+ a(gq(gq(gq({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -49681,15 +50149,15 @@ function bq(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var xq = (e, t, n, r, i, a) => {
- var o = lq(e, t);
- return n == null ? () => (i(fq(fq({}, e), t)), () => {}) : n.isStepper === !0 ? yq(e, t, n, o, i, a) : bq(e, t, n, r, o, i, a);
-}, Sq = (e, t) => [
+var Tq = (e, t, n, r, i, a) => {
+ var o = pq(e, t);
+ return n == null ? () => (i(gq(gq({}, e), t)), () => {}) : n.isStepper === !0 ? Cq(e, t, n, o, i, a) : wq(e, t, n, r, o, i, a);
+}, Eq = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], Cq = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), wq = (e, t) => (n) => Cq(Sq(e, t), n), Tq = (e, t) => (n) => Cq([...Sq(e, t).map((e, t) => e * t).slice(1), 0], n), Eq = (e) => {
+], Dq = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), Oq = (e, t) => (n) => Dq(Eq(e, t), n), kq = (e, t) => (n) => Dq([...Eq(e, t).map((e, t) => e * t).slice(1), 0], n), Aq = (e) => {
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(",");
@@ -49701,7 +50169,7 @@ var xq = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, Dq = function() {
+}, jq = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -49735,7 +50203,7 @@ var xq = (e, t, n, r, i, a) => {
1
];
default:
- var t = Eq(e[0]);
+ var t = Aq(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -49744,8 +50212,8 @@ var xq = (e, t, n, r, i, a) => {
1,
1
];
-}, Oq = (e, t, n, r) => {
- var i = wq(e, n), a = wq(t, r), o = Tq(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, Mq = (e, t, n, r) => {
+ var i = Oq(e, n), a = Oq(t, r), o = kq(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
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);
@@ -49754,29 +50222,29 @@ var xq = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, kq = function() {
- return Oq(...Dq(...arguments));
-}, Aq = function() {
+}, Nq = function() {
+ return Mq(...jq(...arguments));
+}, Pq = 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;
-}, jq = (e) => {
+}, Fq = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return kq(e);
- case "spring": return Aq();
- default: if (e.split("(")[0] === "cubic-bezier") return kq(e);
+ case "linear": return Nq(e);
+ case "spring": return Pq();
+ default: if (e.split("(")[0] === "cubic-bezier") return Nq(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function Mq(e) {
+function Iq(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -49807,7 +50275,7 @@ function Mq(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var Nq = class {
+var Lq = 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));
@@ -49819,14 +50287,14 @@ var Nq = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function Pq() {
- return Mq(new Nq());
+function Rq() {
+ return Iq(new Lq());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var Fq = /*#__PURE__*/ (0, I.createContext)(Pq);
-function Iq(e, t) {
- var n = (0, I.useContext)(Fq);
+var zq = /*#__PURE__*/ (0, I.createContext)(Rq);
+function Bq(e, t) {
+ var n = (0, I.useContext)(zq);
return (0, I.useMemo)(() => t ?? n(e), [
e,
t,
@@ -49835,7 +50303,7 @@ function Iq(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var Lq = {
+var Vq = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -49843,14 +50311,14 @@ var Lq = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, Rq = { t: 0 }, zq = { t: 1 };
-function Bq(e) {
- var t = Sz(e, Lq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = yK(), d = n === "auto" ? !vK.isSsr && !u : n, f = Iq(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? Rq : zq), h = (0, I.useRef)(null);
+}, Hq = { t: 0 }, Uq = { t: 1 };
+function Wq(e) {
+ var t = xz(e, Vq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = CK(), d = n === "auto" ? !SK.isSsr && !u : n, f = Bq(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? Hq : Uq), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
- d || m(zq);
+ d || m(Uq);
}, [d]), (0, I.useEffect)(() => {
- if (!d || !r) return fz;
- var e = xq(Rq, zq, jq(a), i, m, f.getTimeoutController());
+ if (!d || !r) return dz;
+ var e = Tq(Hq, Uq, Fq(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -49875,14 +50343,14 @@ function Bq(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function Vq(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(iz(t)), r = (0, I.useRef)(e);
- return r.current !== e && (n.current = iz(t), r.current = e), n.current;
+function Gq(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(rz(t)), r = (0, I.useRef)(e);
+ return r.current !== e && (n.current = rz(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var Hq = ["radius"], Uq = ["radius"], Wq, Gq, Kq, qq, Jq, Yq, Xq, Zq, Qq, $q;
-function eJ(e, t) {
+var Kq = ["radius"], qq = ["radius"], Jq, Yq, Xq, Zq, Qq, $q, eJ, tJ, nJ, rJ;
+function iJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49892,30 +50360,30 @@ function eJ(e, t) {
}
return n;
}
-function tJ(e) {
+function aJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eJ(Object(n), !0).forEach(function(t) {
- nJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eJ(Object(n)).forEach(function(t) {
+ t % 2 ? iJ(Object(n), !0).forEach(function(t) {
+ oJ(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nJ(e, t, n) {
- return (t = rJ(t)) in e ? Object.defineProperty(e, t, {
+function oJ(e, t, n) {
+ return (t = sJ(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rJ(e) {
- var t = iJ(e, "string");
+function sJ(e) {
+ var t = cJ(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iJ(e, t) {
+function cJ(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49925,25 +50393,25 @@ function iJ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function aJ() {
- return aJ = Object.assign ? Object.assign.bind() : function(e) {
+function lJ() {
+ return lJ = 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;
- }, aJ.apply(null, arguments);
+ }, lJ.apply(null, arguments);
}
-function oJ(e, t) {
+function uJ(e, t) {
if (e == null) return {};
- var n, r, i = sJ(e, t);
+ var n, r, i = dJ(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 sJ(e, t) {
+function dJ(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49952,11 +50420,11 @@ function sJ(e, t) {
}
return n;
}
-function cJ(e, t) {
+function fJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var lJ = (e, t, n, r, i) => {
- var a = QR(n), o = QR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var pJ = (e, t, n, r, i) => {
+ var a = ZR(n), o = ZR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -49967,44 +50435,44 @@ var lJ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = $R(Wq ||= cJ([
+ d = QR(Jq ||= fJ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += $R(Gq ||= cJ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += QR(Yq ||= fJ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += $R(Kq ||= cJ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += QR(Xq ||= fJ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += $R(qq ||= cJ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += QR(Zq ||= fJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += $R(Jq ||= cJ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += QR(Qq ||= fJ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += $R(Yq ||= cJ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += QR($q ||= fJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += $R(Xq ||= cJ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += QR(eJ ||= fJ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += $R(Zq ||= cJ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += QR(tJ ||= fJ([
"A ",
",",
",0,0,",
@@ -50014,8 +50482,8 @@ var lJ = (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 = $R(Qq ||= cJ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = $R($q ||= cJ([
+ d = QR(nJ ||= fJ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = QR(rJ ||= fJ([
"M ",
",",
" h ",
@@ -50024,7 +50492,7 @@ var lJ = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, uJ = {
+}, mJ = {
x: 0,
y: 0,
width: 0,
@@ -50035,15 +50503,15 @@ var lJ = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, dJ = (e) => {
- var t = Sz(e, uJ), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
+}, hJ = (e) => {
+ var t = xz(e, mJ), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
(0, I.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, I.useRef)(s), _ = (0, I.useRef)(c), v = (0, I.useRef)(a), y = (0, I.useRef)(o), b = Vq((0, I.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, I.useRef)(s), _ = (0, I.useRef)(c), v = (0, I.useRef)(a), y = (0, I.useRef)(o), b = Gq((0, I.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -50059,19 +50527,19 @@ var lJ = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Um("recharts-rectangle", u);
if (!h) {
- var S = JL(t), { radius: C } = S, w = oJ(S, Hq);
- return /*#__PURE__*/ I.createElement("path", aJ({}, w, {
- x: QR(a),
- y: QR(o),
- width: QR(s),
- height: QR(c),
+ var S = qL(t), { radius: C } = S, w = uJ(S, Kq);
+ return /*#__PURE__*/ I.createElement("path", lJ({}, w, {
+ x: ZR(a),
+ y: ZR(o),
+ width: ZR(s),
+ height: ZR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: lJ(a, o, s, c, l)
+ d: pJ(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = cq(["strokeDasharray"], f, typeof d == "string" ? d : uJ.animationEasing);
- return /*#__PURE__*/ I.createElement(Bq, {
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = fq(["strokeDasharray"], f, typeof d == "string" ? d : mJ.animationEasing);
+ return /*#__PURE__*/ I.createElement(Wq, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -50080,24 +50548,24 @@ var lJ = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = sz(T, s, e), i = sz(E, c, e), u = sz(D, a, e), d = sz(O, o, e);
+ var r = oz(T, s, e), i = oz(E, c, e), u = oz(D, a, e), d = oz(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 = JL(t), { radius: h } = p, b = oJ(p, Uq);
- return /*#__PURE__*/ I.createElement("path", aJ({}, b, {
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = qL(t), { radius: h } = p, b = uJ(p, qq);
+ return /*#__PURE__*/ I.createElement("path", lJ({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: lJ(u, d, r, i, l),
+ d: pJ(u, d, r, i, l),
ref: n,
- style: tJ(tJ({}, f), t.style)
+ style: aJ(aJ({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function fJ(e, t) {
+function gJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50107,30 +50575,30 @@ function fJ(e, t) {
}
return n;
}
-function pJ(e) {
+function _J(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fJ(Object(n), !0).forEach(function(t) {
- mJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fJ(Object(n)).forEach(function(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) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mJ(e, t, n) {
- return (t = hJ(t)) in e ? Object.defineProperty(e, t, {
+function vJ(e, t, n) {
+ return (t = yJ(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hJ(e) {
- var t = gJ(e, "string");
+function yJ(e) {
+ var t = bJ(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gJ(e, t) {
+function bJ(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50140,10 +50608,10 @@ function gJ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _J = Math.PI / 180, vJ = (e) => e * Math.PI / 180, yJ = (e) => e * 180 / Math.PI, bJ = (e, t, n, r) => ({
- x: e + Math.cos(-_J * r) * n,
- y: t + Math.sin(-_J * r) * n
-}), xJ = function(e, t) {
+var xJ = Math.PI / 180, SJ = (e) => e * Math.PI / 180, CJ = (e) => e * 180 / Math.PI, wJ = (e, t, n, r) => ({
+ x: e + Math.cos(-xJ * r) * n,
+ y: t + Math.sin(-xJ * r) * n
+}), TJ = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -50154,11 +50622,11 @@ var _J = Math.PI / 180, vJ = (e) => e * Math.PI / 180, yJ = (e) => e * 180 / Mat
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, SJ = (e, t) => {
+}, EJ = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, CJ = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = SJ({
+}, DJ = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = EJ({
x: n,
y: r
}, {
@@ -50172,25 +50640,25 @@ var _J = Math.PI / 180, vJ = (e) => e * Math.PI / 180, yJ = (e) => e * 180 / Mat
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: yJ(c),
+ angle: CJ(c),
angleInRadian: c
};
-}, wJ = (e) => {
+}, OJ = (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
};
-}, TJ = (e, t) => {
+}, kJ = (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;
-}, EJ = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = CJ({
+}, AJ = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = DJ({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = wJ(t), u = a, d;
+ var { startAngle: c, endAngle: l } = OJ(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -50200,17 +50668,17 @@ var _J = Math.PI / 180, vJ = (e) => e * Math.PI / 180, yJ = (e) => e * 180 / Mat
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? pJ(pJ({}, t), {}, {
+ return d ? _J(_J({}, t), {}, {
radius: i,
- angle: TJ(u, t)
+ angle: kJ(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function DJ(e) {
+function jJ(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [bJ(t, n, r, i), bJ(t, n, r, a)],
+ points: [wJ(t, n, r, i), wJ(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -50220,29 +50688,29 @@ function DJ(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var OJ, kJ, AJ, jJ, MJ, NJ, PJ;
-function FJ() {
- return FJ = Object.assign ? Object.assign.bind() : function(e) {
+var MJ, NJ, PJ, FJ, IJ, LJ, RJ;
+function zJ() {
+ return zJ = 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;
- }, FJ.apply(null, arguments);
+ }, zJ.apply(null, arguments);
}
-function IJ(e, t) {
+function BJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (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) / _J, d = c ? i : i + a * u, f = bJ(t, n, l, d), p = bJ(t, n, r, d), m = c ? i - a * u : i;
+var VJ = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 359.999), HJ = (e) => {
+ var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / xJ, d = c ? i : i + a * u, f = wJ(t, n, l, d), p = wJ(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: bJ(t, n, l * Math.cos(u * _J), m),
+ lineTangency: wJ(t, n, l * Math.cos(u * xJ), m),
theta: u
};
-}, zJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = LJ(a, o), c = a + s, l = bJ(t, n, i, a), u = bJ(t, n, i, c), d = $R(OJ ||= IJ([
+}, UJ = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = VJ(a, o), c = a + s, l = wJ(t, n, i, a), u = wJ(t, n, i, c), d = QR(MJ ||= BJ([
"M ",
",",
"\n A ",
@@ -50254,8 +50722,8 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = bJ(t, n, r, a), p = bJ(t, n, r, c);
- d += $R(kJ ||= IJ([
+ var f = wJ(t, n, r, a), p = wJ(t, n, r, c);
+ d += QR(NJ ||= BJ([
"L ",
",",
"\n A ",
@@ -50266,14 +50734,14 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += $R(AJ ||= IJ([
+ } else d += QR(PJ ||= BJ([
"L ",
",",
" Z"
]), t, n);
return d;
-}, BJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = ez(l - c), { circleTangency: d, lineTangency: f, theta: p } = RJ({
+}, WJ = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = $R(l - c), { circleTangency: d, lineTangency: f, theta: p } = HJ({
cx: t,
cy: n,
radius: i,
@@ -50281,7 +50749,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = RJ({
+ }), { circleTangency: m, lineTangency: h, theta: g } = HJ({
cx: t,
cy: n,
radius: i,
@@ -50290,7 +50758,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? $R(jJ ||= IJ([
+ if (_ < 0) return o ? QR(FJ ||= BJ([
"M ",
",",
"\n a",
@@ -50300,7 +50768,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : zJ({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : UJ({
cx: t,
cy: n,
innerRadius: r,
@@ -50308,7 +50776,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
startAngle: c,
endAngle: l
});
- var v = $R(MJ ||= IJ([
+ var v = QR(IJ ||= BJ([
"M ",
",",
"\n A",
@@ -50330,7 +50798,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = RJ({
+ var { circleTangency: y, lineTangency: b, theta: x } = HJ({
cx: t,
cy: n,
radius: r,
@@ -50339,7 +50807,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = RJ({
+ }), { circleTangency: S, lineTangency: C, theta: w } = HJ({
cx: t,
cy: n,
radius: r,
@@ -50350,7 +50818,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (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 += $R(NJ ||= IJ([
+ v += QR(LJ ||= BJ([
"L",
",",
"\n A",
@@ -50371,13 +50839,13 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (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 += $R(PJ ||= IJ([
+ } else v += QR(RJ ||= BJ([
"L",
",",
"Z"
]), t, n);
return v;
-}, VJ = {
+}, GJ = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -50387,10 +50855,10 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, HJ = (e) => {
- var t = Sz(e, VJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, KJ = (e) => {
+ var t = xz(e, GJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Um("recharts-sector", d), p = a - i, m = az(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? BJ({
+ var f = Um("recharts-sector", d), p = a - i, m = iz(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? WJ({
cx: n,
cy: r,
innerRadius: i,
@@ -50400,7 +50868,7 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : zJ({
+ }) : UJ({
cx: n,
cy: r,
innerRadius: i,
@@ -50408,14 +50876,14 @@ var LJ = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 359.999), RJ = (e) => {
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ I.createElement("path", FJ({}, JL(t), {
+ return /*#__PURE__*/ I.createElement("path", zJ({}, qL(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function UJ(e, t, n) {
+function qJ(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -50430,9 +50898,9 @@ function UJ(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (vz(t)) {
+ if (_z(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = bJ(r, i, a, s), l = bJ(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = wJ(r, i, a, s), l = wJ(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -50441,30 +50909,30 @@ function UJ(e, t, n) {
y: l.y
}];
}
- return DJ(t);
+ return jJ(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function WJ(e) {
- return JR(e) ? NaN : Number(e);
+function JJ(e) {
+ return qR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function GJ(e) {
- return e ? (e = WJ(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function YJ(e) {
+ return e ? (e = JJ(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function KJ(e, t, n) {
- n && typeof n != "number" && tB(e, t, n) && (t = n = void 0), e = GJ(e), t === void 0 ? (t = e, e = 0) : t = GJ(t), n = n === void 0 ? e < t ? 1 : -1 : GJ(n);
+function XJ(e, t, n) {
+ n && typeof n != "number" && eB(e, t, n) && (t = n = void 0), e = YJ(e), t === void 0 ? (t = e, e = 0) : t = YJ(t), n = n === void 0 ? e < t ? 1 : -1 : YJ(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var qJ = (e) => e.chartData, JJ = $([qJ], (e) => {
+var ZJ = (e) => e.chartData, QJ = $([ZJ], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -50472,35 +50940,35 @@ var qJ = (e) => e.chartData, JJ = $([qJ], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), YJ = (e, t, n, r) => r ? JJ(e) : qJ(e), XJ = (e, t, n) => n ? JJ(e) : qJ(e);
+}), $J = (e, t, n, r) => r ? QJ(e) : ZJ(e), eY = (e, t, n) => n ? QJ(e) : ZJ(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function ZJ(e) {
+function tY(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (NH(t) && NH(n)) return !0;
+ if (LH(t) && LH(n)) return !0;
}
return !1;
}
-function QJ(e, t, n) {
+function nY(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function $J(e, t) {
+function rY(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (NH(n)) i = n;
+ if (LH(n)) i = n;
else if (typeof n == "function") return;
- if (NH(r)) a = r;
+ if (LH(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (ZJ(o)) return o;
+ if (tY(o)) return o;
}
}
-function eY(e, t, n) {
+function iY(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (ZJ(r)) return QJ(r, t, n);
+ if (tY(r)) return nY(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -50509,8 +50977,8 @@ function eY(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && tU.test(i)) {
- var c = tU.exec(i);
+ else if (typeof i == "string" && aU.test(i)) {
+ var c = aU.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -50522,8 +50990,8 @@ function eY(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && nU.test(a)) {
- var u = nU.exec(a);
+ else if (typeof a == "string" && oU.test(a)) {
+ var u = oU.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -50531,13 +50999,13 @@ function eY(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (ZJ(f)) return t == null ? f : QJ(f, t, n);
+ if (tY(f)) return t == null ? f : nY(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var tY = /* @__PURE__ */ ee((/* @__PURE__ */ j(((e, t) => {
+var aY = /* @__PURE__ */ P((/* @__PURE__ */ j(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -50913,75 +51381,75 @@ var tY = /* @__PURE__ */ ee((/* @__PURE__ */ j(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function nY(e) {
- return e === 0 ? 1 : Math.floor(new tY.default(e).abs().log(10).toNumber()) + 1;
+function oY(e) {
+ return e === 0 ? 1 : Math.floor(new aY.default(e).abs().log(10).toNumber()) + 1;
}
-function rY(e, t, n) {
- for (var r = new tY.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function sY(e, t, n) {
+ for (var r = new aY.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-var iY = (e) => {
+var cY = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
-}, aY = (e, t, n) => {
- if (e.lte(0)) return new tY.default(0);
- var r = nY(e.toNumber()), i = new tY.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new tY.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new tY.default(s.toNumber()) : new tY.default(Math.ceil(s.toNumber()));
-}, oY = (e, t, n) => {
- if (e.lte(0)) return new tY.default(0);
+}, lY = (e, t, n) => {
+ if (e.lte(0)) return new aY.default(0);
+ var r = oY(e.toNumber()), i = new aY.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new aY.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new aY.default(s.toNumber()) : new aY.default(Math.ceil(s.toNumber()));
+}, uY = (e, t, n) => {
+ if (e.lte(0)) return new aY.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new tY.default(i).abs().log(10).toNumber()), o = new tY.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new aY.default(i).abs().log(10).toNumber()), o = new aY.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new tY.default(10).pow(l));
+ c %= r.length, o = o.mul(new aY.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new tY.default(u).mul(o);
- return t ? d : new tY.default(Math.ceil(d.toNumber()));
-}, sY = (e, t, n) => {
- var r = new tY.default(1), i = new tY.default(e);
+ var u = r[c] ?? 1, d = new aY.default(u).mul(o);
+ return t ? d : new aY.default(Math.ceil(d.toNumber()));
+}, dY = (e, t, n) => {
+ var r = new aY.default(1), i = new aY.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new tY.default(10).pow(nY(e) - 1), i = new tY.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new tY.default(Math.floor(e)));
- } else e === 0 ? i = new tY.default(Math.floor((t - 1) / 2)) : n || (i = new tY.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new tY.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new aY.default(10).pow(oY(e) - 1), i = new aY.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new aY.default(Math.floor(e)));
+ } else e === 0 ? i = new aY.default(Math.floor((t - 1) / 2)) : n || (i = new aY.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new aY.default(c - o).mul(r)).toNumber());
return s;
-}, cY = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : aY;
+}, fY = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : lY;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new tY.default(0),
- tickMin: new tY.default(0),
- tickMax: new tY.default(0)
+ step: new aY.default(0),
+ tickMin: new aY.default(0),
+ tickMax: new aY.default(0)
};
- var o = a(new tY.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new tY.default(0) : (s = new tY.default(e).add(t).div(2), s = s.sub(new tY.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new tY.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? cY(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ var o = a(new aY.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new aY.default(0) : (s = new aY.default(e).add(t).div(2), s = s.sub(new aY.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new aY.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? fY(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new tY.default(c).mul(o)),
- tickMax: s.add(new tY.default(l).mul(o))
+ tickMin: s.sub(new aY.default(c).mul(o)),
+ tickMax: s.add(new aY.default(l).mul(o))
});
-}, lY = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = iY([t, n]);
+}, pY = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = cY([t, n]);
if (s === -Infinity || c === Infinity) {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return sY(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = cY(s, c, o, i, 0, a === "snap125" ? oY : aY), p = rY(d, f.add(new tY.default(.1).mul(u)), u);
+ if (s === c) return dY(s, r, i);
+ var { step: u, tickMin: d, tickMax: f } = fY(s, c, o, i, 0, a === "snap125" ? uY : lY), p = sY(d, f.add(new aY.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, uY = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = iY([n, r]);
+}, mY = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = cY([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? oY : aY, l = Math.max(t, 2), u = c(new tY.default(s).sub(o).div(l - 1), i, 0), d = [...rY(new tY.default(o), new tY.default(s), u), s];
+ var c = a === "snap125" ? uY : lY, l = Math.max(t, 2), u = c(new aY.default(s).sub(o).div(l - 1), i, 0), d = [...sY(new aY.default(o), new aY.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, dY = (e) => e.rootProps.maxBarSize, fY = (e) => e.rootProps.barGap, pY = (e) => e.rootProps.barCategoryGap, mY = (e) => e.rootProps.barSize, hY = (e) => e.rootProps.stackOffset, gY = (e) => e.rootProps.reverseStackOrder, _Y = (e) => e.options.chartName, vY = (e) => e.rootProps.syncId, yY = (e) => e.rootProps.syncMethod, bY = (e) => e.options.eventEmitter, xY = (e) => e.rootProps.baseValue, SY = {
+}, hY = (e) => e.rootProps.maxBarSize, gY = (e) => e.rootProps.barGap, _Y = (e) => e.rootProps.barCategoryGap, vY = (e) => e.rootProps.barSize, yY = (e) => e.rootProps.stackOffset, bY = (e) => e.rootProps.reverseStackOrder, xY = (e) => e.options.chartName, SY = (e) => e.rootProps.syncId, CY = (e) => e.rootProps.syncMethod, wY = (e) => e.options.eventEmitter, TY = (e) => e.rootProps.baseValue, EY = {
grid: -100,
barBackground: -50,
area: 100,
@@ -50994,7 +51462,7 @@ var iY = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, CY = {
+}, DY = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -51015,8 +51483,8 @@ var iY = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: SY.axis
-}, wY = {
+ zIndex: EY.axis
+}, OY = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -51035,19 +51503,19 @@ var iY = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: SY.axis
-}, TY = (e, t) => {
+ zIndex: EY.axis
+}, kY = (e, t) => {
if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function EY(e, t, n) {
+function AY(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return HH(e, t) ? "category" : "number";
+ if (e != null) return KH(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function DY(e, t) {
+function jY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51057,30 +51525,30 @@ function DY(e, t) {
}
return n;
}
-function OY(e) {
+function MY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DY(Object(n), !0).forEach(function(t) {
- kY(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DY(Object(n)).forEach(function(t) {
+ t % 2 ? jY(Object(n), !0).forEach(function(t) {
+ NY(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kY(e, t, n) {
- return (t = AY(t)) in e ? Object.defineProperty(e, t, {
+function NY(e, t, n) {
+ return (t = PY(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function AY(e) {
- var t = jY(e, "string");
+function PY(e) {
+ var t = FY(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jY(e, t) {
+function FY(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51090,81 +51558,81 @@ function jY(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MY = {
- allowDataOverflow: CY.allowDataOverflow,
- allowDecimals: CY.allowDecimals,
+var IY = {
+ allowDataOverflow: DY.allowDataOverflow,
+ allowDecimals: DY.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: CY.angleAxisId,
+ id: DY.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: CY.reversed,
- scale: CY.scale,
- tick: CY.tick,
+ reversed: DY.reversed,
+ scale: DY.scale,
+ tick: DY.tick,
tickCount: void 0,
ticks: void 0,
- type: CY.type,
+ type: DY.type,
unit: void 0,
niceTicks: "auto"
-}, NY = {
- allowDataOverflow: wY.allowDataOverflow,
- allowDecimals: wY.allowDecimals,
- allowDuplicatedCategory: wY.allowDuplicatedCategory,
+}, LY = {
+ allowDataOverflow: OY.allowDataOverflow,
+ allowDecimals: OY.allowDecimals,
+ allowDuplicatedCategory: OY.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: wY.radiusAxisId,
- includeHidden: wY.includeHidden,
+ id: OY.radiusAxisId,
+ includeHidden: OY.includeHidden,
name: void 0,
- reversed: wY.reversed,
- scale: wY.scale,
- tick: wY.tick,
- tickCount: wY.tickCount,
+ reversed: OY.reversed,
+ scale: OY.scale,
+ tick: OY.tick,
+ tickCount: OY.tickCount,
ticks: void 0,
- type: wY.type,
+ type: OY.type,
unit: void 0,
niceTicks: "auto"
-}, PY = $([(e, t) => {
+}, RY = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, fW], (e, t) => {
+}, gW], (e, t) => {
if (e != null) return e;
- var n = EY(t, "angleAxis", MY.type) ?? "category";
- return OY(OY({}, MY), {}, { type: n });
-}), FY = $([(e, t) => e.polarAxis.radiusAxis[t], fW], (e, t) => {
+ var n = AY(t, "angleAxis", IY.type) ?? "category";
+ return MY(MY({}, IY), {}, { type: n });
+}), zY = $([(e, t) => e.polarAxis.radiusAxis[t], gW], (e, t) => {
if (e != null) return e;
- var n = EY(t, "radiusAxis", NY.type) ?? "category";
- return OY(OY({}, NY), {}, { type: n });
-}), IY = (e) => e.polarOptions, LY = $([
- cU,
- lU,
- TU
-], xJ), RY = $([IY, LY], (e, t) => {
- if (e != null) return az(e.innerRadius, t, 0);
-}), zY = $([IY, LY], (e, t) => {
- if (e != null) return az(e.outerRadius, t, t * .8);
-}), BY = $([IY], (e) => {
+ var n = AY(t, "radiusAxis", LY.type) ?? "category";
+ return MY(MY({}, LY), {}, { type: n });
+}), BY = (e) => e.polarOptions, VY = $([
+ fU,
+ pU,
+ kU
+], TJ), HY = $([BY, VY], (e, t) => {
+ if (e != null) return iz(e.innerRadius, t, 0);
+}), UY = $([BY, VY], (e, t) => {
+ if (e != null) return iz(e.outerRadius, t, t * .8);
+}), WY = $([BY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), VY = $([PY, BY], TY), HY = $([
- LY,
- RY,
- zY
+}), GY = $([RY, WY], kY), KY = $([
+ VY,
+ HY,
+ UY
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), UY = $([FY, HY], TY), WY = $([
- lW,
- IY,
- RY,
- zY,
- cU,
- lU
+}), qY = $([zY, KY], kY), JY = $([
+ pW,
+ BY,
+ HY,
+ UY,
+ fU,
+ pU
], (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: az(o, i, i / 2),
- cy: az(s, a, a / 2),
+ cx: iz(o, i, i / 2),
+ cy: iz(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -51172,22 +51640,22 @@ var MY = {
clockWise: !1
};
}
-}), GY = (e, t) => t, KY = (e, t, n) => n;
+}), YY = (e, t) => t, XY = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function qY(e) {
+function ZY(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function JY(e, t, n) {
+function QY(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = qY(e);
+ var n = ZY(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(BH(t, a, null)), c = BH(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(WH(t, a, null)), c = WH(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -51195,18 +51663,18 @@ function JY(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function YY(e) {
+function $Y(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var XY = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var eX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function ZY(e, t) {
+function tX(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function QY(e, t) {
+function nX(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -51215,13 +51683,13 @@ function QY(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var $Y = (e) => {
- var t = lW(e);
+var rX = (e) => {
+ var t = pW(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, eX = (e) => e.tooltip.settings.axisId;
+}, iX = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function tX(e) {
+function aX(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -51262,13 +51730,13 @@ function tX(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var nX = (e, t) => {
+var oX = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!ZJ(t)) {
+ if (!tY(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- NH(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ LH(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;
}
@@ -51278,14 +51746,14 @@ var nX = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function rX(e, t) {
+function sX(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function iX(e) {
+function cX(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = aX(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = lX(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -51311,15 +51779,15 @@ function iX(e) {
right: i
};
}
-function aX(e) {
- return (t, n) => rX(e(t), n);
+function lX(e) {
+ return (t, n) => sX(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function oX(e) {
+function uX(e) {
return e === null ? NaN : +e;
}
-function* sX(e, t) {
+function* dX(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -51328,52 +51796,52 @@ function* sX(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var cX = iX(rX), lX = cX.right;
-cX.left, iX(oX).center;
+var fX = cX(sX), pX = fX.right;
+fX.left, cX(uX).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var uX = class extends Map {
- constructor(e, t = mX) {
+var mX = class extends Map {
+ constructor(e, t = vX) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(dX(this, e));
+ return super.get(hX(this, e));
}
has(e) {
- return super.has(dX(this, e));
+ return super.has(hX(this, e));
}
set(e, t) {
- return super.set(fX(this, e), t);
+ return super.set(gX(this, e), t);
}
delete(e) {
- return super.delete(pX(this, e));
+ return super.delete(_X(this, e));
}
};
-function dX({ _intern: e, _key: t }, n) {
+function hX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function fX({ _intern: e, _key: t }, n) {
+function gX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function pX({ _intern: e, _key: t }, n) {
+function _X({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function mX(e) {
+function vX(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var hX = Math.sqrt(50), gX = Math.sqrt(10), _X = Math.sqrt(2);
-function vX(e, t, n) {
+var yX = Math.sqrt(50), bX = Math.sqrt(10), xX = Math.sqrt(2);
+function SX(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = yX(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = CX(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -51384,17 +51852,17 @@ function vX(e, t, n) {
}
return r && o.reverse(), o;
}
-function yX(e, t, n) {
+function CX(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= hX ? 10 : a >= gX ? 5 : a >= _X ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= hX ? 10 : a >= gX ? 5 : a >= _X ? 2 : 1);
+ return i >= 0 ? (a >= yX ? 10 : a >= bX ? 5 : a >= xX ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= yX ? 10 : a >= bX ? 5 : a >= xX ? 2 : 1);
}
-function bX(e, t, n) {
+function wX(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= hX ? i *= 10 : a >= gX ? i *= 5 : a >= _X && (i *= 2), t < e ? -i : i;
+ return a >= yX ? i *= 10 : a >= bX ? i *= 5 : a >= xX && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function xX(e, t) {
+function TX(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -51405,7 +51873,7 @@ function xX(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function SX(e, t) {
+function EX(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -51416,36 +51884,36 @@ function SX(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function CX(e, t, n = 0, r = e.length - 1, i = rX) {
+function DX(e, t, n = 0, r = e.length - 1, i = sX) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- CX(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ DX(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (wX(e, n, t), i(e[r], a) > 0 && wX(e, n, r); o < s;) {
- for (wX(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (OX(e, n, t), i(e[r], a) > 0 && OX(e, n, r); o < s;) {
+ for (OX(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? wX(e, n, s) : (++s, wX(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? OX(e, n, s) : (++s, OX(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function wX(e, t, n) {
+function OX(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function TX(e, t, n) {
- if (e = Float64Array.from(sX(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return SX(e);
- if (t >= 1) return xX(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = xX(CX(e, a).subarray(0, a + 1));
- return o + (SX(e.subarray(a + 1)) - o) * (i - a);
+function kX(e, t, n) {
+ if (e = Float64Array.from(dX(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return EX(e);
+ if (t >= 1) return TX(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = TX(DX(e, a).subarray(0, a + 1));
+ return o + (EX(e.subarray(a + 1)) - o) * (i - a);
}
}
-function EX(e, t, n = oX) {
+function AX(e, t, n = uX) {
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);
@@ -51455,14 +51923,14 @@ function EX(e, t, n = oX) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function DX(e, t, n) {
+function jX(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function OX(e, t) {
+function MX(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -51473,7 +51941,7 @@ function OX(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function kX(e, t) {
+function NX(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -51483,7 +51951,7 @@ function kX(e, t) {
}
return this;
}
-function AX(e, t) {
+function PX(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -51495,20 +51963,20 @@ function AX(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var jX = Symbol("implicit");
-function MX() {
- var e = new uX(), t = [], n = [], r = jX;
+var FX = Symbol("implicit");
+function IX() {
+ var e = new mX(), t = [], n = [], r = FX;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== jX) return r;
+ if (r !== FX) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new uX();
+ t = [], e = new mX();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -51516,18 +51984,18 @@ function MX() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return MX(t, n).unknown(r);
- }, kX.apply(i, arguments), i;
+ return IX(t, n).unknown(r);
+ }, NX.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function NX() {
- var e = MX().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function LX() {
+ var e = IX().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = DX(e).map(function(e) {
+ var m = jX(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -51553,32 +52021,32 @@ function NX() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return NX(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, kX.apply(d(), arguments);
+ return LX(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, NX.apply(d(), arguments);
}
-function PX(e) {
+function RX(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return PX(t());
+ return RX(t());
}, e;
}
-function FX() {
- return PX(NX.apply(null, arguments).paddingInner(1));
+function ype() {
+ return RX(LX.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function IX(e, t, n) {
+function zX(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function LX(e, t) {
+function BX(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function RX() {}
-var zX = .7, BX = 1 / zX, VX = "\\s*([+-]?\\d+)\\s*", HX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", UX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", WX = /^#([0-9a-f]{3,8})$/, GX = RegExp(`^rgb\\(${VX},${VX},${VX}\\)$`), KX = RegExp(`^rgb\\(${UX},${UX},${UX}\\)$`), cpe = RegExp(`^rgba\\(${VX},${VX},${VX},${HX}\\)$`), lpe = RegExp(`^rgba\\(${UX},${UX},${UX},${HX}\\)$`), upe = RegExp(`^hsl\\(${HX},${UX},${UX}\\)$`), dpe = RegExp(`^hsla\\(${HX},${UX},${UX},${HX}\\)$`), qX = {
+function VX() {}
+var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", bpe = /^#([0-9a-f]{3,8})$/, xpe = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Spe = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Cpe = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), wpe = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Tpe = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Epe = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -51728,7 +52196,7 @@ var zX = .7, BX = 1 / zX, VX = "\\s*([+-]?\\d+)\\s*", HX = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-IX(RX, XX, {
+zX(VX, XX, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
@@ -51737,18 +52205,18 @@ IX(RX, XX, {
},
hex: JX,
formatHex: JX,
- formatHex8: fpe,
- formatHsl: ppe,
+ formatHex8: Dpe,
+ formatHsl: Ope,
formatRgb: YX,
toString: YX
});
function JX() {
return this.rgb().formatHex();
}
-function fpe() {
+function Dpe() {
return this.rgb().formatHex8();
}
-function ppe() {
+function Ope() {
return sZ(this).formatHsl();
}
function YX() {
@@ -51756,7 +52224,7 @@ function YX() {
}
function XX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = WX.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 = GX.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = KX.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = cpe.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = lpe.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = upe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = dpe.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 = bpe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = xpe.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Spe.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Cpe.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = wpe.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Tpe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Epe.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
}
function ZX(e) {
return new eZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -51764,21 +52232,21 @@ function ZX(e) {
function QX(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new eZ(e, t, n, r);
}
-function mpe(e) {
- return e instanceof RX || (e = XX(e)), e ? (e = e.rgb(), new eZ(e.r, e.g, e.b, e.opacity)) : new eZ();
+function kpe(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 ? mpe(e) : new eZ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? kpe(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;
}
-IX(eZ, $X, LX(RX, {
+zX(eZ, $X, BX(VX, {
brighter(e) {
- return e = e == null ? BX : BX ** +e, new eZ(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? UX : UX ** +e, new eZ(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? zX : zX ** +e, new eZ(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? HX : HX ** +e, new eZ(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
@@ -51791,14 +52259,14 @@ IX(eZ, $X, LX(RX, {
},
hex: tZ,
formatHex: tZ,
- formatHex8: hpe,
+ formatHex8: Ape,
formatRgb: nZ,
toString: nZ
}));
function tZ() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}`;
}
-function hpe() {
+function Ape() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}${aZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function nZ() {
@@ -51819,24 +52287,24 @@ function oZ(e, t, n, r) {
}
function sZ(e) {
if (e instanceof cZ) return new cZ(e.h, e.s, e.l, e.opacity);
- if (e instanceof RX || (e = XX(e)), !e) return new cZ();
+ if (e instanceof VX || (e = XX(e)), !e) return new cZ();
if (e instanceof cZ) return e;
e = e.rgb();
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new cZ(o, s, c, e.opacity);
}
-function gpe(e, t, n, r) {
+function jpe(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;
}
-IX(cZ, gpe, LX(RX, {
+zX(cZ, jpe, BX(VX, {
brighter(e) {
- return e = e == null ? BX : BX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? UX : UX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? zX : zX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? HX : HX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
@@ -51867,29 +52335,29 @@ function dZ(e, t, n) {
var fZ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function _pe(e, t) {
+function Mpe(e, t) {
return function(n) {
return e + n * t;
};
}
-function vpe(e, t, n) {
+function Npe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function ype(e) {
+function Ppe(e) {
return (e = +e) == 1 ? pZ : function(t, n) {
- return n - t ? vpe(t, n, e) : fZ(isNaN(t) ? n : t);
+ return n - t ? Npe(t, n, e) : fZ(isNaN(t) ? n : t);
};
}
function pZ(e, t) {
var n = t - e;
- return n ? _pe(e, n) : fZ(isNaN(e) ? t : e);
+ return n ? Mpe(e, n) : fZ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var mZ = (function e(t) {
- var n = ype(t);
+ var n = Ppe(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) {
@@ -51900,7 +52368,7 @@ var mZ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function bpe(e, t) {
+function Fpe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -51908,12 +52376,12 @@ function bpe(e, t) {
return r;
};
}
-function xpe(e) {
+function Ipe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function Spe(e, t) {
+function Lpe(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];
@@ -51924,7 +52392,7 @@ function Spe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function Cpe(e, t) {
+function Rpe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -51939,7 +52407,7 @@ function hZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function wpe(e, t) {
+function zpe(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) {
@@ -51950,23 +52418,23 @@ function wpe(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 Tpe(e) {
+function Bpe(e) {
return function() {
return e;
};
}
-function Epe(e) {
+function Vpe(e) {
return function(t) {
return e(t) + "";
};
}
-function Dpe(e, t) {
+function Hpe(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] ? Epe(c[0].x) : Tpe(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] ? Vpe(c[0].x) : Bpe(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("");
});
@@ -51975,7 +52443,7 @@ function Dpe(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) : Dpe : t instanceof XX ? mZ : t instanceof Date ? Cpe : xpe(t) ? bpe : Array.isArray(t) ? Spe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? wpe : hZ)(e, t);
+ return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : Hpe : t instanceof XX ? mZ : t instanceof Date ? Rpe : Ipe(t) ? Fpe : Array.isArray(t) ? Lpe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? zpe : hZ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -51986,7 +52454,7 @@ function yZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function Ope(e, t) {
+function Upe(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) {
@@ -51996,7 +52464,7 @@ function Ope(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function kpe(e) {
+function Wpe(e) {
return function() {
return e;
};
@@ -52015,25 +52483,25 @@ function SZ(e) {
function CZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : kpe(isNaN(t) ? NaN : .5);
+ } : Wpe(isNaN(t) ? NaN : .5);
}
-function Ape(e, t) {
+function Gpe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function jpe(e, t, n) {
+function Kpe(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 Mpe(e, t, n) {
+function qpe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = CZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = lX(e, t, 1, r) - 1;
+ var n = pX(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
@@ -52044,7 +52512,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 = Ape(e[0], e[n - 1])), s = n > 2 ? Mpe : jpe, c = l = null, d;
+ return o !== SZ && (o = Gpe(e[0], e[n - 1])), s = n > 2 ? qpe : Kpe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -52072,7 +52540,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function Npe(e) {
+function Jpe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -52087,7 +52555,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function Ppe(e, t) {
+function Ype(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);
@@ -52095,7 +52563,7 @@ function Ppe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function Fpe(e) {
+function Xpe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -52104,9 +52572,9 @@ function Fpe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var Ipe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var Zpe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = Ipe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = Zpe.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -52130,7 +52598,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function Lpe(e) {
+function Qpe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -52147,7 +52615,7 @@ function Lpe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function Rpe(e, t) {
+function $pe(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;
@@ -52167,14 +52635,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: Npe,
+ d: Jpe,
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: Rpe,
+ s: $pe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -52204,8 +52672,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function zpe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : Ppe(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 : Fpe(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 eme(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : Ype(FZ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? PZ : Xpe(FZ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function 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;
@@ -52218,7 +52686,7 @@ function zpe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Lpe(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 = Qpe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
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;
@@ -52259,46 +52727,46 @@ function zpe(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-Bpe({
+tme({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function Bpe(e) {
- return LZ = zpe(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function tme(e) {
+ return LZ = eme(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function Vpe(e) {
+function nme(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function Hpe(e, t) {
+function rme(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 Upe(e, t) {
+function ime(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
function BZ(e, t, n, r) {
- var i = bX(e, t, n), a;
+ var i = wX(e, t, n), a;
switch (r = kZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = Hpe(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = rme(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = Upe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = ime(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = Vpe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = nme(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -52308,7 +52776,7 @@ function VZ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return vX(n[0], n[n.length - 1], e ?? 10);
+ return SX(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
return BZ(r[0], r[r.length - 1], e ?? 10, n);
@@ -52316,7 +52784,7 @@ function VZ(e) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = yX(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = CX(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -52329,7 +52797,7 @@ function HZ() {
var e = EZ();
return e.copy = function() {
return wZ(e, HZ());
- }, kX.apply(e, arguments), VZ(e);
+ }, NX.apply(e, arguments), VZ(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
@@ -52361,19 +52829,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function Wpe(e) {
+function ame(e) {
return -Math.log(-e);
}
-function Gpe(e) {
+function ome(e) {
return -Math.exp(-e);
}
-function Kpe(e) {
+function sme(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function qpe(e) {
- return e === 10 ? Kpe : e === Math.E ? Math.exp : (t) => e ** +t;
+function cme(e) {
+ return e === 10 ? sme : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function Jpe(e) {
+function lme(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) {
@@ -52382,7 +52850,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = Jpe(r), a = qpe(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(Wpe, Gpe)) : e(GZ, KZ), t;
+ return i = lme(r), a = cme(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(ame, ome)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -52402,8 +52870,8 @@ function JZ(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = vX(o, s, p));
- } else m = vX(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = SX(o, s, p));
+ } else m = SX(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = kZ(n)).precision == null && (n.trim = !0), n = RZ(n)), e === Infinity) return n;
@@ -52419,7 +52887,7 @@ function JZ(e) {
}
function YZ() {
let e = JZ(TZ()).domain([1, 10]);
- return e.copy = () => wZ(e, YZ()).base(e.base()), kX.apply(e, arguments), e;
+ return e.copy = () => wZ(e, YZ()).base(e.base()), NX.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
@@ -52443,7 +52911,7 @@ function $Z() {
var e = QZ(TZ());
return e.copy = function() {
return wZ(e, $Z()).constant(e.constant());
- }, kX.apply(e, arguments);
+ }, NX.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
@@ -52452,16 +52920,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function Ype(e) {
+function ume(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function Xpe(e) {
+function dme(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(Ype, Xpe) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(ume, dme) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -52471,9 +52939,9 @@ function nQ() {
var e = tQ(TZ());
return e.copy = function() {
return wZ(e, nQ()).exponent(e.exponent());
- }, kX.apply(e, arguments), e;
+ }, NX.apply(e, arguments), e;
}
-function Zpe() {
+function fme() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -52481,13 +52949,13 @@ function Zpe() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function Qpe(e) {
+function pme(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 = Qpe(e(t));
+ var i = pme(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -52506,7 +52974,7 @@ function iQ() {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
return iQ(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, kX.apply(i, arguments), VZ(i);
+ }, NX.apply(i, arguments), VZ(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
@@ -52514,11 +52982,11 @@ function aQ() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = EX(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = AX(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[lX(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[pX(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -52527,7 +52995,7 @@ function aQ() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(rX), i();
+ return e.sort(sX), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -52536,14 +53004,14 @@ function aQ() {
return n.slice();
}, a.copy = function() {
return aQ().domain(e).range(t).unknown(r);
- }, kX.apply(a, arguments);
+ }, NX.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
function oQ() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[lX(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[pX(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -52563,14 +53031,14 @@ function oQ() {
return r.slice();
}, o.copy = function() {
return oQ().domain([e, t]).range(i).unknown(a);
- }, kX.apply(VZ(o), arguments);
+ }, NX.apply(VZ(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
function sQ() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[lX(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[pX(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -52583,7 +53051,7 @@ function sQ() {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
return sQ().domain(e).range(t).unknown(n);
- }, kX.apply(i, arguments);
+ }, NX.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
@@ -52683,8 +53151,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), $pe = DQ(2), eme = DQ(3), AQ = DQ(4), tme = DQ(5), nme = DQ(6);
-OQ.range, kQ.range, $pe.range, eme.range, AQ.range, tme.range, nme.range;
+var OQ = DQ(0), kQ = DQ(1), mme = DQ(2), hme = DQ(3), AQ = DQ(4), gme = DQ(5), _me = DQ(6);
+OQ.range, kQ.range, mme.range, hme.range, AQ.range, gme.range, _me.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -52692,8 +53160,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), rme = jQ(2), ime = jQ(3), PQ = jQ(4), ame = jQ(5), ome = jQ(6);
-MQ.range, NQ.range, rme.range, ime.range, PQ.range, ame.range, ome.range;
+var MQ = jQ(0), NQ = jQ(1), vme = jQ(2), yme = jQ(3), PQ = jQ(4), bme = jQ(5), xme = jQ(6);
+MQ.range, NQ.range, vme.range, yme.range, PQ.range, bme.range, xme.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -52832,15 +53300,15 @@ function zQ(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = iX(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(bX(t / vQ, n / vQ, r));
- if (a === 0) return dQ.every(Math.max(bX(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = cX(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(wX(t / vQ, n / vQ, r));
+ if (a === 0) return dQ.every(Math.max(wX(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [sme, cme] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [lme, ume] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Sme, Cme] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [wme, Tme] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -52868,39 +53336,39 @@ function HQ(e, t, n) {
L: 0
};
}
-function dme(e) {
+function Eme(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,
- b: te,
- B: P,
+ A: P,
+ b: ee,
+ B: F,
c: null,
d: QQ,
e: QQ,
- f: Pme,
- g: Wme,
- G: Kme,
- H: jme,
- I: Mme,
- j: Nme,
+ f: Yme,
+ g: ahe,
+ G: she,
+ H: Kme,
+ I: qme,
+ j: Jme,
L: $Q,
- m: Fme,
- M: Ime,
- p: F,
+ m: Xme,
+ M: Zme,
+ p: te,
q: ne,
Q: a$,
s: o$,
- S: Lme,
- u: Rme,
- U: zme,
- V: Bme,
- w: Vme,
- W: Hme,
+ S: Qme,
+ u: $me,
+ U: ehe,
+ V: the,
+ w: nhe,
+ W: rhe,
x: null,
X: null,
- y: Ume,
- Y: Gme,
- Z: qme,
+ y: ihe,
+ Y: ohe,
+ Z: che,
"%": i$
}, b = {
a: re,
@@ -52910,30 +53378,30 @@ function dme(e) {
c: null,
d: t$,
e: t$,
- f: Zme,
- g: she,
- G: lhe,
- H: Jme,
- I: Yme,
- j: Xme,
+ f: fhe,
+ g: She,
+ G: whe,
+ H: lhe,
+ I: uhe,
+ j: dhe,
L: n$,
- m: Qme,
- M: $me,
+ m: phe,
+ M: mhe,
p: ae,
q: oe,
Q: a$,
s: o$,
- S: ehe,
- u: the,
- U: nhe,
- V: rhe,
- w: ihe,
- W: ahe,
+ S: hhe,
+ u: ghe,
+ U: _he,
+ V: vhe,
+ w: yhe,
+ W: bhe,
x: null,
X: null,
- y: ohe,
- Y: che,
- Z: uhe,
+ y: xhe,
+ Y: Che,
+ Z: The,
"%": i$
}, x = {
a: E,
@@ -52943,31 +53411,31 @@ function dme(e) {
c: A,
d: XQ,
e: XQ,
- f: Dme,
+ f: Hme,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: Cme,
- L: Eme,
- m: Sme,
- M: wme,
+ j: Rme,
+ L: Vme,
+ m: Lme,
+ M: zme,
p: T,
- q: xme,
- Q: kme,
- s: Ame,
- S: Tme,
- u: gme,
- U: _me,
- V: vme,
- w: hme,
- W: yme,
+ q: Ime,
+ Q: Wme,
+ s: Gme,
+ S: Bme,
+ u: jme,
+ U: Mme,
+ V: Nme,
+ w: Ame,
+ W: Pme,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: bme,
- "%": Ome
+ Z: Fme,
+ "%": Ume
};
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) {
@@ -53031,16 +53499,16 @@ function dme(e) {
function N(e) {
return o[e.getDay()];
}
- function ee(e) {
+ function P(e) {
return a[e.getDay()];
}
- function te(e) {
+ function ee(e) {
return c[e.getMonth()];
}
- function P(e) {
+ function F(e) {
return s[e.getMonth()];
}
- function F(e) {
+ function te(e) {
return i[+(e.getHours() >= 12)];
}
function ne(e) {
@@ -53095,37 +53563,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, fme = /^%/, pme = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, Dme = /^%/, Ome = /[\\^$*+?|[\]().{}]/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 mme(e) {
- return e.replace(pme, "\\$&");
+function kme(e) {
+ return e.replace(Ome, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(mme).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(kme).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function hme(e, t, n) {
+function Ame(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function gme(e, t, n) {
+function jme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function _me(e, t, n) {
+function Mme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function vme(e, t, n) {
+function Nme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function yme(e, t, n) {
+function Pme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -53137,15 +53605,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 bme(e, t, n) {
+function Fme(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 xme(e, t, n) {
+function Ime(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 Sme(e, t, n) {
+function Lme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -53153,7 +53621,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 Cme(e, t, n) {
+function Rme(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;
}
@@ -53161,159 +53629,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 wme(e, t, n) {
+function zme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function Tme(e, t, n) {
+function Bme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function Eme(e, t, n) {
+function Vme(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function Dme(e, t, n) {
+function Hme(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 Ome(e, t, n) {
- var r = fme.exec(t.slice(n, n + 1));
+function Ume(e, t, n) {
+ var r = Dme.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function kme(e, t, n) {
+function Wme(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function Ame(e, t, n) {
+function Gme(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 jme(e, t) {
+function Kme(e, t) {
return GQ(e.getHours(), t, 2);
}
-function Mme(e, t) {
+function qme(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function Nme(e, t) {
+function Jme(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function Pme(e, t) {
+function Yme(e, t) {
return $Q(e, t) + "000";
}
-function Fme(e, t) {
+function Xme(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Ime(e, t) {
+function Zme(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function Lme(e, t) {
+function Qme(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function Rme(e) {
+function $me(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function zme(e, t) {
+function ehe(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 Bme(e, t) {
+function the(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function Vme(e) {
+function nhe(e) {
return e.getDay();
}
-function Hme(e, t) {
+function rhe(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function Ume(e, t) {
+function ihe(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function Wme(e, t) {
+function ahe(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function Gme(e, t) {
+function ohe(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function Kme(e, t) {
+function she(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function qme(e) {
+function che(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 Jme(e, t) {
+function lhe(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function Yme(e, t) {
+function uhe(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function Xme(e, t) {
+function dhe(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function Zme(e, t) {
+function fhe(e, t) {
return n$(e, t) + "000";
}
-function Qme(e, t) {
+function phe(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function $me(e, t) {
+function mhe(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function ehe(e, t) {
+function hhe(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function the(e) {
+function ghe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function nhe(e, t) {
+function _he(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 rhe(e, t) {
+function vhe(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function ihe(e) {
+function yhe(e) {
return e.getUTCDay();
}
-function ahe(e, t) {
+function bhe(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function ohe(e, t) {
+function xhe(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function she(e, t) {
+function She(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function che(e, t) {
+function Che(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function lhe(e, t) {
+function whe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function uhe() {
+function The() {
return "+0000";
}
function i$() {
@@ -53328,7 +53796,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-dhe({
+Ehe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -53380,15 +53848,15 @@ dhe({
"Dec"
]
});
-function dhe(e) {
- return s$ = dme(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function Ehe(e) {
+ return s$ = Eme(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function fhe(e) {
+function Dhe(e) {
return new Date(e);
}
-function phe(e) {
+function Ohe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -53399,7 +53867,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, phe)) : f().map(fhe);
+ return arguments.length ? f(Array.from(e, Ohe)) : f().map(Dhe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -53412,13 +53880,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 mhe() {
- return kX.apply(u$(lme, ume, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function khe() {
+ return NX.apply(u$(wme, Tme, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function hhe() {
- return kX.apply(u$(sme, cme, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function Ahe() {
+ return NX.apply(u$(Sme, Cme, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -53453,27 +53921,27 @@ function p$() {
var e = VZ(d$()(SZ));
return e.copy = function() {
return f$(e, p$());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
function m$() {
var e = JZ(d$()).domain([1, 10]);
return e.copy = function() {
return f$(e, m$()).base(e.base());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
function h$() {
var e = QZ(d$());
return e.copy = function() {
return f$(e, h$()).constant(e.constant());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
function g$() {
var e = tQ(d$());
return e.copy = function() {
return f$(e, g$()).exponent(e.exponent());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
-function ghe() {
+function jhe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -53481,22 +53949,22 @@ function ghe() {
function _$() {
var e = [], t = SZ;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((lX(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((pX(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(rX), n;
+ return e.sort(sX), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => TX(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => kX(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
- }, AX.apply(n, arguments);
+ }, PX.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
@@ -53519,7 +53987,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = Ope(e, [
+ return arguments.length ? ([n, r, i] = t, l = Upe(e, [
n,
r,
i
@@ -53540,7 +54008,7 @@ function y$() {
var e = VZ(v$()(SZ));
return e.copy = function() {
return f$(e, y$());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
function b$() {
var e = JZ(v$()).domain([
@@ -53550,38 +54018,38 @@ function b$() {
]);
return e.copy = function() {
return f$(e, b$()).base(e.base());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
function x$() {
var e = QZ(v$());
return e.copy = function() {
return f$(e, x$()).constant(e.constant());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
function S$() {
var e = tQ(v$());
return e.copy = function() {
return f$(e, S$()).exponent(e.exponent());
- }, AX.apply(e, arguments);
+ }, PX.apply(e, arguments);
}
-function _he() {
+function Mhe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
var C$ = /* @__PURE__ */ M({
- scaleBand: () => NX,
+ scaleBand: () => LX,
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => _he,
+ scaleDivergingSqrt: () => Mhe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
- scaleImplicit: () => jX,
+ scaleImplicit: () => FX,
scaleLinear: () => HZ,
scaleLog: () => YZ,
- scaleOrdinal: () => MX,
- scalePoint: () => FX,
+ scaleOrdinal: () => IX,
+ scalePoint: () => ype,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -53590,26 +54058,26 @@ var C$ = /* @__PURE__ */ M({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => ghe,
+ scaleSequentialSqrt: () => jhe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => Zpe,
+ scaleSqrt: () => fme,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => mhe,
- scaleUtc: () => hhe,
+ scaleTime: () => khe,
+ scaleUtc: () => Ahe,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function vhe(e) {
+function Nhe(e) {
if (e in C$) return C$[e]();
- var t = `scale${uz(e)}`;
+ var t = `scale${lz(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 = vhe(e);
+ var r = Nhe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -53618,22 +54086,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function yhe(e) {
- return `scale${uz(e)}`;
+function Phe(e) {
+ return `scale${lz(e)}`;
}
-function bhe(e) {
- return yhe(e) in C$;
+function Fhe(e) {
+ return Phe(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 bhe(r) ? r : "point";
+ if (typeof r == "string") return Fhe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function xhe(e, t) {
+function Ihe(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;
@@ -53644,7 +54112,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 = xhe(r, e);
+ var t = Ihe(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;
@@ -53654,7 +54122,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function She(e) {
+function Lhe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -53673,26 +54141,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) {
- Che(e, t, n[t]);
+ Rhe(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 Che(e, t, n) {
- return (t = whe(t)) in e ? Object.defineProperty(e, t, {
+function Rhe(e, t, n) {
+ return (t = zhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function whe(e) {
- var t = The(e, "string");
+function zhe(e) {
+ var t = Bhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function The(e, t) {
+function Bhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53760,7 +54228,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$, Ehe = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Vhe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -53773,16 +54241,16 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Ehe, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Vhe, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
case "zAxis": return L$(e, n);
- case "angleAxis": return PY(e, n);
- case "radiusAxis": return FY(e, n);
+ case "angleAxis": return RY(e, n);
+ case "radiusAxis": return zY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Dhe = (e, t, n) => {
+}, Hhe = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -53792,8 +54260,8 @@ var A$ = [0, "auto"], j$ = {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
- case "angleAxis": return PY(e, n);
- case "radiusAxis": return FY(e, n);
+ case "angleAxis": return RY(e, n);
+ case "radiusAxis": return zY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, B$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
@@ -53809,40 +54277,40 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, Ohe = $([GY, KY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, Uhe = $([YY, XY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- Ohe
-], U$, { memoizeOptions: { resultEqualityCheck: ZY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(YY)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), khe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ahe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: ZY } }), J$ = (e, t) => {
+ Uhe
+], U$, { memoizeOptions: { resultEqualityCheck: tX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter($Y)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Whe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ghe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: tX } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([Ahe, YJ], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: BH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: BH(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([Ghe, $J], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: WH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: WH(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (rz(e) || e instanceof Date) {
+ if (nz(e) || e instanceof Date) {
var t = Number(e);
- if (NH(t)) return t;
+ if (LH(t)) return t;
}
}
function $$(e) {
if (Array.isArray(e)) {
var t = [Q$(e[0]), Q$(e[1])];
- return ZJ(t) ? t : void 0;
+ return tY(t) ? t : void 0;
}
var n = Q$(e);
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(dz);
+ return e.map(Q$).filter(uz);
}
-function jhe(e, t) {
+function Khe(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Mhe = $([Z$], (e) => e?.map((e) => e.value).sort(jhe));
+var qhe = $([Z$], (e) => e?.map((e) => e.value).sort(Khe));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -53850,17 +54318,17 @@ function t1(e, t) {
default: return !1;
}
}
-function Nhe(e, t, n) {
- return !n || typeof t != "number" || tz(t) || !n.length ? [] : e1(n.flatMap((n) => {
- var r = BH(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!NH(i) || !NH(a))) return [t - i, t + a];
+function Jhe(e, t, n) {
+ return !n || typeof t != "number" || ez(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = WH(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!LH(i) || !LH(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, $Y(e), eX(e)), r1 = $([n1], (e) => e?.dataKey), Phe = $([
+var n1 = (e) => z$(e, rX(e), iX(e)), r1 = $([n1], (e) => e?.dataKey), Yhe = $([
G$,
- YJ,
+ $J,
n1
-], JY), i1 = (e, t, n, r) => {
+], QY), i1 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -53869,22 +54337,22 @@ var n1 = (e) => z$(e, $Y(e), eX(e)), r1 = $([n1], (e) => e?.dataKey), Phe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: qH(e, o.map(qY), n),
+ stackedData: ZH(e, o.map(ZY), n),
graphicalItems: o
}];
}));
}, a1 = $([
- Phe,
+ Yhe,
G$,
- hY,
- gY
+ yY,
+ bY
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = eU(e, i, a);
+ var o = iU(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Fhe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, Xhe = $([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) {
@@ -53895,12 +54363,12 @@ var n1 = (e) => z$(e, $Y(e), eX(e)), r1 = $([n1], (e) => e?.dataKey), Phe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Fhe], $J), Ihe = $([
+}, c1 = $([R$], s1), l1 = $([c1, Xhe], rY), Zhe = $([
a1,
- qJ,
- GY,
+ ZJ,
+ YY,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: XY } }), u1 = (e) => e.errorBars, Lhe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: eX } }), u1 = (e) => e.errorBars, Qhe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -53910,7 +54378,7 @@ var n1 = (e) => z$(e, $Y(e), eX(e)), r1 = $([n1], (e) => e?.dataKey), Phe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = BH(e, t.dataKey ?? n.dataKey), l = Nhe(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = WH(e, t.dataKey ?? n.dataKey), l = Jhe(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);
@@ -53919,98 +54387,98 @@ var n1 = (e) => z$(e, $Y(e), eX(e)), r1 = $([n1], (e) => e?.dataKey), Phe = $([
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 = $$(BH(e, t.dataKey));
+ var n = $$(WH(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]));
- }), NH(a) && NH(o)) return [a, o];
-}, Rhe = $([
+ }), LH(a) && LH(o)) return [a, o];
+}, $he = $([
Y$,
R$,
- khe,
+ Whe,
u1,
- GY
-], f1, { memoizeOptions: { resultEqualityCheck: XY } });
-function zhe(e) {
+ YY
+], f1, { memoizeOptions: { resultEqualityCheck: eX } });
+function ege(e) {
var { value: t } = e;
- if (rz(t) || t instanceof Date) return t;
+ if (nz(t) || t instanceof Date) return t;
}
-var Bhe = (e, t, n) => {
- var r = e.map(zhe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && oz(r)) ? KJ(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), Vhe = $([
+var tge = (e, t, n) => {
+ var r = e.map(ege).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && az(r)) ? XJ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), nge = $([
p1,
- GY,
- KY
-], m1), h1 = (e) => e.referenceElements.areas, Hhe = $([
+ YY,
+ XY
+], m1), h1 = (e) => e.referenceElements.areas, rge = $([
h1,
- GY,
- KY
-], m1), g1 = (e) => e.referenceElements.lines, Uhe = $([
+ YY,
+ XY
+], m1), g1 = (e) => e.referenceElements.lines, ige = $([
g1,
- GY,
- KY
+ YY,
+ XY
], m1), _1 = (e, t) => {
if (e != null) {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Whe = $(Vhe, GY, _1), v1 = (e, t) => {
+}, age = $(nge, YY, _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)];
}
-}, Ghe = $([Hhe, GY], v1);
-function Khe(e) {
+}, oge = $([rge, YY], v1);
+function sge(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 qhe(e) {
+function cge(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" ? Khe(e) : qhe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? sge(e) : cge(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Jhe = $(Whe, $([Uhe, GY], y1), Ghe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? eY(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Yhe = $([
+}, lge = $(age, $([ige, YY], y1), oge, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? iY(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), uge = $([
R$,
c1,
l1,
- Ihe,
- Rhe,
- Jhe,
- lW,
- GY
-], b1, { memoizeOptions: { resultEqualityCheck: XY } }), Xhe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+ Zhe,
+ $he,
+ lge,
+ pW,
+ YY
+], b1, { memoizeOptions: { resultEqualityCheck: eX } }), dge = [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 = HH(t, a);
- return l && s == null ? KJ(0, n?.length ?? 0) : c === "category" ? Bhe(r, e, l) : i === "expand" ? Xhe : o;
+ var { dataKey: s, type: c } = e, l = KH(t, a);
+ return l && s == null ? XJ(0, n?.length ?? 0) : c === "category" ? tge(r, e, l) : i === "expand" ? dge : o;
}
}, S1 = $([
R$,
- lW,
+ pW,
Y$,
Z$,
- hY,
- GY,
- Yhe
+ yY,
+ YY,
+ uge
], x1), C1 = $([
R$,
B$,
- _Y
+ xY
], E$), w1 = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
var i = s1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && ZJ(e)) {
- if (a) return lY(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return uY(e, t.tickCount, t.allowDecimals, r);
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && tY(e)) {
+ if (a) return pY(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return mY(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && ZJ(e)) return lY(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && ZJ(e)) return uY(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && tY(e)) return pY(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && tY(e)) return mY(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
}, T1 = $([
@@ -54018,16 +54486,16 @@ var y1 = (e, t) => {
z$,
C1
], w1), E1 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && ZJ(t) && Array.isArray(n) && n.length > 0) {
+ if (r !== "angleAxis" && e?.type === "number" && tY(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, Zhe = $([
+}, fge = $([
R$,
S1,
T1,
- GY
+ YY
], E1), D1 = $($(Z$, R$, (e, t) => {
if (!(!t || t.type !== "number")) {
var n = Infinity, r = Array.from(e1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
@@ -54043,22 +54511,22 @@ var y1 = (e, t) => {
}
return n / o;
}
-}), lW, pY, TU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!NH(e)) return 0;
+}), pW, _Y, kU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!LH(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = az(n, e * a), s = e * a / 2;
+ var o = iz(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), Qhe = (e, t, n) => {
+}), pge = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, $he = (e, t, n) => {
+}, mge = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, ege = $(N$, Qhe, (e, t) => {
+}, hge = $(N$, pge, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -54071,7 +54539,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), tge = $(I$, $he, (e, t) => {
+}), gge = $(I$, mge, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -54084,98 +54552,98 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), nge = $([
- TU,
- ege,
- jU,
- AU,
+}), _ge = $([
+ kU,
+ hge,
+ FU,
+ PU,
(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];
-}), rge = $([
- TU,
- lW,
- tge,
- jU,
- AU,
+}), vge = $([
+ kU,
+ pW,
+ gge,
+ FU,
+ PU,
(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 nge(e, n, r);
- case "yAxis": return rge(e, n, r);
+ case "xAxis": return _ge(e, n, r);
+ case "yAxis": return vge(e, n, r);
case "zAxis": return L$(e, n)?.range;
- case "angleAxis": return BY(e);
- case "radiusAxis": return HY(e, n);
+ case "angleAxis": return WY(e);
+ case "radiusAxis": return KY(e, n);
default: return;
}
-}, k1 = $([R$, O1], TY), A1 = $([
+}, k1 = $([R$, O1], kY), A1 = $([
R$,
C1,
- $([C1, Zhe], nX),
+ $([C1, fge], oX),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (HH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (KH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, M1 = $([
- lW,
+ pW,
Z$,
z$,
- GY
-], j1), N1 = $([A1], tX);
-$([A1], She), $([A1, Mhe], D$), $([
+ YY
+], j1), N1 = $([A1], aX);
+$([A1], Lhe), $([A1, qhe], D$), $([
W$,
u1,
- GY
-], Lhe);
+ YY
+], Qhe);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, ige = $(fU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), age = $(pU, 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, yge = $(gU, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), bge = $(_U, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), oge = (e, t) => ({
+}), xge = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(TU, N$, L1), sge = (e, t, n) => {
+}), R1 = $(kU, N$, L1), Sge = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, cge = (e, t, n) => {
+}, Cge = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, lge = $(lU, TU, ige, F1, I1, (e, t, n, r, i) => {
+}, wge = $(pU, kU, yge, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= sge(t, r, e);
+ o ??= Sge(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;
-}), uge = $(cU, TU, age, F1, I1, (e, t, n, r, i) => {
+}), Tge = $(fU, kU, bge, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = oge(t, n);
- o ??= cge(t, r, e);
+ var s = xge(t, n);
+ o ??= Cge(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;
-}), dge = $([
- TU,
+}), Ege = $([
+ kU,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return lge(e, n.orientation, n.mirror);
+ if (n != null) return wge(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -54189,12 +54657,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ige = $(fU, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), fge = $([
- TU,
+}), Dge = $([
+ kU,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return uge(e, n.orientation, n.mirror);
+ if (n != null) return Tge(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -54208,7 +54676,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ige = $(fU, F1, I1, (e, t, n) => e.fi
y: e.top
};
}
-}), z1 = $(TU, I$, (e, t) => ({
+}), z1 = $(kU, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), B1 = (e, t, n) => {
@@ -54219,27 +54687,27 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ige = $(fU, F1, I1, (e, t, n) => e.fi
}
}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = HH(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && oz(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = KH(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && az(c)) return c;
}
}, H1 = $([
- lW,
+ pW,
Z$,
R$,
- GY
+ YY
], V1), U1 = $([
- lW,
- Dhe,
+ pW,
+ Hhe,
C1,
N1,
H1,
M1,
O1,
T1,
- GY
+ YY
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = HH(e, c);
+ var l = KH(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -54263,45 +54731,45 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ige = $(fU, F1, I1, (e, t, n) => e.fi
}
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = HH(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? ez(a[0] - a[1]) * 2 * m : m;
+ var l = KH(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? $R(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return NH(i) ? {
+ return LH(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(dz) : l && s ? s.map((e, t) => {
+ }).filter(uz) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(dz) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(uz) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(dz) : r.domain().map((e, t) => {
+ }).filter(uz) : r.domain().map((e, t) => {
var n = r.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(dz);
+ }).filter(uz);
}
}, G1 = $([
- lW,
+ pW,
z$,
C1,
N1,
@@ -54309,44 +54777,44 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, ige = $(fU, F1, I1, (e, t, n) => e.fi
O1,
H1,
M1,
- GY
+ YY
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = HH(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? ez(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = KH(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? $R(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return NH(r) ? {
+ return LH(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(dz) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(uz) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return NH(r) ? {
+ return LH(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(dz) : n.domain().map((e, t) => {
+ }).filter(uz) : n.domain().map((e, t) => {
var r = n.map(e);
- return NH(r) ? {
+ return LH(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(dz);
+ }).filter(uz);
}
}, q1 = $([
- lW,
+ pW,
z$,
N1,
O1,
H1,
M1,
- GY
+ YY
], K1), J1 = $(R$, N1, (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
@@ -54355,13 +54823,13 @@ $((e, t, n) => L$(e, n), $([$([
C1,
S1,
k1
-], T$)], tX), (e, t) => {
+], T$)], aX), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var pge = $([
- lW,
- fU,
- pU
+var Oge = $([
+ pW,
+ gU,
+ _U
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -54392,21 +54860,21 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function mge(e) {
+function kge(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 (!(tz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, hge = (e) => e.tooltip.settings, e0 = {
+ if (!(ez(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, Age = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, t0 = RV({
+}, t0 = HV({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -54439,23 +54907,23 @@ var $1 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(dG(t.payload));
+ e.tooltipItemPayloads.push(hG(t.payload));
},
- prepare: AV()
+ prepare: kV()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).tooltipItemPayloads.indexOf(dG(n));
- i > -1 && (e.tooltipItemPayloads[i] = dG(r));
+ var { prev: n, next: r } = t.payload, i = bV(e).tooltipItemPayloads.indexOf(hG(n));
+ i > -1 && (e.tooltipItemPayloads[i] = hG(r));
},
- prepare: AV()
+ prepare: kV()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = xV(e).tooltipItemPayloads.indexOf(dG(t.payload));
+ var n = bV(e).tooltipItemPayloads.indexOf(hG(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: AV()
+ prepare: kV()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -54485,7 +54953,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: gge, replaceTooltipEntrySettings: _ge, removeTooltipEntrySettings: vge, setTooltipSettingsState: yge, setActiveMouseOverItemIndex: n0, mouseLeaveItem: bge, mouseLeaveChart: r0, setActiveClickItemIndex: xge, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Sge, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Cge = t0.reducer;
+}), { addTooltipEntrySettings: jge, replaceTooltipEntrySettings: Mge, removeTooltipEntrySettings: Nge, setTooltipSettingsState: Pge, setActiveMouseOverItemIndex: n0, mouseLeaveItem: Fge, mouseLeaveChart: r0, setActiveClickItemIndex: Ige, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Lge, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Rge = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -54502,26 +54970,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) {
- wge(e, t, n[t]);
+ zge(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 wge(e, t, n) {
- return (t = Tge(t)) in e ? Object.defineProperty(e, t, {
+function zge(e, t, n) {
+ return (t = Bge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Tge(e) {
- var t = Ege(e, "string");
+function Bge(e) {
+ var t = Vge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ege(e, t) {
+function Vge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54531,21 +54999,21 @@ function Ege(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Dge(e, t, n) {
+function Hge(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Oge(e) {
+function Uge(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = Dge(e, t, n);
+ var i = Hge(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 (Oge(i)) {
+ if (Uge(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -54558,7 +55026,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function kge(e) {
+function Wge(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -54567,24 +55035,24 @@ function kge(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Age(e, t) {
- var n = kge(e), r = t[0], i = t[1];
+function Gge(e, t) {
+ var n = Wge(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function jge(e, t, n) {
+function Kge(e, t, n) {
if (n == null || t == null) return !0;
- var r = BH(e, t);
- return r == null || !ZJ(n) || Age(r, n);
+ var r = WH(e, t);
+ return r == null || !tY(n) || Gge(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!NH(a)) return i;
+ if (!LH(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 || jge(l, n, r) ? String(c) : null;
+ return l == null || Kge(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -54628,26 +55096,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) {
- Mge(e, t, n[t]);
+ qge(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 Mge(e, t, n) {
- return (t = Nge(t)) in e ? Object.defineProperty(e, t, {
+function qge(e, t, n) {
+ return (t = Jge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nge(e) {
- var t = Pge(e, "string");
+function Jge(e) {
+ var t = Yge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pge(e, t) {
+function Yge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54657,126 +55125,126 @@ function Pge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Fge(e) {
+function Xge(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Ige(e) {
+function Zge(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function Lge(e) {
+function Qge(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 Rge(e) {
+function $ge(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Fge(e.name) : void 0,
- unit: "unit" in e ? Ige(e.unit) : void 0,
- dataKey: "dataKey" in e ? Lge(e.dataKey) : void 0,
+ name: "name" in e ? Xge(e.name) : void 0,
+ unit: "unit" in e ? Zge(e.unit) : void 0,
+ dataKey: "dataKey" in e ? Qge(e.dataKey) : void 0,
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 zge(e, t) {
+function e_e(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 = zge(d, s), m = Array.isArray(p) ? MH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? cz(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = e_e(d, s), m = Array.isArray(p) ? IH(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? sz(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = Rge(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = $ge(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(iU({
+ e.push(cU({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: BH(a, i),
+ value: WH(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(iU({
+ }) : e.push(cU({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: BH(_, h),
- name: BH(_, g) ?? f?.name
+ value: WH(_, h),
+ name: WH(_, g) ?? f?.name
})), e;
}, []);
}
}, y0 = $([
n1,
B$,
- _Y
+ xY
], E$), b0 = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
- $([$Y, eX], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: ZY } }), Bge = $([b0], (e) => e.filter(YY)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: ZY } }), qJ], J$), Vge = $([
- Bge,
- qJ,
+ $([rX, iX], V$)
+], U$, { memoizeOptions: { resultEqualityCheck: tX } }), t_e = $([b0], (e) => e.filter($Y)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: tX } }), ZJ], J$), n_e = $([
+ t_e,
+ ZJ,
n1
-], JY), S0 = $([
+], QY), S0 = $([
x0,
n1,
b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], $J), Hge = $([
+], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], rY), r_e = $([
$([
- Vge,
- $([b0], (e) => e.filter(YY)),
- hY,
- gY
+ n_e,
+ $([b0], (e) => e.filter($Y)),
+ yY,
+ bY
], i1),
- qJ,
- $Y,
+ ZJ,
+ rX,
w0
-], o1), Uge = $([
+], o1), i_e = $([
x0,
n1,
$([b0], K$),
u1,
- $Y
-], f1, { memoizeOptions: { resultEqualityCheck: XY } }), Wge = $([$([
+ rX
+], f1, { memoizeOptions: { resultEqualityCheck: eX } }), a_e = $([$([
p1,
- $Y,
- eX
-], m1), $Y], _1), Gge = $([$([
+ rX,
+ iX
+], m1), rX], _1), o_e = $([$([
h1,
- $Y,
- eX
-], m1), $Y], v1), T0 = $([
+ rX,
+ iX
+], m1), rX], v1), T0 = $([
n1,
- lW,
+ pW,
x0,
S0,
- hY,
- $Y,
+ yY,
+ rX,
$([
n1,
C0,
w0,
- Hge,
- Uge,
+ r_e,
+ i_e,
$([
- Wge,
+ a_e,
$([$([
g1,
- $Y,
- eX
- ], m1), $Y], y1),
- Gge
+ rX,
+ iX
+ ], m1), rX], y1),
+ o_e
], d1),
- lW,
- $Y
+ pW,
+ rX
], b1)
-], x1), Kge = $([
+], x1), s_e = $([
n1,
T0,
$([
@@ -54784,59 +55252,59 @@ var v0 = (e, t, n, r, i, a, o) => {
n1,
y0
], w1),
- $Y
-], E1), E0 = (e) => O1(e, $Y(e), eX(e), !1), D0 = $([n1, E0], TY), O0 = $([$([
+ rX
+], E1), E0 = (e) => O1(e, rX(e), iX(e), !1), D0 = $([n1, E0], kY), O0 = $([$([
n1,
y0,
- Kge,
+ s_e,
D0
-], T$)], tX), k0 = $([
- lW,
+], T$)], aX), k0 = $([
+ pW,
n1,
y0,
O0,
E0,
$([
- lW,
+ pW,
S0,
n1,
- $Y
+ rX
], V1),
$([
- lW,
+ pW,
S0,
n1,
- $Y
+ rX
], j1),
- $Y
+ rX
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = HH(e, s);
+ var { type: c } = t, l = KH(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 ? ez(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? $R(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(dz) : r.domain().map((e, t) => {
+ }).filter(uz) : r.domain().map((e, t) => {
var n = r.map(e);
- return NH(n) ? {
+ return LH(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(dz);
+ }).filter(uz);
}
}
}), A0 = $([
Y1,
X1,
- hge
+ Age
], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
m0,
A0,
@@ -54849,25 +55317,25 @@ var v0 = (e, t, n, r, i, a, o) => {
T0
], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
if (e) return e.dataKey;
-}), qge = $([N0], (e) => {
+}), c_e = $([N0], (e) => {
if (e) return e.graphicalItemId;
}), L0 = $([
m0,
A0,
j0,
M0
-], f0), Jge = $([N0, $([
- cU,
- lU,
- lW,
- TU,
+], f0), l_e = $([N0, $([
+ fU,
+ pU,
+ pW,
+ kU,
k0,
M0,
L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Yge = $([N0], (e) => e?.active ?? !1), Xge = $([$([
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), u_e = $([N0], (e) => e?.active ?? !1), d_e = $([$([
L0,
P0,
- qJ,
+ ZJ,
r1,
F0,
p0,
@@ -54894,26 +55362,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) {
- Zge(e, t, n[t]);
+ f_e(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 Zge(e, t, n) {
- return (t = Qge(t)) in e ? Object.defineProperty(e, t, {
+function f_e(e, t, n) {
+ return (t = p_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qge(e) {
- var t = $ge(e, "string");
+function p_e(e) {
+ var t = m_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $ge(e, t) {
+function m_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54923,9 +55391,9 @@ function $ge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var e_e = () => Q(n1), t_e = () => {
- var e = e_e(), t = Q(k0), n = Q(O0);
- return rU(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+var h_e = () => Q(n1), g_e = () => {
+ var e = h_e(), t = Q(k0), n = Q(O0);
+ return sU(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -54943,26 +55411,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) {
- n_e(e, t, n[t]);
+ __e(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 n_e(e, t, n) {
- return (t = r_e(t)) in e ? Object.defineProperty(e, t, {
+function __e(e, t, n) {
+ return (t = v_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r_e(e) {
- var t = i_e(e, "string");
+function v_e(e) {
+ var t = y_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i_e(e, t) {
+function y_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54972,7 +55440,7 @@ function i_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var a_e = (e, t, n, r) => {
+var b_e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -54988,18 +55456,18 @@ var a_e = (e, t, n, r) => {
x: 0,
y: 0
};
-}, o_e = (e, t, n, r) => {
+}, x_e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return V0(V0(V0({}, r), bJ(r.cx, r.cy, o, a)), {}, {
+ return V0(V0(V0({}, r), wJ(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return V0(V0(V0({}, r), bJ(r.cx, r.cy, s, c)), {}, {
+ return V0(V0(V0({}, r), wJ(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -55018,7 +55486,7 @@ var a_e = (e, t, n, r) => {
y: 0
};
};
-function s_e(e, t) {
+function S_e(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
@@ -55028,9 +55496,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 (ez(c - s) !== ez(l - c)) {
+ if ($R(c - s) !== $R(l - c)) {
var d = [];
- if (ez(l - c) === ez(i[1] - i[0])) {
+ if ($R(l - c) === $R(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);
@@ -55055,7 +55523,7 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(_Y), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, c_e = $(k0, (e) => rB(e, (e) => e.coordinate)), q0 = $([
+}, U0 = () => Q(xY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, C_e = $(k0, (e) => nB(e, (e) => e.coordinate)), q0 = $([
m0,
W0,
G0,
@@ -55065,7 +55533,7 @@ var H0 = (e, t, n, r, i) => {
x0,
r1,
T0
-], u0), l_e = (e, t, n) => {
+], u0), w_e = (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;
@@ -55076,54 +55544,54 @@ var H0 = (e, t, n, r, i) => {
G0,
K0
], f0), X0 = $([
- cU,
- lU,
- lW,
- TU,
+ fU,
+ pU,
+ pW,
+ kU,
k0,
K0,
Y0
-], d0), u_e = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), d_e = $([
+], d0), T_e = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), E_e = $([
Y0,
J0,
- qJ,
+ ZJ,
r1,
Z0,
p0,
W0
-], v0), f_e = $([q0, J0], (e, t) => ({
+], v0), D_e = $([q0, J0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), p_e = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && s_e(e, o)) {
- var s = H0(oU(e, t), a, i, n, r), c = a_e(t, i, s, e);
+})), O_e = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && S_e(e, o)) {
+ var s = H0(uU(e, t), a, i, n, r), c = b_e(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, m_e = (e, t, n, r, i, a, o) => {
+}, k_e = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = EJ(e, n);
+ var s = AJ(e, n);
if (s) {
- var c = H0(sU(s, t), o, a, r, i), l = o_e(t, a, c, s);
+ var c = H0(dU(s, t), o, a, r, i), l = x_e(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, h_e = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? p_e(e, t, r, i, a, o, s) : m_e(e, t, n, r, i, a, o);
-}, g_e = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, A_e = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? O_e(e, t, r, i, a, o, s) : k_e(e, t, n, r, i, a, o);
+}, j_e = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), __e = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(SY));
+}), M_e = $((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(EY));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: QY } });
+}, { memoizeOptions: { resultEqualityCheck: nX } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function Q0(e, t) {
@@ -55140,26 +55608,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) {
- v_e(e, t, n[t]);
+ N_e(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 v_e(e, t, n) {
- return (t = y_e(t)) in e ? Object.defineProperty(e, t, {
+function N_e(e, t, n) {
+ return (t = P_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function y_e(e) {
- var t = b_e(e, "string");
+function P_e(e) {
+ var t = F_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function b_e(e, t) {
+function F_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55169,17 +55637,17 @@ function b_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var x_e = { zIndexMap: Object.values(SY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var I_e = { zIndexMap: Object.values(EY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, S_e = new Set(Object.values(SY));
-function C_e(e) {
- return S_e.has(e);
+} }), {}) }, L_e = new Set(Object.values(EY));
+function R_e(e) {
+ return L_e.has(e);
}
-var e2 = RV({
+var e2 = HV({
name: "zIndex",
- initialState: x_e,
+ initialState: I_e,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -55190,47 +55658,47 @@ var e2 = RV({
panoramaElement: void 0
};
},
- prepare: AV()
+ prepare: kV()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !C_e(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !R_e(n) && delete e.zIndexMap[n]);
},
- prepare: AV()
+ prepare: kV()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = dG(r) : e.zIndexMap[n].element = dG(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = hG(r) : e.zIndexMap[n].element = hG(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : dG(r),
- panoramaElement: i ? dG(r) : void 0
+ element: i ? void 0 : hG(r),
+ panoramaElement: i ? hG(r) : void 0
};
},
- prepare: AV()
+ prepare: kV()
},
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: AV()
+ prepare: kV()
}
}
-}), { registerZIndexPortal: w_e, unregisterZIndexPortal: T_e, registerZIndexPortalElement: E_e, unregisterZIndexPortalElement: D_e } = e2.actions, O_e = e2.reducer;
+}), { registerZIndexPortal: z_e, unregisterZIndexPortal: B_e, registerZIndexPortalElement: V_e, unregisterZIndexPortalElement: H_e } = e2.actions, U_e = e2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function t2(e) {
- var { zIndex: t, children: n } = e, r = mW() && t !== void 0 && t !== 0, i = kU(), a = Yz();
- (0, I.useLayoutEffect)(() => r ? (a(w_e({ zIndex: t })), () => {
- a(T_e({ zIndex: t }));
- }) : fz, [
+ var { zIndex: t, children: n } = e, r = vW() && t !== void 0 && t !== 0, i = NU(), a = Jz();
+ (0, I.useLayoutEffect)(() => r ? (a(z_e({ zIndex: t })), () => {
+ a(B_e({ zIndex: t }));
+ }) : dz, [
a,
t,
r
]);
- var o = Q((e) => g_e(e, t, i));
+ var o = Q((e) => j_e(e, t, i));
return r ? o ? /*#__PURE__*/ (0, vh.createPortal)(n, o) : null : n;
}
//#endregion
@@ -55258,26 +55726,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) {
- k_e(e, t, n[t]);
+ W_e(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 k_e(e, t, n) {
- return (t = A_e(t)) in e ? Object.defineProperty(e, t, {
+function W_e(e, t, n) {
+ return (t = G_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function A_e(e) {
- var t = j_e(e, "string");
+function G_e(e) {
+ var t = K_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function j_e(e, t) {
+function K_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55287,18 +55755,18 @@ function j_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function M_e(e) {
+function q_e(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 N_e(e) {
+function J_e(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 = eq, h = SY.cursorLine;
- else if (l === "BarChart") p = tq(o, u, i, a), m = dJ, h = SY.cursorRectangle;
- else if (o === "radial" && vz(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = DJ(u);
+ if (l === "ScatterChart") p = u, m = iq, h = EY.cursorLine;
+ else if (l === "BarChart") p = aq(o, u, i, a), m = hJ, h = EY.cursorRectangle;
+ else if (o === "radial" && _z(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = jJ(u);
p = {
cx: g,
cy: _,
@@ -55306,25 +55774,25 @@ function N_e(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = HJ, h = SY.cursorLine;
- } else p = { points: UJ(o, u, i) }, m = UK, h = SY.cursorLine;
+ }, m = KJ, h = EY.cursorLine;
+ } else p = { points: qJ(o, u, i) }, m = qK, h = EY.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), qL(s)), {}, {
+ }, i), p), KL(s)), {}, {
payload: d,
payloadIndex: f,
className: Um("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(M_e, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(q_e, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function P_e(e) {
- var t = t_e(), n = aW(), r = uW(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(N_e, n2({}, e, {
+function Y_e(e) {
+ var t = g_e(), n = lW(), r = mW(), i = U0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(J_e, n2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -55333,7 +55801,7 @@ function P_e(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, I.createContext)(null), F_e = () => (0, I.useContext)(a2), I_e = (/* @__PURE__ */ ee((/* @__PURE__ */ j(((e, t) => {
+var a2 = /*#__PURE__*/ (0, I.createContext)(null), X_e = () => (0, I.useContext)(a2), Z_e = (/* @__PURE__ */ P((/* @__PURE__ */ j(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -55420,12 +55888,12 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), F_e = () => (0, I.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, o2 = new I_e(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, o2 = new Z_e(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!tz(n)) return e[n];
+ if (!ez(n)) return e[n];
}
-}, u2 = RV({
+}, u2 = HV({
name: "options",
initialState: {
chartName: "",
@@ -55436,13 +55904,13 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), F_e = () => (0, I.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), L_e = u2.reducer, { createEventEmitter: R_e } = u2.actions;
+}), Q_e = u2.reducer, { createEventEmitter: $_e } = u2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function z_e(e) {
+function eve(e) {
return e.tooltip.syncInteraction;
}
-var d2 = RV({
+var d2 = HV({
name: "chartData",
initialState: {
chartData: void 0,
@@ -55452,7 +55920,7 @@ var d2 = RV({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = dG(t.payload), t.payload == null) {
+ if (e.chartData = hG(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -55466,7 +55934,7 @@ var d2 = RV({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: B_e, setComputedData: V_e } = d2.actions, H_e = d2.reducer, U_e = ["x", "y"];
+}), { setChartData: f2, setDataStartEndIndexes: tve, setComputedData: nve } = d2.actions, rve = d2.reducer, ive = ["x", "y"];
function p2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -55481,26 +55949,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) {
- W_e(e, t, n[t]);
+ ave(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 W_e(e, t, n) {
- return (t = G_e(t)) in e ? Object.defineProperty(e, t, {
+function ave(e, t, n) {
+ return (t = ove(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function G_e(e) {
- var t = K_e(e, "string");
+function ove(e) {
+ var t = sve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function K_e(e, t) {
+function sve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55510,16 +55978,16 @@ function K_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function q_e(e, t) {
+function cve(e, t) {
if (e == null) return {};
- var n, r, i = J_e(e, t);
+ var n, r, i = lve(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 J_e(e, t) {
+function lve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55528,16 +55996,16 @@ function J_e(e, t) {
}
return n;
}
-function Y_e() {
- var e = Q(vY), t = Q(bY), n = Yz(), r = Q(yY), i = Q(k0), a = uW(), o = rW(), s = Q((e) => e.rootProps.className);
+function uve() {
+ var e = Q(SY), t = Q(wY), n = Jz(), r = Q(CY), i = Q(k0), a = mW(), o = sW(), s = Q((e) => e.rootProps.className);
(0, I.useEffect)(() => {
- if (e == null) return fz;
+ if (e == null) return dz;
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 = q_e(d, U_e), { 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 = cve(d, ive), { 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
});
@@ -55598,12 +56066,12 @@ function Y_e() {
o
]);
}
-function X_e() {
- var e = Q(vY), t = Q(bY), n = Yz();
+function dve() {
+ var e = Q(SY), t = Q(wY), n = Jz();
(0, I.useEffect)(() => {
- if (e == null) return fz;
+ if (e == null) return dz;
var r = (r, i, a) => {
- t !== a && e === r && n(B_e(i));
+ t !== a && e === r && n(tve(i));
};
return o2.on(c2, r), () => {
o2.off(c2, r);
@@ -55614,14 +56082,14 @@ function X_e() {
e
]);
}
-function Z_e() {
- var e = Yz();
+function fve() {
+ var e = Jz();
(0, I.useEffect)(() => {
- e(R_e());
- }, [e]), Y_e(), X_e();
+ e($_e());
+ }, [e]), uve(), dve();
}
-function Q_e(e, t, n, r, i, a) {
- var o = Q((n) => l_e(n, e, t)), s = Q(qge), c = Q(bY), l = Q(vY), u = Q(yY), d = Q(z_e)?.active, f = rW();
+function pve(e, t, n, r, i, a) {
+ var o = Q((n) => w_e(n, e, t)), s = Q(c_e), c = Q(wY), l = Q(SY), u = Q(CY), d = Q(eve)?.active, f = sW();
(0, I.useEffect)(() => {
if (!d && l != null && c != null) {
var e = a0({
@@ -55665,26 +56133,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) {
- $_e(e, t, n[t]);
+ mve(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 $_e(e, t, n) {
- return (t = eve(t)) in e ? Object.defineProperty(e, t, {
+function mve(e, t, n) {
+ return (t = hve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eve(e) {
- var t = tve(e, "string");
+function hve(e) {
+ var t = gve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tve(e, t) {
+function gve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55694,13 +56162,13 @@ function tve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function nve(e) {
+function _ve(e) {
return e.dataKey;
}
-function rve(e, t) {
- return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(dK, t);
+function vve(e, t) {
+ return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(hK, t);
}
-var _2 = [], ive = {
+var _2 = [], yve = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -55726,10 +56194,10 @@ var _2 = [], ive = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function ave(e) {
- var t = Sz(e, ive), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = Yz(), S = typeof v == "number" ? String(v) : v;
+function bve(e) {
+ var t = xz(e, yve), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = Jz(), S = typeof v == "number" ? String(v) : v;
(0, I.useEffect)(() => {
- x(yge({
+ x(Pge({
shared: g,
trigger: _,
axisId: b,
@@ -55744,20 +56212,20 @@ function ave(e) {
n,
S
]);
- var C = rW(), w = OK(), T = mge(g), { activeIndex: E, isActive: D } = Q((e) => f_e(e, T, _, S)) ?? {}, O = Q((e) => d_e(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => u_e(e, T, _, S)), j = O, M = F_e(), N = n ?? D ?? !1, [ee, te] = oB([j, N]), P = T === "axis" ? k : void 0;
- Q_e(T, _, A, P, E, N);
- var F = y ?? M;
- if (F == null || C == null || T == null) return null;
+ var C = sW(), w = MK(), T = kge(g), { activeIndex: E, isActive: D } = Q((e) => D_e(e, T, _, S)) ?? {}, O = Q((e) => E_e(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => T_e(e, T, _, S)), j = O, M = X_e(), N = n ?? D ?? !1, [P, ee] = aB([j, N]), F = T === "axis" ? k : void 0;
+ pve(T, _, A, F, E, N);
+ var te = y ?? M;
+ if (te == null || C == null || T == null) return null;
var ne = j ?? _2;
- N || (ne = _2), s && ne.length && (ne = qz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, nve));
+ N || (ne = _2), s && ne.length && (ne = Kz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, _ve));
var re = ne.length > 0, L = g2(g2({}, t), {}, {
payload: ne,
- label: P,
+ label: F,
active: N,
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ie = /*#__PURE__*/ I.createElement(DK, {
+ }), ie = /*#__PURE__*/ I.createElement(jK, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -55771,11 +56239,11 @@ function ave(e) {
useTranslate3d: p,
viewBox: C,
wrapperStyle: m,
- lastBoundingBox: ee,
- innerRef: te,
+ lastBoundingBox: P,
+ innerRef: ee,
hasPortalFromProps: !!y
- }, rve(o, L));
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, vh.createPortal)(ie, F), N && /*#__PURE__*/ I.createElement(P_e, {
+ }, vve(o, L));
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, vh.createPortal)(ie, te), N && /*#__PURE__*/ I.createElement(Y_e, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -55789,19 +56257,19 @@ var v2 = (e) => null;
v2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function ove(e, t, n) {
- return (t = sve(t)) in e ? Object.defineProperty(e, t, {
+function xve(e, t, n) {
+ return (t = Sve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sve(e) {
- var t = cve(e, "string");
+function Sve(e) {
+ var t = Cve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cve(e, t) {
+function Cve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55811,9 +56279,9 @@ function cve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var lve = class {
+var wve = class {
constructor(e) {
- ove(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ xve(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -55846,30 +56314,30 @@ function y2(e, t) {
}
return n;
}
-function uve(e) {
+function Tve(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) {
- dve(e, t, n[t]);
+ Eve(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 dve(e, t, n) {
- return (t = fve(t)) in e ? Object.defineProperty(e, t, {
+function Eve(e, t, n) {
+ return (t = Dve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fve(e) {
- var t = pve(e, "string");
+function Dve(e) {
+ var t = Ove(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pve(e, t) {
+function Ove(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55879,10 +56347,10 @@ function pve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = uve({}, {
+var b2 = Tve({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new lve(b2.cacheSize), mve = {
+}), x2 = new wve(b2.cacheSize), kve = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -55891,13 +56359,13 @@ var b2 = uve({}, {
border: "none",
whiteSpace: "pre"
}, S2 = "recharts_measurement_span";
-function hve(e, t) {
+function Ave(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, mve, 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, kve, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -55911,29 +56379,29 @@ var C2 = (e, t) => {
}
}, w2 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || vK.isSsr) return {
+ if (e == null || SK.isSsr) return {
width: 0,
height: 0
};
if (!b2.enableCache) return C2(e, t);
- var n = hve(e, t), r = x2.get(n);
+ var n = Ave(e, t), r = x2.get(n);
if (r) return r;
var i = C2(e, t);
return x2.set(n, i), i;
}, T2;
-function gve(e, t, n) {
- return (t = _ve(t)) in e ? Object.defineProperty(e, t, {
+function jve(e, t, n) {
+ return (t = Mve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _ve(e) {
- var t = vve(e, "string");
+function Mve(e) {
+ var t = Nve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vve(e, t) {
+function Nve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55943,7 +56411,7 @@ function vve(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%]*)/, yve = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, bve = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, xve = {
+var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Pve = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Fve = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Ive = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -55951,7 +56419,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Sve = [
+}, Lve = [
"cm",
"mm",
"pt",
@@ -55960,20 +56428,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function Cve(e) {
- return Sve.includes(e);
+function Rve(e) {
+ return Lve.includes(e);
}
var O2 = "NaN";
-function wve(e, t) {
- return e * xve[t];
+function zve(e, t) {
+ return e * Ive[t];
}
var k2 = class e {
static parse(t) {
- var [, n, r] = bve.exec(t) ?? [];
+ var [, n, r] = Fve.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, tz(e) && (this.unit = ""), t !== "" && !yve.test(t) && (this.num = NaN, this.unit = ""), Cve(t) && (this.num = wve(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, ez(e) && (this.unit = ""), t !== "" && !Pve.test(t) && (this.num = NaN, this.unit = ""), Rve(t) && (this.num = zve(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -55991,10 +56459,10 @@ var k2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return tz(this.num);
+ return ez(this.num);
}
};
-T2 = k2, gve(k2, "NaN", new T2(NaN, ""));
+T2 = k2, jve(k2, "NaN", new T2(NaN, ""));
function A2(e) {
if (e == null || e.includes(O2)) return O2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -56010,31 +56478,31 @@ function A2(e) {
return t;
}
var j2 = /\(([^()]*)\)/;
-function Tve(e) {
+function Bve(e) {
for (var t = e, n; (n = j2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(j2, A2(r));
}
return t;
}
-function Eve(e) {
+function Vve(e) {
var t = e.replace(/\s+/g, "");
- return t = Tve(t), t = A2(t), t;
+ return t = Bve(t), t = A2(t), t;
}
-function Dve(e) {
+function Hve(e) {
try {
- return Eve(e);
+ return Vve(e);
} catch {
return O2;
}
}
function M2(e) {
- var t = Dve(e.slice(5, -1));
+ var t = Hve(e.slice(5, -1));
return t === O2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var Ove = [
+var Uve = [
"x",
"y",
"lineHeight",
@@ -56043,7 +56511,7 @@ var Ove = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], kve = [
+], Wve = [
"dx",
"dy",
"angle",
@@ -56061,14 +56529,14 @@ function N2() {
}
function P2(e, t) {
if (e == null) return {};
- var n, r, i = Ave(e, t);
+ var n, r, i = Gve(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 Ave(e, t) {
+function Gve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56081,7 +56549,7 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return lz(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return cz(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: w2(e, r).width
@@ -56095,8 +56563,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 jve(e) {
- return lz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function Kve(e) {
+ return cz(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];
@@ -56109,16 +56577,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), Mve = "…", B2 = (e, t, n, r, i, a, o, s) => {
+}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), qve = "…", B2 = (e, t, n, r, i, a, o, s) => {
var c = I2({
breakAll: n,
style: r,
- children: e.slice(0, t) + Mve
+ children: e.slice(0, t) + qve
});
if (!c) return [!1, []];
var l = R2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || z2(l).width > Number(a), l];
-}, Nve = (e, t, n, r, i) => {
+}, Jve = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -56131,11 +56599,11 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, V2 = (e) => [{
- words: lz(e) ? [] : e.toString().split(F2),
+ words: cz(e) ? [] : e.toString().split(F2),
width: void 0
-}], Pve = (e) => {
+}], Yve = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !vK.isSsr) {
+ if ((t || n) && !SK.isSsr) {
var s, c, l = I2({
breakAll: a,
children: r,
@@ -56145,7 +56613,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 Nve({
+ return Jve({
breakAll: a,
children: r,
maxLines: o,
@@ -56153,7 +56621,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return V2(r);
-}, H2 = "#808080", Fve = {
+}, H2 = "#808080", Xve = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -56165,7 +56633,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, U2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = Sz(e, Fve), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, Ove), f = (0, I.useMemo)(() => Pve({
+ var n = xz(e, Xve), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, Uve), f = (0, I.useMemo)(() => Yve({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -56179,10 +56647,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, kve);
- if (!rz(r) || !rz(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, Wve);
+ if (!nz(r) || !nz(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!NH(y) || !NH(b)) return null;
+ if (!LH(y) || !LH(b)) return null;
var x;
switch (u) {
case "start":
@@ -56198,7 +56666,7 @@ 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({}, JL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, qL(v), {
ref: t,
x: y,
y: b,
@@ -56231,26 +56699,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) {
- Ive(e, t, n[t]);
+ Zve(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 Ive(e, t, n) {
- return (t = Lve(t)) in e ? Object.defineProperty(e, t, {
+function Zve(e, t, n) {
+ return (t = Qve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lve(e) {
- var t = Rve(e, "string");
+function Qve(e) {
+ var t = $ve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rve(e, t) {
+function $ve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56260,8 +56728,8 @@ function Rve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var zve = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = nW(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 eye = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = oW(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -56342,9 +56810,9 @@ var zve = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || nz(n.x)) && (Z(n.y) || nz(n.y)) ? G2({
- x: o + az(n.x, m),
- y: s + az(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || tz(n.x)) && (Z(n.y) || tz(n.y)) ? G2({
+ x: o + iz(n.x, m),
+ y: s + iz(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : G2({
@@ -56353,17 +56821,17 @@ var zve = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, Bve = ["labelRef"], Vve = ["content"];
+}, tye = ["labelRef"], nye = ["content"];
function K2(e, t) {
if (e == null) return {};
- var n, r, i = Hve(e, t);
+ var n, r, i = rye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Hve(e, t) {
+function rye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56386,26 +56854,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) {
- Uve(e, t, n[t]);
+ iye(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 Uve(e, t, n) {
- return (t = Wve(t)) in e ? Object.defineProperty(e, t, {
+function iye(e, t, n) {
+ return (t = aye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wve(e) {
- var t = Gve(e, "string");
+function aye(e) {
+ var t = oye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gve(e, t) {
+function oye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56442,9 +56910,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 = rW();
- return e || (t ? nW(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, I.createContext)(null), Kve = (e) => {
+ var e = (0, I.useContext)(X2), t = sW();
+ return e || (t ? oW(t) : void 0);
+}, $2 = /*#__PURE__*/ (0, I.createContext)(null), sye = (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,
@@ -56464,13 +56932,13 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
]);
return /*#__PURE__*/ I.createElement($2.Provider, { value: l }, c);
}, e4 = () => {
- var e = (0, I.useContext)($2), t = Q(WY);
+ var e = (0, I.useContext)($2), t = Q(JY);
return e || t;
-}, qve = (e) => {
- var { value: t, formatter: n } = e, r = lz(e.children) ? t : e.children;
+}, cye = (e) => {
+ var { value: t, formatter: n } = e, r = cz(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", Jve = (e, t) => ez(t - e) * Math.min(Math.abs(t - e), 360), Yve = (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 = Jve(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, t4 = (e) => e != null && typeof e == "function", lye = (e, t) => $R(t - e) * Math.min(Math.abs(t - e), 360), uye = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = lye(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -56484,9 +56952,9 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = bJ(s, c, m, _), b = bJ(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = wJ(s, c, m, _), b = wJ(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = lz(e.id) ? iz("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = cz(e.id) ? rz("recharts-radial-line-") : e.id;
return /*#__PURE__*/ I.createElement("text", Y2({}, r, {
dominantBaseline: "central",
className: Um("recharts-radial-bar-label", o)
@@ -56494,10 +56962,10 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ I.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, Xve = (e, t, n) => {
+}, dye = (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 } = bJ(r, i, o + t, l);
+ var { x: u, y: d } = wJ(r, i, o + t, l);
return {
x: u,
y: d,
@@ -56523,21 +56991,21 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = bJ(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = wJ(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), Zve = {
+}, n4 = (e) => e != null && "cx" in e && Z(e.cx), fye = {
angle: 0,
offset: 5,
- zIndex: SY.label,
+ zIndex: EY.label,
position: "middle",
textBreakAll: !1
};
-function Qve(e) {
+function pye(e) {
if (!n4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -56550,24 +57018,24 @@ function Qve(e) {
};
}
function r4(e) {
- var t = Sz(e, Zve), { 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 : nW(n), m, h, g = Qve(p);
- if (!p || lz(a) && lz(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
+ var t = xz(e, fye), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : oW(n), m, h, g = pye(p);
+ if (!p || cz(a) && cz(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
var _ = J2(J2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, I.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, Bve);
+ var { labelRef: v } = _, y = K2(_, tye);
return /*#__PURE__*/ (0, I.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, Vve);
+ var { content: b } = _, x = K2(_, nye);
if (m = /*#__PURE__*/ (0, I.createElement)(s, x), /*#__PURE__*/ (0, I.isValidElement)(m)) return m;
- } else m = qve(t);
- var S = JL(t);
+ } else m = cye(t);
+ var S = qL(t);
if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return Yve(t, i, m, S, p);
- h = Xve(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return uye(t, i, m, S, p);
+ h = dye(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = zve({
+ var C = eye({
viewBox: g,
position: i,
offset: t.offset,
@@ -56596,7 +57064,7 @@ var i4 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : rz(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : nz(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({
@@ -56611,13 +57079,13 @@ function a4(e) {
var { label: t, labelRef: n } = e;
return i4(t, Q2(), n) || null;
}
-function $ve(e) {
+function mye(e) {
var { label: t } = e;
return i4(t, e4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var eye = ["valueAccessor"], tye = [
+var hye = ["valueAccessor"], gye = [
"dataKey",
"clockWise",
"id",
@@ -56635,14 +57103,14 @@ function o4() {
}
function s4(e, t) {
if (e == null) return {};
- var n, r, i = nye(e, t);
+ var n, r, i = _ye(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 nye(e, t) {
+function _ye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56651,21 +57119,21 @@ function nye(e, t) {
}
return n;
}
-var rye = (e) => {
+var vye = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (jve(t)) return t;
-}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), iye = u4.Provider;
-function aye() {
+ if (Kve(t)) return t;
+}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), yye = u4.Provider;
+function bye() {
return (0, I.useContext)(c4);
}
-function oye() {
+function xye() {
return (0, I.useContext)(u4);
}
function d4(e) {
- var { valueAccessor: t = rye } = e, n = s4(e, eye), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, tye), l = aye(), u = oye(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? SY.label }, /*#__PURE__*/ I.createElement(QL, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = lz(r) ? t(e, i) : BH(e.payload, r), l = lz(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, JL(e), c, l, {
+ var { valueAccessor: t = vye } = e, n = s4(e, hye), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, gye), l = bye(), u = xye(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? EY.label }, /*#__PURE__*/ I.createElement(ZL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = cz(r) ? t(e, i) : WH(e.payload, r), l = cz(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, qL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -56686,12 +57154,12 @@ function f4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var sye = [
+var Sye = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], cye;
+], Cye;
function p4() {
return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -56701,16 +57169,16 @@ function p4() {
return e;
}, p4.apply(null, arguments);
}
-function lye(e, t) {
+function wye(e, t) {
if (e == null) return {};
- var n, r, i = uye(e, t);
+ var n, r, i = Tye(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 uye(e, t) {
+function Tye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56719,10 +57187,10 @@ function uye(e, t) {
}
return n;
}
-function dye(e, t) {
+function Eye(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, fye = function() {
+var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Dye = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -56733,9 +57201,9 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, fye = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, h4 = (e, t) => {
- var n = fye(e);
+ var n = Dye(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => $R(cye ||= dye([
+ var r = n.map((e) => e.reduce((e, t, n) => QR(Cye ||= Eye([
"",
"",
"",
@@ -56743,29 +57211,29 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, fye = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, pye = (e, t, n) => {
+}, Oye = (e, t, n) => {
var r = h4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = lye(e, sye);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = wye(e, Sye);
if (!t || !t.length) return null;
var o = Um("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = pye(t, r, i);
- return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, JL(a), {
+ var s = a.stroke && a.stroke !== "none", c = Oye(t, r, i);
+ return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ I.createElement("path", p4({}, JL(a), {
+ })), s ? /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
fill: "none",
d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, JL(a), {
+ })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
fill: "none",
d: h4(r, i)
})) : null);
}
var l = h4(t, i);
- return /*#__PURE__*/ I.createElement("path", p4({}, JL(a), {
+ return /*#__PURE__*/ I.createElement("path", p4({}, qL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -56784,7 +57252,7 @@ function _4() {
}
var v4 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Um("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, KL(e), yz(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, GL(e), vz(e), {
className: a,
cx: t,
cy: n,
@@ -56793,8 +57261,8 @@ var v4 = (e) => {
}, y4 = (e) => e.graphicalItems.polarItems, b4 = $([
y4,
R$,
- $([GY, KY], V$)
-], U$), x4 = $([$([b4], q$), JJ], J$), S4 = $([
+ $([YY, XY], V$)
+], U$), x4 = $([$([b4], q$), QJ], J$), S4 = $([
x4,
R$,
b4
@@ -56804,22 +57272,22 @@ $([
R$,
b4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: BH(e, t.dataKey ?? n.dataKey),
+ value: WH(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: BH(e, t.dataKey),
+ value: WH(e, t.dataKey),
errorDomain: []
})));
var C4 = () => void 0, w4 = $([
R$,
- lW,
+ pW,
x4,
S4,
- hY,
- GY,
+ yY,
+ YY,
$([
R$,
c1,
@@ -56830,45 +57298,45 @@ var C4 = () => void 0, w4 = $([
R$,
b4,
u1,
- GY
+ YY
], f1),
C4,
- lW,
- GY
+ pW,
+ YY
], b1)
], x1), T4 = $([
w4,
z$,
C1
-], w1), mye = $([C1, $([
+], w1), kye = $([C1, $([
R$,
w4,
T4,
- GY
-], E1)], nX), E4 = (e, t, n) => {
+ YY
+], E1)], oX), E4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return PY(e, n);
- case "radiusAxis": return FY(e, n);
+ case "angleAxis": return RY(e, n);
+ case "radiusAxis": return zY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return VY(e, n);
- case "radiusAxis": return UY(e, n);
+ case "angleAxis": return GY(e, n);
+ case "radiusAxis": return qY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, O4 = $([$([
E4,
C1,
- mye,
+ kye,
D4
-], T$)], tX), k4 = $([
- lW,
+], T$)], aX), k4 = $([
+ pW,
S4,
z$,
- GY
+ YY
], j1), A4 = $([
- lW,
+ pW,
E4,
C1,
O4,
@@ -56876,8 +57344,8 @@ var C4 = () => void 0, w4 = $([
D4,
H1,
k4,
- GY
-], W1), hye = $([A4], (e) => {
+ YY
+], W1), Aye = $([A4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -56885,19 +57353,19 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), gye = $([
- lW,
+}), jye = $([
+ pW,
E4,
O4,
D4,
H1,
k4,
- GY
-], K1), _ye = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+ YY
+], K1), Mye = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), vye = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), Nye = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), yye = [
+}), Pye = [
"gridType",
"radialLines",
"angleAxisId",
@@ -56910,16 +57378,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function bye(e, t) {
+function Fye(e, t) {
if (e == null) return {};
- var n, r, i = xye(e, t);
+ var n, r, i = Iye(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function xye(e, t) {
+function Iye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56951,26 +57419,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) {
- Sye(e, t, n[t]);
+ Lye(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 Sye(e, t, n) {
- return (t = Cye(t)) in e ? Object.defineProperty(e, t, {
+function Lye(e, t, n) {
+ return (t = Rye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cye(e) {
- var t = wye(e, "string");
+function Rye(e) {
+ var t = zye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wye(e, t) {
+function zye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56980,18 +57448,18 @@ function wye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Tye = (e, t, n, r) => {
+var Bye = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = bJ(t, n, e, r);
+ var o = wJ(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, Eye = (e) => {
+}, Vye = (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" }, KL(e));
+ var s = N4({ stroke: "#ccc" }, GL(e));
return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = bJ(t, n, r, e), o = bJ(t, n, i, e);
+ var a = wJ(t, n, r, e), o = wJ(t, n, i, e);
return /*#__PURE__*/ I.createElement("line", j4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
@@ -57003,7 +57471,7 @@ var Tye = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = N4({
stroke: "#ccc",
fill: "none"
- }, KL(e));
+ }, GL(e));
return /*#__PURE__*/ I.createElement("circle", j4({}, i, {
className: Um("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -57014,12 +57482,12 @@ var Tye = (e, t, n, r) => {
var { radius: t } = e, n = N4({
stroke: "#ccc",
fill: "none"
- }, KL(e));
+ }, GL(e));
return /*#__PURE__*/ I.createElement("path", j4({}, n, {
className: Um("recharts-polar-grid-concentric-polygon", e.className),
- d: Tye(t, e.cx, e.cy, e.polarAngles)
+ d: Bye(t, e.cx, e.cy, e.polarAngles)
}));
-}, Dye = (e) => {
+}, Hye = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -57033,14 +57501,14 @@ var Tye = (e, t, n, r) => {
radius: t
}));
}));
-}, Oye = {
+}, Uye = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: SY.grid
+ zIndex: EY.grid
}, I4 = (e) => {
- var t = Sz(e, Oye), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = bye(t, yye), m = Q(WY), h = Q((e) => _ye(e, i)), g = Q((e) => vye(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = xz(e, Uye), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Fye(t, Pye), m = Q(JY), h = Q((e) => Mye(e, i)), g = Q((e) => Nye(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = N4({
cx: m?.cx ?? o ?? 0,
@@ -57051,13 +57519,13 @@ var Tye = (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(Dye, j4({
+ return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(Hye, j4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ I.createElement(Eye, j4({
+ })), /*#__PURE__*/ I.createElement(Vye, j4({
gridType: n,
radialLines: r
}, y, {
@@ -57073,11 +57541,11 @@ function L4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function kye(e, t = Dz) {
+function Wye(e, t = Ez) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = Gz(t), i, a;
+ let r = Wz(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);
@@ -57086,11 +57554,11 @@ function kye(e, t = Dz) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function Aye(e, t = Dz) {
+function Gye(e, t = Ez) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = Gz(t), i, a;
+ let r = Wz(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);
@@ -57099,7 +57567,7 @@ function Aye(e, t = Dz) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = RV({
+var R4 = HV({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -57107,32 +57575,32 @@ var R4 = RV({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = dG(t.payload);
+ e.radiusAxis[t.payload.id] = hG(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = dG(t.payload);
+ e.angleAxis[t.payload.id] = hG(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: jye, removeRadiusAxis: Mye, addAngleAxis: Nye, removeAngleAxis: Pye } = R4.actions, Fye = R4.reducer;
+}), { addRadiusAxis: z4, removeRadiusAxis: Kye, addAngleAxis: qye, removeAngleAxis: Jye } = R4.actions, Yye = R4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function z4(e) {
+function B4(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var B4 = ["type"], Iye = [
+var Xye = ["type"], Zye = [
"cx",
"cy",
"angle",
"axisLine"
-], Lye = [
+], Qye = [
"angle",
"tickFormatter",
"stroke",
@@ -57161,26 +57629,26 @@ function U4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H4(Object(n), !0).forEach(function(t) {
- Rye(e, t, n[t]);
+ $ye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rye(e, t, n) {
- return (t = zye(t)) in e ? Object.defineProperty(e, t, {
+function $ye(e, t, n) {
+ return (t = ebe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zye(e) {
- var t = Bye(e, "string");
+function ebe(e) {
+ var t = tbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bye(e, t) {
+function tbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57192,14 +57660,14 @@ function Bye(e, t) {
}
function W4(e, t) {
if (e == null) return {};
- var n, r, i = Vye(e, t);
+ var n, r, i = nbe(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 Vye(e, t) {
+function nbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57208,20 +57676,20 @@ function Vye(e, t) {
}
return n;
}
-var Hye = "radiusAxis";
-function Uye(e) {
- var t = Yz(), n = pW(), r = (0, I.useMemo)(() => {
- var { type: t } = e, r = W4(e, B4), i = EY(n, "radiusAxis", t);
+var rbe = "radiusAxis";
+function ibe(e) {
+ var t = Jz(), n = _W(), r = (0, I.useMemo)(() => {
+ var { type: t } = e, r = W4(e, Xye), i = AY(n, "radiusAxis", t);
if (i != null) return U4(U4({}, r), {}, { type: i });
}, [e, n]);
- return (0, I.useEffect)(() => r == null ? fz : (t(jye(r)), () => {
- t(Mye(r));
+ return (0, I.useEffect)(() => r == null ? dz : (t(z4(r)), () => {
+ t(Kye(r));
}), [t, r]), null;
}
-var Wye = (e, t, n, r) => {
+var abe = (e, t, n, r) => {
var { coordinate: i } = e;
- return bJ(n, r, i, t);
-}, Gye = (e) => {
+ return wJ(n, r, i, t);
+}, obe = (e) => {
var t;
switch (e) {
case "left":
@@ -57233,49 +57701,49 @@ var Wye = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, Kye = (e, t, n, r) => {
- var i = kye(r, (e) => e.coordinate || 0);
+}, sbe = (e, t, n, r) => {
+ var i = Wye(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: Aye(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: Gye(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, qye = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, Iye), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = bJ(n, r, s[0], i), l = bJ(n, r, s[1], i), u = U4(U4(U4({}, KL(o)), {}, { fill: "none" }, KL(a)), {}, {
+}, cbe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, Zye), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = wJ(n, r, s[0], i), l = wJ(n, r, s[1], i), u = U4(U4(U4({}, GL(o)), {}, { fill: "none" }, GL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ I.createElement("line", V4({ className: "recharts-polar-radius-axis-line" }, u));
-}, Jye = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Yye = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, Lye), s = Gye(e.orientation), c = KL(o), l = qL(a), u = t.map((t, o) => {
- var u = Wye(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
+}, lbe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), ube = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, Qye), s = obe(e.orientation), c = GL(o), l = KL(a), u = t.map((t, o) => {
+ var u = abe(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
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(QL, V4({
- className: Um("recharts-polar-radius-axis-tick", z4(a)),
+ return /*#__PURE__*/ I.createElement(ZL, V4({
+ className: Um("recharts-polar-radius-axis-tick", B4(a)),
key: `tick-${t.coordinate}`
- }, bz(e, t, o)), Jye(a, d, r ? r(t.value, o) : t.value));
+ }, yz(e, t, o)), lbe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ I.createElement(QL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, Xye = (e) => {
- var { radiusAxisId: t } = e, n = Q(WY), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ I.createElement(ZL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, dbe = (e) => {
+ var { radiusAxisId: t } = e, n = Q(JY), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = U4(U4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Um("recharts-polar-radius-axis", Hye, a.className) }, s && qye(a, i), o && Yye(a, i), /*#__PURE__*/ I.createElement(Kve, Kye(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement($ve, { label: a.label }), a.children)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-polar-radius-axis", rbe, a.className) }, s && cbe(a, i), o && ube(a, i), /*#__PURE__*/ I.createElement(sye, sbe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(mye, { label: a.label }), a.children)));
};
function G4(e) {
- var t = Sz(e, wY);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(Uye, {
+ var t = xz(e, OY);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(ibe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -57292,12 +57760,12 @@ function G4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ I.createElement(Xye, t));
+ }), /*#__PURE__*/ I.createElement(dbe, t));
}
G4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var Zye = ["children", "type"], Qye = ["ref"];
+var fbe = ["children", "type"], pbe = ["ref"];
function K4() {
return K4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57321,26 +57789,26 @@ function J4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q4(Object(n), !0).forEach(function(t) {
- $ye(e, t, n[t]);
+ mbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $ye(e, t, n) {
- return (t = ebe(t)) in e ? Object.defineProperty(e, t, {
+function mbe(e, t, n) {
+ return (t = hbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ebe(e) {
- var t = tbe(e, "string");
+function hbe(e) {
+ var t = gbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tbe(e, t) {
+function gbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57352,14 +57820,14 @@ function tbe(e, t) {
}
function Y4(e, t) {
if (e == null) return {};
- var n, r, i = nbe(e, t);
+ var n, r, i = _be(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nbe(e, t) {
+function _be(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57368,47 +57836,47 @@ function nbe(e, t) {
}
return n;
}
-var X4 = 1e-5, rbe = Math.cos(vJ(45)), ibe = "angleAxis";
-function abe(e) {
- var t = Yz(), n = pW(), r = (0, I.useMemo)(() => {
- var { children: t, type: r } = e, i = Y4(e, Zye), a = EY(n, "angleAxis", r);
+var X4 = 1e-5, vbe = Math.cos(SJ(45)), ybe = "angleAxis";
+function bbe(e) {
+ var t = Jz(), n = _W(), r = (0, I.useMemo)(() => {
+ var { children: t, type: r } = e, i = Y4(e, fbe), a = AY(n, "angleAxis", r);
if (a != null) return J4(J4({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => PY(e, r?.id));
- return (0, I.useEffect)(() => r == null ? fz : (t(Nye(r)), () => {
- t(Pye(r));
+ }, [e, n]), i = r === Q((e) => RY(e, r?.id));
+ return (0, I.useEffect)(() => r == null ? dz : (t(qye(r)), () => {
+ t(Jye(r));
}), [t, r]), i ? e.children : null;
}
-var obe = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = bJ(n, r, i, e.coordinate), l = bJ(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+var xbe = (e, t) => {
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = wJ(n, r, i, e.coordinate), l = wJ(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
};
-}, sbe = (e, t) => {
- var n = Math.cos(vJ(-e.coordinate));
+}, Sbe = (e, t) => {
+ var n = Math.cos(SJ(-e.coordinate));
return n > X4 ? t === "outer" ? "start" : "end" : n < -X4 ? t === "outer" ? "end" : "start" : "middle";
-}, cbe = (e) => {
- var t = Math.cos(vJ(-e.coordinate)), n = Math.sin(vJ(-e.coordinate));
- return Math.abs(t) <= rbe ? n > 0 ? "start" : "end" : "middle";
-}, lbe = (e) => {
+}, Cbe = (e) => {
+ var t = Math.cos(SJ(-e.coordinate)), n = Math.sin(SJ(-e.coordinate));
+ return Math.abs(t) <= vbe ? n > 0 ? "start" : "end" : "middle";
+}, wbe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = J4(J4({}, KL(e)), {}, { fill: "none" }, KL(a));
+ var s = J4(J4({}, GL(e)), {}, { fill: "none" }, GL(a));
if (i === "circle") return /*#__PURE__*/ I.createElement(v4, K4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => bJ(t, n, r, e.coordinate));
+ var c = o.map((e) => wJ(t, n, r, e.coordinate));
return /*#__PURE__*/ I.createElement(g4, K4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, ube = (e) => {
+}, Tbe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ I.isValidElement(t) ? /*#__PURE__*/ I.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ I.createElement(U2, K4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, dbe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = KL(e), { ref: s } = o, c = Y4(o, Qye), l = qL(t), u = J4(J4({}, c), {}, { fill: "none" }, KL(n)), d = a.map((a, o) => {
- var s = obe(a, e), d = sbe(a, e.orientation), f = cbe(a), p = J4(J4(J4({}, c), {}, {
+}, Ebe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = GL(e), { ref: s } = o, c = Y4(o, pbe), l = KL(t), u = J4(J4({}, c), {}, { fill: "none" }, GL(n)), d = a.map((a, o) => {
+ var s = xbe(a, e), d = Sbe(a, e.orientation), f = Cbe(a), p = J4(J4(J4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -57419,28 +57887,28 @@ var obe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ I.createElement(QL, K4({
- className: Um("recharts-polar-angle-axis-tick", z4(t)),
+ return /*#__PURE__*/ I.createElement(ZL, K4({
+ className: Um("recharts-polar-angle-axis-tick", B4(t)),
key: `tick-${a.coordinate}`
- }, bz(e, a, o)), n && /*#__PURE__*/ I.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(ube, {
+ }, yz(e, a, o)), n && /*#__PURE__*/ I.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(Tbe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ I.createElement(QL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, fbe = (e) => {
- var { angleAxisId: t } = e, n = Q(WY), r = Q((e) => O4(e, "angleAxis", t)), i = kU(), a = Q((e) => hye(e, "angleAxis", t, i));
+ return /*#__PURE__*/ I.createElement(ZL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, Dbe = (e) => {
+ var { angleAxisId: t } = e, n = Q(JY), r = Q((e) => O4(e, "angleAxis", t)), i = NU(), a = Q((e) => Aye(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = J4(J4(J4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Um("recharts-polar-angle-axis", ibe, o.className) }, /*#__PURE__*/ I.createElement(lbe, o), /*#__PURE__*/ I.createElement(dbe, o)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-polar-angle-axis", ybe, o.className) }, /*#__PURE__*/ I.createElement(wbe, o), /*#__PURE__*/ I.createElement(Ebe, o)));
};
function Z4(e) {
- var t = Sz(e, CY);
- return /*#__PURE__*/ I.createElement(abe, {
+ var t = xz(e, DY);
+ return /*#__PURE__*/ I.createElement(bbe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -57457,12 +57925,12 @@ function Z4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ I.createElement(fbe, t));
+ }, /*#__PURE__*/ I.createElement(Dbe, t));
}
Z4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var pbe = /* @__PURE__ */ j(((e) => {
+var Obe = /* @__PURE__ */ j(((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) {
@@ -57491,26 +57959,26 @@ var pbe = /* @__PURE__ */ j(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), mbe = (/* @__PURE__ */ j(((e, t) => {
- t.exports = pbe();
+})), kbe = (/* @__PURE__ */ j(((e, t) => {
+ t.exports = Obe();
})))(), Q4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", $4 = null, e3 = null, t3 = (e) => {
if (e === $4 && Array.isArray(e3)) return e3;
var t = [];
return I.Children.forEach(e, (e) => {
- lz(e) || ((0, mbe.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
+ cz(e) || ((0, kbe.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
}), e3 = t, $4 = e, t;
};
function n3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Q4(e)) : [Q4(t)], t3(e).forEach((e) => {
- var t = ZR(e, "type.displayName") || ZR(e, "type.name");
+ var t = XR(e, "type.displayName") || XR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var r3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function hbe(e) {
+function Abe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -57523,7 +57991,7 @@ function hbe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var gbe, _be, vbe, ybe, bbe;
+var jbe, Mbe, Nbe, Pbe, Fbe;
function i3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -57538,26 +58006,26 @@ function a3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? i3(Object(n), !0).forEach(function(t) {
- xbe(e, t, n[t]);
+ Ibe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xbe(e, t, n) {
- return (t = Sbe(t)) in e ? Object.defineProperty(e, t, {
+function Ibe(e, t, n) {
+ return (t = Lbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sbe(e) {
- var t = Cbe(e, "string");
+function Lbe(e) {
+ var t = Rbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cbe(e, t) {
+function Rbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57580,29 +58048,29 @@ function s3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var c3 = (e, t, n, r, i) => {
- var a = n - r, o = $R(gbe ||= s3([
+ var a = n - r, o = QR(jbe ||= s3([
"M ",
",",
""
]), e, t);
- return o += $R(_be ||= s3([
+ return o += QR(Mbe ||= s3([
"L ",
",",
""
- ]), e + n, t), o += $R(vbe ||= s3([
+ ]), e + n, t), o += QR(Nbe ||= s3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += $R(ybe ||= s3([
+ ]), e + n - a / 2, t + i), o += QR(Pbe ||= s3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += $R(bbe ||= s3([
+ ]), e + n - a / 2 - r, t + i), o += QR(Fbe ||= s3([
"L ",
",",
" Z"
]), e, t), o;
-}, wbe = {
+}, zbe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -57612,8 +58080,8 @@ var c3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, Tbe = (e) => {
- var t = Sz(e, wbe), { 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 = Vq(e, "trapezoid-");
+}, Bbe = (e) => {
+ var t = xz(e, zbe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = Gq(e, "trapezoid-");
if ((0, I.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -57621,12 +58089,12 @@ var c3 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Um("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", o3({}, JL(t), {
+ if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", o3({}, qL(t), {
className: x,
d: c3(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = cq(["strokeDasharray"], l, c);
- return /*#__PURE__*/ I.createElement(Bq, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = fq(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ I.createElement(Wq, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -57635,35 +58103,35 @@ var c3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = sz(S, i, e), c = sz(C, a, e), l = sz(w, o, e), u = sz(T, n, e), d = sz(E, r, e);
+ var s = oz(S, i, e), c = oz(C, a, e), l = oz(w, o, e), u = oz(T, n, e), d = oz(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ I.createElement("path", o3({}, JL(t), {
+ return /*#__PURE__*/ I.createElement("path", o3({}, qL(t), {
className: x,
d: c3(u, d, s, c, l),
ref: f,
style: a3(a3({}, p), t.style)
}));
});
-}, Ebe = [
+}, Vbe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function Dbe(e, t) {
+function Hbe(e, t) {
if (e == null) return {};
- var n, r, i = Obe(e, t);
+ var n, r, i = Ube(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 Obe(e, t) {
+function Ube(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57686,26 +58154,26 @@ function u3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? l3(Object(n), !0).forEach(function(t) {
- kbe(e, t, n[t]);
+ Wbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kbe(e, t, n) {
- return (t = Abe(t)) in e ? Object.defineProperty(e, t, {
+function Wbe(e, t, n) {
+ return (t = Gbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Abe(e) {
- var t = jbe(e, "string");
+function Gbe(e) {
+ var t = Kbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jbe(e, t) {
+function Kbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57715,34 +58183,34 @@ function jbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Mbe(e, t) {
+function qbe(e, t) {
return u3(u3({}, t), e);
}
-function Nbe(e, t) {
+function Jbe(e, t) {
return e === "symbols";
}
function d3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ I.createElement(dJ, n);
- case "trapezoid": return /*#__PURE__*/ I.createElement(Tbe, n);
- case "sector": return /*#__PURE__*/ I.createElement(HJ, n);
+ case "rectangle": return /*#__PURE__*/ I.createElement(hJ, n);
+ case "trapezoid": return /*#__PURE__*/ I.createElement(Bbe, n);
+ case "sector": return /*#__PURE__*/ I.createElement(KJ, n);
case "symbols":
- if (Nbe(t, n)) return /*#__PURE__*/ I.createElement(_z, n);
+ if (Jbe(t, n)) return /*#__PURE__*/ I.createElement(gz, n);
break;
- case "curve": return /*#__PURE__*/ I.createElement(UK, n);
+ case "curve": return /*#__PURE__*/ I.createElement(qK, n);
default: return null;
}
}
-function Pbe(e) {
+function Ybe(e) {
return /*#__PURE__*/ (0, I.isValidElement)(e) ? e.props : e;
}
function f3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Dbe(e, Ebe), o;
- if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, u3(u3({}, a), Pbe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Hbe(e, Vbe), o;
+ if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, u3(u3({}, a), Ybe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (hbe(t) && typeof t != "boolean") {
- var s = Mbe(t, a);
+ else if (Abe(t) && typeof t != "boolean") {
+ var s = qbe(t, a);
o = /*#__PURE__*/ I.createElement(d3, {
shapeType: n,
elementProps: s
@@ -57754,12 +58222,12 @@ function f3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ I.createElement(QL, { className: r }, o) : /*#__PURE__*/ I.createElement(QL, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ I.createElement(ZL, { className: r }, o) : /*#__PURE__*/ I.createElement(ZL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var p3 = (e, t, n) => {
- var r = Yz();
+ var r = Jz();
return (i, a) => (o) => {
e?.(i, a, o), r(n0({
activeIndex: String(a),
@@ -57769,14 +58237,14 @@ var p3 = (e, t, n) => {
}));
};
}, m3 = (e) => {
- var t = Yz();
+ var t = Jz();
return (n, r) => (i) => {
- e?.(n, r, i), t(bge());
+ e?.(n, r, i), t(Fge());
};
}, h3 = (e, t, n) => {
- var r = Yz();
+ var r = Jz();
return (i, a) => (o) => {
- e?.(i, a, o), r(xge({
+ e?.(i, a, o), r(Ige({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -57787,9 +58255,9 @@ var p3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function g3(e) {
- var { tooltipEntrySettings: t } = e, n = Yz(), r = kU(), i = (0, I.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = Jz(), r = NU(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(gge(t)) : i.current !== t && n(_ge({
+ r || (i.current === null ? n(jge(t)) : i.current !== t && n(Mge({
prev: i.current,
next: t
})), i.current = t);
@@ -57798,15 +58266,15 @@ function g3(e) {
n,
r
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(vge(i.current)), null);
+ i.current &&= (n(Nge(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function _3(e) {
- var { legendPayload: t } = e, n = Yz(), r = kU(), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = Jz(), r = NU(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(hG(t)) : i.current !== t && n(gG({
+ r || (i.current === null ? n(yG(t)) : i.current !== t && n(bG({
prev: i.current,
next: t
})), i.current = t);
@@ -57815,13 +58283,13 @@ function _3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(_G(i.current)), null);
+ i.current &&= (n(xG(i.current)), null);
}, [n]), null;
}
function v3(e) {
- var { legendPayload: t } = e, n = Yz(), r = Q(lW), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = Jz(), r = Q(pW), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(hG(t)) : i.current !== t && n(gG({
+ (r === "centric" || r === "radial") && (i.current === null ? n(yG(t)) : i.current !== t && n(bG({
prev: i.current,
next: t
})), i.current = t);
@@ -57830,27 +58298,27 @@ function v3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(_G(i.current)), null);
+ i.current &&= (n(xG(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var Fbe = I.useId ?? (() => {
- var [e] = I.useState(() => iz("uid-"));
+var Xbe = I.useId ?? (() => {
+ var [e] = I.useState(() => rz("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function Ibe(e, t) {
- var n = Fbe();
+function Zbe(e, t) {
+ var n = Xbe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var Lbe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
- var { id: t, type: n, children: r } = e, i = Ibe(`recharts-${n}`, t);
- return /*#__PURE__*/ I.createElement(Lbe.Provider, { value: i }, r(i));
-}, b3 = RV({
+var Qbe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = Zbe(`recharts-${n}`, t);
+ return /*#__PURE__*/ I.createElement(Qbe.Provider, { value: i }, r(i));
+}, b3 = HV({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -57859,79 +58327,79 @@ var Lbe = /*#__PURE__*/ (0, I.createContext)(void 0), y3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(dG(t.payload));
+ e.cartesianItems.push(hG(t.payload));
},
- prepare: AV()
+ prepare: kV()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).cartesianItems.indexOf(dG(n));
- i > -1 && (e.cartesianItems[i] = dG(r));
+ var { prev: n, next: r } = t.payload, i = bV(e).cartesianItems.indexOf(hG(n));
+ i > -1 && (e.cartesianItems[i] = hG(r));
},
- prepare: AV()
+ prepare: kV()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = xV(e).cartesianItems.indexOf(dG(t.payload));
+ var n = bV(e).cartesianItems.indexOf(hG(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: AV()
+ prepare: kV()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(dG(t.payload));
+ e.polarItems.push(hG(t.payload));
},
- prepare: AV()
+ prepare: kV()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = xV(e).polarItems.indexOf(dG(t.payload));
+ var n = bV(e).polarItems.indexOf(hG(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: AV()
+ prepare: kV()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xV(e).polarItems.indexOf(dG(n));
- i > -1 && (e.polarItems[i] = dG(r));
+ var { prev: n, next: r } = t.payload, i = bV(e).polarItems.indexOf(hG(n));
+ i > -1 && (e.polarItems[i] = hG(r));
},
- prepare: AV()
+ prepare: kV()
}
}
-}), { addCartesianGraphicalItem: Rbe, replaceCartesianGraphicalItem: zbe, removeCartesianGraphicalItem: Bbe, addPolarGraphicalItem: Vbe, removePolarGraphicalItem: Hbe, replacePolarGraphicalItem: Ube } = b3.actions, Wbe = b3.reducer, x3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Yz(), n = (0, I.useRef)(null);
+}), { addCartesianGraphicalItem: $be, replaceCartesianGraphicalItem: exe, removeCartesianGraphicalItem: txe, addPolarGraphicalItem: nxe, removePolarGraphicalItem: rxe, replacePolarGraphicalItem: ixe } = b3.actions, axe = b3.reducer, x3 = /*#__PURE__*/ (0, I.memo)((e) => {
+ var t = Jz(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(Rbe(e)) : n.current !== e && t(zbe({
+ n.current === null ? t($be(e)) : n.current !== e && t(exe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(Bbe(n.current)), null);
+ n.current &&= (t(txe(n.current)), null);
}, [t]), null;
}), S3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Yz(), n = (0, I.useRef)(null);
+ var t = Jz(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(Vbe(e)) : n.current !== e && t(Ube({
+ n.current === null ? t(nxe(e)) : n.current !== e && t(ixe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(Hbe(n.current)), null);
+ n.current &&= (t(rxe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function Gbe(e) {
+function oxe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function Kbe(e) {
- if (!(!Oz(e) || e.length === 0)) return Gbe(L4(e));
+function sxe(e) {
+ if (!(!Dz(e) || e.length === 0)) return oxe(L4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var qbe = ["points"];
+var cxe = ["points"];
function C3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -57946,26 +58414,26 @@ function w3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? C3(Object(n), !0).forEach(function(t) {
- Jbe(e, t, n[t]);
+ lxe(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 Jbe(e, t, n) {
- return (t = Ybe(t)) in e ? Object.defineProperty(e, t, {
+function lxe(e, t, n) {
+ return (t = uxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ybe(e) {
- var t = Xbe(e, "string");
+function uxe(e) {
+ var t = dxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Xbe(e, t) {
+function dxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57984,16 +58452,16 @@ function T3() {
return e;
}, T3.apply(null, arguments);
}
-function Zbe(e, t) {
+function fxe(e, t) {
if (e == null) return {};
- var n, r, i = Qbe(e, t);
+ var n, r, i = pxe(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 Qbe(e, t) {
+function pxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58002,20 +58470,20 @@ function Qbe(e, t) {
}
return n;
}
-function $be(e) {
+function mxe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, I.isValidElement)(t)) return /*#__PURE__*/ (0, I.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Um(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Zbe(a, qbe);
+ var i = Um(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = fxe(a, cxe);
return /*#__PURE__*/ I.createElement(v4, T3({}, s, { className: i }));
}
-function exe(e, t) {
+function hxe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function E3(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = SY.scatter } = e;
- if (!exe(t, n)) return null;
- var u = r3(n), d = uue(n), f = t.map((e, r) => {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = EY.scatter } = e;
+ if (!hxe(t, n)) return null;
+ var u = r3(n), d = Eue(n), f = t.map((e, r) => {
var s = w3(w3(w3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -58025,14 +58493,14 @@ function E3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ I.createElement($be, {
+ return /*#__PURE__*/ I.createElement(mxe, {
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(QL, T3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(ZL, T3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -58050,26 +58518,26 @@ function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? D3(Object(n), !0).forEach(function(t) {
- txe(e, t, n[t]);
+ gxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function txe(e, t, n) {
- return (t = nxe(t)) in e ? Object.defineProperty(e, t, {
+function gxe(e, t, n) {
+ return (t = _xe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nxe(e) {
- var t = rxe(e, "string");
+function _xe(e) {
+ var t = vxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rxe(e, t) {
+function vxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58079,7 +58547,7 @@ function rxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var k3 = RV({
+var k3 = HV({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -58089,60 +58557,60 @@ var k3 = RV({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = dG(t.payload);
+ e.xAxis[t.payload.id] = hG(t.payload);
},
- prepare: AV()
+ prepare: kV()
},
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] = dG(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = hG(r));
},
- prepare: AV()
+ prepare: kV()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: AV()
+ prepare: kV()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = dG(t.payload);
+ e.yAxis[t.payload.id] = hG(t.payload);
},
- prepare: AV()
+ prepare: kV()
},
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] = dG(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = hG(r));
},
- prepare: AV()
+ prepare: kV()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: AV()
+ prepare: kV()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = dG(t.payload);
+ e.zAxis[t.payload.id] = hG(t.payload);
},
- prepare: AV()
+ prepare: kV()
},
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] = dG(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = hG(r));
},
- prepare: AV()
+ prepare: kV()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: AV()
+ prepare: kV()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -58157,15 +58625,15 @@ var k3 = RV({
}
}
}
-}), { addXAxis: ixe, replaceXAxis: axe, removeXAxis: oxe, addYAxis: sxe, replaceYAxis: cxe, removeYAxis: lxe, addZAxis: uxe, replaceZAxis: dxe, removeZAxis: fxe, updateYAxisWidth: pxe } = k3.actions, mxe = k3.reducer, hxe = $([
- $([TU], (e) => ({
+}), { addXAxis: yxe, replaceXAxis: bxe, removeXAxis: xxe, addYAxis: Sxe, replaceYAxis: Cxe, removeYAxis: wxe, addZAxis: Txe, replaceZAxis: Exe, removeZAxis: Dxe, updateYAxisWidth: Oxe } = k3.actions, kxe = k3.reducer, Axe = $([
+ $([kU], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- cU,
- lU
+ fU,
+ pU
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -58173,7 +58641,7 @@ var k3 = RV({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), A3 = () => Q(hxe), gxe = () => Q(Xge);
+}), A3 = () => Q(Axe), jxe = () => Q(d_e);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function j3(e, t) {
@@ -58190,26 +58658,26 @@ function M3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j3(Object(n), !0).forEach(function(t) {
- _xe(e, t, n[t]);
+ Mxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _xe(e, t, n) {
- return (t = vxe(t)) in e ? Object.defineProperty(e, t, {
+function Mxe(e, t, n) {
+ return (t = Nxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vxe(e) {
- var t = yxe(e, "string");
+function Nxe(e) {
+ var t = Pxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yxe(e, t) {
+function Pxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58219,7 +58687,7 @@ function yxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bxe = (e) => {
+var Fxe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = M3(M3(M3({}, {
@@ -58233,17 +58701,17 @@ var bxe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), qL(i)), yz(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(QL, {
+ }), KL(i)), vz(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
+ return /*#__PURE__*/ I.createElement(ZL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function N3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = SY.activeDot } = e, s = Q(P0), c = gxe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = EY.activeDot } = e, s = Q(P0), c = jxe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return lz(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(bxe, {
+ return cz(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(Fxe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -58268,26 +58736,26 @@ function F3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? P3(Object(n), !0).forEach(function(t) {
- xxe(e, t, n[t]);
+ Ixe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xxe(e, t, n) {
- return (t = Sxe(t)) in e ? Object.defineProperty(e, t, {
+function Ixe(e, t, n) {
+ return (t = Lxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sxe(e) {
- var t = Cxe(e, "string");
+function Lxe(e) {
+ var t = Rxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cxe(e, t) {
+function Rxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58297,16 +58765,16 @@ function Cxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var I3 = (e, t) => O4(e, "radiusAxis", t), wxe = $([I3], (e) => {
+var I3 = (e, t) => O4(e, "radiusAxis", t), zxe = $([I3], (e) => {
if (e != null) return { scale: e };
-}), Txe = $([FY, I3], (e, t) => {
+}), Bxe = $([zY, I3], (e, t) => {
if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
-}), Exe = (e, t, n, r) => A4(e, "radiusAxis", t, r), L3 = (e, t, n) => PY(e, n), R3 = (e, t, n) => O4(e, "angleAxis", n), Dxe = $([L3, R3], (e, t) => {
+}), Vxe = (e, t, n, r) => A4(e, "radiusAxis", t, r), L3 = (e, t, n) => RY(e, n), R3 = (e, t, n) => O4(e, "angleAxis", n), Hxe = $([L3, R3], (e, t) => {
if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
-}), Oxe = (e, t, n, r) => A4(e, "angleAxis", n, r), kxe = $([
+}), Uxe = (e, t, n, r) => A4(e, "angleAxis", n, r), Wxe = $([
L3,
R3,
- WY
+ JY
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -58315,30 +58783,30 @@ var I3 = (e, t) => O4(e, "radiusAxis", t), wxe = $([I3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), Axe = (e, t, n, r, i) => i, jxe = $([
- lW,
- Txe,
- Exe,
- Dxe,
- Oxe
-], (e, t, n, r, i) => HH(e, "radiusAxis") ? rU(t, n, !1) : rU(r, i, !1)), Mxe = $([
- wxe,
- kxe,
- JJ,
- $([y4, Axe], (e, t) => {
+}), Gxe = (e, t, n, r, i) => i, Kxe = $([
+ pW,
+ Bxe,
+ Vxe,
+ Hxe,
+ Uxe
+], (e, t, n, r, i) => KH(e, "radiusAxis") ? sU(t, n, !1) : sU(r, i, !1)), qxe = $([
+ zxe,
+ Wxe,
+ QJ,
+ $([y4, Gxe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- jxe
+ Kxe
], (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 Hxe({
+ if (e != null && t != null && a != null && i != null && r != null) return rSe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), Nxe = ["id"];
+}), Jxe = ["id"];
function z3() {
return z3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -58362,26 +58830,26 @@ function V3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B3(Object(n), !0).forEach(function(t) {
- Pxe(e, t, n[t]);
+ Yxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Pxe(e, t, n) {
- return (t = Fxe(t)) in e ? Object.defineProperty(e, t, {
+function Yxe(e, t, n) {
+ return (t = Xxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fxe(e) {
- var t = Ixe(e, "string");
+function Xxe(e) {
+ var t = Zxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ixe(e, t) {
+function Zxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58391,16 +58859,16 @@ function Ixe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Lxe(e, t) {
+function Qxe(e, t) {
if (e == null) return {};
- var n, r, i = Rxe(e, t);
+ var n, r, i = $xe(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 Rxe(e, t) {
+function $xe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58412,27 +58880,27 @@ function Rxe(e, t) {
function H3(e, t) {
return e && e !== "none" ? e : t;
}
-var zxe = (e) => {
+var eSe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: H3(r, i),
- value: aU(n, t),
+ value: lU(n, t),
payload: e
}];
-}, Bxe = /*#__PURE__*/ I.memo((e) => {
+}, tSe = /*#__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: fz,
+ getPosition: dz,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: aU(a, t),
+ name: lU(a, t),
hide: o,
type: s,
color: H3(n, i),
@@ -58442,8 +58910,8 @@ var zxe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: l });
});
-function Vxe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = KL(Lxe(n, Nxe));
+function nSe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = GL(Qxe(n, Jxe));
return /*#__PURE__*/ I.createElement(E3, {
points: t,
dot: r,
@@ -58453,11 +58921,11 @@ function Vxe(e) {
baseProps: o
});
}
-function Hxe(e) {
+function rSe(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 = BH(e, n.dataKey, r), d = BH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Kbe(d) : d, m = lz(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, bJ(o, s, m, f)), {}, {
+ var a = WH(e, n.dataKey, r), d = WH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? sxe(d) : d, m = cz(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, wJ(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -58470,8 +58938,8 @@ function Hxe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = lz(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(V3(V3({}, e), {}, { radius: r }, bJ(o, s, r, e.angle)));
+ var n = e.value[0], r = cz(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(V3(V3({}, e), {}, { radius: r }, wJ(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -58479,7 +58947,7 @@ function Hxe(e) {
baseLinePoints: d
};
}
-function Uxe(e) {
+function iSe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -58499,10 +58967,10 @@ function Uxe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, r);
}
-function Wxe(e) {
+function aSe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, z3({}, JL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, z3({}, qL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -58515,7 +58983,7 @@ function Wxe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ I.createElement(QL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(Vxe, {
+ return /*#__PURE__*/ I.createElement(ZL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(nSe, {
props: r,
points: t
}));
@@ -58523,23 +58991,23 @@ function Wxe(e) {
var U3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? V3(V3({}, r), {}, {
- x: sz(a.x, r.x, n),
- y: sz(a.y, r.y, n)
+ x: oz(a.x, r.x, n),
+ y: oz(a.y, r.y, n)
}) : V3(V3({}, r), {}, {
- x: sz(r.cx, r.x, n),
- y: sz(r.cy, r.y, n)
+ x: oz(r.cx, r.x, n),
+ y: oz(r.cy, r.y, n)
});
};
-function Gxe(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 = Vq(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
+function oSe(e) {
+ var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = Gq(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, I.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ I.createElement(Uxe, {
+ return /*#__PURE__*/ I.createElement(iSe, {
showLabels: y,
points: i
- }, /*#__PURE__*/ I.createElement(Bq, {
+ }, /*#__PURE__*/ I.createElement(Wq, {
animationId: g,
begin: s,
duration: c,
@@ -58550,22 +59018,22 @@ function Gxe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(U3(f, m, e)), s = e === 1 ? a : a?.map(U3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(Wxe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(aSe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function Kxe(e) {
+function sSe(e) {
var t = (0, I.useRef)(void 0), n = (0, I.useRef)(void 0);
- return /*#__PURE__*/ I.createElement(Gxe, {
+ return /*#__PURE__*/ I.createElement(oSe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var qxe = {
+var cSe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -58577,29 +59045,29 @@ var qxe = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: SY.area
+ zIndex: EY.area
};
-function Jxe(e) {
+function lSe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Um("recharts-radar", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: i }, /*#__PURE__*/ I.createElement(Kxe, e)), /*#__PURE__*/ I.createElement(N3, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: i }, /*#__PURE__*/ I.createElement(sSe, e)), /*#__PURE__*/ I.createElement(N3, {
points: r,
mainColor: H3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function Yxe(e) {
- var t = kU(), n = Q((n) => Mxe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ I.createElement(Jxe, z3({}, e, {
+function uSe(e) {
+ var t = NU(), n = Q((n) => qxe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ I.createElement(lSe, z3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function W3(e) {
- var t = Sz(e, qxe);
+ var t = xz(e, cSe);
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "radar"
@@ -58611,7 +59079,7 @@ function W3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ I.createElement(v3, { legendPayload: zxe(t) }), /*#__PURE__*/ I.createElement(Bxe, {
+ }), /*#__PURE__*/ I.createElement(v3, { legendPayload: eSe(t) }), /*#__PURE__*/ I.createElement(tSe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -58620,7 +59088,7 @@ function W3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ I.createElement(Yxe, z3({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(uSe, z3({}, t, { id: e }))));
}
W3.displayName = "Radar";
//#endregion
@@ -58644,9 +59112,9 @@ function q3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var J3 = (e, t, n) => {
var r = n ?? e;
- if (!lz(r)) return az(r, t, 0);
+ if (!cz(r)) return iz(r, t, 0);
}, Y3 = (e, t, n) => {
- var r = {}, i = e.filter(YY), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ var r = {}, i = e.filter($Y), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
@@ -58679,26 +59147,26 @@ function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X3(Object(n), !0).forEach(function(t) {
- Xxe(e, t, n[t]);
+ dSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xxe(e, t, n) {
- return (t = Zxe(t)) in e ? Object.defineProperty(e, t, {
+function dSe(e, t, n) {
+ return (t = fSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zxe(e) {
- var t = Qxe(e, "string");
+function fSe(e) {
+ var t = pSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qxe(e, t) {
+function pSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58708,11 +59176,11 @@ function Qxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $xe(e, t, n, r, i) {
+function mSe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = az(e, n, 0, !0), s, c = [];
- if (NH(r[0]?.barSize)) {
+ var o = iz(e, n, 0, !0), s, c = [];
+ if (LH(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 = {
@@ -58731,11 +59199,11 @@ function $xe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = az(t, n, 0, !0);
+ var p = iz(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 = NH(i) ? Math.min(m, i) : m;
+ var h = LH(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -58749,10 +59217,10 @@ function $xe(e, t, n, r, i) {
}
}
var Q3 = (e, t, n, r, i, a, o) => {
- var s = lz(o) ? t : o, c = $xe(n, r, i === a ? a : i, e, s);
+ var s = cz(o) ? t : o, c = mSe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => Z3(Z3({}, e), {}, { position: Z3(Z3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, $3 = (e, t) => {
- var n = qY(t);
+ var n = ZY(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -58785,26 +59253,26 @@ function n6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? t6(Object(n), !0).forEach(function(t) {
- eSe(e, t, n[t]);
+ hSe(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 eSe(e, t, n) {
- return (t = tSe(t)) in e ? Object.defineProperty(e, t, {
+function hSe(e, t, n) {
+ return (t = gSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tSe(e) {
- var t = nSe(e, "string");
+function gSe(e) {
+ var t = _Se(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nSe(e, t) {
+function _Se(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58814,81 +59282,81 @@ function nSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var r6 = $([(e, t) => FY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
+var r6 = $([(e, t) => zY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
-}), i6 = (e, t) => gye(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => PY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), i6 = (e, t) => jye(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => RY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
}), o6 = (e, t, n) => A4(e, "angleAxis", n, !1), s6 = $([y4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), c6 = $([
- lW,
+ pW,
r6,
i6,
a6,
o6
-], (e, t, n, r, i) => HH(e, "radiusAxis") ? rU(t, n, !1) : rU(r, i, !1)), rSe = $([
+], (e, t, n, r, i) => KH(e, "radiusAxis") ? sU(t, n, !1) : sU(r, i, !1)), vSe = $([
a6,
r6,
- lW
+ pW
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return ZH({ numericAxis: r });
-}), iSe = (e, t, n, r, i) => i, aSe = (e, t, n, r, i) => n, oSe = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", sSe = $([$([
+ if (r != null && r.scale != null) return tU({ numericAxis: r });
+}), ySe = (e, t, n, r, i) => i, bSe = (e, t, n, r, i) => n, xSe = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", SSe = $([$([
$([
$([
- lW,
+ pW,
y4,
- aSe,
- oSe
+ bSe,
+ xSe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(u6)),
- mY,
+ vY,
() => void 0
], Y3),
- dY,
- fY,
- pY,
+ hY,
+ gY,
+ _Y,
$([
- lW,
- dY,
+ pW,
+ hY,
a6,
o6,
r6,
i6,
l6
], (e, t, n, r, i, a, o) => {
- var s = lz(o) ? t : o;
- return e === "centric" ? rU(n, r, !0) ?? s ?? 0 : rU(i, a, !0) ?? s ?? 0;
+ var s = cz(o) ? t : o;
+ return e === "centric" ? sU(n, r, !0) ?? s ?? 0 : sU(i, a, !0) ?? s ?? 0;
}),
c6,
l6
-], Q3), s6], e6), d6 = $([b4], (e) => e.filter(u6).filter(YY)), f6 = $([
+], Q3), s6], e6), d6 = $([b4], (e) => e.filter(u6).filter($Y)), f6 = $([
$([
d6,
- JJ,
+ QJ,
n1
- ], JY),
+ ], QY),
d6,
- hY,
- gY
-], i1), cSe = $([
+ yY,
+ bY
+], i1), CSe = $([
a6,
o6,
r6,
i6,
- qJ,
+ ZJ,
s6,
c6,
- lW,
- rSe,
- WY,
- iSe,
- sSe,
- $([(e, t, n) => lW(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
+ pW,
+ vSe,
+ JY,
+ ySe,
+ SSe,
+ $([(e, t, n) => pW(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return TSe({
+ return BSe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -58909,7 +59377,7 @@ var r6 = $([(e, t) => FY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), lSe = $([JJ, (e, t) => t], (e, t) => {
+}), wSe = $([QJ, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -58923,20 +59391,20 @@ var r6 = $([(e, t) => FY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function p6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && NH(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && LH(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var uSe = [
+var TSe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], dSe = [
+], ESe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], fSe = ["value", "background"];
+], DSe = ["value", "background"];
function m6() {
return m6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -58960,26 +59428,26 @@ function g6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h6(Object(n), !0).forEach(function(t) {
- pSe(e, t, n[t]);
+ OSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pSe(e, t, n) {
- return (t = mSe(t)) in e ? Object.defineProperty(e, t, {
+function OSe(e, t, n) {
+ return (t = kSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mSe(e) {
- var t = hSe(e, "string");
+function kSe(e) {
+ var t = ASe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hSe(e, t) {
+function ASe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58991,14 +59459,14 @@ function hSe(e, t) {
}
function _6(e, t) {
if (e == null) return {};
- var n, r, i = gSe(e, t);
+ var n, r, i = jSe(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 gSe(e, t) {
+function jSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59008,7 +59476,7 @@ function gSe(e, t) {
return n;
}
var v6 = [];
-function _Se(e) {
+function MSe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -59025,15 +59493,15 @@ function _Se(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ I.createElement(iye, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(yye, { value: t ? i : void 0 }, r);
}
-function vSe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, uSe), l = KL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, dSe), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ I.createElement(_Se, {
+function NSe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, TSe), l = GL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, ESe), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ I.createElement(MSe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), bz(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), yz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -59045,18 +59513,18 @@ function vSe(e) {
index: t
});
return n ? /*#__PURE__*/ I.createElement(t2, {
- zIndex: SY.activeBar,
+ zIndex: EY.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
}, /*#__PURE__*/ I.createElement(q3, f)) : /*#__PURE__*/ I.createElement(q3, m6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }), n.children);
}
-function ySe(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = Vq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
+function PSe(e) {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = Gq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, I.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ I.createElement(Bq, {
+ return /*#__PURE__*/ I.createElement(Wq, {
animationId: u,
begin: a,
duration: o,
@@ -59069,34 +59537,34 @@ function ySe(e) {
var i = e === 1 ? r : (r ?? v6).map((t, n) => {
var r = d && d[n];
if (r) return g6(g6({}, t), {}, {
- startAngle: sz(r.startAngle, t.startAngle, e),
- endAngle: sz(r.endAngle, t.endAngle, e)
+ startAngle: oz(r.startAngle, t.startAngle, e),
+ endAngle: oz(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return g6(g6({}, t), {}, { endAngle: sz(a, i, e) });
+ return g6(g6({}, t), {}, { endAngle: oz(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(vSe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(NSe, {
sectors: i ?? v6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function bSe(e) {
+function FSe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(ySe, {
+ return /*#__PURE__*/ I.createElement(PSe, {
props: e,
previousSectorsRef: t
});
}
-function xSe(e) {
- var t = Q((t) => lSe(t, e.legendType));
+function ISe(e) {
+ var t = Q((t) => wSe(t, e.legendType));
return /*#__PURE__*/ I.createElement(v3, { legendPayload: t ?? [] });
}
-var SSe = /*#__PURE__*/ I.memo((e) => {
+var LSe = /*#__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: fz,
+ getPosition: dz,
settings: {
graphicalItemId: l,
stroke: r,
@@ -59104,7 +59572,7 @@ var SSe = /*#__PURE__*/ I.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: aU(a, t),
+ name: lU(a, t),
hide: o,
type: c,
color: s,
@@ -59112,14 +59580,14 @@ var SSe = /*#__PURE__*/ I.memo((e) => {
}
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: u });
-}), CSe = class extends I.PureComponent {
+}), RSe = class extends I.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = qL(this.props.background);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p6(this.props.background, SY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = _6(e, fSe);
+ var { cornerRadius: t } = this.props, n = KL(this.props.background);
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: p6(this.props.background, EY.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = _6(e, DSe);
if (!a) return null;
- var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), bz(this.props, e, r)), {}, {
+ var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), yz(this.props, e, r)), {}, {
index: r,
className: Um("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -59132,17 +59600,17 @@ var SSe = /*#__PURE__*/ I.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Um("recharts-area", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: i }, r && /*#__PURE__*/ I.createElement(QL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(QL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(bSe, this.props))));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: i }, r && /*#__PURE__*/ I.createElement(ZL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(ZL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(FSe, this.props))));
}
};
-function wSe(e) {
+function zSe(e) {
var t = I.useMemo(() => n3(e.children, v2), [e.children]), n = I.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: JH(e.stackId),
+ stackId: QH(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -59157,8 +59625,8 @@ function wSe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => cSe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(SSe, {
+ ]), r = Q((r) => CSe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(LSe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -59168,7 +59636,7 @@ function wSe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ I.createElement(CSe, m6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ I.createElement(RSe, m6({}, e, { sectors: r })));
}
var y6 = {
angleAxisId: 0,
@@ -59185,14 +59653,14 @@ var y6 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: SY.bar
+ zIndex: EY.bar
};
-function TSe(e) {
+function BSe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? v6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = GH(n[r + t], i) : (b = BH(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 = XH({
+ if (n ? b = YH(n[r + t], i) : (b = WH(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = eU({
axis: c,
ticks: l,
bandSize: u,
@@ -59203,7 +59671,7 @@ function TSe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = ez(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = $R(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -59215,7 +59683,7 @@ function TSe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = XH({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = eU({
axis: f,
ticks: g,
bandSize: u,
@@ -59226,7 +59694,7 @@ function TSe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = ez(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = $R(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -59243,7 +59711,7 @@ function TSe(e) {
});
}
function b6(e) {
- var t = Sz(e, y6);
+ var t = xz(e, y6);
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "radialBar"
@@ -59255,17 +59723,17 @@ function b6(e) {
hide: t.hide ?? y6.hide,
angleAxisId: t.angleAxisId ?? y6.angleAxisId,
radiusAxisId: t.radiusAxisId ?? y6.radiusAxisId,
- stackId: JH(t.stackId),
+ stackId: QH(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ I.createElement(xSe, t), /*#__PURE__*/ I.createElement(wSe, m6({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(ISe, t), /*#__PURE__*/ I.createElement(zSe, m6({}, t, { id: e }))));
}
b6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var x6 = (e) => {
- var { chartData: t } = e, n = Yz(), r = kU();
+ var { chartData: t } = e, n = Jz(), r = NU();
return (0, I.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
n(f2(void 0));
}), [
@@ -59284,13 +59752,13 @@ var x6 = (e) => {
bottom: 0,
left: 0
}
-}, C6 = RV({
+}, C6 = HV({
name: "brush",
initialState: S6,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? S6 : t.payload;
} }
-}), { setBrushSettings: ESe } = C6.actions, DSe = C6.reducer, OSe = (e, t) => {
+}), { setBrushSettings: VSe } = C6.actions, HSe = C6.reducer, USe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -59298,9 +59766,9 @@ var x6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, kSe = (e) => {
+}, WSe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return OSe({
+ return USe({
x: t,
y: n
}, {
@@ -59308,13 +59776,13 @@ var x6 = (e) => {
y: i
});
};
-function ASe(e) {
+function GSe(e) {
return (e % 180 + 180) % 180;
}
-var jSe = function(e) {
- var { width: t, height: n } = e, r = ASe(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 KSe = function(e) {
+ var { width: t, height: n } = e, r = GSe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, w6 = RV({
+}, w6 = HV({
name: "referenceElements",
initialState: {
dots: [],
@@ -59326,26 +59794,26 @@ var jSe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = xV(e).dots.findIndex((e) => e === t.payload);
+ var n = bV(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 = xV(e).areas.findIndex((e) => e === t.payload);
+ var n = bV(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(dG(t.payload));
+ e.lines.push(hG(t.payload));
},
removeLine: (e, t) => {
- var n = xV(e).lines.findIndex((e) => e === t.payload);
+ var n = bV(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: MSe, removeDot: NSe, addArea: PSe, removeArea: FSe, addLine: ISe, removeLine: LSe } = w6.actions, RSe = w6.reducer, T6 = /*#__PURE__*/ (0, I.createContext)(void 0), zSe = (e) => {
- var { children: t } = e, [n] = (0, I.useState)(`${iz("recharts")}-clip`), r = A3();
+}), { addDot: qSe, removeDot: JSe, addArea: YSe, removeArea: XSe, addLine: ZSe, removeLine: QSe } = w6.actions, $Se = w6.reducer, T6 = /*#__PURE__*/ (0, I.createContext)(void 0), eCe = (e) => {
+ var { children: t } = e, [n] = (0, I.useState)(`${rz("recharts")}-clip`), r = A3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ I.createElement(T6.Provider, { value: n }, /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: n }, /*#__PURE__*/ I.createElement("rect", {
@@ -59354,7 +59822,7 @@ var jSe = function(e) {
height: s,
width: o
}))), t);
-}, BSe = () => (0, I.useContext)(T6), VSe = class {
+}, tCe = () => (0, I.useContext)(T6), nCe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -59394,26 +59862,26 @@ function D6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E6(Object(n), !0).forEach(function(t) {
- HSe(e, t, n[t]);
+ rCe(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 HSe(e, t, n) {
- return (t = USe(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 USe(e) {
- var t = WSe(e, "string");
+function iCe(e) {
+ var t = aCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WSe(e, t) {
+function aCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59432,18 +59900,18 @@ function O6() {
return e;
}, O6.apply(null, arguments);
}
-var GSe = (e, t) => {
+var oCe = (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 (!NH(t.x1) || !NH(t.y1) || !NH(t.x2) || !NH(t.y2)) return null;
+ if (!LH(t.x1) || !LH(t.y1) || !LH(t.x2) || !LH(t.y2)) return null;
n = /*#__PURE__*/ I.createElement("line", O6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, KSe = (e, t, n, r, i, a) => {
+}, sCe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!NH(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!LH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -59452,9 +59920,9 @@ var GSe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, qSe = (e, t, n, r, i, a) => {
+}, cCe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!NH(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!LH(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -59463,7 +59931,7 @@ var GSe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, JSe = (e, t, n, r) => {
+}, lCe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -59472,43 +59940,43 @@ var GSe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, YSe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = rz(s);
- return rz(c) ? KSe(c, u, r, a, t, n) : d ? qSe(s, u, r, i, e, n) : l != null && l.length === 2 ? JSe(l, u, r, new VSe({
+}, uCe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = nz(s);
+ return nz(c) ? sCe(c, u, r, a, t, n) : d ? cCe(s, u, r, i, e, n) : l != null && l.length === 2 ? lCe(l, u, r, new nCe({
x: e,
y: t
})) : null;
};
-function XSe(e) {
- var t = Yz();
- return (0, I.useEffect)(() => (t(ISe(e)), () => {
- t(LSe(e));
+function dCe(e) {
+ var t = Jz();
+ return (0, I.useEffect)(() => (t(ZSe(e)), () => {
+ t(QSe(e));
})), null;
}
-function ZSe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = kU(), s = BSe(), 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 = rW();
+function fCe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = NU(), s = tCe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = sW();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = YSe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = uCe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, JL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, qL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = kSe({
+ }), x = WSe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(QL, { className: Um("recharts-reference-line", i) }, GSe(r, b), /*#__PURE__*/ I.createElement(Z2, O6({}, x, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-reference-line", i) }, oCe(r, b), /*#__PURE__*/ I.createElement(Z2, O6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ I.createElement(a4, { label: e.label }), e.children)));
}
-var QSe = {
+var pCe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -59518,18 +59986,18 @@ var QSe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: SY.line
+ zIndex: EY.line
};
function k6(e) {
- var t = Sz(e, QSe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(XSe, {
+ var t = xz(e, pCe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(dCe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ I.createElement(ZSe, t));
+ }), /*#__PURE__*/ I.createElement(fCe, t));
}
k6.displayName = "ReferenceLine";
//#endregion
@@ -59545,13 +60013,13 @@ function A6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function $Se(e, t, n) {
- return jSe({
+function mCe(e, t, n) {
+ return KSe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function eCe(e, t, n) {
+function hCe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -59566,12 +60034,12 @@ function j6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function tCe(e, t) {
+function gCe(e, t) {
return A6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function nCe(e, t, n, r, i) {
+function _Ce(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: A6(r, l) };
@@ -59580,7 +60048,7 @@ function nCe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function rCe(e, t, n, r, i) {
+function vCe(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++) {
@@ -59617,26 +60085,26 @@ function N6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M6(Object(n), !0).forEach(function(t) {
- iCe(e, t, n[t]);
+ yCe(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 iCe(e, t, n) {
- return (t = aCe(t)) in e ? Object.defineProperty(e, t, {
+function yCe(e, t, n) {
+ return (t = bCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aCe(e) {
- var t = oCe(e, "string");
+function bCe(e) {
+ var t = xCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oCe(e, t) {
+function xCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59646,7 +60114,7 @@ function oCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function sCe(e, t, n, r, i) {
+function SCe(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;
@@ -59659,7 +60127,7 @@ function sCe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function cCe(e, t, n, r, i, a) {
+function CCe(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];
@@ -59683,7 +60151,7 @@ function cCe(e, t, n, r, i, a) {
function P6(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || vK.isSsr) return tCe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || SK.isSsr) return gCe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
fontSize: t,
letterSpacing: n
@@ -59692,19 +60160,19 @@ function P6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? $Se(w2(i, {
+ return p === "width" ? mCe(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 ? ez(_.coordinate - g.coordinate) : 1, y = eCe(a, v, p);
- return c === "equidistantPreserveStart" ? nCe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? rCe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? cCe(v, y, h, i, o, c === "preserveStartEnd") : sCe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? $R(_.coordinate - g.coordinate) : 1, y = hCe(a, v, p);
+ return c === "equidistantPreserveStart" ? _Ce(v, y, h, i, o) : c === "equidistantPreserveEnd" ? vCe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? CCe(v, y, h, i, o, c === "preserveStartEnd") : SCe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var lCe = (e) => {
+var wCe = (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) => {
@@ -59717,7 +60185,7 @@ var lCe = (e) => {
return Math.round(l);
}
return 0;
-}, F6 = RV({
+}, F6 = HV({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -59726,14 +60194,14 @@ var lCe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = dG(i);
+ e[n][r] = hG(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: uCe, removeRenderedTicks: dCe } = F6.actions, fCe = F6.reducer, pCe = [
+}), { setRenderedTicks: TCe, removeRenderedTicks: ECe } = F6.actions, DCe = F6.reducer, OCe = [
"axisLine",
"width",
"height",
@@ -59743,16 +60211,16 @@ var lCe = (e) => {
"axisType",
"axisId"
];
-function mCe(e, t) {
+function kCe(e, t) {
if (e == null) return {};
- var n, r, i = hCe(e, t);
+ var n, r, i = ACe(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 hCe(e, t) {
+function ACe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59784,26 +60252,26 @@ function R6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L6(Object(n), !0).forEach(function(t) {
- gCe(e, t, n[t]);
+ jCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gCe(e, t, n) {
- return (t = _Ce(t)) in e ? Object.defineProperty(e, t, {
+function jCe(e, t, n) {
+ return (t = MCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Ce(e) {
- var t = vCe(e, "string");
+function MCe(e) {
+ var t = NCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vCe(e, t) {
+function NCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59835,12 +60303,12 @@ var z6 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: SY.axis
+ zIndex: EY.axis
};
-function yCe(e) {
+function PCe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = R6(R6(R6({}, c), KL(s)), {}, { fill: "none" });
+ var l = R6(R6(R6({}, c), GL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = R6(R6({}, l), {}, {
@@ -59858,9 +60326,9 @@ function yCe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ I.createElement("line", I6({}, l, { className: Um("recharts-cartesian-axis-line", ZR(s, "className")) }));
+ return /*#__PURE__*/ I.createElement("line", I6({}, l, { className: Um("recharts-cartesian-axis-line", XR(s, "className")) }));
}
-function bCe(e, t, n, r, i, a, o, s, c) {
+function FCe(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":
@@ -59887,14 +60355,14 @@ function bCe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function xCe(e, t) {
+function ICe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function SCe(e, t) {
+function LCe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -59902,19 +60370,19 @@ function SCe(e, t) {
default: return t ? "end" : "start";
}
}
-function CCe(e) {
+function RCe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Um(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ I.isValidElement(t)) i = /*#__PURE__*/ I.cloneElement(t, R6(R6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(R6(R6({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Um(o, z4(t))), i = /*#__PURE__*/ I.createElement(U2, I6({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Um(o, B4(t))), i = /*#__PURE__*/ I.createElement(U2, I6({}, n, { className: o }), r);
}
return i;
}
-function wCe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = Yz();
- return (0, I.useEffect)(() => r == null || n == null ? fz : (i(uCe({
+function zCe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = Jz();
+ return (0, I.useEffect)(() => r == null || n == null ? dz : (i(TCe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -59924,7 +60392,7 @@ function wCe(e) {
axisId: r,
axisType: n
})), () => {
- i(dCe({
+ i(ECe({
axisId: r,
axisType: n
}));
@@ -59935,15 +60403,15 @@ function wCe(e) {
n
]), null;
}
-var TCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = KL(b), E = qL(r), D = L2(T.textAnchor) ? T.textAnchor : xCe(u, d), O = SCe(u, d), k = {};
+var BCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = GL(b), E = KL(r), D = L2(T.textAnchor) ? T.textAnchor : ICe(u, d), O = LCe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = R6(R6({}, T), {}, { fill: "none" }, k), j = w.map((e) => R6({ entry: e }, bCe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = R6(R6({}, T), {}, { fill: "none" }, k), j = w.map((e) => R6({ entry: e }, FCe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ I.createElement(QL, {
+ return /*#__PURE__*/ I.createElement(ZL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ I.createElement("line", I6({}, A, n, { className: Um("recharts-cartesian-axis-tick-line", ZR(i, "className")) })));
+ }, i && /*#__PURE__*/ I.createElement("line", I6({}, A, n, { className: Um("recharts-cartesian-axis-tick-line", XR(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = R6(R6({}, R6(R6(R6(R6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -59956,26 +60424,26 @@ var TCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ I.createElement(QL, I6({
+ return /*#__PURE__*/ I.createElement(ZL, I6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, bz(x, n, t)), r && /*#__PURE__*/ I.createElement(CCe, {
+ }, yz(x, n, t)), r && /*#__PURE__*/ I.createElement(RCe, {
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(wCe, {
+ return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(zCe, {
ticks: w,
axisId: C,
axisType: S
- }), N.length > 0 && /*#__PURE__*/ I.createElement(t2, { zIndex: SY.label }, /*#__PURE__*/ I.createElement("g", {
+ }), N.length > 0 && /*#__PURE__*/ I.createElement(t2, { zIndex: EY.label }, /*#__PURE__*/ I.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), ECe = /*#__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 = mCe(e, pCe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
- (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => lCe({
+}), VCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = kCe(e, OCe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
+ (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => wCe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -59993,7 +60461,7 @@ var TCe = /*#__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(QL, { className: Um("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(yCe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(ZL, { className: Um("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(PCe, {
x: e.x,
y: e.y,
width: r,
@@ -60001,8 +60469,8 @@ var TCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: KL(e)
- }), /*#__PURE__*/ I.createElement(TCe, {
+ otherSvgProps: GL(e)
+ }), /*#__PURE__*/ I.createElement(BCe, {
ref: g,
axisType: c,
events: u,
@@ -60038,19 +60506,19 @@ var TCe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), B6 = /*#__PURE__*/ I.forwardRef((e, t) => {
- var n = Sz(e, z6);
- return /*#__PURE__*/ I.createElement(ECe, I6({}, n, { ref: t }));
+ var n = xz(e, z6);
+ return /*#__PURE__*/ I.createElement(VCe, I6({}, n, { ref: t }));
});
B6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var DCe = [
+var HCe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], OCe = ["offset"], kCe = ["xAxisId", "yAxisId"], ACe = ["xAxisId", "yAxisId"];
+], UCe = ["offset"], WCe = ["xAxisId", "yAxisId"], GCe = ["xAxisId", "yAxisId"];
function V6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60065,26 +60533,26 @@ function H6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V6(Object(n), !0).forEach(function(t) {
- jCe(e, t, n[t]);
+ KCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jCe(e, t, n) {
- return (t = MCe(t)) in e ? Object.defineProperty(e, t, {
+function KCe(e, t, n) {
+ return (t = qCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MCe(e) {
- var t = NCe(e, "string");
+function qCe(e) {
+ var t = JCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NCe(e, t) {
+function JCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60105,14 +60573,14 @@ function U6() {
}
function W6(e, t) {
if (e == null) return {};
- var n, r, i = PCe(e, t);
+ var n, r, i = YCe(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 PCe(e, t) {
+function YCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60121,7 +60589,7 @@ function PCe(e, t) {
}
return n;
}
-var FCe = (e) => {
+var XCe = (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;
@@ -60142,7 +60610,7 @@ function G6(e) {
if (/*#__PURE__*/ I.isValidElement(t)) r = /*#__PURE__*/ I.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = KL(W6(n, DCe)) ?? {}, { offset: u } = l, d = W6(l, OCe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = GL(W6(n, HCe)) ?? {}, { offset: u } = l, d = W6(l, UCe);
r = /*#__PURE__*/ I.createElement("line", U6({}, d, {
x1: i,
y1: a,
@@ -60154,10 +60622,10 @@ function G6(e) {
}
return r;
}
-function ICe(e) {
+function ZCe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = W6(e, kCe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, WCe), c = i.map((e, i) => {
var a = H6(H6({}, s), {}, {
x1: t,
y1: e,
@@ -60174,10 +60642,10 @@ function ICe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function LCe(e) {
+function QCe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = W6(e, ACe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, GCe), c = i.map((e, i) => {
var a = H6(H6({}, s), {}, {
x1: e,
y1: t,
@@ -60194,7 +60662,7 @@ function LCe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function RCe(e) {
+function $Ce(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);
@@ -60217,7 +60685,7 @@ function RCe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function zCe(e) {
+function ewe(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);
@@ -60240,10 +60708,10 @@ function zCe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var BCe = (e, t) => {
+var twe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return UH(P6(H6(H6(H6({}, z6), n), {}, {
- ticks: WH(n, !0),
+ return qH(P6(H6(H6(H6({}, z6), n), {}, {
+ ticks: JH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -60251,10 +60719,10 @@ var BCe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, VCe = (e, t) => {
+}, nwe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return UH(P6(H6(H6(H6({}, z6), n), {}, {
- ticks: WH(n, !0),
+ return qH(P6(H6(H6(H6({}, z6), n), {}, {
+ ticks: JH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -60262,7 +60730,7 @@ var BCe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, HCe = {
+}, rwe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -60274,17 +60742,17 @@ var BCe = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: SY.grid
+ zIndex: EY.grid
};
function K6(e) {
- var t = oW(), n = sW(), r = aW(), i = H6(H6({}, Sz(e, HCe)), {}, {
+ var t = uW(), n = dW(), r = lW(), i = H6(H6({}, xz(e, rwe)), {}, {
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 = kU(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
- if (!PH(l) || !PH(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || BCe, v = i.horizontalCoordinatesGenerator || VCe, { 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 = NU(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!RH(l) || !RH(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || twe, v = i.horizontalCoordinatesGenerator || nwe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? H6(H6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -60292,7 +60760,7 @@ function K6(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- FU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ zU(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 = _({
@@ -60301,9 +60769,9 @@ function K6(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- FU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ zU(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(FCe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(XCe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -60311,12 +60779,12 @@ function K6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ I.createElement(RCe, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(zCe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(ICe, U6({}, i, {
+ }), /*#__PURE__*/ I.createElement($Ce, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(ewe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(ZCe, U6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ I.createElement(LCe, U6({}, i, {
+ })), /*#__PURE__*/ I.createElement(QCe, U6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -60326,7 +60794,7 @@ function K6(e) {
K6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var q6 = RV({
+var q6 = HV({
name: "errorBars",
initialState: {},
reducers: {
@@ -60343,17 +60811,17 @@ var q6 = RV({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: UCe, replaceErrorBar: WCe, removeErrorBar: GCe } = q6.actions, KCe = q6.reducer, qCe = ["children"];
-function JCe(e, t) {
+}), { addErrorBar: iwe, replaceErrorBar: awe, removeErrorBar: owe } = q6.actions, swe = q6.reducer, cwe = ["children"];
+function lwe(e, t) {
if (e == null) return {};
- var n, r, i = YCe(e, t);
+ var n, r, i = uwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function YCe(e, t) {
+function uwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60362,7 +60830,7 @@ function YCe(e, t) {
}
return n;
}
-var XCe = /*#__PURE__*/ (0, I.createContext)({
+var dwe = /*#__PURE__*/ (0, I.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -60374,8 +60842,8 @@ var XCe = /*#__PURE__*/ (0, I.createContext)({
errorBarOffset: 0
});
function J6(e) {
- var { children: t } = e, n = JCe(e, qCe);
- return /*#__PURE__*/ I.createElement(XCe.Provider, { value: n }, t);
+ var { children: t } = e, n = lwe(e, cwe);
+ return /*#__PURE__*/ I.createElement(dwe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -60400,30 +60868,30 @@ function X6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), ZCe = $([
- lW,
+var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), fwe = $([
+ pW,
Z6,
$6,
Q6,
e8
-], (e, t, n, r, i) => HH(e, "xAxis") ? rU(t, r, !1) : rU(n, i, !1)), QCe = (e, t, n, r, i) => i;
-function $Ce(e) {
+], (e, t, n, r, i) => KH(e, "xAxis") ? sU(t, r, !1) : sU(n, i, !1)), pwe = (e, t, n, r, i) => i;
+function mwe(e) {
return e.type === "line";
}
-var ewe = $([
- lW,
+var hwe = $([
+ pW,
Z6,
$6,
Q6,
e8,
- $([H$, QCe], (e, t) => e.filter($Ce).find((e) => e.id === t)),
- ZCe,
- YJ
+ $([H$, pwe], (e, t) => e.filter(mwe).find((e) => e.id === t)),
+ fwe,
+ $J
], (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 bwe({
+ if (p != null) return Fwe({
layout: e,
xAxis: t,
yAxis: n,
@@ -60438,7 +60906,7 @@ var ewe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function t8(e) {
- var t = qL(e), n = 3, r = 2;
+ var t = KL(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), {
@@ -60453,13 +60921,13 @@ function t8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var twe = ["id"], nwe = [
+var gwe = ["id"], _we = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], rwe = [
+], vwe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -60498,26 +60966,26 @@ function i8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r8(Object(n), !0).forEach(function(t) {
- iwe(e, t, n[t]);
+ ywe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iwe(e, t, n) {
- return (t = awe(t)) in e ? Object.defineProperty(e, t, {
+function ywe(e, t, n) {
+ return (t = bwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function awe(e) {
- var t = owe(e, "string");
+function bwe(e) {
+ var t = xwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function owe(e, t) {
+function xwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60529,14 +60997,14 @@ function owe(e, t) {
}
function a8(e, t) {
if (e == null) return {};
- var n, r, i = swe(e, t);
+ var n, r, i = Swe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function swe(e, t) {
+function Swe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60545,27 +61013,27 @@ function swe(e, t) {
}
return n;
}
-var cwe = (e) => {
+var Cwe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: aU(n, t),
+ value: lU(n, t),
payload: e
}];
-}, lwe = /*#__PURE__*/ I.memo((e) => {
+}, wwe = /*#__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: fz,
+ getPosition: dz,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: aU(o, t),
+ name: lU(o, t),
hide: s,
type: l,
color: r,
@@ -60575,11 +61043,11 @@ var cwe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: d });
}), o8 = (e, t) => `${t}px ${e}px`;
-function uwe(e, t) {
+function Twe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var dwe = (e, t, n) => {
+var Ewe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return o8(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -60591,13 +61059,13 @@ var dwe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...uwe(n, i),
+ ...Twe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function fwe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = KL(a8(r, twe));
+function Dwe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = GL(a8(r, gwe));
return /*#__PURE__*/ I.createElement(E3, {
points: n,
dot: i,
@@ -60609,7 +61077,7 @@ function fwe(e) {
clipPathId: t
});
}
-function pwe(e) {
+function Owe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, I.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -60630,7 +61098,7 @@ function pwe(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function s8(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, JL(a8(a, nwe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = i8(i8({}, qL(a8(a, _we))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -60643,31 +61111,31 @@ function s8(e) {
return /*#__PURE__*/ I.createElement(I.Fragment, null, r?.length > 1 && /*#__PURE__*/ I.createElement(f3, n8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(fwe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(Dwe, {
points: r,
clipPathId: t,
props: a
}));
}
-function mwe(e) {
+function kwe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function hwe(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 = Vq(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
+function Awe(e) {
+ var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = Gq(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, I.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = mwe(r.current), E = (0, I.useRef)(0);
+ }, [g]), T = kwe(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(pwe, {
+ return /*#__PURE__*/ I.createElement(Owe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ I.createElement(Bq, {
+ }, n.children, /*#__PURE__*/ I.createElement(Wq, {
animationId: v,
begin: l,
duration: u,
@@ -60677,20 +61145,20 @@ function hwe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = sz(D, T + D, e), u = Math.min(l, T), d = c ? s ? dwe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
+ var l = oz(D, T + D, e), u = Math.min(l, T), d = c ? s ? Ewe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return i8(i8({}, t), {}, {
- x: sz(i.x, t.x, e),
- y: sz(i.y, t.y, e)
+ x: oz(i.x, t.x, e),
+ y: oz(i.y, t.y, e)
});
}
return f ? i8(i8({}, t), {}, {
- x: sz(p * 2, t.x, e),
- y: sz(m / 2, t.y, e)
+ x: oz(p * 2, t.x, e),
+ y: oz(m / 2, t.y, e)
}) : i8(i8({}, t), {}, {
x: t.x,
y: t.y
@@ -60713,9 +61181,9 @@ function hwe(e) {
});
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }));
}
-function gwe(e) {
+function jwe(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(hwe, {
+ return /*#__PURE__*/ I.createElement(Awe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -60723,17 +61191,17 @@ function gwe(e) {
pathRef: a
});
}
-var _we = (e, t) => ({
+var Mwe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: BH(e.payload, t)
-}), vwe = class extends I.Component {
+ errorVal: WH(e.payload, t)
+}), Nwe = class extends I.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
var p = Um("recharts-line", r), m = u, { r: h, strokeWidth: g } = t8(t), _ = r3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(QL, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(ZL, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -60746,9 +61214,9 @@ var _we = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: _we,
+ dataPointFormatter: Mwe,
errorBarOffset: 0
- }, /*#__PURE__*/ I.createElement(gwe, {
+ }, /*#__PURE__*/ I.createElement(jwe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ I.createElement(N3, {
@@ -60776,14 +61244,14 @@ var _we = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: SY.line,
+ zIndex: EY.line,
type: "linear"
};
-function ywe(e) {
- var t = Sz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, rwe), { needClip: _ } = Y6(p, m), v = A3(), y = uW(), b = kU(), x = Q((e) => ewe(e, p, m, b, h));
+function Pwe(e) {
+ var t = xz(e, c8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = a8(t, vwe), { needClip: _ } = Y6(p, m), v = A3(), y = mW(), b = NU(), x = Q((e) => hwe(e, p, m, b, h));
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(vwe, n8({}, g, {
+ return /*#__PURE__*/ I.createElement(Nwe, n8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -60807,23 +61275,23 @@ function ywe(e) {
needClip: _
}));
}
-function bwe(e) {
+function Fwe(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 = BH(e, o);
+ var l = WH(e, o);
if (t === "horizontal") return {
- x: YH({
+ x: $H({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (lz(l) ? null : r.scale.map(l)) ?? null,
+ y: (cz(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = lz(l) ? null : n.scale.map(l), d = YH({
+ var u = cz(l) ? null : n.scale.map(l), d = $H({
axis: r,
ticks: a,
bandSize: s,
@@ -60838,12 +61306,12 @@ function bwe(e) {
};
}).filter(Boolean);
}
-function xwe(e) {
- var t = Sz(e, c8), n = kU();
+function Iwe(e) {
+ var t = xz(e, c8), n = NU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: cwe(t) }), /*#__PURE__*/ I.createElement(lwe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: Cwe(t) }), /*#__PURE__*/ I.createElement(wwe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -60864,9 +61332,9 @@ function xwe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ I.createElement(ywe, n8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(Pwe, n8({}, t, { id: e }))));
}
-var l8 = /*#__PURE__*/ I.memo(xwe, LG);
+var l8 = /*#__PURE__*/ I.memo(Iwe, VG);
l8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -60878,36 +61346,36 @@ function d8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Swe = $([
- lW,
+var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Lwe = $([
+ pW,
f8,
m8,
p8,
h8
-], (e, t, n, r, i) => HH(e, "xAxis") ? rU(t, r, !1) : rU(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => HH(lW(e), "xAxis") ? "yAxis" : "xAxis", Cwe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), wwe = $([
- lW,
+], (e, t, n, r, i) => KH(e, "xAxis") ? sU(t, r, !1) : sU(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => KH(pW(e), "xAxis") ? "yAxis" : "xAxis", Rwe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), zwe = $([
+ pW,
f8,
m8,
p8,
h8,
- $([g8, (e, t, n) => a1(e, _8(e), Cwe(e, t), n)], (e, t) => {
+ $([g8, (e, t, n) => a1(e, _8(e), Rwe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = qY(e);
+ var { stackId: n } = e, r = ZY(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- XJ,
- Swe,
+ eY,
+ Lwe,
g8,
- xY
+ TY
], (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 Wwe({
+ if (m != null) return aTe({
layout: e,
xAxis: t,
yAxis: n,
@@ -60921,7 +61389,7 @@ var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), Twe = ["id"], Ewe = [
+}), Bwe = ["id"], Vwe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -60948,14 +61416,14 @@ function v8() {
}
function y8(e, t) {
if (e == null) return {};
- var n, r, i = Dwe(e, t);
+ var n, r, i = Hwe(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 Hwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60978,26 +61446,26 @@ function x8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? b8(Object(n), !0).forEach(function(t) {
- Owe(e, t, n[t]);
+ Uwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Owe(e, t, n) {
- return (t = kwe(t)) in e ? Object.defineProperty(e, t, {
+function Uwe(e, t, n) {
+ return (t = Wwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kwe(e) {
- var t = Awe(e, "string");
+function Wwe(e) {
+ var t = Gwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Awe(e, t) {
+function Gwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61010,27 +61478,27 @@ function Awe(e, t) {
function S8(e, t) {
return e && e !== "none" ? e : t;
}
-var jwe = (e) => {
+var Kwe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: S8(r, i),
- value: aU(n, t),
+ value: lU(n, t),
payload: e
}];
-}, Mwe = /*#__PURE__*/ I.memo((e) => {
+}, qwe = /*#__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: fz,
+ getPosition: dz,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: aU(o, t),
+ name: lU(o, t),
hide: s,
type: l,
color: S8(r, a),
@@ -61040,8 +61508,8 @@ var jwe = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: d });
});
-function Nwe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = KL(r);
+function Jwe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = GL(r);
return /*#__PURE__*/ I.createElement(E3, {
points: n,
dot: a,
@@ -61053,7 +61521,7 @@ function Nwe(e) {
clipPathId: t
});
}
-function Pwe(e) {
+function Ywe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -61074,8 +61542,8 @@ function Pwe(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function C8(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, Twe), p = KL(f), m = JL(f);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(QL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(UK, v8({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = y8(a, Bwe), p = GL(f), m = qL(f);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(ZL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(qK, v8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -61084,29 +61552,29 @@ function C8(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ I.createElement(UK, v8({}, p, {
+ })), c !== "none" && /*#__PURE__*/ I.createElement(qK, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ I.createElement(UK, v8({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ I.createElement(qK, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ I.createElement(Nwe, {
+ }))), /*#__PURE__*/ I.createElement(Jwe, {
points: t,
props: f,
clipPathId: i
}));
}
-function Fwe(e) {
+function Xwe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!NH(a) || !NH(o)) return null;
+ if (!LH(a) || !LH(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,
@@ -61115,9 +61583,9 @@ function Fwe(e) {
height: Math.floor(s)
}) : null;
}
-function Iwe(e) {
+function Zwe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!NH(a) || !NH(o)) return null;
+ if (!LH(a) || !LH(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,
@@ -61126,35 +61594,35 @@ function Iwe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function Lwe(e) {
+function Qwe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ I.createElement(Fwe, {
+ return n === "vertical" ? /*#__PURE__*/ I.createElement(Xwe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ I.createElement(Iwe, {
+ }) : /*#__PURE__*/ I.createElement(Zwe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function Rwe(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 = Vq((0, I.useMemo)(() => ({
+function $we(e) {
+ var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = Gq((0, I.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = dW(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = hW(), [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(Pwe, {
+ return /*#__PURE__*/ I.createElement(Ywe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ I.createElement(Bq, {
+ }, r.children, /*#__PURE__*/ I.createElement(Wq, {
animationId: m,
begin: l,
duration: u,
@@ -61170,18 +61638,18 @@ function Rwe(e) {
if (x[r]) {
var i = x[r];
return x8(x8({}, t), {}, {
- x: sz(i.x, t.x, e),
- y: sz(i.y, t.y, e)
+ x: oz(i.x, t.x, e),
+ y: oz(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? sz(S, s, e) : lz(s) || tz(s) ? sz(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? oz(S, s, e) : cz(s) || ez(s) ? oz(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return x8(x8({}, t), {}, {
- x: sz(i.x, t.x, e),
- y: sz(i.y, t.y, e)
+ x: oz(i.x, t.x, e),
+ y: oz(i.y, t.y, e)
});
}
return t;
@@ -61194,13 +61662,13 @@ function Rwe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(QL, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Lwe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(ZL, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Qwe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ I.createElement(QL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(C8, {
+ }))), /*#__PURE__*/ I.createElement(ZL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(C8, {
points: o,
baseLine: s,
needClip: t,
@@ -61209,9 +61677,9 @@ function Rwe(e) {
})));
}), /*#__PURE__*/ I.createElement(f4, { label: r.label }));
}
-function zwe(e) {
+function eTe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, I.useRef)(null), a = (0, I.useRef)();
- return /*#__PURE__*/ I.createElement(Rwe, {
+ return /*#__PURE__*/ I.createElement($we, {
needClip: t,
clipPathId: n,
props: r,
@@ -61219,12 +61687,12 @@ function zwe(e) {
previousBaselineRef: a
});
}
-var Bwe = class extends I.PureComponent {
+var tTe = class extends I.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
var m = Um("recharts-area", r), h = d, { r: g, strokeWidth: _ } = t8(t), v = r3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(QL, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(ZL, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -61233,7 +61701,7 @@ var Bwe = class extends I.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ I.createElement(zwe, {
+ }))), /*#__PURE__*/ I.createElement(eTe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -61251,7 +61719,7 @@ var Bwe = class extends I.PureComponent {
clipPath: b
}));
}
-}, Vwe = {
+}, nTe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -61269,13 +61737,13 @@ var Bwe = class extends I.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: SY.area
+ zIndex: EY.area
};
-function Hwe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, Ewe), g = uW(), _ = U0(), { needClip: v } = Y6(p, m), y = kU(), { points: b, isRange: x, baseLine: S } = Q((t) => wwe(t, e.id, y)) ?? {}, C = A3();
+function rTe(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = y8(e, Vwe), g = mW(), _ = U0(), { needClip: v } = Y6(p, m), y = NU(), { points: b, isRange: x, baseLine: S } = Q((t) => zwe(t, e.id, y)) ?? {}, C = A3();
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(Bwe, v8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ I.createElement(tTe, v8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -61301,7 +61769,7 @@ function Hwe(e) {
yAxisId: m
}));
}
-var Uwe = (e, t, n, r, i) => {
+var iTe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -61311,17 +61779,17 @@ var Uwe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function Wwe(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 = Uwe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function aTe(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = iTe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = BH(e, r);
+ var o = WH(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && BH(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && WH(e, r) == null;
return g ? {
- x: YH({
+ x: $H({
axis: s,
ticks: d,
bandSize: p,
@@ -61333,7 +61801,7 @@ function Wwe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: YH({
+ y: $H({
axis: c,
ticks: f,
bandSize: p,
@@ -61361,12 +61829,12 @@ function Wwe(e) {
isRange: _
};
}
-function Gwe(e) {
- var t = Sz(e, Vwe), n = kU();
+function oTe(e) {
+ var t = xz(e, nTe), n = NU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: jwe(t) }), /*#__PURE__*/ I.createElement(Mwe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: Kwe(t) }), /*#__PURE__*/ I.createElement(qwe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -61385,21 +61853,21 @@ function Gwe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: JH(t.stackId),
+ stackId: QH(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ I.createElement(Hwe, v8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(rTe, v8({}, t, { id: e }))));
}
-var w8 = /*#__PURE__*/ I.memo(Gwe, LG);
+var w8 = /*#__PURE__*/ I.memo(oTe, VG);
w8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var Kwe = "Invariant failed";
-function qwe(e, t) {
- if (!e) throw Error(Kwe);
+var sTe = "Invariant failed";
+function cTe(e, t) {
+ if (!e) throw Error(sTe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -61419,45 +61887,45 @@ function E8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var Jwe = function(e) {
+var lTe = 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) || lz(n);
- return i ? e(n, r) : (!i && qwe(!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) || cz(n);
+ return i ? e(n, r) : (!i && cTe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, Ywe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Xwe = $([D8], (e) => e?.maxBarSize), Zwe = (e, t, n, r) => r, Qwe = $([
- lW,
+}, uTe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), dTe = $([D8], (e) => e?.maxBarSize), fTe = (e, t, n, r) => r, pTe = $([
+ pW,
H$,
u8,
d8,
- Ywe
-], (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")), $we = (e, t, n) => {
- var r = lW(e), i = u8(e, t), a = d8(e, t);
+ uTe
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), mTe = (e, t, n) => {
+ var r = pW(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, eTe = $([
- Qwe,
- mY,
+}, hTe = $([
+ pTe,
+ vY,
(e, t) => {
- var n = lW(e), r = u8(e, t), i = d8(e, t);
+ var n = pW(e), r = u8(e, t), i = d8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], Y3), tTe = (e, t, n) => {
+], Y3), gTe = (e, t, n) => {
var r = D8(e, t);
if (r == null) return 0;
var i = u8(e, t), a = d8(e, t);
if (i == null || a == null) return 0;
- var o = lW(e), s = dY(e), { maxBarSize: c } = r, l = lz(c) ? s : c, u, d;
- return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), rU(u, d, !0) ?? l ?? 0;
+ var o = pW(e), s = hY(e), { maxBarSize: c } = r, l = cz(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), sU(u, d, !0) ?? l ?? 0;
}, O8 = (e, t, n) => {
- var r = lW(e), i = u8(e, t), a = d8(e, t);
+ var r = pW(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), rU(o, s);
+ return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), sU(o, s);
}
-}, nTe = $([
- TU,
- DU,
+}, _Te = $([
+ kU,
+ jU,
(e, t, n) => {
var r = u8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
@@ -61475,25 +61943,25 @@ var Jwe = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- eTe,
- dY,
- fY,
- pY,
- tTe,
+ hTe,
+ hY,
+ gY,
+ _Y,
+ gTe,
O8,
- Xwe
+ dTe
], Q3), D8], e6),
- lW,
- XJ,
+ pW,
+ eY,
O8,
- $([$we, D8], $3),
+ $([mTe, D8], $3),
D8,
- Zwe
+ fTe
], (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 ATe({
+ if (_ != null) return GTe({
layout: s,
barSettings: d,
pos: o,
@@ -61510,7 +61978,7 @@ var Jwe = function(e) {
dataStartIndex: m
});
}
-}), rTe = ["index"];
+}), vTe = ["index"];
function k8() {
return k8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61520,16 +61988,16 @@ function k8() {
return e;
}, k8.apply(null, arguments);
}
-function iTe(e, t) {
+function yTe(e, t) {
if (e == null) return {};
- var n, r, i = aTe(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 aTe(e, t) {
+function bTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61538,31 +62006,31 @@ function aTe(e, t) {
}
return n;
}
-var A8 = /*#__PURE__*/ (0, I.createContext)(void 0), oTe = (e) => {
+var A8 = /*#__PURE__*/ (0, I.createContext)(void 0), xTe = (e) => {
var t = (0, I.useContext)(A8);
if (t != null) return t.stackId;
- if (e != null) return JH(e);
-}, sTe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, cTe = (e) => {
+ if (e != null) return QH(e);
+}, STe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, CTe = (e) => {
var t = (0, I.useContext)(A8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${sTe(n, e)})`;
+ return `url(#${STe(n, e)})`;
}
}, j8 = (e) => {
- var { index: t } = e, n = iTe(e, rTe), r = cTe(t);
- return /*#__PURE__*/ I.createElement(QL, k8({
+ var { index: t } = e, n = yTe(e, vTe), r = CTe(t);
+ return /*#__PURE__*/ I.createElement(ZL, k8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, lTe = [
+}, wTe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], uTe = [
+], TTe = [
"value",
"background",
"tooltipPosition"
-], dTe = ["id"], fTe = [
+], ETe = ["id"], DTe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -61590,26 +62058,26 @@ function P8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N8(Object(n), !0).forEach(function(t) {
- pTe(e, t, n[t]);
+ OTe(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 pTe(e, t, n) {
- return (t = mTe(t)) in e ? Object.defineProperty(e, t, {
+function OTe(e, t, n) {
+ return (t = kTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mTe(e) {
- var t = hTe(e, "string");
+function kTe(e) {
+ var t = ATe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hTe(e, t) {
+function ATe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61621,14 +62089,14 @@ function hTe(e, t) {
}
function F8(e, t) {
if (e == null) return {};
- var n, r, i = gTe(e, t);
+ var n, r, i = jTe(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 gTe(e, t) {
+function jTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61637,27 +62105,27 @@ function gTe(e, t) {
}
return n;
}
-var _Te = (e) => {
+var MTe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: aU(n, t),
+ value: lU(n, t),
payload: e
}];
-}, vTe = /*#__PURE__*/ I.memo((e) => {
+}, NTe = /*#__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: fz,
+ getPosition: dz,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: aU(a, t),
+ name: lU(a, t),
hide: o,
type: c,
color: i,
@@ -61667,17 +62135,17 @@ var _Te = (e) => {
};
return /*#__PURE__*/ I.createElement(g3, { tooltipEntrySettings: u });
});
-function yTe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, lTe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
+function PTe(e) {
+ var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, wTe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
if (!i || n == null) return null;
- var p = qL(i);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p6(i, SY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, uTe);
+ var p = KL(i);
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: p6(i, EY.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, TTe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = P8(P8(P8(P8(P8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), bz(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), yz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -61688,7 +62156,7 @@ function yTe(e) {
return /*#__PURE__*/ I.createElement(E8, M8({ key: `background-bar-${n}` }, _));
}));
}
-function bTe(e) {
+function FTe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -61708,7 +62176,7 @@ function bTe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
-function xTe(e) {
+function ITe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
var e;
@@ -61727,9 +62195,9 @@ function xTe(e) {
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ I.createElement(t2, { zIndex: SY.activeBar }, /*#__PURE__*/ I.createElement(j8, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ I.createElement(t2, { zIndex: EY.activeBar }, /*#__PURE__*/ I.createElement(j8, { index: i.originalDataIndex }, v)) : v;
}
-function STe(e) {
+function LTe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ I.createElement(E8, M8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -61738,24 +62206,24 @@ function STe(e) {
dataKey: a
}));
}
-function CTe(e) {
- var { data: t, props: n } = e, r = KL(n) ?? {}, { id: i } = r, a = F8(r, dTe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, fTe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
+function RTe(e) {
+ var { data: t, props: n } = e, r = GL(n) ?? {}, { id: i } = r, a = F8(r, ETe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, DTe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
return t ? /*#__PURE__*/ I.createElement(I.Fragment, null, t.map((e, t) => /*#__PURE__*/ I.createElement(j8, M8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, bz(f, e, t), {
+ }, yz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ I.createElement(xTe, {
+ }), c ? /*#__PURE__*/ I.createElement(ITe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ I.createElement(STe, {
+ }) : /*#__PURE__*/ I.createElement(LTe, {
shape: o,
baseProps: a,
entry: e,
@@ -61763,16 +62231,16 @@ function CTe(e) {
dataKey: s
})))) : null;
}
-function wTe(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 = Vq(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
+function zTe(e) {
+ var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = Gq(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, I.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ I.createElement(bTe, {
+ return /*#__PURE__*/ I.createElement(FTe, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ I.createElement(Bq, {
+ }, /*#__PURE__*/ I.createElement(Wq, {
animationId: f,
begin: o,
duration: s,
@@ -61785,68 +62253,68 @@ function wTe(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return P8(P8({}, t), {}, {
- x: sz(r.x, t.x, e),
- y: sz(r.y, t.y, e),
- width: sz(r.width, t.width, e),
- height: sz(r.height, t.height, e)
+ x: oz(r.x, t.x, e),
+ y: oz(r.y, t.y, e),
+ width: oz(r.width, t.width, e),
+ height: oz(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = sz(0, t.height, e), o = sz(t.stackedBarStart, t.y, e);
+ var a = oz(0, t.height, e), o = oz(t.stackedBarStart, t.y, e);
return P8(P8({}, t), {}, {
y: o,
height: a
});
}
- var s = sz(0, t.width, e), c = sz(t.stackedBarStart, t.x, e);
+ var s = oz(0, t.width, e), c = oz(t.stackedBarStart, t.x, e);
return P8(P8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(QL, null, /*#__PURE__*/ I.createElement(CTe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(ZL, null, /*#__PURE__*/ I.createElement(RTe, {
props: t,
data: a
}));
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function TTe(e) {
+function BTe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(wTe, {
+ return /*#__PURE__*/ I.createElement(zTe, {
previousRectanglesRef: t,
props: e
});
}
-var I8 = 0, ETe = (e, t) => {
+var I8 = 0, VTe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: BH(e, t)
+ errorVal: WH(e, t)
};
-}, DTe = class extends I.PureComponent {
+}, HTe = class extends I.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Um("recharts-bar", r), u = c;
- return /*#__PURE__*/ I.createElement(QL, {
+ return /*#__PURE__*/ I.createElement(ZL, {
className: l,
id: c
}, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(X6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ I.createElement(QL, {
+ })), /*#__PURE__*/ I.createElement(ZL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ I.createElement(yTe, {
+ }, /*#__PURE__*/ I.createElement(PTe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ I.createElement(TTe, this.props)));
+ }), /*#__PURE__*/ I.createElement(BTe, this.props)));
}
-}, OTe = {
+}, UTe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -61859,19 +62327,19 @@ var I8 = 0, ETe = (e, t) => {
minPointSize: I8,
xAxisId: 0,
yAxisId: 0,
- zIndex: SY.bar
+ zIndex: EY.bar
};
-function kTe(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = uW(), p = kU(), m = n3(e.children, v2), h = Q((t) => nTe(t, e.id, p, m));
+function WTe(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = Y6(t, n), f = mW(), p = NU(), m = n3(e.children, v2), h = Q((t) => _Te(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ I.createElement(J6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: ETe,
+ dataPointFormatter: VTe,
errorBarOffset: g
- }, /*#__PURE__*/ I.createElement(DTe, M8({}, e, {
+ }, /*#__PURE__*/ I.createElement(HTe, M8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -61887,20 +62355,20 @@ function kTe(e) {
isAnimationActive: u
})));
}
-function ATe(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 = ZH({ numericAxis: _ }), b = _.scale.map(y);
+function GTe(e) {
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = tU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = GH(E, v);
- } else _ = BH(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = Jwe(r, I8)(_[1], f);
+ _ = YH(E, v);
+ } else _ = WH(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = lTe(r, I8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = XH({
+ x = eU({
axis: s,
ticks: l,
bandSize: o,
@@ -61909,19 +62377,19 @@ function ATe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = tz(A) ? 0 : A, T = {
+ if (w = ez(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 = ez(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = $R(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 = XH({
+ if (x = M, S = eU({
axis: c,
ticks: u,
bandSize: o,
@@ -61934,8 +62402,8 @@ function ATe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = ez(C || D) * (Math.abs(D) - Math.abs(C));
- C += ee;
+ var P = $R(C || D) * (Math.abs(D) - Math.abs(C));
+ C += P;
}
}
return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : P8(P8({}, e), {}, {
@@ -61956,12 +62424,12 @@ function ATe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function jTe(e) {
- var t = Sz(e, OTe), n = oTe(t.stackId), r = kU();
+function KTe(e) {
+ var t = xz(e, UTe), n = xTe(t.stackId), r = NU();
return /*#__PURE__*/ I.createElement(y3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: _Te(t) }), /*#__PURE__*/ I.createElement(vTe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(_3, { legendPayload: MTe(t) }), /*#__PURE__*/ I.createElement(NTe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -61986,23 +62454,23 @@ function jTe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(kTe, M8({}, t, { id: e })))));
+ }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(WTe, M8({}, t, { id: e })))));
}
-var L8 = /*#__PURE__*/ I.memo(jTe, LG);
+var L8 = /*#__PURE__*/ I.memo(KTe, VG);
L8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var MTe = ["domain", "range"], NTe = ["domain", "range"];
+var qTe = ["domain", "range"], JTe = ["domain", "range"];
function R8(e, t) {
if (e == null) return {};
- var n, r, i = PTe(e, t);
+ var n, r, i = YTe(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 PTe(e, t) {
+function YTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62016,16 +62484,16 @@ function z8(e, t) {
}
function B8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = R8(e, MTe), { domain: a, range: o } = t, s = R8(t, NTe);
- return !z8(n, a) || !z8(r, o) ? !1 : LG(i, s);
+ var { domain: n, range: r } = e, i = R8(e, qTe), { domain: a, range: o } = t, s = R8(t, JTe);
+ return !z8(n, a) || !z8(r, o) ? !1 : VG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var FTe = ["type"], ITe = [
+var XTe = ["type"], ZTe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], LTe = ["id", "scale"];
+], QTe = ["id", "scale"];
function V8() {
return V8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62049,26 +62517,26 @@ function U8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H8(Object(n), !0).forEach(function(t) {
- RTe(e, t, n[t]);
+ $Te(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RTe(e, t, n) {
- return (t = zTe(t)) in e ? Object.defineProperty(e, t, {
+function $Te(e, t, n) {
+ return (t = eEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zTe(e) {
- var t = BTe(e, "string");
+function eEe(e) {
+ var t = tEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BTe(e, t) {
+function tEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62080,14 +62548,14 @@ function BTe(e, t) {
}
function W8(e, t) {
if (e == null) return {};
- var n, r, i = VTe(e, t);
+ var n, r, i = nEe(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 VTe(e, t) {
+function nEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62096,23 +62564,23 @@ function VTe(e, t) {
}
return n;
}
-function HTe(e) {
- var t = Yz(), n = (0, I.useRef)(null), r = dW(), { type: i } = e, a = W8(e, FTe), o = EY(r, "xAxis", i), s = (0, I.useMemo)(() => {
+function rEe(e) {
+ var t = Jz(), n = (0, I.useRef)(null), r = hW(), { type: i } = e, a = W8(e, XTe), o = AY(r, "xAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return U8(U8({}, a), {}, { type: o });
}, [a, o]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(ixe(s)) : n.current !== s && t(axe({
+ s != null && (n.current === null ? t(yxe(s)) : n.current !== s && t(bxe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(oxe(n.current)), null);
+ n.current &&= (t(xxe(n.current)), null);
}, [t]), null;
}
-var UTe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(DU), i = kU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => dge(e, t)), l = Q((e) => M$(e, t));
+var iEe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(jU), i = NU(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Ege(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, ITe), { id: m, scale: h } = l, g = W8(l, LTe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, ZTe), { id: m, scale: h } = l, g = W8(l, QTe);
return /*#__PURE__*/ I.createElement(B6, V8({}, p, g, {
x: c.x,
y: c.y,
@@ -62124,7 +62592,7 @@ var UTe = (e) => {
axisType: a,
axisId: t
}));
-}, WTe = {
+}, aEe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -62149,8 +62617,8 @@ var UTe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, G8 = /*#__PURE__*/ I.memo((e) => {
- var t = Sz(e, WTe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(HTe, {
+ var t = xz(e, aEe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(rEe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -62176,16 +62644,16 @@ var UTe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(UTe, t));
+ }), /*#__PURE__*/ I.createElement(iEe, t));
}, B8);
G8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var GTe = ["type"], KTe = [
+var oEe = ["type"], sEe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], qTe = ["id", "scale"];
+], cEe = ["id", "scale"];
function K8() {
return K8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62209,26 +62677,26 @@ function J8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q8(Object(n), !0).forEach(function(t) {
- JTe(e, t, n[t]);
+ lEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JTe(e, t, n) {
- return (t = YTe(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 YTe(e) {
- var t = XTe(e, "string");
+function uEe(e) {
+ var t = dEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XTe(e, t) {
+function dEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62240,14 +62708,14 @@ function XTe(e, t) {
}
function Y8(e, t) {
if (e == null) return {};
- var n, r, i = ZTe(e, t);
+ var n, r, i = fEe(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 ZTe(e, t) {
+function fEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62256,27 +62724,27 @@ function ZTe(e, t) {
}
return n;
}
-function QTe(e) {
- var t = Yz(), n = (0, I.useRef)(null), r = dW(), { type: i } = e, a = Y8(e, GTe), o = EY(r, "yAxis", i), s = (0, I.useMemo)(() => {
+function pEe(e) {
+ var t = Jz(), n = (0, I.useRef)(null), r = hW(), { type: i } = e, a = Y8(e, oEe), o = AY(r, "yAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return J8(J8({}, a), {}, { type: o });
}, [o, a]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(sxe(s)) : n.current !== s && t(cxe({
+ s != null && (n.current === null ? t(Sxe(s)) : n.current !== s && t(Cxe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(lxe(n.current)), null);
+ n.current &&= (t(wxe(n.current)), null);
}, [t]), null;
}
-function $Te(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(DU), c = kU(), l = Yz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => fge(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function mEe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(jU), c = NU(), l = Jz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Dge(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
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(pxe({
+ Math.round(d.width) !== Math.round(n) && l(Oxe({
id: t,
width: n
}));
@@ -62291,7 +62759,7 @@ function $Te(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, KTe), { id: y, scale: b } = m, x = Y8(m, qTe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, sEe), { id: y, scale: b } = m, x = Y8(m, cEe);
return /*#__PURE__*/ I.createElement(B6, K8({}, v, x, {
ref: a,
labelRef: o,
@@ -62307,7 +62775,7 @@ function $Te(e) {
axisId: t
}));
}
-var eEe = {
+var hEe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -62332,8 +62800,8 @@ var eEe = {
width: P$.width,
yAxisId: 0
}, X8 = /*#__PURE__*/ I.memo((e) => {
- var t = Sz(e, eEe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(QTe, {
+ var t = xz(e, hEe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(pEe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -62359,27 +62827,27 @@ var eEe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement($Te, t));
+ }), /*#__PURE__*/ I.createElement(mEe, t));
}, B8);
X8.displayName = "YAxis";
var Z8 = $([
(e, t) => t,
- lW,
- WY,
- $Y,
+ pW,
+ JY,
+ rX,
D0,
k0,
- c_e,
- TU
-], h_e);
+ C_e,
+ kU
+], A_e);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function tEe(e) {
+function gEe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Q8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (tEe(e)) {
+ if (gEe(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 {
@@ -62394,19 +62862,19 @@ function Q8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var $8 = TV("mouseClick"), e5 = wH();
+var $8 = wV("mouseClick"), e5 = OH();
e5.startListening({
actionCreator: $8,
effect: (e, t) => {
var n = e.payload, r = Z8(t.getState(), Q8(n));
- r?.activeIndex != null && t.dispatch(Sge({
+ r?.activeIndex != null && t.dispatch(Lge({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var t5 = TV("mouseMove"), n5 = wH(), r5 = null, i5 = null, a5 = null;
+var t5 = wV("mouseMove"), n5 = OH(), r5 = null, i5 = null, a5 = null;
n5.startListening({
actionCreator: t5,
effect: (e, t) => {
@@ -62437,7 +62905,7 @@ n5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function nEe(e, t) {
+function _Ee(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
@@ -62454,17 +62922,17 @@ var o5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, s5 = RV({
+}, s5 = HV({
name: "rootProps",
initialState: o5,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? o5.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), rEe = s5.reducer, { updateOptions: iEe } = s5.actions, c5 = RV({
+}), vEe = s5.reducer, { updateOptions: yEe } = s5.actions, c5 = HV({
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: aEe } = c5.actions, oEe = c5.reducer, l5 = TV("keyDown"), u5 = TV("focus"), d5 = TV("blur"), f5 = wH(), p5 = null, m5 = null, h5 = null;
+}), { updatePolarOptions: bEe } = c5.actions, xEe = c5.reducer, l5 = wV("keyDown"), u5 = wV("focus"), d5 = wV("blur"), f5 = OH(), p5 = null, m5 = null, h5 = null;
f5.startListening({
actionCreator: l5,
effect: (e, t) => {
@@ -62489,7 +62957,7 @@ f5.startListening({
}));
return;
}
- var c = pge(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = Oge(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({
@@ -62552,7 +63020,7 @@ function g5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var _5 = TV("externalEvent"), v5 = wH(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
+var _5 = wV("externalEvent"), v5 = OH(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
v5.startListening({
actionCreator: _5,
effect: (e, t) => {
@@ -62572,12 +63040,12 @@ v5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: Jge(a),
+ activeCoordinate: l_e(a),
activeDataKey: I0(a),
activeIndex: P0(a),
activeLabel: F0(a),
activeTooltipIndex: P0(a),
- isTooltipActive: Yge(a)
+ isTooltipActive: u_e(a)
};
n && n(o, r);
} finally {
@@ -62601,7 +63069,7 @@ v5.startListening({
}
}
});
-var sEe = $([
+var SEe = $([
$([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -62613,7 +63081,7 @@ var sEe = $([
if (i != null) return i(t);
}
}
-}), S5 = TV("touchMove"), C5 = wH(), w5 = null, T5 = null, E5 = null, D5 = null;
+}), S5 = wV("touchMove"), C5 = OH(), w5 = null, T5 = null, E5 = null, D5 = null;
C5.startListening({
actionCreator: S5,
effect: (e, t) => {
@@ -62646,9 +63114,9 @@ C5.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(mU), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(vU), 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 = sEe(e, s, c);
+ var { dataKey: u } = l, d = SEe(e, s, c);
t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
@@ -62680,33 +63148,33 @@ var O5 = {
"scroll",
"wheel"
]
-}, k5 = RV({
+}, k5 = HV({
name: "eventSettings",
initialState: O5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = dG(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hG(t.payload.throttledEvents));
} }
-}), { setEventSettings: cEe } = k5.actions, lEe = k5.reducer, uEe = pB({
- brush: DSe,
- cartesianAxis: mxe,
- chartData: H_e,
- errorBars: KCe,
- eventSettings: lEe,
- graphicalItems: Wbe,
- layout: jH,
- legend: vG,
- options: L_e,
- polarAxis: Fye,
- polarOptions: oEe,
- referenceElements: RSe,
- renderedTicks: fCe,
- rootProps: rEe,
- tooltip: Cge,
- zIndex: O_e
-}), dEe = function(e) {
+}), { setEventSettings: CEe } = k5.actions, wEe = k5.reducer, TEe = fB({
+ brush: HSe,
+ cartesianAxis: kxe,
+ chartData: rve,
+ errorBars: swe,
+ eventSettings: wEe,
+ graphicalItems: axe,
+ layout: FH,
+ legend: SG,
+ options: Q_e,
+ polarAxis: Yye,
+ polarOptions: xEe,
+ referenceElements: $Se,
+ renderedTicks: DCe,
+ rootProps: vEe,
+ tooltip: Rge,
+ zIndex: U_e
+}), EEe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return rpe({
- reducer: uEe,
+ return MV({
+ reducer: TEe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -62724,10 +63192,10 @@ var O5 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(MV({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(jV({ type: "raf" }));
},
- devTools: vK.devToolsEnabled && {
- serialize: { replacer: nEe },
+ devTools: SK.devToolsEnabled && {
+ serialize: { replacer: _Ee },
name: `recharts-${t}`
}
});
@@ -62735,21 +63203,21 @@ var O5 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function A5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = kU(), a = (0, I.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = NU(), a = (0, I.useRef)(null);
if (i) return n;
- a.current ??= dEe(t, r);
- var o = Jz;
- return /*#__PURE__*/ I.createElement(PG, {
+ a.current ??= EEe(t, r);
+ var o = qz;
+ return /*#__PURE__*/ I.createElement(RG, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function fEe(e) {
- var { layout: t, margin: n } = e, r = Yz(), i = kU();
+function DEe(e) {
+ var { layout: t, margin: n } = e, r = Jz(), i = NU();
return (0, I.useEffect)(() => {
- i || (r(OH(t)), r(DH(n)));
+ i || (r(MH(t)), r(jH(n)));
}, [
r,
i,
@@ -62757,31 +63225,31 @@ function fEe(e) {
n
]), null;
}
-var j5 = /*#__PURE__*/ (0, I.memo)(fEe, LG);
+var j5 = /*#__PURE__*/ (0, I.memo)(DEe, VG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function M5(e) {
- var t = Yz();
+ var t = Jz();
return (0, I.useEffect)(() => {
- t(iEe(e));
+ t(yEe(e));
}, [t, e]), null;
}
var N5 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = Yz();
+ var t = Jz();
return (0, I.useEffect)(() => {
- t(cEe(e));
+ t(CEe(e));
}, [t, e]), null;
-}, LG);
+}, VG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function P5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = Yz();
- return (0, I.useLayoutEffect)(() => (r.current && i(E_e({
+ var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = Jz();
+ return (0, I.useLayoutEffect)(() => (r.current && i(V_e({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(D_e({
+ i(H_e({
zIndex: t,
isPanorama: n
}));
@@ -62796,7 +63264,7 @@ function P5(e) {
});
}
function F5(e) {
- var { children: t, isPanorama: n } = e, r = Q(__e);
+ var { children: t, isPanorama: n } = e, r = Q(M_e);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ I.createElement(I.Fragment, null, i.map((e) => /*#__PURE__*/ I.createElement(P5, {
@@ -62811,17 +63279,17 @@ function F5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var pEe = ["children"];
-function mEe(e, t) {
+var OEe = ["children"];
+function kEe(e, t) {
if (e == null) return {};
- var n, r, i = hEe(e, t);
+ var n, r, i = AEe(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 hEe(e, t) {
+function AEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62839,46 +63307,46 @@ function I5() {
return e;
}, I5.apply(null, arguments);
}
-var gEe = {
+var jEe = {
width: "100%",
height: "100%",
display: "block"
-}, _Ee = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = oW(), r = sW(), i = OK();
- if (!PH(n) || !PH(r)) return null;
+}, MEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = uW(), r = dW(), i = MK();
+ if (!RH(n) || !RH(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(XL, I5({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ I.createElement(YL, I5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: gEe,
+ style: jEe,
ref: t
}), a);
-}), vEe = (e) => {
- var { children: t } = e, n = Q(jU);
+}), NEe = (e) => {
+ var { children: t } = e, n = Q(FU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ I.createElement(XL, {
+ return /*#__PURE__*/ I.createElement(YL, {
width: r,
height: i,
x: o,
y: a
}, t);
}, L5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n } = e, r = mEe(e, pEe);
- return kU() ? /*#__PURE__*/ I.createElement(vEe, null, /*#__PURE__*/ I.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(_Ee, I5({ ref: t }, r), /*#__PURE__*/ I.createElement(F5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = kEe(e, OEe);
+ return NU() ? /*#__PURE__*/ I.createElement(NEe, null, /*#__PURE__*/ I.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(MEe, I5({ ref: t }, r), /*#__PURE__*/ I.createElement(F5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function yEe() {
- var e = Yz(), [t, n] = (0, I.useState)(null), r = Q(uU);
+function PEe() {
+ var e = Jz(), [t, n] = (0, I.useState)(null), r = Q(mU);
return (0, I.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- NH(n) && n !== r && e(AH(n));
+ LH(n) && n !== r && e(PH(n));
}
}, [
t,
@@ -62898,30 +63366,30 @@ function R5(e, t) {
}
return n;
}
-function bEe(e) {
+function FEe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R5(Object(n), !0).forEach(function(t) {
- xEe(e, t, n[t]);
+ IEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xEe(e, t, n) {
- return (t = SEe(t)) in e ? Object.defineProperty(e, t, {
+function IEe(e, t, n) {
+ return (t = LEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SEe(e) {
- var t = CEe(e, "string");
+function LEe(e) {
+ var t = REe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CEe(e, t) {
+function REe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62940,7 +63408,7 @@ function z5() {
return e;
}, z5.apply(null, arguments);
}
-var wEe = () => (Z_e(), null);
+var zEe = () => (fve(), null);
function B5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -62949,7 +63417,7 @@ function B5(e) {
}
return 0;
}
-var TEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var BEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = (0, I.useRef)(null), [r, i] = (0, I.useState)({
containerWidth: B5(e.style?.width),
containerHeight: B5(e.style?.height)
@@ -62977,11 +63445,11 @@ var TEe = /*#__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(hW, {
+ }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ I.createElement("div", z5({ ref: o }, e)));
-}), EEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), VEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, I.useState)({
containerWidth: B5(n),
containerHeight: B5(r)
@@ -62999,32 +63467,32 @@ var TEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(hW, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ I.createElement("div", z5({ ref: s }, e)));
-}), DEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), HEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(hW, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", z5({ ref: t }, e)));
-}), OEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), UEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(EEe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(DEe, z5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(VEe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(HEe, z5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(hW, {
+ })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", z5({ ref: t }, e)));
});
-function kEe(e) {
- return e ? TEe : OEe;
+function WEe(e) {
+ return e ? BEe : UEe;
}
-var AEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = Yz(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = yEe(), D = $U(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
+var GEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = Jz(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = PEe(), D = rW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -63046,16 +63514,16 @@ var AEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: u,
reactEvent: e
}));
- }, [x, u]), ee = (0, I.useCallback)((e) => {
+ }, [x, u]), P = (0, I.useCallback)((e) => {
x(t5(e)), x(_5({
handler: d,
reactEvent: e
}));
- }, [x, d]), te = (0, I.useCallback)(() => {
+ }, [x, d]), ee = (0, I.useCallback)(() => {
x(u5());
- }, [x]), P = (0, I.useCallback)(() => {
+ }, [x]), F = (0, I.useCallback)(() => {
x(d5());
- }, [x]), F = (0, I.useCallback)((e) => {
+ }, [x]), te = (0, I.useCallback)((e) => {
x(l5(e.key));
}, [x]), ne = (0, I.useCallback)((e) => {
x(_5({
@@ -63096,12 +63564,12 @@ var AEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), ce = kEe(v);
- return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement($L.Provider, { value: w }, /*#__PURE__*/ I.createElement(ce, {
+ }, [x, p]), ce = WEe(v);
+ return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(QL.Provider, { value: w }, /*#__PURE__*/ I.createElement(ce, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Um("recharts-wrapper", r),
- style: bEe({
+ style: FEe({
position: "relative",
cursor: "default",
width: O,
@@ -63110,20 +63578,20 @@ var AEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
onClick: j,
onContextMenu: ne,
onDoubleClick: re,
- onFocus: te,
- onBlur: P,
- onKeyDown: F,
+ onFocus: ee,
+ onBlur: F,
+ onKeyDown: te,
onMouseDown: L,
onMouseEnter: M,
onMouseLeave: N,
- onMouseMove: ee,
+ onMouseMove: P,
onMouseUp: ie,
onTouchEnd: se,
onTouchMove: oe,
onTouchStart: ae,
ref: A
- }, /*#__PURE__*/ I.createElement(wEe, null), n)));
-}), jEe = [
+ }, /*#__PURE__*/ I.createElement(zEe, null), n)));
+}), KEe = [
"width",
"height",
"responsive",
@@ -63134,16 +63602,16 @@ var AEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
"title",
"desc"
];
-function MEe(e, t) {
+function qEe(e, t) {
if (e == null) return {};
- var n, r, i = NEe(e, t);
+ var n, r, i = JEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function NEe(e, t) {
+function JEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63153,15 +63621,15 @@ function NEe(e, t) {
return n;
}
var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = KL(MEe(e, jEe));
- return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(hW, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = GL(qEe(e, KEe));
+ return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yW, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement(L5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ I.createElement(AEe, {
+ }, a)) : /*#__PURE__*/ I.createElement(GEe, {
className: o,
style: s,
width: n,
@@ -63183,7 +63651,7 @@ var V5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ I.createElement(zSe, null, a)));
+ }, /*#__PURE__*/ I.createElement(eCe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -63206,30 +63674,30 @@ function U5(e, t) {
}
return n;
}
-function PEe(e) {
+function YEe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? U5(Object(n), !0).forEach(function(t) {
- FEe(e, t, n[t]);
+ XEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FEe(e, t, n) {
- return (t = IEe(t)) in e ? Object.defineProperty(e, t, {
+function XEe(e, t, n) {
+ return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function IEe(e) {
- var t = LEe(e, "string");
+function ZEe(e) {
+ var t = QEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LEe(e, t) {
+function QEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63239,7 +63707,7 @@ function LEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var REe = PEe({
+var $Ee = YEe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -63255,7 +63723,7 @@ var REe = PEe({
stackOffset: "none",
syncMethod: "index"
}, O5), W5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = Sz(e.categoricalChartProps, REe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = xz(e.categoricalChartProps, $Ee), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -63284,32 +63752,32 @@ var REe = PEe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ I.createElement(V5, H5({}, n, { ref: t })));
-}), zEe = ["axis"], BEe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+}), eDe = ["axis"], tDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: zEe,
+ validateTooltipEventTypes: eDe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
-})), VEe = ["axis", "item"], G5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+})), nDe = ["axis", "item"], G5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: VEe,
+ validateTooltipEventTypes: nDe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function HEe(e) {
- var t = Yz();
+function rDe(e) {
+ var t = Jz();
return (0, I.useEffect)(() => {
- t(aEe(e));
+ t(bEe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var UEe = ["layout"];
+var iDe = ["layout"];
function K5() {
return K5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63319,16 +63787,16 @@ function K5() {
return e;
}, K5.apply(null, arguments);
}
-function WEe(e, t) {
+function aDe(e, t) {
if (e == null) return {};
- var n, r, i = GEe(e, t);
+ var n, r, i = oDe(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 GEe(e, t) {
+function oDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63347,30 +63815,30 @@ function q5(e, t) {
}
return n;
}
-function KEe(e) {
+function sDe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q5(Object(n), !0).forEach(function(t) {
- qEe(e, t, n[t]);
+ cDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qEe(e, t, n) {
- return (t = JEe(t)) in e ? Object.defineProperty(e, t, {
+function cDe(e, t, n) {
+ return (t = lDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JEe(e) {
- var t = YEe(e, "string");
+function lDe(e) {
+ var t = uDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YEe(e, t) {
+function uDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63380,7 +63848,7 @@ function YEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var J5 = KEe({
+var J5 = sDe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -63400,7 +63868,7 @@ var J5 = KEe({
innerRadius: 0,
outerRadius: "80%"
}, O5), Y5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = Sz(e.categoricalChartProps, J5), { layout: r } = n, i = WEe(n, UEe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = xz(e.categoricalChartProps, J5), { layout: r } = n, i = aDe(n, iDe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -63428,7 +63896,7 @@ var J5 = KEe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ I.createElement(HEe, {
+ }), /*#__PURE__*/ I.createElement(rDe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -63453,26 +63921,26 @@ function Z5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X5(Object(n), !0).forEach(function(t) {
- XEe(e, t, n[t]);
+ dDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XEe(e, t, n) {
- return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {
+function dDe(e, t, n) {
+ return (t = fDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ZEe(e) {
- var t = QEe(e, "string");
+function fDe(e) {
+ var t = pDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QEe(e, t) {
+function pDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63482,24 +63950,24 @@ function QEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $Ee = ["axis"], eDe = Z5(Z5({}, J5), {}, {
+var mDe = ["axis"], hDe = Z5(Z5({}, J5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), tDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = Sz(e, eDe);
+}), gDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = xz(e, hDe);
return /*#__PURE__*/ I.createElement(Y5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: $Ee,
+ validateTooltipEventTypes: mDe,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
});
-}), nDe = ["axis"], rDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
+}), _De = ["axis"], vDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(W5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: nDe,
+ validateTooltipEventTypes: _De,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
@@ -63520,26 +63988,26 @@ function $5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q5(Object(n), !0).forEach(function(t) {
- iDe(e, t, n[t]);
+ yDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iDe(e, t, n) {
- return (t = aDe(t)) in e ? Object.defineProperty(e, t, {
+function yDe(e, t, n) {
+ return (t = bDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aDe(e) {
- var t = oDe(e, "string");
+function bDe(e) {
+ var t = xDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oDe(e, t) {
+function xDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63549,16 +64017,16 @@ function oDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var sDe = ["axis", "item"], cDe = $5($5({}, J5), {}, {
+var SDe = ["axis", "item"], CDe = $5($5({}, J5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), lDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = Sz(e, cDe);
+}), wDe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = xz(e, CDe);
return /*#__PURE__*/ I.createElement(Y5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: sDe,
+ validateTooltipEventTypes: SDe,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
@@ -63567,7 +64035,7 @@ var sDe = ["axis", "item"], cDe = $5($5({}, J5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e7(...e) {
- return xw(Um(e));
+ return gw(Um(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -63575,7 +64043,7 @@ var t7 = {
light: "",
dark: ".dark"
}, n7 = Object.keys(t7);
-function uDe(e) {
+function TDe(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);
@@ -63589,7 +64057,7 @@ function a7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = I.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return uDe(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
+ return TDe(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, L.jsxs)("div", {
"data-slot": "chart",
@@ -63601,7 +64069,7 @@ function a7({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, L.jsx)(tW, {
+ /* @__PURE__ */ (0, L.jsx)(aW, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -63620,7 +64088,7 @@ function o7({ isLoading: e }) {
})
}) : null;
}
-function dDe(e, t) {
+function EDe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -63635,7 +64103,7 @@ var s7 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : dDe(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : EDe(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 } });
};
@@ -63649,15 +64117,15 @@ function l7(e) {
let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var fDe = (e = 10, t = 0, n = 70) => {
+var DDe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, pDe = {
+}, ODe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, mDe = {
+}, kDe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -63684,7 +64152,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", pDe[p], mDe[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", ODe[p], kDe[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) => {
@@ -63698,7 +64166,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: hDe(n, o)
+ style: ADe(n, o)
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -63717,10 +64185,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function hDe(e, t) {
+function ADe(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)(ave, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(bve, {
animationDuration: e,
...t
});
@@ -63737,7 +64205,7 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(gDe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(jDe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -63746,8 +64214,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function gDe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = _De(t, n), i = vDe(t, n);
+function jDe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = MDe(t, n), i = NDe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, L.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -63779,10 +64247,10 @@ function gDe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function _De(e, t) {
+function MDe(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 vDe(e, t) {
+function NDe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -63797,12 +64265,12 @@ function vDe(e, t) {
...n
};
}
-var p7 = tK, m7 = () => null, h7 = {
+var p7 = aK, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function yDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function PDe({ 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,
@@ -63848,7 +64316,7 @@ function yDe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function bDe({ 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 FDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
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))
@@ -63882,7 +64350,7 @@ function bDe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = yDe({
+ }, [C, v]), { isDragging: A, bind: j } = PDe({
range: E,
totalPoints: C,
containerRef: x,
@@ -63907,16 +64375,16 @@ function bDe({ 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 = vf(N), P = vf(ee);
- te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let F = Tf(te, h7), ne = Tf(P, h7), re = xf(F, (e) => `${e}%`), ie = xf(ne, (e) => `${e}%`), ae = xf(F, (e) => `${e}%`), oe = xf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = vf(`${Math.max(0, ee - N)}%`), ce = (0, I.useCallback)(() => {
- se.set(`${Math.max(0, ne.get() - F.get())}%`);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, P = C > 1 ? M.endIndex / (C - 1) * 100 : 100, ee = vf(N), F = vf(P);
+ ee.get() !== N && ee.set(N), F.get() !== P && F.set(P);
+ let te = Tf(ee, h7), ne = Tf(F, h7), re = xf(te, (e) => `${e}%`), ie = xf(ne, (e) => `${e}%`), ae = xf(te, (e) => `${e}%`), oe = xf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = vf(`${Math.max(0, P - N)}%`), ce = (0, I.useCallback)(() => {
+ se.set(`${Math.max(0, ne.get() - te.get())}%`);
}, [
- F,
+ te,
ne,
se
]);
- _f(F, "change", ce), _f(ne, "change", ce);
+ _f(te, "change", ce), _f(ne, "change", ce);
let le = (0, I.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -63938,7 +64406,7 @@ function bDe({ 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)(xDe, {
+ children: /* @__PURE__ */ (0, L.jsx)(IDe, {
data: e,
keys: S,
chartConfig: t,
@@ -64007,7 +64475,7 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function xDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function IDe({ 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)
@@ -64064,10 +64532,10 @@ function xDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, L.jsx)(tW, {
+ if (r === "line") return /* @__PURE__ */ (0, L.jsx)(aW, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(BEe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(tDe, {
data: e,
margin: {
top: 4,
@@ -64091,7 +64559,7 @@ function xDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, L.jsx)(tW, {
+ return /* @__PURE__ */ (0, L.jsx)(aW, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, L.jsxs)(G5, {
@@ -64120,10 +64588,10 @@ function xDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(tW, {
+ return /* @__PURE__ */ (0, L.jsx)(aW, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(rDe, {
+ children: /* @__PURE__ */ (0, L.jsxs)(vDe, {
data: e,
margin: {
top: 4,
@@ -64149,7 +64617,7 @@ function xDe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function SDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function LDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = I.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -64173,7 +64641,7 @@ function SDe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var CDe = {
+var RDe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, L.jsx)("pattern", {
id: e,
x: "0",
@@ -64346,7 +64814,7 @@ var CDe = {
})
};
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 = CDe[e];
+ let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = RDe[e];
return /* @__PURE__ */ (0, L.jsxs)(t2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, L.jsxs)("defs", { children: [
@@ -64377,7 +64845,7 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, wDe = "loading", TDe = 2e3, EDe = "evil-stacked", DDe = .5, ODe = .05, kDe = [
+var v7 = 2, zDe = "loading", BDe = 2e3, VDe = "evil-stacked", HDe = .5, UDe = .05, WDe = [
0,
.7,
.5,
@@ -64389,7 +64857,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 } = JDe(m, h), { visibleData: T, brushProps: E } = SDe({ 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 } = lOe(m, h), { visibleData: T, brushProps: E } = LDe({ 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: {
@@ -64432,7 +64900,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)(bDe, {
+ footer: O && !m && /* @__PURE__ */ (0, L.jsx)(FDe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -64463,7 +64931,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, L.jsx)(_7, { variant: d }),
/* @__PURE__ */ (0, L.jsx)(k6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, L.jsx)(YDe, {
+ m && /* @__PURE__ */ (0, L.jsx)(uOe, {
chartId: _,
onShimmerExit: w
})
@@ -64472,7 +64940,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function ADe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function GDe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = Ef();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
@@ -64495,7 +64963,7 @@ function ADe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
dataKey: e,
- stackId: u ? EDe : void 0,
+ stackId: u ? VDe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -64512,44 +64980,44 @@ function ADe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(zDe, {
+ /* @__PURE__ */ (0, L.jsx)(eOe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, L.jsx)(BDe, {
+ t === "hatched" && /* @__PURE__ */ (0, L.jsx)(tOe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, L.jsx)(HDe, {
+ t === "duotone" && /* @__PURE__ */ (0, L.jsx)(rOe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(UDe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(iOe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, L.jsx)(WDe, {
+ t === "gradient" && /* @__PURE__ */ (0, L.jsx)(aOe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, L.jsx)(GDe, {
+ t === "stripped" && /* @__PURE__ */ (0, L.jsx)(oOe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, L.jsx)(VDe, {
+ s && /* @__PURE__ */ (0, L.jsx)(nOe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, L.jsx)(KDe, {
+ o && /* @__PURE__ */ (0, L.jsx)(sOe, {
id: b,
dataKey: e
})
] })] });
}
-function jDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function KDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = b7();
return o ? null : /* @__PURE__ */ (0, L.jsx)(G8, {
tickLine: e,
@@ -64560,7 +65028,7 @@ function jDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function MDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function qDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = b7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(X8, {
tickLine: e,
@@ -64572,7 +65040,7 @@ function MDe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function NDe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function JDe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = b7();
return /* @__PURE__ */ (0, L.jsx)(K6, {
strokeDasharray: e,
@@ -64581,7 +65049,7 @@ function NDe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function PDe({ variant: e, roundness: t, defaultIndex: n }) {
+function YDe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = b7();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
@@ -64593,7 +65061,7 @@ function PDe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function FDe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function XDe({ 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,
@@ -64607,7 +65075,7 @@ function FDe({ 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 = IDe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : LDe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = RDe({
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = ZDe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : QDe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = $De({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -64619,7 +65087,7 @@ var S7 = (e) => {
c,
0,
0
- ] : c, A = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(dJ, {
+ ] : c, A = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(hJ, {
x: t,
y: n,
width: r,
@@ -64630,7 +65098,7 @@ var S7 = (e) => {
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, L.jsx)(dJ, {
+ }), C && /* @__PURE__ */ (0, L.jsx)(hJ, {
x: t,
y: n - 4,
width: r,
@@ -64641,7 +65109,7 @@ var S7 = (e) => {
return /* @__PURE__ */ (0, L.jsxs)("g", {
style: O,
onClick: b,
- children: [/* @__PURE__ */ (0, L.jsx)(dJ, {
+ children: [/* @__PURE__ */ (0, L.jsx)(hJ, {
...e,
fill: "transparent"
}), w ? /* @__PURE__ */ (0, L.jsx)(Df.g, {
@@ -64652,7 +65120,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, IDe = (e, t, n, r, i) => {
+}, ZDe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -64667,11 +65135,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * ODe * 1e3, l = DDe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * UDe * 1e3, l = HDe * 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: kDe,
+ ease: WDe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -64685,7 +65153,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, LDe = (e, t, n) => {
+}, QDe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -64694,10 +65162,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, RDe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, $De = ({ 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;
-}, zDe = ({ id: e, dataKey: t, config: n }) => {
+}, eOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -64719,7 +65187,7 @@ var S7 = (e) => {
}, i);
})
});
-}, BDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, tOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -64760,7 +65228,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), VDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), nOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -64801,7 +65269,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), HDe = ({ id: e, dataKey: t, config: n }) => {
+] }), rOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -64869,7 +65337,7 @@ var S7 = (e) => {
})
})
] });
-}, UDe = ({ id: e, dataKey: t, config: n }) => {
+}, iOe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -64937,7 +65405,7 @@ var S7 = (e) => {
})
})
] });
-}, WDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, aOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -64974,7 +65442,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), GDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), oOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -65011,7 +65479,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), KDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+] }), sOe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -65031,35 +65499,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), qDe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), cOe = (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 JDe(e, t = 12) {
+function lOe(e, t = 12) {
let [n, r] = (0, I.useState)(!1), i = (0, I.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, I.useMemo)(() => fDe(t, 20, 80), [t, n]),
+ loadingData: (0, I.useMemo)(() => DDe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var YDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
- dataKey: wDe,
+var uOe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(L8, {
+ dataKey: zDe,
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)(XDe, {
+}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(dOe, {
chartId: e,
onShimmerExit: t
-}) })] }), XDe = ({ chartId: e, onShimmerExit: t }) => {
- let n = qDe(), r = (0, I.useRef)(-1);
+}) })] }), dOe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = cOe(), r = (0, I.useRef)(-1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -65090,7 +65558,7 @@ var YDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: TDe / 1e3,
+ duration: BDe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -65112,10 +65580,10 @@ var YDe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
})
] });
};
-x7.Bar = ADe, x7.XAxis = jDe, x7.YAxis = MDe, x7.Grid = NDe, x7.Tooltip = PDe, x7.Legend = FDe, x7.Brush = m7;
+x7.Bar = GDe, x7.XAxis = KDe, x7.YAxis = qDe, x7.Grid = JDe, x7.Tooltip = YDe, x7.Legend = XDe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${Lw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var C7 = `${Mw({ 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",
@@ -65142,7 +65610,7 @@ var T7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function ZDe(e) {
+function fOe(e) {
return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
colors: E7(T7[t % T7.length])
@@ -65167,7 +65635,7 @@ function k7({ swatch: e, name: t, value: n }) {
});
}
var A7 = "size-2.5 shrink-0 rounded-xs";
-function QDe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function pOe({ 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;
@@ -65192,7 +65660,7 @@ function QDe({ 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)(QDe, {
+ content: /* @__PURE__ */ (0, L.jsx)(pOe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -65269,7 +65737,7 @@ var F7 = [
"周六",
"周日"
], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function $De(e) {
+function mOe(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;
@@ -65286,7 +65754,7 @@ function $De(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function eOe(e) {
+function hOe(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,
@@ -65325,19 +65793,19 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, tOe = {
+}, gOe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function nOe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function _Oe({ 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} ${tOe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${gOe[a]}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -65395,7 +65863,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, L.jsx)(nOe, {
+ }), g && _ ? /* @__PURE__ */ (0, L.jsx)(_Oe, {
cell: g,
series: t.series,
tone: c,
@@ -65411,7 +65879,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var rOe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
+var vOe = /* @__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",
@@ -65425,7 +65893,7 @@ var rOe = /* @__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 = $De(e), s = eOe(e);
+ let o = mOe(e), s = hOe(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, {
@@ -65436,7 +65904,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: rOe,
+ axis: vOe,
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,
@@ -65502,20 +65970,20 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, L.jsx)(fS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, L.jsx)(lS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var iOe = "30%", aOe = "100%", U7 = 5, W7 = 14, oOe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
+var yOe = "30%", bOe = "100%", U7 = 5, W7 = 14, xOe = 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 = iOe, outerRadius: l = aOe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = pOe(f), v = uOe(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 = yOe, outerRadius: l = bOe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = OOe(f), v = TOe(o), y = (0, I.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -65547,7 +66015,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)(lDe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(wDe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -65566,8 +66034,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)(mOe, {}),
- /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(dOe, {
+ f && /* @__PURE__ */ (0, L.jsx)(kOe, {}),
+ /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(EOe, {
config: e,
chartId: m
}) })
@@ -65576,7 +66044,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function sOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function SOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = q7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(b6, {
dataKey: e,
@@ -65592,7 +66060,7 @@ function sOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, L.jsx)(HJ, {
+ return /* @__PURE__ */ (0, L.jsx)(KJ, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -65601,7 +66069,7 @@ function sOe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function cOe({ variant: e, roundness: t, defaultIndex: n }) {
+function COe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = q7();
return i ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -65614,7 +66082,7 @@ function cOe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function lOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function wOe({ 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,
@@ -65628,7 +66096,7 @@ function lOe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function uOe(e) {
+function TOe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -65644,7 +66112,7 @@ function uOe(e) {
};
}
}
-var dOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var EOe = ({ 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}`,
@@ -65667,13 +66135,13 @@ var dOe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function fOe() {
- return Array.from({ length: oOe }, (e, t) => ({
+function DOe() {
+ return Array.from({ length: xOe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function pOe(e) {
+function OOe(e) {
let [t, n] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -65681,9 +66149,9 @@ function pOe(e) {
n((e) => e + 1);
}, G7);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => fOe(), [t]);
+ }, [e]), (0, I.useMemo)(() => DOe(), [t]);
}
-var mOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
+var kOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
dataKey: "value",
cornerRadius: U7,
barSize: W7,
@@ -65691,23 +66159,23 @@ var mOe = () => /* @__PURE__ */ (0, L.jsx)(b6, {
isAnimationActive: !0,
animationDuration: G7,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, L.jsx)(HJ, {
+ shape: (e) => /* @__PURE__ */ (0, L.jsx)(KJ, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-J7.RadialBar = sOe, J7.Tooltip = cOe, J7.Legend = lOe;
+J7.RadialBar = SOe, J7.Tooltip = COe, J7.Legend = wOe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var hOe = [
+var AOe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], gOe = [
+], jOe = [
"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",
@@ -65748,15 +66216,15 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, L.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: ZDe(s.map((e) => e.name)),
- max: eue(s.map((e) => e.value)),
+ config: fOe(s.map((e) => e.name)),
+ max: gue(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: tue(s.length),
+ barSize: _ue(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, L.jsx)(HJ, {
+ shape: (e) => /* @__PURE__ */ (0, L.jsx)(KJ, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -65780,13 +66248,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 ${gOe[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 ${jOe[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 ${hOe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${AOe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, L.jsx)("b", {
@@ -65805,7 +66273,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var _Oe = 10, X7 = T7[5], vOe = T7[4], yOe = `${Lw()} flex flex-col gap-4`, bOe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", xOe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", SOe = "开始播放后,这里会显示最近的真实观看证据。", COe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", wOe = "添加媒体文件夹后,这里会显示存储空间。";
+var MOe = 10, X7 = T7[5], NOe = T7[4], POe = `${Mw()} flex flex-col gap-4`, FOe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", IOe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", LOe = "开始播放后,这里会显示最近的真实观看证据。", ROe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", zOe = "添加媒体文件夹后,这里会显示存储空间。";
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",
@@ -65827,10 +66295,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: [zL(t, n), "%"]
+ children: [RL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(Ww, {
+ }), /* @__PURE__ */ (0, L.jsx)(zw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -65858,14 +66326,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${yOe} md:flex-row md:gap-6`,
+ className: `${POe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function TOe({ data: t, configurable: n, openMediaSettings: r }) {
+function BOe({ 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", {
@@ -65893,14 +66361,14 @@ function TOe({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: X7,
- rows: aue(t.by_length)
+ rows: xue(t.by_length)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
color: X7,
- rows: HL(t.by_quality)
+ rows: VL(t.by_quality)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "文件类型",
@@ -65908,27 +66376,28 @@ function TOe({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: X7,
layout: "horizontal",
- rows: rue(t.by_medium)
+ rows: yue(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: zS,
+ icon: PS,
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)(XA, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(xw, {
+ variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: bOe
+ children: FOe
});
}
-function EOe({ data: e }) {
+function VOe({ data: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
@@ -65943,11 +66412,11 @@ function EOe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: vOe,
- rows: sue(e.replays)
+ color: NOe,
+ rows: Cue(e.replays)
})] });
}
-function DOe({ attribution: e }) {
+function HOe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -65980,7 +66449,7 @@ function DOe({ attribution: e }) {
]
});
}
-function OOe({ volume: e }) {
+function UOe({ 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",
@@ -65997,11 +66466,11 @@ function OOe({ 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: [zL(n, t), "%"]
+ children: [RL(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, L.jsx)(Ww, {
+ t == null ? null : /* @__PURE__ */ (0, L.jsx)(zw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -66019,25 +66488,25 @@ function OOe({ volume: e }) {
]
});
}
-function kOe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function WOe({ 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)(OOe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(UOe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: CS,
+ icon: bS,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: wOe
+ children: zOe
});
}
-function AOe({ tags: e, tagLabel: t, onTag: n }) {
+function GOe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: _Oe,
+ previewCount: MOe,
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",
@@ -66061,23 +66530,24 @@ function AOe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: AS,
+ icon: TS,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, L.jsx)(XA, {
+ actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: xOe
+ children: IOe
});
}
-function jOe({ rows: e }) {
+function KOe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = BL(e);
+ let t = zL(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", {
@@ -66085,40 +66555,41 @@ function jOe({ 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: $le(e),
+ href: hue(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: Qle(e) })]
+ children: [/* @__PURE__ */ (0, L.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, L.jsx)("span", { children: mue(e) })]
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, L.jsx)(Ww, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zw, {
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)}% · 到达 ${VL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${BL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: wS,
+ icon: xS,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, L.jsx)(XA, {
+ actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: SOe
+ children: LOe
});
}
-function MOe({ sources: e, videos: t }) {
+function qOe({ 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", {
@@ -66137,7 +66608,7 @@ function MOe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Ww, {
+ /* @__PURE__ */ (0, L.jsx)(zw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -66148,26 +66619,27 @@ function MOe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: AS,
+ icon: TS,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, L.jsx)(XA, {
+ actions: /* @__PURE__ */ (0, L.jsx)(xw, {
+ variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: COe
+ children: ROe
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, L.jsx)(CO, {
+ return /* @__PURE__ */ (0, L.jsx)(hO, {
id: e,
- className: WA({
+ className: PA({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, L.jsx)(JA, {
+ children: /* @__PURE__ */ (0, L.jsx)(RA, {
label: t,
icon: i,
accent: a,
@@ -66176,33 +66648,33 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function NOe(e) {
+function JOe(e) {
let t = Ot({
- queryKey: LL,
- queryFn: ({ signal: e }) => RL(e)
+ queryKey: IL,
+ queryFn: ({ signal: e }) => LL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(Iw, { 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 = zL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, L.jsxs)(Vw, { 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 = RL(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
}),
- /* @__PURE__ */ (0, L.jsxs)(xO, {
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsxs)(SO, {
+ /* @__PURE__ */ (0, L.jsxs)(mO, {
"aria-label": "统计视图",
- className: GA,
+ className: FA,
children: [
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: yS,
+ icon: gS,
accent: 0,
figure: o.toLocaleString(),
detail: a(s)
@@ -66210,15 +66682,15 @@ function NOe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: SS,
+ icon: yS,
accent: 1,
figure: r.played.toLocaleString(),
- detail: Zle(r.play_seconds)
+ detail: pue(r.play_seconds)
}),
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: AS,
+ icon: TS,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -66226,21 +66698,21 @@ function NOe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: CS,
+ icon: bS,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${a(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "inventory",
- children: /* @__PURE__ */ (0, L.jsx)(TOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(BOe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, L.jsxs)(wO, {
+ /* @__PURE__ */ (0, L.jsxs)(gO, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsx)(e9, {
@@ -66286,9 +66758,9 @@ function NOe(e) {
})
]
})
- }), /* @__PURE__ */ (0, L.jsx)(EOe, { data: n })]
+ }), /* @__PURE__ */ (0, L.jsx)(VOe, { data: n })]
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "coverage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -66296,10 +66768,10 @@ function NOe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, L.jsx)(DOe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, L.jsx)(HOe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "storage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -66307,7 +66779,7 @@ function NOe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, L.jsx)(kOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(WOe, {
volumes: n.storage_volumes,
...e
})
@@ -66315,50 +66787,50 @@ function NOe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(xO, {
- className: `${Lw({ padding: "none" })} flex flex-col`,
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
+ className: `${Mw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsxs)(SO, {
+ children: /* @__PURE__ */ (0, L.jsxs)(mO, {
"aria-label": "统计维度",
- className: EN,
+ className: TN,
children: [
- /* @__PURE__ */ (0, L.jsx)(CO, {
+ /* @__PURE__ */ (0, L.jsx)(hO, {
id: "tags",
- className: DN,
+ className: EN,
children: "内容标签"
}),
- /* @__PURE__ */ (0, L.jsx)(CO, {
+ /* @__PURE__ */ (0, L.jsx)(hO, {
id: "recent",
- className: DN,
+ className: EN,
children: "最近看过"
}),
- /* @__PURE__ */ (0, L.jsx)(CO, {
+ /* @__PURE__ */ (0, L.jsx)(hO, {
id: "sources",
- className: DN,
+ className: EN,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(AOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(GOe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(jOe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, L.jsx)(KOe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, L.jsx)(wO, {
+ /* @__PURE__ */ (0, L.jsx)(gO, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(MOe, {
+ children: /* @__PURE__ */ (0, L.jsx)(qOe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -66369,7 +66841,7 @@ function NOe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function POe(e, t) {
+function YOe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -66393,13 +66865,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function FOe(e) {
+function XOe(e) {
return e.index;
}
-function IOe(e) {
+function ZOe(e) {
return e.nodes;
}
-function LOe(e) {
+function QOe(e) {
return e.links;
}
function s9(e, t) {
@@ -66414,8 +66886,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function ROe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = FOe, c = POe, l, u, d = IOe, f = LOe, p = 6;
+function $Oe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = XOe, c = YOe, l, u, d = ZOe, f = QOe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -66459,7 +66931,7 @@ function ROe() {
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(OX(t.sourceLinks, o9), OX(t.targetLinks, o9)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(MX(t.sourceLinks, o9), MX(t.targetLinks, o9)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -66484,7 +66956,7 @@ function ROe() {
}
}
function y({ nodes: t }) {
- let r = xX(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = TX(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -66493,7 +66965,7 @@ function ROe() {
return o;
}
function b(e) {
- let n = SX(e, (e) => (r - t - (e.length - 1) * o) / OX(e, o9));
+ let n = EX(e, (e) => (r - t - (e.length - 1) * o) / MX(e, o9));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -66510,7 +66982,7 @@ function ROe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (xX(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (TX(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -66601,7 +67073,7 @@ function ROe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, zOe = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, eke = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -66642,7 +67114,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 > zOe ? 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 > eke ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
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";
@@ -66660,27 +67132,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function BOe(e) {
+function tke(e) {
return e[0];
}
-function VOe(e) {
+function nke(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var HOe = Array.prototype.slice;
+var rke = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function UOe(e) {
+function ike(e) {
return e.source;
}
-function WOe(e) {
+function ake(e) {
return e.target;
}
-function GOe(e) {
- var t = UOe, n = WOe, r = BOe, i = VOe, a = null;
+function oke(e) {
+ var t = ike, n = ake, r = tke, i = nke, a = null;
function o() {
- var o, s = HOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = rke.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) {
@@ -66695,48 +67167,48 @@ function GOe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function KOe(e, t, n, r, i) {
+function ske(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function qOe() {
- return GOe(KOe);
+function cke() {
+ return oke(ske);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function JOe(e) {
+function lke(e) {
return [e.source.x1, e.y0];
}
-function YOe(e) {
+function uke(e) {
return [e.target.x0, e.y1];
}
-function XOe() {
- return qOe().source(JOe).target(YOe);
+function dke() {
+ return cke().source(lke).target(uke);
}
//#endregion
//#region src/react/taste/taste.ts
-var ZOe = "/api/taste", h9 = "/api/taste/refresh", QOe = "/api/taste/import", $Oe = "/api/taste/source", g9 = (e) => ["taste", e], eke = ["taste", "refresh"], tke = [
+var fke = "/api/taste", h9 = "/api/taste/refresh", pke = "/api/taste/import", mke = "/api/taste/source", g9 = (e) => ["taste", e], hke = ["taste", "refresh"], gke = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => kw(`${ZOe}?window=${e}`, t), nke = (e) => kw(h9, e);
-async function rke(e, t) {
+], _9 = (e, t) => ww(`${fke}?window=${e}`, t), _ke = (e) => ww(h9, e);
+async function vke(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var ike = (e) => q(h9, {
+var yke = (e) => q(h9, {
window: e,
background: !0
-}), ake = (e, t) => q($Oe, {
+}), bke = (e, t) => q(mke, {
operation: "remove",
source_key: e,
window: t
});
-async function oke(e) {
- let t = await fetch(QOe, {
+async function xke(e) {
+ let t = await fetch(pke, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -66750,25 +67222,25 @@ async function oke(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new Dw(e || `导入失败(${t.status})`, t.status, n);
+ throw new Sw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var ske = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", cke = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, lke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function uke(e) {
+var Ske = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Cke = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, wke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function Tke(e) {
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 dke(e) {
- let t = e.map(lke), n = Math.max(1, ...t);
+function Eke(e) {
+ let t = e.map(wke), 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 fke(e) {
+function Dke(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -66779,10 +67251,10 @@ var b9 = {
source: 145,
target: 545
};
-function pke(e = []) {
+function Oke(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 = ROe().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 = $Oe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -66797,7 +67269,7 @@ function pke(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = XOe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = dke();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -66827,7 +67299,7 @@ function pke(e = []) {
total: a
};
}
-var mke = (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 kke = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = I.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -66950,14 +67422,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 hke = 1, gke = .3, _ke = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
+var Ake = 1, jke = .3, Mke = 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 = Ake(c, l), m = (0, I.useCallback)((e) => {
+ let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = Gke(c, l), m = (0, I.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, I.useMemo)(() => ({
config: e,
@@ -66975,32 +67447,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)(tDe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(gDe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, L.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, L.jsx)(jke, {})
+ c && /* @__PURE__ */ (0, L.jsx)(Kke, {})
]
})]
})
});
}
-function vke({ dataKey: e, variant: t = "filled", fillOpacity: n = gke, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function Nke({ dataKey: e, variant: t = "filled", fillOpacity: n = jke, 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 } = wke(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = zke(a, d, e, p.dot);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(W3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: hke,
+ strokeWidth: Ake,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -67013,29 +67485,29 @@ function vke({ dataKey: e, variant: t = "filled", fillOpacity: n = gke, isGlowin
},
...o
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(Tke, {
+ /* @__PURE__ */ (0, L.jsx)(Bke, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, L.jsx)(Eke, {
+ /* @__PURE__ */ (0, L.jsx)(Vke, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, L.jsx)(Dke, {
+ m && /* @__PURE__ */ (0, L.jsx)(Hke, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, L.jsx)(Oke, {
+ r && /* @__PURE__ */ (0, L.jsx)(Uke, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function yke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function Pke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, L.jsx)(I4, {
gridType: e,
stroke: t,
@@ -67044,7 +67516,7 @@ function yke({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function bke({ tick: e = {
+function Fke({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -67055,7 +67527,7 @@ function bke({ tick: e = {
...n
});
}
-function xke({ tick: e = {
+function Ike({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -67067,7 +67539,7 @@ function xke({ tick: e = {
...r
});
}
-function Ske({ variant: e, roundness: t, defaultIndex: n }) {
+function Lke({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -67079,7 +67551,7 @@ function Ske({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Cke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function Rke({ 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,
@@ -67092,7 +67564,7 @@ function Cke({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var wke = (e, t, n, r) => {
+var zke = (e, t, n, r) => {
let i = !1, a = !1;
return I.Children.forEach(e, (e) => {
if ((0, I.isValidElement)(e)) {
@@ -67134,7 +67606,7 @@ var wke = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), Tke = ({ id: e, dataKey: t, config: n }) => {
+}) }), Bke = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -67147,7 +67619,7 @@ var wke = (e, t, n, r) => {
colorsCount: r
})
});
-}, Eke = ({ id: e, dataKey: t, config: n }) => {
+}, Vke = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -67160,7 +67632,7 @@ var wke = (e, t, n, r) => {
colorsCount: r
})
});
-}, Dke = ({ id: e, dataKey: t, config: n }) => {
+}, Hke = ({ 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}`,
@@ -67173,7 +67645,7 @@ var wke = (e, t, n, r) => {
opacities: i
})
});
-}, Oke = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+}, Uke = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -67193,7 +67665,7 @@ var wke = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), kke = (e) => [
+}), Wke = (e) => [
"A",
"B",
"C",
@@ -67204,7 +67676,7 @@ var wke = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function Ake(e, t = _ke) {
+function Gke(e, t = Mke) {
let [n, r] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -67212,9 +67684,9 @@ function Ake(e, t = _ke) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => kke(t), [t, n]);
+ }, [e]), (0, I.useMemo)(() => Wke(t), [t, n]);
}
-var jke = () => /* @__PURE__ */ (0, L.jsx)(W3, {
+var Kke = () => /* @__PURE__ */ (0, L.jsx)(W3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -67226,17 +67698,17 @@ var jke = () => /* @__PURE__ */ (0, L.jsx)(W3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = vke, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = yke, A9.PolarAngleAxis = bke, A9.PolarRadiusAxis = xke, A9.Tooltip = Ske, A9.Legend = Cke;
+A9.Radar = Nke, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = Pke, A9.PolarAngleAxis = Fke, A9.PolarRadiusAxis = Ike, A9.Tooltip = Lke, A9.Legend = Rke;
//#endregion
//#region src/react/taste/charts.tsx
-var Mke = [
+var qke = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Nke = [
+], Jke = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -67246,7 +67718,7 @@ var Mke = [
], P9 = { value: {
label: "标签命中",
colors: E7(T7[3])
-} }, Pke = [
+} }, Yke = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -67256,20 +67728,20 @@ var Mke = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Fke = 26, Ike = { radius: P9.value }, Lke = (e, t) => Math.sqrt(e / t);
-function Rke({ rows: e, label: t }) {
- let n = fke(e);
+], Xke = 26, Zke = { radius: P9.value }, Qke = (e, t) => Math.sqrt(e / t);
+function $ke({ rows: e, label: t }) {
+ let n = Dke(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: Lke(e.value, r)
+ radius: Qke(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: Ike,
+ config: Zke,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -67286,17 +67758,17 @@ function Rke({ rows: e, label: t }) {
})
});
}
-function zke({ rows: e, label: t }) {
+function eAe({ 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 ${Pke[n.length]}`,
+ className: `flex grow flex-col ${Yke[n.length]}`,
children: /* @__PURE__ */ (0, L.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: Fke },
+ chartProps: { maxBarSize: Xke },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)(x7.YAxis, {
@@ -67320,8 +67792,8 @@ function zke({ rows: e, label: t }) {
})
}) : null;
}
-function Bke({ flows: e }) {
- let [t, n] = (0, I.useState)(null), r = pke(e);
+function tAe({ flows: e }) {
+ let [t, n] = (0, I.useState)(null), r = Oke(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", {
@@ -67349,7 +67821,7 @@ function Bke({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${Mke[e.color]}`,
+ className: `outline-none transition-opacity ${qke[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -67383,14 +67855,14 @@ function Bke({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Nke[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? Jke[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: [mke(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
+ children: [kke(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -67408,11 +67880,11 @@ function Bke({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var Vke = 10, F9 = xw(QA, $A, "text-body-2-medium"), I9 = `${Lw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", Hke = "读取运行 Peach 的这台电脑上的浏览记录", Uke = "导入或读取浏览记录后,这里会列出已采集设备。", Wke = "馆藏里暂时没有对得上浏览信号的标签。", Gke = "采集浏览记录后,这里会显示聚合后的口味证据。", Kke = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", qke = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Jke = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Yke = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Xke = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var nAe = 10, F9 = gw(HA, UA, "text-body-2-medium"), I9 = `${Mw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", rAe = "读取运行 Peach 的这台电脑上的浏览记录", iAe = "导入或读取浏览记录后,这里会列出已采集设备。", aAe = "馆藏里暂时没有对得上浏览信号的标签。", oAe = "采集浏览记录后,这里会显示聚合后的口味证据。", sAe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", cAe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", lAe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", uAe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", dAe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: WA(),
- children: /* @__PURE__ */ (0, L.jsx)(JA, {
+ className: PA(),
+ children: /* @__PURE__ */ (0, L.jsx)(RA, {
label: t,
icon: e,
accent: i,
@@ -67435,22 +67907,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function Zke({ html: e }) {
+function fAe({ 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 ${fL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function Qke({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, L.jsx)(zw, {
+function pAe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: NS,
+ icon: OS,
title: "暂无足够证据",
children: r
});
- let o = dke(e);
+ let o = Eke(e);
return /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: Vke,
+ previewCount: nAe,
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: [
@@ -67477,7 +67949,7 @@ function Qke({ 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)(Zke, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(fAe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -67489,10 +67961,10 @@ function Qke({ 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: uke(e)
+ children: Tke(e)
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(mS, {
+ s ? /* @__PURE__ */ (0, L.jsx)(dS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -67513,23 +67985,23 @@ function Qke({ 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)(xO, {
- className: `${Lw({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, L.jsxs)(pO, {
+ className: `${Mw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsx)(SO, {
+ children: /* @__PURE__ */ (0, L.jsx)(mO, {
"aria-label": e,
- className: EN,
- children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(CO, {
+ className: TN,
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(hO, {
id: e.id,
- className: DN,
+ className: EN,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(wO, {
+ }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(gO, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(Qke, {
+ children: /* @__PURE__ */ (0, L.jsx)(pAe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -67537,7 +68009,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function $ke({ data: e, onSignal: t, navigate: n }) {
+function mAe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -67603,21 +68075,21 @@ function $ke({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, L.jsx)(mS, {
+ }), /* @__PURE__ */ (0, L.jsx)(dS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: NS,
+ icon: OS,
title: "还没有可探索的入口",
- children: Wke
+ children: aAe
})
]
});
}
-function eAe({ onboarding: e, done: t }) {
+function hAe({ onboarding: e, done: t }) {
let [n, r] = (0, I.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -67626,21 +68098,21 @@ function eAe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, L.jsx)("div", {
- className: Lw({
+ className: Mw({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, L.jsxs)(Sj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(dj, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: qke
+ children: cAe
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Jke
+ children: lAe
}),
/* @__PURE__ */ (0, L.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -67670,7 +68142,7 @@ function eAe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Yke
+ children: uAe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
@@ -67690,7 +68162,7 @@ function eAe({ onboarding: e, done: t }) {
})
});
}
-function tAe({ busy: e, onRefresh: t, onImport: n }) {
+function gAe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -67699,35 +68171,35 @@ function tAe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: vS,
- title: Hke,
+ leadingIcon: hS,
+ title: rAe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: fS,
+ leadingIcon: lS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
onClick: () => a(!0)
})]
- }), /* @__PURE__ */ (0, L.jsx)(OD, {
+ }), /* @__PURE__ */ (0, L.jsx)(bD, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: ZA,
- children: /* @__PURE__ */ (0, L.jsxs)(zD, {
+ className: VA,
+ children: /* @__PURE__ */ (0, L.jsxs)(jD, {
"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)(vS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(hS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -67735,7 +68207,7 @@ function tAe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(LS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(MS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -67743,9 +68215,9 @@ function tAe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function nAe({ sources: e, window: t, toast: n }) {
+function _Ae({ sources: e, window: t, toast: n }) {
let r = kt({
- mutationFn: (e) => ake(e, t),
+ mutationFn: (e) => bke(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -67769,10 +68241,10 @@ function nAe({ 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)(LS, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(MS, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, L.jsx)(yS, {
+ }) : /* @__PURE__ */ (0, L.jsx)(gS, {
"aria-hidden": !0,
className: "size-4"
})
@@ -67792,12 +68264,12 @@ function nAe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: bS,
+ leadingIcon: _S,
...Y(r.isPending),
onClick: () => {
r.isPending || h({
title: "移除口味数据源",
- body: Xke,
+ body: dAe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -67805,30 +68277,30 @@ function nAe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: yS,
+ icon: gS,
title: "还没有数据源",
- children: Uke
+ children: iAe
})
]
});
}
-function rAe(e) {
+function vAe(e) {
let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: o } = e, [s, c] = (0, I.useState)("all"), [l, u] = (0, I.useState)("browser"), d = (0, I.useRef)(null), f = Ot({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
placeholderData: De
- }), { job: p, running: m, outcome: h, start: g } = Wj({
- queryKey: eke,
- queryFn: ({ signal: e }) => nke(e),
- start: () => ike(s),
- idlePollMs: ske,
+ }), { job: p, running: m, outcome: h, start: g } = Nj({
+ queryKey: hke,
+ queryFn: ({ signal: e }) => _ke(e),
+ start: () => yke(s),
+ idlePollMs: Ske,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = kt({
- mutationFn: (e) => oke(e),
+ mutationFn: (e) => xke(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -67838,47 +68310,47 @@ function rAe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, L.jsx)(Vw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, L.jsx)(Iw, { 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)(Vw, { children: [
- /* @__PURE__ */ (0, L.jsxs)(xO, {
+ return /* @__PURE__ */ (0, L.jsxs)(Iw, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(pO, {
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)(SO, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(mO, {
"aria-label": "口味证据来源",
- className: EN,
- children: [/* @__PURE__ */ (0, L.jsx)(CO, {
+ className: TN,
+ children: [/* @__PURE__ */ (0, L.jsx)(hO, {
id: "browser",
- className: DN,
+ className: EN,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, L.jsx)(CO, {
+ }), /* @__PURE__ */ (0, L.jsx)(hO, {
id: "peach",
- className: DN,
+ className: EN,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Oj, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: tke.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Bj, {
+ children: gke.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(kj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(tAe, {
+ /* @__PURE__ */ (0, L.jsx)(gAe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -67894,7 +68366,7 @@ function rAe(e) {
]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(eAe, {
+ /* @__PURE__ */ (0, L.jsx)(hAe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -67904,7 +68376,7 @@ function rAe(e) {
children: [
m ? p?.total ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(Ww, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zw, {
label: p.message || "正在读取浏览记录",
value: p.checked || 0,
max: p.total
@@ -67912,44 +68384,44 @@ function rAe(e) {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, L.jsx)(Bw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, L.jsx)(Bw, { label: "正在导入历史文件" }) : null,
+ }) : /* @__PURE__ */ (0, L.jsx)(Fw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, L.jsx)(Fw, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(wO, {
+ /* @__PURE__ */ (0, L.jsxs)(gO, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: GA,
+ className: FA,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: wS,
+ icon: xS,
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: AS,
+ icon: TS,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: NS,
+ icon: OS,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: yS,
+ icon: gS,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: a(w.bytes || 0)
@@ -67966,7 +68438,7 @@ function rAe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, L.jsx)(Rke, {
+ /* @__PURE__ */ (0, L.jsx)($ke, {
rows: T,
label: "主要口味维度"
}),
@@ -67977,14 +68449,14 @@ function rAe(e) {
]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, L.jsx)(zke, {
+ children: T.length ? /* @__PURE__ */ (0, L.jsx)(eAe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, L.jsx)(zw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(Pw, {
shell: "plain",
- icon: NS,
+ icon: OS,
title: "暂无口味维度",
- children: Gke
+ children: oAe
})
})]
}),
@@ -68000,7 +68472,7 @@ function rAe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, L.jsx)(Bke, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, L.jsx)(tAe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, L.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -68043,42 +68515,42 @@ function rAe(e) {
rows: E,
kind: "",
visual: "none",
- empty: Kke
+ empty: sAe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(wO, {
+ /* @__PURE__ */ (0, L.jsxs)(gO, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: GA,
+ className: FA,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: SS,
+ icon: yS,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: cke(x.peach_seconds || 0)
+ detail: Cke(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: IS,
+ icon: jS,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: FS,
+ icon: AS,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: AS,
+ icon: TS,
term: "有标签",
figure: D.toLocaleString()
})
@@ -68157,12 +68629,12 @@ function rAe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)($ke, {
+ /* @__PURE__ */ (0, L.jsx)(mAe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, L.jsx)(nAe, {
+ /* @__PURE__ */ (0, L.jsx)(_Ae, {
sources: b.sources || [],
window: s,
toast: r
@@ -68182,7 +68654,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(Ww, {
+ }), /* @__PURE__ */ (0, L.jsx)(zw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -68191,26 +68663,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function iAe(e) {
+function yAe(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 aAe = (e) => {
+var bAe = (e) => {
switch (e) {
- case "success": return cAe;
- case "info": return uAe;
- case "warning": return lAe;
- case "error": return dAe;
+ case "success": return CAe;
+ case "info": return TAe;
+ case "warning": return wAe;
+ case "error": return EAe;
default: return null;
}
-}, oAe = Array(12).fill(0), sAe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
+}, xAe = Array(12).fill(0), SAe = ({ 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" }, oAe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
+}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, xAe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), cAe = /*#__PURE__*/ I.createElement("svg", {
+})))), CAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -68221,7 +68693,7 @@ var aAe = (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"
-})), lAe = /*#__PURE__*/ I.createElement("svg", {
+})), wAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -68232,7 +68704,7 @@ var aAe = (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"
-})), uAe = /*#__PURE__*/ I.createElement("svg", {
+})), TAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -68243,7 +68715,7 @@ var aAe = (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"
-})), dAe = /*#__PURE__*/ I.createElement("svg", {
+})), EAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -68254,7 +68726,7 @@ var aAe = (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"
-})), fAe = /*#__PURE__*/ I.createElement("svg", {
+})), DAe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -68275,7 +68747,7 @@ var aAe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), pAe = () => {
+})), OAe = () => {
let [e, t] = I.useState(document.hidden);
return I.useEffect(() => {
let e = () => {
@@ -68283,7 +68755,7 @@ var aAe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, mAe = 1, hAe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : mAe++, W9 = new class {
+}, kAe = 1, AAe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : kAe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -68293,7 +68765,7 @@ var aAe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - hAe;
+ let e = this.toasts.length - AAe;
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);
@@ -68371,7 +68843,7 @@ var aAe = (e) => {
type: "default",
message: e
});
- else if (_Ae(e) && !e.ok) {
+ else if (MAe(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({
@@ -68424,7 +68896,7 @@ var aAe = (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();
}
-}(), gAe = (e, t) => W9.message(e, t), _Ae = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(gAe, {
+}(), jAe = (e, t) => W9.message(e, t), MAe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(jAe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -68438,20 +68910,20 @@ var aAe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-iAe("[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%)}");
+yAe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function K9(e) {
return e.label !== void 0;
}
-var vAe = 3, yAe = "24px", bAe = "16px", q9 = 4e3, xAe = 356, SAe = 14, CAe = 45, wAe = 200;
+var NAe = 3, PAe = "24px", FAe = "16px", q9 = 4e3, IAe = 356, LAe = 14, RAe = 45, zAe = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function TAe(e) {
+function BAe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var EAe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, F] = I.useState(!1), [ne, re] = I.useState(!1), [L, ie] = I.useState(0), [ae, oe] = I.useState(0), se = I.useRef(n.duration || y || q9), ce = I.useRef(null), le = I.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = pAe(), Ee = I.useMemo(() => e.swipeDirections ?? TAe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var VAe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [P, ee] = I.useState(!1), [F, te] = I.useState(!1), [ne, re] = I.useState(!1), [L, ie] = I.useState(0), [ae, oe] = I.useState(0), se = I.useRef(n.duration || y || q9), ce = I.useRef(null), le = I.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = OAe(), Ee = I.useMemo(() => e.swipeDirections ?? BAe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = I.useMemo(() => he * x + we, [he, we]), I.useEffect(() => {
se.current = _e;
}, [_e]), I.useEffect(() => {
@@ -68492,7 +68964,7 @@ var EAe = (e) => {
let ke = I.useCallback(() => {
N(!0), ie(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, wAe);
+ }, zAe);
}, [
n,
d,
@@ -68525,12 +68997,12 @@ var EAe = (e) => {
return w?.loading ? /*#__PURE__*/ I.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ I.createElement(sAe, {
+ }, w.loading) : /*#__PURE__*/ I.createElement(SAe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || aAe(z);
+ let je = n.icon || w?.[z] || bAe(z);
return /*#__PURE__*/ I.createElement("li", {
tabIndex: 0,
ref: le,
@@ -68547,11 +69019,11 @@ var EAe = (e) => {
"data-x-position": Ce,
"data-index": c,
"data-front": ue,
- "data-swiping": ee,
+ "data-swiping": P,
"data-dismissible": fe,
"data-type": z,
"data-invert": De,
- "data-swipe-out": P,
+ "data-swipe-out": F,
"data-swipe-direction": O,
"data-expanded": !!(u || S && A),
"data-testid": n.testId,
@@ -68565,24 +69037,24 @@ var EAe = (e) => {
...n.style
},
onDragEnd: () => {
- te(!1), D(null), xe.current = null;
+ ee(!1), D(null), xe.current = null;
},
onPointerDown: (e) => {
- e.button !== 2 && (Oe || !fe || (ce.current = /* @__PURE__ */ new Date(), ie(ye.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (te(!0), xe.current = {
+ e.button !== 2 && (Oe || !fe || (ce.current = /* @__PURE__ */ new Date(), ie(ye.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (ee(!0), xe.current = {
x: e.clientX,
y: e.clientY
})));
},
onPointerUp: () => {
- if (P || !fe) return;
+ if (F || !fe) return;
xe.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= CAe || a > .11)) {
- ie(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), F(!0);
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= RAe || a > .11)) {
+ ie(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), te(!0);
return;
}
var o, s;
- (o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), te(!1), D(null);
+ (o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), ee(!1), D(null);
},
onPointerMove: (e) => {
var t, n;
@@ -68618,7 +69090,7 @@ var EAe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? fAe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
+ }, w?.close ?? DAe) : 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", {
@@ -68653,10 +69125,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function DAe(e, t) {
+function HAe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? bAe : yAe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? FAe : PAe;
function o(e) {
[
"top",
@@ -68677,8 +69149,8 @@ function DAe(e, t) {
}) : o(a);
}), n;
}
-var OAe = /*#__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 = vAe, toastOptions: g, dir: _ = Y9(), gap: v = SAe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), F = I.useRef(!1), ne = I.useCallback((e) => {
+var UAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = NAe, toastOptions: g, dir: _ = Y9(), gap: v = LAe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = I.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = I.useRef(null), te = I.useRef(!1), ne = I.useCallback((e) => {
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) => {
@@ -68732,18 +69204,18 @@ var OAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
let e = (e) => {
if (a.length > 0 && a.every((t) => e[t] || e.code === t)) {
var t;
- k(!0), (t = ee.current) == null || t.focus();
+ k(!0), (t = P.current) == null || t.focus();
}
- e.code === "Escape" && (document.activeElement === ee.current || ee.current?.contains(document.activeElement)) && k(!1);
+ e.code === "Escape" && (document.activeElement === P.current || P.current?.contains(document.activeElement)) && k(!1);
};
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
}, [a]), I.useEffect(() => {
- if (ee.current) return () => {
- P.current && (P.current.focus({ preventScroll: !0 }), P.current = null, F.current = !1);
+ if (P.current) return () => {
+ F.current && (F.current.focus({ preventScroll: !0 }), F.current = null, te.current = !1);
};
- }, [ee.current]), /*#__PURE__*/ I.createElement("section", {
+ }, [P.current]), /*#__PURE__*/ I.createElement("section", {
ref: t,
- "aria-label": b ?? `${x} ${te}`,
+ "aria-label": b ?? `${x} ${ee}`,
tabIndex: -1,
"aria-live": "polite",
"aria-relevant": "additions text",
@@ -68756,7 +69228,7 @@ var OAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
key: t,
dir: _ === "auto" ? Y9() : _,
tabIndex: -1,
- ref: ee,
+ ref: P,
className: c,
"data-sonner-toaster": !0,
"data-sonner-theme": M,
@@ -68764,16 +69236,16 @@ var OAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${xAe}px`,
+ "--width": `${IAe}px`,
"--gap": `${v}px`,
...m,
- ...DAe(l, u)
+ ...HAe(l, u)
},
onBlur: (e) => {
- F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
+ te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));
},
onFocus: (e) => {
- e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || F.current || (F.current = !0, P.current = e.relatedTarget);
+ e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || te.current || (te.current = !0, F.current = e.relatedTarget);
},
onMouseEnter: () => k(!0),
onMouseMove: () => k(!0),
@@ -68785,7 +69257,7 @@ var OAe = /*#__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(EAe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(VAe, {
key: n.id,
icons: y,
index: i,
@@ -68819,8 +69291,8 @@ var OAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, kAe = (e, t) => {
- Z9 || (Z9 = !0, (0, dS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(OAe, {
+}), Z9 = !1, WAe = (e, t) => {
+ Z9 || (Z9 = !0, (0, cS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(UAe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -68841,7 +69313,7 @@ var OAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, AAe = (e, t) => {
+}, GAe = (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,
@@ -68854,17 +69326,17 @@ var OAe = /*#__PURE__*/ I.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function jAe() {
+function KAe() {
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, dS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(oe, {
+ let r = (0, cS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(oe, {
client: X,
children: /* @__PURE__ */ (0, L.jsx)(Nu, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, L.jsx)(oy, {
- getContainer: jAe,
+ children: /* @__PURE__ */ (0, L.jsx)(ay, {
+ getContainer: KAe,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
})
@@ -68875,79 +69347,79 @@ function $9(e) {
};
};
}
-var MAe = {
+var qAe = {
activity: {
- prefetch: (e, t) => eT(t),
- mount: $9(ST)
+ prefetch: (e, t) => Yw(t),
+ mount: $9(ine)
},
"catalog-grid": {
- prefetch: rne,
- mount: $9(Ane)
+ prefetch: dne,
+ mount: $9(Rne)
},
"cover-crop": {
prefetch: async () => {},
- mount: $9(Hie)
+ mount: $9(Xie)
},
configuration: {
- prefetch: (e, t) => kL(t),
- mount: $9(Kle)
+ prefetch: (e, t) => OL(t),
+ mount: $9(cue)
},
"configuration-summary": {
- prefetch: (e, t) => kL(t),
- mount: $9(Jle)
+ prefetch: (e, t) => OL(t),
+ mount: $9(uue)
},
"data-cleanup": {
- prefetch: (e, t) => Nae(t),
- mount: $9(loe)
+ prefetch: (e, t) => Uae(t),
+ mount: $9(_oe)
},
duplicates: {
- prefetch: (e, t) => JO(t),
- mount: $9(boe)
+ prefetch: (e, t) => rae(t),
+ mount: $9(Ooe)
},
"entity-hero": {
prefetch: async () => {},
- mount: $9(Qoe)
+ mount: $9(ose)
},
"follow-manage": {
- prefetch: (e, t) => Use(t, e.tab),
- mount: $9(zF)
+ prefetch: (e, t) => Xse(t, e.tab),
+ mount: $9(qF)
},
index: {
- prefetch: (e, t) => sI(e, t),
- mount: $9(II)
+ prefetch: (e, t) => hI(e, t),
+ mount: $9(WI)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(lce)
+ mount: $9(Tce)
},
"library-processing": {
- prefetch: (e, t) => rk(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(hce, { ...e }) : /* @__PURE__ */ (0, L.jsx)(Nj, { ...e }))
+ prefetch: (e, t) => YO(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(jce, { ...e }) : /* @__PURE__ */ (0, L.jsx)(Sj, { ...e }))
},
playlists: {
- prefetch: (e, t) => _ce(t),
- mount: $9(kce)
+ prefetch: (e, t) => Nce(t),
+ mount: $9(Gce)
},
"quality-goals": {
- prefetch: (e, t) => wk(t),
- mount: $9(jce)
+ prefetch: (e, t) => pk(t),
+ mount: $9(qce)
},
review: {
- prefetch: (e, t) => Gk(t),
- mount: $9(qce)
+ prefetch: (e, t) => Pk(t),
+ mount: $9(lle)
},
scraping: {
- prefetch: (e, t) => ele(t),
- mount: $9(sle)
+ prefetch: (e, t) => gle(t),
+ mount: $9(Cle)
},
stats: {
- prefetch: (e, t) => Xle(t),
- mount: $9(NOe)
+ prefetch: (e, t) => fue(t),
+ mount: $9(JOe)
},
taste: {
- prefetch: (e, t) => rke("all", t),
- mount: $9(rAe)
+ prefetch: (e, t) => vke("all", t),
+ mount: $9(vAe)
}
};
//#endregion
-export { kAe as mountToaster, MAe as pages, AAe as showToast };
+export { WAe as mountToaster, qAe as pages, GAe as showToast };