@omniviewdev/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/dist/Button-Dmu1cikC.cjs +1 -0
- package/dist/Button-lr02bh_m.js +51 -0
- package/dist/CodeBlock-B1iQO7zU.js +73 -0
- package/dist/CodeBlock-CIyG0DbW.cjs +2 -0
- package/dist/CopyButton-CACe3RCF.cjs +1 -0
- package/dist/CopyButton-DPBgL0K8.js +77 -0
- package/dist/ErrorState-CexYrMpy.js +188 -0
- package/dist/ErrorState-CnIR-1xa.cjs +1 -0
- package/dist/HotkeyHint-6SOi-MaU.js +37 -0
- package/dist/HotkeyHint-DrTOTrIM.cjs +1 -0
- package/dist/Icon-CKdIOrjZ.cjs +1 -0
- package/dist/Icon-CuO9W7cA.js +27 -0
- package/dist/SearchInput-CFBBNdI2.cjs +1 -0
- package/dist/SearchInput-D3AsCI5H.js +41 -0
- package/dist/Select-CnRBSc5w.cjs +1 -0
- package/dist/Select-DTUF31OP.js +206 -0
- package/dist/Skeleton-BUYyXUiC.js +32 -0
- package/dist/Skeleton-CfdQWLQM.cjs +1 -0
- package/dist/StatusDot-CYyJxjJK.cjs +1 -0
- package/dist/StatusDot-CncykBAY.js +68 -0
- package/dist/StatusPill-C1NaiCzd.js +29 -0
- package/dist/StatusPill-C7yn7dSA.cjs +1 -0
- package/dist/TabPanel-CkUSl6Bt.cjs +1 -0
- package/dist/TabPanel-DLHbgKpl.js +124 -0
- package/dist/Text-By4P3in5.js +71 -0
- package/dist/Text-Mk6Uyg1w.cjs +1 -0
- package/dist/Tooltip-44-P5KfQ.cjs +1 -0
- package/dist/Tooltip-BEVuYuZ3.js +41 -0
- package/dist/_commonjsHelpers-CvWRHxnb.js +26 -0
- package/dist/_commonjsHelpers-D3HyQheV.cjs +1 -0
- package/dist/buttons/ActionMenu.d.ts +21 -0
- package/dist/buttons/Button.d.ts +31 -0
- package/dist/buttons/ButtonGroup.d.ts +18 -0
- package/dist/buttons/ConfirmButton.d.ts +10 -0
- package/dist/buttons/CopyButton.d.ts +11 -0
- package/dist/buttons/IconButton.d.ts +21 -0
- package/dist/buttons/SearchBar.d.ts +22 -0
- package/dist/buttons/ToggleButton.d.ts +18 -0
- package/dist/buttons/ToggleGroup.d.ts +23 -0
- package/dist/buttons/Toolbar.d.ts +15 -0
- package/dist/buttons/ToolbarGroup.d.ts +11 -0
- package/dist/buttons/index.d.ts +22 -0
- package/dist/buttons.cjs +1 -0
- package/dist/buttons.js +430 -0
- package/dist/cells/BadgesCell.d.ts +19 -0
- package/dist/cells/ChipCell.d.ts +16 -0
- package/dist/cells/SelectBoxHeader.d.ts +11 -0
- package/dist/cells/SelectBoxRow.d.ts +11 -0
- package/dist/cells/TextCell.d.ts +25 -0
- package/dist/cells/index.d.ts +5 -0
- package/dist/cells.cjs +1 -0
- package/dist/cells.js +284 -0
- package/dist/charts/BarChart.d.ts +15 -0
- package/dist/charts/ChartContainer.d.ts +12 -0
- package/dist/charts/ChartLegend.d.ts +11 -0
- package/dist/charts/GaugeCard.d.ts +18 -0
- package/dist/charts/MetricsPanel.d.ts +61 -0
- package/dist/charts/PieChart.d.ts +13 -0
- package/dist/charts/ScatterChart.d.ts +25 -0
- package/dist/charts/Sparkline.d.ts +16 -0
- package/dist/charts/StackedAreaChart.d.ts +18 -0
- package/dist/charts/TimeSeriesChart.d.ts +43 -0
- package/dist/charts/formatters.d.ts +17 -0
- package/dist/charts/index.d.ts +21 -0
- package/dist/charts/palette.d.ts +7 -0
- package/dist/charts/types.d.ts +67 -0
- package/dist/charts/useChartTheme.d.ts +13 -0
- package/dist/charts.cjs +1 -0
- package/dist/charts.js +967 -0
- package/dist/components/ActionCard.d.ts +22 -0
- package/dist/components/AspectRatio.d.ts +13 -0
- package/dist/components/Avatar.d.ts +19 -0
- package/dist/components/Badge.d.ts +22 -0
- package/dist/components/Card.d.ts +24 -0
- package/dist/components/Chip.d.ts +32 -0
- package/dist/components/ClipboardText.d.ts +14 -0
- package/dist/components/DetailsCard.d.ts +25 -0
- package/dist/components/EmptySearch.d.ts +12 -0
- package/dist/components/ExpandableSections.d.ts +51 -0
- package/dist/components/FileIcon.d.ts +12 -0
- package/dist/components/HotkeyHint.d.ts +8 -0
- package/dist/components/Icon.d.ts +7 -0
- package/dist/components/InlineEdit.d.ts +14 -0
- package/dist/components/KVCard.d.ts +12 -0
- package/dist/components/Kbd.d.ts +8 -0
- package/dist/components/List.d.ts +29 -0
- package/dist/components/ListCard.d.ts +30 -0
- package/dist/components/ListItem.d.ts +27 -0
- package/dist/components/LoadingOverlay.d.ts +14 -0
- package/dist/components/MediaCard.d.ts +24 -0
- package/dist/components/MetricsSection.d.ts +37 -0
- package/dist/components/OverflowText.d.ts +12 -0
- package/dist/components/StatCard.d.ts +26 -0
- package/dist/components/StatusCard.d.ts +29 -0
- package/dist/components/TruncatedList.d.ts +13 -0
- package/dist/domain/DescriptionList.d.ts +12 -0
- package/dist/domain/EventsList.d.ts +11 -0
- package/dist/domain/FilterBar.d.ts +23 -0
- package/dist/domain/LogsViewer.d.ts +15 -0
- package/dist/domain/MetricCard.d.ts +14 -0
- package/dist/domain/ObjectInspector.d.ts +19 -0
- package/dist/domain/ResourceBreadcrumb.d.ts +19 -0
- package/dist/domain/ResourceRef.d.ts +15 -0
- package/dist/domain/ResourceStatus.d.ts +17 -0
- package/dist/domain/SecretValueMask.d.ts +11 -0
- package/dist/domain/Timeline.d.ts +21 -0
- package/dist/domain/index.d.ts +23 -0
- package/dist/domain/types.d.ts +25 -0
- package/dist/domain.cjs +1 -0
- package/dist/domain.js +871 -0
- package/dist/editors/CodeEditor.d.ts +19 -0
- package/dist/editors/CommandPalette.d.ts +22 -0
- package/dist/editors/DiffViewer.d.ts +14 -0
- package/dist/editors/MarkdownPreview.d.ts +9 -0
- package/dist/editors/Terminal.d.ts +18 -0
- package/dist/editors/index.d.ts +11 -0
- package/dist/editors/themes.d.ts +4 -0
- package/dist/editors.cjs +42 -0
- package/dist/editors.js +38396 -0
- package/dist/feedback/Alert.d.ts +21 -0
- package/dist/feedback/ConnectionIndicator.d.ts +15 -0
- package/dist/feedback/EmptyState.d.ts +17 -0
- package/dist/feedback/ErrorState.d.ts +12 -0
- package/dist/feedback/IDEStatusFooter.d.ts +104 -0
- package/dist/feedback/NotificationStack.d.ts +32 -0
- package/dist/feedback/ProgressBar.d.ts +16 -0
- package/dist/feedback/ProgressRing.d.ts +26 -0
- package/dist/feedback/RunButton.d.ts +17 -0
- package/dist/feedback/Skeleton.d.ts +13 -0
- package/dist/feedback/StatusBar.d.ts +12 -0
- package/dist/feedback/StatusBarItem.d.ts +18 -0
- package/dist/feedback/StatusDot.d.ts +14 -0
- package/dist/feedback/StatusPill.d.ts +13 -0
- package/dist/feedback/index.d.ts +29 -0
- package/dist/feedback.cjs +1 -0
- package/dist/feedback.js +1011 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +1632 -0
- package/dist/inputs/Autocomplete.d.ts +30 -0
- package/dist/inputs/Checkbox.d.ts +17 -0
- package/dist/inputs/ColorPicker.d.ts +13 -0
- package/dist/inputs/DebouncedInput.d.ts +10 -0
- package/dist/inputs/FormField.d.ts +15 -0
- package/dist/inputs/FormSection.d.ts +14 -0
- package/dist/inputs/KeyValueEditor.d.ts +17 -0
- package/dist/inputs/RadioGroup.d.ts +23 -0
- package/dist/inputs/SearchInput.d.ts +14 -0
- package/dist/inputs/Select.d.ts +32 -0
- package/dist/inputs/Slider.d.ts +24 -0
- package/dist/inputs/Switch.d.ts +17 -0
- package/dist/inputs/TagInput.d.ts +18 -0
- package/dist/inputs/TextArea.d.ts +26 -0
- package/dist/inputs/TextField.d.ts +39 -0
- package/dist/inputs/TimeRangePicker.d.ts +21 -0
- package/dist/inputs/index.d.ts +31 -0
- package/dist/inputs.cjs +21 -0
- package/dist/inputs.js +15834 -0
- package/dist/layout/AppShell.d.ts +18 -0
- package/dist/layout/DockLayout.d.ts +23 -0
- package/dist/layout/Inline.d.ts +15 -0
- package/dist/layout/Panel.d.ts +17 -0
- package/dist/layout/ResizableSplitPane.d.ts +18 -0
- package/dist/layout/Spacer.d.ts +9 -0
- package/dist/layout/Stack.d.ts +19 -0
- package/dist/layout/index.d.ts +16 -0
- package/dist/layout/useResizablePanel.d.ts +18 -0
- package/dist/layout.cjs +5 -0
- package/dist/layout.js +378 -0
- package/dist/menus/ContextMenu.d.ts +12 -0
- package/dist/menus/DropdownMenu.d.ts +20 -0
- package/dist/menus/MenuBar.d.ts +11 -0
- package/dist/menus/NestedMenuItem.d.ts +13 -0
- package/dist/menus/SplitButton.d.ts +15 -0
- package/dist/menus/index.d.ts +11 -0
- package/dist/menus/types.d.ts +24 -0
- package/dist/menus.cjs +1 -0
- package/dist/menus.js +355 -0
- package/dist/navigation/Breadcrumbs.d.ts +18 -0
- package/dist/navigation/DraggableTabs.d.ts +24 -0
- package/dist/navigation/Pagination.d.ts +15 -0
- package/dist/navigation/PersistentTabPanel.d.ts +13 -0
- package/dist/navigation/Stepper.d.ts +19 -0
- package/dist/navigation/TabPanel.d.ts +11 -0
- package/dist/navigation/Tabs.d.ts +26 -0
- package/dist/navigation/TreeView.d.ts +27 -0
- package/dist/navigation/index.d.ts +16 -0
- package/dist/navigation.cjs +1 -0
- package/dist/navigation.js +429 -0
- package/dist/overlays/Dialog.d.ts +18 -0
- package/dist/overlays/Drawer.d.ts +17 -0
- package/dist/overlays/ErrorOverlay.d.ts +21 -0
- package/dist/overlays/Modal.d.ts +14 -0
- package/dist/overlays/NotificationCenter.d.ts +31 -0
- package/dist/overlays/Popover.d.ts +15 -0
- package/dist/overlays/Spotlight.d.ts +24 -0
- package/dist/overlays/ToastProvider.d.ts +32 -0
- package/dist/overlays/Tooltip.d.ts +15 -0
- package/dist/overlays/index.d.ts +20 -0
- package/dist/overlays/useToast.d.ts +21 -0
- package/dist/overlays.cjs +1 -0
- package/dist/overlays.js +865 -0
- package/dist/sidebars/ActivityBar.d.ts +16 -0
- package/dist/sidebars/NavMenu.d.ts +27 -0
- package/dist/sidebars/NavMenu.test.d.ts +1 -0
- package/dist/sidebars/PropertyGrid.d.ts +16 -0
- package/dist/sidebars/SidebarGroup.d.ts +15 -0
- package/dist/sidebars/SidebarPanel.d.ts +19 -0
- package/dist/sidebars/SidebarTreeItem.d.ts +21 -0
- package/dist/sidebars/index.d.ts +13 -0
- package/dist/sidebars/types.d.ts +29 -0
- package/dist/sidebars.cjs +1 -0
- package/dist/sidebars.js +762 -0
- package/dist/table/ColumnFilter.d.ts +10 -0
- package/dist/table/DataTable.d.ts +23 -0
- package/dist/table/IDETable.d.ts +48 -0
- package/dist/table/TableEmptyState.d.ts +12 -0
- package/dist/table/TableSkeleton.d.ts +11 -0
- package/dist/table/TableToolbar.d.ts +15 -0
- package/dist/table/index.d.ts +12 -0
- package/dist/table/types.d.ts +4 -0
- package/dist/table.cjs +1 -0
- package/dist/table.js +580 -0
- package/dist/theme/AppTheme.d.ts +14 -0
- package/dist/theme/customizations/dataDisplay.d.ts +2 -0
- package/dist/theme/customizations/feedback.d.ts +2 -0
- package/dist/theme/customizations/inputs.d.ts +2 -0
- package/dist/theme/customizations/navigation.d.ts +2 -0
- package/dist/theme/index.d.ts +36 -0
- package/dist/theme/primitives.d.ts +234 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.js +1362 -0
- package/dist/tokens.css +252 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/maps.d.ts +25 -0
- package/dist/types/variants.d.ts +21 -0
- package/dist/types.cjs +1 -0
- package/dist/types.js +96 -0
- package/dist/typography/CodeBlock.d.ts +15 -0
- package/dist/typography/CodeInline.d.ts +10 -0
- package/dist/typography/Heading.d.ts +13 -0
- package/dist/typography/Link.d.ts +18 -0
- package/dist/typography/Text.d.ts +22 -0
- package/dist/typography/index.d.ts +10 -0
- package/dist/typography.cjs +1 -0
- package/dist/typography.js +120 -0
- package/dist/ui.css +1 -0
- package/dist/units-BuBKbqQ7.js +54 -0
- package/dist/units-CDpdlN1W.cjs +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/language.d.ts +4 -0
- package/dist/utils/time.d.ts +5 -0
- package/dist/utils/units.d.ts +7 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.js +78 -0
- package/package.json +261 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { PaletteMode, Shadows } from '@mui/material/styles';
|
|
2
|
+
declare module '@mui/material/Paper' {
|
|
3
|
+
interface PaperPropsVariantOverrides {
|
|
4
|
+
highlighted: true;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
declare module '@mui/material/styles' {
|
|
8
|
+
interface ColorRange {
|
|
9
|
+
50: string;
|
|
10
|
+
100: string;
|
|
11
|
+
200: string;
|
|
12
|
+
300: string;
|
|
13
|
+
400: string;
|
|
14
|
+
500: string;
|
|
15
|
+
600: string;
|
|
16
|
+
700: string;
|
|
17
|
+
800: string;
|
|
18
|
+
900: string;
|
|
19
|
+
}
|
|
20
|
+
interface PaletteColor extends ColorRange {
|
|
21
|
+
}
|
|
22
|
+
interface Palette {
|
|
23
|
+
baseShadow: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export declare const brand: {
|
|
27
|
+
50: string;
|
|
28
|
+
100: string;
|
|
29
|
+
200: string;
|
|
30
|
+
300: string;
|
|
31
|
+
400: string;
|
|
32
|
+
500: string;
|
|
33
|
+
600: string;
|
|
34
|
+
700: string;
|
|
35
|
+
800: string;
|
|
36
|
+
900: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Gray scale aligned with --ov-scale-gray-* tokens from tokens.css.
|
|
40
|
+
* These values are the single source of truth for neutral colors.
|
|
41
|
+
*/
|
|
42
|
+
export declare const gray: {
|
|
43
|
+
50: string;
|
|
44
|
+
100: string;
|
|
45
|
+
200: string;
|
|
46
|
+
300: string;
|
|
47
|
+
400: string;
|
|
48
|
+
500: string;
|
|
49
|
+
600: string;
|
|
50
|
+
700: string;
|
|
51
|
+
800: string;
|
|
52
|
+
900: string;
|
|
53
|
+
};
|
|
54
|
+
export declare const green: {
|
|
55
|
+
50: string;
|
|
56
|
+
100: string;
|
|
57
|
+
200: string;
|
|
58
|
+
300: string;
|
|
59
|
+
400: string;
|
|
60
|
+
500: string;
|
|
61
|
+
600: string;
|
|
62
|
+
700: string;
|
|
63
|
+
800: string;
|
|
64
|
+
900: string;
|
|
65
|
+
};
|
|
66
|
+
export declare const orange: {
|
|
67
|
+
50: string;
|
|
68
|
+
100: string;
|
|
69
|
+
200: string;
|
|
70
|
+
300: string;
|
|
71
|
+
400: string;
|
|
72
|
+
500: string;
|
|
73
|
+
600: string;
|
|
74
|
+
700: string;
|
|
75
|
+
800: string;
|
|
76
|
+
900: string;
|
|
77
|
+
};
|
|
78
|
+
export declare const red: {
|
|
79
|
+
50: string;
|
|
80
|
+
100: string;
|
|
81
|
+
200: string;
|
|
82
|
+
300: string;
|
|
83
|
+
400: string;
|
|
84
|
+
500: string;
|
|
85
|
+
600: string;
|
|
86
|
+
700: string;
|
|
87
|
+
800: string;
|
|
88
|
+
900: string;
|
|
89
|
+
};
|
|
90
|
+
export declare const purple: {
|
|
91
|
+
50: string;
|
|
92
|
+
100: string;
|
|
93
|
+
200: string;
|
|
94
|
+
300: string;
|
|
95
|
+
400: string;
|
|
96
|
+
500: string;
|
|
97
|
+
600: string;
|
|
98
|
+
700: string;
|
|
99
|
+
800: string;
|
|
100
|
+
900: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Design tokens aligned with tokens.css --ov-* semantic tokens.
|
|
104
|
+
* Dark/light values here MUST match the CSS custom properties so that
|
|
105
|
+
* MUI-themed components and custom components share identical colors.
|
|
106
|
+
*/
|
|
107
|
+
export declare const getDesignTokens: (mode: PaletteMode) => {
|
|
108
|
+
palette: {
|
|
109
|
+
mode: PaletteMode;
|
|
110
|
+
primary: {
|
|
111
|
+
contrastText: string;
|
|
112
|
+
light: string;
|
|
113
|
+
main: string;
|
|
114
|
+
dark: string;
|
|
115
|
+
};
|
|
116
|
+
info: {
|
|
117
|
+
contrastText: string;
|
|
118
|
+
light: string;
|
|
119
|
+
main: string;
|
|
120
|
+
dark: string;
|
|
121
|
+
};
|
|
122
|
+
warning: {
|
|
123
|
+
light: string;
|
|
124
|
+
main: string;
|
|
125
|
+
dark: string;
|
|
126
|
+
};
|
|
127
|
+
error: {
|
|
128
|
+
light: string;
|
|
129
|
+
main: string;
|
|
130
|
+
dark: string;
|
|
131
|
+
};
|
|
132
|
+
success: {
|
|
133
|
+
light: string;
|
|
134
|
+
main: string;
|
|
135
|
+
dark: string;
|
|
136
|
+
};
|
|
137
|
+
secondary: {
|
|
138
|
+
light: string;
|
|
139
|
+
main: string;
|
|
140
|
+
dark: string;
|
|
141
|
+
contrastText: string;
|
|
142
|
+
};
|
|
143
|
+
grey: {
|
|
144
|
+
50: string;
|
|
145
|
+
100: string;
|
|
146
|
+
200: string;
|
|
147
|
+
300: string;
|
|
148
|
+
400: string;
|
|
149
|
+
500: string;
|
|
150
|
+
600: string;
|
|
151
|
+
700: string;
|
|
152
|
+
800: string;
|
|
153
|
+
900: string;
|
|
154
|
+
};
|
|
155
|
+
divider: string;
|
|
156
|
+
background: {
|
|
157
|
+
default: string;
|
|
158
|
+
paper: string;
|
|
159
|
+
};
|
|
160
|
+
text: {
|
|
161
|
+
primary: string;
|
|
162
|
+
secondary: string;
|
|
163
|
+
};
|
|
164
|
+
action: {
|
|
165
|
+
hover: string;
|
|
166
|
+
selected: string;
|
|
167
|
+
};
|
|
168
|
+
baseShadow: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
export declare const typography: {
|
|
172
|
+
fontFamily: string;
|
|
173
|
+
h1: {
|
|
174
|
+
fontSize: string;
|
|
175
|
+
fontWeight: number;
|
|
176
|
+
lineHeight: number;
|
|
177
|
+
letterSpacing: number;
|
|
178
|
+
};
|
|
179
|
+
h2: {
|
|
180
|
+
fontSize: string;
|
|
181
|
+
fontWeight: number;
|
|
182
|
+
lineHeight: number;
|
|
183
|
+
};
|
|
184
|
+
h3: {
|
|
185
|
+
fontSize: string;
|
|
186
|
+
fontWeight: number;
|
|
187
|
+
lineHeight: number;
|
|
188
|
+
};
|
|
189
|
+
h4: {
|
|
190
|
+
fontSize: string;
|
|
191
|
+
fontWeight: number;
|
|
192
|
+
lineHeight: number;
|
|
193
|
+
};
|
|
194
|
+
h5: {
|
|
195
|
+
fontSize: string;
|
|
196
|
+
fontWeight: number;
|
|
197
|
+
};
|
|
198
|
+
h6: {
|
|
199
|
+
fontSize: string;
|
|
200
|
+
fontWeight: number;
|
|
201
|
+
};
|
|
202
|
+
subtitle1: {
|
|
203
|
+
fontSize: string;
|
|
204
|
+
};
|
|
205
|
+
subtitle2: {
|
|
206
|
+
fontSize: string;
|
|
207
|
+
fontWeight: number;
|
|
208
|
+
};
|
|
209
|
+
body1: {
|
|
210
|
+
fontSize: string;
|
|
211
|
+
};
|
|
212
|
+
body2: {
|
|
213
|
+
fontSize: string;
|
|
214
|
+
fontWeight: number;
|
|
215
|
+
};
|
|
216
|
+
caption: {
|
|
217
|
+
fontSize: string;
|
|
218
|
+
fontWeight: number;
|
|
219
|
+
};
|
|
220
|
+
button: {
|
|
221
|
+
textTransform: "none";
|
|
222
|
+
fontWeight: number;
|
|
223
|
+
};
|
|
224
|
+
overline: {
|
|
225
|
+
fontSize: string;
|
|
226
|
+
fontWeight: number;
|
|
227
|
+
textTransform: "uppercase";
|
|
228
|
+
letterSpacing: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
export declare const shape: {
|
|
232
|
+
borderRadius: number;
|
|
233
|
+
};
|
|
234
|
+
export declare const customShadows: (mode: PaletteMode) => Shadows;
|
package/dist/theme.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),k=require("@mui/material"),M=require("react"),e=require("@mui/material/styles"),h=require("@mui/material/OutlinedInput"),$=require("@mui/material/ToggleButtonGroup"),O=require("@mui/material/ToggleButton"),P=require("@mui/icons-material/CheckBoxOutlineBlankRounded"),q=require("@mui/icons-material/CheckRounded"),A=require("@mui/icons-material/RemoveRounded"),m=require("@mui/material/ButtonBase"),L=require("@mui/material/Divider"),f=require("@mui/material/MenuItem"),w=require("@mui/material/Tab"),j=require("@mui/icons-material/UnfoldMoreRounded"),x=require("@mui/material/SvgIcon"),E=require("@mui/material/Typography"),l=require("@mui/material/Chip"),V=require("@mui/material/IconButton");function G(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const c in o)if(c!=="default"){const g=Object.getOwnPropertyDescriptor(o,c);Object.defineProperty(s,c,g.get?g:{enumerable:!0,get:()=>o[c]})}}return s.default=o,Object.freeze(s)}const v=G(M),u=e.createTheme(),a={50:"hsl(210, 100%, 95%)",100:"hsl(210, 100%, 92%)",200:"hsl(210, 100%, 80%)",300:"hsl(210, 100%, 65%)",400:"hsl(210, 98%, 48%)",500:"hsl(210, 98%, 42%)",600:"hsl(210, 98%, 55%)",700:"hsl(210, 100%, 35%)",800:"hsl(210, 100%, 16%)",900:"hsl(210, 100%, 21%)"},r={50:"#ECF0F6",100:"#CBD5E1",200:"#ABB8CC",300:"#8B9BB5",400:"#6B7D96",500:"#3E4F66",600:"#2D3D52",700:"#1F2937",800:"#151B23",900:"#0D1117"},n={50:"hsl(120, 80%, 98%)",100:"hsl(120, 75%, 94%)",200:"hsl(120, 75%, 87%)",300:"hsl(120, 61%, 77%)",400:"hsl(120, 44%, 53%)",500:"hsl(120, 59%, 30%)",600:"hsl(120, 70%, 25%)",700:"hsl(120, 75%, 16%)",800:"hsl(120, 84%, 10%)",900:"hsl(120, 87%, 6%)"},d={50:"hsl(45, 100%, 97%)",100:"hsl(45, 92%, 90%)",200:"hsl(45, 94%, 80%)",300:"hsl(45, 90%, 65%)",400:"hsl(45, 90%, 40%)",500:"hsl(45, 90%, 35%)",600:"hsl(45, 91%, 25%)",700:"hsl(45, 94%, 20%)",800:"hsl(45, 95%, 16%)",900:"hsl(45, 93%, 12%)"},p={50:"hsl(0, 100%, 97%)",100:"hsl(0, 92%, 90%)",200:"hsl(0, 94%, 80%)",300:"hsl(0, 90%, 65%)",400:"hsl(0, 90%, 40%)",500:"hsl(0, 90%, 30%)",600:"hsl(0, 91%, 25%)",700:"hsl(0, 94%, 18%)",800:"hsl(0, 95%, 12%)",900:"hsl(0, 93%, 6%)"},i={50:"hsl(270, 100%, 97%)",100:"hsl(270, 92%, 90%)",200:"hsl(270, 80%, 80%)",300:"hsl(270, 70%, 65%)",400:"hsl(270, 70%, 50%)",500:"hsl(270, 70%, 42%)",600:"hsl(270, 70%, 35%)",700:"hsl(270, 75%, 25%)",800:"hsl(270, 80%, 16%)",900:"hsl(270, 85%, 10%)"},S=o=>({palette:{mode:o,primary:{light:a[200],main:a[400],dark:a[700],contrastText:a[50],...o==="dark"&&{contrastText:a[50],light:a[300],main:a[400],dark:a[700]}},info:{light:a[100],main:a[300],dark:a[600],contrastText:r[50],...o==="dark"&&{contrastText:a[300],light:a[500],main:a[700],dark:a[900]}},warning:{light:d[300],main:d[400],dark:d[800],...o==="dark"&&{light:d[400],main:d[500],dark:d[700]}},error:{light:p[300],main:p[400],dark:p[800],...o==="dark"&&{light:p[400],main:p[500],dark:p[700]}},success:{light:n[300],main:n[400],dark:n[800],...o==="dark"&&{light:n[400],main:n[500],dark:n[700]}},secondary:{light:i[300],main:i[400],dark:i[700],contrastText:i[50],...o==="dark"&&{light:i[300],main:i[400],dark:i[800]}},grey:r,divider:o==="dark"?"rgba(62, 79, 102, 0.6)":"rgba(208, 215, 222, 0.6)",background:{default:o==="dark"?"#0D1117":"#FFFFFF",paper:o==="dark"?"#151B23":"#F6F8FA"},text:{primary:o==="dark"?"rgba(236, 240, 246, 0.92)":"rgba(31, 35, 40, 0.92)",secondary:o==="dark"?"rgba(236, 240, 246, 0.64)":"rgba(31, 35, 40, 0.64)"},action:{hover:o==="dark"?"rgba(255, 255, 255, 0.04)":"rgba(31, 35, 40, 0.04)",selected:o==="dark"?"rgba(88, 166, 255, 0.10)":"rgba(9, 105, 218, 0.10)"},baseShadow:o==="dark"?"0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.25)":"0 4px 12px rgba(31, 35, 40, 0.12), 0 2px 4px rgba(31, 35, 40, 0.08)"}}),R={fontFamily:["-apple-system","BlinkMacSystemFont",'"Segoe UI"','"Noto Sans"',"Helvetica","Arial","sans-serif"].join(","),h1:{fontSize:u.typography.pxToRem(48),fontWeight:600,lineHeight:1.2,letterSpacing:-.5},h2:{fontSize:u.typography.pxToRem(36),fontWeight:600,lineHeight:1.2},h3:{fontSize:u.typography.pxToRem(30),fontWeight:600,lineHeight:1.2},h4:{fontSize:u.typography.pxToRem(24),fontWeight:600,lineHeight:1.5},h5:{fontSize:u.typography.pxToRem(20),fontWeight:600},h6:{fontSize:u.typography.pxToRem(18),fontWeight:600},subtitle1:{fontSize:u.typography.pxToRem(18)},subtitle2:{fontSize:u.typography.pxToRem(14),fontWeight:500},body1:{fontSize:u.typography.pxToRem(14)},body2:{fontSize:u.typography.pxToRem(14),fontWeight:400},caption:{fontSize:u.typography.pxToRem(12),fontWeight:400},button:{textTransform:"none",fontWeight:600},overline:{fontSize:u.typography.pxToRem(12),fontWeight:600,textTransform:"uppercase",letterSpacing:"0.08em"}},z={borderRadius:8},T=o=>{const s=o==="dark"?"0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.25)":"0 4px 12px rgba(31, 35, 40, 0.12), 0 2px 4px rgba(31, 35, 40, 0.08)",c=[...u.shadows];return c[1]=s,c},I={MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0},styleOverrides:{root:({theme:o})=>({boxSizing:"border-box",transition:"color 80ms cubic-bezier(0.33,1,0.68,1), background-color 80ms cubic-bezier(0.33,1,0.68,1), border-color 80ms cubic-bezier(0.33,1,0.68,1), box-shadow 80ms cubic-bezier(0.33,1,0.68,1)","&:focus-visible":{outline:`3px solid ${e.alpha(o.palette.primary.main,.5)}`,outlineOffset:"2px"}})}},MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:({theme:o})=>{const s=[["primary",o.palette.primary],["secondary",o.palette.secondary],["success",o.palette.success],["warning",o.palette.warning],["error",o.palette.error],["info",o.palette.info]],c=s.map(([b,t])=>({props:{color:b,variant:"contained"},style:{backgroundColor:t.main,color:t.contrastText||"#fff","&:hover":{backgroundColor:e.darken(t.main,.12)},"&:active":{backgroundColor:e.darken(t.main,.2)},...o.applyStyles("dark",{backgroundColor:t.main,color:t.contrastText||"#fff","&:hover":{backgroundColor:e.lighten(t.main,.12)},"&:active":{backgroundColor:e.lighten(t.main,.04)}})}})),g=s.map(([b,t])=>({props:{color:b,variant:"outlined"},style:{color:t.main,borderColor:e.alpha(t.main,.5),backgroundColor:"transparent","&:hover":{backgroundColor:e.alpha(t.main,.06),borderColor:t.main},"&:active":{backgroundColor:e.alpha(t.main,.12)},...o.applyStyles("dark",{color:t.light,borderColor:e.alpha(t.light,.4),"&:hover":{backgroundColor:e.alpha(t.main,.12),borderColor:t.light},"&:active":{backgroundColor:e.alpha(t.main,.2)}})}})),C=s.map(([b,t])=>({props:{color:b,variant:"text"},style:{color:t.main,"&:hover":{backgroundColor:e.alpha(t.main,.06)},"&:active":{backgroundColor:e.alpha(t.main,.12)},...o.applyStyles("dark",{color:t.light,"&:hover":{backgroundColor:e.alpha(t.main,.12)},"&:active":{backgroundColor:e.alpha(t.main,.2)}})}})),D=s.map(([b,t])=>({props:{color:b,variant:"soft"},style:{color:t.main,backgroundColor:e.alpha(t.main,.1),"&:hover":{backgroundColor:e.alpha(t.main,.18)},"&:active":{backgroundColor:e.alpha(t.main,.26)},...o.applyStyles("dark",{color:t.light,backgroundColor:e.alpha(t.main,.15),"&:hover":{backgroundColor:e.alpha(t.main,.25)},"&:active":{backgroundColor:e.alpha(t.main,.32)}})}})),H=s.map(([b,t])=>({props:{color:b,variant:"link"},style:{color:t.main,...o.applyStyles("dark",{color:t.light})}}));return{boxShadow:"none",borderRadius:o.shape.borderRadius,textTransform:"none",whiteSpace:"nowrap",transition:"color 80ms cubic-bezier(0.33,1,0.68,1), background-color 80ms cubic-bezier(0.33,1,0.68,1), border-color 80ms cubic-bezier(0.33,1,0.68,1), box-shadow 80ms cubic-bezier(0.33,1,0.68,1)",variants:[{props:{size:"small"},style:{minHeight:"2rem",padding:"6px 12px"}},{props:{size:"medium"},style:{minHeight:"2.25rem",padding:"8px 16px"}},{props:{size:"large"},style:{minHeight:"2.75rem",padding:"10px 20px"}},{props:{size:"xs"},style:{minHeight:"1.5rem",padding:"2px 8px",fontSize:"0.6875rem"}},{props:{size:"xl"},style:{minHeight:"3.25rem",padding:"12px 24px",fontSize:"1rem"}},{props:{variant:"contained"},style:{boxShadow:"none","&:hover":{boxShadow:"none"}}},...c,{props:{variant:"outlined"},style:{color:r[700],border:"1px solid",borderColor:r[200],backgroundColor:e.alpha(r[50],.3),"&:hover":{backgroundColor:r[100],borderColor:r[300]},"&:active":{backgroundColor:r[200]},...o.applyStyles("dark",{color:r[200],backgroundColor:e.alpha(r[800],.3),borderColor:r[600],"&:hover":{backgroundColor:e.alpha(r[700],.5),borderColor:r[500]},"&:active":{backgroundColor:r[700]}})}},...g,{props:{variant:"text"},style:{color:r[600],"&:hover":{backgroundColor:e.alpha(r[500],.08)},"&:active":{backgroundColor:e.alpha(r[500],.16)},...o.applyStyles("dark",{color:r[300],"&:hover":{backgroundColor:e.alpha(r[500],.12)},"&:active":{backgroundColor:e.alpha(r[500],.2)}})}},...C,{props:{variant:"soft"},style:{color:r[700],backgroundColor:e.alpha(r[500],.08),"&:hover":{backgroundColor:e.alpha(r[500],.16)},"&:active":{backgroundColor:e.alpha(r[500],.24)},...o.applyStyles("dark",{color:r[200],backgroundColor:e.alpha(r[500],.12),"&:hover":{backgroundColor:e.alpha(r[500],.2)},"&:active":{backgroundColor:e.alpha(r[500],.28)}})}},...D,{props:{variant:"link"},style:{color:r[600],backgroundColor:"transparent",padding:"0 4px",minWidth:"auto",textDecoration:"none","&:hover":{backgroundColor:"transparent",textDecoration:"underline"},...o.applyStyles("dark",{color:r[300]})}},...H]}}}},MuiIconButton:{styleOverrides:{root:({theme:o})=>({boxSizing:"border-box",borderRadius:o.shape.borderRadius,color:r[600],"&:hover":{backgroundColor:e.alpha(r[500],.1)},...o.applyStyles("dark",{color:r[300],"&:hover":{backgroundColor:e.alpha(r[500],.2)}}),variants:[{props:{size:"small"},style:{width:"2rem",height:"2rem",padding:"0.25rem"}},{props:{size:"medium"},style:{width:"2.5rem",height:"2.5rem"}},{props:{color:"primary"},style:{color:a[600],"&:hover":{backgroundColor:e.alpha(a[500],.1)},...o.applyStyles("dark",{color:a[300],"&:hover":{backgroundColor:e.alpha(a[500],.2)}})}}]})}},MuiToggleButtonGroup:{styleOverrides:{root:({theme:o})=>({borderRadius:o.shape.borderRadius,backgroundColor:r[100],border:`1px solid ${r[200]}`,boxShadow:"none",[`& .${$.toggleButtonGroupClasses.grouped}`]:{border:"none","&:not(:first-of-type)":{marginLeft:0,borderLeft:"1px solid",borderLeftColor:r[300]}},...o.applyStyles("dark",{backgroundColor:e.alpha(r[800],.5),border:`1px solid ${r[700]}`,[`& .${$.toggleButtonGroupClasses.grouped}`]:{"&:not(:first-of-type)":{borderLeftColor:r[700]}}})})}},MuiToggleButton:{styleOverrides:{root:({theme:o})=>({padding:"8px 16px",fontWeight:500,color:r[600],textTransform:"none",border:"none",borderRadius:o.shape.borderRadius,"&:hover":{backgroundColor:e.alpha(r[500],.1)},[`&.${O.toggleButtonClasses.selected}`]:{color:a[600],backgroundColor:e.alpha(a[500],.1),"&:hover":{backgroundColor:e.alpha(a[500],.15)}},...o.applyStyles("dark",{color:r[400],"&:hover":{backgroundColor:e.alpha(r[500],.15)},[`&.${O.toggleButtonClasses.selected}`]:{color:a[300],backgroundColor:e.alpha(a[500],.2),"&:hover":{backgroundColor:e.alpha(a[500],.25)}}})})}},MuiCheckbox:{defaultProps:{disableRipple:!0,icon:v.createElement(P,{sx:{color:"hsla(210, 0%, 0%, 0.0)"}}),checkedIcon:v.createElement(q,{sx:{height:14,width:14}}),indeterminateIcon:v.createElement(A,{sx:{height:14,width:14}})},styleOverrides:{root:({theme:o})=>({margin:10,height:16,width:16,borderRadius:5,border:"1px solid",borderColor:e.alpha(r[300],.8),boxShadow:"0 0 0 1.5px hsla(210, 0%, 0%, 0.04) inset",backgroundColor:e.alpha(r[100],.4),transition:"border-color, background-color, 120ms ease-in","&:hover":{borderColor:a[300]},"&.Mui-checked":{color:"white",backgroundColor:a[500],borderColor:a[500],boxShadow:"none","&:hover":{backgroundColor:a[600]}},...o.applyStyles("dark",{borderColor:e.alpha(r[700],.8),boxShadow:"0 0 0 1.5px hsl(210, 0%, 0%) inset",backgroundColor:e.alpha(r[900],.8),"&:hover":{borderColor:a[300]}})})}},MuiSelect:{styleOverrides:{select:{display:"flex",alignItems:"center",overflow:"hidden","& > .MuiBox-root":{flexWrap:"nowrap",overflow:"hidden"}}}},MuiAutocomplete:{styleOverrides:{inputRoot:{flexWrap:"nowrap !important",overflow:"hidden"},tag:{maxHeight:20}}},MuiFormControl:{styleOverrides:{root:()=>({"--ov-input-height":"2.75rem",variants:[{props:{size:"small"},style:{"--ov-input-height":"2.25rem"}}]})}},MuiInputLabel:{styleOverrides:{root:{"&.MuiInputLabel-shrink":{transform:"translate(14px, -6px) scale(0.75)"},"&.MuiInputLabel-outlined:not(.MuiInputLabel-shrink)":{transform:"translate(14px, calc((var(--ov-input-height) - 1.4375em) / 2)) scale(1)"}}}},MuiInputBase:{defaultProps:{autoCapitalize:"off",autoCorrect:"off",spellCheck:!1},styleOverrides:{root:({theme:o})=>({border:"none",...o.applyStyles("dark",{"&.Mui-disabled":{color:r[600]}})}),input:({theme:o})=>({textTransform:"none",WebkitTextSecurity:"none","&::placeholder":{opacity:.7,color:r[500]},...o.applyStyles("dark",{"&::placeholder":{color:r[500]}})})}},MuiOutlinedInput:{styleOverrides:{input:{padding:"10px 14px"},inputMultiline:{padding:0},root:({theme:o})=>({borderRadius:o.shape.borderRadius,backgroundColor:r[50],transition:"background-color 120ms ease-in","&:not(.MuiInputBase-multiline)":{boxSizing:"border-box",height:"var(--ov-input-height)"},"&.MuiInputBase-multiline":{padding:"10px 14px",minHeight:"var(--ov-input-height)"},"&:hover":{backgroundColor:r[100],[`& .${h.outlinedInputClasses.notchedOutline}`]:{borderColor:r[400]}},[`&.${h.outlinedInputClasses.focused}`]:{[`& .${h.outlinedInputClasses.notchedOutline}`]:{borderColor:a[500],borderWidth:2}},[`&.${h.outlinedInputClasses.disabled}`]:{backgroundColor:r[100],[`& .${h.outlinedInputClasses.notchedOutline}`]:{borderColor:r[200]}},...o.applyStyles("dark",{backgroundColor:e.alpha(r[800],.8),"&:hover":{backgroundColor:e.alpha(r[800],.9),[`& .${h.outlinedInputClasses.notchedOutline}`]:{borderColor:r[500]}},[`&.${h.outlinedInputClasses.focused}`]:{backgroundColor:e.alpha(r[800],.9),[`& .${h.outlinedInputClasses.notchedOutline}`]:{borderColor:a[400]}},[`&.${h.outlinedInputClasses.disabled}`]:{backgroundColor:e.alpha(r[900],.6),[`& .${h.outlinedInputClasses.notchedOutline}`]:{borderColor:r[800]}}})}),notchedOutline:({theme:o})=>({borderColor:r[300],transition:"border-color 120ms ease-in",...o.applyStyles("dark",{borderColor:r[700]})})}},MuiInputAdornment:{styleOverrides:{root:({theme:o})=>({color:o.palette.grey[500],...o.applyStyles("dark",{color:o.palette.grey[400]})})}},MuiSwitch:{styleOverrides:{root:{width:44,height:24,padding:0},switchBase:({theme:o})=>({padding:0,margin:2,transitionDuration:"140ms",transitionTimingFunction:"cubic-bezier(0.45, 0.05, 0.55, 0.95)",transitionProperty:"transform","&.Mui-checked":{transform:"translateX(20px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:a[500],opacity:1,border:0}},"&.Mui-focusVisible + .MuiSwitch-track":{outline:`2px solid ${e.alpha(a[500],.5)}`,outlineOffset:2},"&.Mui-disabled + .MuiSwitch-track":{opacity:.4},"&.Mui-disabled .MuiSwitch-thumb":{opacity:.7},...o.applyStyles("dark",{"&.Mui-checked":{"& + .MuiSwitch-track":{backgroundColor:a[400]}}})}),thumb:{boxSizing:"border-box",width:20,height:20,boxShadow:"0 0 0 1px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.08)"},track:({theme:o})=>({borderRadius:9999,backgroundColor:r[300],opacity:1,transition:"background-color 120ms linear",...o.applyStyles("dark",{backgroundColor:r[600]})})}}},B={MuiMenuItem:{styleOverrides:{root:({theme:o})=>({borderRadius:o.shape.borderRadius,padding:"6px 8px",[`&.${f.menuItemClasses.focusVisible}`]:{backgroundColor:"transparent"},[`&.${f.menuItemClasses.selected}`]:{[`&.${f.menuItemClasses.focusVisible}`]:{backgroundColor:e.alpha(o.palette.action.selected,.3)}}})}},MuiMenu:{styleOverrides:{list:{gap:"0px",padding:"4px",[`&.${L.dividerClasses.root}`]:{margin:"0 -8px"}},paper:({theme:o})=>({marginTop:"4px",borderRadius:o.shape.borderRadius,border:`1px solid ${o.palette.divider}`,backgroundImage:"none",background:"hsl(0, 0%, 100%)",boxShadow:"hsla(220, 30%, 5%, 0.07) 0px 4px 16px 0px, hsla(220, 25%, 10%, 0.07) 0px 8px 16px -5px",[`& .${m.buttonBaseClasses.root}`]:{"&.Mui-selected":{backgroundColor:e.alpha(o.palette.action.selected,.3)}},...o.applyStyles("dark",{background:r[900],boxShadow:"hsla(220, 30%, 5%, 0.7) 0px 4px 16px 0px, hsla(220, 25%, 10%, 0.8) 0px 8px 16px -5px"})})}},MuiSelect:{defaultProps:{IconComponent:v.forwardRef((o,s)=>y.jsx(j,{fontSize:"small",...o,ref:s}))},styleOverrides:{select:{display:"flex",alignItems:"center"}}},MuiLink:{defaultProps:{underline:"none"},styleOverrides:{root:({theme:o})=>({color:r[800],fontWeight:500,position:"relative",textDecoration:"none",width:"fit-content","&::before":{content:'""',position:"absolute",width:"100%",height:"1px",bottom:0,left:0,backgroundColor:r[600],opacity:.3,transition:"width 0.3s ease, opacity 0.3s ease"},"&:hover::before":{width:0},"&:focus-visible":{outline:`3px solid ${e.alpha(a[500],.5)}`,outlineOffset:"4px",borderRadius:"2px"},...o.applyStyles("dark",{color:r[100],"&::before":{backgroundColor:r[400]}})})}},MuiDrawer:{styleOverrides:{paper:({theme:o})=>({backgroundColor:o.palette.background.default})}},MuiListItemButton:{styleOverrides:{root:({theme:o})=>({borderRadius:o.shape.borderRadius,padding:"8px 12px",gap:12,border:"1px solid transparent",transition:"all 100ms ease-in","&:hover":{backgroundColor:e.alpha(r[500],.08)},"&.Mui-selected":{backgroundColor:e.alpha(a[500],.08),border:`1px solid ${e.alpha(a[500],.2)}`,"&:hover":{backgroundColor:e.alpha(a[500],.12)}},...o.applyStyles("dark",{"&:hover":{backgroundColor:e.alpha(r[500],.12)},"&.Mui-selected":{backgroundColor:e.alpha(a[400],.12),border:`1px solid ${e.alpha(a[400],.25)}`,"&:hover":{backgroundColor:e.alpha(a[400],.16)}}})})}},MuiTabs:{styleOverrides:{root:{minHeight:"fit-content"},indicator:({theme:o})=>({backgroundColor:o.palette.grey[800],...o.applyStyles("dark",{backgroundColor:o.palette.grey[200]})})}},MuiTab:{styleOverrides:{root:({theme:o})=>({padding:"6px 8px",marginBottom:"8px",textTransform:"none",minWidth:"fit-content",minHeight:"fit-content",color:r[600],borderRadius:o.shape.borderRadius,border:"1px solid transparent",":hover":{color:r[800],backgroundColor:r[100],borderColor:r[200]},[`&.${w.tabClasses.selected}`]:{color:r[900]},...o.applyStyles("dark",{color:r[400],":hover":{color:r[100],backgroundColor:r[800],borderColor:r[700]},[`&.${w.tabClasses.selected}`]:{color:"#fff"}})})}}},W={MuiAlert:{styleOverrides:{root:{}}},MuiDialog:{styleOverrides:{root:({theme:o})=>({"& .MuiDialog-paper":{borderRadius:"10px",border:"1px solid",borderColor:o.palette.divider,backgroundColor:r[50],...o.applyStyles("dark",{backgroundColor:"hsl(220, 25%, 10%)",borderColor:e.alpha(r[700],.6)})}})}},MuiPopover:{styleOverrides:{paper:({theme:o})=>({borderRadius:"10px",border:"1px solid",borderColor:o.palette.divider,backgroundImage:"none",backgroundColor:r[50],boxShadow:"0 4px 20px rgba(0, 0, 0, 0.08)",...o.applyStyles("dark",{backgroundColor:"hsl(220, 25%, 10%)",borderColor:e.alpha(r[700],.6),boxShadow:"0 4px 20px rgba(0, 0, 0, 0.5)"})})}},MuiLinearProgress:{styleOverrides:{root:({theme:o})=>({height:8,borderRadius:8,backgroundColor:r[200],...o.applyStyles("dark",{backgroundColor:r[800]})})}}},F={MuiList:{styleOverrides:{root:{padding:"8px",display:"flex",flexDirection:"column",gap:0}}},MuiListItem:{styleOverrides:{root:({theme:o})=>({[`& > .${x.svgIconClasses.root}`]:{width:"1rem",height:"1rem",color:r[600]},[`& .${E.typographyClasses.root}`]:{fontWeight:500},[`& .${m.buttonBaseClasses.root}`]:{display:"flex",gap:8,padding:"2px 8px",borderRadius:o.shape.borderRadius,opacity:.7,"&.Mui-selected":{opacity:1,backgroundColor:e.alpha(r[200],.6),[`& .${x.svgIconClasses.root}`]:{color:r[800]},"&:hover":{backgroundColor:e.alpha(r[200],.8)}}},...o.applyStyles("dark",{[`& > .${x.svgIconClasses.root}`]:{color:r[400]},[`& .${m.buttonBaseClasses.root}`]:{"&.Mui-selected":{backgroundColor:e.alpha(r[600],.3),[`& .${x.svgIconClasses.root}`]:{color:r[100]},"&:hover":{backgroundColor:e.alpha(r[600],.5)}}}})})}},MuiListItemText:{styleOverrides:{primary:({theme:o})=>({fontSize:o.typography.body2.fontSize,fontWeight:500,lineHeight:o.typography.body2.lineHeight}),secondary:({theme:o})=>({fontSize:o.typography.caption.fontSize,lineHeight:o.typography.caption.lineHeight})}},MuiListSubheader:{styleOverrides:{root:({theme:o})=>({backgroundColor:"transparent",padding:"4px 8px",fontSize:o.typography.caption.fontSize,fontWeight:500,lineHeight:o.typography.caption.lineHeight})}},MuiListItemIcon:{styleOverrides:{root:{minWidth:0}}},MuiCard:{defaultProps:{elevation:0},styleOverrides:{root:({theme:o})=>({display:"flex",flexDirection:"column",padding:16,gap:16,overflow:"visible",transition:"all 150ms ease-in-out",backgroundColor:r[50],borderRadius:o.shape.borderRadius,border:`1px solid ${o.palette.divider}`,boxShadow:"none","&:hover":{borderColor:r[300],boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.08)"},...o.applyStyles("dark",{backgroundColor:r[800],"&:hover":{borderColor:r[600],boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.3)"}}),variants:[{props:{variant:"outlined"},style:{border:`1px solid ${o.palette.divider}`,boxShadow:"none",background:"hsl(0, 0%, 100%)","&:hover":{borderColor:r[300],boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.08)"},...o.applyStyles("dark",{background:e.alpha(r[900],.4),"&:hover":{borderColor:r[600],boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.3)"}})}}]})}},MuiCardContent:{styleOverrides:{root:{padding:0,"&:last-child":{paddingBottom:0}}}},MuiCardHeader:{styleOverrides:{root:{padding:0}}},MuiCardActions:{styleOverrides:{root:{padding:0}}},MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:({theme:o})=>({backgroundImage:"none",...o.applyStyles("dark",{backgroundColor:r[800]})})}},MuiChip:{defaultProps:{size:"small"},styleOverrides:{root:({theme:o})=>({border:"1px solid",borderRadius:6,[`& .${l.chipClasses.label}`]:{fontWeight:600},variants:[{props:{color:"default"},style:{borderColor:r[200],backgroundColor:r[100],[`& .${l.chipClasses.label}`]:{color:r[500]},[`& .${l.chipClasses.icon}`]:{color:r[500]},[`& .${l.chipClasses.deleteIcon}`]:{color:r[400],"&:hover":{color:r[600]}},...o.applyStyles("dark",{borderColor:r[600],backgroundColor:e.alpha(r[600],.3),[`& .${l.chipClasses.label}`]:{color:r[200]},[`& .${l.chipClasses.icon}`]:{color:r[200]},[`& .${l.chipClasses.deleteIcon}`]:{color:r[400],"&:hover":{color:r[200]}}})}},{props:{color:"success"},style:{borderColor:n[200],backgroundColor:n[50],[`& .${l.chipClasses.label}`]:{color:n[500]},[`& .${l.chipClasses.icon}`]:{color:n[500]},...o.applyStyles("dark",{borderColor:n[800],backgroundColor:n[900],[`& .${l.chipClasses.label}`]:{color:n[200]},[`& .${l.chipClasses.icon}`]:{color:n[200]}})}},{props:{color:"error"},style:{borderColor:p[100],backgroundColor:p[50],[`& .${l.chipClasses.label}`]:{color:p[500]},[`& .${l.chipClasses.icon}`]:{color:p[500]},...o.applyStyles("dark",{borderColor:p[800],backgroundColor:p[900],[`& .${l.chipClasses.label}`]:{color:p[100]},[`& .${l.chipClasses.icon}`]:{color:p[100]}})}},{props:{color:"warning"},style:{borderColor:d[200],backgroundColor:d[50],[`& .${l.chipClasses.label}`]:{color:d[500]},[`& .${l.chipClasses.icon}`]:{color:d[500]},...o.applyStyles("dark",{borderColor:d[800],backgroundColor:d[900],[`& .${l.chipClasses.label}`]:{color:d[200]},[`& .${l.chipClasses.icon}`]:{color:d[200]}})}},{props:{color:"primary"},style:{borderColor:a[200],backgroundColor:a[50],[`& .${l.chipClasses.label}`]:{color:a[500]},[`& .${l.chipClasses.icon}`]:{color:a[500]},...o.applyStyles("dark",{borderColor:a[800],backgroundColor:a[900],[`& .${l.chipClasses.label}`]:{color:a[100]},[`& .${l.chipClasses.icon}`]:{color:a[100]}})}},{props:{color:"secondary"},style:{borderColor:i[200],backgroundColor:i[50],[`& .${l.chipClasses.label}`]:{color:i[500]},[`& .${l.chipClasses.icon}`]:{color:i[500]},...o.applyStyles("dark",{borderColor:i[700],backgroundColor:i[900],[`& .${l.chipClasses.label}`]:{color:i[100]},[`& .${l.chipClasses.icon}`]:{color:i[100]}})}},{props:{variant:"outlined",color:"default"},style:{backgroundColor:"transparent",borderColor:r[300],[`& .${l.chipClasses.label}`]:{color:r[500]},...o.applyStyles("dark",{backgroundColor:"transparent",borderColor:r[500],[`& .${l.chipClasses.label}`]:{color:r[200]}})}},{props:{size:"small"},style:{height:20,borderRadius:6,[`& .${l.chipClasses.label}`]:{fontSize:o.typography.caption.fontSize,padding:"0 6px"}}},{props:{size:"medium"},style:{height:28,borderRadius:8,[`& .${l.chipClasses.label}`]:{fontSize:o.typography.caption.fontSize}}}]})}},MuiTablePagination:{styleOverrides:{actions:{display:"flex",gap:8,marginRight:6,[`& .${V.iconButtonClasses.root}`]:{minWidth:0,width:36,height:36}}}},MuiAvatar:{styleOverrides:{root:{color:"#ffffff",fontWeight:600}}},MuiDivider:{styleOverrides:{root:({theme:o})=>({borderColor:r[200],...o.applyStyles("dark",{borderColor:r[700]})})}},MuiTable:{styleOverrides:{root:{borderCollapse:"separate",borderSpacing:0}}},MuiTableHead:{styleOverrides:{root:({theme:o})=>({backgroundColor:r[50],...o.applyStyles("dark",{backgroundColor:r[900]})})}},MuiTableCell:{styleOverrides:{root:({theme:o})=>({borderColor:r[200],padding:"0.75rem 1rem",...o.applyStyles("dark",{borderColor:r[700]})}),head:({theme:o})=>({fontWeight:600,color:r[700],...o.applyStyles("dark",{color:r[300]})})}},MuiTableRow:{styleOverrides:{root:({theme:o})=>({"&:hover":{backgroundColor:e.alpha(r[100],.5)},"&.Mui-selected":{backgroundColor:e.alpha(a[500],.08),"&:hover":{backgroundColor:e.alpha(a[500],.12)}},...o.applyStyles("dark",{"&:hover":{backgroundColor:e.alpha(r[700],.3)},"&.Mui-selected":{backgroundColor:e.alpha(a[400],.15),"&:hover":{backgroundColor:e.alpha(a[400],.2)}}})})}},MuiAccordion:{styleOverrides:{root:({theme:o})=>({border:`1px solid ${r[200]}`,borderRadius:o.shape.borderRadius,"&:before":{display:"none"},"&.Mui-expanded":{margin:0},...o.applyStyles("dark",{border:`1px solid ${r[700]}`,backgroundColor:r[800]})})}},MuiAccordionSummary:{styleOverrides:{root:({theme:o})=>({borderRadius:o.shape.borderRadius,fontWeight:600,"&.Mui-expanded":{minHeight:48}}),content:{"&.Mui-expanded":{margin:"12px 0"}}}},MuiAccordionDetails:{styleOverrides:{root:({theme:o})=>({borderTop:`1px solid ${r[200]}`,...o.applyStyles("dark",{borderTop:`1px solid ${r[700]}`})})}},MuiTypography:{styleOverrides:{root:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}}}};function _({mode:o}){const{setMode:s}=k.useColorScheme();return M.useEffect(()=>{s&&s(o)},[o,s]),null}function N({children:o,disableCustomTheme:s,themeComponents:c,defaultMode:g="dark"}){const C=M.useMemo(()=>s?k.createTheme():k.createTheme({cssVariables:{colorSchemeSelector:"data-mui-color-scheme",cssVarPrefix:"ov-mui"},colorSchemes:{light:{palette:S("light").palette},dark:{palette:S("dark").palette}},typography:R,shape:z,shadows:T("light"),components:{MuiCssBaseline:{styleOverrides:{html:{height:"100%"},body:{height:"100%"}}},...I,...B,...W,...F,...c}}),[s,c]);return s?y.jsx(y.Fragment,{children:o}):y.jsxs(k.ThemeProvider,{theme:C,children:[y.jsx(k.CssBaseline,{enableColorScheme:!0}),y.jsx(_,{mode:g}),o]})}function U(o){const s=document.documentElement;s.setAttribute("data-ov-theme",o.type);for(const[c,g]of Object.entries(o.colors)){const C=`--ov-${c.replace(/\./g,"-")}`;s.style.setProperty(C,g)}o.typography?.fontFamily&&s.style.setProperty("--ov-font-ui",o.typography.fontFamily),o.typography?.monoFontFamily&&s.style.setProperty("--ov-font-mono",o.typography.monoFontFamily),o.typography?.fontSize&&s.style.setProperty("--ov-text-base",`${o.typography.fontSize/16}rem`)}function X(o="dark"){const s=document.documentElement;s.setAttribute("data-ov-theme",o),s.removeAttribute("style")}exports.AppTheme=N;exports.applyTheme=U;exports.brand=a;exports.customShadows=T;exports.dataDisplayCustomizations=F;exports.feedbackCustomizations=W;exports.getDesignTokens=S;exports.gray=r;exports.green=n;exports.inputsCustomizations=I;exports.navigationCustomizations=B;exports.orange=d;exports.purple=i;exports.red=p;exports.resetTheme=X;exports.shape=z;exports.typography=R;
|